@qasa/qds-ui 0.11.0 → 0.13.0-next.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 (231) hide show
  1. package/dist/index.d.mts +5416 -0
  2. package/dist/index.d.ts +14 -12
  3. package/dist/index.js +819 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/index.mjs +703 -0
  6. package/dist/index.mjs.map +1 -0
  7. package/package.json +16 -15
  8. package/dist/cjs/index.js +0 -9237
  9. package/dist/cjs/index.js.map +0 -1
  10. package/dist/cjs/types/components/_internal/form-parts.d.ts +0 -10
  11. package/dist/cjs/types/components/_internal/index.d.ts +0 -1
  12. package/dist/cjs/types/components/avatar/avatar.d.ts +0 -32
  13. package/dist/cjs/types/components/avatar/index.d.ts +0 -1
  14. package/dist/cjs/types/components/button/button-icon.d.ts +0 -10
  15. package/dist/cjs/types/components/button/button-styles.d.ts +0 -907
  16. package/dist/cjs/types/components/button/button-types.d.ts +0 -44
  17. package/dist/cjs/types/components/button/button.d.ts +0 -6
  18. package/dist/cjs/types/components/button/index.d.ts +0 -1
  19. package/dist/cjs/types/components/checkbox/checkbox.d.ts +0 -78
  20. package/dist/cjs/types/components/checkbox/index.d.ts +0 -1
  21. package/dist/cjs/types/components/display-text/display-text.d.ts +0 -30
  22. package/dist/cjs/types/components/display-text/index.d.ts +0 -1
  23. package/dist/cjs/types/components/divider/divider.d.ts +0 -14
  24. package/dist/cjs/types/components/divider/index.d.ts +0 -1
  25. package/dist/cjs/types/components/dropdown-menu/dropdown-menu-content.d.ts +0 -67
  26. package/dist/cjs/types/components/dropdown-menu/dropdown-menu-divider.d.ts +0 -4
  27. package/dist/cjs/types/components/dropdown-menu/dropdown-menu-item.d.ts +0 -28
  28. package/dist/cjs/types/components/dropdown-menu/dropdown-menu-trigger.d.ts +0 -5
  29. package/dist/cjs/types/components/dropdown-menu/dropdown-menu.d.ts +0 -29
  30. package/dist/cjs/types/components/dropdown-menu/index.d.ts +0 -1
  31. package/dist/cjs/types/components/heading/heading.d.ts +0 -32
  32. package/dist/cjs/types/components/heading/index.d.ts +0 -1
  33. package/dist/cjs/types/components/hint-box/hint-box.d.ts +0 -10
  34. package/dist/cjs/types/components/hint-box/index.d.ts +0 -1
  35. package/dist/cjs/types/components/icon/create-icon.d.ts +0 -41
  36. package/dist/cjs/types/components/icon/create-lucide-icon.d.ts +0 -4
  37. package/dist/cjs/types/components/icon/icon.types.d.ts +0 -22
  38. package/dist/cjs/types/components/icon/icons.d.ts +0 -47
  39. package/dist/cjs/types/components/icon/index.d.ts +0 -4
  40. package/dist/cjs/types/components/icon-button/icon-button-styles.d.ts +0 -880
  41. package/dist/cjs/types/components/icon-button/icon-button.d.ts +0 -32
  42. package/dist/cjs/types/components/icon-button/index.d.ts +0 -1
  43. package/dist/cjs/types/components/index.d.ts +0 -23
  44. package/dist/cjs/types/components/label/index.d.ts +0 -1
  45. package/dist/cjs/types/components/label/label.d.ts +0 -444
  46. package/dist/cjs/types/components/link/index.d.ts +0 -1
  47. package/dist/cjs/types/components/link/link.d.ts +0 -15
  48. package/dist/cjs/types/components/loading-dots/index.d.ts +0 -1
  49. package/dist/cjs/types/components/loading-dots/loading-dots.d.ts +0 -424
  50. package/dist/cjs/types/components/paragraph/index.d.ts +0 -1
  51. package/dist/cjs/types/components/paragraph/paragraph.d.ts +0 -475
  52. package/dist/cjs/types/components/primitives/index.d.ts +0 -3
  53. package/dist/cjs/types/components/primitives/input-base/index.d.ts +0 -1
  54. package/dist/cjs/types/components/primitives/input-base/input-base.d.ts +0 -21
  55. package/dist/cjs/types/components/primitives/select-base/index.d.ts +0 -1
  56. package/dist/cjs/types/components/primitives/select-base/select-base.d.ts +0 -30
  57. package/dist/cjs/types/components/primitives/textarea-base/index.d.ts +0 -1
  58. package/dist/cjs/types/components/primitives/textarea-base/textarea-base.d.ts +0 -36
  59. package/dist/cjs/types/components/radio-group/index.d.ts +0 -1
  60. package/dist/cjs/types/components/radio-group/radio-card.d.ts +0 -26
  61. package/dist/cjs/types/components/radio-group/radio-group-context.d.ts +0 -16
  62. package/dist/cjs/types/components/radio-group/radio-group-label.d.ts +0 -4
  63. package/dist/cjs/types/components/radio-group/radio-group.d.ts +0 -50
  64. package/dist/cjs/types/components/radio-group/radio-indicator.d.ts +0 -10
  65. package/dist/cjs/types/components/select/index.d.ts +0 -1
  66. package/dist/cjs/types/components/select/select-option.d.ts +0 -10
  67. package/dist/cjs/types/components/select/select.d.ts +0 -25
  68. package/dist/cjs/types/components/spacer/index.d.ts +0 -1
  69. package/dist/cjs/types/components/spacer/spacer.d.ts +0 -12
  70. package/dist/cjs/types/components/stack/index.d.ts +0 -1
  71. package/dist/cjs/types/components/stack/stack.d.ts +0 -44
  72. package/dist/cjs/types/components/stack/stack.types.d.ts +0 -4
  73. package/dist/cjs/types/components/stack/stack.utils.d.ts +0 -6
  74. package/dist/cjs/types/components/switch/index.d.ts +0 -1
  75. package/dist/cjs/types/components/switch/switch.d.ts +0 -35
  76. package/dist/cjs/types/components/text-field/index.d.ts +0 -1
  77. package/dist/cjs/types/components/text-field/text-field.d.ts +0 -32
  78. package/dist/cjs/types/components/textarea/index.d.ts +0 -1
  79. package/dist/cjs/types/components/textarea/textarea.d.ts +0 -27
  80. package/dist/cjs/types/components/toast/index.d.ts +0 -1
  81. package/dist/cjs/types/components/toast/toast-provider.d.ts +0 -4
  82. package/dist/cjs/types/components/toast/toast-store.d.ts +0 -44
  83. package/dist/cjs/types/components/toast/toast-styles.d.ts +0 -416
  84. package/dist/cjs/types/components/toast/toast.d.ts +0 -12
  85. package/dist/cjs/types/hooks/index.d.ts +0 -6
  86. package/dist/cjs/types/hooks/use-breakpoint-value.d.ts +0 -16
  87. package/dist/cjs/types/hooks/use-breakpoint.d.ts +0 -15
  88. package/dist/cjs/types/hooks/use-form-field.d.ts +0 -49
  89. package/dist/cjs/types/hooks/use-image.d.ts +0 -10
  90. package/dist/cjs/types/hooks/use-responsive-prop.d.ts +0 -16
  91. package/dist/cjs/types/hooks/use-safe-layout-effect.d.ts +0 -9
  92. package/dist/cjs/types/hooks/use-stable-id.d.ts +0 -4
  93. package/dist/cjs/types/i18n/locale-context.d.ts +0 -12
  94. package/dist/cjs/types/i18n/locales.d.ts +0 -8
  95. package/dist/cjs/types/i18n/use-translation.d.ts +0 -6
  96. package/dist/cjs/types/index.d.ts +0 -6
  97. package/dist/cjs/types/qds-provider.d.ts +0 -12
  98. package/dist/cjs/types/styles/common-styles.d.ts +0 -450
  99. package/dist/cjs/types/styles/css-reset.d.ts +0 -4
  100. package/dist/cjs/types/styles/css-utils.d.ts +0 -19
  101. package/dist/cjs/types/styles/global-styles.d.ts +0 -4
  102. package/dist/cjs/types/styles/index.d.ts +0 -3
  103. package/dist/cjs/types/theme/foundations/breakpoints.d.ts +0 -8
  104. package/dist/cjs/types/theme/foundations/colors.d.ts +0 -116
  105. package/dist/cjs/types/theme/foundations/index.d.ts +0 -410
  106. package/dist/cjs/types/theme/foundations/radius.d.ts +0 -20
  107. package/dist/cjs/types/theme/foundations/shadows.d.ts +0 -7
  108. package/dist/cjs/types/theme/foundations/sizes.d.ts +0 -34
  109. package/dist/cjs/types/theme/foundations/spacing.d.ts +0 -30
  110. package/dist/cjs/types/theme/foundations/typography.d.ts +0 -189
  111. package/dist/cjs/types/theme/foundations/z-index.d.ts +0 -28
  112. package/dist/cjs/types/theme/index.d.ts +0 -2
  113. package/dist/cjs/types/theme/theme-tools.d.ts +0 -420
  114. package/dist/cjs/types/theme/theme.d.ts +0 -406
  115. package/dist/cjs/types/types.d.ts +0 -5
  116. package/dist/cjs/types/utils/html-attributes.d.ts +0 -4
  117. package/dist/cjs/types/utils/merge-refs.d.ts +0 -5
  118. package/dist/cjs/types/utils/object.d.ts +0 -1
  119. package/dist/cjs/types/utils/polymorphic.d.ts +0 -41
  120. package/dist/esm/index.js +0 -9237
  121. package/dist/esm/index.js.map +0 -1
  122. package/dist/esm/types/components/_internal/form-parts.d.ts +0 -10
  123. package/dist/esm/types/components/_internal/index.d.ts +0 -1
  124. package/dist/esm/types/components/avatar/avatar.d.ts +0 -32
  125. package/dist/esm/types/components/avatar/index.d.ts +0 -1
  126. package/dist/esm/types/components/button/button-icon.d.ts +0 -10
  127. package/dist/esm/types/components/button/button-styles.d.ts +0 -907
  128. package/dist/esm/types/components/button/button-types.d.ts +0 -44
  129. package/dist/esm/types/components/button/button.d.ts +0 -6
  130. package/dist/esm/types/components/button/index.d.ts +0 -1
  131. package/dist/esm/types/components/checkbox/checkbox.d.ts +0 -78
  132. package/dist/esm/types/components/checkbox/index.d.ts +0 -1
  133. package/dist/esm/types/components/display-text/display-text.d.ts +0 -30
  134. package/dist/esm/types/components/display-text/index.d.ts +0 -1
  135. package/dist/esm/types/components/divider/divider.d.ts +0 -14
  136. package/dist/esm/types/components/divider/index.d.ts +0 -1
  137. package/dist/esm/types/components/dropdown-menu/dropdown-menu-content.d.ts +0 -67
  138. package/dist/esm/types/components/dropdown-menu/dropdown-menu-divider.d.ts +0 -4
  139. package/dist/esm/types/components/dropdown-menu/dropdown-menu-item.d.ts +0 -28
  140. package/dist/esm/types/components/dropdown-menu/dropdown-menu-trigger.d.ts +0 -5
  141. package/dist/esm/types/components/dropdown-menu/dropdown-menu.d.ts +0 -29
  142. package/dist/esm/types/components/dropdown-menu/index.d.ts +0 -1
  143. package/dist/esm/types/components/heading/heading.d.ts +0 -32
  144. package/dist/esm/types/components/heading/index.d.ts +0 -1
  145. package/dist/esm/types/components/hint-box/hint-box.d.ts +0 -10
  146. package/dist/esm/types/components/hint-box/index.d.ts +0 -1
  147. package/dist/esm/types/components/icon/create-icon.d.ts +0 -41
  148. package/dist/esm/types/components/icon/create-lucide-icon.d.ts +0 -4
  149. package/dist/esm/types/components/icon/icon.types.d.ts +0 -22
  150. package/dist/esm/types/components/icon/icons.d.ts +0 -47
  151. package/dist/esm/types/components/icon/index.d.ts +0 -4
  152. package/dist/esm/types/components/icon-button/icon-button-styles.d.ts +0 -880
  153. package/dist/esm/types/components/icon-button/icon-button.d.ts +0 -32
  154. package/dist/esm/types/components/icon-button/index.d.ts +0 -1
  155. package/dist/esm/types/components/index.d.ts +0 -23
  156. package/dist/esm/types/components/label/index.d.ts +0 -1
  157. package/dist/esm/types/components/label/label.d.ts +0 -444
  158. package/dist/esm/types/components/link/index.d.ts +0 -1
  159. package/dist/esm/types/components/link/link.d.ts +0 -15
  160. package/dist/esm/types/components/loading-dots/index.d.ts +0 -1
  161. package/dist/esm/types/components/loading-dots/loading-dots.d.ts +0 -424
  162. package/dist/esm/types/components/paragraph/index.d.ts +0 -1
  163. package/dist/esm/types/components/paragraph/paragraph.d.ts +0 -475
  164. package/dist/esm/types/components/primitives/index.d.ts +0 -3
  165. package/dist/esm/types/components/primitives/input-base/index.d.ts +0 -1
  166. package/dist/esm/types/components/primitives/input-base/input-base.d.ts +0 -21
  167. package/dist/esm/types/components/primitives/select-base/index.d.ts +0 -1
  168. package/dist/esm/types/components/primitives/select-base/select-base.d.ts +0 -30
  169. package/dist/esm/types/components/primitives/textarea-base/index.d.ts +0 -1
  170. package/dist/esm/types/components/primitives/textarea-base/textarea-base.d.ts +0 -36
  171. package/dist/esm/types/components/radio-group/index.d.ts +0 -1
  172. package/dist/esm/types/components/radio-group/radio-card.d.ts +0 -26
  173. package/dist/esm/types/components/radio-group/radio-group-context.d.ts +0 -16
  174. package/dist/esm/types/components/radio-group/radio-group-label.d.ts +0 -4
  175. package/dist/esm/types/components/radio-group/radio-group.d.ts +0 -50
  176. package/dist/esm/types/components/radio-group/radio-indicator.d.ts +0 -10
  177. package/dist/esm/types/components/select/index.d.ts +0 -1
  178. package/dist/esm/types/components/select/select-option.d.ts +0 -10
  179. package/dist/esm/types/components/select/select.d.ts +0 -25
  180. package/dist/esm/types/components/spacer/index.d.ts +0 -1
  181. package/dist/esm/types/components/spacer/spacer.d.ts +0 -12
  182. package/dist/esm/types/components/stack/index.d.ts +0 -1
  183. package/dist/esm/types/components/stack/stack.d.ts +0 -44
  184. package/dist/esm/types/components/stack/stack.types.d.ts +0 -4
  185. package/dist/esm/types/components/stack/stack.utils.d.ts +0 -6
  186. package/dist/esm/types/components/switch/index.d.ts +0 -1
  187. package/dist/esm/types/components/switch/switch.d.ts +0 -35
  188. package/dist/esm/types/components/text-field/index.d.ts +0 -1
  189. package/dist/esm/types/components/text-field/text-field.d.ts +0 -32
  190. package/dist/esm/types/components/textarea/index.d.ts +0 -1
  191. package/dist/esm/types/components/textarea/textarea.d.ts +0 -27
  192. package/dist/esm/types/components/toast/index.d.ts +0 -1
  193. package/dist/esm/types/components/toast/toast-provider.d.ts +0 -4
  194. package/dist/esm/types/components/toast/toast-store.d.ts +0 -44
  195. package/dist/esm/types/components/toast/toast-styles.d.ts +0 -416
  196. package/dist/esm/types/components/toast/toast.d.ts +0 -12
  197. package/dist/esm/types/hooks/index.d.ts +0 -6
  198. package/dist/esm/types/hooks/use-breakpoint-value.d.ts +0 -16
  199. package/dist/esm/types/hooks/use-breakpoint.d.ts +0 -15
  200. package/dist/esm/types/hooks/use-form-field.d.ts +0 -49
  201. package/dist/esm/types/hooks/use-image.d.ts +0 -10
  202. package/dist/esm/types/hooks/use-responsive-prop.d.ts +0 -16
  203. package/dist/esm/types/hooks/use-safe-layout-effect.d.ts +0 -9
  204. package/dist/esm/types/hooks/use-stable-id.d.ts +0 -4
  205. package/dist/esm/types/i18n/locale-context.d.ts +0 -12
  206. package/dist/esm/types/i18n/locales.d.ts +0 -8
  207. package/dist/esm/types/i18n/use-translation.d.ts +0 -6
  208. package/dist/esm/types/index.d.ts +0 -6
  209. package/dist/esm/types/qds-provider.d.ts +0 -12
  210. package/dist/esm/types/styles/common-styles.d.ts +0 -450
  211. package/dist/esm/types/styles/css-reset.d.ts +0 -4
  212. package/dist/esm/types/styles/css-utils.d.ts +0 -19
  213. package/dist/esm/types/styles/global-styles.d.ts +0 -4
  214. package/dist/esm/types/styles/index.d.ts +0 -3
  215. package/dist/esm/types/theme/foundations/breakpoints.d.ts +0 -8
  216. package/dist/esm/types/theme/foundations/colors.d.ts +0 -116
  217. package/dist/esm/types/theme/foundations/index.d.ts +0 -410
  218. package/dist/esm/types/theme/foundations/radius.d.ts +0 -20
  219. package/dist/esm/types/theme/foundations/shadows.d.ts +0 -7
  220. package/dist/esm/types/theme/foundations/sizes.d.ts +0 -34
  221. package/dist/esm/types/theme/foundations/spacing.d.ts +0 -30
  222. package/dist/esm/types/theme/foundations/typography.d.ts +0 -189
  223. package/dist/esm/types/theme/foundations/z-index.d.ts +0 -28
  224. package/dist/esm/types/theme/index.d.ts +0 -2
  225. package/dist/esm/types/theme/theme-tools.d.ts +0 -420
  226. package/dist/esm/types/theme/theme.d.ts +0 -406
  227. package/dist/esm/types/types.d.ts +0 -5
  228. package/dist/esm/types/utils/html-attributes.d.ts +0 -4
  229. package/dist/esm/types/utils/merge-refs.d.ts +0 -5
  230. package/dist/esm/types/utils/object.d.ts +0 -1
  231. package/dist/esm/types/utils/polymorphic.d.ts +0 -41
