← Changelog

Card

@nordcom/nordstar-cardv0.2.076 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 <Card/> divider semantics, typing and styling consistency:

    • Card.Divider now renders a real <hr> (its props were already typed as <hr>), so it carries the implicit separator role and is exposed to assistive tech instead of being an opaque <div>.
    • Card.Divider and Card.Header apply their default draggable={false} before spreading props, so a consumer-supplied draggable is no longer silently dropped.
    • Solid primary/secondary cards now pair their background with the matching text-primary-foreground/text-secondary-foreground token, so themed foreground colors are respected (consistent with <Button/>).
    • HeaderProps (for Card.Header) is now re-exported from the package entry point, alongside CardProps/CardDividerProps.
    • Removed dead/duplicated utility classes (border-foreground shadowed by border-foreground-highlight, and a duplicate border-2 border-solid).
    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

    Patch
    • Fix text color on solid foreground variant.
    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

    Maintenance
    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

    Maintenance
    3 dependency updates
  32. 0.0.47

    Maintenance
    10 dependency updates
  33. 0.0.46

    Patch

    Card: Add padding prop.

    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

    Maintenance
    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

    Patch

    Add <Card.Divider/> child component.

    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

    Patch

    Add a solid variation of the <Card/> component.

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

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

    Patch

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

    Update package description.

    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

    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.

    1 dependency update
    • @nordcom/nordstar-system@0.0.14
  66. 0.0.13

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.13
  67. 0.0.12

    Patch

    Add theme prop to <NordstarProvider/>.

    1 dependency update
    • @nordcom/nordstar-system@0.0.12
  68. 0.0.11

    Patch

    Use typescript codebase directly during development internally.

    The exports get automatically replaced during packaging as a part of running clean-package in the prepack and postpack script(s).

    1 dependency update
    • @nordcom/nordstar-system@0.0.11
  69. 0.0.10

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.10
  70. 0.0.9

    Maintenance
    1 dependency update
    • @nordcom/nordstar-system@0.0.9
  71. 0.0.8

    Patch

    Add a few layout-related css variables.

    1 dependency update
    • @nordcom/nordstar-system@0.0.8
  72. 0.0.7

    Patch

    Meta: Switch to using esmodules.

    1 dependency update
    • @nordcom/nordstar-system@0.0.7
  73. 0.0.6

    Patch

    Migrate to vite from tsup.

    Fix style injection when using vite.

    2 dependency updates
  74. 0.0.5

    Patch

    Attempt to properly exporting the typings.

    1 dependency update
    • @nordcom/nordstar-system@0.0.5
  75. 0.0.4

    Patch

    Use scss and css variables to handle component styling.

    1 dependency update
    • @nordcom/nordstar@0.0.4
  76. 0.0.3

    Patch

    Add <Card/> component stub to test if the current release workflow is correctly setup.

    While you should be able to actually use the component, it will only wrap your content in a section html element.

    1 dependency update
    • @nordcom/nordstar@0.0.3