@ghostly-solutions/ui 0.3.10 → 1.0.0

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.
Files changed (125) hide show
  1. package/dist/chunk-fqe20k50.js +11 -0
  2. package/dist/components/alert-dialog/alert-dialog.d.ts +3 -1
  3. package/dist/components/alert-dialog/alert-dialog.d.ts.map +1 -1
  4. package/dist/components/aspect-ratio/aspect-ratio.d.ts +6 -2
  5. package/dist/components/aspect-ratio/aspect-ratio.d.ts.map +1 -1
  6. package/dist/components/aspect-ratio/index.d.ts +1 -1
  7. package/dist/components/aspect-ratio/index.d.ts.map +1 -1
  8. package/dist/components/badge/badge.d.ts +6 -3
  9. package/dist/components/badge/badge.d.ts.map +1 -1
  10. package/dist/components/breadcrumb/breadcrumb.builders.d.ts +23 -0
  11. package/dist/components/breadcrumb/breadcrumb.builders.d.ts.map +1 -0
  12. package/dist/components/breadcrumb/breadcrumb.contract.d.ts +63 -0
  13. package/dist/components/breadcrumb/breadcrumb.contract.d.ts.map +1 -0
  14. package/dist/components/breadcrumb/breadcrumb.logic.d.ts +7 -0
  15. package/dist/components/breadcrumb/breadcrumb.logic.d.ts.map +1 -0
  16. package/dist/components/breadcrumb/breadcrumb.smart.d.ts +34 -0
  17. package/dist/components/breadcrumb/breadcrumb.smart.d.ts.map +1 -0
  18. package/dist/components/breadcrumb/index.d.ts +4 -0
  19. package/dist/components/breadcrumb/index.d.ts.map +1 -1
  20. package/dist/components/button/button.d.ts +1 -1
  21. package/dist/components/calendar/calendar.d.ts.map +1 -1
  22. package/dist/components/command/command.d.ts +5 -1
  23. package/dist/components/command/command.d.ts.map +1 -1
  24. package/dist/components/context-menu/context-menu.d.ts +3 -2
  25. package/dist/components/context-menu/context-menu.d.ts.map +1 -1
  26. package/dist/components/dialog/dialog.d.ts +8 -3
  27. package/dist/components/dialog/dialog.d.ts.map +1 -1
  28. package/dist/components/drawer/drawer.d.ts.map +1 -1
  29. package/dist/components/dropdown-menu/dropdown-menu.d.ts +4 -6
  30. package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +1 -1
  31. package/dist/components/error-boundary/error-boundary.d.ts +3 -3
  32. package/dist/components/form-field/form-field.d.ts.map +1 -1
  33. package/dist/components/hover-card/hover-card.d.ts +2 -1
  34. package/dist/components/hover-card/hover-card.d.ts.map +1 -1
  35. package/dist/components/kbd/kbd.d.ts +2 -0
  36. package/dist/components/kbd/kbd.d.ts.map +1 -1
  37. package/dist/components/label/label.d.ts.map +1 -1
  38. package/dist/components/loader/loader.d.ts +3 -2
  39. package/dist/components/loader/loader.d.ts.map +1 -1
  40. package/dist/components/multiselect/multiselect.d.ts.map +1 -1
  41. package/dist/components/navbar/navbar.d.ts +1 -1
  42. package/dist/components/otp-input/otp-input.d.ts +1 -1
  43. package/dist/components/overlay/index.d.ts +1 -1
  44. package/dist/components/overlay/index.d.ts.map +1 -1
  45. package/dist/components/overlay/overlay.d.ts +11 -9
  46. package/dist/components/overlay/overlay.d.ts.map +1 -1
  47. package/dist/components/overlay/overlay.shared.d.ts +6 -0
  48. package/dist/components/overlay/overlay.shared.d.ts.map +1 -0
  49. package/dist/components/popover/popover.d.ts +4 -4
  50. package/dist/components/popover/popover.d.ts.map +1 -1
  51. package/dist/components/progress/progress.d.ts.map +1 -1
  52. package/dist/components/resizable-panel/resizable-panel.d.ts +1 -1
  53. package/dist/components/resizable-panel/resizable-panel.d.ts.map +1 -1
  54. package/dist/components/scroll-area/scroll-area.d.ts.map +1 -1
  55. package/dist/components/segmented-control/segmented-control.d.ts +6 -1
  56. package/dist/components/segmented-control/segmented-control.d.ts.map +1 -1
  57. package/dist/components/select/select.d.ts.map +1 -1
  58. package/dist/components/sheet/sheet.d.ts +8 -3
  59. package/dist/components/sheet/sheet.d.ts.map +1 -1
  60. package/dist/components/slider/slider.d.ts +1 -3
  61. package/dist/components/slider/slider.d.ts.map +1 -1
  62. package/dist/components/spotlight/index.d.ts +1 -1
  63. package/dist/components/spotlight/index.d.ts.map +1 -1
  64. package/dist/components/spotlight/spotlight.d.ts +4 -7
  65. package/dist/components/spotlight/spotlight.d.ts.map +1 -1
  66. package/dist/components/tabs/tabs.d.ts +2 -3
  67. package/dist/components/tabs/tabs.d.ts.map +1 -1
  68. package/dist/components/toast/toaster.d.ts.map +1 -1
  69. package/dist/components/toast/use-toast.d.ts.map +1 -1
  70. package/dist/components/tooltip/tooltip.d.ts +2 -1
  71. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  72. package/dist/components/ui-provider/index.d.ts +1 -1
  73. package/dist/components/ui-provider/index.d.ts.map +1 -1
  74. package/dist/components/ui-provider/ui-provider.d.ts +7 -5
  75. package/dist/components/ui-provider/ui-provider.d.ts.map +1 -1
  76. package/dist/contracts/component-contracts.d.ts +75 -0
  77. package/dist/contracts/component-contracts.d.ts.map +1 -0
  78. package/dist/contracts/events.d.ts +14 -0
  79. package/dist/contracts/events.d.ts.map +1 -0
  80. package/dist/contracts/hotkeys.d.ts +108 -0
  81. package/dist/contracts/hotkeys.d.ts.map +1 -0
  82. package/dist/contracts/index.d.ts +7 -0
  83. package/dist/contracts/index.d.ts.map +1 -0
  84. package/dist/contracts/overlay.d.ts +17 -0
  85. package/dist/contracts/overlay.d.ts.map +1 -0
  86. package/dist/contracts/primitives.d.ts +72 -0
  87. package/dist/contracts/primitives.d.ts.map +1 -0
  88. package/dist/contracts/theme.d.ts +24 -0
  89. package/dist/contracts/theme.d.ts.map +1 -0
  90. package/dist/hooks/index.d.ts +1 -0
  91. package/dist/hooks/index.d.ts.map +1 -1
  92. package/dist/hooks/use-hotkey.d.ts.map +1 -1
  93. package/dist/hooks/use-media-query.d.ts.map +1 -1
  94. package/dist/hooks/use-platform.d.ts.map +1 -1
  95. package/dist/hooks/use-reduced-motion.d.ts +4 -0
  96. package/dist/hooks/use-reduced-motion.d.ts.map +1 -0
  97. package/dist/index.d.ts +7 -4
  98. package/dist/index.d.ts.map +1 -1
  99. package/dist/index.js +4 -4
  100. package/dist/lib/density.d.ts +2 -13
  101. package/dist/lib/density.d.ts.map +1 -1
  102. package/dist/lib/hotkey.d.ts +6 -91
  103. package/dist/lib/hotkey.d.ts.map +1 -1
  104. package/dist/lib/index.d.ts +1 -1
  105. package/dist/lib/index.d.ts.map +1 -1
  106. package/dist/lib/platform.d.ts +6 -3
  107. package/dist/lib/platform.d.ts.map +1 -1
  108. package/dist/lib/theme/constants.d.ts +4 -4
  109. package/dist/lib/theme/constants.d.ts.map +1 -1
  110. package/dist/lib/theme/core.d.ts +2 -15
  111. package/dist/lib/theme/core.d.ts.map +1 -1
  112. package/dist/lib/theme/index.d.ts +3 -3
  113. package/dist/lib/theme/index.d.ts.map +1 -1
  114. package/dist/lib/theme/system.d.ts.map +1 -1
  115. package/dist/lib/types.d.ts +2 -37
  116. package/dist/lib/types.d.ts.map +1 -1
  117. package/dist/server.d.ts +9 -4
  118. package/dist/server.d.ts.map +1 -1
  119. package/dist/server.js +1 -1
  120. package/dist/styles/index.css +1 -1
  121. package/dist/styles/themes/base.css +1 -1
  122. package/dist/styles/themes/ghost-guard.css +1 -1
  123. package/dist/styles/themes/ghostly-solutions.css +1 -1
  124. package/package.json +1 -1
  125. package/dist/chunk-h6zev10f.js +0 -11
