@xola/ui-kit 2.2.0-2 → 2.2.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/index.d.ts ADDED
@@ -0,0 +1,276 @@
1
+ // This is just to make the auto-import work.
2
+ // Next step is to add types for the props.
3
+ export {
4
+ AccountIcon,
5
+ AddNoteIcon,
6
+ AddSquareIcon,
7
+ Alert,
8
+ almostZero,
9
+ AnnounceIcon,
10
+ AppIcon,
11
+ AppStoreBadge,
12
+ ArchiveIcon,
13
+ ArrowCcwIcon,
14
+ ArrowCwIcon,
15
+ ArrowDownIcon,
16
+ ArrowRightIcon,
17
+ ArrowTopRightIcon,
18
+ ArrowUpIcon,
19
+ AtIcon,
20
+ Avatar,
21
+ Badge,
22
+ BalloonIcon,
23
+ BankCheckIcon,
24
+ BarGraphIcon,
25
+ BaseInput,
26
+ BellIcon,
27
+ BookIcon,
28
+ BookmarkIcon,
29
+ BoxIcon,
30
+ BugIcon,
31
+ Breadcrumb,
32
+ Breakdown,
33
+ BriefcaseIcon,
34
+ Button,
35
+ ButtonCodeIcon,
36
+ ButtonGroup,
37
+ CakeIcon,
38
+ CalendarDayIcon,
39
+ CalendarIcon,
40
+ CalendarMonthIcon,
41
+ CalendarWeekIcon,
42
+ CapacityIcon,
43
+ CardAltIcon,
44
+ CardIcon,
45
+ CartIcon,
46
+ CashIcon,
47
+ 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
+ CircleNotch,
65
+ CirclePauseIcon,
66
+ CirclePlusIcon,
67
+ CircleSubtractIcon,
68
+ ClipboardIcon,
69
+ ClockAltIcon,
70
+ ClockIcon,
71
+ ClockManualIcon,
72
+ CloseCircleIcon,
73
+ CloseIcon,
74
+ CollapseIcon,
75
+ ComboBox,
76
+ CommentAltIcon,
77
+ CommentIcon,
78
+ compactNumber,
79
+ CompassIcon,
80
+ CopyIcon,
81
+ Counter,
82
+ CouponIcon,
83
+ CrmIcon,
84
+ CrownIcon,
85
+ Currency,
86
+ DashboardIcon,
87
+ dateFromObjectId,
88
+ DatePicker,
89
+ DatePickerPopover,
90
+ DecreaseIcon,
91
+ DepositIcon,
92
+ DisabledIcon,
93
+ DisputeIcon,
94
+ Dot,
95
+ DotProgress,
96
+ DotCircleIcon,
97
+ DoubleCheckIcon,
98
+ DownArrowIcon,
99
+ DownloadIcon,
100
+ 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
+ FadeIn,
122
+ FeedbackLightBulbIcon,
123
+ FilterIcon,
124
+ FilterIconOld,
125
+ FlagIcon,
126
+ flash,
127
+ FlexFee2Icon,
128
+ FlexFeeIcon,
129
+ FoodIcon,
130
+ ForkIcon,
131
+ formatDate,
132
+ formatTime,
133
+ FormGroup,
134
+ FunnelIcon,
135
+ getChildByType,
136
+ getChildrenByType,
137
+ getInitials,
138
+ getSymbol,
139
+ GiftIcon,
140
+ GlobeIcon,
141
+ HandIcon,
142
+ HandshakeIcon,
143
+ HeaderToolbar,
144
+ HelpCenterIcon,
145
+ HiddenIcon,
146
+ HouseIcon,
147
+ ImageIcon,
148
+ ImageUpload,
149
+ InfinityIcon,
150
+ InlineValuePopover,
151
+ Input,
152
+ InvoiceIcon,
153
+ isOSX,
154
+ isZeroDecimal,
155
+ Key,
156
+ KeyIcon,
157
+ KioskIcon,
158
+ Label,
159
+ LabelIcon,
160
+ LandscapeIcon,
161
+ LightIcon,
162
+ LightningIcon,
163
+ LinkIcon,
164
+ LockIcon,
165
+ Login,
166
+ Logo,
167
+ LogoutIcon,
168
+ MagicIcon,
169
+ MedicalIcon,
170
+ MegaphoneIcon,
171
+ MenuIcon,
172
+ MinusIcon,
173
+ MixedChecklistIcon,
174
+ MobileIcon,
175
+ Modal,
176
+ MoneyAddIcon,
177
+ MoneyBackIcon,
178
+ MoneyIcon,
179
+ MountainIcon,
180
+ MouseIcon,
181
+ Number,
182
+ numberFormat,
183
+ PassIcon,
184
+ PauseIcon,
185
+ PenIcon,
186
+ Phone,
187
+ PhoneIcon,
188
+ PhotosIcon,
189
+ PiggyBankIcon,
190
+ PinIcon,
191
+ PipeIcon,
192
+ PlayIcon,
193
+ PlayMarketBadge,
194
+ PlusIcon,
195
+ PolicyIcon,
196
+ Popover,
197
+ PopoverList,
198
+ PrintIcon,
199
+ ProductsIcon,
200
+ Provider,
201
+ QuestionIcon,
202
+ QuestionnaireIcon,
203
+ RangeSlider,
204
+ ReceiptIcon,
205
+ ReceptionBellIcon,
206
+ ReceptionBellMoneyIcon,
207
+ RefreshIcon,
208
+ RefundIcon,
209
+ RelativeDateRange,
210
+ RosterIcon,
211
+ RoundedSquareIcon,
212
+ roundNumber,
213
+ RulerIcon,
214
+ Search,
215
+ SearchAltIcon,
216
+ SearchIcon,
217
+ Select,
218
+ SendIcon,
219
+ SeniorIcon,
220
+ SeniorV2Icon,
221
+ SeniorV3Icon,
222
+ ServiceIcon,
223
+ SettingsIcon,
224
+ ShapesIcon,
225
+ ShareIcon,
226
+ ShirtIcon,
227
+ ShoppingBagIcon,
228
+ Sidebar,
229
+ Skeleton,
230
+ SlideDown,
231
+ Spinner,
232
+ SplitPaymentIcon,
233
+ SquareIcon,
234
+ StackIcon,
235
+ StarFilledIcon,
236
+ StarIcon,
237
+ StoreCreditIcon,
238
+ SubmitButton,
239
+ Switch,
240
+ Table,
241
+ Tabs,
242
+ Tag,
243
+ TaxIcon,
244
+ Textarea,
245
+ theme,
246
+ ThumbsDownIcon,
247
+ ThumbsUpIcon,
248
+ TicketIcon,
249
+ ToggleButton,
250
+ Tooltip,
251
+ TransferArrowIcon,
252
+ TrashIcon,
253
+ TutorialsBadgeIcon,
254
+ TutorialsButtonIcon,
255
+ TutorialsSquareIcon,
256
+ UnlinkIcon,
257
+ useId,
258
+ useIsClient,
259
+ UserAddIcon,
260
+ UserChangedIcon,
261
+ UserIcon,
262
+ UserSubtractIcon,
263
+ ValuePopoverText,
264
+ VeteranIcon,
265
+ ViewNotesIcon,
266
+ VoucherIcon,
267
+ WaitlistIcon,
268
+ WarningDiamondIcon,
269
+ WarningIcon,
270
+ WarningTriangleIcon,
271
+ WeightIcon,
272
+ WifiIcon,
273
+ WriteIcon,
274
+ XolaBotIcon,
275
+ XrayIcon,
276
+ } from "./build/ui-kit.umd";
package/package.json CHANGED
@@ -1,38 +1,40 @@
1
1
  {
2
2
  "name": "@xola/ui-kit",
3
- "version": "2.2.0-2",
3
+ "version": "2.2.0",
4
4
  "description": "Xola UI Kit",
5
5
  "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git://github.com/xola/ui-kit.git"
9
+ },
6
10
  "files": [
7
11
  "build",
8
12
  "index.css",
13
+ "index.d.ts",
9
14
  "tailwind.config.js",
10
15
  "postcss.config.js"
11
16
  ],
