@xola/ui-kit 3.5.0 → 3.7.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/README.md +136 -87
- package/build/components/Alert.js +18 -13
- package/build/components/Animation/FadeIn.js +36 -25
- package/build/components/Animation/SlideDown.js +14 -9
- package/build/components/Avatar.js +17 -10
- package/build/components/Badge.js +33 -24
- package/build/components/BottomSheet.js +114 -0
- package/build/components/Breadcrumb.js +27 -21
- package/build/components/Breakdown.js +66 -74
- package/build/components/Buttons/Button.js +53 -47
- package/build/components/Buttons/ButtonGroup.js +42 -39
- package/build/components/Buttons/SecondaryButton.js +31 -0
- package/build/components/Buttons/SubmitButton.js +72 -66
- package/build/components/Buttons/ToggleButton.js +15 -16
- package/build/components/Counter.js +10 -6
- package/build/components/DatePicker/DatePicker.helpers.js +24 -13
- package/build/components/DatePicker/DatePicker.js +196 -223
- package/build/components/DatePicker/DatePickerPopover.js +75 -66
- package/build/components/DatePicker/Day.js +35 -32
- package/build/components/DatePicker/LocalizedDayPicker.js +15 -18
- package/build/components/DatePicker/MonthGrid.js +35 -48
- package/build/components/DatePicker/MonthPicker.js +25 -20
- package/build/components/DatePicker/MonthSelector.js +39 -40
- package/build/components/DatePicker/MonthYearSelector.js +18 -39
- package/build/components/DatePicker/NavbarElement.js +26 -35
- package/build/components/DatePicker/RangeDatePicker.js +104 -123
- package/build/components/DatePicker/RelativeDateRange.js +153 -143
- package/build/components/DatePicker/UpcomingDatePicker.js +29 -25
- package/build/components/Dot/Dot.js +13 -8
- package/build/components/Dot/DotProgress.js +12 -7
- package/build/components/Drawer.js +109 -101
- package/build/components/Forms/BaseInput.js +50 -34
- package/build/components/Forms/Checkbox.js +33 -30
- package/build/components/Forms/ComboBox.js +35 -35
- package/build/components/Forms/FormGroup.js +7 -3
- package/build/components/Forms/InlineValuePopover.js +33 -39
- package/build/components/Forms/Input.js +15 -7
- package/build/components/Forms/Label.js +14 -8
- package/build/components/Forms/RangeSlider.js +41 -22
- package/build/components/Forms/Select.js +5 -6
- package/build/components/Forms/Switch.js +46 -38
- package/build/components/Forms/Textarea.js +37 -30
- package/build/components/Forms/ValuePopoverText.js +5 -8
- package/build/components/GooglePlacesAutocomplete.js +112 -0
- package/build/components/HeaderToolbar.js +30 -22
- package/build/components/ImageUpload.js +76 -79
- package/build/components/Key.js +21 -16
- package/build/components/Logo.js +12 -5
- package/build/components/Modal.js +87 -72
- package/build/components/Popover/Popover.js +40 -31
- package/build/components/Popover/PopoverList.js +43 -36
- package/build/components/Provider.js +7 -8
- package/build/components/Screens/Login.js +97 -126
- package/build/components/Search.js +114 -144
- package/build/components/Sidebar/Sidebar.Account.js +39 -46
- package/build/components/Sidebar/Sidebar.Button.js +45 -19
- package/build/components/Sidebar/Sidebar.Footer.js +8 -7
- package/build/components/Sidebar/Sidebar.Heading.js +11 -8
- package/build/components/Sidebar/Sidebar.Link.js +79 -44
- package/build/components/Sidebar/Sidebar.Menu.js +52 -28
- package/build/components/Sidebar/Sidebar.Notifications.js +107 -0
- package/build/components/Sidebar/Sidebar.js +207 -214
- package/build/components/Sidebar/SidebarContext.js +15 -0
- package/build/components/Sidebar/sidebarWidth.js +41 -0
- package/build/components/Sidebar/useSidebarWidthState.js +115 -0
- package/build/components/Skeleton.js +19 -20
- package/build/components/Spinner.js +18 -10
- package/build/components/Table.js +86 -50
- package/build/components/Tabs/Tabs.Panel.js +9 -5
- package/build/components/Tabs/Tabs.Tab.js +28 -23
- package/build/components/Tabs/Tabs.js +23 -23
- package/build/components/Tag.js +28 -23
- package/build/components/Tooltip.js +19 -5
- package/build/components/Utilities/Currency.js +49 -42
- package/build/components/Utilities/Number.js +14 -12
- package/build/components/Utilities/Phone.js +18 -12
- package/build/helpers/environment.js +10 -0
- package/build/helpers/flash.js +45 -46
- package/build/hooks/useIsMobile.js +8 -0
- package/build/hooks/useViewportHeight.js +6 -12
- package/build/icons/src/AnnounceIcon.js +3 -4
- package/build/icons/src/BellIcon.js +0 -1
- package/build/icons/src/CalendarIcon.js +0 -1
- package/build/icons/src/CheckIcon.js +0 -1
- package/build/icons/src/ChevronDownIcon.js +4 -5
- package/build/icons/src/ChevronLeftIcon.js +0 -1
- package/build/icons/src/ChevronRightIcon.js +0 -1
- package/build/icons/src/CircleNotch.js +0 -1
- package/build/icons/src/CloseIcon.js +11 -9
- package/build/icons/src/DownArrowIcon.js +0 -1
- package/build/icons/src/ImageIcon.js +0 -1
- package/build/icons/src/SearchIcon.js +4 -5
- package/build/icons/src/TrashIcon.js +0 -1
- package/build/icons/src/WarningDiamondIcon.js +0 -1
- package/build/icons/src/helpers/icon.js +5 -9
- package/build/icons/src/images/XolaLogoSimple.js +2 -3
- package/build/index.js +143 -130
- package/build/style.css +1 -0
- package/build/theme.css +76 -0
- package/build/theme.js +2 -0
- package/build/utils/currency.js +5 -5
- package/build/{helpers → utils}/date.js +17 -20
- package/build/utils/numbers.js +12 -12
- package/build/utils/phone.js +12 -14
- package/build/utils/userLocale.js +6 -0
- package/index.css +96 -4
- package/index.d.ts +204 -0
- package/package.json +87 -77
- package/skills/README.md +27 -0
- package/skills/migrate-2.6-to-3.7/SKILL.md +110 -0
- package/tailwind.config.js +5 -2
- package/build/base.css +0 -2
- package/build/components/Alert.d.ts +0 -18
- package/build/components/Animation/FadeIn.d.ts +0 -13
- package/build/components/Animation/SlideDown.d.ts +0 -6
- package/build/components/Avatar.d.ts +0 -16
- package/build/components/Badge.d.ts +0 -28
- package/build/components/Breadcrumb.d.ts +0 -21
- package/build/components/Breakdown.d.ts +0 -63
- package/build/components/Buttons/Button.d.ts +0 -53
- package/build/components/Buttons/ButtonGroup.d.ts +0 -35
- package/build/components/Buttons/SubmitButton.d.ts +0 -11
- package/build/components/Buttons/ToggleButton.d.ts +0 -21
- package/build/components/Charts/BaseChartOptions.d.ts +0 -136
- package/build/components/Charts/HistogramOptions.d.ts +0 -192
- package/build/components/Charts/PieOptions.d.ts +0 -177
- package/build/components/Counter.d.ts +0 -5
- package/build/components/DatePicker/DatePicker.d.ts +0 -41
- package/build/components/DatePicker/DatePicker.helpers.d.ts +0 -17
- package/build/components/DatePicker/DatePickerPopover.d.ts +0 -29
- package/build/components/DatePicker/Day.d.ts +0 -13
- package/build/components/DatePicker/LocalizedDayPicker.d.ts +0 -6
- package/build/components/DatePicker/MonthGrid.d.ts +0 -11
- package/build/components/DatePicker/MonthPicker.d.ts +0 -7
- package/build/components/DatePicker/MonthSelector.d.ts +0 -8
- package/build/components/DatePicker/MonthYearSelector.d.ts +0 -8
- package/build/components/DatePicker/NavbarElement.d.ts +0 -15
- package/build/components/DatePicker/RangeDatePicker.d.ts +0 -25
- package/build/components/DatePicker/RelativeDateRange.d.ts +0 -51
- package/build/components/DatePicker/UpcomingDatePicker.d.ts +0 -11
- package/build/components/Dot/Dot.d.ts +0 -24
- package/build/components/Dot/DotProgress.d.ts +0 -6
- package/build/components/Drawer.d.ts +0 -28
- package/build/components/Forms/BaseInput.d.ts +0 -20
- package/build/components/Forms/Checkbox.d.ts +0 -10
- package/build/components/Forms/ComboBox.d.ts +0 -8
- package/build/components/Forms/FormGroup.d.ts +0 -5
- package/build/components/Forms/InlineValuePopover.d.ts +0 -17
- package/build/components/Forms/Input.d.ts +0 -6
- package/build/components/Forms/Label.d.ts +0 -7
- package/build/components/Forms/RangeSlider.d.ts +0 -33
- package/build/components/Forms/Select.d.ts +0 -5
- package/build/components/Forms/Switch.d.ts +0 -46
- package/build/components/Forms/Textarea.d.ts +0 -6
- package/build/components/Forms/ValuePopoverText.d.ts +0 -6
- package/build/components/GooglePlacesAutocomplete.d.ts +0 -14
- package/build/components/HeaderToolbar.d.ts +0 -21
- package/build/components/ImageUpload.d.ts +0 -17
- package/build/components/Key.d.ts +0 -6
- package/build/components/Logo.d.ts +0 -19
- package/build/components/Modal.d.ts +0 -52
- package/build/components/Popover/Popover.d.ts +0 -20
- package/build/components/Popover/PopoverList.d.ts +0 -25
- package/build/components/Provider.d.ts +0 -18
- package/build/components/Screens/Login.d.ts +0 -25
- package/build/components/Search.d.ts +0 -16
- package/build/components/Sidebar/Sidebar.Account.d.ts +0 -13
- package/build/components/Sidebar/Sidebar.Button.d.ts +0 -10
- package/build/components/Sidebar/Sidebar.Footer.d.ts +0 -8
- package/build/components/Sidebar/Sidebar.Heading.d.ts +0 -10
- package/build/components/Sidebar/Sidebar.Link.d.ts +0 -24
- package/build/components/Sidebar/Sidebar.Menu.d.ts +0 -13
- package/build/components/Sidebar/Sidebar.d.ts +0 -58
- package/build/components/Sidebar/index.d.ts +0 -8
- package/build/components/Skeleton.d.ts +0 -13
- package/build/components/Spinner.d.ts +0 -26
- package/build/components/Table.d.ts +0 -59
- package/build/components/Tabs/Tabs.Panel.d.ts +0 -9
- package/build/components/Tabs/Tabs.Tab.d.ts +0 -19
- package/build/components/Tabs/Tabs.d.ts +0 -27
- package/build/components/Tabs/index.d.ts +0 -4
- package/build/components/Tag.d.ts +0 -25
- package/build/components/Tooltip.d.ts +0 -8
- package/build/components/Utilities/Currency.d.ts +0 -32
- package/build/components/Utilities/Number.d.ts +0 -8
- package/build/components/Utilities/Phone.d.ts +0 -8
- package/build/full.css +0 -2
- package/build/helpers/avatar.d.ts +0 -1
- package/build/helpers/avatar.js +0 -8
- package/build/helpers/browser.d.ts +0 -2
- package/build/helpers/children.d.ts +0 -3
- package/build/helpers/classnames.d.ts +0 -5
- package/build/helpers/currency.d.ts +0 -2
- package/build/helpers/currency.js +0 -11
- package/build/helpers/date.d.ts +0 -12
- package/build/helpers/flash.d.ts +0 -21
- package/build/helpers/numbers.d.ts +0 -4
- package/build/helpers/numbers.js +0 -23
- package/build/helpers/phone.d.ts +0 -11
- package/build/helpers/phone.js +0 -25
- package/build/hooks/useId.d.ts +0 -1
- package/build/hooks/useId.js +0 -9
- package/build/hooks/useIsClient.d.ts +0 -1
- package/build/hooks/useViewportHeight.d.ts +0 -1
- package/build/icons/src/helpers/classnames.js +0 -8
- package/build/index.d.ts +0 -66
- package/build/theme.d.ts +0 -413
- package/build/types/index.d.ts +0 -22
- package/build/types/migration.d.ts +0 -2
- package/build/ui-kit.css +0 -1
- package/build/utils/avatar.d.ts +0 -1
- package/build/utils/currency.d.ts +0 -2
- package/build/utils/index.d.ts +0 -4
- package/build/utils/numbers.d.ts +0 -4
- package/build/utils/phone.d.ts +0 -2
package/build/theme.d.ts
DELETED
|
@@ -1,413 +0,0 @@
|
|
|
1
|
-
export namespace theme {
|
|
2
|
-
namespace colors {
|
|
3
|
-
let transparent: string;
|
|
4
|
-
let current: string;
|
|
5
|
-
let black: string;
|
|
6
|
-
let white: string;
|
|
7
|
-
namespace gray {
|
|
8
|
-
let hover: string;
|
|
9
|
-
let lighter: string;
|
|
10
|
-
let light: string;
|
|
11
|
-
let DEFAULT: string;
|
|
12
|
-
let dark: string;
|
|
13
|
-
let darker: string;
|
|
14
|
-
}
|
|
15
|
-
namespace blue {
|
|
16
|
-
let lighter_1: string;
|
|
17
|
-
export { lighter_1 as lighter };
|
|
18
|
-
let light_1: string;
|
|
19
|
-
export { light_1 as light };
|
|
20
|
-
let DEFAULT_1: string;
|
|
21
|
-
export { DEFAULT_1 as DEFAULT };
|
|
22
|
-
let dark_1: string;
|
|
23
|
-
export { dark_1 as dark };
|
|
24
|
-
let darker_1: string;
|
|
25
|
-
export { darker_1 as darker };
|
|
26
|
-
}
|
|
27
|
-
namespace turquoise {
|
|
28
|
-
let DEFAULT_2: string;
|
|
29
|
-
export { DEFAULT_2 as DEFAULT };
|
|
30
|
-
}
|
|
31
|
-
namespace green {
|
|
32
|
-
let lighter_2: string;
|
|
33
|
-
export { lighter_2 as lighter };
|
|
34
|
-
export let lightish: string;
|
|
35
|
-
let light_2: string;
|
|
36
|
-
export { light_2 as light };
|
|
37
|
-
let DEFAULT_3: string;
|
|
38
|
-
export { DEFAULT_3 as DEFAULT };
|
|
39
|
-
let dark_2: string;
|
|
40
|
-
export { dark_2 as dark };
|
|
41
|
-
let darker_2: string;
|
|
42
|
-
export { darker_2 as darker };
|
|
43
|
-
}
|
|
44
|
-
namespace red {
|
|
45
|
-
let lighter_3: string;
|
|
46
|
-
export { lighter_3 as lighter };
|
|
47
|
-
let lightish_1: string;
|
|
48
|
-
export { lightish_1 as lightish };
|
|
49
|
-
let light_3: string;
|
|
50
|
-
export { light_3 as light };
|
|
51
|
-
let DEFAULT_4: string;
|
|
52
|
-
export { DEFAULT_4 as DEFAULT };
|
|
53
|
-
let dark_3: string;
|
|
54
|
-
export { dark_3 as dark };
|
|
55
|
-
let darker_3: string;
|
|
56
|
-
export { darker_3 as darker };
|
|
57
|
-
}
|
|
58
|
-
namespace yellow {
|
|
59
|
-
let lighter_4: string;
|
|
60
|
-
export { lighter_4 as lighter };
|
|
61
|
-
let lightish_2: string;
|
|
62
|
-
export { lightish_2 as lightish };
|
|
63
|
-
let light_4: string;
|
|
64
|
-
export { light_4 as light };
|
|
65
|
-
let DEFAULT_5: string;
|
|
66
|
-
export { DEFAULT_5 as DEFAULT };
|
|
67
|
-
let dark_4: string;
|
|
68
|
-
export { dark_4 as dark };
|
|
69
|
-
let darker_4: string;
|
|
70
|
-
export { darker_4 as darker };
|
|
71
|
-
}
|
|
72
|
-
namespace orange {
|
|
73
|
-
let lighter_5: string;
|
|
74
|
-
export { lighter_5 as lighter };
|
|
75
|
-
let lightish_3: string;
|
|
76
|
-
export { lightish_3 as lightish };
|
|
77
|
-
let light_5: string;
|
|
78
|
-
export { light_5 as light };
|
|
79
|
-
let DEFAULT_6: string;
|
|
80
|
-
export { DEFAULT_6 as DEFAULT };
|
|
81
|
-
let dark_5: string;
|
|
82
|
-
export { dark_5 as dark };
|
|
83
|
-
let darker_5: string;
|
|
84
|
-
export { darker_5 as darker };
|
|
85
|
-
}
|
|
86
|
-
namespace primary {
|
|
87
|
-
let lighter_6: string;
|
|
88
|
-
export { lighter_6 as lighter };
|
|
89
|
-
let light_6: string;
|
|
90
|
-
export { light_6 as light };
|
|
91
|
-
let DEFAULT_7: string;
|
|
92
|
-
export { DEFAULT_7 as DEFAULT };
|
|
93
|
-
let dark_6: string;
|
|
94
|
-
export { dark_6 as dark };
|
|
95
|
-
let darker_6: string;
|
|
96
|
-
export { darker_6 as darker };
|
|
97
|
-
}
|
|
98
|
-
namespace secondary {
|
|
99
|
-
let hover_1: string;
|
|
100
|
-
export { hover_1 as hover };
|
|
101
|
-
let lighter_7: string;
|
|
102
|
-
export { lighter_7 as lighter };
|
|
103
|
-
let light_7: string;
|
|
104
|
-
export { light_7 as light };
|
|
105
|
-
let DEFAULT_8: string;
|
|
106
|
-
export { DEFAULT_8 as DEFAULT };
|
|
107
|
-
let dark_7: string;
|
|
108
|
-
export { dark_7 as dark };
|
|
109
|
-
let darker_7: string;
|
|
110
|
-
export { darker_7 as darker };
|
|
111
|
-
}
|
|
112
|
-
namespace warning {
|
|
113
|
-
let lighter_8: string;
|
|
114
|
-
export { lighter_8 as lighter };
|
|
115
|
-
let lightish_4: string;
|
|
116
|
-
export { lightish_4 as lightish };
|
|
117
|
-
let light_8: string;
|
|
118
|
-
export { light_8 as light };
|
|
119
|
-
let DEFAULT_9: string;
|
|
120
|
-
export { DEFAULT_9 as DEFAULT };
|
|
121
|
-
let dark_8: string;
|
|
122
|
-
export { dark_8 as dark };
|
|
123
|
-
let darker_8: string;
|
|
124
|
-
export { darker_8 as darker };
|
|
125
|
-
}
|
|
126
|
-
namespace success {
|
|
127
|
-
let lighter_9: string;
|
|
128
|
-
export { lighter_9 as lighter };
|
|
129
|
-
let lightish_5: string;
|
|
130
|
-
export { lightish_5 as lightish };
|
|
131
|
-
let light_9: string;
|
|
132
|
-
export { light_9 as light };
|
|
133
|
-
let DEFAULT_10: string;
|
|
134
|
-
export { DEFAULT_10 as DEFAULT };
|
|
135
|
-
let dark_9: string;
|
|
136
|
-
export { dark_9 as dark };
|
|
137
|
-
let darker_9: string;
|
|
138
|
-
export { darker_9 as darker };
|
|
139
|
-
}
|
|
140
|
-
namespace danger {
|
|
141
|
-
let lighter_10: string;
|
|
142
|
-
export { lighter_10 as lighter };
|
|
143
|
-
let lightish_6: string;
|
|
144
|
-
export { lightish_6 as lightish };
|
|
145
|
-
let light_10: string;
|
|
146
|
-
export { light_10 as light };
|
|
147
|
-
let DEFAULT_11: string;
|
|
148
|
-
export { DEFAULT_11 as DEFAULT };
|
|
149
|
-
let dark_10: string;
|
|
150
|
-
export { dark_10 as dark };
|
|
151
|
-
let darker_10: string;
|
|
152
|
-
export { darker_10 as darker };
|
|
153
|
-
}
|
|
154
|
-
namespace caution {
|
|
155
|
-
let lighter_11: string;
|
|
156
|
-
export { lighter_11 as lighter };
|
|
157
|
-
let lightish_7: string;
|
|
158
|
-
export { lightish_7 as lightish };
|
|
159
|
-
let light_11: string;
|
|
160
|
-
export { light_11 as light };
|
|
161
|
-
let DEFAULT_12: string;
|
|
162
|
-
export { DEFAULT_12 as DEFAULT };
|
|
163
|
-
let dark_11: string;
|
|
164
|
-
export { dark_11 as dark };
|
|
165
|
-
let darker_11: string;
|
|
166
|
-
export { darker_11 as darker };
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
let spacing: {
|
|
170
|
-
"0": string;
|
|
171
|
-
"1": string;
|
|
172
|
-
"2": string;
|
|
173
|
-
"3": string;
|
|
174
|
-
"4": string;
|
|
175
|
-
"5": string;
|
|
176
|
-
"6": string;
|
|
177
|
-
"7": string;
|
|
178
|
-
"8": string;
|
|
179
|
-
"9": string;
|
|
180
|
-
"10": string;
|
|
181
|
-
"11": string;
|
|
182
|
-
"12": string;
|
|
183
|
-
"14": string;
|
|
184
|
-
"15": string;
|
|
185
|
-
"16": string;
|
|
186
|
-
"18": string;
|
|
187
|
-
"20": string;
|
|
188
|
-
"22": string;
|
|
189
|
-
"24": string;
|
|
190
|
-
"25": string;
|
|
191
|
-
"28": string;
|
|
192
|
-
"30": string;
|
|
193
|
-
"32": string;
|
|
194
|
-
"36": string;
|
|
195
|
-
"40": string;
|
|
196
|
-
"44": string;
|
|
197
|
-
"48": string;
|
|
198
|
-
"50": string;
|
|
199
|
-
"52": string;
|
|
200
|
-
"54": string;
|
|
201
|
-
"56": string;
|
|
202
|
-
"60": string;
|
|
203
|
-
"64": string;
|
|
204
|
-
"65": string;
|
|
205
|
-
"72": string;
|
|
206
|
-
"75": string;
|
|
207
|
-
"80": string;
|
|
208
|
-
"85": string;
|
|
209
|
-
"96": string;
|
|
210
|
-
"100": string;
|
|
211
|
-
"105": string;
|
|
212
|
-
"110": string;
|
|
213
|
-
"125": string;
|
|
214
|
-
"140": string;
|
|
215
|
-
"150": string;
|
|
216
|
-
"200": string;
|
|
217
|
-
"0.25": string;
|
|
218
|
-
"0.5": string;
|
|
219
|
-
"0.75": string;
|
|
220
|
-
"1.5": string;
|
|
221
|
-
"2.5": string;
|
|
222
|
-
"3.5": string;
|
|
223
|
-
"4.5": string;
|
|
224
|
-
"7.5": string;
|
|
225
|
-
};
|
|
226
|
-
let fontSize: {
|
|
227
|
-
xs: string;
|
|
228
|
-
sm: string;
|
|
229
|
-
base: string;
|
|
230
|
-
md: string;
|
|
231
|
-
lg: string;
|
|
232
|
-
xl: string;
|
|
233
|
-
"2xl": string;
|
|
234
|
-
"3xl": string;
|
|
235
|
-
};
|
|
236
|
-
let borderRadius: {
|
|
237
|
-
none: string;
|
|
238
|
-
DEFAULT: string;
|
|
239
|
-
sm: string;
|
|
240
|
-
md: string;
|
|
241
|
-
lg: string;
|
|
242
|
-
xl: string;
|
|
243
|
-
"2xl": string;
|
|
244
|
-
full: string;
|
|
245
|
-
};
|
|
246
|
-
namespace extend {
|
|
247
|
-
let animation: {
|
|
248
|
-
"reverse-spin": string;
|
|
249
|
-
};
|
|
250
|
-
let keyframes: {
|
|
251
|
-
"reverse-spin": {
|
|
252
|
-
from: {
|
|
253
|
-
transform: string;
|
|
254
|
-
};
|
|
255
|
-
};
|
|
256
|
-
};
|
|
257
|
-
namespace fontFamily {
|
|
258
|
-
let sans: string[];
|
|
259
|
-
let mono: string[];
|
|
260
|
-
}
|
|
261
|
-
let screens: {
|
|
262
|
-
"3xl": string;
|
|
263
|
-
};
|
|
264
|
-
let lineHeight: {
|
|
265
|
-
"0": string;
|
|
266
|
-
"1": string;
|
|
267
|
-
"2": string;
|
|
268
|
-
"3": string;
|
|
269
|
-
"4": string;
|
|
270
|
-
"5": string;
|
|
271
|
-
"6": string;
|
|
272
|
-
"7": string;
|
|
273
|
-
"8": string;
|
|
274
|
-
"9": string;
|
|
275
|
-
"10": string;
|
|
276
|
-
"11": string;
|
|
277
|
-
"12": string;
|
|
278
|
-
"0.25": string;
|
|
279
|
-
"0.5": string;
|
|
280
|
-
"0.75": string;
|
|
281
|
-
"1.5": string;
|
|
282
|
-
"2.5": string;
|
|
283
|
-
xs: string;
|
|
284
|
-
sm: string;
|
|
285
|
-
"3.5": string;
|
|
286
|
-
base: string;
|
|
287
|
-
md: string;
|
|
288
|
-
"4.5": string;
|
|
289
|
-
lg: string;
|
|
290
|
-
p1: string;
|
|
291
|
-
p2: string;
|
|
292
|
-
p3: string;
|
|
293
|
-
p4: string;
|
|
294
|
-
};
|
|
295
|
-
namespace letterSpacing {
|
|
296
|
-
let tightest: string;
|
|
297
|
-
}
|
|
298
|
-
let minWidth: {
|
|
299
|
-
"0": string;
|
|
300
|
-
"1": string;
|
|
301
|
-
"2": string;
|
|
302
|
-
"3": string;
|
|
303
|
-
"4": string;
|
|
304
|
-
"5": string;
|
|
305
|
-
"6": string;
|
|
306
|
-
"7": string;
|
|
307
|
-
"8": string;
|
|
308
|
-
"9": string;
|
|
309
|
-
"10": string;
|
|
310
|
-
"11": string;
|
|
311
|
-
"12": string;
|
|
312
|
-
"14": string;
|
|
313
|
-
"15": string;
|
|
314
|
-
"16": string;
|
|
315
|
-
"18": string;
|
|
316
|
-
"20": string;
|
|
317
|
-
"22": string;
|
|
318
|
-
"24": string;
|
|
319
|
-
"25": string;
|
|
320
|
-
"28": string;
|
|
321
|
-
"30": string;
|
|
322
|
-
"32": string;
|
|
323
|
-
"36": string;
|
|
324
|
-
"40": string;
|
|
325
|
-
"44": string;
|
|
326
|
-
"48": string;
|
|
327
|
-
"50": string;
|
|
328
|
-
"52": string;
|
|
329
|
-
"54": string;
|
|
330
|
-
"56": string;
|
|
331
|
-
"60": string;
|
|
332
|
-
"64": string;
|
|
333
|
-
"65": string;
|
|
334
|
-
"72": string;
|
|
335
|
-
"75": string;
|
|
336
|
-
"80": string;
|
|
337
|
-
"85": string;
|
|
338
|
-
"96": string;
|
|
339
|
-
"100": string;
|
|
340
|
-
"105": string;
|
|
341
|
-
"110": string;
|
|
342
|
-
"125": string;
|
|
343
|
-
"140": string;
|
|
344
|
-
"150": string;
|
|
345
|
-
"200": string;
|
|
346
|
-
"0.25": string;
|
|
347
|
-
"0.5": string;
|
|
348
|
-
"0.75": string;
|
|
349
|
-
"1.5": string;
|
|
350
|
-
"2.5": string;
|
|
351
|
-
"3.5": string;
|
|
352
|
-
"4.5": string;
|
|
353
|
-
"7.5": string;
|
|
354
|
-
};
|
|
355
|
-
let maxWidth: {
|
|
356
|
-
"0": string;
|
|
357
|
-
"1": string;
|
|
358
|
-
"2": string;
|
|
359
|
-
"3": string;
|
|
360
|
-
"4": string;
|
|
361
|
-
"5": string;
|
|
362
|
-
"6": string;
|
|
363
|
-
"7": string;
|
|
364
|
-
"8": string;
|
|
365
|
-
"9": string;
|
|
366
|
-
"10": string;
|
|
367
|
-
"11": string;
|
|
368
|
-
"12": string;
|
|
369
|
-
"14": string;
|
|
370
|
-
"15": string;
|
|
371
|
-
"16": string;
|
|
372
|
-
"18": string;
|
|
373
|
-
"20": string;
|
|
374
|
-
"22": string;
|
|
375
|
-
"24": string;
|
|
376
|
-
"25": string;
|
|
377
|
-
"28": string;
|
|
378
|
-
"30": string;
|
|
379
|
-
"32": string;
|
|
380
|
-
"36": string;
|
|
381
|
-
"40": string;
|
|
382
|
-
"44": string;
|
|
383
|
-
"48": string;
|
|
384
|
-
"50": string;
|
|
385
|
-
"52": string;
|
|
386
|
-
"54": string;
|
|
387
|
-
"56": string;
|
|
388
|
-
"60": string;
|
|
389
|
-
"64": string;
|
|
390
|
-
"65": string;
|
|
391
|
-
"72": string;
|
|
392
|
-
"75": string;
|
|
393
|
-
"80": string;
|
|
394
|
-
"85": string;
|
|
395
|
-
"96": string;
|
|
396
|
-
"100": string;
|
|
397
|
-
"105": string;
|
|
398
|
-
"110": string;
|
|
399
|
-
"125": string;
|
|
400
|
-
"140": string;
|
|
401
|
-
"150": string;
|
|
402
|
-
"200": string;
|
|
403
|
-
"0.25": string;
|
|
404
|
-
"0.5": string;
|
|
405
|
-
"0.75": string;
|
|
406
|
-
"1.5": string;
|
|
407
|
-
"2.5": string;
|
|
408
|
-
"3.5": string;
|
|
409
|
-
"4.5": string;
|
|
410
|
-
"7.5": string;
|
|
411
|
-
};
|
|
412
|
-
}
|
|
413
|
-
}
|
package/build/types/index.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ElementType, ReactNode } from 'react';
|
|
2
|
-
export type Size = "tiny" | "small" | "medium" | "large" | "huge";
|
|
3
|
-
export type Color = "primary" | "secondary" | "success" | "warning" | "caution" | "danger";
|
|
4
|
-
export type Variant = "standard" | "outline" | "link";
|
|
5
|
-
export type PolymorphicComponentProps<T extends ElementType, P = Record<string, never>> = P & Omit<ComponentPropsWithoutRef<T>, keyof P> & {
|
|
6
|
-
as?: T;
|
|
7
|
-
};
|
|
8
|
-
export interface CommonComponentProps {
|
|
9
|
-
className?: string;
|
|
10
|
-
children?: ReactNode;
|
|
11
|
-
}
|
|
12
|
-
export interface IconProps extends ComponentPropsWithoutRef<"svg"> {
|
|
13
|
-
size?: "tiny" | "small" | "medium" | "large";
|
|
14
|
-
className?: string;
|
|
15
|
-
}
|
|
16
|
-
export type PolymorphicRef<T extends ElementType> = ComponentPropsWithoutRef<T>["ref"];
|
|
17
|
-
export interface ComponentWithChildren {
|
|
18
|
-
children: ReactNode;
|
|
19
|
-
}
|
|
20
|
-
export interface ComponentWithOptionalChildren {
|
|
21
|
-
children?: ReactNode;
|
|
22
|
-
}
|
package/build/ui-kit.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._main_jm0tk_1{background:#fff;border-width:1px!important;border-style:solid!important}._main_jm0tk_1 .tippy-content{padding:0;--tw-text-opacity: 1;color:rgb(34 35 36 / var(--tw-text-opacity, 1))}._main_jm0tk_1 .tippy-arrow{fill:#fff}._main_jm0tk_1[data-placement^=top]>.tippy-arrow:before{border-top-color:#fff}._main_jm0tk_1[data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:#fff}._main_jm0tk_1[data-placement^=left]>.tippy-arrow:before{border-left-color:#fff}._main_jm0tk_1[data-placement^=right]>.tippy-arrow:before{border-right-color:#fff}._main_jm0tk_1[data-placement^=top][class*=bg-black]>.tippy-arrow:before{border-top-color:#000}._main_jm0tk_1[data-placement^=bottom][class*=bg-black]>.tippy-arrow:before{border-bottom-color:#000}._main_jm0tk_1[data-placement^=left][class*=bg-black]>.tippy-arrow:before{border-left-color:#000}._main_jm0tk_1[data-placement^=right][class*=bg-black]>.tippy-arrow:before{border-right-color:#000}::-webkit-scrollbar{-webkit-appearance:none;width:8px}::-webkit-scrollbar-thumb{border-radius:4px;background-color:#00000080;-webkit-box-shadow:0 0 1px rgba(255,255,255,.5)}.ui-combo-box__control{padding:0;font-family:InterVariable,Inter,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;line-height:14px;--tw-text-opacity: 1 !important;color:rgb(138 140 145 / var(--tw-text-opacity, 1))!important;border-radius:4px!important;--tw-border-opacity: 1 !important;border-color:rgb(224 227 231 / var(--tw-border-opacity, 1))!important}.ui-combo-box__control:hover{--tw-border-opacity: 1 !important;border-color:rgb(34 35 36 / var(--tw-border-opacity, 1))!important;--tw-bg-opacity: 1;background-color:rgb(240 242 244 / var(--tw-bg-opacity, 1))}.ui-combo-box__control:focus-within{--tw-border-opacity: 1 !important;border-color:rgb(19 82 198 / var(--tw-border-opacity, 1))!important;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.border-danger .ui-combo-box__control{--tw-border-opacity: 1 !important;border-color:rgb(255 90 90 / var(--tw-border-opacity, 1))!important}.ui-combo-box__placeholder{--tw-text-opacity: 1 !important;color:rgb(138 140 145 / var(--tw-text-opacity, 1))!important}.ui-combo-box__control:hover .ui-combo-box__placeholder{--tw-text-opacity: 1 !important;color:rgb(80 82 84 / var(--tw-text-opacity, 1))!important}.ui-combo-box__menu{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.ui-combo-box__option--is-focused{--tw-bg-opacity: 1 !important;background-color:rgb(240 242 244 / var(--tw-bg-opacity, 1))!important}.ui-combo-box__option--is-selected{--tw-bg-opacity: 1 !important;background-color:rgb(41 121 208 / var(--tw-bg-opacity, 1))!important}.ui-combo-box__input-container{--tw-text-opacity: 1 !important;color:rgb(138 140 145 / var(--tw-text-opacity, 1))!important}.ui-combo-box__control:hover .ui-combo-box__input-container{--tw-text-opacity: 1 !important;color:rgb(80 82 84 / var(--tw-text-opacity, 1))!important}.ui-combo-box__dropdown-indicator svg{height:14px;width:14px;--tw-text-opacity: 1;color:rgb(34 35 36 / var(--tw-text-opacity, 1))}.ui-combo-box--is-disabled svg{--tw-text-opacity: 1;color:rgb(189 192 198 / var(--tw-text-opacity, 1))}.ui-combo-box__indicator-separator{display:none}.ui-combo-box__input:focus{box-shadow:none!important}._checkbox_1gb8z_1:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%231352C6' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")!important}/*! nouislider - 14.7.0 - 4/6/2021 */.noUi-target,.noUi-target *{-webkit-touch-callout:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;touch-action:none;-moz-user-select:none;user-select:none;box-sizing:border-box}.noUi-target{position:relative}.noUi-base,.noUi-connects{width:100%;height:100%;position:relative;z-index:1}.noUi-connects{overflow:hidden;z-index:0}.noUi-connect,.noUi-origin{will-change:transform;position:absolute;z-index:1;top:0;right:0;-ms-transform-origin:0 0;-webkit-transform-origin:0 0;-webkit-transform-style:preserve-3d;transform-origin:0 0;transform-style:flat}.noUi-connect{height:100%;width:100%}.noUi-origin{height:10%;width:10%}.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin{left:0;right:auto}.noUi-vertical .noUi-origin{width:0}.noUi-horizontal .noUi-origin{height:0}.noUi-handle{backface-visibility:hidden;position:absolute}.noUi-touch-area{height:100%;width:100%}.noUi-state-tap .noUi-connect,.noUi-state-tap .noUi-origin{transition:transform .3s}.noUi-state-drag *{cursor:inherit!important}.noUi-horizontal{height:18px}.noUi-horizontal .noUi-handle{width:34px;height:28px;right:-17px;top:-6px}.noUi-vertical{width:18px}.noUi-vertical .noUi-handle{width:28px;height:34px;right:-6px;top:-17px}.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle{left:-17px;right:auto}.noUi-target{background:#fafafa;border-radius:4px;border:1px solid #D3D3D3;box-shadow:inset 0 1px 1px #f0f0f0,0 3px 6px -5px #bbb}.noUi-connects{border-radius:3px}.noUi-connect{background:#3fb8af}.noUi-draggable{cursor:ew-resize}.noUi-vertical .noUi-draggable{cursor:ns-resize}.noUi-handle{border:1px solid #D9D9D9;border-radius:3px;background:#fff;cursor:default;box-shadow:inset 0 0 1px #fff,inset 0 1px 7px #ebebeb,0 3px 6px -3px #bbb}.noUi-active{box-shadow:inset 0 0 1px #fff,inset 0 1px 7px #ddd,0 3px 6px -3px #bbb}.noUi-handle:before,.noUi-handle:after{content:"";display:block;position:absolute;height:14px;width:1px;background:#e8e7e6;left:14px;top:6px}.noUi-handle:after{left:17px}.noUi-vertical .noUi-handle:before,.noUi-vertical .noUi-handle:after{width:14px;height:1px;left:6px;top:14px}.noUi-vertical .noUi-handle:after{top:17px}[disabled] .noUi-connect{background:#b8b8b8}[disabled].noUi-target,[disabled].noUi-handle,[disabled] .noUi-handle{cursor:not-allowed}.noUi-pips,.noUi-pips *{box-sizing:border-box}.noUi-pips{position:absolute;color:#999}.noUi-value{position:absolute;white-space:nowrap;text-align:center}.noUi-value-sub{color:#ccc;font-size:10px}.noUi-marker{position:absolute;background:#ccc}.noUi-marker-sub,.noUi-marker-large{background:#aaa}.noUi-pips-horizontal{padding:10px 0;height:80px;top:100%;left:0;width:100%}.noUi-value-horizontal{transform:translate(-50%,50%)}.noUi-rtl .noUi-value-horizontal{transform:translate(50%,50%)}.noUi-marker-horizontal.noUi-marker{margin-left:-1px;width:2px;height:5px}.noUi-marker-horizontal.noUi-marker-sub{height:10px}.noUi-marker-horizontal.noUi-marker-large{height:15px}.noUi-pips-vertical{padding:0 10px;height:100%;top:0;left:100%}.noUi-value-vertical{transform:translateY(-50%);padding-left:25px}.noUi-rtl .noUi-value-vertical{transform:translateY(50%)}.noUi-marker-vertical.noUi-marker{width:5px;height:2px;margin-top:-1px}.noUi-marker-vertical.noUi-marker-sub{width:10px}.noUi-marker-vertical.noUi-marker-large{width:15px}.noUi-tooltip{display:block;position:absolute;border:1px solid #D9D9D9;border-radius:3px;background:#fff;color:#000;padding:5px;text-align:center;white-space:nowrap}.noUi-horizontal .noUi-tooltip{transform:translate(-50%);left:50%;bottom:120%}.noUi-vertical .noUi-tooltip{transform:translateY(-50%);top:50%;right:120%}.noUi-horizontal .noUi-origin>.noUi-tooltip{transform:translate(50%);left:auto;bottom:10px}.noUi-vertical .noUi-origin>.noUi-tooltip{transform:translateY(-18px);top:auto;right:28px}.ui-range-slider .noUi-handle:before,.ui-range-slider .noUi-handle:after{display:none}.ui-range-slider{height:8px;width:100%;--tw-bg-opacity: 1;background-color:rgb(240 242 244 / var(--tw-bg-opacity, 1))}.ui-range-slider .noUi-connect{--tw-bg-opacity: 1;background-color:rgb(19 82 198 / var(--tw-bg-opacity, 1))}.ui-range-slider .noUi-handle{height:20px;width:20px;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(19 82 198 / var(--tw-bg-opacity, 1));--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ui-range-slider .noUi-tooltip{left:50%;top:130%;height:32px;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-bg-opacity: 1;background-color:rgb(34 35 36 / var(--tw-bg-opacity, 1));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.ui-range-slider .noUi-tooltip:after{content:"";border-color:transparent transparent black transparent;position:absolute;bottom:100%;left:50%;margin-left:-4px;border-width:4px;border-style:solid}@keyframes _shimmer_qt4e9_7{to{transform:translate(100%)}}._shimmer_qt4e9_7{transform:translate(-100%);background-image:linear-gradient(90deg,#fff0 0,#fff3 20%,#ffffff80 60%,#fff0);animation:_shimmer_qt4e9_7 3s infinite}._main_1bcuo_1 .tippy-content{padding:0}::-webkit-scrollbar-thumb{--tw-bg-opacity: 1 !important;background-color:rgb(80 82 84 / var(--tw-bg-opacity, 1))!important}
|
package/build/utils/avatar.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function getInitials(name: any): string;
|
package/build/utils/index.d.ts
DELETED
package/build/utils/numbers.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export function almostZero(number: any): boolean;
|
|
2
|
-
export function numberFormat(amount: any, currency?: null, locale?: string, maximumFractionDigits?: number, isCompact?: boolean, isNarrowSymbolForm?: boolean): string;
|
|
3
|
-
export function roundNumber(currency: any, amount: any): number;
|
|
4
|
-
export function compactNumber(value: any, locale?: string): string;
|
package/build/utils/phone.d.ts
DELETED