@@ -0,0 +1,108 @@
1
+ declare const HotkeyKey: {
2
+ readonly Mod: "mod";
3
+ readonly Ctrl: "ctrl";
4
+ readonly Control: "control";
5
+ readonly Alt: "alt";
6
+ readonly Option: "option";
7
+ readonly Shift: "shift";
8
+ readonly Meta: "meta";
9
+ readonly Cmd: "cmd";
10
+ readonly Command: "command";
11
+ readonly Enter: "enter";
12
+ readonly Return: "return";
13
+ readonly Escape: "escape";
14
+ readonly Esc: "esc";
15
+ readonly Backspace: "backspace";
16
+ readonly Delete: "delete";
17
+ readonly Del: "del";
18
+ readonly Tab: "tab";
19
+ readonly Space: "space";
20
+ readonly ArrowUp: "arrowup";
21
+ readonly ArrowDown: "arrowdown";
22
+ readonly ArrowLeft: "arrowleft";
23
+ readonly ArrowRight: "arrowright";
24
+ readonly Up: "up";
25
+ readonly Down: "down";
26
+ readonly Left: "left";
27
+ readonly Right: "right";
28
+ readonly Plus: "plus";
29
+ readonly A: "a";
30
+ readonly B: "b";
31
+ readonly C: "c";
32
+ readonly D: "d";
33
+ readonly E: "e";
34
+ readonly F: "f";
35
+ readonly G: "g";
36
+ readonly H: "h";
37
+ readonly I: "i";
38
+ readonly J: "j";
39
+ readonly K: "k";
40
+ readonly L: "l";
41
+ readonly M: "m";
42
+ readonly N: "n";
43
+ readonly O: "o";
44
+ readonly P: "p";
45
+ readonly Q: "q";
46
+ readonly R: "r";
47
+ readonly S: "s";
48
+ readonly T: "t";
49
+ readonly U: "u";
50
+ readonly V: "v";
51
+ readonly W: "w";
52
+ readonly X: "x";
53
+ readonly Y: "y";
54
+ readonly Z: "z";
55
+ readonly D0: "0";
56
+ readonly D1: "1";
57
+ readonly D2: "2";
58
+ readonly D3: "3";
59
+ readonly D4: "4";
60
+ readonly D5: "5";
61
+ readonly D6: "6";
62
+ readonly D7: "7";
63
+ readonly D8: "8";
64
+ readonly D9: "9";
65
+ readonly F1: "f1";
66
+ readonly F2: "f2";
67
+ readonly F3: "f3";
68
+ readonly F4: "f4";
69
+ readonly F5: "f5";
70
+ readonly F6: "f6";
71
+ readonly F7: "f7";
72
+ readonly F8: "f8";
73
+ readonly F9: "f9";
74
+ readonly F10: "f10";
75
+ readonly F11: "f11";
76
+ readonly F12: "f12";
77
+ };
78
+ type HotkeyToken = (typeof HotkeyKey)[keyof typeof HotkeyKey];
79
+ type HotkeyCombo = [HotkeyToken, ...HotkeyToken[]];
80
+ interface HotkeyDefinition {
81
+ key: string;
82
+ mod: boolean;
83
+ ctrl: boolean;
84
+ alt: boolean;
85
+ shift: boolean;
86
+ meta: boolean;
87
+ }
88
+ interface HotkeyBinding {
89
+ keys: string | string[];
90
+ label?: string;
91
+ preventDefault?: boolean;
92
+ stopPropagation?: boolean;
93
+ enabled?: boolean;
94
+ }
95
+ declare const HotkeyModifierKey: {
96
+ readonly mod: "mod";
97
+ readonly ctrl: "ctrl";
98
+ readonly control: "control";
99
+ readonly alt: "alt";
100
+ readonly option: "option";
101
+ readonly shift: "shift";
102
+ readonly meta: "meta";
103
+ readonly cmd: "cmd";
104
+ readonly command: "command";
105
+ };
106
+ type HotkeyModifierToken = (typeof HotkeyModifierKey)[keyof typeof HotkeyModifierKey];
107
+ export { HotkeyKey, HotkeyModifierKey, type HotkeyBinding, type HotkeyCombo, type HotkeyDefinition, type HotkeyModifierToken, type HotkeyToken, };
108
+ //# sourceMappingURL=hotkeys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hotkeys.d.ts","sourceRoot":"","sources":["../../src/contracts/hotkeys.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkFL,CAAC;AAEX,KAAK,WAAW,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAC9D,KAAK,WAAW,GAAG,CAAC,WAAW,EAAE,GAAG,WAAW,EAAE,CAAC,CAAC;AAEnD,UAAU,gBAAgB;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,OAAO,CAAC;IACb,IAAI,EAAE,OAAO,CAAC;IACd,GAAG,EAAE,OAAO,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;CACd;AAED,UAAU,aAAa;IACtB,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,QAAA,MAAM,iBAAiB;;;;;;;;;;CAUb,CAAC;AAEX,KAAK,mBAAmB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC;AAEtF,OAAO,EACN,SAAS,EACT,iBAAiB,EACjB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,WAAW,GAChB,CAAC"}
@@ -0,0 +1,7 @@
1
+ export type { AriaDescribedBy, AriaLabelledBy, BaseProps, ChildrenProps, ClassNameProps, DisableableProps, LoadableProps, OpenChangeHandler, PolymorphicComponentProps, PolymorphicComponentPropsWithRef, PolymorphicRef, PropsOf, RequiredProps, SlotProps, TestIdProp, ValueChangeHandler, WithAlign, WithDensity, WithEmphasisLevel, WithMotionLevel, WithOrientation, WithSide, WithSize, WithStatus, WithSurfaceStyle, WithVariant, } from "./component-contracts";
2
+ export type { ChangeReason, ControllableOpen, ControllableValue, SelectionChangeHandler, } from "./events";
3
+ export { type HotkeyBinding, type HotkeyCombo, type HotkeyDefinition, HotkeyKey, HotkeyModifierKey, type HotkeyModifierToken, type HotkeyToken, } from "./hotkeys";
4
+ export type { OverlayPlacementProps, OverlayPortalProps, OverlayRootProps } from "./overlay";
5
+ export { Align, type AlignValue, Density, type DensityValue, EmphasisLevel, type EmphasisLevelValue, MotionLevel, type MotionLevelValue, Orientation, type OrientationValue, Side, type SideValue, Size, type SizeValue, Status, type StatusValue, SurfaceStyle, type SurfaceStyleValue, Variant, type VariantValue, } from "./primitives";
6
+ export { type ResolvedThemeColorScheme, type ResolvedThemeState, ThemeColorScheme, type ThemeColorSchemeValue, type ThemeId, type ThemeState, type ThemeStateChangeMeta, type ThemeStateChangeReason, type ThemeStateReader, type ThemeStateWriter, } from "./theme";
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACX,eAAe,EACf,cAAc,EACd,SAAS,EACT,aA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";
2
+ import type { AlignValue, SideValue } from "./primitives";
3
+ interface OverlayRootProps extends ControllableOpen {
4
+ modal?: boolean;
5
+ }
6
+ interface OverlayPortalProps {
7
+ portal?: boolean;
8
+ portalContainer?: HTMLElement | null;
9
+ }
10
+ interface OverlayPlacementProps {
11
+ side?: SideValue;
12
+ align?: AlignValue;
13
+ sideOffset?: number;
14
+ alignOffset?: number;
15
+ }
16
+ export type { OverlayPlacementProps, OverlayPortalProps, OverlayRootProps };
17
+ //# sourceMappingURL=overlay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../src/contracts/overlay.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE1D,UAAU,gBAAiB,SAAQ,gBAAgB;IAClD,KAAK,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,UAAU,kBAAkB;IAC3B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CACrC;AAED,UAAU,qBAAqB;IAC9B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,YAAY,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,CAAC"}
@@ -0,0 +1,72 @@
1
+ declare const Size: {
2
+ readonly xs: "xs";
3
+ readonly sm: "sm";
4
+ readonly md: "md";
5
+ readonly lg: "lg";
6
+ readonly xl: "xl";
7
+ };
8
+ declare const Variant: {
9
+ readonly default: "default";
10
+ readonly primary: "primary";
11
+ readonly secondary: "secondary";
12
+ readonly neutral: "neutral";
13
+ readonly outline: "outline";
14
+ readonly ghost: "ghost";
15
+ readonly danger: "danger";
16
+ };
17
+ declare const Status: {
18
+ readonly default: "default";
19
+ readonly neutral: "neutral";
20
+ readonly success: "success";
21
+ readonly warning: "warning";
22
+ readonly error: "error";
23
+ readonly info: "info";
24
+ };
25
+ declare const Density: {
26
+ readonly xs: "xs";
27
+ readonly sm: "sm";
28
+ readonly md: "md";
29
+ readonly lg: "lg";
30
+ readonly xl: "xl";
31
+ };
32
+ declare const MotionLevel: {
33
+ readonly none: "none";
34
+ readonly subtle: "subtle";
35
+ readonly expressive: "expressive";
36
+ };
37
+ declare const SurfaceStyle: {
38
+ readonly solid: "solid";
39
+ readonly glass: "glass";
40
+ };
41
+ declare const EmphasisLevel: {
42
+ readonly low: "low";
43
+ readonly medium: "medium";
44
+ readonly high: "high";
45
+ };
46
+ declare const Orientation: {
47
+ readonly horizontal: "horizontal";
48
+ readonly vertical: "vertical";
49
+ };
50
+ declare const Side: {
51
+ readonly top: "top";
52
+ readonly right: "right";
53
+ readonly bottom: "bottom";
54
+ readonly left: "left";
55
+ };
56
+ declare const Align: {
57
+ readonly start: "start";
58
+ readonly center: "center";
59
+ readonly end: "end";
60
+ };
61
+ type SizeValue = (typeof Size)[keyof typeof Size];
62
+ type VariantValue = (typeof Variant)[keyof typeof Variant];
63
+ type StatusValue = (typeof Status)[keyof typeof Status];
64
+ type DensityValue = (typeof Density)[keyof typeof Density];
65
+ type MotionLevelValue = (typeof MotionLevel)[keyof typeof MotionLevel];
66
+ type SurfaceStyleValue = (typeof SurfaceStyle)[keyof typeof SurfaceStyle];
67
+ type EmphasisLevelValue = (typeof EmphasisLevel)[keyof typeof EmphasisLevel];
68
+ type OrientationValue = (typeof Orientation)[keyof typeof Orientation];
69
+ type SideValue = (typeof Side)[keyof typeof Side];
70
+ type AlignValue = (typeof Align)[keyof typeof Align];
71
+ export { Align, type AlignValue, Density, type DensityValue, EmphasisLevel, type EmphasisLevelValue, MotionLevel, type MotionLevelValue, Orientation, type OrientationValue, Side, type SideValue, Size, type SizeValue, Status, type StatusValue, SurfaceStyle, type SurfaceStyleValue, Variant, type VariantValue, };
72
+ //# sourceMappingURL=primitives.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../src/contracts/primitives.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,IAAI;;;;;;CAMA,CAAC;AAEX,QAAA,MAAM,OAAO;;;;;;;;CAQH,CAAC;AAEX,QAAA,MAAM,MAAM;;;;;;;CAOF,CAAC;AAEX,QAAA,MAAM,OAAO;;;;;;CAMH,CAAC;AAEX,QAAA,MAAM,WAAW;;;;CAIP,CAAC;AAEX,QAAA,MAAM,YAAY;;;CAGR,CAAC;AAEX,QAAA,MAAM,aAAa;;;;CAIT,CAAC;AAEX,QAAA,MAAM,WAAW;;;CAGP,CAAC;AAEX,QAAA,MAAM,IAAI;;;;;CAKA,CAAC;AAEX,QAAA,MAAM,KAAK;;;;CAID,CAAC;AAEX,KAAK,SAAS,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,OAAO,IAAI,CAAC,CAAC;AAClD,KAAK,YAAY,GAAG,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,OAAO,OAAO,CAAC,CAAC;AAC3D,KAAK,WAAW,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,CAAC;AACxD,KAAK,YAAY,GAAG,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,OAAO,OAAO,CAAC,CAAC;AAC3D,KAAK,gBAAgB,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AACvE,KAAK,iBAAiB,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAC1E,KAAK,kBAAkB,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAC7E,KAAK,gBAAgB,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AACvE,KAAK,SAAS,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,OAAO,IAAI,CAAC,CAAC;AAClD,KAAK,UAAU,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,OAAO,KAAK,CAAC,CAAC;AAErD,OAAO,EACN,KAAK,EACL,KAAK,UAAU,EACf,OAAO,EACP,KAAK,YAAY,EACjB,aAAa,EACb,KAAK,kBAAkB,EACvB,WAAW,EACX,KAAK,gBAAgB,EACrB,WAAW,EACX,KAAK,gBAAgB,EACrB,IAAI,EACJ,KAAK,SAAS,EACd,IAAI,EACJ,KAAK,SAAS,EACd,MAAM,EACN,KAAK,WAAW,EAChB,YAAY,EACZ,KAAK,iBAAiB,EACtB,OAAO,EACP,KAAK,YAAY,GACjB,CAAC"}
@@ -0,0 +1,24 @@
1
+ declare const ThemeColorScheme: {
2
+ readonly light: "light";
3
+ readonly dark: "dark";
4
+ readonly system: "system";
5
+ };
6
+ type ThemeColorSchemeValue = (typeof ThemeColorScheme)[keyof typeof ThemeColorScheme];
7
+ type ResolvedThemeColorScheme = "light" | "dark";
8
+ type ThemeId = string;
9
+ interface ThemeState {
10
+ theme: ThemeId;
11
+ colorScheme: ThemeColorSchemeValue;
12
+ }
13
+ interface ResolvedThemeState extends ThemeState {
14
+ resolvedColorScheme: ResolvedThemeColorScheme;
15
+ }
16
+ interface ThemeStateChangeMeta {
17
+ reason: "set-theme" | "set-color-scheme" | "set-state" | "bootstrap";
18
+ persisted: boolean;
19
+ }
20
+ type ThemeStateChangeReason = ThemeStateChangeMeta["reason"];
21
+ type ThemeStateReader = () => ThemeState | null;
22
+ type ThemeStateWriter = (state: ThemeState) => void;
23
+ export { ThemeColorScheme, type ResolvedThemeColorScheme, type ResolvedThemeState, type ThemeId, type ThemeState, type ThemeStateChangeMeta, type ThemeStateChangeReason, type ThemeStateReader, type ThemeStateWriter, type ThemeColorSchemeValue, };
24
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/contracts/theme.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,gBAAgB;;;;CAIZ,CAAC;AAEX,KAAK,qBAAqB,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AACtF,KAAK,wBAAwB,GAAG,OAAO,GAAG,MAAM,CAAC;AACjD,KAAK,OAAO,GAAG,MAAM,CAAC;AAEtB,UAAU,UAAU;IACnB,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,EAAE,qBAAqB,CAAC;CACnC;AAED,UAAU,kBAAmB,SAAQ,UAAU;IAC9C,mBAAmB,EAAE,wBAAwB,CAAC;CAC9C;AAED,UAAU,oBAAoB;IAC7B,MAAM,EAAE,WAAW,GAAG,kBAAkB,GAAG,WAAW,GAAG,WAAW,CAAC;IACrE,SAAS,EAAE,OAAO,CAAC;CACnB;AAED,KAAK,sBAAsB,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC;AAC7D,KAAK,gBAAgB,GAAG,MAAM,UAAU,GAAG,IAAI,CAAC;AAChD,KAAK,gBAAgB,GAAG,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;AAEpD,OAAO,EACN,gBAAgB,EAChB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,OAAO,EACZ,KAAK,UAAU,EACf,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC1B,CAAC"}
@@ -5,4 +5,5 @@ export { useControllableState } from "./use-controllable-state";
5
5
  export { type UseHotkeyOptions, useHotkey } from "./use-hotkey";
