@sk-web-gui/react 1.2.16 → 1.2.17
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/cjs/index.js.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/types/accordion/index.d.ts +1 -0
- package/dist/types/accordion/src/accordion/accordion-item.d.ts +1 -1
- package/dist/types/accordion/src/index.d.ts +2 -0
- package/dist/types/accordion/stories/accordion.stories.d.ts +8 -0
- package/dist/types/accordion/stories/disclosure.stories.d.ts +9 -0
- package/dist/types/avatar/index.d.ts +2 -0
- package/dist/types/avatar/src/avatar.d.ts +17 -0
- package/dist/types/avatar/src/index.d.ts +8 -0
- package/dist/types/avatar/stories/avatar.stories.d.ts +8 -0
- package/dist/types/badge/index.d.ts +2 -0
- package/dist/types/badge/src/badge.d.ts +12 -0
- package/dist/types/badge/src/index.d.ts +8 -0
- package/dist/types/badge/stories/badge.stories.d.ts +8 -0
- package/dist/types/breadcrumb/index.d.ts +1 -0
- package/dist/types/breadcrumb/stories/breadcrumb.stories.d.ts +7 -0
- package/dist/types/button/index.d.ts +1 -0
- package/dist/types/button/stories/announcement.d.ts +5 -0
- package/dist/types/button/stories/button-group.stories.d.ts +8 -0
- package/dist/types/button/stories/button.stories.d.ts +7 -0
- package/dist/types/card/index.d.ts +1 -0
- package/dist/types/card/stories/card.stories.d.ts +4 -0
- package/dist/types/card/stories/meta-card.stories.d.ts +4 -0
- package/dist/types/chip/index.d.ts +2 -0
- package/dist/types/chip/src/chip.d.ts +7 -0
- package/dist/types/chip/src/index.d.ts +4 -0
- package/dist/types/chip/stories/chip.stories.d.ts +12 -0
- package/dist/types/cookie-consent/index.d.ts +1 -0
- package/dist/types/cookie-consent/stories/cookie-consent.stories.d.ts +7 -0
- package/dist/types/core/src/aria-plugin.d.ts +4 -0
- package/dist/types/core/src/base.d.ts +53 -0
- package/dist/types/core/src/colors.d.ts +643 -0
- package/dist/types/core/src/components/accordion.d.ts +164 -0
- package/dist/types/core/src/components/alert.d.ts +21 -0
- package/dist/types/core/src/components/avatar.d.ts +26 -0
- package/dist/types/core/src/components/badge.d.ts +21 -0
- package/dist/types/core/src/components/breadcrumb.d.ts +28 -0
- package/dist/types/core/src/components/button-group.d.ts +25 -0
- package/dist/types/core/src/components/button.d.ts +201 -0
- package/dist/types/core/src/components/card.d.ts +135 -0
- package/dist/types/core/src/components/checkbox.d.ts +108 -0
- package/dist/types/core/src/components/chip.d.ts +34 -0
- package/dist/types/core/src/components/code.d.ts +8 -0
- package/dist/types/core/src/components/combobox.d.ts +72 -0
- package/dist/types/core/src/components/cookie-consent.d.ts +35 -0
- package/dist/types/core/src/components/dialog.d.ts +5 -0
- package/dist/types/core/src/components/divider.d.ts +50 -0
- package/dist/types/core/src/components/dot.d.ts +43 -0
- package/dist/types/core/src/components/filter.d.ts +14 -0
- package/dist/types/core/src/components/footer.d.ts +27 -0
- package/dist/types/core/src/components/forms.d.ts +24 -0
- package/dist/types/core/src/components/header.d.ts +28 -0
- package/dist/types/core/src/components/icon.d.ts +38 -0
- package/dist/types/core/src/components/input.d.ts +214 -0
- package/dist/types/core/src/components/kbd.d.ts +7 -0
- package/dist/types/core/src/components/label.d.ts +27 -0
- package/dist/types/core/src/components/link.d.ts +43 -0
- package/dist/types/core/src/components/list.d.ts +52 -0
- package/dist/types/core/src/components/logo.d.ts +48 -0
- package/dist/types/core/src/components/menu-vertical.d.ts +215 -0
- package/dist/types/core/src/components/menubar.d.ts +35 -0
- package/dist/types/core/src/components/modal.d.ts +45 -0
- package/dist/types/core/src/components/pagination.d.ts +101 -0
- package/dist/types/core/src/components/popup-menu.d.ts +138 -0
- package/dist/types/core/src/components/progress-bar.d.ts +13 -0
- package/dist/types/core/src/components/progress-stepper.d.ts +60 -0
- package/dist/types/core/src/components/radio.d.ts +125 -0
- package/dist/types/core/src/components/search-field.d.ts +34 -0
- package/dist/types/core/src/components/select.d.ts +141 -0
- package/dist/types/core/src/components/snackbar.d.ts +30 -0
- package/dist/types/core/src/components/spinner.d.ts +10 -0
- package/dist/types/core/src/components/switch.d.ts +64 -0
- package/dist/types/core/src/components/table-autotable.d.ts +221 -0
- package/dist/types/core/src/components/table.d.ts +11 -0
- package/dist/types/core/src/components/tabs.d.ts +14 -0
- package/dist/types/core/src/components/tooltip.d.ts +53 -0
- package/dist/types/core/src/components/user-menu.d.ts +14 -0
- package/dist/types/core/src/data-plugin.d.ts +4 -0
- package/dist/types/core/src/index.d.ts +6 -0
- package/dist/types/core/src/plugin.d.ts +12 -0
- package/dist/types/core/src/preset.d.ts +18 -0
- package/dist/types/core/src/theme.d.ts +4 -0
- package/dist/types/core/src/units.d.ts +251 -0
- package/dist/types/core/src/with-opacity.d.ts +4 -0
- package/dist/types/divider/index.d.ts +2 -0
- package/dist/types/divider/src/divider-section.d.ts +12 -0
- package/dist/types/divider/src/divider.d.ts +8 -0
- package/dist/types/divider/src/index.d.ts +10 -0
- package/dist/types/divider/src/styles.d.ts +1 -0
- package/dist/types/divider/stories/divider-section.stories.d.ts +8 -0
- package/dist/types/divider/stories/divider.stories.d.ts +8 -0
- package/dist/types/filter/index.d.ts +2 -0
- package/dist/types/filter/src/filter-item.d.ts +7 -0
- package/dist/types/filter/src/filter-label.d.ts +7 -0
- package/dist/types/filter/src/filter.d.ts +6 -0
- package/dist/types/filter/src/index.d.ts +12 -0
- package/dist/types/filter/stories/filter.stories.d.ts +7 -0
- package/dist/types/forms/index.d.ts +2 -0
- package/dist/types/forms/src/checkbox/checkbox-group.d.ts +46 -0
- package/dist/types/forms/src/checkbox/checkbox.d.ts +39 -0
- package/dist/types/forms/src/checkbox/index.d.ts +10 -0
- package/dist/types/forms/src/checkbox/styles.d.ts +2 -0
- package/dist/types/forms/src/combobox/combobox-context.d.ts +42 -0
- package/dist/types/forms/src/combobox/combobox-input.d.ts +44 -0
- package/dist/types/forms/src/combobox/combobox-list.d.ts +8 -0
- package/dist/types/forms/src/combobox/combobox-option.d.ts +11 -0
- package/dist/types/forms/src/combobox/combobox.d.ts +6 -0
- package/dist/types/forms/src/combobox/index.d.ts +15 -0
- package/dist/types/forms/src/combobox/styles.d.ts +1 -0
- package/dist/types/forms/src/date-picker/date-picker.d.ts +7 -0
- package/dist/types/forms/src/date-picker/index.d.ts +8 -0
- package/dist/types/forms/src/form-control/index.d.ts +40 -0
- package/dist/types/forms/src/form-error-message/index.d.ts +8 -0
- package/dist/types/forms/src/form-helper-text/index.d.ts +8 -0
- package/dist/types/forms/src/form-label/index.d.ts +20 -0
- package/dist/types/forms/src/index.d.ts +26 -0
- package/dist/types/forms/src/input/index.d.ts +13 -0
- package/dist/types/forms/src/input/input.d.ts +26 -0
- package/dist/types/forms/src/input/styles.d.ts +1 -0
- package/dist/types/forms/src/input-addin/index.d.ts +12 -0
- package/dist/types/forms/src/input-group/index.d.ts +11 -0
- package/dist/types/forms/src/input-group/styles.d.ts +1 -0
- package/dist/types/forms/src/radio/index.d.ts +10 -0
- package/dist/types/forms/src/radio/radio-group.d.ts +48 -0
- package/dist/types/forms/src/radio/radio.d.ts +32 -0
- package/dist/types/forms/src/radio/styles.d.ts +3 -0
- package/dist/types/forms/src/select/index.d.ts +18 -0
- package/dist/types/forms/src/select/styles.d.ts +1 -0
- package/dist/types/forms/src/switch/index.d.ts +8 -0
- package/dist/types/forms/src/switch/switchcomponent.d.ts +9 -0
- package/dist/types/forms/src/text-field/index.d.ts +8 -0
- package/dist/types/forms/src/text-field/text-field.d.ts +6 -0
- package/dist/types/forms/src/textarea/index.d.ts +12 -0
- package/dist/types/forms/stories/check.d.ts +5 -0
- package/dist/types/forms/stories/checkbox-group.stories.d.ts +11 -0
- package/dist/types/forms/stories/checkbox.stories.d.ts +8 -0
- package/dist/types/forms/stories/combobox.stories.d.ts +19 -0
- package/dist/types/forms/stories/date-picker.stories.d.ts +21 -0
- package/dist/types/forms/stories/form-control.stories.d.ts +10 -0
- package/dist/types/forms/stories/input.stories.d.ts +21 -0
- package/dist/types/forms/stories/radio-group.stories.d.ts +11 -0
- package/dist/types/forms/stories/radio.stories.d.ts +14 -0
- package/dist/types/forms/stories/select.stories.d.ts +10 -0
- package/dist/types/forms/stories/switch.stories.d.ts +8 -0
- package/dist/types/forms/stories/text-field.stories.d.ts +18 -0
- package/dist/types/forms/stories/textarea.stories.d.ts +42 -0
- package/dist/types/icon/index.d.ts +2 -0
- package/dist/types/icon/src/icon-padded.d.ts +4 -0
- package/dist/types/icon/src/icon.d.ts +20 -0
- package/dist/types/icon/src/index.d.ts +10 -0
- package/dist/types/icon/stories/icon-padded.stories.d.ts +8 -0
- package/dist/types/icon/stories/icon.stories.d.ts +8 -0
- package/dist/types/image/index.d.ts +2 -0
- package/dist/types/image/src/image.d.ts +28 -0
- package/dist/types/image/src/index.d.ts +4 -0
- package/dist/types/image/src/use-image.d.ts +52 -0
- package/dist/types/image/stories/image.stories.d.ts +8 -0
- package/dist/types/label/index.d.ts +2 -0
- package/dist/types/label/src/index.d.ts +8 -0
- package/dist/types/label/src/label.d.ts +8 -0
- package/dist/types/label/stories/label.stories.d.ts +8 -0
- package/dist/types/layout/index.d.ts +1 -0
- package/dist/types/layout/src/index.d.ts +2 -0
- package/dist/types/layout/stories/footer.stories.d.ts +7 -0
- package/dist/types/layout/stories/header.stories.d.ts +5 -0
- package/dist/types/link/index.d.ts +1 -0
- package/dist/types/link/stories/link.stories.d.ts +12 -0
- package/dist/types/list/index.d.ts +1 -0
- package/dist/types/list/stories/list.stories.d.ts +7 -0
- package/dist/types/logo/index.d.ts +2 -0
- package/dist/types/logo/src/assets/index.d.ts +2 -0
- package/dist/types/logo/src/assets/logo-svg.d.ts +2 -0
- package/dist/types/logo/src/assets/symbol-svg.d.ts +2 -0
- package/dist/types/logo/src/index.d.ts +4 -0
- package/dist/types/logo/src/logo.d.ts +38 -0
- package/dist/types/logo/stories/logo.stories.d.ts +8 -0
- package/dist/types/menu-vertical/index.d.ts +1 -0
- package/dist/types/menu-vertical/stories/menu-vertical-sidebar.stories.d.ts +8 -0
- package/dist/types/menu-vertical/stories/menu-vertical.stories.d.ts +8 -0
- package/dist/types/menubar/index.d.ts +1 -0
- package/dist/types/menubar/stories/menubar.stories.d.ts +7 -0
- package/dist/types/modal/index.d.ts +1 -0
- package/dist/types/modal/src/dialog/dialog.d.ts +1 -1
- package/dist/types/modal/src/index.d.ts +3 -0
- package/dist/types/modal/stories/confirm.stories.d.ts +10 -0
- package/dist/types/modal/stories/dialog.stories.d.ts +6 -0
- package/dist/types/modal/stories/modal.stories.d.ts +7 -0
- package/dist/types/pagination/index.d.ts +1 -0
- package/dist/types/pagination/stories/pagination.stories.d.ts +8 -0
- package/dist/types/popup-menu/index.d.ts +1 -0
- package/dist/types/popup-menu/src/popup-menu-button.d.ts +1 -1
- package/dist/types/popup-menu/src/styles.d.ts +1 -0
- package/dist/types/popup-menu/stories/popup-menu.stories.d.ts +9 -0
- package/dist/types/progress-bar/index.d.ts +2 -0
- package/dist/types/progress-bar/src/index.d.ts +8 -0
- package/dist/types/progress-bar/src/progress-bar.d.ts +18 -0
- package/dist/types/progress-bar/src/styles.d.ts +0 -0
- package/dist/types/progress-bar/stories/progress-bar.stories.d.ts +8 -0
- package/dist/types/progress-stepper/index.d.ts +2 -0
- package/dist/types/progress-stepper/src/index.d.ts +8 -0
- package/dist/types/progress-stepper/src/progress-step.d.ts +13 -0
- package/dist/types/progress-stepper/src/progress-stepper.d.ts +12 -0
- package/dist/types/progress-stepper/stories/progress-stepper.stories.d.ts +8 -0
- package/dist/types/react/index.d.ts +2 -0
- package/dist/types/react/src/index.d.ts +35 -0
- package/dist/types/searchfield/index.d.ts +1 -0
- package/dist/types/searchfield/src/searchfield-suggestions-list.d.ts +3 -1
- package/dist/types/searchfield/src/searchfield-suggestions-option.d.ts +3 -1
- package/dist/types/searchfield/src/searchfield-suggestions.d.ts +3 -1
- package/dist/types/searchfield/src/searchfield.d.ts +2 -2
- package/dist/types/searchfield/stories/searchfield-suggestions.stories.d.ts +8 -0
- package/dist/types/searchfield/stories/searchfield.stories.d.ts +6 -0
- package/dist/types/snackbar/index.d.ts +1 -0
- package/dist/types/snackbar/stories/snackbar.stories.d.ts +8 -0
- package/dist/types/spinner/index.d.ts +2 -0
- package/dist/types/spinner/src/assets/spinner-square.d.ts +265 -0
- package/dist/types/spinner/src/index.d.ts +4 -0
- package/dist/types/spinner/src/spinner.d.ts +14 -0
- package/dist/types/spinner/stories/spinner.stories.d.ts +8 -0
- package/dist/types/table/index.d.ts +1 -0
- package/dist/types/table/stories/autotable.stories.d.ts +10 -0
- package/dist/types/table/stories/table.stories.d.ts +11 -0
- package/dist/types/tabs/index.d.ts +1 -0
- package/dist/types/tabs/stories/tabs.stories.d.ts +12 -0
- package/dist/types/text/index.d.ts +1 -0
- package/dist/types/text/stories/text.stories.d.ts +7 -0
- package/dist/types/theme/index.d.ts +2 -0
- package/dist/types/theme/src/colors.d.ts +1410 -0
- package/dist/types/theme/src/create-memo-class.d.ts +1 -0
- package/dist/types/theme/src/create-theme-vars/calc.d.ts +19 -0
- package/dist/types/theme/src/create-theme-vars/create-theme-vars.d.ts +9 -0
- package/dist/types/theme/src/create-theme-vars/css-var.d.ts +7 -0
- package/dist/types/theme/src/create-theme-vars/index.d.ts +4 -0
- package/dist/types/theme/src/create-theme-vars/theme-tokens.d.ts +8 -0
- package/dist/types/theme/src/create-theme-vars/to-css-var.d.ts +2 -0
- package/dist/types/theme/src/default-theme.d.ts +4 -0
- package/dist/types/theme/src/gui-provider.d.ts +34 -0
- package/dist/types/theme/src/index.d.ts +14 -0
- package/dist/types/theme/src/types.d.ts +54 -0
- package/dist/types/theme/src/units.d.ts +226 -0
- package/dist/types/theme/src/use-safe-effect.d.ts +2 -0
- package/dist/types/theme/src/utils.d.ts +1 -0
- package/dist/types/toast/index.d.ts +2 -0
- package/dist/types/toast/src/index.d.ts +7 -0
- package/dist/types/toast/src/toast.d.ts +62 -0
- package/dist/types/toasted-notes/index.d.ts +2 -0
- package/dist/types/toasted-notes/src/Alert.d.ts +8 -0
- package/dist/types/toasted-notes/src/Message.d.ts +26 -0
- package/dist/types/toasted-notes/src/Positions.d.ts +9 -0
- package/dist/types/toasted-notes/src/Toast.d.ts +13 -0
- package/dist/types/toasted-notes/src/ToastManager.d.ts +45 -0
- package/dist/types/toasted-notes/src/index.d.ts +4 -0
- package/dist/types/toasted-notes/src/useTimeout.d.ts +3 -0
- package/dist/types/tooltip/index.d.ts +2 -0
- package/dist/types/tooltip/src/index.d.ts +8 -0
- package/dist/types/tooltip/src/tooltip.d.ts +14 -0
- package/dist/types/tooltip/stories/tooltip.stories.d.ts +9 -0
- package/dist/types/user-menu/index.d.ts +1 -0
- package/dist/types/user-menu/stories/user-menu.stories.d.ts +8 -0
- package/dist/types/utils/index.d.ts +2 -0
- package/dist/types/utils/src/assertion.d.ts +6 -0
- package/dist/types/utils/src/children.d.ts +8 -0
- package/dist/types/utils/src/color.d.ts +10 -0
- package/dist/types/utils/src/index.d.ts +20 -0
- package/dist/types/utils/src/object.d.ts +6 -0
- package/dist/types/utils/src/refs.d.ts +5 -0
- package/dist/types/utils/src/slug.d.ts +1 -0
- package/dist/types/utils/src/types.d.ts +56 -0
- package/dist/types/utils/src/use-on-element-outside.d.ts +39 -0
- package/dist/types/utils/src/walk-object.d.ts +5 -0
- package/package.json +37 -37
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
declare const _units: {
|
|
2
|
+
spacing: {
|
|
3
|
+
'0': string;
|
|
4
|
+
'2': string;
|
|
5
|
+
'4': string;
|
|
6
|
+
'6': string;
|
|
7
|
+
'8': string;
|
|
8
|
+
'10': string;
|
|
9
|
+
'12': string;
|
|
10
|
+
'14': string;
|
|
11
|
+
'16': string;
|
|
12
|
+
'18': string;
|
|
13
|
+
'20': string;
|
|
14
|
+
'24': string;
|
|
15
|
+
'32': string;
|
|
16
|
+
'40': string;
|
|
17
|
+
'48': string;
|
|
18
|
+
'56': string;
|
|
19
|
+
'64': string;
|
|
20
|
+
'72': string;
|
|
21
|
+
'80': string;
|
|
22
|
+
};
|
|
23
|
+
fontSizes: {
|
|
24
|
+
'display-1': (string | {
|
|
25
|
+
lineHeight: string;
|
|
26
|
+
fontWeight: number;
|
|
27
|
+
})[];
|
|
28
|
+
'display-1-lg': (string | {
|
|
29
|
+
lineHeight: string;
|
|
30
|
+
fontWeight: number;
|
|
31
|
+
})[];
|
|
32
|
+
'display-1-md': (string | {
|
|
33
|
+
lineHeight: string;
|
|
34
|
+
fontWeight: number;
|
|
35
|
+
})[];
|
|
36
|
+
'display-1-sm': (string | {
|
|
37
|
+
lineHeight: string;
|
|
38
|
+
fontWeight: number;
|
|
39
|
+
})[];
|
|
40
|
+
'display-2': (string | {
|
|
41
|
+
lineHeight: string;
|
|
42
|
+
fontWeight: number;
|
|
43
|
+
})[];
|
|
44
|
+
'display-2-lg': (string | {
|
|
45
|
+
lineHeight: string;
|
|
46
|
+
fontWeight: number;
|
|
47
|
+
})[];
|
|
48
|
+
'display-2-md': (string | {
|
|
49
|
+
lineHeight: string;
|
|
50
|
+
fontWeight: number;
|
|
51
|
+
})[];
|
|
52
|
+
'display-2-sm': (string | {
|
|
53
|
+
lineHeight: string;
|
|
54
|
+
fontWeight: number;
|
|
55
|
+
})[];
|
|
56
|
+
'display-3': (string | {
|
|
57
|
+
lineHeight: string;
|
|
58
|
+
fontWeight: number;
|
|
59
|
+
})[];
|
|
60
|
+
'display-3-lg': (string | {
|
|
61
|
+
lineHeight: string;
|
|
62
|
+
fontWeight: number;
|
|
63
|
+
})[];
|
|
64
|
+
'display-3-md': (string | {
|
|
65
|
+
lineHeight: string;
|
|
66
|
+
fontWeight: number;
|
|
67
|
+
})[];
|
|
68
|
+
'display-3-sm': (string | {
|
|
69
|
+
lineHeight: string;
|
|
70
|
+
fontWeight: number;
|
|
71
|
+
})[];
|
|
72
|
+
h1: (string | {
|
|
73
|
+
lineHeight: string;
|
|
74
|
+
fontWeight: number;
|
|
75
|
+
})[];
|
|
76
|
+
'h1-lg': (string | {
|
|
77
|
+
lineHeight: string;
|
|
78
|
+
fontWeight: number;
|
|
79
|
+
})[];
|
|
80
|
+
'h1-md': (string | {
|
|
81
|
+
lineHeight: string;
|
|
82
|
+
fontWeight: number;
|
|
83
|
+
})[];
|
|
84
|
+
'h1-sm': (string | {
|
|
85
|
+
lineHeight: string;
|
|
86
|
+
fontWeight: number;
|
|
87
|
+
})[];
|
|
88
|
+
h2: (string | {
|
|
89
|
+
lineHeight: string;
|
|
90
|
+
fontWeight: number;
|
|
91
|
+
})[];
|
|
92
|
+
'h2-lg': (string | {
|
|
93
|
+
lineHeight: string;
|
|
94
|
+
fontWeight: number;
|
|
95
|
+
})[];
|
|
96
|
+
'h2-md': (string | {
|
|
97
|
+
lineHeight: string;
|
|
98
|
+
fontWeight: number;
|
|
99
|
+
})[];
|
|
100
|
+
'h2-sm': (string | {
|
|
101
|
+
lineHeight: string;
|
|
102
|
+
fontWeight: number;
|
|
103
|
+
})[];
|
|
104
|
+
h3: (string | {
|
|
105
|
+
lineHeight: string;
|
|
106
|
+
fontWeight: number;
|
|
107
|
+
})[];
|
|
108
|
+
'h3-lg': (string | {
|
|
109
|
+
lineHeight: string;
|
|
110
|
+
fontWeight: number;
|
|
111
|
+
})[];
|
|
112
|
+
'h3-md': (string | {
|
|
113
|
+
lineHeight: string;
|
|
114
|
+
fontWeight: number;
|
|
115
|
+
})[];
|
|
116
|
+
'h3-sm': (string | {
|
|
117
|
+
lineHeight: string;
|
|
118
|
+
fontWeight: number;
|
|
119
|
+
})[];
|
|
120
|
+
h4: (string | {
|
|
121
|
+
lineHeight: string;
|
|
122
|
+
fontWeight: number;
|
|
123
|
+
})[];
|
|
124
|
+
'h4-lg': (string | {
|
|
125
|
+
lineHeight: string;
|
|
126
|
+
fontWeight: number;
|
|
127
|
+
})[];
|
|
128
|
+
'h4-md': (string | {
|
|
129
|
+
lineHeight: string;
|
|
130
|
+
fontWeight: number;
|
|
131
|
+
})[];
|
|
132
|
+
'h4-sm': (string | {
|
|
133
|
+
lineHeight: string;
|
|
134
|
+
fontWeight: number;
|
|
135
|
+
})[];
|
|
136
|
+
'label-large': (string | {
|
|
137
|
+
lineHeight: string;
|
|
138
|
+
fontWeight: number;
|
|
139
|
+
})[];
|
|
140
|
+
'label-medium': (string | {
|
|
141
|
+
lineHeight: string;
|
|
142
|
+
fontWeight: number;
|
|
143
|
+
})[];
|
|
144
|
+
'label-small': (string | {
|
|
145
|
+
lineHeight: string;
|
|
146
|
+
fontWeight: number;
|
|
147
|
+
})[];
|
|
148
|
+
'input-large': (string | {
|
|
149
|
+
lineHeight: string;
|
|
150
|
+
fontWeight: number;
|
|
151
|
+
})[];
|
|
152
|
+
'input-medium': (string | {
|
|
153
|
+
lineHeight: string;
|
|
154
|
+
fontWeight: number;
|
|
155
|
+
})[];
|
|
156
|
+
'input-small': (string | {
|
|
157
|
+
lineHeight: string;
|
|
158
|
+
fontWeight: number;
|
|
159
|
+
})[];
|
|
160
|
+
lead: string[];
|
|
161
|
+
base: string[];
|
|
162
|
+
large: string[];
|
|
163
|
+
small: string[];
|
|
164
|
+
};
|
|
165
|
+
lineHeights: {
|
|
166
|
+
'display-1': string;
|
|
167
|
+
'display-1-lg': string;
|
|
168
|
+
'display-1-md': string;
|
|
169
|
+
'display-1-sm': string;
|
|
170
|
+
'display-2': string;
|
|
171
|
+
'display-2-lg': string;
|
|
172
|
+
'display-2-md': string;
|
|
173
|
+
'display-2-sm': string;
|
|
174
|
+
'display-3': string;
|
|
175
|
+
'display-3-lg': string;
|
|
176
|
+
'display-3-md': string;
|
|
177
|
+
'display-3-sm': string;
|
|
178
|
+
h1: string;
|
|
179
|
+
'h1-lg': string;
|
|
180
|
+
'h1-md': string;
|
|
181
|
+
'h1-sm': string;
|
|
182
|
+
h2: string;
|
|
183
|
+
'h2-lg': string;
|
|
184
|
+
'h2-md': string;
|
|
185
|
+
'h2-sm': string;
|
|
186
|
+
h3: string;
|
|
187
|
+
'h3-lg': string;
|
|
188
|
+
'h3-md': string;
|
|
189
|
+
'h3-sm': string;
|
|
190
|
+
h4: string;
|
|
191
|
+
'h4-lg': string;
|
|
192
|
+
'h4-md': string;
|
|
193
|
+
'h4-sm': string;
|
|
194
|
+
'label-large': string;
|
|
195
|
+
'label-medium': string;
|
|
196
|
+
'label-small': string;
|
|
197
|
+
'input-large': string;
|
|
198
|
+
'input-medium': string;
|
|
199
|
+
'input-small': string;
|
|
200
|
+
lead: string;
|
|
201
|
+
base: string;
|
|
202
|
+
large: string;
|
|
203
|
+
small: string;
|
|
204
|
+
};
|
|
205
|
+
radius: {
|
|
206
|
+
DEFAULT: string;
|
|
207
|
+
full: string;
|
|
208
|
+
none: string;
|
|
209
|
+
circular: string;
|
|
210
|
+
'circular-lg': string;
|
|
211
|
+
'circular-md': string;
|
|
212
|
+
'circular-sm': string;
|
|
213
|
+
button: string;
|
|
214
|
+
'button-lg': string;
|
|
215
|
+
'button-md': string;
|
|
216
|
+
'button-sm': string;
|
|
217
|
+
cards: string;
|
|
218
|
+
'cards-lg': string;
|
|
219
|
+
'cards-md': string;
|
|
220
|
+
'cards-sm': string;
|
|
221
|
+
utility: string;
|
|
222
|
+
'utility-lg': string;
|
|
223
|
+
'utility-md': string;
|
|
224
|
+
'utility-sm': string;
|
|
225
|
+
groups: string;
|
|
226
|
+
'groups-lg': string;
|
|
227
|
+
'groups-md': string;
|
|
228
|
+
'groups-sm': string;
|
|
229
|
+
'0': string;
|
|
230
|
+
'2': string;
|
|
231
|
+
'4': string;
|
|
232
|
+
'6': string;
|
|
233
|
+
'8': string;
|
|
234
|
+
'10': string;
|
|
235
|
+
'12': string;
|
|
236
|
+
'14': string;
|
|
237
|
+
'16': string;
|
|
238
|
+
'18': string;
|
|
239
|
+
'20': string;
|
|
240
|
+
'24': string;
|
|
241
|
+
'32': string;
|
|
242
|
+
'40': string;
|
|
243
|
+
'48': string;
|
|
244
|
+
'56': string;
|
|
245
|
+
'64': string;
|
|
246
|
+
'72': string;
|
|
247
|
+
'80': string;
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
declare const units: typeof _units;
|
|
251
|
+
export { units };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DefaultProps } from '@sk-web-gui/utils';
|
|
3
|
+
import { DividerProps } from './divider';
|
|
4
|
+
export interface DividerSectionProps extends DividerProps, DefaultProps {
|
|
5
|
+
/**
|
|
6
|
+
* @default md
|
|
7
|
+
*/
|
|
8
|
+
size?: 'sm' | 'md' | 'lg';
|
|
9
|
+
children: string | React.ReactElement;
|
|
10
|
+
}
|
|
11
|
+
export declare const DividerSection: React.ForwardRefExoticComponent<Omit<DividerSectionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export default DividerSection;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DefaultProps } from '@sk-web-gui/utils';
|
|
3
|
+
export interface DividerProps extends DefaultProps, React.ComponentPropsWithRef<'hr'> {
|
|
4
|
+
orientation?: 'horizontal' | 'vertical';
|
|
5
|
+
strong?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const Divider: React.ForwardRefExoticComponent<Omit<DividerProps, "ref"> & React.RefAttributes<HTMLHRElement>>;
|
|
8
|
+
export default Divider;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Divider as InternalDivider, DividerProps as InternalDividerProps } from './divider';
|
|
3
|
+
import { DividerSection } from './divider-section';
|
|
4
|
+
interface DividerProps extends React.ForwardRefExoticComponent<InternalDividerProps> {
|
|
5
|
+
Component: typeof InternalDivider;
|
|
6
|
+
Section: typeof DividerSection;
|
|
7
|
+
}
|
|
8
|
+
export declare const Divider: DividerProps;
|
|
9
|
+
export type { DividerProps };
|
|
10
|
+
export default Divider;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useDividerClass: (args?: any) => string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DividerProps } from '../src';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, Omit<import("../src/divider-section").DividerSectionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Template: {
|
|
6
|
+
(args: React.ComponentProps<DividerProps['Section']>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
storyName: string;
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DividerProps } from '../src/divider';
|
|
3
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, Omit<DividerProps, "ref"> & React.RefAttributes<HTMLHRElement>>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Template: {
|
|
6
|
+
(args: DividerProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
storyName: string;
|
|
8
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CheckboxProps } from '@sk-web-gui/forms';
|
|
2
|
+
import { DefaultProps } from '@sk-web-gui/utils';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
export interface FilterItemProps extends DefaultProps, React.ComponentProps<CheckboxProps['Component']> {
|
|
5
|
+
}
|
|
6
|
+
export declare const FilterItem: React.ForwardRefExoticComponent<Omit<FilterItemProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
7
|
+
export default FilterItem;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface FilterLabelProps extends DefaultProps, Omit<React.ComponentPropsWithRef<'legend'>, 'color' | 'children' | 'onClick'> {
|
|
4
|
+
children: JSX.Element | string;
|
|
5
|
+
}
|
|
6
|
+
export declare const FilterLabel: React.ForwardRefExoticComponent<Omit<FilterLabelProps, "ref"> & React.RefAttributes<HTMLLegendElement>>;
|
|
7
|
+
export default FilterLabel;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface FilterRootProps extends DefaultProps, React.ComponentPropsWithRef<'fieldset'> {
|
|
4
|
+
}
|
|
5
|
+
export declare const FilterRoot: React.ForwardRefExoticComponent<Omit<FilterRootProps, "ref"> & React.RefAttributes<HTMLFieldSetElement>>;
|
|
6
|
+
export default FilterRoot;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FilterRootProps, FilterRoot } from './filter';
|
|
3
|
+
import { FilterItem } from './filter-item';
|
|
4
|
+
import { FilterLabel } from './filter-label';
|
|
5
|
+
interface FilterProps extends React.ForwardRefExoticComponent<FilterRootProps> {
|
|
6
|
+
Component: typeof FilterRoot;
|
|
7
|
+
Label: typeof FilterLabel;
|
|
8
|
+
Item: typeof FilterItem;
|
|
9
|
+
}
|
|
10
|
+
export declare const Filter: FilterProps;
|
|
11
|
+
export type { FilterProps };
|
|
12
|
+
export default Filter;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FilterProps } from '../src';
|
|
2
|
+
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react").ReactRenderer, import("@storybook/types").Args>;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const Template: {
|
|
5
|
+
(props: FilterProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
storyName: string;
|
|
7
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { CheckboxItemProps } from './checkbox';
|
|
4
|
+
export interface CheckboxGroupProps extends DefaultProps {
|
|
5
|
+
/**
|
|
6
|
+
* The id of the checkbox group.
|
|
7
|
+
*/
|
|
8
|
+
id?: CheckboxItemProps['id'];
|
|
9
|
+
/**
|
|
10
|
+
* The name of the checkbox group. This prop is passed to each checbox
|
|
11
|
+
*/
|
|
12
|
+
name?: CheckboxItemProps['name'];
|
|
13
|
+
/**
|
|
14
|
+
* The content of the checkbox group. Must be the `Checkbox` component
|
|
15
|
+
*/
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* The initial value of the checkbox group
|
|
19
|
+
*/
|
|
20
|
+
defaultValue?: Array<CheckboxItemProps['value']>;
|
|
21
|
+
/**
|
|
22
|
+
* The value of the checkbox group
|
|
23
|
+
*/
|
|
24
|
+
value?: Array<CheckboxItemProps['value']>;
|
|
25
|
+
/**
|
|
26
|
+
* The callback fired when any children Checkbox is checked or unchecked
|
|
27
|
+
*/
|
|
28
|
+
onChange?: (value: Array<CheckboxItemProps['value']>) => void;
|
|
29
|
+
/**
|
|
30
|
+
* If `true`, the checkboxes will aligned horizontally.
|
|
31
|
+
* @default column
|
|
32
|
+
*/
|
|
33
|
+
direction?: 'row' | 'column';
|
|
34
|
+
size?: CheckboxItemProps['size'];
|
|
35
|
+
color?: CheckboxItemProps['color'];
|
|
36
|
+
}
|
|
37
|
+
interface UseCheckboxGroupData {
|
|
38
|
+
handleChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
39
|
+
size?: CheckboxItemProps['size'];
|
|
40
|
+
color?: CheckboxItemProps['color'];
|
|
41
|
+
name?: CheckboxItemProps['name'];
|
|
42
|
+
value?: Array<CheckboxItemProps['value']>;
|
|
43
|
+
}
|
|
44
|
+
export declare const useCheckboxGroup: () => UseCheckboxGroupData;
|
|
45
|
+
export declare const CheckboxGroup: React.ForwardRefExoticComponent<CheckboxGroupProps & React.RefAttributes<HTMLUListElement>>;
|
|
46
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface CheckboxItemProps<T = HTMLInputElement> extends DefaultProps, Omit<React.ComponentPropsWithRef<'input'>, 'size'> {
|
|
4
|
+
invalid?: boolean;
|
|
5
|
+
readOnly?: React.InputHTMLAttributes<T>['readOnly'];
|
|
6
|
+
indeterminate?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* If true, the checkbox will be initially checked.
|
|
9
|
+
*/
|
|
10
|
+
defaultChecked?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* If true, the checkbox will be checked.
|
|
13
|
+
* You'll need to pass `onChange` to update it's value (since it's now controlled)
|
|
14
|
+
*/
|
|
15
|
+
checked?: boolean;
|
|
16
|
+
/** Set the checkbox color
|
|
17
|
+
* @default primary
|
|
18
|
+
*/
|
|
19
|
+
color?: string;
|
|
20
|
+
/** Size of the checkbox
|
|
21
|
+
* @default md
|
|
22
|
+
*/
|
|
23
|
+
size?: 'sm' | 'md' | 'lg';
|
|
24
|
+
/**
|
|
25
|
+
* The children is the label to be displayed to the right of the checkbox.
|
|
26
|
+
*/
|
|
27
|
+
children?: React.ReactNode;
|
|
28
|
+
/**
|
|
29
|
+
* The callback invoked when the checked state of the `Checkbox` changes..
|
|
30
|
+
*/
|
|
31
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
32
|
+
/**
|
|
33
|
+
* Position the label text (children) left or right of the checkbox. Defaults to right.
|
|
34
|
+
* @default right
|
|
35
|
+
*/
|
|
36
|
+
labelPosition?: 'left' | 'right';
|
|
37
|
+
}
|
|
38
|
+
export declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxItemProps<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
39
|
+
export default Checkbox;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CheckboxItemProps, Checkbox as InternalCheckbox } from './checkbox';
|
|
3
|
+
import { CheckboxGroup } from './checkbox-group';
|
|
4
|
+
interface CheckboxProps extends React.ForwardRefExoticComponent<CheckboxItemProps> {
|
|
5
|
+
Component: typeof InternalCheckbox;
|
|
6
|
+
Group: typeof CheckboxGroup;
|
|
7
|
+
}
|
|
8
|
+
export declare const Checkbox: CheckboxProps;
|
|
9
|
+
export type { CheckboxProps };
|
|
10
|
+
export default Checkbox;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface UseComboboxProps {
|
|
3
|
+
multiple?: boolean;
|
|
4
|
+
size?: 'sm' | 'md' | 'lg';
|
|
5
|
+
/**
|
|
6
|
+
* @default primary
|
|
7
|
+
*/
|
|
8
|
+
variant?: 'primary' | 'tertiary';
|
|
9
|
+
/**
|
|
10
|
+
* Automatic filter options by value and label (children)
|
|
11
|
+
* @default true
|
|
12
|
+
*/
|
|
13
|
+
autofilter?: boolean;
|
|
14
|
+
}
|
|
15
|
+
interface UseComboboxData extends UseComboboxProps {
|
|
16
|
+
active: number;
|
|
17
|
+
setActive: React.Dispatch<React.SetStateAction<number>>;
|
|
18
|
+
total: number;
|
|
19
|
+
next: () => void;
|
|
20
|
+
prev: () => void;
|
|
21
|
+
setTotal: (total: number) => void;
|
|
22
|
+
select: (value: string) => void;
|
|
23
|
+
remove: (value: string) => void;
|
|
24
|
+
close: () => void;
|
|
25
|
+
addLabel: (label: string, value: string) => void;
|
|
26
|
+
labels: Record<string, string>;
|
|
27
|
+
open: boolean;
|
|
28
|
+
setOpen: (open: boolean) => void;
|
|
29
|
+
setValue: (value: string[]) => void;
|
|
30
|
+
getValue: () => string;
|
|
31
|
+
id: string;
|
|
32
|
+
listId: string;
|
|
33
|
+
name: string;
|
|
34
|
+
value: string[];
|
|
35
|
+
searchValue: string;
|
|
36
|
+
setSearchValue: React.Dispatch<React.SetStateAction<string>>;
|
|
37
|
+
focusInput: () => void;
|
|
38
|
+
inputRef: React.Ref<HTMLInputElement | null | undefined> | null;
|
|
39
|
+
}
|
|
40
|
+
export declare const ComboboxContext: React.Context<UseComboboxData>;
|
|
41
|
+
export declare const useCombobox: () => UseComboboxData;
|
|
42
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { CustomOnChangeEvent } from '@sk-web-gui/utils';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { UseComboboxProps } from './combobox-context';
|
|
4
|
+
interface InputCompProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
5
|
+
}
|
|
6
|
+
export interface ComboboxInputProps extends UseComboboxProps, Omit<React.ComponentPropsWithRef<'input'>, 'size' | 'onChange' | 'onSelect'> {
|
|
7
|
+
/**
|
|
8
|
+
* ChangeEvent list
|
|
9
|
+
*/
|
|
10
|
+
onChange?: (event: CustomOnChangeEvent) => void;
|
|
11
|
+
/**
|
|
12
|
+
* ChangeEvent list
|
|
13
|
+
*/
|
|
14
|
+
onSelect?: (event: CustomOnChangeEvent) => void;
|
|
15
|
+
/**
|
|
16
|
+
* ChangeEvent list
|
|
17
|
+
*/
|
|
18
|
+
onChangeSearch?: (event: CustomOnChangeEvent<string>) => void;
|
|
19
|
+
/**
|
|
20
|
+
* Selected value
|
|
21
|
+
*/
|
|
22
|
+
value?: string | string[];
|
|
23
|
+
/**
|
|
24
|
+
* Sets initial value
|
|
25
|
+
*/
|
|
26
|
+
defaultValue?: string | string[];
|
|
27
|
+
/**
|
|
28
|
+
* Search input value
|
|
29
|
+
*/
|
|
30
|
+
searchValue?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Placeholder when search is active
|
|
33
|
+
*/
|
|
34
|
+
searchPlaceholder?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @default primary
|
|
37
|
+
*/
|
|
38
|
+
variant?: 'primary' | 'tertiary';
|
|
39
|
+
disabled?: boolean;
|
|
40
|
+
invalid?: boolean;
|
|
41
|
+
InputComp?: React.ReactElement<InputCompProps>;
|
|
42
|
+
}
|
|
43
|
+
export declare const ComboboxInput: React.ForwardRefExoticComponent<Omit<ComboboxInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
44
|
+
export default ComboboxInput;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface ComboboxListProps extends DefaultProps, React.ComponentPropsWithRef<'fieldset'> {
|
|
4
|
+
multiple?: boolean;
|
|
5
|
+
size?: 'sm' | 'md' | 'lg';
|
|
6
|
+
value?: string | string[];
|
|
7
|
+
}
|
|
8
|
+
export declare const ComboboxList: React.ForwardRefExoticComponent<Omit<ComboboxListProps, "ref"> & React.RefAttributes<HTMLFieldSetElement>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DefaultProps } from '@sk-web-gui/utils';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface ComboboxOptionProps extends DefaultProps, Omit<React.ComponentPropsWithRef<'input'>, 'onClick'> {
|
|
4
|
+
value: string;
|
|
5
|
+
checked?: boolean;
|
|
6
|
+
children: string;
|
|
7
|
+
multiple?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
index?: number;
|
|
10
|
+
}
|
|
11
|
+
export declare const ComboboxOption: React.ForwardRefExoticComponent<Omit<ComboboxOptionProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UseComboboxProps } from './combobox-context';
|
|
3
|
+
export interface ComboboxBaseProps extends UseComboboxProps, Omit<React.ComponentPropsWithRef<'input'>, 'size'> {
|
|
4
|
+
}
|
|
5
|
+
export declare const ComboboxBase: React.ForwardRefExoticComponent<Omit<ComboboxBaseProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
6
|
+
export default ComboboxBase;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ComboboxBase, ComboboxBaseProps } from './combobox';
|
|
3
|
+
import { ComboboxInput } from './combobox-input';
|
|
4
|
+
import { ComboboxList } from './combobox-list';
|
|
5
|
+
import { ComboboxOption } from './combobox-option';
|
|
6
|
+
interface ComboboxProps extends React.ForwardRefExoticComponent<ComboboxBaseProps> {
|
|
7
|
+
Component: typeof ComboboxBase;
|
|
8
|
+
Input: typeof ComboboxInput;
|
|
9
|
+
List: typeof ComboboxList;
|
|
10
|
+
Option: typeof ComboboxOption;
|
|
11
|
+
}
|
|
12
|
+
declare const Combobox: ComboboxProps;
|
|
13
|
+
export { Combobox };
|
|
14
|
+
export type { ComboboxProps };
|
|
15
|
+
export default Combobox;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useComboboxStyles: (args?: any) => string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { InputProps } from '../input/input';
|
|
3
|
+
export interface DatePickerProps extends Omit<InputProps, 'type' | 'as'> {
|
|
4
|
+
type?: 'date' | 'time' | 'datetime-local';
|
|
5
|
+
}
|
|
6
|
+
export declare const DatePicker: React.ForwardRefExoticComponent<Omit<DatePickerProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
7
|
+
export default DatePicker;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DatePicker, DatePickerProps } from './date-picker';
|
|
3
|
+
export { DatePicker };
|
|
4
|
+
export type { DatePickerProps };
|
|
5
|
+
declare const _default: {
|
|
6
|
+
DatePicker: import("react").ForwardRefExoticComponent<Omit<DatePickerProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|