@qasa/qds-ui 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 (217) hide show
  1. package/README.md +17 -0
  2. package/dist/cjs/index.js +2 -0
  3. package/dist/cjs/index.js.map +1 -0
  4. package/dist/cjs/types/components/_internal/form-parts.d.ts +13 -0
  5. package/dist/cjs/types/components/_internal/index.d.ts +1 -0
  6. package/dist/cjs/types/components/avatar/avatar.d.ts +30 -0
  7. package/dist/cjs/types/components/avatar/index.d.ts +1 -0
  8. package/dist/cjs/types/components/button/button-styles.d.ts +755 -0
  9. package/dist/cjs/types/components/button/button.d.ts +41 -0
  10. package/dist/cjs/types/components/button/index.d.ts +1 -0
  11. package/dist/cjs/types/components/divider/divider.d.ts +14 -0
  12. package/dist/cjs/types/components/divider/index.d.ts +1 -0
  13. package/dist/cjs/types/components/heading/heading.d.ts +403 -0
  14. package/dist/cjs/types/components/heading/index.d.ts +1 -0
  15. package/dist/cjs/types/components/icon/create-icon.d.ts +409 -0
  16. package/dist/cjs/types/components/icon/icons/arrow-down.d.ts +2 -0
  17. package/dist/cjs/types/components/icon/icons/arrow-left.d.ts +2 -0
  18. package/dist/cjs/types/components/icon/icons/arrow-right.d.ts +2 -0
  19. package/dist/cjs/types/components/icon/icons/arrow-up.d.ts +2 -0
  20. package/dist/cjs/types/components/icon/icons/bell-slash.d.ts +2 -0
  21. package/dist/cjs/types/components/icon/icons/bell.d.ts +2 -0
  22. package/dist/cjs/types/components/icon/icons/calendar.d.ts +2 -0
  23. package/dist/cjs/types/components/icon/icons/check.d.ts +2 -0
  24. package/dist/cjs/types/components/icon/icons/chevron-down.d.ts +2 -0
  25. package/dist/cjs/types/components/icon/icons/chevron-left.d.ts +2 -0
  26. package/dist/cjs/types/components/icon/icons/chevron-right.d.ts +2 -0
  27. package/dist/cjs/types/components/icon/icons/chevron-up.d.ts +2 -0
  28. package/dist/cjs/types/components/icon/icons/ellipsis-vertical.d.ts +2 -0
  29. package/dist/cjs/types/components/icon/icons/ellipsis.d.ts +2 -0
  30. package/dist/cjs/types/components/icon/icons/heart-filled.d.ts +2 -0
  31. package/dist/cjs/types/components/icon/icons/heart.d.ts +2 -0
  32. package/dist/cjs/types/components/icon/icons/image.d.ts +2 -0
  33. package/dist/cjs/types/components/icon/icons/index.d.ts +27 -0
  34. package/dist/cjs/types/components/icon/icons/location-dot.d.ts +2 -0
  35. package/dist/cjs/types/components/icon/icons/map.d.ts +2 -0
  36. package/dist/cjs/types/components/icon/icons/plus.d.ts +2 -0
  37. package/dist/cjs/types/components/icon/icons/search.d.ts +2 -0
  38. package/dist/cjs/types/components/icon/icons/settings.d.ts +2 -0
  39. package/dist/cjs/types/components/icon/icons/star-filled.d.ts +2 -0
  40. package/dist/cjs/types/components/icon/icons/star.d.ts +2 -0
  41. package/dist/cjs/types/components/icon/icons/trash.d.ts +2 -0
  42. package/dist/cjs/types/components/icon/icons/user.d.ts +2 -0
  43. package/dist/cjs/types/components/icon/icons/xmark.d.ts +2 -0
  44. package/dist/cjs/types/components/icon/index.d.ts +2 -0
  45. package/dist/cjs/types/components/icon-button/icon-button-styles.d.ts +735 -0
  46. package/dist/cjs/types/components/icon-button/icon-button.d.ts +31 -0
  47. package/dist/cjs/types/components/icon-button/index.d.ts +1 -0
  48. package/dist/cjs/types/components/image/image.d.ts +16 -0
  49. package/dist/cjs/types/components/image/index.d.ts +1 -0
  50. package/dist/cjs/types/components/index.d.ts +17 -0
  51. package/dist/cjs/types/components/label/index.d.ts +1 -0
  52. package/dist/cjs/types/components/label/label.d.ts +358 -0
  53. package/dist/cjs/types/components/link/index.d.ts +1 -0
  54. package/dist/cjs/types/components/link/link.d.ts +15 -0
  55. package/dist/cjs/types/components/loading-dots/index.d.ts +1 -0
  56. package/dist/cjs/types/components/loading-dots/loading-dots.d.ts +348 -0
  57. package/dist/cjs/types/components/paragraph/index.d.ts +1 -0
  58. package/dist/cjs/types/components/paragraph/paragraph.d.ts +402 -0
  59. package/dist/cjs/types/components/primitives/index.d.ts +3 -0
  60. package/dist/cjs/types/components/primitives/input-base/index.d.ts +1 -0
  61. package/dist/cjs/types/components/primitives/input-base/input-base.d.ts +21 -0
  62. package/dist/cjs/types/components/primitives/select-base/index.d.ts +1 -0
  63. package/dist/cjs/types/components/primitives/select-base/select-base.d.ts +30 -0
  64. package/dist/cjs/types/components/primitives/textarea-base/index.d.ts +1 -0
  65. package/dist/cjs/types/components/primitives/textarea-base/textarea-base.d.ts +36 -0
  66. package/dist/cjs/types/components/select/index.d.ts +1 -0
  67. package/dist/cjs/types/components/select/select-option.d.ts +10 -0
  68. package/dist/cjs/types/components/select/select.d.ts +25 -0
  69. package/dist/cjs/types/components/spacer/index.d.ts +1 -0
  70. package/dist/cjs/types/components/spacer/spacer.d.ts +11 -0
  71. package/dist/cjs/types/components/stack/index.d.ts +1 -0
  72. package/dist/cjs/types/components/stack/stack.d.ts +17 -0
  73. package/dist/cjs/types/components/stack/stack.types.d.ts +4 -0
  74. package/dist/cjs/types/components/stack/stack.utils.d.ts +6 -0
  75. package/dist/cjs/types/components/text-field/index.d.ts +1 -0
  76. package/dist/cjs/types/components/text-field/text-field.d.ts +22 -0
  77. package/dist/cjs/types/components/textarea/index.d.ts +1 -0
  78. package/dist/cjs/types/components/textarea/textarea.d.ts +22 -0
  79. package/dist/cjs/types/hooks/index.d.ts +6 -0
  80. package/dist/cjs/types/hooks/use-breakpoint-value.d.ts +16 -0
  81. package/dist/cjs/types/hooks/use-breakpoint.d.ts +17 -0
  82. package/dist/cjs/types/hooks/use-form-field.d.ts +49 -0
  83. package/dist/cjs/types/hooks/use-image.d.ts +10 -0
  84. package/dist/cjs/types/hooks/use-safe-layout-effect.d.ts +9 -0
  85. package/dist/cjs/types/hooks/use-stable-id.d.ts +4 -0
  86. package/dist/cjs/types/index.d.ts +6 -0
  87. package/dist/cjs/types/qds-provider.d.ts +8 -0
  88. package/dist/cjs/types/styles/common-styles.d.ts +369 -0
  89. package/dist/cjs/types/styles/css-reset.d.ts +5 -0
  90. package/dist/cjs/types/styles/css-utils.d.ts +19 -0
  91. package/dist/cjs/types/styles/global-styles.d.ts +5 -0
  92. package/dist/cjs/types/styles/index.d.ts +3 -0
  93. package/dist/cjs/types/theme/foundations/breakpoints.d.ts +8 -0
  94. package/dist/cjs/types/theme/foundations/colors.d.ts +107 -0
  95. package/dist/cjs/types/theme/foundations/index.d.ts +335 -0
  96. package/dist/cjs/types/theme/foundations/radius.d.ts +9 -0
  97. package/dist/cjs/types/theme/foundations/shadows.d.ts +7 -0
  98. package/dist/cjs/types/theme/foundations/sizes.d.ts +32 -0
  99. package/dist/cjs/types/theme/foundations/spacing.d.ts +14 -0
  100. package/dist/cjs/types/theme/foundations/typography.d.ts +131 -0
  101. package/dist/cjs/types/theme/foundations/z-index.d.ts +15 -0
  102. package/dist/cjs/types/theme/index.d.ts +2 -0
  103. package/dist/cjs/types/theme/theme-tools.d.ts +345 -0
  104. package/dist/cjs/types/theme/theme.d.ts +331 -0
  105. package/dist/cjs/types/types.d.ts +5 -0
  106. package/dist/cjs/types/utils/object.d.ts +1 -0
  107. package/dist/cjs/types/utils/polymorphic.d.ts +41 -0
  108. package/dist/cjs/types/utils/test-utils.d.ts +14 -0
  109. package/dist/esm/index.js +2 -0
  110. package/dist/esm/index.js.map +1 -0
  111. package/dist/esm/types/components/_internal/form-parts.d.ts +13 -0
  112. package/dist/esm/types/components/_internal/index.d.ts +1 -0
  113. package/dist/esm/types/components/avatar/avatar.d.ts +30 -0
  114. package/dist/esm/types/components/avatar/index.d.ts +1 -0
  115. package/dist/esm/types/components/button/button-styles.d.ts +755 -0
  116. package/dist/esm/types/components/button/button.d.ts +41 -0
  117. package/dist/esm/types/components/button/index.d.ts +1 -0
  118. package/dist/esm/types/components/divider/divider.d.ts +14 -0
  119. package/dist/esm/types/components/divider/index.d.ts +1 -0
  120. package/dist/esm/types/components/heading/heading.d.ts +403 -0
  121. package/dist/esm/types/components/heading/index.d.ts +1 -0
  122. package/dist/esm/types/components/icon/create-icon.d.ts +409 -0
  123. package/dist/esm/types/components/icon/icons/arrow-down.d.ts +2 -0
  124. package/dist/esm/types/components/icon/icons/arrow-left.d.ts +2 -0
  125. package/dist/esm/types/components/icon/icons/arrow-right.d.ts +2 -0
  126. package/dist/esm/types/components/icon/icons/arrow-up.d.ts +2 -0
  127. package/dist/esm/types/components/icon/icons/bell-slash.d.ts +2 -0
  128. package/dist/esm/types/components/icon/icons/bell.d.ts +2 -0
  129. package/dist/esm/types/components/icon/icons/calendar.d.ts +2 -0
  130. package/dist/esm/types/components/icon/icons/check.d.ts +2 -0
  131. package/dist/esm/types/components/icon/icons/chevron-down.d.ts +2 -0
  132. package/dist/esm/types/components/icon/icons/chevron-left.d.ts +2 -0
  133. package/dist/esm/types/components/icon/icons/chevron-right.d.ts +2 -0
  134. package/dist/esm/types/components/icon/icons/chevron-up.d.ts +2 -0
  135. package/dist/esm/types/components/icon/icons/ellipsis-vertical.d.ts +2 -0
  136. package/dist/esm/types/components/icon/icons/ellipsis.d.ts +2 -0
  137. package/dist/esm/types/components/icon/icons/heart-filled.d.ts +2 -0
  138. package/dist/esm/types/components/icon/icons/heart.d.ts +2 -0
  139. package/dist/esm/types/components/icon/icons/image.d.ts +2 -0
  140. package/dist/esm/types/components/icon/icons/index.d.ts +27 -0
  141. package/dist/esm/types/components/icon/icons/location-dot.d.ts +2 -0
  142. package/dist/esm/types/components/icon/icons/map.d.ts +2 -0
  143. package/dist/esm/types/components/icon/icons/plus.d.ts +2 -0
  144. package/dist/esm/types/components/icon/icons/search.d.ts +2 -0
  145. package/dist/esm/types/components/icon/icons/settings.d.ts +2 -0
  146. package/dist/esm/types/components/icon/icons/star-filled.d.ts +2 -0
  147. package/dist/esm/types/components/icon/icons/star.d.ts +2 -0
  148. package/dist/esm/types/components/icon/icons/trash.d.ts +2 -0
  149. package/dist/esm/types/components/icon/icons/user.d.ts +2 -0
  150. package/dist/esm/types/components/icon/icons/xmark.d.ts +2 -0
  151. package/dist/esm/types/components/icon/index.d.ts +2 -0
  152. package/dist/esm/types/components/icon-button/icon-button-styles.d.ts +735 -0
  153. package/dist/esm/types/components/icon-button/icon-button.d.ts +31 -0
  154. package/dist/esm/types/components/icon-button/index.d.ts +1 -0
  155. package/dist/esm/types/components/image/image.d.ts +16 -0
  156. package/dist/esm/types/components/image/index.d.ts +1 -0
  157. package/dist/esm/types/components/index.d.ts +17 -0
  158. package/dist/esm/types/components/label/index.d.ts +1 -0
  159. package/dist/esm/types/components/label/label.d.ts +358 -0
  160. package/dist/esm/types/components/link/index.d.ts +1 -0
  161. package/dist/esm/types/components/link/link.d.ts +15 -0
  162. package/dist/esm/types/components/loading-dots/index.d.ts +1 -0
  163. package/dist/esm/types/components/loading-dots/loading-dots.d.ts +348 -0
  164. package/dist/esm/types/components/paragraph/index.d.ts +1 -0
  165. package/dist/esm/types/components/paragraph/paragraph.d.ts +402 -0
  166. package/dist/esm/types/components/primitives/index.d.ts +3 -0
  167. package/dist/esm/types/components/primitives/input-base/index.d.ts +1 -0
  168. package/dist/esm/types/components/primitives/input-base/input-base.d.ts +21 -0
  169. package/dist/esm/types/components/primitives/select-base/index.d.ts +1 -0
  170. package/dist/esm/types/components/primitives/select-base/select-base.d.ts +30 -0
  171. package/dist/esm/types/components/primitives/textarea-base/index.d.ts +1 -0
  172. package/dist/esm/types/components/primitives/textarea-base/textarea-base.d.ts +36 -0
  173. package/dist/esm/types/components/select/index.d.ts +1 -0
  174. package/dist/esm/types/components/select/select-option.d.ts +10 -0
  175. package/dist/esm/types/components/select/select.d.ts +25 -0
  176. package/dist/esm/types/components/spacer/index.d.ts +1 -0
  177. package/dist/esm/types/components/spacer/spacer.d.ts +11 -0
  178. package/dist/esm/types/components/stack/index.d.ts +1 -0
  179. package/dist/esm/types/components/stack/stack.d.ts +17 -0
  180. package/dist/esm/types/components/stack/stack.types.d.ts +4 -0
  181. package/dist/esm/types/components/stack/stack.utils.d.ts +6 -0
  182. package/dist/esm/types/components/text-field/index.d.ts +1 -0
  183. package/dist/esm/types/components/text-field/text-field.d.ts +22 -0
  184. package/dist/esm/types/components/textarea/index.d.ts +1 -0
  185. package/dist/esm/types/components/textarea/textarea.d.ts +22 -0
  186. package/dist/esm/types/hooks/index.d.ts +6 -0
  187. package/dist/esm/types/hooks/use-breakpoint-value.d.ts +16 -0
  188. package/dist/esm/types/hooks/use-breakpoint.d.ts +17 -0
  189. package/dist/esm/types/hooks/use-form-field.d.ts +49 -0
  190. package/dist/esm/types/hooks/use-image.d.ts +10 -0
  191. package/dist/esm/types/hooks/use-safe-layout-effect.d.ts +9 -0
  192. package/dist/esm/types/hooks/use-stable-id.d.ts +4 -0
  193. package/dist/esm/types/index.d.ts +6 -0
  194. package/dist/esm/types/qds-provider.d.ts +8 -0
  195. package/dist/esm/types/styles/common-styles.d.ts +369 -0
  196. package/dist/esm/types/styles/css-reset.d.ts +5 -0
  197. package/dist/esm/types/styles/css-utils.d.ts +19 -0
  198. package/dist/esm/types/styles/global-styles.d.ts +5 -0
  199. package/dist/esm/types/styles/index.d.ts +3 -0
  200. package/dist/esm/types/theme/foundations/breakpoints.d.ts +8 -0
  201. package/dist/esm/types/theme/foundations/colors.d.ts +107 -0
  202. package/dist/esm/types/theme/foundations/index.d.ts +335 -0
  203. package/dist/esm/types/theme/foundations/radius.d.ts +9 -0
  204. package/dist/esm/types/theme/foundations/shadows.d.ts +7 -0
  205. package/dist/esm/types/theme/foundations/sizes.d.ts +32 -0
  206. package/dist/esm/types/theme/foundations/spacing.d.ts +14 -0
  207. package/dist/esm/types/theme/foundations/typography.d.ts +131 -0
  208. package/dist/esm/types/theme/foundations/z-index.d.ts +15 -0
  209. package/dist/esm/types/theme/index.d.ts +2 -0
  210. package/dist/esm/types/theme/theme-tools.d.ts +345 -0
  211. package/dist/esm/types/theme/theme.d.ts +331 -0
  212. package/dist/esm/types/types.d.ts +5 -0
  213. package/dist/esm/types/utils/object.d.ts +1 -0
  214. package/dist/esm/types/utils/polymorphic.d.ts +41 -0
  215. package/dist/esm/types/utils/test-utils.d.ts +14 -0
  216. package/dist/index.d.ts +4978 -0
  217. package/package.json +103 -0