12
17
  "main": "build/ui-kit.umd.js",
13
18
  "module": "build/ui-kit.mjs",
14
- "types": "build/src/index.d.ts",
19
+ "types": "index.d.ts",
15
20
  "scripts": {
16
- "prebuild": "node scripts/prepare",
17
- "build": "npx tsc && vite build",
18
- "watch": "npm run build -- --watch",
19
- "prestart": "node scripts/prepare",
20
- "start": "start-storybook -p 6006 --no-open --quiet",
21
- "predev": "node scripts/prepare",
22
- "dev": "start-storybook -p 6006 --no-open --no-manager-cache",
21
+ "prepare": "node scripts/prepare && vite build",
22
+ "start": "npm run storybook -s public --no-open",
23
+ "dev": "npm run storybook -s public --no-manager-cache --no-open",
24
+ "storybook": "npm run prepare && start-storybook -p 6006 -s public --no-open",
25
+ "build": "npm run prepare && vite build",
23
26
  "clean": "rm -rf node_modules/.vite",
24
- "lint:fix": "xola-lint --ignore src/stories src --fix",
25
- "lint:report": "xola-lint --ignore src/stories src --reporter=json src > eslint_report.json && echo 'ESLint report saved to eslint_report.json'",
27
+ "build:storybook": "npm run prepare && build-storybook -s public",
28
+ "lint": "xola-lint src --ignore src/stories",
29
+ "lint:fix": "xola-lint src --fix --ignore src/stories",
30
+ "lint:report": "xola-lint src --ignore src/stories --reporter=json src > eslint_report.json",
26
31
  "format": "prettier --write src",
27
32
  "test": "jest",
28
- "build:storybook": "npm run prebuild && build-storybook",
29
- "chromatic": "chromatic --exit-zero-on-changes --build-script-name build:storybook",
30
- "prepublish": "npm run build",
31
- "publish": "np --no-tests --any-branch"
33
+ "chromatic": "chromatic --exit-zero-on-changes --build-script-name build:storybook"
32
34
  },