@@ -1,406 +0,0 @@
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
- '10x': string;
19
- '12x': string;
20
- '14x': string;
21
- '16x': string;
22
- '20x': string;
23
- '24x': string;
24
- };
25
- breakpoints: {
26
- readonly base: 0;
27
- readonly sm: 480;
28
- readonly md: 768;
29
- readonly lg: 1024;
30
- readonly xl: 1280;
31
- readonly '2xl': 1536;
32
- };
33
- zIndices: {
34
- hide: number;
35
- auto: string;
36
- base: number;
37
- docked: number;
38
- dropdown: number;
39
- sticky: number;
40
- banner: number;
41
- overlay: number;
42
- modal: number;
43
- popover: number;
44
- skipLink: number;
45
- toast: number;
46
- tooltip: number;
47
- };
48
- colors: {
49
- core: {
50
- black: string;
51
- white: string;
52
- gray90: string;
53
- gray80: string;
54
- gray70: string;
55
- gray60: string;
56
- gray50: string;
57
- gray40: string;
58
- gray30: string;
59
- gray20: string;
60
- gray10: string;
61
- pink: string;
62
- uiPink: string;
63
- uiPinkDark: string;
64
- uiPinkLight: string;
65
- brown: string;
66
- brownDark: string;
67
- brownLight: string;
68
- offWhite: string;
69
- offWhiteDark: string;
70
- offWhiteLight: string;
71
- softPink: string;
72
- warmYellow: string;
73
- softYellow: string;
74
- red90: string;
75
- red80: string;
76
- red70: string;
77
- red60: string;
78
- red50: string;
79
- red40: string;
80
- red30: string;
81
- red20: string;
82
- red10: string;
83
- green90: string;
84
- green80: string;
85
- green70: string;
86
- green60: string;
87
- green50: string;
88
- green40: string;
89
- green30: string;
90
- green20: string;
91
- green10: string;
92
- blue90: string;
93
- blue80: string;
94
- blue70: string;
95
- blue60: string;
96
- blue50: string;
97
- blue40: string;
98
- blue30: string;
99
- blue20: string;
100
- blue10: string;
101
- yellow90: string;
102
- yellow80: string;
103
- yellow70: string;
104
- yellow60: string;
105
- yellow50: string;
106
- yellow40: string;
107
- yellow30: string;
108
- yellow20: string;
109
- yellow10: string;
110
- blackAlpha20: string;
111
- };
112
- bg: {
113
- default: string;
114
- brandPrimary: string;
115
- brandPrimaryHover: string;
116
- brandPrimaryActive: string;
117
- brandSecondary: string;
118
- brandSecondaryHover: string;
119
- brandSecondaryActive: string;
120
- brandTertiary: string;
121
- brandTertiaryHover: string;
122
- brandTertiaryActive: string;
123
- negative: string;
124
- warning: string;
125
- positive: string;
126
- inset: string;
127
- backdrop: string;
128
- };
129
- text: {
130
- strong: string;
131
- default: string;
132
- subtle: string;
133
- disabled: string;
134
- negative: string;
135
- warning: string;
136
- positive: string;
137
- onBrandPrimary: string;
138
- onBrandSecondary: string;
139
- onBrandTertiary: string;
140
- };
141
- icon: {
142
- default: string;
143
- strong: string;
144
- subtle: string;
145
- disabled: string;
146
- negative: string;
147
- warning: string;
148
- positive: string;
149
- onBrandPrimary: string;
150
- onBrandSecondary: string;
151
- onBrandTertiary: string;
152
- };
153
- border: {
154
- default: string;
155
- defaultHover: string;
156
- defaultSelected: string;
157
- strong: string;
158
- subtle: string;
159
- negative: string;
160
- warning: string;
161
- positive: string;
162
- };
163
- };
164
- sizes: {
165
- 112: string;
166
- 128: string;
167
- 144: string;
168
- 160: string;
169
- 176: string;
170
- 192: string;
171
- 224: string;
172
- 256: string;
173
- 288: string;
174
- 320: string;
175
- 384: string;
176
- 448: string;
177
- 512: string;
178
- 576: string;
179
- 672: string;
180
- 768: string;
181
- 896: string;
182
- 1024: string;
183
- '0x': string;
184
- '1x': string;
185
- '2x': string;
186
- '3x': string;
187
- '4x': string;
188
- '5x': string;
189
- '6x': string;
190
- '8x': string;
191
- '10x': string;
192
- '12x': string;
193
- '14x': string;
194
- '16x': string;
195
- '20x': string;
196
- '24x': string;
197
- };
198
- radii: {
199
- none: string;
200
- '2xs': string;
201
- xs: string;
202
- sm: string;
203
- md: string;
204
- lg: string;
205
- xl: string;
206
- '2xl': string;
207
- full: string;
208
- };
209
- shadows: {
210
- none: string;
211
- sm: string;
212
- md: string;
213
- lg: string;
214
- xl: string;
215
- };
216
- typography: {
217
- display: {
218
- '3xl': {
219
- fontFamily: string;
220
- fontWeight: string;
221
- fontSize: string;
222
- lineHeight: string;
223
- letterSpacing: string;
224
- fontFeatureSettings: string;
225
- };
226
- '2xl': {
227
- fontFamily: string;
228
- fontWeight: string;
229
- fontSize: string;
230
- lineHeight: string;
231
- letterSpacing: string;
232
- fontFeatureSettings: string;
233
- };
234
- xl: {
235
- fontFamily: string;
236
- fontWeight: string;
237
- fontSize: string;
238
- lineHeight: string;
239
- letterSpacing: string;
240
- fontFeatureSettings: string;
241
- };
242
- lg: {
243
- fontFamily: string;
244
- fontWeight: string;
245
- fontSize: string;
246
- lineHeight: string;
247
- letterSpacing: string;
248
- fontFeatureSettings: string;
249
- };
250
- md: {
251
- fontFamily: string;
252
- fontWeight: string;
253
- fontSize: string;
254
- lineHeight: string;
255
- letterSpacing: string;
256
- fontFeatureSettings: string;
257
- };
258
- sm: {
259
- fontFamily: string;
260
- fontWeight: string;
261
- fontSize: string;
262
- lineHeight: string;
263
- letterSpacing: string;
264
- fontFeatureSettings: string;
265
- };
266
- xs: {
267
- fontFamily: string;
268
- fontWeight: string;
269
- fontSize: string;
270
- lineHeight: string;
271
- letterSpacing: string;
272
- fontFeatureSettings: string;
273
- };
274
- };
275
- title: {
276
- lg: {
277
- fontFamily: string;
278
- fontWeight: string;
279
- fontSize: string;
280
- lineHeight: string;
281
- letterSpacing: string;
282
- };
283
- md: {
284
- fontFamily: string;
285
- fontWeight: string;
286
- fontSize: string;
287
- lineHeight: string;
288
- letterSpacing: string;
289
- };
290
- sm: {
291
- fontFamily: string;
292
- fontWeight: string;
293
- fontSize: string;
294
- lineHeight: string;
295
- letterSpacing: string;
296
- };
297
- xs: {
298
- fontFamily: string;
299
- fontWeight: string;
300
- fontSize: string;
301
- lineHeight: string;
302
- letterSpacing: string;
303
- };
304
- '2xs': {
305
- fontFamily: string;
306
- fontWeight: string;
307
- fontSize: string;
308
- lineHeight: string;
309
- letterSpacing: string;
310
- };
311
- '3xs': {
312
- fontFamily: string;
313
- fontWeight: string;
314
- fontSize: string;
315
- lineHeight: string;
316
- letterSpacing: string;
317
- };
318
- };
319
- body: {
320
- xl: {
321
- fontFamily: string;
322
- fontWeight: string;
323
- fontSize: string;
324
- lineHeight: string;
325
- letterSpacing: string;
326
- };
327
- lg: {
328
- fontFamily: string;
329
- fontWeight: string;
330
- fontSize: string;
331
- lineHeight: string;
332
- letterSpacing: string;
333
- };
334
- md: {
335
- fontFamily: string;
336
- fontWeight: string;
337
- fontSize: string;
338
- lineHeight: string;
339
- letterSpacing: string;
340
- };
341
- sm: {
342
- fontFamily: string;
343
- fontWeight: string;
344
- fontSize: string;
345
- lineHeight: string;
346
- letterSpacing: string;
347
- };
348
- xs: {
349
- fontFamily: string;
350
- fontWeight: string;
351
- fontSize: string;
352
- lineHeight: string;
353
- letterSpacing: string;
354
- };
355
- };
356
- label: {
357
- md: {
358
- fontFamily: string;
359
- fontWeight: string;
360
- fontSize: string;
361
- lineHeight: string;
362
- letterSpacing: string;
363
- };
364
- sm: {
365
- fontFamily: string;
366
- fontWeight: string;
367
- fontSize: string;
368
- lineHeight: string;
369
- letterSpacing: string;
370
- };
371
- };
372
- button: {
373
- md: {
374
- fontFamily: string;
375
- fontWeight: string;
376
- fontSize: string;
377
- lineHeight: string;
378
- letterSpacing: string;
379
- };
380
- sm: {
381
- fontFamily: string;
382
- fontWeight: string;
383
- fontSize: string;
384
- lineHeight: string;
385
- letterSpacing: string;
386
- };
387
- };
388
- caption: {
389
- md: {
390
- fontFamily: string;
391
- fontWeight: string;
392
- fontSize: string;
393
- lineHeight: string;
394
- letterSpacing: string;
395
- };
396
- sm: {
397
- fontFamily: string;
398
- fontWeight: string;
399
- fontSize: string;
400
- lineHeight: string;
401
- letterSpacing: string;
402
- };
403
- };
404
- };
405
- };
406
- export type Theme = typeof theme;
@@ -1,5 +0,0 @@
1
- import type { ComponentPropsWithoutRef, ElementType } from 'react';
2
- export type LegitimateAny = any;
3
- export type PartialRecord<K extends string | number | symbol, T> = Partial<Record<K, T>>;
4
- export type Merge<P1 = {}, P2 = {}> = Omit<P1, keyof P2> & P2;
5
- export type HTMLQdsProps<T extends ElementType> = ComponentPropsWithoutRef<T>;
@@ -1,4 +0,0 @@
1
- type Booleanish = boolean | 'true' | 'false';
2
- export declare const dataAttr: (condition: boolean | undefined) => Booleanish;
3
- export declare const ariaAttr: (condition: boolean | undefined) => Booleanish;
4
- export {};
@@ -1,5 +0,0 @@
1
- import type { MutableRefObject, RefCallback } from 'react';
2
- type ReactRef<T> = RefCallback<T> | MutableRefObject<T>;
3
- type Maybe<T> = T | null | undefined;
4
- export declare const mergeRefs: <T>(...refs: Maybe<ReactRef<T>>[]) => (node: T | null) => void;
5
- export {};
@@ -1 +0,0 @@
1
- export declare const objectKeys: <T extends object>(obj: T) => (keyof T)[];
@@ -1,41 +0,0 @@
1
- /**
2
- * This file is originally from `@radix-ui/react-polymorphic` before the package
3
- * was deprecated. The original source for this lived in the URL below.
4
- *
5
- * @see https://github.com/radix-ui/primitives/blob/17ffcb7aaa42cbd36b3c210ba86d7d73d218e5be/packages/react/polymorphic/src/polymorphic.ts
6
- */
7
- import type * as React from 'react';
8
- import type { Merge } from '../types';
9
- /**
10
- * Infers the OwnProps if E is a ForwardRefExoticComponentWithAs
11
- */
12
- type OwnProps<E> = E extends ForwardRefComponent<any, infer P> ? P : {};
13
- /**
14
- * Infers the JSX.IntrinsicElement if E is a ForwardRefExoticComponentWithAs
15
- */
16
- type IntrinsicElement<E> = E extends ForwardRefComponent<infer I, any> ? I : never;
17
- type ForwardRefExoticComponent<E, OwnProps> = React.ForwardRefExoticComponent<Merge<E extends React.ElementType ? React.ComponentPropsWithRef<E> : never, OwnProps & {
18
- as?: E;
19
- }>>;
20
- interface ForwardRefComponent<IntrinsicElementString, OwnProps = {}> extends ForwardRefExoticComponent<IntrinsicElementString, OwnProps> {
21
- /**
22
- * When `as` prop is passed, use this overload.
23
- * Merges original own props (without DOM props) and the inferred props
24
- * from `as` element with the own props taking precendence.
25
- *
26
- * We explicitly avoid `React.ElementType` and manually narrow the prop types
27
- * so that events are typed when using JSX.IntrinsicElements.
28
- */
29
- <As = IntrinsicElementString>(props: As extends '' ? {
30
- as: keyof JSX.IntrinsicElements;
31
- } : As extends React.ComponentType<infer P> ? Merge<P, OwnProps & {
32
- as: As;
33
- }> : As extends keyof JSX.IntrinsicElements ? Merge<JSX.IntrinsicElements[As], OwnProps & {
34
- as: As;
35
- }> : never): React.ReactElement | null;
36
- }
37
- /**
38
- * Infers the props of a React component
39
- */
40
- type PropsOf<E> = E extends React.ComponentType<infer P> ? P : never;
41
- export type { ForwardRefComponent, OwnProps, IntrinsicElement, PropsOf };