6
6
  export { useMediaQuery } from "./use-media-query";
7
7
  export { detectPlatform, type PlatformInfo, type PlatformOS, usePlatform } from "./use-platform";
8
+ export { REDUCED_MOTION_QUERY, useReducedMotion } from "./use-reduced-motion";
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,KAAK,gBAAgB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,KAAK,YAAY,EAAE,KAAK,UAAU,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,KAAK,gBAAgB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,KAAK,YAAY,EAAE,KAAK,UAAU,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACjG,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-hotkey.d.ts","sourceRoot":"","sources":["../../src/hooks/use-hotkey.ts"],"names":[],"mappings":"AAKA,UAAU,gBAAgB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,GAAG,QAAQ,CAAC;CACxD;AAED,iBAAS,SAAS,CACjB,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,EACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,EACzD,OAAO,GAAE,gBAAqB,GAC5B,IAAI,CA8CN;AAED,OAAO,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,CAAC"}
1
+ {"version":3,"file":"use-hotkey.d.ts","sourceRoot":"","sources":["../../src/hooks/use-hotkey.ts"],"names":[],"mappings":"AAKA,UAAU,gBAAgB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,GAAG,QAAQ,CAAC;CACxD;AAED,iBAAS,SAAS,CACjB,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,EACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,EACzD,OAAO,GAAE,gBAAqB,GAC5B,IAAI,CAwDN;AAED,OAAO,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-media-query.d.ts","sourceRoot":"","sources":["../../src/hooks/use-media-query.ts"],"names":[],"mappings":"AAIA,iBAAS,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAY7C;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"use-media-query.d.ts","sourceRoot":"","sources":["../../src/hooks/use-media-query.ts"],"names":[],"mappings":"AAOA,iBAAS,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAqB7C;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-platform.d.ts","sourceRoot":"","sources":["../../src/hooks/use-platform.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,KAAK,YAAY,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEpF,iBAAS,WAAW,IAAI,YAAY,CAEnC;AAED,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,KAAK,YAAY,EAAE,KAAK,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"use-platform.d.ts","sourceRoot":"","sources":["../../src/hooks/use-platform.ts"],"names":[],"mappings":"AAGA,OAAO,EACN,cAAc,EACd,KAAK,YAAY,EACjB,KAAK,UAAU,EAGf,MAAM,gBAAgB,CAAC;AAKxB,iBAAS,WAAW,IAAI,YAAY,CAEnC;AAED,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,KAAK,YAAY,EAAE,KAAK,UAAU,EAAE,CAAC"}
@@ -0,0 +1,4 @@
1
+ declare const REDUCED_MOTION_QUERY = "(prefers-reduced-motion: reduce)";
2
+ declare function useReducedMotion(): boolean;
3
+ export { REDUCED_MOTION_QUERY, useReducedMotion };
4
+ //# sourceMappingURL=use-reduced-motion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-reduced-motion.d.ts","sourceRoot":"","sources":["../../src/hooks/use-reduced-motion.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,oBAAoB,qCAAqC,CAAC;AAEhE,iBAAS,gBAAgB,IAAI,OAAO,CAEnC;AAED,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,CAAC"}
package/dist/index.d.ts CHANGED
@@ -58,13 +58,16 @@ export * from "./components/toggle-group";
58
58
  export * from "./components/toolbar";
