@brycks/core-front 0.1.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 (192) hide show
  1. package/README.md +163 -0
  2. package/dist/colors-B_8a3coi.js +106 -0
  3. package/dist/colors-B_8a3coi.js.map +1 -0
  4. package/dist/colors-Bp6ROxvx.cjs +2 -0
  5. package/dist/colors-Bp6ROxvx.cjs.map +1 -0
  6. package/dist/components/feedback/Alert/Alert.d.ts +29 -0
  7. package/dist/components/feedback/Alert/Alert.d.ts.map +1 -0
  8. package/dist/components/feedback/Alert/index.d.ts +3 -0
  9. package/dist/components/feedback/Alert/index.d.ts.map +1 -0
  10. package/dist/components/feedback/Modal/Modal.d.ts +28 -0
  11. package/dist/components/feedback/Modal/Modal.d.ts.map +1 -0
  12. package/dist/components/feedback/Modal/index.d.ts +3 -0
  13. package/dist/components/feedback/Modal/index.d.ts.map +1 -0
  14. package/dist/components/feedback/Tooltip/Tooltip.d.ts +20 -0
  15. package/dist/components/feedback/Tooltip/Tooltip.d.ts.map +1 -0
  16. package/dist/components/feedback/Tooltip/index.d.ts +3 -0
  17. package/dist/components/feedback/Tooltip/index.d.ts.map +1 -0
  18. package/dist/components/feedback/index.d.ts +9 -0
  19. package/dist/components/feedback/index.d.ts.map +1 -0
  20. package/dist/components/form/Checkbox/Checkbox.d.ts +20 -0
  21. package/dist/components/form/Checkbox/Checkbox.d.ts.map +1 -0
  22. package/dist/components/form/Checkbox/index.d.ts +3 -0
  23. package/dist/components/form/Checkbox/index.d.ts.map +1 -0
  24. package/dist/components/form/Input/Input.d.ts +21 -0
  25. package/dist/components/form/Input/Input.d.ts.map +1 -0
  26. package/dist/components/form/Input/index.d.ts +3 -0
  27. package/dist/components/form/Input/index.d.ts.map +1 -0
  28. package/dist/components/form/Select/Select.d.ts +21 -0
  29. package/dist/components/form/Select/Select.d.ts.map +1 -0
  30. package/dist/components/form/Select/index.d.ts +3 -0
  31. package/dist/components/form/Select/index.d.ts.map +1 -0
  32. package/dist/components/form/Switch/Switch.d.ts +16 -0
  33. package/dist/components/form/Switch/Switch.d.ts.map +1 -0
  34. package/dist/components/form/Switch/index.d.ts +3 -0
  35. package/dist/components/form/Switch/index.d.ts.map +1 -0
  36. package/dist/components/form/TextField/TextField.d.ts +16 -0
  37. package/dist/components/form/TextField/TextField.d.ts.map +1 -0
  38. package/dist/components/form/TextField/index.d.ts +3 -0
  39. package/dist/components/form/TextField/index.d.ts.map +1 -0
  40. package/dist/components/form/Textarea/Textarea.d.ts +27 -0
  41. package/dist/components/form/Textarea/Textarea.d.ts.map +1 -0
  42. package/dist/components/form/Textarea/index.d.ts +3 -0
  43. package/dist/components/form/Textarea/index.d.ts.map +1 -0
  44. package/dist/components/form/index.d.ts +12 -0
  45. package/dist/components/form/index.d.ts.map +1 -0
  46. package/dist/components/index.d.ts +12 -0
  47. package/dist/components/index.d.ts.map +1 -0
  48. package/dist/components/layout/Box/Box.d.ts +11 -0
  49. package/dist/components/layout/Box/Box.d.ts.map +1 -0
  50. package/dist/components/layout/Box/Box.styles.d.ts +4 -0
  51. package/dist/components/layout/Box/Box.styles.d.ts.map +1 -0
  52. package/dist/components/layout/Box/Box.types.d.ts +38 -0
  53. package/dist/components/layout/Box/Box.types.d.ts.map +1 -0
  54. package/dist/components/layout/Box/index.d.ts +3 -0
  55. package/dist/components/layout/Box/index.d.ts.map +1 -0
  56. package/dist/components/layout/Container/Container.d.ts +31 -0
  57. package/dist/components/layout/Container/Container.d.ts.map +1 -0
  58. package/dist/components/layout/Container/index.d.ts +3 -0
  59. package/dist/components/layout/Container/index.d.ts.map +1 -0
  60. package/dist/components/layout/Grid/Grid.d.ts +80 -0
  61. package/dist/components/layout/Grid/Grid.d.ts.map +1 -0
  62. package/dist/components/layout/Grid/index.d.ts +3 -0
  63. package/dist/components/layout/Grid/index.d.ts.map +1 -0
  64. package/dist/components/layout/Stack/Stack.d.ts +13 -0
  65. package/dist/components/layout/Stack/Stack.d.ts.map +1 -0
  66. package/dist/components/layout/Stack/Stack.types.d.ts +33 -0
  67. package/dist/components/layout/Stack/Stack.types.d.ts.map +1 -0
  68. package/dist/components/layout/Stack/index.d.ts +3 -0
  69. package/dist/components/layout/Stack/index.d.ts.map +1 -0
  70. package/dist/components/layout/index.d.ts +10 -0
  71. package/dist/components/layout/index.d.ts.map +1 -0
  72. package/dist/components/primitives/Button/Button.d.ts +12 -0
  73. package/dist/components/primitives/Button/Button.d.ts.map +1 -0
  74. package/dist/components/primitives/Button/Button.styles.d.ts +29 -0
  75. package/dist/components/primitives/Button/Button.styles.d.ts.map +1 -0
  76. package/dist/components/primitives/Button/Button.types.d.ts +37 -0
  77. package/dist/components/primitives/Button/Button.types.d.ts.map +1 -0
  78. package/dist/components/primitives/Button/index.d.ts +3 -0
  79. package/dist/components/primitives/Button/index.d.ts.map +1 -0
  80. package/dist/components/primitives/index.d.ts +7 -0
  81. package/dist/components/primitives/index.d.ts.map +1 -0
  82. package/dist/components/typography/Heading/Heading.d.ts +38 -0
  83. package/dist/components/typography/Heading/Heading.d.ts.map +1 -0
  84. package/dist/components/typography/Heading/index.d.ts +3 -0
  85. package/dist/components/typography/Heading/index.d.ts.map +1 -0
  86. package/dist/components/typography/Text/Text.d.ts +41 -0
  87. package/dist/components/typography/Text/Text.d.ts.map +1 -0
  88. package/dist/components/typography/Text/index.d.ts +3 -0
  89. package/dist/components/typography/Text/index.d.ts.map +1 -0
  90. package/dist/components/typography/index.d.ts +8 -0
  91. package/dist/components/typography/index.d.ts.map +1 -0
  92. package/dist/components/utility/Badge/Badge.d.ts +20 -0
  93. package/dist/components/utility/Badge/Badge.d.ts.map +1 -0
  94. package/dist/components/utility/Badge/index.d.ts +3 -0
  95. package/dist/components/utility/Badge/index.d.ts.map +1 -0
  96. package/dist/components/utility/Divider/Divider.d.ts +19 -0
  97. package/dist/components/utility/Divider/Divider.d.ts.map +1 -0
  98. package/dist/components/utility/Divider/index.d.ts +3 -0
  99. package/dist/components/utility/Divider/index.d.ts.map +1 -0
  100. package/dist/components/utility/EmptyState/EmptyState.d.ts +26 -0
  101. package/dist/components/utility/EmptyState/EmptyState.d.ts.map +1 -0
  102. package/dist/components/utility/EmptyState/index.d.ts +3 -0
  103. package/dist/components/utility/EmptyState/index.d.ts.map +1 -0
  104. package/dist/components/utility/Loader/Loader.d.ts +21 -0
  105. package/dist/components/utility/Loader/Loader.d.ts.map +1 -0
  106. package/dist/components/utility/Loader/index.d.ts +3 -0
  107. package/dist/components/utility/Loader/index.d.ts.map +1 -0
  108. package/dist/components/utility/Skeleton/Skeleton.d.ts +35 -0
  109. package/dist/components/utility/Skeleton/Skeleton.d.ts.map +1 -0
  110. package/dist/components/utility/Skeleton/index.d.ts +3 -0
  111. package/dist/components/utility/Skeleton/index.d.ts.map +1 -0
  112. package/dist/components/utility/index.d.ts +11 -0
  113. package/dist/components/utility/index.d.ts.map +1 -0
  114. package/dist/cssVariables-CU3jCd8f.js +273 -0
  115. package/dist/cssVariables-CU3jCd8f.js.map +1 -0
  116. package/dist/cssVariables-D_naqeoR.cjs +2 -0
  117. package/dist/cssVariables-D_naqeoR.cjs.map +1 -0
  118. package/dist/design-system/index.d.ts +16 -0
  119. package/dist/design-system/index.d.ts.map +1 -0
  120. package/dist/design-system/primitives/focus.d.ts +67 -0
  121. package/dist/design-system/primitives/focus.d.ts.map +1 -0
  122. package/dist/design-system/primitives/index.d.ts +14 -0
  123. package/dist/design-system/primitives/index.d.ts.map +1 -0
  124. package/dist/design-system/primitives/opacity.d.ts +88 -0
  125. package/dist/design-system/primitives/opacity.d.ts.map +1 -0
  126. package/dist/design-system/primitives/sizing.d.ts +155 -0
  127. package/dist/design-system/primitives/sizing.d.ts.map +1 -0
  128. package/dist/design-system/primitives/transitions.d.ts +92 -0
  129. package/dist/design-system/primitives/transitions.d.ts.map +1 -0
  130. package/dist/design-system/primitives/typography.d.ts +164 -0
  131. package/dist/design-system/primitives/typography.d.ts.map +1 -0
  132. package/dist/design-system/themes/ThemeProvider.d.ts +18 -0
  133. package/dist/design-system/themes/ThemeProvider.d.ts.map +1 -0
  134. package/dist/design-system/themes/cssVariables.d.ts +52 -0
  135. package/dist/design-system/themes/cssVariables.d.ts.map +1 -0
  136. package/dist/design-system/themes/darkTheme.d.ts +3 -0
  137. package/dist/design-system/themes/darkTheme.d.ts.map +1 -0
  138. package/dist/design-system/themes/index.d.ts +11 -0
  139. package/dist/design-system/themes/index.d.ts.map +1 -0
  140. package/dist/design-system/themes/lightTheme.d.ts +3 -0
  141. package/dist/design-system/themes/lightTheme.d.ts.map +1 -0
  142. package/dist/design-system/themes/types.d.ts +134 -0
  143. package/dist/design-system/themes/types.d.ts.map +1 -0
  144. package/dist/design-system/tokens/borders.d.ts +86 -0
  145. package/dist/design-system/tokens/borders.d.ts.map +1 -0
  146. package/dist/design-system/tokens/breakpoints.d.ts +66 -0
  147. package/dist/design-system/tokens/breakpoints.d.ts.map +1 -0
  148. package/dist/design-system/tokens/colors.d.ts +206 -0
  149. package/dist/design-system/tokens/colors.d.ts.map +1 -0
  150. package/dist/design-system/tokens/index.d.ts +23 -0
  151. package/dist/design-system/tokens/index.d.ts.map +1 -0
  152. package/dist/design-system/tokens/motion.d.ts +204 -0
  153. package/dist/design-system/tokens/motion.d.ts.map +1 -0
  154. package/dist/design-system/tokens/shadows.d.ts +55 -0
  155. package/dist/design-system/tokens/shadows.d.ts.map +1 -0
  156. package/dist/design-system/tokens/spacing.d.ts +104 -0
  157. package/dist/design-system/tokens/spacing.d.ts.map +1 -0
  158. package/dist/design-system/tokens/typography.d.ts +214 -0
  159. package/dist/design-system/tokens/typography.d.ts.map +1 -0
  160. package/dist/design-system/tokens/zIndex.d.ts +36 -0
  161. package/dist/design-system/tokens/zIndex.d.ts.map +1 -0
  162. package/dist/hooks/index.d.ts +8 -0
  163. package/dist/hooks/index.d.ts.map +1 -0
  164. package/dist/hooks/useDisclosure.d.ts +19 -0
  165. package/dist/hooks/useDisclosure.d.ts.map +1 -0
  166. package/dist/hooks/useMediaQuery.d.ts +13 -0
  167. package/dist/hooks/useMediaQuery.d.ts.map +1 -0
  168. package/dist/index.cjs +89 -0
  169. package/dist/index.cjs.map +1 -0
  170. package/dist/index.d.ts +60 -0
  171. package/dist/index.d.ts.map +1 -0
  172. package/dist/index.js +3215 -0
  173. package/dist/index.js.map +1 -0
  174. package/dist/themes.cjs +2 -0
  175. package/dist/themes.cjs.map +1 -0
  176. package/dist/themes.d.ts +2 -0
  177. package/dist/themes.js +11 -0
  178. package/dist/themes.js.map +1 -0
  179. package/dist/tokens.cjs +2 -0
  180. package/dist/tokens.cjs.map +1 -0
  181. package/dist/tokens.d.ts +2 -0
  182. package/dist/tokens.js +627 -0
  183. package/dist/tokens.js.map +1 -0
  184. package/dist/types/common.d.ts +90 -0
  185. package/dist/types/common.d.ts.map +1 -0
  186. package/dist/types/index.d.ts +7 -0
  187. package/dist/types/index.d.ts.map +1 -0
  188. package/dist/utils/index.d.ts +7 -0
  189. package/dist/utils/index.d.ts.map +1 -0
  190. package/dist/utils/styles.d.ts +17 -0
  191. package/dist/utils/styles.d.ts.map +1 -0
  192. package/package.json +78 -0
