nuvox 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -265,6 +265,14 @@ active*, not a portal, not a value being typed. Usually no portal at
265
265
  all.
266
266
 
267
267
  **What to keep:**
268
+ - **Same `value` + `onChange` (controlled) / `defaultValue`
269
+ (uncontrolled) convention as Category B, applied to "which item is
270
+ active" instead of "what's typed."** Not `onValueChange` — there is
271
+ exactly one controlled-state prop name across this entire library,
272
+ regardless of category, and it's `onChange`. (This had to be fixed
273
+ once already — Tabs and Accordion shipped with `onValueChange` in
274
+ 0.1.0/0.1.1 because this line didn't exist yet. See `tests/no-on-value-change.test.ts`,
275
+ which now fails the build if this drifts again.)
268
276
  - Roving `tabIndex` pattern for keyboard nav within the group (Tabs,
269
277
  Accordion) — only the active tab is in the natural tab order; arrow
270
278
  keys move between siblings. This is the same class of "accessibility
package/CHANGELOG.md ADDED
@@ -0,0 +1,58 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project are documented here.
4
+ Format loosely follows [Keep a Changelog](https://keepachangelog.com/).
5
+
6
+ ## [0.1.2]
7
+
8
+ ### Fixed
9
+ - `Select` now has a real `label` prop (previously only `aria-label`/
10
+ `aria-labelledby` — every other form field had `label`, this was the
11
+ one gap).
12
+ - `Slider`'s `onChange` no longer forces the `number | readonly [number,
13
+ number]` union in single-thumb mode. It's now generic, so a plain
14
+ `<Slider value={n} onChange={setN} />` infers `(value: number) =>
15
+ void` with no cast needed; range mode still infers the tuple.
16
+ - `nuvox/react` now re-exports ~20 prop-relevant types that previously
17
+ only lived in `"nuvox"` (`SliderValue`, `SelectOptionItem`,
18
+ `CommandItem`/`CommandGroup`, `TableCoreProps`, `DrawerSide`/
19
+ `DrawerSize`, `ModalSize`, `ProgressVariant`, and others) — a
20
+ consumer typing a handler no longer needs to import from both
21
+ entry points for one component.
22
+
23
+ ### Changed
24
+ - **Breaking:** `Accordion`, `Combobox`, `Select`, and `Tabs` renamed
25
+ `onValueChange` → `onChange`, unifying every controlled component in
26
+ the library on one convention (`onChange` was already the majority —
27
+ 9 of 13 controlled components used it before this). No deprecated
28
+ alias was kept; see `CONTRACT.md` Rule 10 for why this was allowed
29
+ as a one-time pre-1.0 exception.
30
+
31
+ ### Added
32
+ - `docs-site/content/docs/css-variables.mdx` — a real reference page
33
+ for the theme system's CSS custom properties (`--color-background`,
34
+ `--color-text`, `--color-border`, etc.), previously only discoverable
35
+ incidentally inside `card.mdx`.
36
+ - `tests/no-on-value-change.test.ts` — fails the build if
37
+ `onValueChange` is ever reintroduced as a real prop anywhere in
38
+ `src/react/`. Added after an external review caught the drift above;
39
+ this is the enforcement so it can't silently happen again.
40
+ - `BUILDING-COMPONENTS.md`'s Category E section now explicitly states
41
+ the `value`/`onChange` convention applies there too — it previously
42
+ had no documented prop-naming rule at all for Tabs/Accordion's
43
+ controlled state, which is how they drifted differently from
44
+ Select/Combobox (Category D, which *did* already have this rule and
45
+ violated it).
46
+
47
+ ## [0.1.1]
48
+
49
+ Published, but no record was kept of what changed from 0.1.0.
50
+ If you're reading this after the fact: fill this in from `git log` /
51
+ `npm diff nuvox@0.1.0 nuvox@0.1.1` before it's forgotten for good.
52
+
53
+ ## [0.1.0]
54
+
55
+ Initial public release. Single consolidated `nuvox` package (core +
56
+ React bindings, previously split across 7 scoped `@nuvox/*` packages —
57
+ all deprecated/unpublished as part of this release) with a
58
+ framework-agnostic core, 40+ components, 11 themes, 490+ icons.
package/CONTRACT.md CHANGED
@@ -210,6 +210,12 @@ other rules were — Nuvox v1 never shipped a public version — but it's
210
210
  the rule that protects everything else in this document from being
211
211
  undermined the moment real consumers exist.
212
212
 
213
+ **Documented exception:** 0.1.2 broke this rule on purpose —
214
+ `Accordion`/`Combobox`/`Select`/`Tabs`' `onValueChange` was renamed to
215
+ `onChange` with no alias, as a straight break. Justified only because
216
+ the library had zero real consumers at the time; see CHANGELOG.md.
217
+ This is not a precedent for doing it again once real users exist.
218
+
213
219
  ## 11. Every overlay component meets the same accessibility baseline
214
220
  Any component that opens/closes, floats, or portals (Modal, Drawer,
215
221
  Popover, Dropdown, Select, Combobox, ContextMenu, Tour, Toast,
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Nuvox
2
2
 
3
3
  A framework-agnostic React component library with a themeable,
4
- token-driven design system. 41 components, 11 visual themes, 9 named
5
- accent colors (plus support for any raw CSS color), and 492 icons —
4
+ token-driven design system. 40+ components, 10+ visual themes, named
5
+ accent colors (plus support for any raw CSS color), and 500+ icons —
6
6
  fully typed, accessible, and built on zero runtime dependencies.
7
7
 
8
8
  ## The core idea: theme is shape, color is color
@@ -50,16 +50,16 @@ variables, `styles.css` reads them into visible styles.
50
50
 
51
51
  ## What's in the box
52
52
 
53
- - **41 components** across forms (Input, Select, Checkbox, Slider...),
53
+ - **40+ components** across forms (Input, Select, Checkbox, Slider...),
54
54
  overlays (Modal, Popover, Dropdown, Drawer...), composite widgets
55
55
  (Combobox, DatePicker, CommandPalette...), and navigation
56
56
  (Tabs, Accordion, Breadcrumb, Pagination...)
57
- - **11 themes** (light, dark, glass, dark-glass, minimalism,
57
+ - **10+ themes** (light, dark, glass, dark-glass, minimalism,
58
58
  brutalism, neobrutalism, cyberpunk, gradient, material,
59
59
  skeuomorphism) — switchable at runtime with no re-render logic
60
- - **9 named accent colors**, or drop in any raw CSS color with zero
60
+ - **Named accent colors**, or drop in any raw CSS color with zero
61
61
  registration
62
- - **492 icons**, tree-shakeable, each accepting `size` and `color`
62
+ - **500+ icons**, tree-shakeable, each accepting `size` and `color`
63
63
  - Full TypeScript support out of the box — no separate `@types`
64
64
  package needed
65
65
  - Accessible by default: every overlay component handles focus
@@ -91,7 +91,7 @@ npm run docs:dev # → http://localhost:3000
91
91
  - `/docs` — installation and setup
92
92
  - `/docs/components` — every component, with live previews
93
93
  - `/docs/themes` — the full theme/accent catalog, try them live
94
- - `/docs/icons` — browse and search all 492 icons
94
+ - `/docs/icons` — browse and search all 500+ icons
95
95
 
96
96
 
97
97
  ## License
@@ -437,6 +437,14 @@ interface ComboboxCoreProps extends FieldProps {
437
437
  allowCustomValue?: boolean;
438
438
  }
439
439
 
440
+ type WeekStart = 0 | 1;
441
+ interface CalendarDay {
442
+ date: Date;
443
+ /** False for the leading/trailing days from adjacent months that fill out the grid. */
444
+ isCurrentMonth: boolean;
445
+ isToday: boolean;
446
+ }
447
+
440
448
  interface DatePickerCoreProps extends FieldProps {
441
449
  min?: Date;
442
450
  max?: Date;
@@ -624,4 +632,4 @@ interface MenuPoint {
624
632
  y: number;
625
633
  }
626
634
 
627
- export { type TableCoreProps as $, type AccentDefinition as A, type BadgeVariant as B, type CardLayout as C, type DropdownItemVariant as D, type PhoneCountry as E, type FieldProps as F, type PhoneInputCoreProps as G, type Placement as H, type PopoverCoreProps as I, type ProgressVariant as J, type RatingCoreProps as K, type SelectOptionItem as L, type MenuPoint as M, type SemanticColor as N, type OTPInputCoreProps as O, type PaginationItem as P, type Size as Q, REQUIRED_TOKEN_PATHS as R, type SelectAllState as S, type ThemeTokens as T, type SkeletonAnimation as U, type SkeletonVariant as V, type SliderValue as W, type SortDirection as X, type SpinnerVariant as Y, type StarFill as Z, TOKEN_CATEGORIES as _, type AccordionType as a, type TabsActivationMode as a0, type TabsOrientation as a1, type TabsVariant as a2, type TimePickerCoreProps as a3, type TimeValue as a4, type TimelineAlign as a5, type TimelineCoreProps as a6, type TimelineItemCoreProps as a7, type TimelineOrientation as a8, type TimelineStatus as a9, type PaginationCoreProps as aA, type BreadcrumbCoreProps as aB, type SkeletonCoreProps as aC, type DrawerCoreProps as aD, type ContextMenuCoreProps as aE, DEFAULT_ACCENT as aF, type ToastPosition as aa, type ToastVariant as ab, type Variant as ac, defineTheme as ad, findMissingTokenPaths as ae, getAccent as af, getNextSortDirection as ag, getSelectAllState as ah, listAccents as ai, registerAccent as aj, type BadgeCoreProps as ak, type AvatarCoreProps as al, type SpinnerCoreProps as am, type DividerCoreProps as an, type CardCoreProps as ao, type AlertCoreProps as ap, type ModalCoreProps as aq, type ProgressCoreProps as ar, type TabsCoreProps as as, type AccordionCoreProps as at, type DropdownCoreProps as au, type SelectCoreProps as av, type SliderCoreProps as aw, type ComboboxCoreProps as ax, type TimePanelMode as ay, type FileUploadCoreProps as az, type AlertVariant as b, type Alignment as c, type AvatarShape as d, type AvatarSize as e, type AvatarStatus as f, type BaseComponentProps as g, type BreadcrumbSlot as h, type CardPadding as i, type CardVariant as j, type CarouselCoreProps as k, type CarouselOrientation as l, type ColorPickerCoreProps as m, type ColorScale as n, type ComboboxOption as o, type CommandGroup as p, type CommandItem as q, DEFAULT_PRESETS as r, type DatePickerCoreProps as s, type DividerOrientation as t, type DrawerSide as u, type DrawerSize as v, type FieldState as w, type FileVerdict as x, type ModalSize as y, type OTPInputType as z };
635
+ export { TOKEN_CATEGORIES as $, type AccentDefinition as A, type BadgeVariant as B, type CalendarDay as C, type DropdownItemVariant as D, type OTPInputType as E, type FieldProps as F, type PhoneCountry as G, type PhoneInputCoreProps as H, type Placement as I, type PopoverCoreProps as J, type ProgressVariant as K, type RatingCoreProps as L, type MenuPoint as M, type SelectOptionItem as N, type OTPInputCoreProps as O, type PaginationItem as P, type SemanticColor as Q, REQUIRED_TOKEN_PATHS as R, type SelectAllState as S, type ThemeTokens as T, type Size as U, type SkeletonAnimation as V, type SkeletonVariant as W, type SliderValue as X, type SortDirection as Y, type SpinnerVariant as Z, type StarFill as _, type AccordionType as a, type TableCoreProps as a0, type TabsActivationMode as a1, type TabsOrientation as a2, type TabsVariant as a3, type TimePickerCoreProps as a4, type TimeValue as a5, type TimelineAlign as a6, type TimelineCoreProps as a7, type TimelineItemCoreProps as a8, type TimelineOrientation as a9, type TimePanelMode as aA, type FileUploadCoreProps as aB, type PaginationCoreProps as aC, type BreadcrumbCoreProps as aD, type SkeletonCoreProps as aE, type DrawerCoreProps as aF, type ContextMenuCoreProps as aG, DEFAULT_ACCENT as aH, type TimelineStatus as aa, type ToastPosition as ab, type ToastVariant as ac, type Variant as ad, type WeekStart as ae, defineTheme as af, findMissingTokenPaths as ag, getAccent as ah, getNextSortDirection as ai, getSelectAllState as aj, listAccents as ak, registerAccent as al, type BadgeCoreProps as am, type AvatarCoreProps as an, type SpinnerCoreProps as ao, type DividerCoreProps as ap, type CardCoreProps as aq, type AlertCoreProps as ar, type ModalCoreProps as as, type ProgressCoreProps as at, type TabsCoreProps as au, type AccordionCoreProps as av, type DropdownCoreProps as aw, type SelectCoreProps as ax, type SliderCoreProps as ay, type ComboboxCoreProps as az, type AlertVariant as b, type Alignment as c, type AvatarShape as d, type AvatarSize as e, type AvatarStatus as f, type BaseComponentProps as g, type BreadcrumbSlot as h, type CardLayout as i, type CardPadding as j, type CardVariant as k, type CarouselCoreProps as l, type CarouselOrientation as m, type ColorPickerCoreProps as n, type ColorScale as o, type ComboboxOption as p, type CommandGroup as q, type CommandItem as r, DEFAULT_PRESETS as s, type DatePickerCoreProps as t, type DividerOrientation as u, type DrawerSide as v, type DrawerSize as w, type FieldState as x, type FileVerdict as y, type ModalSize as z };
@@ -437,6 +437,14 @@ interface ComboboxCoreProps extends FieldProps {
437
437
  allowCustomValue?: boolean;
438
438
  }
439
439
 
440
+ type WeekStart = 0 | 1;
441
+ interface CalendarDay {
442
+ date: Date;
443
+ /** False for the leading/trailing days from adjacent months that fill out the grid. */
444
+ isCurrentMonth: boolean;
445
+ isToday: boolean;
446
+ }
447
+
440
448
  interface DatePickerCoreProps extends FieldProps {
441
449
  min?: Date;
442
450
  max?: Date;
@@ -624,4 +632,4 @@ interface MenuPoint {
624
632
  y: number;
625
633
  }
626
634
 
627
- export { type TableCoreProps as $, type AccentDefinition as A, type BadgeVariant as B, type CardLayout as C, type DropdownItemVariant as D, type PhoneCountry as E, type FieldProps as F, type PhoneInputCoreProps as G, type Placement as H, type PopoverCoreProps as I, type ProgressVariant as J, type RatingCoreProps as K, type SelectOptionItem as L, type MenuPoint as M, type SemanticColor as N, type OTPInputCoreProps as O, type PaginationItem as P, type Size as Q, REQUIRED_TOKEN_PATHS as R, type SelectAllState as S, type ThemeTokens as T, type SkeletonAnimation as U, type SkeletonVariant as V, type SliderValue as W, type SortDirection as X, type SpinnerVariant as Y, type StarFill as Z, TOKEN_CATEGORIES as _, type AccordionType as a, type TabsActivationMode as a0, type TabsOrientation as a1, type TabsVariant as a2, type TimePickerCoreProps as a3, type TimeValue as a4, type TimelineAlign as a5, type TimelineCoreProps as a6, type TimelineItemCoreProps as a7, type TimelineOrientation as a8, type TimelineStatus as a9, type PaginationCoreProps as aA, type BreadcrumbCoreProps as aB, type SkeletonCoreProps as aC, type DrawerCoreProps as aD, type ContextMenuCoreProps as aE, DEFAULT_ACCENT as aF, type ToastPosition as aa, type ToastVariant as ab, type Variant as ac, defineTheme as ad, findMissingTokenPaths as ae, getAccent as af, getNextSortDirection as ag, getSelectAllState as ah, listAccents as ai, registerAccent as aj, type BadgeCoreProps as ak, type AvatarCoreProps as al, type SpinnerCoreProps as am, type DividerCoreProps as an, type CardCoreProps as ao, type AlertCoreProps as ap, type ModalCoreProps as aq, type ProgressCoreProps as ar, type TabsCoreProps as as, type AccordionCoreProps as at, type DropdownCoreProps as au, type SelectCoreProps as av, type SliderCoreProps as aw, type ComboboxCoreProps as ax, type TimePanelMode as ay, type FileUploadCoreProps as az, type AlertVariant as b, type Alignment as c, type AvatarShape as d, type AvatarSize as e, type AvatarStatus as f, type BaseComponentProps as g, type BreadcrumbSlot as h, type CardPadding as i, type CardVariant as j, type CarouselCoreProps as k, type CarouselOrientation as l, type ColorPickerCoreProps as m, type ColorScale as n, type ComboboxOption as o, type CommandGroup as p, type CommandItem as q, DEFAULT_PRESETS as r, type DatePickerCoreProps as s, type DividerOrientation as t, type DrawerSide as u, type DrawerSize as v, type FieldState as w, type FileVerdict as x, type ModalSize as y, type OTPInputType as z };
635
+ export { TOKEN_CATEGORIES as $, type AccentDefinition as A, type BadgeVariant as B, type CalendarDay as C, type DropdownItemVariant as D, type OTPInputType as E, type FieldProps as F, type PhoneCountry as G, type PhoneInputCoreProps as H, type Placement as I, type PopoverCoreProps as J, type ProgressVariant as K, type RatingCoreProps as L, type MenuPoint as M, type SelectOptionItem as N, type OTPInputCoreProps as O, type PaginationItem as P, type SemanticColor as Q, REQUIRED_TOKEN_PATHS as R, type SelectAllState as S, type ThemeTokens as T, type Size as U, type SkeletonAnimation as V, type SkeletonVariant as W, type SliderValue as X, type SortDirection as Y, type SpinnerVariant as Z, type StarFill as _, type AccordionType as a, type TableCoreProps as a0, type TabsActivationMode as a1, type TabsOrientation as a2, type TabsVariant as a3, type TimePickerCoreProps as a4, type TimeValue as a5, type TimelineAlign as a6, type TimelineCoreProps as a7, type TimelineItemCoreProps as a8, type TimelineOrientation as a9, type TimePanelMode as aA, type FileUploadCoreProps as aB, type PaginationCoreProps as aC, type BreadcrumbCoreProps as aD, type SkeletonCoreProps as aE, type DrawerCoreProps as aF, type ContextMenuCoreProps as aG, DEFAULT_ACCENT as aH, type TimelineStatus as aa, type ToastPosition as ab, type ToastVariant as ac, type Variant as ad, type WeekStart as ae, defineTheme as af, findMissingTokenPaths as ag, getAccent as ah, getNextSortDirection as ai, getSelectAllState as aj, listAccents as ak, registerAccent as al, type BadgeCoreProps as am, type AvatarCoreProps as an, type SpinnerCoreProps as ao, type DividerCoreProps as ap, type CardCoreProps as aq, type AlertCoreProps as ar, type ModalCoreProps as as, type ProgressCoreProps as at, type TabsCoreProps as au, type AccordionCoreProps as av, type DropdownCoreProps as aw, type SelectCoreProps as ax, type SliderCoreProps as ay, type ComboboxCoreProps as az, type AlertVariant as b, type Alignment as c, type AvatarShape as d, type AvatarSize as e, type AvatarStatus as f, type BaseComponentProps as g, type BreadcrumbSlot as h, type CardLayout as i, type CardPadding as j, type CardVariant as k, type CarouselCoreProps as l, type CarouselOrientation as m, type ColorPickerCoreProps as n, type ColorScale as o, type ComboboxOption as p, type CommandGroup as q, type CommandItem as r, DEFAULT_PRESETS as s, type DatePickerCoreProps as t, type DividerOrientation as u, type DrawerSide as v, type DrawerSize as w, type FieldState as x, type FileVerdict as y, type ModalSize as z };
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { T as ThemeTokens, A as AccentDefinition } from './context-menu-CBdFZq5L.cjs';
2
- export { a as AccordionType, b as AlertVariant, c as Alignment, d as AvatarShape, e as AvatarSize, f as AvatarStatus, B as BadgeVariant, g as BaseComponentProps, h as BreadcrumbSlot, C as CardLayout, i as CardPadding, j as CardVariant, k as CarouselCoreProps, l as CarouselOrientation, m as ColorPickerCoreProps, n as ColorScale, o as ComboboxOption, p as CommandGroup, q as CommandItem, D as ContextMenuItemVariant, r as DEFAULT_COLOR_PRESETS, s as DatePickerCoreProps, t as DividerOrientation, u as DrawerSide, v as DrawerSize, D as DropdownItemVariant, F as FieldProps, w as FieldState, x as FileVerdict, M as MenuPoint, y as ModalSize, O as OTPInputCoreProps, z as OTPInputType, P as PaginationItem, E as PhoneCountry, G as PhoneInputCoreProps, H as Placement, I as PopoverCoreProps, J as ProgressVariant, R as REQUIRED_TOKEN_PATHS, K as RatingCoreProps, S as SelectAllState, L as SelectOptionItem, N as SemanticColor, Q as Size, U as SkeletonAnimation, V as SkeletonVariant, W as SliderValue, X as SortDirection, Y as SpinnerVariant, Z as StarFill, _ as TOKEN_CATEGORIES, $ as TableCoreProps, a0 as TabsActivationMode, a1 as TabsOrientation, a2 as TabsVariant, a3 as TimePickerCoreProps, a4 as TimeValue, a5 as TimelineAlign, a6 as TimelineCoreProps, a7 as TimelineItemCoreProps, a8 as TimelineOrientation, a9 as TimelineStatus, aa as ToastPosition, ab as ToastVariant, c as TooltipAlign, H as TooltipPlacement, ac as Variant, ad as defineTheme, ae as findMissingTokenPaths, af as getAccent, ag as getNextSortDirection, ah as getSelectAllState, ai as listAccents, aj as registerAccent } from './context-menu-CBdFZq5L.cjs';
1
+ import { T as ThemeTokens, A as AccentDefinition } from './context-menu-CcYi_Dc_.cjs';
2
+ export { a as AccordionType, b as AlertVariant, c as Alignment, d as AvatarShape, e as AvatarSize, f as AvatarStatus, B as BadgeVariant, g as BaseComponentProps, h as BreadcrumbSlot, C as CalendarDay, i as CardLayout, j as CardPadding, k as CardVariant, l as CarouselCoreProps, m as CarouselOrientation, n as ColorPickerCoreProps, o as ColorScale, p as ComboboxOption, q as CommandGroup, r as CommandItem, D as ContextMenuItemVariant, s as DEFAULT_COLOR_PRESETS, t as DatePickerCoreProps, u as DividerOrientation, v as DrawerSide, w as DrawerSize, D as DropdownItemVariant, F as FieldProps, x as FieldState, y as FileVerdict, M as MenuPoint, z as ModalSize, O as OTPInputCoreProps, E as OTPInputType, P as PaginationItem, G as PhoneCountry, H as PhoneInputCoreProps, I as Placement, J as PopoverCoreProps, K as ProgressVariant, R as REQUIRED_TOKEN_PATHS, L as RatingCoreProps, S as SelectAllState, N as SelectOptionItem, Q as SemanticColor, U as Size, V as SkeletonAnimation, W as SkeletonVariant, X as SliderValue, Y as SortDirection, Z as SpinnerVariant, _ as StarFill, $ as TOKEN_CATEGORIES, a0 as TableCoreProps, a1 as TabsActivationMode, a2 as TabsOrientation, a3 as TabsVariant, a4 as TimePickerCoreProps, a5 as TimeValue, a6 as TimelineAlign, a7 as TimelineCoreProps, a8 as TimelineItemCoreProps, a9 as TimelineOrientation, aa as TimelineStatus, ab as ToastPosition, ac as ToastVariant, c as TooltipAlign, I as TooltipPlacement, ad as Variant, ae as WeekStart, af as defineTheme, ag as findMissingTokenPaths, ah as getAccent, ai as getNextSortDirection, aj as getSelectAllState, ak as listAccents, al as registerAccent } from './context-menu-CcYi_Dc_.cjs';
3
3
 
4
4
  declare function registerTheme(theme: ThemeTokens): void;
5
5
  declare function getTheme(name: string): ThemeTokens | undefined;
@@ -47,12 +47,4 @@ declare const magenta: AccentDefinition;
47
47
 
48
48
  type TrendDirection = "up" | "down" | "flat" | "none";
49
49
 
50
- type WeekStart = 0 | 1;
51
- interface CalendarDay {
52
- date: Date;
53
- /** False for the leading/trailing days from adjacent months that fill out the grid. */
54
- isCurrentMonth: boolean;
55
- isToday: boolean;
56
- }
57
-
58
- export { AccentDefinition, type CalendarDay, ThemeTokens, type TrendDirection, type WeekStart, amber, brutalism, copper, cyberpunk, dark, darkGlass, emerald, getTheme, glass, gradient, graphite, indigo, light, listThemes, magenta, material, minimalism, neobrutalism, registerTheme, rose, skeuomorphism, teal, violet };
50
+ export { AccentDefinition, ThemeTokens, type TrendDirection, amber, brutalism, copper, cyberpunk, dark, darkGlass, emerald, getTheme, glass, gradient, graphite, indigo, light, listThemes, magenta, material, minimalism, neobrutalism, registerTheme, rose, skeuomorphism, teal, violet };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { T as ThemeTokens, A as AccentDefinition } from './context-menu-CBdFZq5L.js';
2
- export { a as AccordionType, b as AlertVariant, c as Alignment, d as AvatarShape, e as AvatarSize, f as AvatarStatus, B as BadgeVariant, g as BaseComponentProps, h as BreadcrumbSlot, C as CardLayout, i as CardPadding, j as CardVariant, k as CarouselCoreProps, l as CarouselOrientation, m as ColorPickerCoreProps, n as ColorScale, o as ComboboxOption, p as CommandGroup, q as CommandItem, D as ContextMenuItemVariant, r as DEFAULT_COLOR_PRESETS, s as DatePickerCoreProps, t as DividerOrientation, u as DrawerSide, v as DrawerSize, D as DropdownItemVariant, F as FieldProps, w as FieldState, x as FileVerdict, M as MenuPoint, y as ModalSize, O as OTPInputCoreProps, z as OTPInputType, P as PaginationItem, E as PhoneCountry, G as PhoneInputCoreProps, H as Placement, I as PopoverCoreProps, J as ProgressVariant, R as REQUIRED_TOKEN_PATHS, K as RatingCoreProps, S as SelectAllState, L as SelectOptionItem, N as SemanticColor, Q as Size, U as SkeletonAnimation, V as SkeletonVariant, W as SliderValue, X as SortDirection, Y as SpinnerVariant, Z as StarFill, _ as TOKEN_CATEGORIES, $ as TableCoreProps, a0 as TabsActivationMode, a1 as TabsOrientation, a2 as TabsVariant, a3 as TimePickerCoreProps, a4 as TimeValue, a5 as TimelineAlign, a6 as TimelineCoreProps, a7 as TimelineItemCoreProps, a8 as TimelineOrientation, a9 as TimelineStatus, aa as ToastPosition, ab as ToastVariant, c as TooltipAlign, H as TooltipPlacement, ac as Variant, ad as defineTheme, ae as findMissingTokenPaths, af as getAccent, ag as getNextSortDirection, ah as getSelectAllState, ai as listAccents, aj as registerAccent } from './context-menu-CBdFZq5L.js';
1
+ import { T as ThemeTokens, A as AccentDefinition } from './context-menu-CcYi_Dc_.js';
2
+ export { a as AccordionType, b as AlertVariant, c as Alignment, d as AvatarShape, e as AvatarSize, f as AvatarStatus, B as BadgeVariant, g as BaseComponentProps, h as BreadcrumbSlot, C as CalendarDay, i as CardLayout, j as CardPadding, k as CardVariant, l as CarouselCoreProps, m as CarouselOrientation, n as ColorPickerCoreProps, o as ColorScale, p as ComboboxOption, q as CommandGroup, r as CommandItem, D as ContextMenuItemVariant, s as DEFAULT_COLOR_PRESETS, t as DatePickerCoreProps, u as DividerOrientation, v as DrawerSide, w as DrawerSize, D as DropdownItemVariant, F as FieldProps, x as FieldState, y as FileVerdict, M as MenuPoint, z as ModalSize, O as OTPInputCoreProps, E as OTPInputType, P as PaginationItem, G as PhoneCountry, H as PhoneInputCoreProps, I as Placement, J as PopoverCoreProps, K as ProgressVariant, R as REQUIRED_TOKEN_PATHS, L as RatingCoreProps, S as SelectAllState, N as SelectOptionItem, Q as SemanticColor, U as Size, V as SkeletonAnimation, W as SkeletonVariant, X as SliderValue, Y as SortDirection, Z as SpinnerVariant, _ as StarFill, $ as TOKEN_CATEGORIES, a0 as TableCoreProps, a1 as TabsActivationMode, a2 as TabsOrientation, a3 as TabsVariant, a4 as TimePickerCoreProps, a5 as TimeValue, a6 as TimelineAlign, a7 as TimelineCoreProps, a8 as TimelineItemCoreProps, a9 as TimelineOrientation, aa as TimelineStatus, ab as ToastPosition, ac as ToastVariant, c as TooltipAlign, I as TooltipPlacement, ad as Variant, ae as WeekStart, af as defineTheme, ag as findMissingTokenPaths, ah as getAccent, ai as getNextSortDirection, aj as getSelectAllState, ak as listAccents, al as registerAccent } from './context-menu-CcYi_Dc_.js';
3
3
 
4
4
  declare function registerTheme(theme: ThemeTokens): void;
5
5
  declare function getTheme(name: string): ThemeTokens | undefined;
@@ -47,12 +47,4 @@ declare const magenta: AccentDefinition;
47
47
 
48
48
  type TrendDirection = "up" | "down" | "flat" | "none";
49
49
 
50
- type WeekStart = 0 | 1;
51
- interface CalendarDay {
52
- date: Date;
53
- /** False for the leading/trailing days from adjacent months that fill out the grid. */
54
- isCurrentMonth: boolean;
55
- isToday: boolean;
56
- }
57
-
58
- export { AccentDefinition, type CalendarDay, ThemeTokens, type TrendDirection, type WeekStart, amber, brutalism, copper, cyberpunk, dark, darkGlass, emerald, getTheme, glass, gradient, graphite, indigo, light, listThemes, magenta, material, minimalism, neobrutalism, registerTheme, rose, skeuomorphism, teal, violet };
50
+ export { AccentDefinition, ThemeTokens, type TrendDirection, amber, brutalism, copper, cyberpunk, dark, darkGlass, emerald, getTheme, glass, gradient, graphite, indigo, light, listThemes, magenta, material, minimalism, neobrutalism, registerTheme, rose, skeuomorphism, teal, violet };