59
59
  export * from "./components/tooltip";
60
60
  export * from "./components/ui-provider";
61
+ export type { AriaDescribedBy, AriaLabelledBy, ChangeReason, ControllableOpen, ControllableValue, HotkeyBinding, HotkeyModifierToken, OpenChangeHandler, OverlayPlacementProps, OverlayPortalProps, OverlayRootProps, ResolvedThemeColorScheme, SelectionChangeHandler, TestIdProp, ThemeColorSchemeValue, ThemeId, ValueChangeHandler, WithAlign, WithDensity, WithEmphasisLevel, WithMotionLevel, WithOrientation, WithSide, WithSize, WithStatus, WithSurfaceStyle, WithVariant, } from "./contracts";
62
+ export { Align, Density, type DensityValue, EmphasisLevel, HotkeyKey, HotkeyModifierKey, MotionLevel, Orientation, Side, Size, Status, SurfaceStyle, ThemeColorScheme, Variant, } from "./contracts";
61
63
  export { useControllableState } from "./hooks/use-controllable-state";
62
64
  export { type UseHotkeyOptions, useHotkey } from "./hooks/use-hotkey";
63
65
  export { detectPlatform, type PlatformInfo, type PlatformOS, usePlatform, } from "./hooks/use-platform";
66
+ export { REDUCED_MOTION_QUERY, useReducedMotion } from "./hooks/use-reduced-motion";
64
67
  export { type ClassValue, cn } from "./lib/cn";