33
35
  "dependencies": {
34
36
  "@headlessui/react": "^1.4.0",
35
- "@tailwindcss/forms": "^0.4.0",
37
+ "@tailwindcss/forms": "^0.5.6",
36
38
  "@tailwindcss/line-clamp": "^0.3.1",
37
39
  "@tippyjs/react": "^4.2.6",
38
40
  "clsx": "^1.1.1",
@@ -69,12 +71,12 @@
69
71
  "lodash": "^4.17.21",
70
72
  "postcss": "^8.4.5",
71
73
  "prettier": "^2.7.1",
72
- "prettier-plugin-tailwindcss": "^0.2.8",
74
+ "prettier-plugin-tailwindcss": "^0.1.13",
73
75
  "react": "^17.0.2",
74
76
  "react-dom": "^17.0.2",
75
77
  "storybook-css-modules-preset": "^1.1.1",
76
78
  "tailwindcss": "^3.1.8",
77
- "typescript": "4.7",
79
+ "typescript": "^4.9.5",
78
80
  "vite": "^3.0.8"
79
81
  },
80
82
  "peerDependencies": {
@@ -103,6 +103,7 @@ const spacing = {
103
103
  48: "192px",
104
104
  50: "200px",
105
105
  52: "208px",
106
+ 54: "216px",
106
107
  56: "224px",
107
108
  60: "240px",
108
109
  64: "256px",
@@ -110,10 +111,11 @@ const spacing = {
110
111
  72: "288px",
111
112
  75: "300px",
112
113
  80: "320px",
113
- 82: "350px",
114
+ 85: "340px",
114
115
  96: "384px",
115
116
  100: "400px",
116
117
  105: "420px",
118
+ 110: "440px",
117
119
  125: "500px",
118
120
  150: "600px",
119
121
  140: "560px",