@qasa/qds-ui 0.12.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.
- package/dist/index.d.mts +5416 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.js +819 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +703 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +14 -14
- package/dist/cjs/index.js +0 -9236
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/types/components/_internal/form-parts.d.ts +0 -10
- package/dist/cjs/types/components/_internal/index.d.ts +0 -1
- package/dist/cjs/types/components/avatar/avatar.d.ts +0 -33
- package/dist/cjs/types/components/avatar/index.d.ts +0 -1
- package/dist/cjs/types/components/button/button-icon.d.ts +0 -10
- package/dist/cjs/types/components/button/button-styles.d.ts +0 -909
- package/dist/cjs/types/components/button/button-types.d.ts +0 -44
- package/dist/cjs/types/components/button/button.d.ts +0 -6
- package/dist/cjs/types/components/button/index.d.ts +0 -1
- package/dist/cjs/types/components/checkbox/checkbox.d.ts +0 -78
- package/dist/cjs/types/components/checkbox/index.d.ts +0 -1
- package/dist/cjs/types/components/display-text/display-text.d.ts +0 -30
- package/dist/cjs/types/components/display-text/index.d.ts +0 -1
- package/dist/cjs/types/components/divider/divider.d.ts +0 -14
- package/dist/cjs/types/components/divider/index.d.ts +0 -1
- package/dist/cjs/types/components/dropdown-menu/dropdown-menu-content.d.ts +0 -67
- package/dist/cjs/types/components/dropdown-menu/dropdown-menu-divider.d.ts +0 -4
- package/dist/cjs/types/components/dropdown-menu/dropdown-menu-item.d.ts +0 -28
- package/dist/cjs/types/components/dropdown-menu/dropdown-menu-trigger.d.ts +0 -5
- package/dist/cjs/types/components/dropdown-menu/dropdown-menu.d.ts +0 -29
- package/dist/cjs/types/components/dropdown-menu/index.d.ts +0 -1
- package/dist/cjs/types/components/heading/heading.d.ts +0 -32
- package/dist/cjs/types/components/heading/index.d.ts +0 -1
- package/dist/cjs/types/components/hint-box/hint-box.d.ts +0 -10
- package/dist/cjs/types/components/hint-box/index.d.ts +0 -1
- package/dist/cjs/types/components/icon/create-icon.d.ts +0 -41
- package/dist/cjs/types/components/icon/create-lucide-icon.d.ts +0 -4
- package/dist/cjs/types/components/icon/icon.types.d.ts +0 -22
- package/dist/cjs/types/components/icon/icons.d.ts +0 -48
- package/dist/cjs/types/components/icon/index.d.ts +0 -4
- package/dist/cjs/types/components/icon-button/icon-button-styles.d.ts +0 -882
- package/dist/cjs/types/components/icon-button/icon-button.d.ts +0 -32
- package/dist/cjs/types/components/icon-button/index.d.ts +0 -1
- package/dist/cjs/types/components/index.d.ts +0 -23
- package/dist/cjs/types/components/label/index.d.ts +0 -1
- package/dist/cjs/types/components/label/label.d.ts +0 -445
- package/dist/cjs/types/components/link/index.d.ts +0 -1
- package/dist/cjs/types/components/link/link.d.ts +0 -15
- package/dist/cjs/types/components/loading-dots/index.d.ts +0 -1
- package/dist/cjs/types/components/loading-dots/loading-dots.d.ts +0 -425
- package/dist/cjs/types/components/paragraph/index.d.ts +0 -1
- package/dist/cjs/types/components/paragraph/paragraph.d.ts +0 -476
- package/dist/cjs/types/components/primitives/index.d.ts +0 -3
- package/dist/cjs/types/components/primitives/input-base/index.d.ts +0 -1
- package/dist/cjs/types/components/primitives/input-base/input-base.d.ts +0 -21
- package/dist/cjs/types/components/primitives/select-base/index.d.ts +0 -1
- package/dist/cjs/types/components/primitives/select-base/select-base.d.ts +0 -30
- package/dist/cjs/types/components/primitives/textarea-base/index.d.ts +0 -1
- package/dist/cjs/types/components/primitives/textarea-base/textarea-base.d.ts +0 -36
- package/dist/cjs/types/components/radio-group/index.d.ts +0 -1
- package/dist/cjs/types/components/radio-group/radio-card.d.ts +0 -26
- package/dist/cjs/types/components/radio-group/radio-group-context.d.ts +0 -16
- package/dist/cjs/types/components/radio-group/radio-group-label.d.ts +0 -4
- package/dist/cjs/types/components/radio-group/radio-group.d.ts +0 -50
- package/dist/cjs/types/components/radio-group/radio-indicator.d.ts +0 -10
- package/dist/cjs/types/components/select/index.d.ts +0 -1
- package/dist/cjs/types/components/select/select-option.d.ts +0 -10
- package/dist/cjs/types/components/select/select.d.ts +0 -25
- package/dist/cjs/types/components/spacer/index.d.ts +0 -1
- package/dist/cjs/types/components/spacer/spacer.d.ts +0 -12
- package/dist/cjs/types/components/stack/index.d.ts +0 -1
- package/dist/cjs/types/components/stack/stack.d.ts +0 -44
- package/dist/cjs/types/components/stack/stack.types.d.ts +0 -4
- package/dist/cjs/types/components/stack/stack.utils.d.ts +0 -6
- package/dist/cjs/types/components/switch/index.d.ts +0 -1
- package/dist/cjs/types/components/switch/switch.d.ts +0 -35
- package/dist/cjs/types/components/text-field/index.d.ts +0 -1
- package/dist/cjs/types/components/text-field/text-field.d.ts +0 -32
- package/dist/cjs/types/components/textarea/index.d.ts +0 -1
- package/dist/cjs/types/components/textarea/textarea.d.ts +0 -27
- package/dist/cjs/types/components/toast/index.d.ts +0 -1
- package/dist/cjs/types/components/toast/toast-provider.d.ts +0 -4
- package/dist/cjs/types/components/toast/toast-store.d.ts +0 -44
- package/dist/cjs/types/components/toast/toast-styles.d.ts +0 -417
- package/dist/cjs/types/components/toast/toast.d.ts +0 -12
- package/dist/cjs/types/hooks/index.d.ts +0 -5
- package/dist/cjs/types/hooks/use-breakpoint-value.d.ts +0 -16
- package/dist/cjs/types/hooks/use-breakpoint.d.ts +0 -15
- package/dist/cjs/types/hooks/use-form-field.d.ts +0 -49
- package/dist/cjs/types/hooks/use-responsive-prop.d.ts +0 -16
- package/dist/cjs/types/hooks/use-safe-layout-effect.d.ts +0 -9
- package/dist/cjs/types/hooks/use-stable-id.d.ts +0 -4
- package/dist/cjs/types/i18n/locale-context.d.ts +0 -12
- package/dist/cjs/types/i18n/locales.d.ts +0 -8
- package/dist/cjs/types/i18n/use-translation.d.ts +0 -6
- package/dist/cjs/types/index.d.ts +0 -6
- package/dist/cjs/types/qds-provider.d.ts +0 -12
- package/dist/cjs/types/styles/common-styles.d.ts +0 -451
- package/dist/cjs/types/styles/css-reset.d.ts +0 -4
- package/dist/cjs/types/styles/css-utils.d.ts +0 -19
- package/dist/cjs/types/styles/global-styles.d.ts +0 -4
- package/dist/cjs/types/styles/index.d.ts +0 -3
- package/dist/cjs/types/theme/foundations/breakpoints.d.ts +0 -8
- package/dist/cjs/types/theme/foundations/colors.d.ts +0 -117
- package/dist/cjs/types/theme/foundations/index.d.ts +0 -411
- package/dist/cjs/types/theme/foundations/radius.d.ts +0 -20
- package/dist/cjs/types/theme/foundations/shadows.d.ts +0 -7
- package/dist/cjs/types/theme/foundations/sizes.d.ts +0 -34
- package/dist/cjs/types/theme/foundations/spacing.d.ts +0 -30
- package/dist/cjs/types/theme/foundations/typography.d.ts +0 -189
- package/dist/cjs/types/theme/foundations/z-index.d.ts +0 -28
- package/dist/cjs/types/theme/index.d.ts +0 -2
- package/dist/cjs/types/theme/theme-tools.d.ts +0 -421
- package/dist/cjs/types/theme/theme.d.ts +0 -407
- package/dist/cjs/types/types.d.ts +0 -5
- package/dist/cjs/types/utils/html-attributes.d.ts +0 -4
- package/dist/cjs/types/utils/merge-refs.d.ts +0 -5
- package/dist/cjs/types/utils/object.d.ts +0 -1
- package/dist/cjs/types/utils/polymorphic.d.ts +0 -41
- package/dist/esm/index.js +0 -9236
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/types/components/_internal/form-parts.d.ts +0 -10
- package/dist/esm/types/components/_internal/index.d.ts +0 -1
- package/dist/esm/types/components/avatar/avatar.d.ts +0 -33
- package/dist/esm/types/components/avatar/index.d.ts +0 -1
- package/dist/esm/types/components/button/button-icon.d.ts +0 -10
- package/dist/esm/types/components/button/button-styles.d.ts +0 -909
- package/dist/esm/types/components/button/button-types.d.ts +0 -44
- package/dist/esm/types/components/button/button.d.ts +0 -6
- package/dist/esm/types/components/button/index.d.ts +0 -1
- package/dist/esm/types/components/checkbox/checkbox.d.ts +0 -78
- package/dist/esm/types/components/checkbox/index.d.ts +0 -1
- package/dist/esm/types/components/display-text/display-text.d.ts +0 -30
- package/dist/esm/types/components/display-text/index.d.ts +0 -1
- package/dist/esm/types/components/divider/divider.d.ts +0 -14
- package/dist/esm/types/components/divider/index.d.ts +0 -1
- package/dist/esm/types/components/dropdown-menu/dropdown-menu-content.d.ts +0 -67
- package/dist/esm/types/components/dropdown-menu/dropdown-menu-divider.d.ts +0 -4
- package/dist/esm/types/components/dropdown-menu/dropdown-menu-item.d.ts +0 -28
- package/dist/esm/types/components/dropdown-menu/dropdown-menu-trigger.d.ts +0 -5
- package/dist/esm/types/components/dropdown-menu/dropdown-menu.d.ts +0 -29
- package/dist/esm/types/components/dropdown-menu/index.d.ts +0 -1
- package/dist/esm/types/components/heading/heading.d.ts +0 -32
- package/dist/esm/types/components/heading/index.d.ts +0 -1
- package/dist/esm/types/components/hint-box/hint-box.d.ts +0 -10
- package/dist/esm/types/components/hint-box/index.d.ts +0 -1
- package/dist/esm/types/components/icon/create-icon.d.ts +0 -41
- package/dist/esm/types/components/icon/create-lucide-icon.d.ts +0 -4
- package/dist/esm/types/components/icon/icon.types.d.ts +0 -22
- package/dist/esm/types/components/icon/icons.d.ts +0 -48
- package/dist/esm/types/components/icon/index.d.ts +0 -4
- package/dist/esm/types/components/icon-button/icon-button-styles.d.ts +0 -882
- package/dist/esm/types/components/icon-button/icon-button.d.ts +0 -32
- package/dist/esm/types/components/icon-button/index.d.ts +0 -1
- package/dist/esm/types/components/index.d.ts +0 -23
- package/dist/esm/types/components/label/index.d.ts +0 -1
- package/dist/esm/types/components/label/label.d.ts +0 -445
- package/dist/esm/types/components/link/index.d.ts +0 -1
- package/dist/esm/types/components/link/link.d.ts +0 -15
- package/dist/esm/types/components/loading-dots/index.d.ts +0 -1
- package/dist/esm/types/components/loading-dots/loading-dots.d.ts +0 -425
- package/dist/esm/types/components/paragraph/index.d.ts +0 -1
- package/dist/esm/types/components/paragraph/paragraph.d.ts +0 -476
- package/dist/esm/types/components/primitives/index.d.ts +0 -3
- package/dist/esm/types/components/primitives/input-base/index.d.ts +0 -1
- package/dist/esm/types/components/primitives/input-base/input-base.d.ts +0 -21
- package/dist/esm/types/components/primitives/select-base/index.d.ts +0 -1
- package/dist/esm/types/components/primitives/select-base/select-base.d.ts +0 -30
- package/dist/esm/types/components/primitives/textarea-base/index.d.ts +0 -1
- package/dist/esm/types/components/primitives/textarea-base/textarea-base.d.ts +0 -36
- package/dist/esm/types/components/radio-group/index.d.ts +0 -1
- package/dist/esm/types/components/radio-group/radio-card.d.ts +0 -26
- package/dist/esm/types/components/radio-group/radio-group-context.d.ts +0 -16
- package/dist/esm/types/components/radio-group/radio-group-label.d.ts +0 -4
- package/dist/esm/types/components/radio-group/radio-group.d.ts +0 -50
- package/dist/esm/types/components/radio-group/radio-indicator.d.ts +0 -10
- package/dist/esm/types/components/select/index.d.ts +0 -1
- package/dist/esm/types/components/select/select-option.d.ts +0 -10
- package/dist/esm/types/components/select/select.d.ts +0 -25
- package/dist/esm/types/components/spacer/index.d.ts +0 -1
- package/dist/esm/types/components/spacer/spacer.d.ts +0 -12
- package/dist/esm/types/components/stack/index.d.ts +0 -1
- package/dist/esm/types/components/stack/stack.d.ts +0 -44
- package/dist/esm/types/components/stack/stack.types.d.ts +0 -4
- package/dist/esm/types/components/stack/stack.utils.d.ts +0 -6
- package/dist/esm/types/components/switch/index.d.ts +0 -1
- package/dist/esm/types/components/switch/switch.d.ts +0 -35
- package/dist/esm/types/components/text-field/index.d.ts +0 -1
- package/dist/esm/types/components/text-field/text-field.d.ts +0 -32
- package/dist/esm/types/components/textarea/index.d.ts +0 -1
- package/dist/esm/types/components/textarea/textarea.d.ts +0 -27
- package/dist/esm/types/components/toast/index.d.ts +0 -1
- package/dist/esm/types/components/toast/toast-provider.d.ts +0 -4
- package/dist/esm/types/components/toast/toast-store.d.ts +0 -44
- package/dist/esm/types/components/toast/toast-styles.d.ts +0 -417
- package/dist/esm/types/components/toast/toast.d.ts +0 -12
- package/dist/esm/types/hooks/index.d.ts +0 -5
- package/dist/esm/types/hooks/use-breakpoint-value.d.ts +0 -16
- package/dist/esm/types/hooks/use-breakpoint.d.ts +0 -15
- package/dist/esm/types/hooks/use-form-field.d.ts +0 -49
- package/dist/esm/types/hooks/use-responsive-prop.d.ts +0 -16
- package/dist/esm/types/hooks/use-safe-layout-effect.d.ts +0 -9
- package/dist/esm/types/hooks/use-stable-id.d.ts +0 -4
- package/dist/esm/types/i18n/locale-context.d.ts +0 -12
- package/dist/esm/types/i18n/locales.d.ts +0 -8
- package/dist/esm/types/i18n/use-translation.d.ts +0 -6
- package/dist/esm/types/index.d.ts +0 -6
- package/dist/esm/types/qds-provider.d.ts +0 -12
- package/dist/esm/types/styles/common-styles.d.ts +0 -451
- package/dist/esm/types/styles/css-reset.d.ts +0 -4
- package/dist/esm/types/styles/css-utils.d.ts +0 -19
- package/dist/esm/types/styles/global-styles.d.ts +0 -4
- package/dist/esm/types/styles/index.d.ts +0 -3
- package/dist/esm/types/theme/foundations/breakpoints.d.ts +0 -8
- package/dist/esm/types/theme/foundations/colors.d.ts +0 -117
- package/dist/esm/types/theme/foundations/index.d.ts +0 -411
- package/dist/esm/types/theme/foundations/radius.d.ts +0 -20
- package/dist/esm/types/theme/foundations/shadows.d.ts +0 -7
- package/dist/esm/types/theme/foundations/sizes.d.ts +0 -34
- package/dist/esm/types/theme/foundations/spacing.d.ts +0 -30
- package/dist/esm/types/theme/foundations/typography.d.ts +0 -189
- package/dist/esm/types/theme/foundations/z-index.d.ts +0 -28
- package/dist/esm/types/theme/index.d.ts +0 -2
- package/dist/esm/types/theme/theme-tools.d.ts +0 -421
- package/dist/esm/types/theme/theme.d.ts +0 -407
- package/dist/esm/types/types.d.ts +0 -5
- package/dist/esm/types/utils/html-attributes.d.ts +0 -4
- package/dist/esm/types/utils/merge-refs.d.ts +0 -5
- package/dist/esm/types/utils/object.d.ts +0 -1
- package/dist/esm/types/utils/polymorphic.d.ts +0 -41
|
@@ -1,407 +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
|
-
blackAlpha5: string;
|
|
111
|
-
blackAlpha20: string;
|
|
112
|
-
};
|
|
113
|
-
bg: {
|
|
114
|
-
default: string;
|
|
115
|
-
brandPrimary: string;
|
|
116
|
-
brandPrimaryHover: string;
|
|
117
|
-
brandPrimaryActive: string;
|
|
118
|
-
brandSecondary: string;
|
|
119
|
-
brandSecondaryHover: string;
|
|
120
|
-
brandSecondaryActive: string;
|
|
121
|
-
brandTertiary: string;
|
|
122
|
-
brandTertiaryHover: string;
|
|
123
|
-
brandTertiaryActive: string;
|
|
124
|
-
negative: string;
|
|
125
|
-
warning: string;
|
|
126
|
-
positive: string;
|
|
127
|
-
inset: string;
|
|
128
|
-
backdrop: string;
|
|
129
|
-
};
|
|
130
|
-
text: {
|
|
131
|
-
strong: string;
|
|
132
|
-
default: string;
|
|
133
|
-
subtle: string;
|
|
134
|
-
disabled: string;
|
|
135
|
-
negative: string;
|
|
136
|
-
warning: string;
|
|
137
|
-
positive: string;
|
|
138
|
-
onBrandPrimary: string;
|
|
139
|
-
onBrandSecondary: string;
|
|
140
|
-
onBrandTertiary: string;
|
|
141
|
-
};
|
|
142
|
-
icon: {
|
|
143
|
-
default: string;
|
|
144
|
-
strong: string;
|
|
145
|
-
subtle: string;
|
|
146
|
-
disabled: string;
|
|
147
|
-
negative: string;
|
|
148
|
-
warning: string;
|
|
149
|
-
positive: string;
|
|
150
|
-
onBrandPrimary: string;
|
|
151
|
-
onBrandSecondary: string;
|
|
152
|
-
onBrandTertiary: string;
|
|
153
|
-
};
|
|
154
|
-
border: {
|
|
155
|
-
default: string;
|
|
156
|
-
defaultHover: string;
|
|
157
|
-
defaultSelected: string;
|
|
158
|
-
strong: string;
|
|
159
|
-
subtle: string;
|
|
160
|
-
negative: string;
|
|
161
|
-
warning: string;
|
|
162
|
-
positive: string;
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
sizes: {
|
|
166
|
-
112: string;
|
|
167
|
-
128: string;
|
|
168
|
-
144: string;
|
|
169
|
-
160: string;
|
|
170
|
-
176: string;
|
|
171
|
-
192: string;
|
|
172
|
-
224: string;
|
|
173
|
-
256: string;
|
|
174
|
-
288: string;
|
|
175
|
-
320: string;
|
|
176
|
-
384: string;
|
|
177
|
-
448: string;
|
|
178
|
-
512: string;
|
|
179
|
-
576: string;
|
|
180
|
-
672: string;
|
|
181
|
-
768: string;
|
|
182
|
-
896: string;
|
|
183
|
-
1024: string;
|
|
184
|
-
'0x': string;
|
|
185
|
-
'1x': string;
|
|
186
|
-
'2x': string;
|
|
187
|
-
'3x': string;
|
|
188
|
-
'4x': string;
|
|
189
|
-
'5x': string;
|
|
190
|
-
'6x': string;
|
|
191
|
-
'8x': string;
|
|
192
|
-
'10x': string;
|
|
193
|
-
'12x': string;
|
|
194
|
-
'14x': string;
|
|
195
|
-
'16x': string;
|
|
196
|
-
'20x': string;
|
|
197
|
-
'24x': string;
|
|
198
|
-
};
|
|
199
|
-
radii: {
|
|
200
|
-
none: string;
|
|
201
|
-
'2xs': string;
|
|
202
|
-
xs: string;
|
|
203
|
-
sm: string;
|
|
204
|
-
md: string;
|
|
205
|
-
lg: string;
|
|
206
|
-
xl: string;
|
|
207
|
-
'2xl': string;
|
|
208
|
-
full: string;
|
|
209
|
-
};
|
|
210
|
-
shadows: {
|
|
211
|
-
none: string;
|
|
212
|
-
sm: string;
|
|
213
|
-
md: string;
|
|
214
|
-
lg: string;
|
|
215
|
-
xl: string;
|
|
216
|
-
};
|
|
217
|
-
typography: {
|
|
218
|
-
display: {
|
|
219
|
-
'3xl': {
|
|
220
|
-
fontFamily: string;
|
|
221
|
-
fontWeight: string;
|
|
222
|
-
fontSize: string;
|
|
223
|
-
lineHeight: string;
|
|
224
|
-
letterSpacing: string;
|
|
225
|
-
fontFeatureSettings: string;
|
|
226
|
-
};
|
|
227
|
-
'2xl': {
|
|
228
|
-
fontFamily: string;
|
|
229
|
-
fontWeight: string;
|
|
230
|
-
fontSize: string;
|
|
231
|
-
lineHeight: string;
|
|
232
|
-
letterSpacing: string;
|
|
233
|
-
fontFeatureSettings: string;
|
|
234
|
-
};
|
|
235
|
-
xl: {
|
|
236
|
-
fontFamily: string;
|
|
237
|
-
fontWeight: string;
|
|
238
|
-
fontSize: string;
|
|
239
|
-
lineHeight: string;
|
|
240
|
-
letterSpacing: string;
|
|
241
|
-
fontFeatureSettings: string;
|
|
242
|
-
};
|
|
243
|
-
lg: {
|
|
244
|
-
fontFamily: string;
|
|
245
|
-
fontWeight: string;
|
|
246
|
-
fontSize: string;
|
|
247
|
-
lineHeight: string;
|
|
248
|
-
letterSpacing: string;
|
|
249
|
-
fontFeatureSettings: string;
|
|
250
|
-
};
|
|
251
|
-
md: {
|
|
252
|
-
fontFamily: string;
|
|
253
|
-
fontWeight: string;
|
|
254
|
-
fontSize: string;
|
|
255
|
-
lineHeight: string;
|
|
256
|
-
letterSpacing: string;
|
|
257
|
-
fontFeatureSettings: string;
|
|
258
|
-
};
|
|
259
|
-
sm: {
|
|
260
|
-
fontFamily: string;
|
|
261
|
-
fontWeight: string;
|
|
262
|
-
fontSize: string;
|
|
263
|
-
lineHeight: string;
|
|
264
|
-
letterSpacing: string;
|
|
265
|
-
fontFeatureSettings: string;
|
|
266
|
-
};
|
|
267
|
-
xs: {
|
|
268
|
-
fontFamily: string;
|
|
269
|
-
fontWeight: string;
|
|
270
|
-
fontSize: string;
|
|
271
|
-
lineHeight: string;
|
|
272
|
-
letterSpacing: string;
|
|
273
|
-
fontFeatureSettings: string;
|
|
274
|
-
};
|
|
275
|
-
};
|
|
276
|
-
title: {
|
|
277
|
-
lg: {
|
|
278
|
-
fontFamily: string;
|
|
279
|
-
fontWeight: string;
|
|
280
|
-
fontSize: string;
|
|
281
|
-
lineHeight: string;
|
|
282
|
-
letterSpacing: string;
|
|
283
|
-
};
|
|
284
|
-
md: {
|
|
285
|
-
fontFamily: string;
|
|
286
|
-
fontWeight: string;
|
|
287
|
-
fontSize: string;
|
|
288
|
-
lineHeight: string;
|
|
289
|
-
letterSpacing: string;
|
|
290
|
-
};
|
|
291
|
-
sm: {
|
|
292
|
-
fontFamily: string;
|
|
293
|
-
fontWeight: string;
|
|
294
|
-
fontSize: string;
|
|
295
|
-
lineHeight: string;
|
|
296
|
-
letterSpacing: string;
|
|
297
|
-
};
|
|
298
|
-
xs: {
|
|
299
|
-
fontFamily: string;
|
|
300
|
-
fontWeight: string;
|
|
301
|
-
fontSize: string;
|
|
302
|
-
lineHeight: string;
|
|
303
|
-
letterSpacing: string;
|
|
304
|
-
};
|
|
305
|
-
'2xs': {
|
|
306
|
-
fontFamily: string;
|
|
307
|
-
fontWeight: string;
|
|
308
|
-
fontSize: string;
|
|
309
|
-
lineHeight: string;
|
|
310
|
-
letterSpacing: string;
|
|
311
|
-
};
|
|
312
|
-
'3xs': {
|
|
313
|
-
fontFamily: string;
|
|
314
|
-
fontWeight: string;
|
|
315
|
-
fontSize: string;
|
|
316
|
-
lineHeight: string;
|
|
317
|
-
letterSpacing: string;
|
|
318
|
-
};
|
|
319
|
-
};
|
|
320
|
-
body: {
|
|
321
|
-
xl: {
|
|
322
|
-
fontFamily: string;
|
|
323
|
-
fontWeight: string;
|
|
324
|
-
fontSize: string;
|
|
325
|
-
lineHeight: string;
|
|
326
|
-
letterSpacing: string;
|
|
327
|
-
};
|
|
328
|
-
lg: {
|
|
329
|
-
fontFamily: string;
|
|
330
|
-
fontWeight: string;
|
|
331
|
-
fontSize: string;
|
|
332
|
-
lineHeight: string;
|
|
333
|
-
letterSpacing: string;
|
|
334
|
-
};
|
|
335
|
-
md: {
|
|
336
|
-
fontFamily: string;
|
|
337
|
-
fontWeight: string;
|
|
338
|
-
fontSize: string;
|
|
339
|
-
lineHeight: string;
|
|
340
|
-
letterSpacing: string;
|
|
341
|
-
};
|
|
342
|
-
sm: {
|
|
343
|
-
fontFamily: string;
|
|
344
|
-
fontWeight: string;
|
|
345
|
-
fontSize: string;
|
|
346
|
-
lineHeight: string;
|
|
347
|
-
letterSpacing: string;
|
|
348
|
-
};
|
|
349
|
-
xs: {
|
|
350
|
-
fontFamily: string;
|
|
351
|
-
fontWeight: string;
|
|
352
|
-
fontSize: string;
|
|
353
|
-
lineHeight: string;
|
|
354
|
-
letterSpacing: string;
|
|
355
|
-
};
|
|
356
|
-
};
|
|
357
|
-
label: {
|
|
358
|
-
md: {
|
|
359
|
-
fontFamily: string;
|
|
360
|
-
fontWeight: string;
|
|
361
|
-
fontSize: string;
|
|
362
|
-
lineHeight: string;
|
|
363
|
-
letterSpacing: string;
|
|
364
|
-
};
|
|
365
|
-
sm: {
|
|
366
|
-
fontFamily: string;
|
|
367
|
-
fontWeight: string;
|
|
368
|
-
fontSize: string;
|
|
369
|
-
lineHeight: string;
|
|
370
|
-
letterSpacing: string;
|
|
371
|
-
};
|
|
372
|
-
};
|
|
373
|
-
button: {
|
|
374
|
-
md: {
|
|
375
|
-
fontFamily: string;
|
|
376
|
-
fontWeight: string;
|
|
377
|
-
fontSize: string;
|
|
378
|
-
lineHeight: string;
|
|
379
|
-
letterSpacing: string;
|
|
380
|
-
};
|
|
381
|
-
sm: {
|
|
382
|
-
fontFamily: string;
|
|
383
|
-
fontWeight: string;
|
|
384
|
-
fontSize: string;
|
|
385
|
-
lineHeight: string;
|
|
386
|
-
letterSpacing: string;
|
|
387
|
-
};
|
|
388
|
-
};
|
|
389
|
-
caption: {
|
|
390
|
-
md: {
|
|
391
|
-
fontFamily: string;
|
|
392
|
-
fontWeight: string;
|
|
393
|
-
fontSize: string;
|
|
394
|
-
lineHeight: string;
|
|
395
|
-
letterSpacing: string;
|
|
396
|
-
};
|
|
397
|
-
sm: {
|
|
398
|
-
fontFamily: string;
|
|
399
|
-
fontWeight: string;
|
|
400
|
-
fontSize: string;
|
|
401
|
-
lineHeight: string;
|
|
402
|
-
letterSpacing: string;
|
|
403
|
-
};
|
|
404
|
-
};
|
|
405
|
-
};
|
|
406
|
-
};
|
|
407
|
-
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 +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 };
|