← Changelog

Input

@nordcom/nordstar-inputv0.2.052 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 <Input/> switching between uncontrolled and controlled. With no value or defaultValue, the rendered element started as value={undefined} (uncontrolled) and only became controlled after the first keystroke, triggering React's "changing an uncontrolled input to be controlled" warning. The component now seeds its internal value so the element is controlled from the first render. A consumer-supplied onChange is also forwarded — previously it was overwritten by the component's own handler, so a controlled value could never update. Finally, rendering with a non-input as (e.g. as="article") no longer applies an invalid type attribute.

    Fix <Input/> floating label. The label's active-state utility classes were separated by U+00B7 middle-dots instead of spaces, so Tailwind never parsed them — the label stayed full-size at the top and covered the value. Separators are now spaces, restoring the float/scale animation. Single-line inputs also center their value for consistent top/bottom padding, and the floated label sits clear of the text in every state (value, placeholder, focus, textarea).

    Improve <Input/> accessibility and state handling:

    • The floating <label> is now programmatically associated with the control via htmlFor/id (using useId, while respecting a consumer-supplied id). Previously the label was a purely visual overlay, so screen readers announced an unlabeled textbox.
    • Added a visible, semantic disabled state — disabled inputs now dim (opacity-50), show a not-allowed cursor and expose data-disabled, matching the affordance vocabulary of <Button/>. disabled is only forwarded to real form controls.
    • The floating-label motion now tracks the --nordstar-duration-short token and transitions only the properties that actually animate, instead of the hardcoded duration-200 + transition-all.
    • A placeholder-only field now brightens its border/text in step with the floated label, fixing the previously half-applied "filled" appearance.
    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

    Patch

    Initial work on restoring and imporving the UX of </Input>.

    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

    Patch
    • Fix group usage.
    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

    Patch
    • Try to force transparent background by default.
    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
    • Remove outline from internal input element.
    • Refactor components to use tailwind and cva.
    • Update domain to https://nordcominc.github.io/nordstar/
    • Remove labelPosition, the component shouldn't have to deal with content outside of itself.
    • Improve typings.
    • Add textarea example to input.stories.tsx.
    3 dependency updates
  17. 0.0.62

    Patch
    • Remove padding applied to internal input when type is set.
    • Add guard to onChange event.
    1 dependency update
    • @nordcom/nordstar-system@0.0.62
  18. 0.0.61

    Patch
    • Fix className usage.
    • Fix input overflowing by setting .container to overflow-hidden or overflow-clip depending on browser version.
    • Fix input background color.
    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

    Fix duplicate 'use client'; directive.

    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

    Patch

    Fix height changing during label animation.

    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

    Patch

    Improve default value.

    Input: Slightly improve styling.

    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

    Patch

    Input: Introduce the <Input/> component.

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