65
68
  export { composeRefs, createContext, createOptionalContext, useComposedRefs } from "./lib/compose";
66
- export { DENSITY_DEFAULT, DensityProvider, type DensityProviderProps, type DensityValue, useDensity, useDensitySize, } from "./lib/density";
67
- export { Key, type HotkeyToken, hotkey, formatHotkey, formatHotkeyTokens, type HotkeyDefinition, matchHotkey, parseHotkey, } from "./lib/hotkey";
68
- export { ColorScheme, type ColorSchemeValue, type CreateThemeCssOptions, type CreateThemesCssOptions, createThemeContract, createThemeCss, createThemeRegistry, createThemeSetCookieHeader, createThemeSystem, createThemesCss, DARK_CLASS, defineThemes, getSystemColorScheme, getThemeRootProps, normalizeThemeState, parseThemeState, type ResolvedColorScheme, type ResolvedThemeState, type ResolvedThemeStateFor, type ResolveThemeStateOptions, readThemeStateFromBrowserStorage, readThemeStateFromCookieHeader, resolveThemeState, STORAGE_DENSITY_KEY, STORAGE_PREFIX, STORAGE_THEME_STATE_KEY, STORAGE_VERSION, serializeThemeState, THEME_ATTR, THEME_COLOR_SCHEME_ATTR, THEME_COOKIE_NAME, type ThemeContextValue, type ThemeContextValueFor, type ThemeContract, type ThemeContractOptions, type CreateThemeSystemOptions, type ThemeCookieOptions, type ThemeCookieSameSite, type ThemeCssDefinition, type ThemeCssTextDefinition, ThemeProvider, type ThemeProviderProps, type ThemeRegistry, type ThemeRegistryDefinition, type ThemeRegistryInput, type ThemeRegistryOptions, ThemeRegistryProvider, type ThemeRegistryProviderProps, type ThemeRegistryRecord, type ThemeRegistryRecordValue, type ThemeRootProps, type ThemeState, type ThemeStateFor, type ThemeStateChangeMeta, type ThemeStateChangeReason, type ThemeStateReader, type ThemeStateUpdateFor, type ThemeStateWriter, type ThemeStorageMode, type ThemeStorageOptions, ThemeStyles, type ThemeStylesProps, type ThemeSystem, type ThemeSystemProviderProps, type ThemeSystemStylesProps, type ThemeTokenDefinition, type ThemeTokenMap, type ThemeTokenValue, useTheme, writeThemeStateToBrowserStorage, } from "./lib/theme";
69
- export type { Align, BaseProps, ControlSize, ControlStatus, ControlVariant, DisableableProps, EmphasisLevel, LoadableProps, MotionLevel, Orientation, PolymorphicComponentProps, PolymorphicComponentPropsWithRef, Side, Size, SlotProps, Status, SurfaceStyle, Variant, } from "./lib/types";
69
+ export { DENSITY_DEFAULT, useDensity, useDensitySize, } from "./lib/density";
70
+ export { formatHotkey, formatHotkeyTokens, type HotkeyCombo, type HotkeyDefinition, type HotkeyToken, hotkey, Key, matchHotkey, parseHotkey, } from "./lib/hotkey";
71
+ export { ColorScheme, type ColorSchemeValue, type CreateThemeCssOptions, type CreateThemeSystemOptions, type CreateThemesCssOptions, createThemeContract, createThemeCss, createThemeRegistry, createThemeSystem, createThemesCss, DARK_CLASS, defineThemes, getSystemColorScheme, getThemeRootProps, normalizeThemeState, parseThemeState, type ResolvedColorScheme, type ResolvedThemeState, type ResolvedThemeStateFor, type ResolveThemeStateOptions, readThemeStateFromBrowserStorage, resolveThemeState, STORAGE_DENSITY_KEY, STORAGE_PREFIX, STORAGE_THEME_STATE_KEY, STORAGE_VERSION, serializeThemeState, THEME_ATTR, THEME_COLOR_SCHEME_ATTR, type ThemeContextValue, type ThemeContextValueFor, type ThemeContract, type ThemeContractOptions, type ThemeCssDefinition, type ThemeCssTextDefinition, ThemeProvider, type ThemeProviderProps, type ThemeRegistry, type ThemeRegistryDefinition, type ThemeRegistryInput, type ThemeRegistryOptions, ThemeRegistryProvider, type ThemeRegistryProviderProps, type ThemeRegistryRecord, type ThemeRegistryRecordValue, type ThemeRootProps, type ThemeState, type ThemeStateChangeMeta, type ThemeStateChangeReason, type ThemeStateFor, type ThemeStateReader, type ThemeStateUpdateFor, type ThemeStateWriter, type ThemeStorageMode, type ThemeStorageOptions, ThemeStyles, type ThemeStylesProps, type ThemeSystem, type ThemeSystemProviderProps, type ThemeSystemStylesProps, type ThemeTokenDefinition, type ThemeTokenMap, type ThemeTokenValue, useTheme, writeThemeStateToBrowserStorage, } from "./lib/theme";
72
+ export type { BaseProps, ControlSize, ControlStatus, ControlVariant, DisableableProps, LoadableProps, PolymorphicComponentProps, PolymorphicComponentPropsWithRef, SlotProps, } from "./lib/types";
70
73
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC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