@@ -0,0 +1,345 @@
1
+ import type { PartialRecord } from '../types';
2
+ import type { Theme } from './theme';
3
+ declare type DeepPartial<T> = {
4
+ [P in keyof T]?: DeepPartial<T[P]>;
5
+ };
6
+ interface TypographyOverride {
7
+ fontFamily?: string;
8
+ fontWeight?: '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
9
+ }
10
+ declare type TypographyOverrides = PartialRecord<keyof Theme['typography'], TypographyOverride>;
11
+ export interface ThemeOverrides {
12
+ colors?: DeepPartial<Theme['colors']>;
13
+ typography?: TypographyOverrides;
14
+ }
15
+ export declare const overrideTheme: (overrides: ThemeOverrides) => {
16
+ typography: {
17
+ display: {
18
+ lg: {
19
+ fontFamily: string;
20
+ fontWeight: string;
21
+ fontSize: string;
22
+ lineHeight: string;
23
+ letterSpacing: string;
24
+ };
25
+ md: {
26
+ fontFamily: string;
27
+ fontWeight: string;
28
+ fontSize: string;
29
+ lineHeight: string;
30
+ letterSpacing: string;
31
+ };
32
+ };
33
+ title: {
34
+ lg: {
35
+ fontFamily: string;
36
+ fontWeight: string;
37
+ fontSize: string;
38
+ lineHeight: string;
39
+ letterSpacing: string;
40
+ };
41
+ md: {
42
+ fontFamily: string;
43
+ fontWeight: string;
44
+ fontSize: string;
45
+ lineHeight: string;
46
+ letterSpacing: string;
47
+ };
48
+ sm: {
49
+ fontFamily: string;
50
+ fontWeight: string;
51
+ fontSize: string;
52
+ lineHeight: string;
53
+ letterSpacing: string;
54
+ };
55
+ xs: {
56
+ fontFamily: string;
57
+ fontWeight: string;
58
+ fontSize: string;
59
+ lineHeight: string;
60
+ letterSpacing: string;
61
+ };
62
+ '2xs': {
63
+ fontFamily: string;
64
+ fontWeight: string;
65
+ fontSize: string;
66
+ lineHeight: string;
67
+ letterSpacing: string;
68
+ };
69
+ '3xs': {
70
+ fontFamily: string;
71
+ fontWeight: string;
72
+ fontSize: string;
73
+ lineHeight: string;
74
+ letterSpacing: string;
75
+ };
76
+ };
77
+ body: {
78
+ xl: {
79
+ fontFamily: string;
80
+ fontWeight: string;
81
+ fontSize: string;
82
+ lineHeight: string;
83
+ letterSpacing: string;
84
+ };
85
+ lg: {
86
+ fontFamily: string;
87
+ fontWeight: string;
88
+ fontSize: string;
89
+ lineHeight: string;
90
+ letterSpacing: string;
91
+ };
92
+ md: {
93
+ fontFamily: string;
94
+ fontWeight: string;
95
+ fontSize: string;
96
+ lineHeight: string;
97
+ letterSpacing: string;
98
+ };
99
+ sm: {
100
+ fontFamily: string;
101
+ fontWeight: string;
102
+ fontSize: string;
103
+ lineHeight: string;
104
+ letterSpacing: string;
105
+ };
106
+ xs: {
107
+ fontFamily: string;
108
+ fontWeight: string;
109
+ fontSize: string;
110
+ lineHeight: string;
111
+ letterSpacing: string;
112
+ };
113
+ };
114
+ label: {
115
+ md: {
116
+ fontFamily: string;
117
+ fontWeight: string;
118
+ fontSize: string;
119
+ lineHeight: string;
120
+ letterSpacing: string;
121
+ };
122
+ sm: {
123
+ fontFamily: string;
124
+ fontWeight: string;
125
+ fontSize: string;
126
+ lineHeight: string;
127
+ letterSpacing: string;
128
+ };
129
+ };
130
+ caption: {
131
+ md: {
132
+ fontFamily: string;
133
+ fontWeight: string;
134
+ fontSize: string;
135
+ lineHeight: string;
136
+ letterSpacing: string;
137
+ };
138
+ sm: {
139
+ fontFamily: string;
140
+ fontWeight: string;
141
+ fontSize: string;
142
+ lineHeight: string;
143
+ letterSpacing: string;
144
+ };
145
+ };
146
+ };
147
+ colors: {
148
+ core: {
149
+ black: string;
150
+ white: string;
151
+ gray90: string;
152
+ gray80: string;
153
+ gray70: string;
154
+ gray60: string;
155
+ gray50: string;
156
+ gray40: string;
157
+ gray30: string;
158
+ gray20: string;
159
+ gray10: string;
160
+ brand90: string;
161
+ brand80: string;
162
+ brand70: string;
163
+ brand60: string;
164
+ brand50: string;
165
+ brand40: string;
166
+ brand30: string;
167
+ brand20: string;
168
+ brand10: string;
169
+ red10: string;
170
+ red20: string;
171
+ red30: string;
172
+ red40: string;
173
+ red50: string;
174
+ red60: string;
175
+ red70: string;
176
+ red80: string;
177
+ red90: string;
178
+ green90: string;
179
+ green80: string;
180
+ green70: string;
181
+ green60: string;
182
+ green50: string;
183
+ green40: string;
184
+ green30: string;
185
+ green20: string;
186
+ green10: string;
187
+ blue90: string;
188
+ blue80: string;
189
+ blue70: string;
190
+ blue60: string;
191
+ blue50: string;
192
+ blue40: string;
193
+ blue30: string;
194
+ blue20: string;
195
+ blue10: string;
196
+ yellow90: string;
197
+ yellow80: string;
198
+ yellow70: string;
199
+ yellow60: string;
200
+ yellow50: string;
201
+ yellow40: string;
202
+ yellow30: string;
203
+ yellow20: string;
204
+ yellow10: string;
205
+ blackAlpha20: string;
206
+ };
207
+ bg: {
208
+ default: string;
209
+ brandPrimary: string;
210
+ brandPrimaryHover: string;
211
+ brandPrimaryActive: string;
212
+ brandSecondary: string;
213
+ brandSecondaryHover: string;
214
+ brandSecondaryActive: string;
215
+ negative: string;
216
+ warning: string;
217
+ positive: string;
218
+ inset: string;
219
+ backdrop: string;
220
+ };
221
+ text: {
222
+ strong: string;
223
+ default: string;
224
+ subtle: string;
225
+ disabled: string;
226
+ negative: string;
227
+ warning: string;
228
+ positive: string;
229
+ onColor: string;
230
+ };
231
+ icon: {
232
+ default: string;
233
+ strong: string;
234
+ subtle: string;
235
+ disabled: string;
236
+ negative: string;
237
+ warning: string;
238
+ success: string;
239
+ onColor: string;
240
+ };
241
+ border: {
242
+ default: string;
243
+ defaultHover: string;
244
+ defaultSelected: string;
245
+ strong: string;
246
+ subtle: string;
247
+ negative: string;
248
+ warning: string;
249
+ success: string;
250
+ };
251
+ };
252
+ mediaQueries: {
253
+ readonly smUp: "@media(min-width: 480px)";
254
+ readonly mdUp: "@media(min-width: 768px)";
255
+ readonly lgUp: "@media(min-width: 1024px)";
256
+ readonly xlUp: "@media(min-width: 1280px)";
257
+ readonly '2xlUp': "@media(min-width: 1536px)";
258
+ };
259
+ spacing: {
260
+ '0x': string;
261
+ '1x': string;
262
+ '2x': string;
263
+ '3x': string;
264
+ '4x': string;
265
+ '5x': string;
266
+ '6x': string;
267
+ '8x': string;
268
+ '12x': string;
269
+ '16x': string;
270
+ '20x': string;
271
+ '24x': string;
272
+ };
273
+ breakpoints: {
274
+ readonly base: 0;
275
+ readonly sm: 480;
276
+ readonly md: 768;
277
+ readonly lg: 1024;
278
+ readonly xl: 1280;
279
+ readonly '2xl': 1536;
280
+ };
281
+ zIndices: {
282
+ hide: number;
283
+ auto: string;
284
+ base: number;
285
+ docked: number;
286
+ dropdown: number;
287
+ sticky: number;
288
+ banner: number;
289
+ overlay: number;
290
+ modal: number;
291
+ popover: number;
292
+ skipLink: number;
293
+ toast: number;
294
+ tooltip: number;
295
+ };
296
+ sizes: {
297
+ 112: string;
298
+ 128: string;
299
+ 144: string;
300
+ 160: string;
301
+ 176: string;
302
+ 192: string;
303
+ 224: string;
304
+ 256: string;
305
+ 288: string;
306
+ 320: string;
307
+ 384: string;
308
+ 448: string;
309
+ 512: string;
310
+ 576: string;
311
+ 672: string;
312
+ 768: string;
313
+ 896: string;
314
+ 1024: string;
315
+ '0x': string;
316
+ '1x': string;
317
+ '2x': string;
318
+ '3x': string;
319
+ '4x': string;
320
+ '5x': string;
321
+ '6x': string;
322
+ '8x': string;
323
+ '12x': string;
324
+ '16x': string;
325
+ '20x': string;
326
+ '24x': string;
327
+ };
328
+ radii: {
329
+ none: string;
330
+ xs: string;
331
+ sm: string;
332
+ md: string;
333
+ lg: string;
334
+ xl: string;
335
+ full: string;
336
+ };
337
+ shadows: {
338
+ none: string;
339
+ sm: string;
340
+ md: string;
341
+ lg: string;
342
+ xl: string;
343
+ };
344
+ };
345
+ export {};
@@ -0,0 +1,331 @@
1
+ export declare const theme: {
2
+ mediaQueries: {
3
+ readonly smUp: "@media(min-width: 480px)";
4
+ readonly mdUp: "@media(min-width: 768px)";
5
+ readonly lgUp: "@media(min-width: 1024px)";
6
+ readonly xlUp: "@media(min-width: 1280px)";
7
+ readonly '2xlUp': "@media(min-width: 1536px)";
8
+ };
9
+ spacing: {
10
+ '0x': string;
11
+ '1x': string;
12
+ '2x': string;
13
+ '3x': string;
14
+ '4x': string;
15
+ '5x': string;
16
+ '6x': string;
17
+ '8x': string;
18
+ '12x': string;
19
+ '16x': string;
20
+ '20x': string;
21
+ '24x': string;
22
+ };
23
+ breakpoints: {
24
+ readonly base: 0;
25
+ readonly sm: 480;
26
+ readonly md: 768;
27
+ readonly lg: 1024;
28
+ readonly xl: 1280;
29
+ readonly '2xl': 1536;
30
+ };
31
+ zIndices: {
32
+ hide: number;
33
+ auto: string;
34
+ base: number;
35
+ docked: number;
36
+ dropdown: number;
37
+ sticky: number;
38
+ banner: number;
39
+ overlay: number;
40
+ modal: number;
41
+ popover: number;
42
+ skipLink: number;
43
+ toast: number;
44
+ tooltip: number;
45
+ };
46
+ colors: {
47
+ core: {
48
+ black: string;
49
+ white: string;
50
+ gray90: string;
51
+ gray80: string;
52
+ gray70: string;
53
+ gray60: string;
54
+ gray50: string;
55
+ gray40: string;
56
+ gray30: string;
57
+ gray20: string;
58
+ gray10: string;
59
+ brand90: string;
60
+ brand80: string;
61
+ brand70: string;
62
+ brand60: string;
63
+ brand50: string;
64
+ brand40: string;
65
+ brand30: string;
66
+ brand20: string;
67
+ brand10: string;
68
+ red10: string;
69
+ red20: string;
70
+ red30: string;
71
+ red40: string;
72
+ red50: string;
73
+ red60: string;
74
+ red70: string;
75
+ red80: string;
76
+ red90: string;
77
+ green90: string;
78
+ green80: string;
79
+ green70: string;
80
+ green60: string;
81
+ green50: string;
82
+ green40: string;
83
+ green30: string;
84
+ green20: string;
85
+ green10: string;
86
+ blue90: string;
87
+ blue80: string;
88
+ blue70: string;
89
+ blue60: string;
90
+ blue50: string;
91
+ blue40: string;
92
+ blue30: string;
93
+ blue20: string;
94
+ blue10: string;
95
+ yellow90: string;
96
+ yellow80: string;
97
+ yellow70: string;
98
+ yellow60: string;
99
+ yellow50: string;
100
+ yellow40: string;
101
+ yellow30: string;
102
+ yellow20: string;
103
+ yellow10: string;
104
+ blackAlpha20: string;
105
+ };
106
+ bg: {
107
+ default: string;
108
+ brandPrimary: string;
109
+ brandPrimaryHover: string;
110
+ brandPrimaryActive: string;
111
+ brandSecondary: string;
112
+ brandSecondaryHover: string;
113
+ brandSecondaryActive: string;
114
+ negative: string;
115
+ warning: string;
116
+ positive: string;
117
+ inset: string;
118
+ backdrop: string;
119
+ };
120
+ text: {
121
+ strong: string;
122
+ default: string;
123
+ subtle: string;
124
+ disabled: string;
125
+ negative: string;
126
+ warning: string;
127
+ positive: string;
128
+ onColor: string;
129
+ };
130
+ icon: {
131
+ default: string;
132
+ strong: string;
133
+ subtle: string;
134
+ disabled: string;
135
+ negative: string;
136
+ warning: string;
137
+ success: string;
138
+ onColor: string;
139
+ };
140
+ border: {
141
+ default: string;
142
+ defaultHover: string;
143
+ defaultSelected: string;
144
+ strong: string;
145
+ subtle: string;
146
+ negative: string;
147
+ warning: string;
148
+ success: string;
149
+ };
150
+ };
151
+ sizes: {
152
+ 112: string;
153
+ 128: string;
154
+ 144: string;
155
+ 160: string;
156
+ 176: string;
157
+ 192: string;
158
+ 224: string;
159
+ 256: string;
160
+ 288: string;
161
+ 320: string;
162
+ 384: string;
163
+ 448: string;
164
+ 512: string;
165
+ 576: string;
166
+ 672: string;
167
+ 768: string;
168
+ 896: string;
169
+ 1024: string;
170
+ '0x': string;
171
+ '1x': string;
172
+ '2x': string;
173
+ '3x': string;
174
+ '4x': string;
175
+ '5x': string;
176
+ '6x': string;
177
+ '8x': string;
178
+ '12x': string;
179
+ '16x': string;
180
+ '20x': string;
181
+ '24x': string;
182
+ };
183
+ radii: {
184
+ none: string;
185
+ xs: string;
186
+ sm: string;
187
+ md: string;
188
+ lg: string;
189
+ xl: string;
190
+ full: string;
191
+ };
192
+ shadows: {
193
+ none: string;
194
+ sm: string;
195
+ md: string;
196
+ lg: string;
197
+ xl: string;
198
+ };
199
+ typography: {
200
+ display: {
201
+ lg: {
202
+ fontFamily: string;
203
+ fontWeight: string;
204
+ fontSize: string;
205
+ lineHeight: string;
206
+ letterSpacing: string;
207
+ };
208
+ md: {
209
+ fontFamily: string;
210
+ fontWeight: string;
211
+ fontSize: string;
212
+ lineHeight: string;
213
+ letterSpacing: string;
214
+ };
215
+ };
216
+ title: {
217
+ lg: {
218
+ fontFamily: string;
219
+ fontWeight: string;
220
+ fontSize: string;
221
+ lineHeight: string;
222
+ letterSpacing: string;
223
+ };
224
+ md: {
225
+ fontFamily: string;
226
+ fontWeight: string;
227
+ fontSize: string;
228
+ lineHeight: string;
229
+ letterSpacing: string;
230
+ };
231
+ sm: {
232
+ fontFamily: string;
233
+ fontWeight: string;
234
+ fontSize: string;
235
+ lineHeight: string;
236
+ letterSpacing: string;
237
+ };
238
+ xs: {
239
+ fontFamily: string;
240
+ fontWeight: string;
241
+ fontSize: string;
242
+ lineHeight: string;
243
+ letterSpacing: string;
244
+ };
245
+ '2xs': {
246
+ fontFamily: string;
247
+ fontWeight: string;
248
+ fontSize: string;
249
+ lineHeight: string;
250
+ letterSpacing: string;
251
+ };
252
+ '3xs': {
253
+ fontFamily: string;
254
+ fontWeight: string;
255
+ fontSize: string;
256
+ lineHeight: string;
257
+ letterSpacing: string;
258
+ };
259
+ };
260
+ body: {
261
+ xl: {
262
+ fontFamily: string;
263
+ fontWeight: string;
264
+ fontSize: string;
265
+ lineHeight: string;
266
+ letterSpacing: string;
267
+ };
268
+ lg: {
269
+ fontFamily: string;
270
+ fontWeight: string;
271
+ fontSize: string;
272
+ lineHeight: string;
273
+ letterSpacing: string;
274
+ };
275
+ md: {
276
+ fontFamily: string;
277
+ fontWeight: string;
278
+ fontSize: string;
279
+ lineHeight: string;
280
+ letterSpacing: string;
281
+ };
282
+ sm: {
283
+ fontFamily: string;
284
+ fontWeight: string;
285
+ fontSize: string;
286
+ lineHeight: string;
287
+ letterSpacing: string;
288
+ };
289
+ xs: {
290
+ fontFamily: string;
291
+ fontWeight: string;
292
+ fontSize: string;
293
+ lineHeight: string;
294
+ letterSpacing: string;
295
+ };
296
+ };
297
+ label: {
298
+ md: {
299
+ fontFamily: string;
300
+ fontWeight: string;
301
+ fontSize: string;
302
+ lineHeight: string;
303
+ letterSpacing: string;
304
+ };
305
+ sm: {
306
+ fontFamily: string;
307
+ fontWeight: string;
308
+ fontSize: string;
309
+ lineHeight: string;
310
+ letterSpacing: string;
311
+ };
312
+ };
313
+ caption: {
314
+ md: {
315
+ fontFamily: string;
316
+ fontWeight: string;
317
+ fontSize: string;
318
+ lineHeight: string;
319
+ letterSpacing: string;
320
+ };
321
+ sm: {
322
+ fontFamily: string;
323
+ fontWeight: string;
324
+ fontSize: string;
325
+ lineHeight: string;
326
+ letterSpacing: string;
327
+ };
328
+ };
329
+ };
330
+ };
331
+ export declare type Theme = typeof theme;
@@ -0,0 +1,5 @@
1
+ import type { ComponentPropsWithoutRef, ElementType } from 'react';
2
+ export declare type LegitimateAny = any;
3
+ export declare type PartialRecord<K extends string | number | symbol, T> = Partial<Record<K, T>>;
4
+ export declare type Merge<P1 = {}, P2 = {}> = Omit<P1, keyof P2> & P2;
5
+ export declare type HTMLQdsProps<T extends ElementType> = ComponentPropsWithoutRef<T>;
@@ -0,0 +1 @@
1
+ export declare const objectKeys: <T extends object>(obj: T) => (keyof T)[];