@qasa/qds-ui 0.12.0 → 0.13.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 (229) hide show
  1. package/dist/index.d.mts +5416 -0
  2. package/dist/index.d.ts +1 -2
  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 +14 -14
  8. package/dist/cjs/index.js +0 -9236
  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 -33
  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 -909
  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 -48
  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 -882
  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 -445
  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 -425
  50. package/dist/cjs/types/components/paragraph/index.d.ts +0 -1
  51. package/dist/cjs/types/components/paragraph/paragraph.d.ts +0 -476
  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 -417
  84. package/dist/cjs/types/components/toast/toast.d.ts +0 -12
  85. package/dist/cjs/types/hooks/index.d.ts +0 -5
  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-responsive-prop.d.ts +0 -16
  90. package/dist/cjs/types/hooks/use-safe-layout-effect.d.ts +0 -9
  91. package/dist/cjs/types/hooks/use-stable-id.d.ts +0 -4
  92. package/dist/cjs/types/i18n/locale-context.d.ts +0 -12
  93. package/dist/cjs/types/i18n/locales.d.ts +0 -8
  94. package/dist/cjs/types/i18n/use-translation.d.ts +0 -6
  95. package/dist/cjs/types/index.d.ts +0 -6
  96. package/dist/cjs/types/qds-provider.d.ts +0 -12
  97. package/dist/cjs/types/styles/common-styles.d.ts +0 -451
  98. package/dist/cjs/types/styles/css-reset.d.ts +0 -4
  99. package/dist/cjs/types/styles/css-utils.d.ts +0 -19
  100. package/dist/cjs/types/styles/global-styles.d.ts +0 -4
  101. package/dist/cjs/types/styles/index.d.ts +0 -3
  102. package/dist/cjs/types/theme/foundations/breakpoints.d.ts +0 -8
  103. package/dist/cjs/types/theme/foundations/colors.d.ts +0 -117
  104. package/dist/cjs/types/theme/foundations/index.d.ts +0 -411
  105. package/dist/cjs/types/theme/foundations/radius.d.ts +0 -20
  106. package/dist/cjs/types/theme/foundations/shadows.d.ts +0 -7
  107. package/dist/cjs/types/theme/foundations/sizes.d.ts +0 -34
  108. package/dist/cjs/types/theme/foundations/spacing.d.ts +0 -30
  109. package/dist/cjs/types/theme/foundations/typography.d.ts +0 -189
  110. package/dist/cjs/types/theme/foundations/z-index.d.ts +0 -28
  111. package/dist/cjs/types/theme/index.d.ts +0 -2
  112. package/dist/cjs/types/theme/theme-tools.d.ts +0 -421
  113. package/dist/cjs/types/theme/theme.d.ts +0 -407
  114. package/dist/cjs/types/types.d.ts +0 -5
  115. package/dist/cjs/types/utils/html-attributes.d.ts +0 -4
  116. package/dist/cjs/types/utils/merge-refs.d.ts +0 -5
  117. package/dist/cjs/types/utils/object.d.ts +0 -1
  118. package/dist/cjs/types/utils/polymorphic.d.ts +0 -41
  119. package/dist/esm/index.js +0 -9236
  120. package/dist/esm/index.js.map +0 -1
  121. package/dist/esm/types/components/_internal/form-parts.d.ts +0 -10
  122. package/dist/esm/types/components/_internal/index.d.ts +0 -1
  123. package/dist/esm/types/components/avatar/avatar.d.ts +0 -33
  124. package/dist/esm/types/components/avatar/index.d.ts +0 -1
  125. package/dist/esm/types/components/button/button-icon.d.ts +0 -10
  126. package/dist/esm/types/components/button/button-styles.d.ts +0 -909
  127. package/dist/esm/types/components/button/button-types.d.ts +0 -44
  128. package/dist/esm/types/components/button/button.d.ts +0 -6
  129. package/dist/esm/types/components/button/index.d.ts +0 -1
  130. package/dist/esm/types/components/checkbox/checkbox.d.ts +0 -78
  131. package/dist/esm/types/components/checkbox/index.d.ts +0 -1
  132. package/dist/esm/types/components/display-text/display-text.d.ts +0 -30
  133. package/dist/esm/types/components/display-text/index.d.ts +0 -1
  134. package/dist/esm/types/components/divider/divider.d.ts +0 -14
  135. package/dist/esm/types/components/divider/index.d.ts +0 -1
  136. package/dist/esm/types/components/dropdown-menu/dropdown-menu-content.d.ts +0 -67
  137. package/dist/esm/types/components/dropdown-menu/dropdown-menu-divider.d.ts +0 -4
  138. package/dist/esm/types/components/dropdown-menu/dropdown-menu-item.d.ts +0 -28
  139. package/dist/esm/types/components/dropdown-menu/dropdown-menu-trigger.d.ts +0 -5
  140. package/dist/esm/types/components/dropdown-menu/dropdown-menu.d.ts +0 -29
  141. package/dist/esm/types/components/dropdown-menu/index.d.ts +0 -1
  142. package/dist/esm/types/components/heading/heading.d.ts +0 -32
  143. package/dist/esm/types/components/heading/index.d.ts +0 -1
  144. package/dist/esm/types/components/hint-box/hint-box.d.ts +0 -10
  145. package/dist/esm/types/components/hint-box/index.d.ts +0 -1
  146. package/dist/esm/types/components/icon/create-icon.d.ts +0 -41
  147. package/dist/esm/types/components/icon/create-lucide-icon.d.ts +0 -4
  148. package/dist/esm/types/components/icon/icon.types.d.ts +0 -22
  149. package/dist/esm/types/components/icon/icons.d.ts +0 -48
  150. package/dist/esm/types/components/icon/index.d.ts +0 -4
  151. package/dist/esm/types/components/icon-button/icon-button-styles.d.ts +0 -882
  152. package/dist/esm/types/components/icon-button/icon-button.d.ts +0 -32
  153. package/dist/esm/types/components/icon-button/index.d.ts +0 -1
  154. package/dist/esm/types/components/index.d.ts +0 -23
  155. package/dist/esm/types/components/label/index.d.ts +0 -1
  156. package/dist/esm/types/components/label/label.d.ts +0 -445
  157. package/dist/esm/types/components/link/index.d.ts +0 -1
  158. package/dist/esm/types/components/link/link.d.ts +0 -15
  159. package/dist/esm/types/components/loading-dots/index.d.ts +0 -1
  160. package/dist/esm/types/components/loading-dots/loading-dots.d.ts +0 -425
  161. package/dist/esm/types/components/paragraph/index.d.ts +0 -1
  162. package/dist/esm/types/components/paragraph/paragraph.d.ts +0 -476
  163. package/dist/esm/types/components/primitives/index.d.ts +0 -3
  164. package/dist/esm/types/components/primitives/input-base/index.d.ts +0 -1
  165. package/dist/esm/types/components/primitives/input-base/input-base.d.ts +0 -21
  166. package/dist/esm/types/components/primitives/select-base/index.d.ts +0 -1
  167. package/dist/esm/types/components/primitives/select-base/select-base.d.ts +0 -30
  168. package/dist/esm/types/components/primitives/textarea-base/index.d.ts +0 -1
  169. package/dist/esm/types/components/primitives/textarea-base/textarea-base.d.ts +0 -36
  170. package/dist/esm/types/components/radio-group/index.d.ts +0 -1
  171. package/dist/esm/types/components/radio-group/radio-card.d.ts +0 -26
  172. package/dist/esm/types/components/radio-group/radio-group-context.d.ts +0 -16
  173. package/dist/esm/types/components/radio-group/radio-group-label.d.ts +0 -4
  174. package/dist/esm/types/components/radio-group/radio-group.d.ts +0 -50
  175. package/dist/esm/types/components/radio-group/radio-indicator.d.ts +0 -10
  176. package/dist/esm/types/components/select/index.d.ts +0 -1
  177. package/dist/esm/types/components/select/select-option.d.ts +0 -10
  178. package/dist/esm/types/components/select/select.d.ts +0 -25
  179. package/dist/esm/types/components/spacer/index.d.ts +0 -1
  180. package/dist/esm/types/components/spacer/spacer.d.ts +0 -12
  181. package/dist/esm/types/components/stack/index.d.ts +0 -1
  182. package/dist/esm/types/components/stack/stack.d.ts +0 -44
  183. package/dist/esm/types/components/stack/stack.types.d.ts +0 -4
  184. package/dist/esm/types/components/stack/stack.utils.d.ts +0 -6
  185. package/dist/esm/types/components/switch/index.d.ts +0 -1
  186. package/dist/esm/types/components/switch/switch.d.ts +0 -35
  187. package/dist/esm/types/components/text-field/index.d.ts +0 -1
  188. package/dist/esm/types/components/text-field/text-field.d.ts +0 -32
  189. package/dist/esm/types/components/textarea/index.d.ts +0 -1
  190. package/dist/esm/types/components/textarea/textarea.d.ts +0 -27
  191. package/dist/esm/types/components/toast/index.d.ts +0 -1
  192. package/dist/esm/types/components/toast/toast-provider.d.ts +0 -4
  193. package/dist/esm/types/components/toast/toast-store.d.ts +0 -44
  194. package/dist/esm/types/components/toast/toast-styles.d.ts +0 -417
  195. package/dist/esm/types/components/toast/toast.d.ts +0 -12
  196. package/dist/esm/types/hooks/index.d.ts +0 -5
  197. package/dist/esm/types/hooks/use-breakpoint-value.d.ts +0 -16
  198. package/dist/esm/types/hooks/use-breakpoint.d.ts +0 -15
  199. package/dist/esm/types/hooks/use-form-field.d.ts +0 -49
  200. package/dist/esm/types/hooks/use-responsive-prop.d.ts +0 -16
  201. package/dist/esm/types/hooks/use-safe-layout-effect.d.ts +0 -9
  202. package/dist/esm/types/hooks/use-stable-id.d.ts +0 -4
  203. package/dist/esm/types/i18n/locale-context.d.ts +0 -12
  204. package/dist/esm/types/i18n/locales.d.ts +0 -8
  205. package/dist/esm/types/i18n/use-translation.d.ts +0 -6
  206. package/dist/esm/types/index.d.ts +0 -6
  207. package/dist/esm/types/qds-provider.d.ts +0 -12
  208. package/dist/esm/types/styles/common-styles.d.ts +0 -451
  209. package/dist/esm/types/styles/css-reset.d.ts +0 -4
  210. package/dist/esm/types/styles/css-utils.d.ts +0 -19
  211. package/dist/esm/types/styles/global-styles.d.ts +0 -4
  212. package/dist/esm/types/styles/index.d.ts +0 -3
  213. package/dist/esm/types/theme/foundations/breakpoints.d.ts +0 -8
  214. package/dist/esm/types/theme/foundations/colors.d.ts +0 -117
  215. package/dist/esm/types/theme/foundations/index.d.ts +0 -411
  216. package/dist/esm/types/theme/foundations/radius.d.ts +0 -20
  217. package/dist/esm/types/theme/foundations/shadows.d.ts +0 -7
  218. package/dist/esm/types/theme/foundations/sizes.d.ts +0 -34
  219. package/dist/esm/types/theme/foundations/spacing.d.ts +0 -30
  220. package/dist/esm/types/theme/foundations/typography.d.ts +0 -189
  221. package/dist/esm/types/theme/foundations/z-index.d.ts +0 -28
  222. package/dist/esm/types/theme/index.d.ts +0 -2
  223. package/dist/esm/types/theme/theme-tools.d.ts +0 -421
  224. package/dist/esm/types/theme/theme.d.ts +0 -407
  225. package/dist/esm/types/types.d.ts +0 -5
  226. package/dist/esm/types/utils/html-attributes.d.ts +0 -4
  227. package/dist/esm/types/utils/merge-refs.d.ts +0 -5
  228. package/dist/esm/types/utils/object.d.ts +0 -1
  229. package/dist/esm/types/utils/polymorphic.d.ts +0 -41
