← Changelog

Button

@nordcom/nordstar-buttonv0.2.065 releases
  1. 0.2.0

    Patch

    Elevate the Nordstar visual language with a shared depth and motion system, then apply it across the components.

    • New design tokens shipped from @nordcom/nordstar's CSS contract:
    • Elevation — shadow-raised, shadow-overlay, shadow-floating, a three-step shadow scale tuned to read on the near-black default surface.
    • Easing — ease-out-soft (hard deceleration for entrances) and ease-spring (a slight overshoot for toggles and presses).
    • Motion — an overlay-in keyframe / animate-overlay-in utility used by portalled surfaces, plus accordion-down/accordion-up for disclosure height transitions. The existing prefers-reduced-motion reset neutralises them for users who opt out.
    • Overlay surfaces (Select, DropdownMenu, Tooltip) now lift on the new shadow-overlay, animate in from their transform origin, and round to md. The Select chevron rotates while the listbox is open.
    • `Button` gains a resting elevation on the solid variant, a subtle hover lift that settles on press, and a consistent keyboard focus ring.
    • `Card` solid surfaces read as raised via shadow-raised.
    • `Switch` thumb slides on the springy easing with a touch of depth.
    • `Kbd` picks up a recessed keycap shadow.
    • `Accordion` sections now expand and collapse with a measured height animation instead of snapping open.
    • Motion timings across Input, Select, and the dropdown items were aligned to the shared duration/easing language.

    No public APIs changed; these are visual and motion refinements within the existing design identity.

    1 dependency update
    • @nordcom/nordstar-system@0.2.0
  2. 0.1.1

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.1.1
  3. 0.1.0

    Patch

    Fix <Button/> accessibility and interaction states:

    • No longer forces role="button" on every rendered element. Rendering as a link (as="a") previously hid the native link role behind a button role; native semantics are now preserved for both <button> and other elements.
    • disabled is now only applied as the native attribute on a real <button>. Polymorphic elements (as="a", as="div", …) previously received an invalid disabled attribute that browsers ignore, leaving them keyboard-focusable and clickable while only appearing dimmed. They now reflect the state via aria-disabled and are removed from the tab order so they are genuinely inert.
    • The outline variant gains focus-visible and active feedback so keyboard users get a visible affordance, matching the solid variant.
    • Replaced transition-all with a targeted transition so layout properties are no longer animated.
    • data-color/data-variant and the JSDoc now reflect the real resolved defaults (solid/primary).

    Fix <Button/> applying type="button" to non-button elements. Rendering with a custom as (e.g. as="a" for a link styled as a button) produced an invalid type attribute such as <a type="button">. The type attribute is now only set when the button renders as a native <button>.

    5 dependency updates
    • Deps: Update dependency vite to v8.0.13.
    • Deps: Update dependency vite-plugin-dts to v5.0.1.
    • Deps: Update dependency @types/react to v19.2.15.
    • Deps: upgrade build/test tooling and docs dependencies to their latest releases (biome 2.5.0, vite 8.0.16, vitest 4.1.8, turbo 2.9.18, tailwindcss 4.3.1, sass 1.101.0, @types/node 25, @types/react 19.2.17, react 19.2.7, next 16.2.9, shiki 4.2.0 and related). Only devDependencies changed, so there is no runtime impact for consumers. The Biome config was migrated to the 2.5.0 schema (recommended → preset) and the CI environment variables were declared in turbo.json. inquirer is intentionally held at 13.x because the component generator relies on its legacy prompt API.
    • @nordcom/nordstar-system@0.1.0
  4. 0.0.75

    Maintenance
    9 dependency updates
  5. 0.0.74

    Patch

    Fix publishing.

    Replace ESLint and Prettier with Biome 2.x. Single root biome.jsonc covers linting and formatting; turbo no longer orchestrates lint/format; CI now runs biome ci. Source files reformatted (trailing commas, sorted Tailwind classes, organized imports). No public API changes.

    Bump requirement to react 19.

    Update homepage.

    Migrate to Tailwind v4 consumer DX. The lib now ships a tailwind.css contract (@theme + @source) for Tailwind v4 users and a precompiled styles.css for non-Tailwind users. Consumers no longer maintain a duplicate tailwind.config.cjs — instead, @import "@nordcom/nordstar" in their main CSS does it all. Runtime CSS variables move to the --nordstar-* namespace; the <NordstarProvider/> React API is unchanged.

    4 dependency updates
  6. 0.0.73

    Patch

    Upgrade typescript.

    Modernize build.

    1 dependency update
    • @nordcom/nordstar-system@0.0.73
  7. 0.0.72

    Patch

    Upgrade deps

    6 dependency updates
  8. 0.0.71

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.71
  9. 0.0.70

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.70
  10. 0.0.69

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.69
  11. 0.0.68

    Maintenance
    7 dependency updates
  12. 0.0.67

    Patch
    • Bogus change to trigger another npm publish (the previous release failed).
    1 dependency update
    • @nordcom/nordstar-system@0.0.67
  13. 0.0.66

    Patch
    • Don't engage tailwind at the component level.
    2 dependency updates
  14. 0.0.65

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.65
  15. 0.0.64

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.64
  16. 0.0.63

    Patch
    • Refactor components to use tailwind and cva.
    • Update domain to https://nordcominc.github.io/nordstar/
    3 dependency updates
  17. 0.0.62

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.62
  18. 0.0.61

    Maintenance
    10 dependency updates
  19. 0.0.60

    Patch

    Meta: Change codegen slightly.

    2 dependency updates
  20. 0.0.59

    Patch

    Fix css module inclusions.

    1 dependency update
    • @nordcom/nordstar-system@0.0.59
  21. 0.0.58

    Patch

    Fix engines field.

    7 dependency updates
  22. 0.0.57

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.57
  23. 0.0.56

    Patch

    Upgrade turbo.

    21 dependency updates
  24. 0.0.55

    Maintenance
    28 dependency updates
  25. 0.0.54

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.54
  26. 0.0.53

    Maintenance
    8 dependency updates
  27. 0.0.52

    Patch

    Add disabled state.

    1 dependency update
    • @nordcom/nordstar-system@0.0.52
  28. 0.0.51

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.51
  29. 0.0.50

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.50
  30. 0.0.49

    Maintenance
    6 dependency updates
  31. 0.0.48

    Patch

    Fix #446: Button should have user-select: none;.

    3 dependency updates
  32. 0.0.47

    Maintenance
    10 dependency updates
  33. 0.0.46

    Patch

    Button: Don't animate when disabled.

    4 dependency updates
  34. 0.0.45

    Patch
    2 dependency updates
  35. 0.0.44

    Patch
    • Improve testing setup to be more reliable and consistent.
    • Substantially improve both the output from the transpiler/compiler and the built type definitions.
    3 dependency updates
  36. 0.0.43

    Patch
    • Improve exports.
    • Fix types.
    • Improve build output.
    • Substantially improve testing.
    1 dependency update
    • @nordcom/nordstar-system@0.0.43
  37. 0.0.42

    Patch
    • Remove clean-package and replace it with publishConfig _(this still needs testing)_.
    • Switch from "jsx": "preserve" to "jsx": "react-jsx".
    • Substantially improve both the vite and typescript configurations.
    • Use references instead of extends in tsconfig.jsons. This allows for better type checking and faster builds.
    • Properly create entry and rollupOptions' input file lists. This fixes a bunch of issues.
    • Define __dirname, we previously tried using __dirname under esm which is not supported, somehow it didn't error or break the build but it's fixed now anyway.
    • Some groundwork done to eventually support `jsr.io`

    Meta: Migrate to bun from npm.

    1 dependency update
    • @nordcom/nordstar-system@0.0.42
  38. 0.0.41

    Patch

    Improve general styling.

    1 dependency update
    • @nordcom/nordstar-system@0.0.41
  39. 0.0.40

    Patch

    Add packageManager field and missing component descriptions.

    1 dependency update
    • @nordcom/nordstar-system@0.0.40
  40. 0.0.39

    Maintenance
    2 dependency updates
  41. 0.0.38

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.38
  42. 0.0.37

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.37
  43. 0.0.36

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.36
  44. 0.0.35

    Maintenance
    5 dependency updates
  45. 0.0.34

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.34
  46. 0.0.33

    Patch

    Design: Fix styling.

    1 dependency update
    • @nordcom/nordstar-system@0.0.33
  47. 0.0.32

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.32
  48. 0.0.31

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.31
  49. 0.0.30

    Patch

    Fix issues with <Input /> and improve color support.

    1 dependency update
    • @nordcom/nordstar-system@0.0.30
  50. 0.0.29

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.29
  51. 0.0.28

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.28
  52. 0.0.27

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.27
  53. 0.0.26

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.26
  54. 0.0.25

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.25
  55. 0.0.24

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.24
  56. 0.0.23

    Patch

    Center button content.

    1 dependency update
    • @nordcom/nordstar-system@0.0.23
  57. 0.0.22

    Patch

    Refactor <Button/> to use [data-content] and [data-icon], making it way easier to style without having add a bunch of custom className props.

    Improve how tsc builds the packages/apps, we now use "moduleResolution": "Bundler" and "moduleDetection": "force".

    Update package description.

    Add support for rendering an icon.

    1 dependency update
    • @nordcom/nordstar-system@0.0.22
  58. 0.0.21

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.21
  59. 0.0.20

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.20
  60. 0.0.19

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.19
  61. 0.0.18

    Patch

    Fix content alignment.

    Refactor tests to use their own tsconfig; this is to prevent typepollution.

    2 dependency updates
  62. 0.0.17

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.17
  63. 0.0.16

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.16
  64. 0.0.15

    Patch
    • Update release tooling, this should hopefully fix the issue with wildcard (*) dependencies. I will have to push a new release to verify.
    • Completely refactored how packages are built, exported and reimported. We will have to look into a better way to deal with clean-package as we'd eventually like to be able to export the scss/css modules as well.
    • Fixes code duplication inside of @nordcom/nordstar.
    • No longer embeds jsx-runtime into every package.

    Revert class name minification.

    1 dependency update
    • @nordcom/nordstar-system@0.0.15
  65. 0.0.14

    Patch

    Export css, you should probably never need nor use this; but it is now available for those who might need direct access to the styling.

    Add <Button/> component for triggering actionable events on an interaction.

    1 dependency update
    • @nordcom/nordstar-system@0.0.14