@@ -0,0 +1,204 @@
1
+ /**
2
+ * Brycks Design System - Motion Tokens
3
+ *
4
+ * Smooth, Apple-inspired animations and transitions.
5
+ * Creates a tactile, responsive feel with natural easing.
6
+ */
7
+ /** Duration scale in milliseconds */
8
+ export declare const durations: {
9
+ /** Instant - for micro-interactions */
10
+ readonly instant: 0;
11
+ /** 50ms - nearly instant */
12
+ readonly faster: 50;
13
+ /** 100ms - very fast, state changes */
14
+ readonly fast: 100;
15
+ /** 150ms - quick, hover states */
16
+ readonly quick: 150;
17
+ /** 200ms - default transitions */
18
+ readonly normal: 200;
19
+ /** 300ms - medium, focus changes */
20
+ readonly relaxed: 300;
21
+ /** 400ms - slow, content reveals */
22
+ readonly slow: 400;
23
+ /** 500ms - slower, modal openings */
24
+ readonly slower: 500;
25
+ /** 700ms - very slow, page transitions */
26
+ readonly lazy: 700;
27
+ /** 1000ms - dramatic reveals */
28
+ readonly dramatic: 1000;
29
+ };
30
+ /** Easing functions - natural, Apple-inspired curves */
31
+ export declare const easings: {
32
+ /** Linear - constant speed */
33
+ readonly linear: "linear";
34
+ /** Ease - subtle acceleration/deceleration */
35
+ readonly ease: "ease";
36
+ /** Ease in - slow start */
37
+ readonly easeIn: "cubic-bezier(0.4, 0, 1, 1)";
38
+ /** Ease out - slow end (most common) */
39
+ readonly easeOut: "cubic-bezier(0, 0, 0.2, 1)";
40
+ /** Ease in-out - slow start and end */
41
+ readonly easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)";
42
+ /** Apple-style spring - bouncy, natural feel */
43
+ readonly spring: "cubic-bezier(0.34, 1.56, 0.64, 1)";
44
+ /** Soft spring - subtle bounce */
45
+ readonly softSpring: "cubic-bezier(0.22, 1, 0.36, 1)";
46
+ /** Smooth - very smooth deceleration */
47
+ readonly smooth: "cubic-bezier(0.25, 0.1, 0.25, 1)";
48
+ /** Snappy - quick with soft landing */
49
+ readonly snappy: "cubic-bezier(0.2, 0, 0, 1)";
50
+ /** Expressive - dramatic entrance */
51
+ readonly expressive: "cubic-bezier(0.19, 1, 0.22, 1)";
52
+ /** Bounce - playful */
53
+ readonly bounce: "cubic-bezier(0.68, -0.55, 0.265, 1.55)";
54
+ };
55
+ /** Pre-composed transition presets */
56
+ export declare const transitions: {
57
+ /** No transition */
58
+ readonly none: "none";
59
+ /** Default - for most interactions */
60
+ readonly default: "all 200ms cubic-bezier(0, 0, 0.2, 1)";
61
+ /** Fast - for hover states, micro-interactions */
62
+ readonly fast: "all 100ms cubic-bezier(0, 0, 0.2, 1)";
63
+ /** Quick - for quick feedback */
64
+ readonly quick: "all 150ms cubic-bezier(0, 0, 0.2, 1)";
65
+ /** Smooth - for focus states */
66
+ readonly smooth: "all 300ms cubic-bezier(0.25, 0.1, 0.25, 1)";
67
+ /** Spring - for interactive elements */
68
+ readonly spring: "all 300ms cubic-bezier(0.22, 1, 0.36, 1)";
69
+ /** Slow - for reveals, modals */
70
+ readonly slow: "all 400ms cubic-bezier(0, 0, 0.2, 1)";
71
+ /** Transform only */
72
+ readonly transform: "transform 200ms cubic-bezier(0, 0, 0.2, 1)";
73
+ /** Opacity only */
74
+ readonly opacity: "opacity 200ms cubic-bezier(0, 0, 0.2, 1)";
75
+ /** Colors only */
76
+ readonly colors: "color 100ms cubic-bezier(0, 0, 0.2, 1), background-color 100ms cubic-bezier(0, 0, 0.2, 1), border-color 100ms cubic-bezier(0, 0, 0.2, 1)";
77
+ /** Shadow only */
78
+ readonly shadow: "box-shadow 200ms cubic-bezier(0, 0, 0.2, 1)";
79
+ };
80
+ /** Animation keyframe names for CSS animations */
81
+ export declare const animations: {
82
+ /** Fade in */
83
+ readonly fadeIn: {
84
+ readonly from: {
85
+ readonly opacity: 0;
86
+ };
87
+ readonly to: {
88
+ readonly opacity: 1;
89
+ };
90
+ };
91
+ /** Fade out */
92
+ readonly fadeOut: {
93
+ readonly from: {
94
+ readonly opacity: 1;
95
+ };
96
+ readonly to: {
97
+ readonly opacity: 0;
98
+ };
99
+ };
100
+ /** Scale up */
101
+ readonly scaleIn: {
102
+ readonly from: {
103
+ readonly opacity: 0;
104
+ readonly transform: "scale(0.95)";
105
+ };
106
+ readonly to: {
107
+ readonly opacity: 1;
108
+ readonly transform: "scale(1)";
109
+ };
110
+ };
111
+ /** Scale down */
112
+ readonly scaleOut: {
113
+ readonly from: {
114
+ readonly opacity: 1;
115
+ readonly transform: "scale(1)";
116
+ };
117
+ readonly to: {
118
+ readonly opacity: 0;
119
+ readonly transform: "scale(0.95)";
120
+ };
121
+ };
122
+ /** Slide up */
123
+ readonly slideUp: {
124
+ readonly from: {
125
+ readonly opacity: 0;
126
+ readonly transform: "translateY(10px)";
127
+ };
128
+ readonly to: {
129
+ readonly opacity: 1;
130
+ readonly transform: "translateY(0)";
131
+ };
132
+ };
133
+ /** Slide down */
134
+ readonly slideDown: {
135
+ readonly from: {
136
+ readonly opacity: 0;
137
+ readonly transform: "translateY(-10px)";
138
+ };
139
+ readonly to: {
140
+ readonly opacity: 1;
141
+ readonly transform: "translateY(0)";
142
+ };
143
+ };
144
+ /** Slide left */
145
+ readonly slideLeft: {
146
+ readonly from: {
147
+ readonly opacity: 0;
148
+ readonly transform: "translateX(10px)";
149
+ };
150
+ readonly to: {
151
+ readonly opacity: 1;
152
+ readonly transform: "translateX(0)";
153
+ };
154
+ };
155
+ /** Slide right */
156
+ readonly slideRight: {
157
+ readonly from: {
158
+ readonly opacity: 0;
159
+ readonly transform: "translateX(-10px)";
160
+ };
161
+ readonly to: {
162
+ readonly opacity: 1;
163
+ readonly transform: "translateX(0)";
164
+ };
165
+ };
166
+ /** Spin */
167
+ readonly spin: {
168
+ readonly from: {
169
+ readonly transform: "rotate(0deg)";
170
+ };
171
+ readonly to: {
172
+ readonly transform: "rotate(360deg)";
173
+ };
174
+ };
175
+ /** Pulse */
176
+ readonly pulse: {
177
+ readonly '0%': {
178
+ readonly opacity: 1;
179
+ };
180
+ readonly '50%': {
181
+ readonly opacity: 0.5;
182
+ };
183
+ readonly '100%': {
184
+ readonly opacity: 1;
185
+ };
186
+ };
187
+ /** Shake - for errors */
188
+ readonly shake: {
189
+ readonly '0%, 100%': {
190
+ readonly transform: "translateX(0)";
191
+ };
192
+ readonly '10%, 30%, 50%, 70%, 90%': {
193
+ readonly transform: "translateX(-4px)";
194
+ };
195
+ readonly '20%, 40%, 60%, 80%': {
196
+ readonly transform: "translateX(4px)";
197
+ };
198
+ };
199
+ };
200
+ export type Duration = keyof typeof durations;
201
+ export type Easing = keyof typeof easings;
202
+ export type Transition = keyof typeof transitions;
203
+ export type Animation = keyof typeof animations;
204
+ //# sourceMappingURL=motion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"motion.d.ts","sourceRoot":"","sources":["../../../src/design-system/tokens/motion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,qCAAqC;AACrC,eAAO,MAAM,SAAS;IACpB,uCAAuC;;IAEvC,4BAA4B;;IAE5B,uCAAuC;;IAEvC,kCAAkC;;IAElC,kCAAkC;;IAElC,oCAAoC;;IAEpC,oCAAoC;;IAEpC,qCAAqC;;IAErC,0CAA0C;;IAE1C,gCAAgC;;CAExB,CAAA;AAEV,wDAAwD;AACxD,eAAO,MAAM,OAAO;IAClB,8BAA8B;;IAG9B,8CAA8C;;IAG9C,2BAA2B;;IAG3B,wCAAwC;;IAGxC,uCAAuC;;IAGvC,gDAAgD;;IAGhD,kCAAkC;;IAGlC,wCAAwC;;IAGxC,uCAAuC;;IAGvC,qCAAqC;;IAGrC,uBAAuB;;CAEf,CAAA;AAEV,sCAAsC;AACtC,eAAO,MAAM,WAAW;IACtB,oBAAoB;;IAGpB,sCAAsC;;IAGtC,kDAAkD;;IAGlD,iCAAiC;;IAGjC,gCAAgC;;IAGhC,wCAAwC;;IAGxC,iCAAiC;;IAGjC,qBAAqB;;IAGrB,mBAAmB;;IAGnB,kBAAkB;;IAGlB,kBAAkB;;CAEV,CAAA;AAEV,kDAAkD;AAClD,eAAO,MAAM,UAAU;IACrB,cAAc;;;;;;;;;IAKd,eAAe;;;;;;;;;IAKf,eAAe;;;;;;;;;;;IAKf,iBAAiB;;;;;;;;;;;IAKjB,eAAe;;;;;;;;;;;IAKf,iBAAiB;;;;;;;;;;;IAKjB,iBAAiB;;;;;;;;;;;IAKjB,kBAAkB;;;;;;;;;;;IAKlB,WAAW;;;;;;;;;IAKX,YAAY;;;;;;;;;;;;IAMZ,yBAAyB;;;;;;;;;;;;CAMjB,CAAA;AAEV,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,SAAS,CAAA;AAC7C,MAAM,MAAM,MAAM,GAAG,MAAM,OAAO,OAAO,CAAA;AACzC,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,WAAW,CAAA;AACjD,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,UAAU,CAAA"}
@@ -0,0 +1,55 @@
1
+ /**
2
+ * Brycks Design System - Shadow Tokens
3
+ *
4
+ * Multi-layered, subtle shadows inspired by Apple's design language.
5
+ * Creates depth without harsh edges - soft, natural, and tactile.
6
+ */
7
+ /** Shadow scale - from subtle to elevated */
8
+ export declare const shadows: {
9
+ /** No shadow */
10
+ readonly none: "none";
11
+ /** Extra small - subtle lift, perfect for cards on hover */
12
+ readonly xs: "0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 3px 0 rgba(0, 0, 0, 0.06)";
13
+ /** Small - light elevation for cards, inputs */
14
+ readonly sm: "0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 2px 6px 0 rgba(0, 0, 0, 0.06), 0 0 1px 0 rgba(0, 0, 0, 0.04)";
15
+ /** Medium - default card shadow */
16
+ readonly md: "0 2px 4px -1px rgba(0, 0, 0, 0.04), 0 4px 8px -1px rgba(0, 0, 0, 0.06), 0 8px 16px -2px rgba(0, 0, 0, 0.06)";
17
+ /** Large - dropdown, popover shadows */
18
+ readonly lg: "0 4px 6px -2px rgba(0, 0, 0, 0.03), 0 8px 16px -4px rgba(0, 0, 0, 0.08), 0 16px 32px -8px rgba(0, 0, 0, 0.08)";
19
+ /** Extra large - modal shadows */
20
+ readonly xl: "0 8px 16px -4px rgba(0, 0, 0, 0.04), 0 16px 32px -8px rgba(0, 0, 0, 0.08), 0 32px 64px -16px rgba(0, 0, 0, 0.12)";
21
+ /** 2XL - floating panels, notifications */
22
+ readonly '2xl': "0 12px 24px -6px rgba(0, 0, 0, 0.05), 0 24px 48px -12px rgba(0, 0, 0, 0.1), 0 48px 96px -24px rgba(0, 0, 0, 0.15)";
23
+ /** Inner shadow - for inset effects */
24
+ readonly inner: "inset 0 2px 4px 0 rgba(0, 0, 0, 0.05)";
25
+ /** Inner shadow - stronger, for pressed states */
26
+ readonly innerStrong: "inset 0 2px 6px 0 rgba(0, 0, 0, 0.1)";
27
+ };
28
+ /** Focus ring shadows - for accessibility */
29
+ export declare const focusRings: {
30
+ /** Default focus ring - primary color */
31
+ readonly default: "0 0 0 3px rgba(85, 120, 244, 0.35)";
32
+ /** Strong focus ring - higher visibility */
33
+ readonly strong: "0 0 0 4px rgba(85, 120, 244, 0.45)";
34
+ /** Error focus ring */
35
+ readonly error: "0 0 0 3px rgba(239, 68, 68, 0.35)";
36
+ /** Success focus ring */
37
+ readonly success: "0 0 0 3px rgba(16, 185, 129, 0.35)";
38
+ /** Focus within container */
39
+ readonly within: "0 0 0 2px rgba(85, 120, 244, 0.2)";
40
+ };
41
+ /** Glow effects - for special elements */
42
+ export declare const glows: {
43
+ /** Subtle primary glow */
44
+ readonly primary: "0 0 20px rgba(85, 120, 244, 0.15), 0 0 40px rgba(85, 120, 244, 0.1)";
45
+ /** Subtle accent glow */
46
+ readonly accent: "0 0 20px rgba(248, 101, 69, 0.15), 0 0 40px rgba(248, 101, 69, 0.1)";
47
+ /** Success glow */
48
+ readonly success: "0 0 20px rgba(16, 185, 129, 0.15), 0 0 40px rgba(16, 185, 129, 0.1)";
49
+ /** Soft white glow - for dark mode highlights */
50
+ readonly white: "0 0 30px rgba(255, 255, 255, 0.1)";
51
+ };
52
+ export type Shadow = keyof typeof shadows;
53
+ export type FocusRing = keyof typeof focusRings;
54
+ export type Glow = keyof typeof glows;
55
+ //# sourceMappingURL=shadows.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shadows.d.ts","sourceRoot":"","sources":["../../../src/design-system/tokens/shadows.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,6CAA6C;AAC7C,eAAO,MAAM,OAAO;IAClB,gBAAgB;;IAGhB,4DAA4D;;IAG5D,gDAAgD;;IAGhD,mCAAmC;;IAGnC,wCAAwC;;IAGxC,kCAAkC;;IAGlC,2CAA2C;;IAG3C,uCAAuC;;IAGvC,kDAAkD;;CAE1C,CAAA;AAEV,6CAA6C;AAC7C,eAAO,MAAM,UAAU;IACrB,yCAAyC;;IAGzC,4CAA4C;;IAG5C,uBAAuB;;IAGvB,yBAAyB;;IAGzB,6BAA6B;;CAErB,CAAA;AAEV,0CAA0C;AAC1C,eAAO,MAAM,KAAK;IAChB,0BAA0B;;IAG1B,yBAAyB;;IAGzB,mBAAmB;;IAGnB,iDAAiD;;CAEzC,CAAA;AAEV,MAAM,MAAM,MAAM,GAAG,MAAM,OAAO,OAAO,CAAA;AACzC,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,UAAU,CAAA;AAC/C,MAAM,MAAM,IAAI,GAAG,MAAM,OAAO,KAAK,CAAA"}
@@ -0,0 +1,104 @@
1
+ /**
2
+ * Brycks Design System - Spacing Tokens
3
+ *
4
+ * A consistent spacing scale based on 4px grid system.
5
+ * Provides harmonious visual rhythm across all components.
6
+ */
7
+ /** Spacing scale - values in pixels */
8
+ export declare const spacing: {
9
+ /** 0px */
10
+ readonly 0: 0;
11
+ /** 1px - hairline */
12
+ readonly px: 1;
13
+ /** 2px - micro */
14
+ readonly 0.5: number;
15
+ /** 4px - tiny */
16
+ readonly 1: 4;
17
+ /** 6px */
18
+ readonly 1.5: number;
19
+ /** 8px - extra small */
20
+ readonly 2: number;
21
+ /** 10px */
22
+ readonly 2.5: number;
23
+ /** 12px - small */
24
+ readonly 3: number;
25
+ /** 14px */
26
+ readonly 3.5: number;
27
+ /** 16px - medium (base) */
28
+ readonly 4: number;
29
+ /** 20px */
30
+ readonly 5: number;
31
+ /** 24px - large */
32
+ readonly 6: number;
33
+ /** 28px */
34
+ readonly 7: number;
35
+ /** 32px - extra large */
36
+ readonly 8: number;
37
+ /** 36px */
38
+ readonly 9: number;
39
+ /** 40px */
40
+ readonly 10: number;
41
+ /** 44px */
42
+ readonly 11: number;
43
+ /** 48px - 2x large */
44
+ readonly 12: number;
45
+ /** 56px */
46
+ readonly 14: number;
47
+ /** 64px - 3x large */
48
+ readonly 16: number;
49
+ /** 80px */
50
+ readonly 20: number;
51
+ /** 96px - 4x large */
52
+ readonly 24: number;
53
+ /** 112px */
54
+ readonly 28: number;
55
+ /** 128px */
56
+ readonly 32: number;
57
+ /** 160px */
58
+ readonly 40: number;
59
+ /** 192px */
60
+ readonly 48: number;
61
+ /** 224px */
62
+ readonly 56: number;
63
+ /** 256px */
64
+ readonly 64: number;
65
+ /** 320px */
66
+ readonly 80: number;
67
+ /** 384px */
68
+ readonly 96: number;
69
+ };
70
+ /** Semantic spacing aliases */
71
+ export declare const semanticSpacing: {
72
+ /** Component internal padding - tight */
73
+ readonly componentPaddingXs: number;
74
+ /** Component internal padding - default */
75
+ readonly componentPaddingSm: number;
76
+ /** Component internal padding - comfortable */
77
+ readonly componentPaddingMd: number;
78
+ /** Component internal padding - spacious */
79
+ readonly componentPaddingLg: number;
80
+ /** Gap between inline elements */
81
+ readonly inlineGapXs: 4;
82
+ readonly inlineGapSm: number;
83
+ readonly inlineGapMd: number;
84
+ readonly inlineGapLg: number;
85
+ /** Gap between stacked elements */
86
+ readonly stackGapXs: number;
87
+ readonly stackGapSm: number;
88
+ readonly stackGapMd: number;
89
+ readonly stackGapLg: number;
90
+ readonly stackGapXl: number;
91
+ /** Page/section margins */
92
+ readonly sectionGapSm: number;
93
+ readonly sectionGapMd: number;
94
+ readonly sectionGapLg: number;
95
+ readonly sectionGapXl: number;
96
+ /** Container padding */
97
+ readonly containerPaddingSm: number;
98
+ readonly containerPaddingMd: number;
99
+ readonly containerPaddingLg: number;
100
+ };
101
+ export type Spacing = typeof spacing;
102
+ export type SpacingKey = keyof Spacing;
103
+ export type SemanticSpacing = typeof semanticSpacing;
104
+ //# sourceMappingURL=spacing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spacing.d.ts","sourceRoot":"","sources":["../../../src/design-system/tokens/spacing.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,uCAAuC;AACvC,eAAO,MAAM,OAAO;IAClB,UAAU;;IAEV,qBAAqB;;IAErB,kBAAkB;;IAElB,iBAAiB;;IAEjB,UAAU;;IAEV,wBAAwB;;IAExB,WAAW;;IAEX,mBAAmB;;IAEnB,WAAW;;IAEX,2BAA2B;;IAE3B,WAAW;;IAEX,mBAAmB;;IAEnB,WAAW;;IAEX,yBAAyB;;IAEzB,WAAW;;IAEX,WAAW;;IAEX,WAAW;;IAEX,sBAAsB;;IAEtB,WAAW;;IAEX,sBAAsB;;IAEtB,WAAW;;IAEX,sBAAsB;;IAEtB,YAAY;;IAEZ,YAAY;;IAEZ,YAAY;;IAEZ,YAAY;;IAEZ,YAAY;;IAEZ,YAAY;;IAEZ,YAAY;;IAEZ,YAAY;;CAEJ,CAAA;AAEV,+BAA+B;AAC/B,eAAO,MAAM,eAAe;IAC1B,yCAAyC;;IAEzC,2CAA2C;;IAE3C,+CAA+C;;IAE/C,4CAA4C;;IAG5C,kCAAkC;;;;;IAMlC,mCAAmC;;;;;;IAOnC,2BAA2B;;;;;IAM3B,wBAAwB;;;;CAIhB,CAAA;AAEV,MAAM,MAAM,OAAO,GAAG,OAAO,OAAO,CAAA;AACpC,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,CAAA;AACtC,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAA"}
@@ -0,0 +1,214 @@
1
+ /**
2
+ * Brycks Design System - Typography Tokens
3
+ *
4
+ * A refined typographic scale inspired by Apple's SF Pro.
5
+ * Uses Inter as the primary font (open source alternative to SF Pro).
6
+ */
7
+ /** Font family stacks */
8
+ export declare const fontFamilies: {
9
+ /** Primary font - clean, modern sans-serif */
10
+ readonly sans: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif";
11
+ /** Monospace for code */
12
+ readonly mono: "'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace";
13
+ /** Display font for large headings (optional) */
14
+ readonly display: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif";
15
+ };
16
+ /** Font weights */
17
+ export declare const fontWeights: {
18
+ /** 400 - Regular body text */
19
+ readonly regular: 400;
20
+ /** 500 - Medium emphasis */
21
+ readonly medium: 500;
22
+ /** 600 - Semi-bold for subheadings */
23
+ readonly semibold: 600;
24
+ /** 700 - Bold for headings */
25
+ readonly bold: 700;
26
+ };
27
+ /** Font sizes in pixels */
28
+ export declare const fontSizes: {
29
+ /** 11px - Micro text, labels */
30
+ readonly xs: 11;
31
+ /** 12px - Small text, captions */
32
+ readonly sm: 12;
33
+ /** 14px - Body small, secondary text */
34
+ readonly base: 14;
35
+ /** 16px - Body default */
36
+ readonly md: 16;
37
+ /** 18px - Body large, lead text */
38
+ readonly lg: 18;
39
+ /** 20px - Heading 6 */
40
+ readonly xl: 20;
41
+ /** 24px - Heading 5 */
42
+ readonly '2xl': 24;
43
+ /** 28px - Heading 4 */
44
+ readonly '3xl': 28;
45
+ /** 32px - Heading 3 */
46
+ readonly '4xl': 32;
47
+ /** 40px - Heading 2 */
48
+ readonly '5xl': 40;
49
+ /** 48px - Heading 1 */
50
+ readonly '6xl': 48;
51
+ /** 60px - Display small */
52
+ readonly '7xl': 60;
53
+ /** 72px - Display medium */
54
+ readonly '8xl': 72;
55
+ /** 96px - Display large */
56
+ readonly '9xl': 96;
57
+ };
58
+ /** Line heights */
59
+ export declare const lineHeights: {
60
+ /** Tight - for large headings */
61
+ readonly none: 1;
62
+ readonly tight: 1.15;
63
+ /** Snug - for medium headings */
64
+ readonly snug: 1.25;
65
+ /** Normal - for body text */
66
+ readonly normal: 1.5;
67
+ /** Relaxed - for small text, better readability */
68
+ readonly relaxed: 1.625;
69
+ /** Loose - for captions, labels */
70
+ readonly loose: 1.75;
71
+ };
72
+ /** Letter spacing (tracking) */
73
+ export declare const letterSpacings: {
74
+ /** Tighter - for large display text */
75
+ readonly tighter: "-0.05em";
76
+ /** Tight - for headings */
77
+ readonly tight: "-0.025em";
78
+ /** Normal - default */
79
+ readonly normal: "0em";
80
+ /** Wide - for small caps, labels */
81
+ readonly wide: "0.025em";
82
+ /** Wider - for all caps text */
83
+ readonly wider: "0.05em";
84
+ /** Widest - for very small text */
85
+ readonly widest: "0.1em";
86
+ };
87
+ /** Pre-composed text styles */
88
+ export declare const textStyles: {
89
+ /** Display styles - for hero sections */
90
+ readonly displayLarge: {
91
+ readonly fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif";
92
+ readonly fontSize: 96;
93
+ readonly fontWeight: 700;
94
+ readonly lineHeight: 1;
95
+ readonly letterSpacing: "-0.05em";
96
+ };
97
+ readonly displayMedium: {
98
+ readonly fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif";
99
+ readonly fontSize: 72;
100
+ readonly fontWeight: 700;
101
+ readonly lineHeight: 1;
102
+ readonly letterSpacing: "-0.05em";
103
+ };
104
+ readonly displaySmall: {
105
+ readonly fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif";
106
+ readonly fontSize: 60;
107
+ readonly fontWeight: 700;
108
+ readonly lineHeight: 1.15;
109
+ readonly letterSpacing: "-0.025em";
110
+ };
111
+ /** Heading styles */
112
+ readonly h1: {
113
+ readonly fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif";
114
+ readonly fontSize: 48;
115
+ readonly fontWeight: 700;
116
+ readonly lineHeight: 1.15;
117
+ readonly letterSpacing: "-0.025em";
118
+ };
119
+ readonly h2: {
120
+ readonly fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif";
121
+ readonly fontSize: 40;
122
+ readonly fontWeight: 700;
123
+ readonly lineHeight: 1.15;
124
+ readonly letterSpacing: "-0.025em";
125
+ };
126
+ readonly h3: {
127
+ readonly fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif";
128
+ readonly fontSize: 32;
129
+ readonly fontWeight: 600;
130
+ readonly lineHeight: 1.25;
131
+ readonly letterSpacing: "-0.025em";
132
+ };
133
+ readonly h4: {
134
+ readonly fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif";
135
+ readonly fontSize: 28;
136
+ readonly fontWeight: 600;
137
+ readonly lineHeight: 1.25;
138
+ readonly letterSpacing: "0em";
139
+ };
140
+ readonly h5: {
141
+ readonly fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif";
142
+ readonly fontSize: 24;
143
+ readonly fontWeight: 600;
144
+ readonly lineHeight: 1.25;
145
+ readonly letterSpacing: "0em";
146
+ };
147
+ readonly h6: {
148
+ readonly fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif";
149
+ readonly fontSize: 20;
150
+ readonly fontWeight: 600;
151
+ readonly lineHeight: 1.25;
152
+ readonly letterSpacing: "0em";
153
+ };
154
+ /** Body text styles */
155
+ readonly bodyLarge: {
156
+ readonly fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif";
157
+ readonly fontSize: 18;
158
+ readonly fontWeight: 400;
159
+ readonly lineHeight: 1.5;
160
+ readonly letterSpacing: "0em";
161
+ };
162
+ readonly bodyDefault: {
163
+ readonly fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif";
164
+ readonly fontSize: 16;
165
+ readonly fontWeight: 400;
166
+ readonly lineHeight: 1.5;
167
+ readonly letterSpacing: "0em";
168
+ };
169
+ readonly bodySmall: {
170
+ readonly fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif";
171
+ readonly fontSize: 14;
172
+ readonly fontWeight: 400;
173
+ readonly lineHeight: 1.5;
174
+ readonly letterSpacing: "0em";
175
+ };
176
+ /** Utility text styles */
177
+ readonly label: {
178
+ readonly fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif";
179
+ readonly fontSize: 12;
180
+ readonly fontWeight: 500;
181
+ readonly lineHeight: 1.5;
182
+ readonly letterSpacing: "0.025em";
183
+ };
184
+ readonly caption: {
185
+ readonly fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif";
186
+ readonly fontSize: 11;
187
+ readonly fontWeight: 400;
188
+ readonly lineHeight: 1.625;
189
+ readonly letterSpacing: "0.025em";
190
+ };
191
+ readonly overline: {
192
+ readonly fontFamily: "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif";
193
+ readonly fontSize: 11;
194
+ readonly fontWeight: 600;
195
+ readonly lineHeight: 1.5;
196
+ readonly letterSpacing: "0.1em";
197
+ readonly textTransform: "uppercase";
198
+ };
199
+ /** Code styles */
200
+ readonly code: {
201
+ readonly fontFamily: "'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace";
202
+ readonly fontSize: 12;
203
+ readonly fontWeight: 400;
204
+ readonly lineHeight: 1.625;
205
+ readonly letterSpacing: "0em";
206
+ };
207
+ };
208
+ export type FontFamily = keyof typeof fontFamilies;
209
+ export type FontWeight = keyof typeof fontWeights;
210
+ export type FontSize = keyof typeof fontSizes;
211
+ export type LineHeight = keyof typeof lineHeights;
212
+ export type LetterSpacing = keyof typeof letterSpacings;
213
+ export type TextStyle = keyof typeof textStyles;
214
+ //# sourceMappingURL=typography.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/design-system/tokens/typography.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,yBAAyB;AACzB,eAAO,MAAM,YAAY;IACvB,8CAA8C;;IAE9C,yBAAyB;;IAEzB,iDAAiD;;CAEzC,CAAA;AAEV,mBAAmB;AACnB,eAAO,MAAM,WAAW;IACtB,8BAA8B;;IAE9B,4BAA4B;;IAE5B,sCAAsC;;IAEtC,8BAA8B;;CAEtB,CAAA;AAEV,2BAA2B;AAC3B,eAAO,MAAM,SAAS;IACpB,gCAAgC;;IAEhC,kCAAkC;;IAElC,wCAAwC;;IAExC,0BAA0B;;IAE1B,mCAAmC;;IAEnC,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,2BAA2B;;IAE3B,4BAA4B;;IAE5B,2BAA2B;;CAEnB,CAAA;AAEV,mBAAmB;AACnB,eAAO,MAAM,WAAW;IACtB,iCAAiC;;;IAGjC,iCAAiC;;IAEjC,6BAA6B;;IAE7B,mDAAmD;;IAEnD,mCAAmC;;CAE3B,CAAA;AAEV,gCAAgC;AAChC,eAAO,MAAM,cAAc;IACzB,uCAAuC;;IAEvC,2BAA2B;;IAE3B,uBAAuB;;IAEvB,oCAAoC;;IAEpC,gCAAgC;;IAEhC,mCAAmC;;CAE3B,CAAA;AAEV,+BAA+B;AAC/B,eAAO,MAAM,UAAU;IACrB,yCAAyC;;;;;;;;;;;;;;;;;;;;;;IAuBzC,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA4CrB,uBAAuB;;;;;;;;;;;;;;;;;;;;;;IAuBvB,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;IAwB1B,kBAAkB;;;;;;;;CAQV,CAAA;AAEV,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,YAAY,CAAA;AAClD,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,WAAW,CAAA;AACjD,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,SAAS,CAAA;AAC7C,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,WAAW,CAAA;AACjD,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,cAAc,CAAA;AACvD,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,UAAU,CAAA"}
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Brycks Design System - Z-Index Tokens
3
+ *
4
+ * Layering system for consistent stacking context management.
5
+ */
6
+ /** Z-index scale */
7
+ export declare const zIndex: {
8
+ /** Hidden - below everything */
9
+ readonly hide: -1;
10
+ /** Auto - default stacking */
11
+ readonly auto: "auto";
12
+ /** Base - normal content */
13
+ readonly base: 0;
14
+ /** Docked - sticky elements */
15
+ readonly docked: 10;
16
+ /** Dropdown - menus, selects */
17
+ readonly dropdown: 1000;
18
+ /** Sticky - sticky headers */
19
+ readonly sticky: 1100;
20
+ /** Banner - notification banners */
21
+ readonly banner: 1200;
22
+ /** Overlay - backdrop overlays */
23
+ readonly overlay: 1300;
24
+ /** Modal - dialog windows */
25
+ readonly modal: 1400;
26
+ /** Popover - popovers, tooltips */
27
+ readonly popover: 1500;
28
+ /** Skiplink - accessibility skip links */
29
+ readonly skipLink: 1600;
30
+ /** Toast - notification toasts */
31
+ readonly toast: 1700;
32
+ /** Tooltip - tooltips (highest) */
33
+ readonly tooltip: 1800;
34
+ };
35
+ export type ZIndex = keyof typeof zIndex;
36
+ //# sourceMappingURL=zIndex.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zIndex.d.ts","sourceRoot":"","sources":["../../../src/design-system/tokens/zIndex.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,oBAAoB;AACpB,eAAO,MAAM,MAAM;IACjB,gCAAgC;;IAEhC,8BAA8B;;IAE9B,4BAA4B;;IAE5B,+BAA+B;;IAE/B,gCAAgC;;IAEhC,8BAA8B;;IAE9B,oCAAoC;;IAEpC,kCAAkC;;IAElC,6BAA6B;;IAE7B,mCAAmC;;IAEnC,0CAA0C;;IAE1C,kCAAkC;;IAElC,mCAAmC;;CAE3B,CAAA;AAEV,MAAM,MAAM,MAAM,GAAG,MAAM,OAAO,MAAM,CAAA"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Brycks Design System - Hooks
3
+ *
4
+ * Reusable React hooks for common UI patterns.
5
+ */
6
+ export * from './useMediaQuery';
7
+ export * from './useDisclosure';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * useDisclosure Hook
3
+ *
4
+ * Manages open/closed state for modals, popovers, drawers, etc.
5
+ */
6
+ export interface UseDisclosureReturn {
7
+ isOpen: boolean;
8
+ onOpen: () => void;
9
+ onClose: () => void;
10
+ onToggle: () => void;
11
+ setIsOpen: React.Dispatch<React.SetStateAction<boolean>>;
12
+ }
13
+ export interface UseDisclosureOptions {
14
+ defaultIsOpen?: boolean;
15
+ onOpen?: () => void;
16
+ onClose?: () => void;
17
+ }
18
+ export declare function useDisclosure(options?: UseDisclosureOptions): UseDisclosureReturn;
19
+ //# sourceMappingURL=useDisclosure.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDisclosure.d.ts","sourceRoot":"","sources":["../../src/hooks/useDisclosure.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,OAAO,CAAA;IACf,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAA;CACzD;AAED,MAAM,WAAW,oBAAoB;IACnC,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CACrB;AAED,wBAAgB,aAAa,CAAC,OAAO,GAAE,oBAAyB,GAAG,mBAAmB,CA+BrF"}