@@ -1,32 +0,0 @@
1
- import type { ElementType } from 'react';
2
- import type { VariantProps } from '../../styles';
3
- import type { IconProps } from '../icon';
4
- import type * as Polymorphic from '../../utils/polymorphic';
5
- import { type ResponsiveProp } from '../../hooks/use-responsive-prop';
6
- import { getSizeStyles, getVariantStyles } from './icon-button-styles';
7
- type IconButtonSize = VariantProps<typeof getSizeStyles>;
8
- type IconButtonVariant = VariantProps<typeof getVariantStyles>;
9
- interface IconButtonOptions {
10
- icon: ElementType<IconProps>;
11
- /**
12
- * A visually hidden label read by screen readers.
13
- *
14
- */
15
- label: string;
16
- /**
17
- * Defines the size of the button
18
- */
19
- size?: ResponsiveProp<IconButtonSize>;
20
- /**
21
- * Sets the style variant of the button
22
- */
23
- variant?: IconButtonVariant;
24
- /**
25
- * If `true` the button will be disabled
26
- */
27
- isDisabled?: boolean;
28
- }
29
- type IconButtonComponent = Polymorphic.ForwardRefComponent<'button', IconButtonOptions>;
30
- export type IconButtonProps = Polymorphic.PropsOf<IconButtonComponent>;
31
- export declare const IconButton: IconButtonComponent;
32
- export {};
@@ -1 +0,0 @@
1
- export * from './icon-button';
@@ -1,23 +0,0 @@
1
- export * from './avatar';
2
- export * from './button';
3
- export * from './display-text';
4
- export * from './checkbox';
5
- export * from './divider';
6
- export * from './dropdown-menu';
7
- export * from './heading';
8
- export * from './hint-box';
9
- export * from './icon';
10
- export * from './icon-button';
11
- export * from './text-field';
12
- export * from './label';
13
- export * from './link';
14
- export * from './loading-dots';
15
- export * from './paragraph';
16
- export * from './primitives';
17
- export * from './radio-group';
18
- export * from './select';
19
- export * from './spacer';
20
- export * from './stack';
21
- export * from './switch';
22
- export * from './textarea';
23
- export * from './toast';
@@ -1 +0,0 @@
1
- export * from './label';
@@ -1,445 +0,0 @@
1
- import type { VariantProps } from '../../styles';
2
- import type * as Polymorphic from '../../utils/polymorphic';
3
- import type { Theme } from '../../theme';
4
- import { type ResponsiveProp } from '../../hooks/use-responsive-prop';
5
- declare const getSizeStyles: (theme: {
6
- mediaQueries: {
7
- readonly smUp: "@media(min-width: 480px)";
8
- readonly mdUp: "@media(min-width: 768px)";
9
- readonly lgUp: "@media(min-width: 1024px)";
10
- readonly xlUp: "@media(min-width: 1280px)";
11
- readonly '2xlUp': "@media(min-width: 1536px)";
12
- };
13
- spacing: {
14
- '0x': string;
15
- '1x': string;
16
- '2x': string;
17
- '3x': string;
18
- '4x': string;
19
- '5x': string;
20
- '6x': string;
21
- '8x': string;
22
- '10x': string;
23
- '12x': string;
24
- '14x': string;
25
- '16x': string;
26
- '20x': string;
27
- '24x': string;
28
- };
29
- breakpoints: {
30
- readonly base: 0;
31
- readonly sm: 480;
32
- readonly md: 768;
33
- readonly lg: 1024;
34
- readonly xl: 1280;
35
- readonly '2xl': 1536;
36
- };
37
- zIndices: {
38
- hide: number;
39
- auto: string;
40
- base: number;
41
- docked: number;
42
- dropdown: number;
43
- sticky: number;
44
- banner: number;
45
- overlay: number;
46
- modal: number;
47
- popover: number;
48
- skipLink: number;
49
- toast: number;
50
- tooltip: number;
51
- };
52
- colors: {
53
- core: {
54
- black: string;
55
- white: string;
56
- gray90: string;
57
- gray80: string;
58
- gray70: string;
59
- gray60: string;
60
- gray50: string;
61
- gray40: string;
62
- gray30: string;
63
- gray20: string;
64
- gray10: string;
65
- pink: string;
66
- uiPink: string;
67
- uiPinkDark: string;
68
- uiPinkLight: string;
69
- brown: string;
70
- brownDark: string;
71
- brownLight: string;
72
- offWhite: string;
73
- offWhiteDark: string;
74
- offWhiteLight: string;
75
- softPink: string;
76
- warmYellow: string;
77
- softYellow: string;
78
- red90: string;
79
- red80: string;
80
- red70: string;
81
- red60: string;
82
- red50: string;
83
- red40: string;
84
- red30: string;
85
- red20: string;
86
- red10: string;
87
- green90: string;
88
- green80: string;
89
- green70: string;
90
- green60: string;
91
- green50: string;
92
- green40: string;
93
- green30: string;
94
- green20: string;
95
- green10: string;
96
- blue90: string;
97
- blue80: string;
98
- blue70: string;
99
- blue60: string;
100
- blue50: string;
101
- blue40: string;
102
- blue30: string;
103
- blue20: string;
104
- blue10: string;
105
- yellow90: string;
106
- yellow80: string;
107
- yellow70: string;
108
- yellow60: string;
109
- yellow50: string;
110
- yellow40: string;
111
- yellow30: string;
112
- yellow20: string;
113
- yellow10: string;
114
- blackAlpha5: string;
115
- blackAlpha20: string;
116
- };
117
- bg: {
118
- default: string;
119
- brandPrimary: string;
120
- brandPrimaryHover: string;
121
- brandPrimaryActive: string;
122
- brandSecondary: string;
123
- brandSecondaryHover: string;
124
- brandSecondaryActive: string;
125
- brandTertiary: string;
126
- brandTertiaryHover: string;
127
- brandTertiaryActive: string;
128
- negative: string;
129
- warning: string;
130
- positive: string;
131
- inset: string;
132
- backdrop: string;
133
- };
134
- text: {
135
- strong: string;
136
- default: string;
137
- subtle: string;
138
- disabled: string;
139
- negative: string;
140
- warning: string;
141
- positive: string;
142
- onBrandPrimary: string;
143
- onBrandSecondary: string;
144
- onBrandTertiary: string;
145
- };
146
- icon: {
147
- default: string;
148
- strong: string;
149
- subtle: string;
150
- disabled: string;
151
- negative: string;
152
- warning: string;
153
- positive: string;
154
- onBrandPrimary: string;
155
- onBrandSecondary: string;
156
- onBrandTertiary: string;
157
- };
158
- border: {
159
- default: string;
160
- defaultHover: string;
161
- defaultSelected: string;
162
- strong: string;
163
- subtle: string;
164
- negative: string;
165
- warning: string;
166
- positive: string;
167
- };
168
- };
169
- sizes: {
170
- 112: string;
171
- 128: string;
172
- 144: string;
173
- 160: string;
174
- 176: string;
175
- 192: string;
176
- 224: string;
177
- 256: string;
178
- 288: string;
179
- 320: string;
180
- 384: string;
181
- 448: string;
182
- 512: string;
183
- 576: string;
184
- 672: string;
185
- 768: string;
186
- 896: string;
187
- 1024: string;
188
- '0x': string;
189
- '1x': string;
190
- '2x': string;
191
- '3x': string;
192
- '4x': string;
193
- '5x': string;
194
- '6x': string;
195
- '8x': string;
196
- '10x': string;
197
- '12x': string;
198
- '14x': string;
199
- '16x': string;
200
- '20x': string;
201
- '24x': string;
202
- };
203
- radii: {
204
- none: string;
205
- '2xs': string;
206
- xs: string;
207
- sm: string;
208
- md: string;
209
- lg: string;
210
- xl: string;
211
- '2xl': string;
212
- full: string;
213
- };
214
- shadows: {
215
- none: string;
216
- sm: string;
217
- md: string;
218
- lg: string;
219
- xl: string;
220
- };
221
- typography: {
222
- display: {
223
- '3xl': {
224
- fontFamily: string;
225
- fontWeight: string;
226
- fontSize: string;
227
- lineHeight: string;
228
- letterSpacing: string;
229
- fontFeatureSettings: string;
230
- };
231
- '2xl': {
232
- fontFamily: string;
233
- fontWeight: string;
234
- fontSize: string;
235
- lineHeight: string;
236
- letterSpacing: string;
237
- fontFeatureSettings: string;
238
- };
239
- xl: {
240
- fontFamily: string;
241
- fontWeight: string;
242
- fontSize: string;
243
- lineHeight: string;
244
- letterSpacing: string;
245
- fontFeatureSettings: string;
246
- };
247
- lg: {
248
- fontFamily: string;
249
- fontWeight: string;
250
- fontSize: string; /**
251
- * Sets the color of the label
252
- * @default 'default'
253
- */
254
- lineHeight: string;
255
- letterSpacing: string;
256
- fontFeatureSettings: string;
257
- };
258
- md: {
259
- fontFamily: string;
260
- fontWeight: string;
261
- fontSize: string;
262
- lineHeight: string;
263
- letterSpacing: string;
264
- fontFeatureSettings: string;
265
- };
266
- sm: {
267
- fontFamily: string;
268
- fontWeight: string;
269
- fontSize: string;
270
- lineHeight: string;
271
- letterSpacing: string;
272
- fontFeatureSettings: string;
273
- };
274
- xs: {
275
- fontFamily: string;
276
- fontWeight: string;
277
- fontSize: string;
278
- lineHeight: string;
279
- letterSpacing: string;
280
- fontFeatureSettings: string;
281
- };
282
- };
283
- title: {
284
- lg: {
285
- fontFamily: string;
286
- fontWeight: string;
287
- fontSize: string;
288
- lineHeight: string;
289
- letterSpacing: string;
290
- };
291
- md: {
292
- fontFamily: string;
293
- fontWeight: string;
294
- fontSize: string;
295
- lineHeight: string;
296
- letterSpacing: string;
297
- };
298
- sm: {
299
- fontFamily: string;
300
- fontWeight: string;
301
- fontSize: string;
302
- lineHeight: string;
303
- letterSpacing: string;
304
- };
305
- xs: {
306
- fontFamily: string;
307
- fontWeight: string;
308
- fontSize: string;
309
- lineHeight: string;
310
- letterSpacing: string;
311
- };
312
- '2xs': {
313
- fontFamily: string;
314
- fontWeight: string;
315
- fontSize: string;
316
- lineHeight: string;
317
- letterSpacing: string;
318
- };
319
- '3xs': {
320
- fontFamily: string;
321
- fontWeight: string;
322
- fontSize: string;
323
- lineHeight: string;
324
- letterSpacing: string;
325
- };
326
- };
327
- body: {
328
- xl: {
329
- fontFamily: string;
330
- fontWeight: string;
331
- fontSize: string;
332
- lineHeight: string;
333
- letterSpacing: string;
334
- };
335
- lg: {
336
- fontFamily: string;
337
- fontWeight: string;
338
- fontSize: string;
339
- lineHeight: string;
340
- letterSpacing: string;
341
- };
342
- md: {
343
- fontFamily: string;
344
- fontWeight: string;
345
- fontSize: string;
346
- lineHeight: string;
347
- letterSpacing: string;
348
- };
349
- sm: {
350
- fontFamily: string;
351
- fontWeight: string;
352
- fontSize: string;
353
- lineHeight: string;
354
- letterSpacing: string;
355
- };
356
- xs: {
357
- fontFamily: string;
358
- fontWeight: string;
359
- fontSize: string;
360
- lineHeight: string;
361
- letterSpacing: string;
362
- };
363
- };
364
- label: {
365
- md: {
366
- fontFamily: string;
367
- fontWeight: string;
368
- fontSize: string;
369
- lineHeight: string;
370
- letterSpacing: string;
371
- };
372
- sm: {
373
- fontFamily: string;
374
- fontWeight: string;
375
- fontSize: string;
376
- lineHeight: string;
377
- letterSpacing: string;
378
- };
379
- };
380
- button: {
381
- md: {
382
- fontFamily: string;
383
- fontWeight: string;
384
- fontSize: string;
385
- lineHeight: string;
386
- letterSpacing: string;
387
- };
388
- sm: {
389
- fontFamily: string;
390
- fontWeight: string;
391
- fontSize: string;
392
- lineHeight: string;
393
- letterSpacing: string;
394
- };
395
- };
396
- caption: {
397
- md: {
398
- fontFamily: string;
399
- fontWeight: string;
400
- fontSize: string;
401
- lineHeight: string;
402
- letterSpacing: string;
403
- };
404
- sm: {
405
- fontFamily: string;
406
- fontWeight: string;
407
- fontSize: string;
408
- lineHeight: string;
409
- letterSpacing: string;
410
- };
411
- };
412
- };
413
- }) => {
414
- sm: {
415
- fontFamily: string;
416
- fontWeight: string;
417
- fontSize: string;
418
- lineHeight: string;
419
- letterSpacing: string;
420
- };
421
- md: {
422
- fontFamily: string;
423
- fontWeight: string;
424
- fontSize: string;
425
- lineHeight: string;
426
- letterSpacing: string;
427
- };
428
- };
429
- type LabelSize = VariantProps<typeof getSizeStyles>;
430
- type LabelColor = keyof Theme['colors']['text'];
431
- interface LabelOptions {
432
- /**
433
- * Size of the label
434
- */
435
- size?: ResponsiveProp<LabelSize>;
436
- /**
437
- * Sets the color of the label
438
- * @default 'default'
439
- */
440
- color?: LabelColor;
441
- }
442
- type LabelComponent = Polymorphic.ForwardRefComponent<'label', LabelOptions>;
443
- export type LabelProps = Polymorphic.PropsOf<LabelComponent>;
444
- export declare const Label: LabelComponent;
445
- export {};
@@ -1 +0,0 @@
1
- export * from './link';
@@ -1,15 +0,0 @@
1
- import type * as Polymorphic from '../../utils/polymorphic';
2
- interface LinkOptions {
3
- /**
4
- * The URL to link to.
5
- */
6
- href?: string;
7
- /**
8
- * If `true`, the link will open in new tab
9
- */
10
- isExternal?: boolean;
11
- }
12
- type LinkComponent = Polymorphic.ForwardRefComponent<'a', LinkOptions>;
13
- export type LinkProps = Polymorphic.PropsOf<LinkComponent>;
14
- export declare const Link: LinkComponent;
15
- export {};
@@ -1 +0,0 @@
1
- export * from './loading-dots';