@xola/ui-kit 3.0.6 → 3.0.8
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/build/style.css +1 -1
- package/build/ui-kit.es.js +2924 -2852
- package/index.css +18 -1
- package/index.d.ts +1 -206
- package/package.json +10 -7
- package/tailwind.config.js +1 -1
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@
|
|
1
|
+
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
|
|
2
2
|
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;700&display=swap");
|
|
3
3
|
|
|
4
4
|
@tailwind base;
|
|
@@ -6,11 +6,28 @@
|
|
|
6
6
|
@tailwind utilities;
|
|
7
7
|
|
|
8
8
|
@layer base {
|
|
9
|
+
:root {
|
|
10
|
+
/* https://rsms.me/inter/#usage */
|
|
11
|
+
font-feature-settings:
|
|
12
|
+
"liga" 1,
|
|
13
|
+
"calt" 1; /* fix for Chrome */
|
|
14
|
+
}
|
|
15
|
+
|
|
9
16
|
html {
|
|
10
17
|
/* Never change this default! */
|
|
11
18
|
@apply text-black text-base;
|
|
12
19
|
}
|
|
13
20
|
|
|
21
|
+
/* For testing advanced typographic features */
|
|
22
|
+
.font-ligatures {
|
|
23
|
+
font-feature-settings:
|
|
24
|
+
"liga" 1,
|
|
25
|
+
"calt" 1,
|
|
26
|
+
"dlig" 1,
|
|
27
|
+
"ss03" 1,
|
|
28
|
+
"ss02" 1 !important;
|
|
29
|
+
}
|
|
30
|
+
|
|
14
31
|
a {
|
|
15
32
|
@apply text-primary hover:underline;
|
|
16
33
|
}
|
package/index.d.ts
CHANGED
|
@@ -1,277 +1,72 @@
|
|
|
1
1
|
// This is just to make the auto-import work.
|
|
2
2
|
// Next step is to add types for the props.
|
|
3
3
|
export {
|
|
4
|
-
AccountIcon,
|
|
5
|
-
AddNoteIcon,
|
|
6
|
-
AddSquareIcon,
|
|
7
4
|
Alert,
|
|
8
5
|
almostZero,
|
|
9
|
-
AnnounceIcon,
|
|
10
|
-
AppIcon,
|
|
11
6
|
AppStoreBadge,
|
|
12
|
-
ArchiveIcon,
|
|
13
|
-
ArrowCcwIcon,
|
|
14
|
-
ArrowCwIcon,
|
|
15
|
-
ArrowDownIcon,
|
|
16
|
-
ArrowRightIcon,
|
|
17
|
-
ArrowTopRightIcon,
|
|
18
|
-
ArrowUpIcon,
|
|
19
|
-
AtIcon,
|
|
20
7
|
Avatar,
|
|
21
8
|
Badge,
|
|
22
|
-
BalloonIcon,
|
|
23
|
-
BankCheckIcon,
|
|
24
|
-
BarGraphIcon,
|
|
25
|
-
BaseInput,
|
|
26
|
-
BellIcon,
|
|
27
|
-
BookIcon,
|
|
28
|
-
BookmarkIcon,
|
|
29
|
-
BoxIcon,
|
|
30
|
-
BugIcon,
|
|
31
9
|
Breadcrumb,
|
|
32
10
|
Breakdown,
|
|
33
|
-
BriefcaseIcon,
|
|
34
11
|
Button,
|
|
35
|
-
ButtonCodeIcon,
|
|
36
12
|
ButtonGroup,
|
|
37
|
-
CakeIcon,
|
|
38
|
-
CalendarDayIcon,
|
|
39
|
-
CalendarIcon,
|
|
40
|
-
CalendarMonthIcon,
|
|
41
|
-
CalendarWeekIcon,
|
|
42
|
-
CapacityIcon,
|
|
43
|
-
CardAltIcon,
|
|
44
|
-
CardIcon,
|
|
45
|
-
CartIcon,
|
|
46
|
-
CashIcon,
|
|
47
13
|
Checkbox,
|
|
48
|
-
CheckboxIcon,
|
|
49
|
-
CheckIcon,
|
|
50
|
-
ChecklistIcon,
|
|
51
|
-
ChevronDownIcon,
|
|
52
|
-
ChevronLeftIcon,
|
|
53
|
-
ChevronRightIcon,
|
|
54
|
-
ChevronUpIcon,
|
|
55
|
-
ChipIcon,
|
|
56
|
-
CircleCheckIcon,
|
|
57
|
-
CircleCrossIcon,
|
|
58
|
-
CircleCrownIcon,
|
|
59
|
-
CircleDollarIcon,
|
|
60
|
-
CircleDotIcon,
|
|
61
|
-
CircleInfinityIcon,
|
|
62
|
-
CircleInfoIcon,
|
|
63
|
-
CircleKeyIcon,
|
|
64
14
|
CircleNotch,
|
|
65
|
-
CirclePauseIcon,
|
|
66
|
-
CirclePlusIcon,
|
|
67
|
-
CircleSubtractIcon,
|
|
68
|
-
ClipboardIcon,
|
|
69
|
-
ClockAltIcon,
|
|
70
|
-
ClockIcon,
|
|
71
|
-
ClockManualIcon,
|
|
72
|
-
CloseCircleIcon,
|
|
73
|
-
CloseIcon,
|
|
74
|
-
CollapseIcon,
|
|
75
15
|
ComboBox,
|
|
76
|
-
CommentAltIcon,
|
|
77
|
-
CommentIcon,
|
|
78
16
|
compactNumber,
|
|
79
|
-
CompassIcon,
|
|
80
|
-
CopyIcon,
|
|
81
17
|
Counter,
|
|
82
|
-
CouponIcon,
|
|
83
|
-
CrmIcon,
|
|
84
|
-
CrownIcon,
|
|
85
18
|
Currency,
|
|
86
|
-
DashboardIcon,
|
|
87
19
|
dateFromObjectId,
|
|
88
20
|
DatePicker,
|
|
89
21
|
DatePickerPopover,
|
|
90
|
-
DecreaseIcon,
|
|
91
|
-
DepositIcon,
|
|
92
|
-
DisabledIcon,
|
|
93
|
-
DisputeIcon,
|
|
94
22
|
Dot,
|
|
95
23
|
DotProgress,
|
|
96
|
-
DotCircleIcon,
|
|
97
|
-
DoubleCheckIcon,
|
|
98
|
-
DownArrowIcon,
|
|
99
|
-
DownloadIcon,
|
|
100
24
|
Drawer,
|
|
101
|
-
DropdownIcon,
|
|
102
|
-
DumbbellIcon,
|
|
103
|
-
DuplicateIcon,
|
|
104
|
-
DurationIcon,
|
|
105
|
-
EditIcon,
|
|
106
|
-
EditNoteIcon,
|
|
107
|
-
EditNotesIcon,
|
|
108
|
-
EllipsisIcon,
|
|
109
|
-
EmailCheckedIcon,
|
|
110
|
-
EmailIcon,
|
|
111
|
-
EmailResendIcon,
|
|
112
|
-
EmailSendIcon,
|
|
113
|
-
EmptyChecklistIcon,
|
|
114
|
-
EquipmentIcon,
|
|
115
|
-
ExportIcon,
|
|
116
|
-
EyeClosedIcon,
|
|
117
|
-
EyeIcon,
|
|
118
|
-
FaceNeutralIcon,
|
|
119
|
-
FaceSadIcon,
|
|
120
|
-
FaceSmileIcon,
|
|
121
25
|
FadeIn,
|
|
122
|
-
FeedbackLightBulbIcon,
|
|
123
|
-
FilterIcon,
|
|
124
|
-
FilterIconOld,
|
|
125
|
-
FlagIcon,
|
|
126
26
|
flash,
|
|
127
|
-
FlexFee2Icon,
|
|
128
|
-
FlexFeeIcon,
|
|
129
|
-
FoodIcon,
|
|
130
|
-
ForkIcon,
|
|
131
27
|
formatDate,
|
|
132
28
|
formatTime,
|
|
133
29
|
FormGroup,
|
|
134
|
-
FunnelIcon,
|
|
135
30
|
getChildByType,
|
|
136
31
|
getChildrenByType,
|
|
137
32
|
getInitials,
|
|
138
33
|
getSymbol,
|
|
139
|
-
GiftIcon,
|
|
140
|
-
GlobeIcon,
|
|
141
|
-
HandIcon,
|
|
142
|
-
HandshakeIcon,
|
|
143
34
|
HeaderToolbar,
|
|
144
|
-
HelpCenterIcon,
|
|
145
|
-
HiddenIcon,
|
|
146
|
-
HouseIcon,
|
|
147
|
-
ImageIcon,
|
|
148
35
|
ImageUpload,
|
|
149
|
-
InfinityIcon,
|
|
150
36
|
InlineValuePopover,
|
|
151
37
|
Input,
|
|
152
|
-
InvoiceIcon,
|
|
153
38
|
isOSX,
|
|
154
39
|
isZeroDecimal,
|
|
155
40
|
Key,
|
|
156
|
-
KeyIcon,
|
|
157
|
-
KioskIcon,
|
|
158
41
|
Label,
|
|
159
|
-
LabelIcon,
|
|
160
|
-
LandscapeIcon,
|
|
161
|
-
LightIcon,
|
|
162
|
-
LightningIcon,
|
|
163
|
-
LinkIcon,
|
|
164
|
-
LockIcon,
|
|
165
42
|
Login,
|
|
166
43
|
Logo,
|
|
167
|
-
LogoutIcon,
|
|
168
|
-
MagicIcon,
|
|
169
|
-
MedicalIcon,
|
|
170
|
-
MegaphoneIcon,
|
|
171
|
-
MenuIcon,
|
|
172
|
-
MinusIcon,
|
|
173
|
-
MixedChecklistIcon,
|
|
174
|
-
MobileIcon,
|
|
175
44
|
Modal,
|
|
176
|
-
MoneyAddIcon,
|
|
177
|
-
MoneyBackIcon,
|
|
178
|
-
MoneyIcon,
|
|
179
|
-
MountainIcon,
|
|
180
|
-
MouseIcon,
|
|
181
45
|
Number,
|
|
182
46
|
numberFormat,
|
|
183
|
-
PassIcon,
|
|
184
|
-
PauseIcon,
|
|
185
|
-
PenIcon,
|
|
186
47
|
Phone,
|
|
187
|
-
PhoneIcon,
|
|
188
|
-
PhotosIcon,
|
|
189
|
-
PiggyBankIcon,
|
|
190
|
-
PinIcon,
|
|
191
|
-
PipeIcon,
|
|
192
|
-
PlayIcon,
|
|
193
48
|
PlayMarketBadge,
|
|
194
|
-
PlusIcon,
|
|
195
|
-
PolicyIcon,
|
|
196
49
|
Popover,
|
|
197
50
|
PopoverList,
|
|
198
|
-
PrintIcon,
|
|
199
|
-
ProductsIcon,
|
|
200
51
|
Provider,
|
|
201
|
-
QuestionIcon,
|
|
202
|
-
QuestionnaireIcon,
|
|
203
52
|
RangeSlider,
|
|
204
|
-
ReceiptIcon,
|
|
205
|
-
ReceptionBellIcon,
|
|
206
|
-
ReceptionBellMoneyIcon,
|
|
207
|
-
RefreshIcon,
|
|
208
|
-
RefundIcon,
|
|
209
53
|
RelativeDateRange,
|
|
210
|
-
RosterIcon,
|
|
211
|
-
RoundedSquareIcon,
|
|
212
54
|
roundNumber,
|
|
213
|
-
RulerIcon,
|
|
214
55
|
Search,
|
|
215
|
-
SearchAltIcon,
|
|
216
|
-
SearchIcon,
|
|
217
56
|
Select,
|
|
218
|
-
SendIcon,
|
|
219
|
-
SeniorIcon,
|
|
220
|
-
SeniorV2Icon,
|
|
221
|
-
SeniorV3Icon,
|
|
222
|
-
ServiceIcon,
|
|
223
|
-
SettingsIcon,
|
|
224
|
-
ShapesIcon,
|
|
225
|
-
ShareIcon,
|
|
226
|
-
ShirtIcon,
|
|
227
|
-
ShoppingBagIcon,
|
|
228
57
|
Sidebar,
|
|
229
58
|
Skeleton,
|
|
230
59
|
SlideDown,
|
|
231
60
|
Spinner,
|
|
232
|
-
SplitPaymentIcon,
|
|
233
|
-
SquareIcon,
|
|
234
|
-
StackIcon,
|
|
235
|
-
StarFilledIcon,
|
|
236
|
-
StarIcon,
|
|
237
|
-
StoreCreditIcon,
|
|
238
61
|
SubmitButton,
|
|
239
62
|
Switch,
|
|
240
63
|
Table,
|
|
241
64
|
Tabs,
|
|
242
65
|
Tag,
|
|
243
|
-
TaxIcon,
|
|
244
66
|
Textarea,
|
|
245
67
|
theme,
|
|
246
|
-
ThumbsDownIcon,
|
|
247
|
-
ThumbsUpIcon,
|
|
248
|
-
TicketIcon,
|
|
249
|
-
ToggleButton,
|
|
250
68
|
Tooltip,
|
|
251
|
-
|
|
252
|
-
TrashIcon,
|
|
253
|
-
TutorialsBadgeIcon,
|
|
254
|
-
TutorialsButtonIcon,
|
|
255
|
-
TutorialsSquareIcon,
|
|
256
|
-
UnlinkIcon,
|
|
257
|
-
useId,
|
|
69
|
+
ToggleButton,
|
|
258
70
|
useIsClient,
|
|
259
71
|
useViewportHeight,
|
|
260
|
-
UserAddIcon,
|
|
261
|
-
UserChangedIcon,
|
|
262
|
-
UserIcon,
|
|
263
|
-
UserSubtractIcon,
|
|
264
|
-
ValuePopoverText,
|
|
265
|
-
VeteranIcon,
|
|
266
|
-
ViewNotesIcon,
|
|
267
|
-
VoucherIcon,
|
|
268
|
-
WaitlistIcon,
|
|
269
|
-
WarningDiamondIcon,
|
|
270
|
-
WarningIcon,
|
|
271
|
-
WarningTriangleIcon,
|
|
272
|
-
WeightIcon,
|
|
273
|
-
WifiIcon,
|
|
274
|
-
WriteIcon,
|
|
275
|
-
XolaBotIcon,
|
|
276
|
-
XrayIcon,
|
|
277
72
|
} from "./build/ui-kit.es";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xola/ui-kit",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.8",
|
|
4
4
|
"description": "Xola UI Kit",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"chromatic": "chromatic --exit-zero-on-changes --build-script-name build:storybook"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@headlessui/react": "
|
|
36
|
+
"@headlessui/react": "1.6",
|
|
37
37
|
"@tailwindcss/forms": "^0.5.6",
|
|
38
38
|
"@tailwindcss/line-clamp": "^0.4.4",
|
|
39
39
|
"@tippyjs/react": "^4.2.6",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"dayjs": "^1.11.13",
|
|
42
42
|
"downshift": "^6.1.12",
|
|
43
43
|
"get-user-locale": "^1.5.1",
|
|
44
|
-
"google-libphonenumber": "^3.2.
|
|
44
|
+
"google-libphonenumber": "^3.2.39",
|
|
45
45
|
"lodash-es": "^4.17.21",
|
|
46
46
|
"nouislider-react": "^3.4.1",
|
|
47
47
|
"prop-types": "^15.8.1",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"react-textarea-autosize": "^8.5.3",
|
|
55
55
|
"react18-json-view": "^0.2.8",
|
|
56
56
|
"storybook-addon-designs": "^6.3.1",
|
|
57
|
-
"tailwind-merge": "^2.5.
|
|
57
|
+
"tailwind-merge": "^2.5.5",
|
|
58
58
|
"tippy.js": "^6.3.7"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
@@ -65,6 +65,8 @@
|
|
|
65
65
|
"@storybook/addon-links": "^6.5.10",
|
|
66
66
|
"@storybook/addon-postcss": "^2.0.0",
|
|
67
67
|
"@storybook/addons": "^6.5.10",
|
|
68
|
+
"@storybook/builder-webpack5": "^6.5.16",
|
|
69
|
+
"@storybook/manager-webpack5": "^6.5.16",
|
|
68
70
|
"@storybook/react": "^6.5.10",
|
|
69
71
|
"@storybook/theming": "^6.5.10",
|
|
70
72
|
"@types/react": "^18.3.8",
|
|
@@ -79,8 +81,9 @@
|
|
|
79
81
|
"storybook-css-modules-preset": "^1.1.1",
|
|
80
82
|
"tailwindcss": "^3.1.8",
|
|
81
83
|
"typescript": "4.7",
|
|
82
|
-
"vite": "^
|
|
83
|
-
"vitest": "^2.1.1"
|
|
84
|
+
"vite": "^5.4.11",
|
|
85
|
+
"vitest": "^2.1.1",
|
|
86
|
+
"webpack": "^5.97.1"
|
|
84
87
|
},
|
|
85
88
|
"peerDependencies": {
|
|
86
89
|
"@types/react": "^18.2.22",
|
|
@@ -88,7 +91,7 @@
|
|
|
88
91
|
"autoprefixer": "^10.3.1",
|
|
89
92
|
"postcss": "^8.3.6",
|
|
90
93
|
"tailwindcss": "^3.1.8",
|
|
91
|
-
"vite": "
|
|
94
|
+
"vite": "^5.4.11"
|
|
92
95
|
},
|
|
93
96
|
"engines": {
|
|
94
97
|
"node": ">=18"
|
package/tailwind.config.js
CHANGED
|
@@ -172,7 +172,7 @@ module.exports = {
|
|
|
172
172
|
// Figma: https://www.figma.com/file/tL2vrxuBIzujkDfYvVjUhs/%F0%9F%9B%A0-Xola-DS-Desktop-Master-%F0%9F%9B%A0?node-id=1885%3A51905
|
|
173
173
|
extend: {
|
|
174
174
|
fontFamily: {
|
|
175
|
-
sans: ["Inter", ...defaultTheme.fontFamily.sans],
|
|
175
|
+
sans: ["InterVariable", "Inter", ...defaultTheme.fontFamily.sans],
|
|
176
176
|
mono: ["Roboto Mono", ...defaultTheme.fontFamily.mono],
|
|
177
177
|
},
|
|
178
178
|
|