@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,31 @@
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 { getSizeStyles, getVariantStyles } from './icon-button-styles';
6
+ declare type IconButtonSize = VariantProps<typeof getSizeStyles>;
7
+ declare type IconButtonVariant = VariantProps<typeof getVariantStyles>;
8
+ interface IconButtonOptions {
9
+ icon: ElementType<IconProps>;
10
+ /**
11
+ * A visually hidden label read by screen readers.
12
+ *
13
+ */
14
+ label: string;
15
+ /**
16
+ * Defines the size of the button
17
+ */
18
+ size?: IconButtonSize;
19
+ /**
20
+ * Sets the style variant of the button
21
+ */
22
+ variant?: IconButtonVariant;
23
+ /**
24
+ * If `true` the button will be disabled
25
+ */
26
+ isDisabled?: boolean;
27
+ }
28
+ declare type IconButtonComponent = Polymorphic.ForwardRefComponent<'button', IconButtonOptions>;
29
+ export declare type IconButtonProps = Polymorphic.PropsOf<IconButtonComponent>;
30
+ export declare const IconButton: IconButtonComponent;
31
+ export {};
@@ -0,0 +1 @@
1
+ export * from './icon-button';
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import type { Theme } from '../../theme';
3
+ import type { HTMLQdsProps } from '../../types';
4
+ interface ImageOptions {
5
+ src?: string;
6
+ alt?: string;
7
+ width: string | number;
8
+ height: string | number;
9
+ loading?: 'eager' | 'lazy';
10
+ borderRadius?: keyof Theme['radii'];
11
+ }
12
+ declare type OmittedProps = 'width' | 'height';
13
+ export interface ImageProps extends Omit<HTMLQdsProps<'img'>, OmittedProps>, ImageOptions {
14
+ }
15
+ export declare function Image({ src, loading, width, height, borderRadius, ...restProps }: ImageProps): JSX.Element;
16
+ export {};
@@ -0,0 +1 @@
1
+ export * from './image';
@@ -0,0 +1,17 @@
1
+ export * from './avatar';
2
+ export * from './button';
3
+ export * from './divider';
4
+ export * from './heading';
5
+ export * from './icon';
6
+ export * from './icon-button';
7
+ export * from './image';
8
+ export * from './text-field';
9
+ export * from './label';
10
+ export * from './link';
11
+ export * from './loading-dots';
12
+ export * from './paragraph';
13
+ export * from './primitives';
14
+ export * from './select';
15
+ export * from './spacer';
16
+ export * from './stack';
17
+ export * from './textarea';
@@ -0,0 +1 @@
1
+ export * from './label';
@@ -0,0 +1,358 @@
1
+ import type { VariantProps } from '../../styles';
2
+ import type * as Polymorphic from '../../utils/polymorphic';
3
+ declare const getSizeStyles: (theme: {
4
+ mediaQueries: {
5
+ readonly smUp: "@media(min-width: 480px)";
6
+ readonly mdUp: "@media(min-width: 768px)";
7
+ readonly lgUp: "@media(min-width: 1024px)";
8
+ readonly xlUp: "@media(min-width: 1280px)";
9
+ readonly '2xlUp': "@media(min-width: 1536px)";
10
+ };
11
+ spacing: {
12
+ '0x': string;
13
+ '1x': string;
14
+ '2x': string;
15
+ '3x': string;
16
+ '4x': string;
17
+ '5x': string;
18
+ '6x': string;
19
+ '8x': string;
20
+ '12x': 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
+ brand90: string;
62
+ brand80: string;
63
+ brand70: string;
64
+ brand60: string;
65
+ brand50: string;
66
+ brand40: string;
67
+ brand30: string;
68
+ brand20: string;
69
+ brand10: string;
70
+ red10: string;
71
+ red20: string;
72
+ red30: string;
73
+ red40: string;
74
+ red50: string;
75
+ red60: string;
76
+ red70: string;
77
+ red80: string;
78
+ red90: string;
79
+ green90: string;
80
+ green80: string;
81
+ green70: string;
82
+ green60: string;
83
+ green50: string;
84
+ green40: string;
85
+ green30: string;
86
+ green20: string;
87
+ green10: string;
88
+ blue90: string;
89
+ blue80: string;
90
+ blue70: string;
91
+ blue60: string;
92
+ blue50: string;
93
+ blue40: string;
94
+ blue30: string;
95
+ blue20: string;
96
+ blue10: string;
97
+ yellow90: string;
98
+ yellow80: string;
99
+ yellow70: string;
100
+ yellow60: string;
101
+ yellow50: string;
102
+ yellow40: string;
103
+ yellow30: string;
104
+ yellow20: string;
105
+ yellow10: string;
106
+ blackAlpha20: string;
107
+ };
108
+ bg: {
109
+ default: string;
110
+ brandPrimary: string;
111
+ brandPrimaryHover: string;
112
+ brandPrimaryActive: string;
113
+ brandSecondary: string;
114
+ brandSecondaryHover: string;
115
+ brandSecondaryActive: string;
116
+ negative: string;
117
+ warning: string;
118
+ positive: string;
119
+ inset: string;
120
+ backdrop: string;
121
+ };
122
+ text: {
123
+ strong: string;
124
+ default: string;
125
+ subtle: string;
126
+ disabled: string;
127
+ negative: string;
128
+ warning: string;
129
+ positive: string;
130
+ onColor: string;
131
+ };
132
+ icon: {
133
+ default: string;
134
+ strong: string;
135
+ subtle: string;
136
+ disabled: string;
137
+ negative: string;
138
+ warning: string;
139
+ success: string;
140
+ onColor: string;
141
+ };
142
+ border: {
143
+ default: string;
144
+ defaultHover: string;
145
+ defaultSelected: string;
146
+ strong: string;
147
+ subtle: string;
148
+ negative: string;
149
+ warning: string;
150
+ success: string;
151
+ };
152
+ };
153
+ sizes: {
154
+ 112: string;
155
+ 128: string;
156
+ 144: string;
157
+ 160: string;
158
+ 176: string;
159
+ 192: string;
160
+ 224: string;
161
+ 256: string;
162
+ 288: string;
163
+ 320: string;
164
+ 384: string;
165
+ 448: string;
166
+ 512: string;
167
+ 576: string;
168
+ 672: string;
169
+ 768: string;
170
+ 896: string;
171
+ 1024: string;
172
+ '0x': string;
173
+ '1x': string;
174
+ '2x': string;
175
+ '3x': string;
176
+ '4x': string;
177
+ '5x': string;
178
+ '6x': string;
179
+ '8x': string;
180
+ '12x': string;
181
+ '16x': string;
182
+ '20x': string;
183
+ '24x': string;
184
+ };
185
+ radii: {
186
+ none: string;
187
+ xs: string;
188
+ sm: string;
189
+ md: string;
190
+ lg: string;
191
+ xl: string;
192
+ full: string;
193
+ };
194
+ shadows: {
195
+ none: string;
196
+ sm: string;
197
+ md: string;
198
+ lg: string;
199
+ xl: string;
200
+ };
201
+ typography: {
202
+ display: {
203
+ lg: {
204
+ fontFamily: string;
205
+ fontWeight: string;
206
+ fontSize: string;
207
+ lineHeight: string;
208
+ letterSpacing: string;
209
+ };
210
+ md: {
211
+ fontFamily: string;
212
+ fontWeight: string;
213
+ fontSize: string;
214
+ lineHeight: string;
215
+ letterSpacing: string;
216
+ };
217
+ };
218
+ title: {
219
+ lg: {
220
+ fontFamily: string;
221
+ fontWeight: string;
222
+ fontSize: string;
223
+ lineHeight: string;
224
+ letterSpacing: string;
225
+ };
226
+ md: {
227
+ fontFamily: string;
228
+ fontWeight: string;
229
+ fontSize: string;
230
+ lineHeight: string;
231
+ letterSpacing: string;
232
+ };
233
+ sm: {
234
+ fontFamily: string;
235
+ fontWeight: string;
236
+ fontSize: string;
237
+ lineHeight: string;
238
+ letterSpacing: string;
239
+ };
240
+ xs: {
241
+ fontFamily: string;
242
+ fontWeight: string;
243
+ fontSize: string;
244
+ lineHeight: string;
245
+ letterSpacing: string;
246
+ };
247
+ '2xs': {
248
+ fontFamily: string;
249
+ fontWeight: string;
250
+ fontSize: string;
251
+ lineHeight: string;
252
+ letterSpacing: string;
253
+ };
254
+ '3xs': {
255
+ fontFamily: string;
256
+ fontWeight: string;
257
+ fontSize: string;
258
+ lineHeight: string;
259
+ letterSpacing: string;
260
+ };
261
+ };
262
+ body: {
263
+ xl: {
264
+ fontFamily: string;
265
+ fontWeight: string;
266
+ fontSize: string;
267
+ lineHeight: string;
268
+ letterSpacing: string;
269
+ };
270
+ lg: {
271
+ fontFamily: string;
272
+ fontWeight: string;
273
+ fontSize: string;
274
+ lineHeight: string;
275
+ letterSpacing: string;
276
+ };
277
+ md: {
278
+ fontFamily: string;
279
+ fontWeight: string;
280
+ fontSize: string;
281
+ lineHeight: string;
282
+ letterSpacing: string;
283
+ };
284
+ sm: {
285
+ fontFamily: string;
286
+ fontWeight: string;
287
+ fontSize: string;
288
+ lineHeight: string;
289
+ letterSpacing: string;
290
+ };
291
+ xs: {
292
+ fontFamily: string;
293
+ fontWeight: string;
294
+ fontSize: string;
295
+ lineHeight: string;
296
+ letterSpacing: string;
297
+ };
298
+ };
299
+ label: {
300
+ md: {
301
+ fontFamily: string;
302
+ fontWeight: string;
303
+ fontSize: string;
304
+ lineHeight: string;
305
+ letterSpacing: string;
306
+ };
307
+ sm: {
308
+ fontFamily: string;
309
+ fontWeight: string;
310
+ fontSize: string;
311
+ lineHeight: string;
312
+ letterSpacing: string;
313
+ };
314
+ };
315
+ caption: {
316
+ md: {
317
+ fontFamily: string;
318
+ fontWeight: string;
319
+ fontSize: string;
320
+ lineHeight: string;
321
+ letterSpacing: string;
322
+ };
323
+ sm: {
324
+ fontFamily: string;
325
+ fontWeight: string;
326
+ fontSize: string;
327
+ lineHeight: string;
328
+ letterSpacing: string;
329
+ };
330
+ };
331
+ };
332
+ }) => {
333
+ sm: {
334
+ fontFamily: string;
335
+ fontWeight: string;
336
+ fontSize: string;
337
+ lineHeight: string;
338
+ letterSpacing: string;
339
+ };
340
+ md: {
341
+ fontFamily: string;
342
+ fontWeight: string;
343
+ fontSize: string;
344
+ lineHeight: string;
345
+ letterSpacing: string;
346
+ };
347
+ };
348
+ declare type LabelSize = VariantProps<typeof getSizeStyles>;
349
+ interface LabelOptions {
350
+ /**
351
+ * Size of the label
352
+ */
353
+ size?: LabelSize;
354
+ }
355
+ declare type LabelComponent = Polymorphic.ForwardRefComponent<'label', LabelOptions>;
356
+ export declare type LabelProps = Polymorphic.PropsOf<LabelComponent>;
357
+ export declare const Label: LabelComponent;
358
+ export {};
@@ -0,0 +1 @@
1
+ export * from './link';
@@ -0,0 +1,15 @@
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
+ declare type LinkComponent = Polymorphic.ForwardRefComponent<'a', LinkOptions>;
13
+ export declare type LinkProps = Polymorphic.PropsOf<LinkComponent>;
14
+ export declare const Link: LinkComponent;
15
+ export {};
@@ -0,0 +1 @@
1
+ export * from './loading-dots';