ekm-ui 0.4.65 → 0.4.66
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/.turbo/turbo-build.log +55 -55
- package/CHANGELOG.md +6 -0
- package/dist/card-payment-block.js +3 -3
- package/dist/{chunk-HE5X7TRV.js → chunk-6ZISXIJK.js} +2 -2
- package/dist/{chunk-6QS4FM7C.js → chunk-NNY7FGHZ.js} +2 -2
- package/dist/chunk-X2MJVQTW.js +11 -0
- package/dist/chunk-X2MJVQTW.js.map +1 -0
- package/dist/country-picker/country-modal.js +3 -3
- package/dist/drag-and-drop.js +3 -3
- package/dist/file-picker/file-picker.js +3 -3
- package/dist/index.js +3 -3
- package/dist/layout/layout.js +3 -3
- package/dist/pin-feature-button.js +2 -2
- package/dist/product-picker/product-modal.js +3 -3
- package/dist/stacked-list-item.js +3 -3
- package/dist/table-header/table-header.js +2 -2
- package/dist/table-result-block.js +3 -3
- package/dist/tooltip/tooltip.d.ts +6 -1
- package/dist/tooltip/tooltip.js +1 -1
- package/package.json +1 -1
- package/src/tooltip/tooltip.tsx +9 -3
- package/dist/chunk-THOZT55U.js +0 -11
- package/dist/chunk-THOZT55U.js.map +0 -1
- /package/dist/{chunk-HE5X7TRV.js.map → chunk-6ZISXIJK.js.map} +0 -0
- /package/dist/{chunk-6QS4FM7C.js.map → chunk-NNY7FGHZ.js.map} +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
yarn run v1.22.22
|
|
2
2
|
$ tsup
|
|
3
|
-
CLI Building entry: src/accordion.tsx, src/account-manager.tsx, src/alert-banner.tsx, src/alert.tsx, src/avatar.tsx, src/badge.tsx, src/breadcrumb.tsx, src/button-group-item.tsx, src/button.tsx, src/card-payment-block.tsx, src/card.tsx, src/checkbox.tsx, src/color-picker.tsx, src/dashboard-notification.tsx, src/date-range-picker.tsx, src/date-time-component.tsx, src/date-time-picker.tsx, src/drag-and-drop.tsx, src/draggable-stacked-list-item.tsx, src/drawer.tsx, src/dropdown.tsx, src/ekm-logo.tsx, src/fixed-alert.tsx, src/footer-heart-icon.tsx, src/form-row.tsx, src/image-thumbnail.tsx, src/index.tsx, src/input-addon.tsx, src/input-copy.tsx, src/label.tsx, src/loading-button.tsx, src/love-footer.tsx, src/mini-feature-block.tsx, src/modal.tsx, src/no-results-block.tsx, src/page-header.tsx, src/pin-feature-button.tsx, src/progress-bar.tsx, src/radio.tsx, src/select.tsx, src/spinner.tsx, src/stacked-list-item.tsx, src/table-result-block.tsx, src/test-component.tsx, src/text-row.tsx, src/textarea.tsx, src/textinput.tsx, src/toggleswitch.tsx, src/video-dashboard-notification.tsx, src/video-modal.tsx, src/country-picker/country-listing.tsx, src/country-picker/country-modal.tsx, src/cross-sell/cross-sell-carousel.tsx, src/cross-sell/serivce-callback-banner.tsx, src/cross-sell/service-card.tsx, src/feature-cards/feature-card.tsx, src/feature-cards/staff-pick-card.tsx, src/featurePageComponents/feature-page-group.tsx, src/featurePageComponents/mini-feature-block.tsx, src/file-picker/file-listing.tsx, src/file-picker/file-picker.tsx, src/
|
|
3
|
+
CLI Building entry: src/accordion.tsx, src/account-manager.tsx, src/alert-banner.tsx, src/alert.tsx, src/avatar.tsx, src/badge.tsx, src/breadcrumb.tsx, src/button-group-item.tsx, src/button.tsx, src/card-payment-block.tsx, src/card.tsx, src/checkbox.tsx, src/color-picker.tsx, src/dashboard-notification.tsx, src/date-range-picker.tsx, src/date-time-component.tsx, src/date-time-picker.tsx, src/drag-and-drop.tsx, src/draggable-stacked-list-item.tsx, src/drawer.tsx, src/dropdown.tsx, src/ekm-logo.tsx, src/fixed-alert.tsx, src/footer-heart-icon.tsx, src/form-row.tsx, src/image-thumbnail.tsx, src/index.tsx, src/input-addon.tsx, src/input-copy.tsx, src/label.tsx, src/loading-button.tsx, src/love-footer.tsx, src/mini-feature-block.tsx, src/modal.tsx, src/no-results-block.tsx, src/page-header.tsx, src/pin-feature-button.tsx, src/progress-bar.tsx, src/radio.tsx, src/select.tsx, src/spinner.tsx, src/stacked-list-item.tsx, src/table-result-block.tsx, src/test-component.tsx, src/text-row.tsx, src/textarea.tsx, src/textinput.tsx, src/toggleswitch.tsx, src/video-dashboard-notification.tsx, src/video-modal.tsx, src/country-picker/country-listing.tsx, src/country-picker/country-modal.tsx, src/cross-sell/cross-sell-carousel.tsx, src/cross-sell/serivce-callback-banner.tsx, src/cross-sell/service-card.tsx, src/feature-cards/feature-card.tsx, src/feature-cards/staff-pick-card.tsx, src/featurePageComponents/feature-page-group.tsx, src/featurePageComponents/mini-feature-block.tsx, src/file-picker/file-listing.tsx, src/file-picker/file-picker.tsx, src/layout/layout.tsx, src/navbar/navbar.tsx, src/nbui/nbui-card-form.tsx, src/nbui/nbui-card-image.tsx, src/nbui/nbui-card-lg.tsx, src/nbui/nbui-card-paragraphs-lg.tsx, src/nbui/nbui-card-paragraphs.tsx, src/nbui/nbui-card-sm.tsx, src/nbui/nbui-card-table.tsx, src/nbui/nbui-card.tsx, src/nbui/nbui-container.tsx, src/nbui/nbui-footer.tsx, src/nbui/nbui-page-layout.tsx, src/pagination/pagination.tsx, src/product-picker/product-listing.tsx, src/product-picker/product-modal.tsx, src/search/search.tsx, src/sidebar/sidebar.tsx, src/sort/sort.tsx, src/table-header/table-header.tsx, src/toast/index.tsx, src/tooltip/tooltip.tsx
|
|
4
4
|
CLI Using tsconfig: tsconfig.json
|
|
5
5
|
CLI tsup v6.7.0
|
|
6
6
|
CLI Using tsup config: /home/runner/work/dev/dev/frontend/packages/ekm-ui/tsup.config.ts
|
|
@@ -11,7 +11,7 @@ Browserslist: caniuse-lite is outdated. Please run:
|
|
|
11
11
|
npx update-browserslist-db@latest
|
|
12
12
|
Why you should do it regularly: https://github.com/browserslist/update-db#readme
|
|
13
13
|
DTS Build start
|
|
14
|
-
DTS ⚡️ Build success in
|
|
14
|
+
DTS ⚡️ Build success in 64467ms
|
|
15
15
|
DTS dist/index.d.ts 4.03 KB
|
|
16
16
|
DTS dist/footer-heart-icon.d.ts 70.00 B
|
|
17
17
|
DTS dist/accordion.d.ts 2.19 KB
|
|
@@ -62,7 +62,7 @@ DTS dist/search/search.d.ts 138.00 B
|
|
|
62
62
|
DTS dist/select.d.ts 138.00 B
|
|
63
63
|
DTS dist/textarea.d.ts 142.00 B
|
|
64
64
|
DTS dist/modal.d.ts 1.89 KB
|
|
65
|
-
DTS dist/tooltip/tooltip.d.ts
|
|
65
|
+
DTS dist/tooltip/tooltip.d.ts 1.19 KB
|
|
66
66
|
DTS dist/radio.d.ts 136.00 B
|
|
67
67
|
DTS dist/textinput.d.ts 144.00 B
|
|
68
68
|
DTS dist/file-picker/file-picker.d.ts 960.00 B
|
|
@@ -96,21 +96,21 @@ DTS dist/featurePageComponents/mini-feature-block.d.ts 254.00 B
|
|
|
96
96
|
DTS dist/file-picker/file-listing.d.ts 992.00 B
|
|
97
97
|
DTS dist/product-picker/product-listing.d.ts 890.00 B
|
|
98
98
|
"HiArchive", "HiCurrencyDollar", "HiInbox", "HiLogout", "HiOutlineTicket", "HiShoppingBag", "HiUserCircle", "HiUsers" and "HiViewGrid" are imported from external module "react-icons/hi" but never used in "dist/chunk-XXP5K6Y4.js".
|
|
99
|
+
ESM dist/product-picker/product-modal.css 124.59 KB
|
|
99
100
|
ESM dist/file-picker/file-picker.css 124.59 KB
|
|
100
101
|
ESM dist/layout/layout.css 124.58 KB
|
|
101
102
|
ESM dist/country-picker/country-modal.css 124.59 KB
|
|
102
103
|
ESM dist/stacked-list-item.css 124.59 KB
|
|
103
104
|
ESM dist/table-result-block.css 124.59 KB
|
|
104
105
|
ESM dist/index.css 124.58 KB
|
|
105
|
-
ESM dist/product-picker/product-modal.css 124.59 KB
|
|
106
106
|
ESM dist/drag-and-drop.css 124.59 KB
|
|
107
107
|
ESM dist/card-payment-block.css 124.59 KB
|
|
108
|
+
ESM dist/product-picker/product-modal.css.map 177.07 KB
|
|
109
|
+
ESM dist/file-picker/file-picker.css.map 177.07 KB
|
|
110
|
+
ESM dist/layout/layout.css.map 177.07 KB
|
|
108
111
|
ESM dist/country-picker/country-modal.css.map 177.07 KB
|
|
109
|
-
ESM dist/stacked-list-item.css.map 177.07 KB
|
|
110
112
|
ESM dist/table-result-block.css.map 177.07 KB
|
|
111
|
-
ESM dist/
|
|
112
|
-
ESM dist/file-picker/file-picker.css.map 177.07 KB
|
|
113
|
-
ESM dist/product-picker/product-modal.css.map 177.07 KB
|
|
113
|
+
ESM dist/index.css.map 177.07 KB
|
|
114
114
|
ESM dist/drag-and-drop.css.map 177.07 KB
|
|
115
115
|
ESM dist/card-payment-block.css.map 177.07 KB
|
|
116
116
|
ESM dist/chunk-SBGTFQOD.js 8.80 KB
|
|
@@ -139,8 +139,8 @@ ESM dist/featurePageComponents/feature-page-group.js 171.00 B
|
|
|
139
139
|
ESM dist/featurePageComponents/mini-feature-block.js 804.00 B
|
|
140
140
|
ESM dist/file-picker/file-listing.js 218.00 B
|
|
141
141
|
ESM dist/file-picker/file-picker.js 2.46 KB
|
|
142
|
-
ESM dist/navbar/navbar.js 180.00 B
|
|
143
142
|
ESM dist/layout/layout.js 2.45 KB
|
|
143
|
+
ESM dist/navbar/navbar.js 180.00 B
|
|
144
144
|
ESM dist/nbui/nbui-card-form.js 165.00 B
|
|
145
145
|
ESM dist/video-dashboard-notification.js 189.00 B
|
|
146
146
|
ESM dist/video-modal.js 156.00 B
|
|
@@ -161,9 +161,11 @@ ESM dist/toggleswitch.js 189.00 B
|
|
|
161
161
|
ESM dist/mini-feature-block.js 259.00 B
|
|
162
162
|
ESM dist/modal.js 209.00 B
|
|
163
163
|
ESM dist/no-results-block.js 165.00 B
|
|
164
|
+
ESM dist/page-header.js 216.00 B
|
|
165
|
+
ESM dist/pin-feature-button.js 229.00 B
|
|
166
|
+
ESM dist/progress-bar.js 188.00 B
|
|
164
167
|
ESM dist/radio.js 175.00 B
|
|
165
168
|
ESM dist/select.js 177.00 B
|
|
166
|
-
ESM dist/index.css.map 177.07 KB
|
|
167
169
|
ESM dist/form-row.js 180.00 B
|
|
168
170
|
ESM dist/image-thumbnail.js 164.00 B
|
|
169
171
|
ESM dist/index.js 4.31 KB
|
|
@@ -174,22 +176,24 @@ ESM dist/loading-button.js 192.00 B
|
|
|
174
176
|
ESM dist/love-footer.js 156.00 B
|
|
175
177
|
ESM dist/date-time-picker.js 285.00 B
|
|
176
178
|
ESM dist/drag-and-drop.js 2.38 KB
|
|
179
|
+
ESM dist/draggable-stacked-list-item.js 246.00 B
|
|
177
180
|
ESM dist/drawer.js 147.00 B
|
|
178
181
|
ESM dist/dropdown.js 222.00 B
|
|
179
182
|
ESM dist/ekm-logo.js 150.00 B
|
|
180
183
|
ESM dist/fixed-alert.js 246.00 B
|
|
184
|
+
ESM dist/stacked-list-item.css.map 177.07 KB
|
|
181
185
|
ESM dist/footer-heart-icon.js 56.43 KB
|
|
182
186
|
ESM dist/button.js 207.00 B
|
|
183
187
|
ESM dist/card-payment-block.js 2.39 KB
|
|
184
188
|
ESM dist/chunk-WWAVZUGE.js 29.38 KB
|
|
185
|
-
ESM dist/chunk-
|
|
189
|
+
ESM dist/chunk-6ZISXIJK.js 75.66 KB
|
|
186
190
|
ESM dist/chunk-YZ2YZSNQ.js 2.37 KB
|
|
187
191
|
ESM dist/chunk-GVNUAH45.js 347.00 B
|
|
188
192
|
ESM dist/chunk-JAR3LP2K.js 809.00 B
|
|
189
193
|
ESM dist/chunk-EK5I26TX.js 6.72 KB
|
|
190
194
|
ESM dist/chunk-22RUXGYW.js 4.46 KB
|
|
191
|
-
ESM dist/chunk-HVNLAQA6.js 1.81 KB
|
|
192
195
|
ESM dist/chunk-LQKVFBLU.js 3.53 KB
|
|
196
|
+
ESM dist/chunk-HVNLAQA6.js 1.81 KB
|
|
193
197
|
ESM dist/chunk-HW7AZG2V.js 2.04 KB
|
|
194
198
|
ESM dist/chunk-AN66H4D6.js 559.00 B
|
|
195
199
|
ESM dist/chunk-GWERJBUR.js 885.00 B
|
|
@@ -219,8 +223,8 @@ ESM dist/chunk-MKSPEQBS.js 764.00 B
|
|
|
219
223
|
ESM dist/chunk-T2SOP5NE.js 2.52 KB
|
|
220
224
|
ESM dist/chunk-AVTJXS4U.js 544.00 B
|
|
221
225
|
ESM dist/chunk-SFEJDNIA.js 1.14 KB
|
|
222
|
-
ESM dist/
|
|
223
|
-
ESM dist/chunk-
|
|
226
|
+
ESM dist/chunk-NNY7FGHZ.js 909.00 B
|
|
227
|
+
ESM dist/chunk-X2MJVQTW.js 2.64 KB
|
|
224
228
|
ESM dist/chunk-LMMFRNNG.js 1.10 KB
|
|
225
229
|
ESM dist/chunk-R3QJRZTP.js 989.00 B
|
|
226
230
|
ESM dist/chunk-Z44LYPKH.js 1003.00 B
|
|
@@ -231,10 +235,10 @@ ESM dist/chunk-2XZEWF7J.js 3.30 KB
|
|
|
231
235
|
ESM dist/chunk-ESJIQMQJ.js 738.00 B
|
|
232
236
|
ESM dist/chunk-4XZIZWPL.js 5.67 KB
|
|
233
237
|
ESM dist/chunk-DL4PX4HA.js 1.50 KB
|
|
238
|
+
ESM dist/chunk-6TL5EZJH.js 1.31 KB
|
|
234
239
|
ESM dist/chunk-NDDDT4TO.js 1.63 KB
|
|
235
240
|
ESM dist/chunk-QYKN3JZ5.js 3.46 KB
|
|
236
241
|
ESM dist/chunk-SLIZ4TDR.js 1.68 KB
|
|
237
|
-
ESM dist/chunk-6TL5EZJH.js 1.31 KB
|
|
238
242
|
ESM dist/chunk-ZKLRH3O4.js 723.00 B
|
|
239
243
|
ESM dist/card.js 173.00 B
|
|
240
244
|
ESM dist/checkbox.js 211.00 B
|
|
@@ -263,6 +267,7 @@ ESM dist/alert.js 145.00 B
|
|
|
263
267
|
ESM dist/chunk-MBACKGWE.js 937.00 B
|
|
264
268
|
ESM dist/avatar.js 207.00 B
|
|
265
269
|
ESM dist/chunk-2OPJLYW6.js 1.69 KB
|
|
270
|
+
ESM dist/badge.js 205.00 B
|
|
266
271
|
ESM dist/chunk-UJ5AEZKA.js 2.87 KB
|
|
267
272
|
ESM dist/chunk-TJMI4DH2.js 19.88 KB
|
|
268
273
|
ESM dist/breadcrumb.js 227.00 B
|
|
@@ -270,20 +275,15 @@ ESM dist/chunk-TRVGXTCI.js 1.58 KB
|
|
|
270
275
|
ESM dist/chunk-6LHL364H.js 15.70 KB
|
|
271
276
|
ESM dist/button-group-item.js 167.00 B
|
|
272
277
|
ESM dist/chunk-XYGVDZRO.js 696.00 B
|
|
273
|
-
ESM dist/
|
|
274
|
-
ESM dist/draggable-stacked-list-item.js 246.00 B
|
|
275
|
-
ESM dist/badge.js 205.00 B
|
|
276
|
-
ESM dist/progress-bar.js 188.00 B
|
|
277
|
-
ESM dist/chunk-6QS4FM7C.js 909.00 B
|
|
278
|
+
ESM dist/chunk-SBGTFQOD.js.map 15.87 KB
|
|
278
279
|
ESM dist/chunk-Z4LPO673.js.map 71.00 B
|
|
279
280
|
ESM dist/table-header/table-header.js.map 51.00 B
|
|
280
|
-
ESM dist/chunk-SBGTFQOD.js.map 15.87 KB
|
|
281
|
-
ESM dist/tooltip/tooltip.js.map 51.00 B
|
|
282
281
|
ESM dist/toast/index.js.map 51.00 B
|
|
282
|
+
ESM dist/tooltip/tooltip.js.map 51.00 B
|
|
283
283
|
ESM dist/nbui/nbui-footer.js.map 51.00 B
|
|
284
284
|
ESM dist/nbui/nbui-page-layout.js.map 51.00 B
|
|
285
|
-
ESM dist/product-picker/product-listing.js.map 51.00 B
|
|
286
285
|
ESM dist/pagination/pagination.js.map 51.00 B
|
|
286
|
+
ESM dist/product-picker/product-listing.js.map 51.00 B
|
|
287
287
|
ESM dist/product-picker/product-modal.js.map 51.00 B
|
|
288
288
|
ESM dist/search/search.js.map 51.00 B
|
|
289
289
|
ESM dist/sidebar/sidebar.js.map 51.00 B
|
|
@@ -292,35 +292,40 @@ ESM dist/nbui/nbui-card-image.js.map 51.00 B
|
|
|
292
292
|
ESM dist/nbui/nbui-card-lg.js.map 51.00 B
|
|
293
293
|
ESM dist/nbui/nbui-card-paragraphs-lg.js.map 51.00 B
|
|
294
294
|
ESM dist/nbui/nbui-card-paragraphs.js.map 51.00 B
|
|
295
|
-
ESM dist/nbui/nbui-card-table.js.map 51.00 B
|
|
296
295
|
ESM dist/nbui/nbui-card-sm.js.map 51.00 B
|
|
296
|
+
ESM dist/nbui/nbui-card-table.js.map 51.00 B
|
|
297
297
|
ESM dist/nbui/nbui-card.js.map 51.00 B
|
|
298
298
|
ESM dist/nbui/nbui-container.js.map 51.00 B
|
|
299
299
|
ESM dist/feature-cards/staff-pick-card.js.map 51.00 B
|
|
300
|
-
ESM dist/featurePageComponents/mini-feature-block.js.map 1.51 KB
|
|
301
300
|
ESM dist/featurePageComponents/feature-page-group.js.map 51.00 B
|
|
301
|
+
ESM dist/featurePageComponents/mini-feature-block.js.map 1.51 KB
|
|
302
302
|
ESM dist/file-picker/file-listing.js.map 51.00 B
|
|
303
303
|
ESM dist/file-picker/file-picker.js.map 51.00 B
|
|
304
|
+
ESM dist/layout/layout.js.map 51.00 B
|
|
304
305
|
ESM dist/navbar/navbar.js.map 51.00 B
|
|
305
306
|
ESM dist/nbui/nbui-card-form.js.map 51.00 B
|
|
306
|
-
ESM dist/layout/layout.js.map 51.00 B
|
|
307
307
|
ESM dist/video-dashboard-notification.js.map 51.00 B
|
|
308
|
-
ESM dist/
|
|
308
|
+
ESM dist/video-modal.js.map 51.00 B
|
|
309
309
|
ESM dist/country-picker/country-listing.js.map 51.00 B
|
|
310
|
-
ESM dist/
|
|
310
|
+
ESM dist/country-picker/country-modal.js.map 51.00 B
|
|
311
|
+
ESM dist/cross-sell/cross-sell-carousel.js.map 51.00 B
|
|
311
312
|
ESM dist/cross-sell/serivce-callback-banner.js.map 51.00 B
|
|
313
|
+
ESM dist/cross-sell/service-card.js.map 51.00 B
|
|
312
314
|
ESM dist/feature-cards/feature-card.js.map 51.00 B
|
|
313
|
-
ESM dist/country-picker/country-modal.js.map 51.00 B
|
|
314
|
-
ESM dist/video-modal.js.map 51.00 B
|
|
315
|
-
ESM dist/test-component.js.map 51.00 B
|
|
316
315
|
ESM dist/spinner.js.map 51.00 B
|
|
317
|
-
ESM dist/
|
|
316
|
+
ESM dist/stacked-list-item.js.map 51.00 B
|
|
317
|
+
ESM dist/table-result-block.js.map 51.00 B
|
|
318
|
+
ESM dist/test-component.js.map 51.00 B
|
|
318
319
|
ESM dist/text-row.js.map 51.00 B
|
|
320
|
+
ESM dist/textarea.js.map 51.00 B
|
|
319
321
|
ESM dist/textinput.js.map 51.00 B
|
|
320
322
|
ESM dist/toggleswitch.js.map 51.00 B
|
|
321
323
|
ESM dist/mini-feature-block.js.map 51.00 B
|
|
322
324
|
ESM dist/modal.js.map 51.00 B
|
|
325
|
+
ESM dist/page-header.js.map 51.00 B
|
|
326
|
+
ESM dist/pin-feature-button.js.map 51.00 B
|
|
323
327
|
ESM dist/no-results-block.js.map 51.00 B
|
|
328
|
+
ESM dist/progress-bar.js.map 51.00 B
|
|
324
329
|
ESM dist/radio.js.map 51.00 B
|
|
325
330
|
ESM dist/select.js.map 51.00 B
|
|
326
331
|
ESM dist/form-row.js.map 51.00 B
|
|
@@ -330,24 +335,25 @@ ESM dist/input-addon.js.map 51.00 B
|
|
|
330
335
|
ESM dist/input-copy.js.map 51.00 B
|
|
331
336
|
ESM dist/label.js.map 51.00 B
|
|
332
337
|
ESM dist/loading-button.js.map 51.00 B
|
|
333
|
-
ESM dist/date-time-picker.js.map 51.00 B
|
|
334
338
|
ESM dist/love-footer.js.map 51.00 B
|
|
339
|
+
ESM dist/date-time-picker.js.map 51.00 B
|
|
335
340
|
ESM dist/drag-and-drop.js.map 51.00 B
|
|
341
|
+
ESM dist/draggable-stacked-list-item.js.map 51.00 B
|
|
336
342
|
ESM dist/drawer.js.map 51.00 B
|
|
337
343
|
ESM dist/dropdown.js.map 51.00 B
|
|
338
344
|
ESM dist/ekm-logo.js.map 51.00 B
|
|
339
345
|
ESM dist/fixed-alert.js.map 51.00 B
|
|
340
346
|
ESM dist/footer-heart-icon.js.map 57.05 KB
|
|
341
|
-
ESM dist/card-payment-block.js.map 51.00 B
|
|
342
347
|
ESM dist/button.js.map 51.00 B
|
|
348
|
+
ESM dist/card-payment-block.js.map 51.00 B
|
|
343
349
|
ESM dist/chunk-WWAVZUGE.js.map 81.52 KB
|
|
344
350
|
ESM dist/chunk-YZ2YZSNQ.js.map 5.68 KB
|
|
345
351
|
ESM dist/chunk-GVNUAH45.js.map 525.00 B
|
|
346
|
-
ESM dist/chunk-EK5I26TX.js.map 14.11 KB
|
|
347
352
|
ESM dist/chunk-JAR3LP2K.js.map 1.89 KB
|
|
353
|
+
ESM dist/chunk-EK5I26TX.js.map 14.11 KB
|
|
348
354
|
ESM dist/chunk-22RUXGYW.js.map 9.89 KB
|
|
349
|
-
ESM dist/chunk-HVNLAQA6.js.map 5.19 KB
|
|
350
355
|
ESM dist/chunk-LQKVFBLU.js.map 10.01 KB
|
|
356
|
+
ESM dist/chunk-HVNLAQA6.js.map 5.19 KB
|
|
351
357
|
ESM dist/chunk-HW7AZG2V.js.map 4.63 KB
|
|
352
358
|
ESM dist/chunk-AN66H4D6.js.map 873.00 B
|
|
353
359
|
ESM dist/chunk-GWERJBUR.js.map 1.29 KB
|
|
@@ -359,28 +365,26 @@ ESM dist/chunk-XKE3VK6Z.js.map 1.08 KB
|
|
|
359
365
|
ESM dist/chunk-7Q6OMA2A.js.map 1.28 KB
|
|
360
366
|
ESM dist/chunk-RTRHNOTP.js.map 1.27 KB
|
|
361
367
|
ESM dist/chunk-XABECXZS.js.map 1.77 KB
|
|
362
|
-
ESM dist/chunk-XXP5K6Y4.js.map 24.62 KB
|
|
363
368
|
ESM dist/chunk-FPXEE5TC.js.map 8.39 KB
|
|
364
|
-
ESM dist/chunk-
|
|
369
|
+
ESM dist/chunk-XXP5K6Y4.js.map 24.62 KB
|
|
365
370
|
ESM dist/chunk-LWTESXND.js.map 2.48 KB
|
|
371
|
+
ESM dist/chunk-LIXVY47P.js.map 2.16 KB
|
|
366
372
|
ESM dist/chunk-Y5DEGGVQ.js.map 3.34 KB
|
|
367
373
|
ESM dist/chunk-F7MTEILK.js.map 4.07 KB
|
|
368
374
|
ESM dist/chunk-V3U7HHZC.js.map 5.72 KB
|
|
369
375
|
ESM dist/chunk-DCVOMIPI.js.map 1.26 KB
|
|
370
|
-
ESM dist/chunk-IJMS44H4.js.map 2.92 KB
|
|
371
376
|
ESM dist/chunk-L3QBVK6X.js.map 7.35 KB
|
|
372
|
-
ESM dist/chunk-
|
|
377
|
+
ESM dist/chunk-IJMS44H4.js.map 2.92 KB
|
|
373
378
|
ESM dist/chunk-AO5TGD7T.js.map 1.85 KB
|
|
379
|
+
ESM dist/chunk-WVAVR5V6.js.map 762.00 B
|
|
374
380
|
ESM dist/chunk-E5EF4RHS.js.map 1.30 KB
|
|
375
381
|
ESM dist/chunk-QCHLLBHM.js.map 2.86 KB
|
|
376
|
-
ESM dist/chunk-T2SOP5NE.js.map 5.53 KB
|
|
377
382
|
ESM dist/chunk-MKSPEQBS.js.map 1.57 KB
|
|
378
|
-
ESM dist/
|
|
379
|
-
ESM dist/table-result-block.js.map 51.00 B
|
|
383
|
+
ESM dist/chunk-T2SOP5NE.js.map 5.53 KB
|
|
380
384
|
ESM dist/chunk-AVTJXS4U.js.map 1.06 KB
|
|
381
385
|
ESM dist/chunk-SFEJDNIA.js.map 2.56 KB
|
|
382
|
-
ESM dist/
|
|
383
|
-
ESM dist/chunk-
|
|
386
|
+
ESM dist/chunk-NNY7FGHZ.js.map 2.47 KB
|
|
387
|
+
ESM dist/chunk-X2MJVQTW.js.map 5.73 KB
|
|
384
388
|
ESM dist/chunk-LMMFRNNG.js.map 2.51 KB
|
|
385
389
|
ESM dist/chunk-R3QJRZTP.js.map 1.96 KB
|
|
386
390
|
ESM dist/chunk-Z44LYPKH.js.map 1.91 KB
|
|
@@ -391,10 +395,10 @@ ESM dist/chunk-2XZEWF7J.js.map 5.31 KB
|
|
|
391
395
|
ESM dist/chunk-ESJIQMQJ.js.map 1.20 KB
|
|
392
396
|
ESM dist/chunk-4XZIZWPL.js.map 15.80 KB
|
|
393
397
|
ESM dist/chunk-DL4PX4HA.js.map 3.33 KB
|
|
398
|
+
ESM dist/chunk-6TL5EZJH.js.map 2.48 KB
|
|
394
399
|
ESM dist/chunk-NDDDT4TO.js.map 3.64 KB
|
|
395
400
|
ESM dist/chunk-QYKN3JZ5.js.map 8.04 KB
|
|
396
401
|
ESM dist/chunk-SLIZ4TDR.js.map 2.43 KB
|
|
397
|
-
ESM dist/chunk-6TL5EZJH.js.map 2.48 KB
|
|
398
402
|
ESM dist/chunk-ZKLRH3O4.js.map 1.48 KB
|
|
399
403
|
ESM dist/card.js.map 51.00 B
|
|
400
404
|
ESM dist/checkbox.js.map 51.00 B
|
|
@@ -408,8 +412,8 @@ ESM dist/chunk-SJTOZW2N.js.map 20.14 KB
|
|
|
408
412
|
ESM dist/chunk-DSJ5TRZW.js.map 3.05 KB
|
|
409
413
|
ESM dist/chunk-IPAI4R3G.js.map 1.57 KB
|
|
410
414
|
ESM dist/chunk-F7K7HAXY.js.map 773.00 B
|
|
411
|
-
ESM dist/date-time-component.js.map 51.00 B
|
|
412
415
|
ESM dist/chunk-YDHYTYH6.js.map 17.89 KB
|
|
416
|
+
ESM dist/date-time-component.js.map 51.00 B
|
|
413
417
|
ESM dist/chunk-4FSPYK2A.js.map 21.34 KB
|
|
414
418
|
ESM dist/chunk-DXXZYNRO.js.map 7.72 KB
|
|
415
419
|
ESM dist/accordion.js.map 51.00 B
|
|
@@ -423,6 +427,7 @@ ESM dist/alert.js.map 51.00 B
|
|
|
423
427
|
ESM dist/chunk-MBACKGWE.js.map 2.14 KB
|
|
424
428
|
ESM dist/avatar.js.map 51.00 B
|
|
425
429
|
ESM dist/chunk-2OPJLYW6.js.map 4.13 KB
|
|
430
|
+
ESM dist/badge.js.map 51.00 B
|
|
426
431
|
ESM dist/chunk-UJ5AEZKA.js.map 4.19 KB
|
|
427
432
|
ESM dist/chunk-TJMI4DH2.js.map 117.04 KB
|
|
428
433
|
ESM dist/breadcrumb.js.map 51.00 B
|
|
@@ -430,11 +435,6 @@ ESM dist/chunk-TRVGXTCI.js.map 3.33 KB
|
|
|
430
435
|
ESM dist/chunk-6LHL364H.js.map 62.53 KB
|
|
431
436
|
ESM dist/button-group-item.js.map 51.00 B
|
|
432
437
|
ESM dist/chunk-XYGVDZRO.js.map 1.25 KB
|
|
433
|
-
ESM dist/
|
|
434
|
-
ESM
|
|
435
|
-
|
|
436
|
-
ESM dist/progress-bar.js.map 51.00 B
|
|
437
|
-
ESM dist/chunk-6QS4FM7C.js.map 2.47 KB
|
|
438
|
-
ESM dist/chunk-HE5X7TRV.js.map 711.41 KB
|
|
439
|
-
ESM ⚡️ Build success in 72588ms
|
|
440
|
-
Done in 73.12s.
|
|
438
|
+
ESM dist/chunk-6ZISXIJK.js.map 711.41 KB
|
|
439
|
+
ESM ⚡️ Build success in 73699ms
|
|
440
|
+
Done in 74.47s.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { h as CardPaymentBlock } from './chunk-WWAVZUGE.js';
|
|
2
|
-
import './chunk-
|
|
2
|
+
import './chunk-6ZISXIJK.js';
|
|
3
3
|
import './chunk-YZ2YZSNQ.js';
|
|
4
4
|
import './chunk-GVNUAH45.js';
|
|
5
5
|
import './chunk-JAR3LP2K.js';
|
|
@@ -37,8 +37,8 @@ import './chunk-MKSPEQBS.js';
|
|
|
37
37
|
import './chunk-T2SOP5NE.js';
|
|
38
38
|
import './chunk-AVTJXS4U.js';
|
|
39
39
|
import './chunk-SFEJDNIA.js';
|
|
40
|
-
import './chunk-
|
|
41
|
-
import './chunk-
|
|
40
|
+
import './chunk-NNY7FGHZ.js';
|
|
41
|
+
import './chunk-X2MJVQTW.js';
|
|
42
42
|
import './chunk-LMMFRNNG.js';
|
|
43
43
|
import './chunk-R3QJRZTP.js';
|
|
44
44
|
import './chunk-Z44LYPKH.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as a$2 } from './chunk-
|
|
1
|
+
import { a as a$2 } from './chunk-X2MJVQTW.js';
|
|
2
2
|
import { a as a$1 } from './chunk-ANU7OAPA.js';
|
|
3
3
|
import { a } from './chunk-6LHL364H.js';
|
|
4
4
|
import { d, e, c } from './chunk-Z4LPO673.js';
|
|
@@ -40,4 +40,4 @@ lodash/lodash.js:
|
|
|
40
40
|
|
|
41
41
|
export { xo as a };
|
|
42
42
|
//# sourceMappingURL=out.js.map
|
|
43
|
-
//# sourceMappingURL=chunk-
|
|
43
|
+
//# sourceMappingURL=chunk-6ZISXIJK.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a } from './chunk-
|
|
1
|
+
import { a } from './chunk-X2MJVQTW.js';
|
|
2
2
|
import { LuPinOff, LuPin } from 'react-icons/lu';
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
|
|
@@ -6,4 +6,4 @@ function b({featureCode:t,pinnedFeatures:o,isLoading:c,handleClick:r}){let e=(o|
|
|
|
6
6
|
|
|
7
7
|
export { b as a };
|
|
8
8
|
//# sourceMappingURL=out.js.map
|
|
9
|
-
//# sourceMappingURL=chunk-
|
|
9
|
+
//# sourceMappingURL=chunk-NNY7FGHZ.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { a } from './chunk-6LHL364H.js';
|
|
2
|
+
import { e } from './chunk-Z4LPO673.js';
|
|
3
|
+
import h from 'clsx';
|
|
4
|
+
import { useRef, useEffect } from 'react';
|
|
5
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
|
+
|
|
7
|
+
var t=e(a(),1);function w({children:l,content:s,tooltipPos:p,width:o,additionalClasses:n,contentAdditionalClasses:b,hideToolTip:c=!1}){let a=useRef(),f=useRef(),i=()=>{if(f.current&&a.current){let r=f.current.getBoundingClientRect(),e=a.current.getBoundingClientRect();["top","right","bottom","left"].find(x=>{switch(x){case"top":return r.top>=e.height;case"right":return window.innerWidth-r.right>=e.width;case"bottom":return window.innerHeight-r.bottom>=e.height;case"left":return r.left>=e.width;default:return !1}});}};return useEffect(()=>(i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i);}),[]),jsxs("div",{className:`group relative block w-fit ${n||""}`,ref:f,children:[l,jsx("div",{className:h(`absolute z-50 w-fit whitespace-normal break-words rounded-md bg-black px-3 py-1 text-xs text-white opacity-0 after:absolute after:h-0 after:w-0 after:border-solid ${c?"":"group-hover:visible group-hover:opacity-100"} dark:bg-gray-700`,{top:"bottom-full left-1/2 -translate-x-1/2 after:-bottom-[4px] after:left-1/2 after:-translate-x-1/2 after:border-b-0 after:border-l-[5px] after:border-r-[5px] after:border-t-[5px] after:border-transparent after:border-t-black dark:after:border-t-gray-700 text-center",right:"left-full top-1/2 -translate-y-1/2 after:-left-[4px] after:top-1/2 after:-translate-y-1/2 after:border-b-[5px] after:border-l-[0px] after:border-r-[5px] after:border-t-[5px] after:border-transparent after:border-r-black dark:after:border-r-gray-700 text-left",bottom:"left-1/2 top-full -translate-x-1/2 after:-top-[4px] after:left-1/2 after:-translate-x-1/2 after:border-b-[5px] after:border-l-[5px] after:border-r-[5px] after:border-t-[0px] after:border-transparent after:border-b-black dark:after:border-b-gray-700 text-center",left:"right-full top-1/2 -translate-y-1/2 after:-right-[4px] after:top-1/2 after:-translate-y-1/2 after:border-b-[5px] after:border-l-[5px] after:border-r-[0px] after:border-t-[5px] after:border-transparent after:border-l-black dark:after:border-l-gray-700 text-left"}[p],b),ref:a,style:Number.isInteger(o)&&o>0?{width:`${o}px`}:{},children:s})]})}w.propTypes={children:t.default.node.isRequired,content:t.default.node.isRequired,tooltipPos:t.default.oneOf(["top","right","bottom","left"]).isRequired,width:t.default.number,additionalClasses:t.default.string,contentAdditionalClasses:t.default.string,hideToolTip:t.default.bool};
|
|
8
|
+
|
|
9
|
+
export { w as a };
|
|
10
|
+
//# sourceMappingURL=out.js.map
|
|
11
|
+
//# sourceMappingURL=chunk-X2MJVQTW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/tooltip/tooltip.tsx"],"names":["import_prop_types","clsx","useEffect","useRef","jsx","jsxs","ToolTip","children","content","tooltipPos","width","additionalClasses","contentAdditionalClasses","hideToolTip","tooltipRef","childRef","updateTooltipPosition","childRect","tooltipRect","newPosition","pos","PropTypes"],"mappings":"gFAGA,IAAAA,EAAsB,SAFtB,OAAOC,MAAU,OACjB,OAAS,aAAAC,EAAW,UAAAC,MAAc,QA0C9B,OAEE,OAAAC,EAFF,QAAAC,MAAA,oBAvCG,SAASC,EAAQ,CAAE,SAAAC,EAAU,QAAAC,EAAS,WAAAC,EAAY,MAAAC,EAAO,kBAAAC,EAC9D,yBAAAC,EAA0B,YAAAC,EAAc,EAAK,EAAG,CAChD,IAAMC,EAAaX,EAAO,EACpBY,EAAWZ,EAAO,EAElBa,EAAwB,IAAM,CAClC,GAAID,EAAS,SAAWD,EAAW,QAAS,CAC1C,IAAMG,EAAYF,EAAS,QAAQ,sBAAsB,EACnDG,EAAcJ,EAAW,QAAQ,sBAAsB,EAIvDK,EAHY,CAAC,MAAO,QAAS,SAAU,MAAM,EAGrB,KAAMC,GAAQ,CAC1C,OAAQA,EAAK,CACX,IAAK,MACH,OAAOH,EAAU,KAAOC,EAAY,OACtC,IAAK,QACH,OAAO,OAAO,WAAaD,EAAU,OAASC,EAAY,MAC5D,IAAK,SACH,OAAO,OAAO,YAAcD,EAAU,QAAUC,EAAY,OAC9D,IAAK,OACH,OAAOD,EAAU,MAAQC,EAAY,MACvC,QACE,MAAO,EACX,CACF,CAAC,EAEL,EAEA,OAAAhB,EAAU,KACRc,EAAsB,EACtB,OAAO,iBAAiB,SAAUA,CAAqB,EAEhD,IAAM,CACX,OAAO,oBAAoB,SAAUA,CAAqB,CAC5D,GACC,CAAC,CAAC,EAGHX,EAAC,OAAI,UAAW,8BAA8BM,GAAwC,KAAM,IAAKI,EAC9F,UAAAR,EACDH,EAAC,OACC,UAAWH,EACT,sKAAsKY,EAAc,GAAK,iEACzL,CACE,IAAK,yQACL,MACE,qQACF,OACE,uQACF,KAAM,sQACR,EAAEJ,CAAU,EAEZG,CACF,EACA,IAAKE,EACL,MAAO,OAAO,UAAUJ,CAAK,GAAKA,EAAQ,EAAK,CAAE,MAAO,GAAGA,KAAU,EAAI,CAAC,EAEzE,SAAAF,EACH,GACF,CAEJ,CAEAF,EAAQ,UAAY,CAElB,SAAU,EAAAe,QAAU,KAAK,WAEzB,QAAS,EAAAA,QAAU,KAAK,WAExB,WAAY,EAAAA,QAAU,MAAM,CAAC,MAAO,QAAS,SAAU,MAAM,CAAC,EAAE,WAEhE,MAAO,EAAAA,QAAU,OAEjB,kBAAmB,EAAAA,QAAU,OAE7B,yBAA0B,EAAAA,QAAU,OAEpC,YAAa,EAAAA,QAAU,IACzB","sourcesContent":["//@ts-nocheck\nimport clsx from \"clsx\";\nimport { useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\n\nexport function ToolTip({ children, content, tooltipPos, width, additionalClasses,\n contentAdditionalClasses, hideToolTip = false}) {\n const tooltipRef = useRef();\n const childRef = useRef();\n\n const updateTooltipPosition = () => {\n if (childRef.current && tooltipRef.current) {\n const childRect = childRef.current.getBoundingClientRect();\n const tooltipRect = tooltipRef.current.getBoundingClientRect();\n const positions = [\"top\", \"right\", \"bottom\", \"left\"];\n\n // Find a position where the tooltip fits\n const newPosition = positions.find((pos) => {\n switch (pos) {\n case \"top\":\n return childRect.top >= tooltipRect.height;\n case \"right\":\n return window.innerWidth - childRect.right >= tooltipRect.width;\n case \"bottom\":\n return window.innerHeight - childRect.bottom >= tooltipRect.height;\n case \"left\":\n return childRect.left >= tooltipRect.width;\n default:\n return false;\n }\n });\n }\n };\n\n useEffect(() => {\n updateTooltipPosition();\n window.addEventListener(\"resize\", updateTooltipPosition);\n\n return () => {\n window.removeEventListener(\"resize\", updateTooltipPosition);\n };\n }, []);\n\n return (\n <div className={`group relative block w-fit ${additionalClasses ? additionalClasses : ''}`} ref={childRef}>\n {children}\n <div\n className={clsx(\n `absolute z-50 w-fit whitespace-normal break-words rounded-md bg-black px-3 py-1 text-xs text-white opacity-0 after:absolute after:h-0 after:w-0 after:border-solid ${hideToolTip ? '' : 'group-hover:visible group-hover:opacity-100'} dark:bg-gray-700`,\n {\n top: \"bottom-full left-1/2 -translate-x-1/2 after:-bottom-[4px] after:left-1/2 after:-translate-x-1/2 after:border-b-0 after:border-l-[5px] after:border-r-[5px] after:border-t-[5px] after:border-transparent after:border-t-black dark:after:border-t-gray-700 text-center\",\n right:\n \"left-full top-1/2 -translate-y-1/2 after:-left-[4px] after:top-1/2 after:-translate-y-1/2 after:border-b-[5px] after:border-l-[0px] after:border-r-[5px] after:border-t-[5px] after:border-transparent after:border-r-black dark:after:border-r-gray-700 text-left\",\n bottom:\n \"left-1/2 top-full -translate-x-1/2 after:-top-[4px] after:left-1/2 after:-translate-x-1/2 after:border-b-[5px] after:border-l-[5px] after:border-r-[5px] after:border-t-[0px] after:border-transparent after:border-b-black dark:after:border-b-gray-700 text-center\",\n left: \"right-full top-1/2 -translate-y-1/2 after:-right-[4px] after:top-1/2 after:-translate-y-1/2 after:border-b-[5px] after:border-l-[5px] after:border-r-[0px] after:border-t-[5px] after:border-transparent after:border-l-black dark:after:border-l-gray-700 text-left\",\n }[tooltipPos],\n // takes the tooltip Positon and adds the relevant classes to the tooltip box to adjust the position of the box to the child element.\n contentAdditionalClasses,\n )}\n ref={tooltipRef}\n style={Number.isInteger(width) && width > 0 ? { width: `${width}px` } : {}}\n >\n {content}\n </div>\n </div>\n );\n}\n\nToolTip.propTypes = {\n /** Target element of the tooltip */\n children: PropTypes.node.isRequired,\n /** Content to display in the tooltip */\n content: PropTypes.node.isRequired,\n /** String to determine the size of the badge. \"xs, sm\" */\n tooltipPos: PropTypes.oneOf([\"top\", \"right\", \"bottom\", \"left\"]).isRequired,\n /** width of tooltip in pixels. Otherwise w-fit is used. */\n width: PropTypes.number,\n /** Additional classes to add to div that surrounds children */\n additionalClasses: PropTypes.string,\n /** Additional classes to add to content div */\n contentAdditionalClasses: PropTypes.string,\n //** Stops tool tip being displayed on hover */\n hideToolTip: PropTypes.bool,\n};\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { g as CountryPicker } from '../chunk-WWAVZUGE.js';
|
|
2
|
-
import '../chunk-
|
|
2
|
+
import '../chunk-6ZISXIJK.js';
|
|
3
3
|
import '../chunk-YZ2YZSNQ.js';
|
|
4
4
|
import '../chunk-GVNUAH45.js';
|
|
5
5
|
import '../chunk-JAR3LP2K.js';
|
|
@@ -37,8 +37,8 @@ import '../chunk-MKSPEQBS.js';
|
|
|
37
37
|
import '../chunk-T2SOP5NE.js';
|
|
38
38
|
import '../chunk-AVTJXS4U.js';
|
|
39
39
|
import '../chunk-SFEJDNIA.js';
|
|
40
|
-
import '../chunk-
|
|
41
|
-
import '../chunk-
|
|
40
|
+
import '../chunk-NNY7FGHZ.js';
|
|
41
|
+
import '../chunk-X2MJVQTW.js';
|
|
42
42
|
import '../chunk-LMMFRNNG.js';
|
|
43
43
|
import '../chunk-R3QJRZTP.js';
|
|
44
44
|
import '../chunk-Z44LYPKH.js';
|
package/dist/drag-and-drop.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { c as DragAndDrop } from './chunk-WWAVZUGE.js';
|
|
2
|
-
import './chunk-
|
|
2
|
+
import './chunk-6ZISXIJK.js';
|
|
3
3
|
import './chunk-YZ2YZSNQ.js';
|
|
4
4
|
import './chunk-GVNUAH45.js';
|
|
5
5
|
import './chunk-JAR3LP2K.js';
|
|
@@ -37,8 +37,8 @@ import './chunk-MKSPEQBS.js';
|
|
|
37
37
|
import './chunk-T2SOP5NE.js';
|
|
38
38
|
import './chunk-AVTJXS4U.js';
|
|
39
39
|
import './chunk-SFEJDNIA.js';
|
|
40
|
-
import './chunk-
|
|
41
|
-
import './chunk-
|
|
40
|
+
import './chunk-NNY7FGHZ.js';
|
|
41
|
+
import './chunk-X2MJVQTW.js';
|
|
42
42
|
import './chunk-LMMFRNNG.js';
|
|
43
43
|
import './chunk-R3QJRZTP.js';
|
|
44
44
|
import './chunk-Z44LYPKH.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { d as FilePicker } from '../chunk-WWAVZUGE.js';
|
|
2
|
-
import '../chunk-
|
|
2
|
+
import '../chunk-6ZISXIJK.js';
|
|
3
3
|
import '../chunk-YZ2YZSNQ.js';
|
|
4
4
|
import '../chunk-GVNUAH45.js';
|
|
5
5
|
import '../chunk-JAR3LP2K.js';
|
|
@@ -37,8 +37,8 @@ import '../chunk-MKSPEQBS.js';
|
|
|
37
37
|
import '../chunk-T2SOP5NE.js';
|
|
38
38
|
import '../chunk-AVTJXS4U.js';
|
|
39
39
|
import '../chunk-SFEJDNIA.js';
|
|
40
|
-
import '../chunk-
|
|
41
|
-
import '../chunk-
|
|
40
|
+
import '../chunk-NNY7FGHZ.js';
|
|
41
|
+
import '../chunk-X2MJVQTW.js';
|
|
42
42
|
import '../chunk-LMMFRNNG.js';
|
|
43
43
|
import '../chunk-R3QJRZTP.js';
|
|
44
44
|
import '../chunk-Z44LYPKH.js';
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { h as CardPaymentBlock, g as CountryPicker, c as DragAndDrop, d as FilePicker, b as Layout, f as ProductPicker, a as StackedListItem, e as TableResultBlock } from './chunk-WWAVZUGE.js';
|
|
2
|
-
export { a as TableHeader } from './chunk-
|
|
2
|
+
export { a as TableHeader } from './chunk-6ZISXIJK.js';
|
|
3
3
|
export { b as ToastProvider, c as useToast } from './chunk-YZ2YZSNQ.js';
|
|
4
4
|
export { a as NBUI_Footer } from './chunk-GVNUAH45.js';
|
|
5
5
|
export { a as NBUI_Page_Layout } from './chunk-JAR3LP2K.js';
|
|
@@ -37,8 +37,8 @@ export { a as MiniFeatureBlock } from './chunk-MKSPEQBS.js';
|
|
|
37
37
|
export { a as Modal } from './chunk-T2SOP5NE.js';
|
|
38
38
|
export { a as NoResultsBlock } from './chunk-AVTJXS4U.js';
|
|
39
39
|
export { a as PageHeader } from './chunk-SFEJDNIA.js';
|
|
40
|
-
export { a as PinFeatureButton } from './chunk-
|
|
41
|
-
export { a as ToolTip } from './chunk-
|
|
40
|
+
export { a as PinFeatureButton } from './chunk-NNY7FGHZ.js';
|
|
41
|
+
export { a as ToolTip } from './chunk-X2MJVQTW.js';
|
|
42
42
|
export { a as ProgressBar } from './chunk-LMMFRNNG.js';
|
|
43
43
|
export { a as Radio } from './chunk-R3QJRZTP.js';
|
|
44
44
|
export { a as ImageThumbnail } from './chunk-Z44LYPKH.js';
|
package/dist/layout/layout.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { b as Layout } from '../chunk-WWAVZUGE.js';
|
|
2
|
-
import '../chunk-
|
|
2
|
+
import '../chunk-6ZISXIJK.js';
|
|
3
3
|
import '../chunk-YZ2YZSNQ.js';
|
|
4
4
|
import '../chunk-GVNUAH45.js';
|
|
5
5
|
import '../chunk-JAR3LP2K.js';
|
|
@@ -37,8 +37,8 @@ import '../chunk-MKSPEQBS.js';
|
|
|
37
37
|
import '../chunk-T2SOP5NE.js';
|
|
38
38
|
import '../chunk-AVTJXS4U.js';
|
|
39
39
|
import '../chunk-SFEJDNIA.js';
|
|
40
|
-
import '../chunk-
|
|
41
|
-
import '../chunk-
|
|
40
|
+
import '../chunk-NNY7FGHZ.js';
|
|
41
|
+
import '../chunk-X2MJVQTW.js';
|
|
42
42
|
import '../chunk-LMMFRNNG.js';
|
|
43
43
|
import '../chunk-R3QJRZTP.js';
|
|
44
44
|
import '../chunk-Z44LYPKH.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as PinFeatureButton } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { a as PinFeatureButton } from './chunk-NNY7FGHZ.js';
|
|
2
|
+
import './chunk-X2MJVQTW.js';
|
|
3
3
|
import './chunk-6LHL364H.js';
|
|
4
4
|
import './chunk-Z4LPO673.js';
|
|
5
5
|
//# sourceMappingURL=out.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { f as ProductPicker } from '../chunk-WWAVZUGE.js';
|
|
2
|
-
import '../chunk-
|
|
2
|
+
import '../chunk-6ZISXIJK.js';
|
|
3
3
|
import '../chunk-YZ2YZSNQ.js';
|
|
4
4
|
import '../chunk-GVNUAH45.js';
|
|
5
5
|
import '../chunk-JAR3LP2K.js';
|
|
@@ -37,8 +37,8 @@ import '../chunk-MKSPEQBS.js';
|
|
|
37
37
|
import '../chunk-T2SOP5NE.js';
|
|
38
38
|
import '../chunk-AVTJXS4U.js';
|
|
39
39
|
import '../chunk-SFEJDNIA.js';
|
|
40
|
-
import '../chunk-
|
|
41
|
-
import '../chunk-
|
|
40
|
+
import '../chunk-NNY7FGHZ.js';
|
|
41
|
+
import '../chunk-X2MJVQTW.js';
|
|
42
42
|
import '../chunk-LMMFRNNG.js';
|
|
43
43
|
import '../chunk-R3QJRZTP.js';
|
|
44
44
|
import '../chunk-Z44LYPKH.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { a as StackedListItem } from './chunk-WWAVZUGE.js';
|
|
2
|
-
import './chunk-
|
|
2
|
+
import './chunk-6ZISXIJK.js';
|
|
3
3
|
import './chunk-YZ2YZSNQ.js';
|
|
4
4
|
import './chunk-GVNUAH45.js';
|
|
5
5
|
import './chunk-JAR3LP2K.js';
|
|
@@ -37,8 +37,8 @@ import './chunk-MKSPEQBS.js';
|
|
|
37
37
|
import './chunk-T2SOP5NE.js';
|
|
38
38
|
import './chunk-AVTJXS4U.js';
|
|
39
39
|
import './chunk-SFEJDNIA.js';
|
|
40
|
-
import './chunk-
|
|
41
|
-
import './chunk-
|
|
40
|
+
import './chunk-NNY7FGHZ.js';
|
|
41
|
+
import './chunk-X2MJVQTW.js';
|
|
42
42
|
import './chunk-LMMFRNNG.js';
|
|
43
43
|
import './chunk-R3QJRZTP.js';
|
|
44
44
|
import './chunk-Z44LYPKH.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as TableHeader } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { a as TableHeader } from '../chunk-6ZISXIJK.js';
|
|
2
|
+
import '../chunk-X2MJVQTW.js';
|
|
3
3
|
import '../chunk-ANU7OAPA.js';
|
|
4
4
|
import '../chunk-TJMI4DH2.js';
|
|
5
5
|
import '../chunk-6LHL364H.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { e as TableResultBlock } from './chunk-WWAVZUGE.js';
|
|
2
|
-
import './chunk-
|
|
2
|
+
import './chunk-6ZISXIJK.js';
|
|
3
3
|
import './chunk-YZ2YZSNQ.js';
|
|
4
4
|
import './chunk-GVNUAH45.js';
|
|
5
5
|
import './chunk-JAR3LP2K.js';
|
|
@@ -37,8 +37,8 @@ import './chunk-MKSPEQBS.js';
|
|
|
37
37
|
import './chunk-T2SOP5NE.js';
|
|
38
38
|
import './chunk-AVTJXS4U.js';
|
|
39
39
|
import './chunk-SFEJDNIA.js';
|
|
40
|
-
import './chunk-
|
|
41
|
-
import './chunk-
|
|
40
|
+
import './chunk-NNY7FGHZ.js';
|
|
41
|
+
import './chunk-X2MJVQTW.js';
|
|
42
42
|
import './chunk-LMMFRNNG.js';
|
|
43
43
|
import './chunk-R3QJRZTP.js';
|
|
44
44
|
import './chunk-Z44LYPKH.js';
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
|
|
3
|
-
declare function ToolTip({ children, content, tooltipPos, width, additionalClasses }: {
|
|
3
|
+
declare function ToolTip({ children, content, tooltipPos, width, additionalClasses, contentAdditionalClasses, hideToolTip }: {
|
|
4
4
|
children: any;
|
|
5
5
|
content: any;
|
|
6
6
|
tooltipPos: any;
|
|
7
7
|
width: any;
|
|
8
8
|
additionalClasses: any;
|
|
9
|
+
contentAdditionalClasses: any;
|
|
10
|
+
hideToolTip?: boolean | undefined;
|
|
9
11
|
}): JSX.Element;
|
|
10
12
|
declare namespace ToolTip {
|
|
11
13
|
var propTypes: {
|
|
@@ -19,6 +21,9 @@ declare namespace ToolTip {
|
|
|
19
21
|
width: PropTypes.Requireable<number>;
|
|
20
22
|
/** Additional classes to add to div that surrounds children */
|
|
21
23
|
additionalClasses: PropTypes.Requireable<string>;
|
|
24
|
+
/** Additional classes to add to content div */
|
|
25
|
+
contentAdditionalClasses: PropTypes.Requireable<string>;
|
|
26
|
+
hideToolTip: PropTypes.Requireable<boolean>;
|
|
22
27
|
};
|
|
23
28
|
}
|
|
24
29
|
|
package/dist/tooltip/tooltip.js
CHANGED
package/package.json
CHANGED
package/src/tooltip/tooltip.tsx
CHANGED
|
@@ -3,7 +3,8 @@ import clsx from "clsx";
|
|
|
3
3
|
import { useEffect, useRef } from "react";
|
|
4
4
|
import PropTypes from "prop-types";
|
|
5
5
|
|
|
6
|
-
export function ToolTip({ children, content, tooltipPos, width, additionalClasses
|
|
6
|
+
export function ToolTip({ children, content, tooltipPos, width, additionalClasses,
|
|
7
|
+
contentAdditionalClasses, hideToolTip = false}) {
|
|
7
8
|
const tooltipRef = useRef();
|
|
8
9
|
const childRef = useRef();
|
|
9
10
|
|
|
@@ -45,7 +46,7 @@ export function ToolTip({ children, content, tooltipPos, width, additionalClasse
|
|
|
45
46
|
{children}
|
|
46
47
|
<div
|
|
47
48
|
className={clsx(
|
|
48
|
-
|
|
49
|
+
`absolute z-50 w-fit whitespace-normal break-words rounded-md bg-black px-3 py-1 text-xs text-white opacity-0 after:absolute after:h-0 after:w-0 after:border-solid ${hideToolTip ? '' : 'group-hover:visible group-hover:opacity-100'} dark:bg-gray-700`,
|
|
49
50
|
{
|
|
50
51
|
top: "bottom-full left-1/2 -translate-x-1/2 after:-bottom-[4px] after:left-1/2 after:-translate-x-1/2 after:border-b-0 after:border-l-[5px] after:border-r-[5px] after:border-t-[5px] after:border-transparent after:border-t-black dark:after:border-t-gray-700 text-center",
|
|
51
52
|
right:
|
|
@@ -53,8 +54,9 @@ export function ToolTip({ children, content, tooltipPos, width, additionalClasse
|
|
|
53
54
|
bottom:
|
|
54
55
|
"left-1/2 top-full -translate-x-1/2 after:-top-[4px] after:left-1/2 after:-translate-x-1/2 after:border-b-[5px] after:border-l-[5px] after:border-r-[5px] after:border-t-[0px] after:border-transparent after:border-b-black dark:after:border-b-gray-700 text-center",
|
|
55
56
|
left: "right-full top-1/2 -translate-y-1/2 after:-right-[4px] after:top-1/2 after:-translate-y-1/2 after:border-b-[5px] after:border-l-[5px] after:border-r-[0px] after:border-t-[5px] after:border-transparent after:border-l-black dark:after:border-l-gray-700 text-left",
|
|
56
|
-
}[tooltipPos]
|
|
57
|
+
}[tooltipPos],
|
|
57
58
|
// takes the tooltip Positon and adds the relevant classes to the tooltip box to adjust the position of the box to the child element.
|
|
59
|
+
contentAdditionalClasses,
|
|
58
60
|
)}
|
|
59
61
|
ref={tooltipRef}
|
|
60
62
|
style={Number.isInteger(width) && width > 0 ? { width: `${width}px` } : {}}
|
|
@@ -76,4 +78,8 @@ ToolTip.propTypes = {
|
|
|
76
78
|
width: PropTypes.number,
|
|
77
79
|
/** Additional classes to add to div that surrounds children */
|
|
78
80
|
additionalClasses: PropTypes.string,
|
|
81
|
+
/** Additional classes to add to content div */
|
|
82
|
+
contentAdditionalClasses: PropTypes.string,
|
|
83
|
+
//** Stops tool tip being displayed on hover */
|
|
84
|
+
hideToolTip: PropTypes.bool,
|
|
79
85
|
};
|
package/dist/chunk-THOZT55U.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { a } from './chunk-6LHL364H.js';
|
|
2
|
-
import { e } from './chunk-Z4LPO673.js';
|
|
3
|
-
import u from 'clsx';
|
|
4
|
-
import { useRef, useEffect } from 'react';
|
|
5
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
|
-
|
|
7
|
-
var t=e(a(),1);function h({children:l,content:p,tooltipPos:s,width:o,additionalClasses:i}){let a=useRef(),f=useRef(),n=()=>{if(f.current&&a.current){let r=f.current.getBoundingClientRect(),e=a.current.getBoundingClientRect();["top","right","bottom","left"].find(b=>{switch(b){case"top":return r.top>=e.height;case"right":return window.innerWidth-r.right>=e.width;case"bottom":return window.innerHeight-r.bottom>=e.height;case"left":return r.left>=e.width;default:return !1}});}};return useEffect(()=>(n(),window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n);}),[]),jsxs("div",{className:`group relative block w-fit ${i||""}`,ref:f,children:[l,jsx("div",{className:u("absolute z-50 w-fit whitespace-normal break-words rounded-md bg-black px-3 py-1 text-xs text-white opacity-0 after:absolute after:h-0 after:w-0 after:border-solid group-hover:visible group-hover:opacity-100 dark:bg-gray-700",{top:"bottom-full left-1/2 -translate-x-1/2 after:-bottom-[4px] after:left-1/2 after:-translate-x-1/2 after:border-b-0 after:border-l-[5px] after:border-r-[5px] after:border-t-[5px] after:border-transparent after:border-t-black dark:after:border-t-gray-700 text-center",right:"left-full top-1/2 -translate-y-1/2 after:-left-[4px] after:top-1/2 after:-translate-y-1/2 after:border-b-[5px] after:border-l-[0px] after:border-r-[5px] after:border-t-[5px] after:border-transparent after:border-r-black dark:after:border-r-gray-700 text-left",bottom:"left-1/2 top-full -translate-x-1/2 after:-top-[4px] after:left-1/2 after:-translate-x-1/2 after:border-b-[5px] after:border-l-[5px] after:border-r-[5px] after:border-t-[0px] after:border-transparent after:border-b-black dark:after:border-b-gray-700 text-center",left:"right-full top-1/2 -translate-y-1/2 after:-right-[4px] after:top-1/2 after:-translate-y-1/2 after:border-b-[5px] after:border-l-[5px] after:border-r-[0px] after:border-t-[5px] after:border-transparent after:border-l-black dark:after:border-l-gray-700 text-left"}[s]),ref:a,style:Number.isInteger(o)&&o>0?{width:`${o}px`}:{},children:p})]})}h.propTypes={children:t.default.node.isRequired,content:t.default.node.isRequired,tooltipPos:t.default.oneOf(["top","right","bottom","left"]).isRequired,width:t.default.number,additionalClasses:t.default.string};
|
|
8
|
-
|
|
9
|
-
export { h as a };
|
|
10
|
-
//# sourceMappingURL=out.js.map
|
|
11
|
-
//# sourceMappingURL=chunk-THOZT55U.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/tooltip/tooltip.tsx"],"names":["import_prop_types","clsx","useEffect","useRef","jsx","jsxs","ToolTip","children","content","tooltipPos","width","additionalClasses","tooltipRef","childRef","updateTooltipPosition","childRect","tooltipRect","newPosition","pos","PropTypes"],"mappings":"gFAGA,IAAAA,EAAsB,SAFtB,OAAOC,MAAU,OACjB,OAAS,aAAAC,EAAW,UAAAC,MAAc,QAyC9B,OAEE,OAAAC,EAFF,QAAAC,MAAA,oBAtCG,SAASC,EAAQ,CAAE,SAAAC,EAAU,QAAAC,EAAS,WAAAC,EAAY,MAAAC,EAAO,kBAAAC,CAAkB,EAAG,CACnF,IAAMC,EAAaT,EAAO,EACpBU,EAAWV,EAAO,EAElBW,EAAwB,IAAM,CAClC,GAAID,EAAS,SAAWD,EAAW,QAAS,CAC1C,IAAMG,EAAYF,EAAS,QAAQ,sBAAsB,EACnDG,EAAcJ,EAAW,QAAQ,sBAAsB,EAIvDK,EAHY,CAAC,MAAO,QAAS,SAAU,MAAM,EAGrB,KAAMC,GAAQ,CAC1C,OAAQA,EAAK,CACX,IAAK,MACH,OAAOH,EAAU,KAAOC,EAAY,OACtC,IAAK,QACH,OAAO,OAAO,WAAaD,EAAU,OAASC,EAAY,MAC5D,IAAK,SACH,OAAO,OAAO,YAAcD,EAAU,QAAUC,EAAY,OAC9D,IAAK,OACH,OAAOD,EAAU,MAAQC,EAAY,MACvC,QACE,MAAO,EACX,CACF,CAAC,EAEL,EAEA,OAAAd,EAAU,KACRY,EAAsB,EACtB,OAAO,iBAAiB,SAAUA,CAAqB,EAEhD,IAAM,CACX,OAAO,oBAAoB,SAAUA,CAAqB,CAC5D,GACC,CAAC,CAAC,EAGHT,EAAC,OAAI,UAAW,8BAA8BM,GAAwC,KAAM,IAAKE,EAC9F,UAAAN,EACDH,EAAC,OACC,UAAWH,EACT,kOACA,CACE,IAAK,yQACL,MACE,qQACF,OACE,uQACF,KAAM,sQACR,EAAEQ,CAAU,CAEd,EACA,IAAKG,EACL,MAAO,OAAO,UAAUF,CAAK,GAAKA,EAAQ,EAAK,CAAE,MAAO,GAAGA,KAAU,EAAI,CAAC,EAEzE,SAAAF,EACH,GACF,CAEJ,CAEAF,EAAQ,UAAY,CAElB,SAAU,EAAAa,QAAU,KAAK,WAEzB,QAAS,EAAAA,QAAU,KAAK,WAExB,WAAY,EAAAA,QAAU,MAAM,CAAC,MAAO,QAAS,SAAU,MAAM,CAAC,EAAE,WAEhE,MAAO,EAAAA,QAAU,OAEjB,kBAAmB,EAAAA,QAAU,MAC/B","sourcesContent":["//@ts-nocheck\nimport clsx from \"clsx\";\nimport { useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\n\nexport function ToolTip({ children, content, tooltipPos, width, additionalClasses }) {\n const tooltipRef = useRef();\n const childRef = useRef();\n\n const updateTooltipPosition = () => {\n if (childRef.current && tooltipRef.current) {\n const childRect = childRef.current.getBoundingClientRect();\n const tooltipRect = tooltipRef.current.getBoundingClientRect();\n const positions = [\"top\", \"right\", \"bottom\", \"left\"];\n\n // Find a position where the tooltip fits\n const newPosition = positions.find((pos) => {\n switch (pos) {\n case \"top\":\n return childRect.top >= tooltipRect.height;\n case \"right\":\n return window.innerWidth - childRect.right >= tooltipRect.width;\n case \"bottom\":\n return window.innerHeight - childRect.bottom >= tooltipRect.height;\n case \"left\":\n return childRect.left >= tooltipRect.width;\n default:\n return false;\n }\n });\n }\n };\n\n useEffect(() => {\n updateTooltipPosition();\n window.addEventListener(\"resize\", updateTooltipPosition);\n\n return () => {\n window.removeEventListener(\"resize\", updateTooltipPosition);\n };\n }, []);\n\n return (\n <div className={`group relative block w-fit ${additionalClasses ? additionalClasses : ''}`} ref={childRef}>\n {children}\n <div\n className={clsx(\n \"absolute z-50 w-fit whitespace-normal break-words rounded-md bg-black px-3 py-1 text-xs text-white opacity-0 after:absolute after:h-0 after:w-0 after:border-solid group-hover:visible group-hover:opacity-100 dark:bg-gray-700\",\n {\n top: \"bottom-full left-1/2 -translate-x-1/2 after:-bottom-[4px] after:left-1/2 after:-translate-x-1/2 after:border-b-0 after:border-l-[5px] after:border-r-[5px] after:border-t-[5px] after:border-transparent after:border-t-black dark:after:border-t-gray-700 text-center\",\n right:\n \"left-full top-1/2 -translate-y-1/2 after:-left-[4px] after:top-1/2 after:-translate-y-1/2 after:border-b-[5px] after:border-l-[0px] after:border-r-[5px] after:border-t-[5px] after:border-transparent after:border-r-black dark:after:border-r-gray-700 text-left\",\n bottom:\n \"left-1/2 top-full -translate-x-1/2 after:-top-[4px] after:left-1/2 after:-translate-x-1/2 after:border-b-[5px] after:border-l-[5px] after:border-r-[5px] after:border-t-[0px] after:border-transparent after:border-b-black dark:after:border-b-gray-700 text-center\",\n left: \"right-full top-1/2 -translate-y-1/2 after:-right-[4px] after:top-1/2 after:-translate-y-1/2 after:border-b-[5px] after:border-l-[5px] after:border-r-[0px] after:border-t-[5px] after:border-transparent after:border-l-black dark:after:border-l-gray-700 text-left\",\n }[tooltipPos]\n // takes the tooltip Positon and adds the relevant classes to the tooltip box to adjust the position of the box to the child element.\n )}\n ref={tooltipRef}\n style={Number.isInteger(width) && width > 0 ? { width: `${width}px` } : {}}\n >\n {content}\n </div>\n </div>\n );\n}\n\nToolTip.propTypes = {\n /** Target element of the tooltip */\n children: PropTypes.node.isRequired,\n /** Content to display in the tooltip */\n content: PropTypes.node.isRequired,\n /** String to determine the size of the badge. \"xs, sm\" */\n tooltipPos: PropTypes.oneOf([\"top\", \"right\", \"bottom\", \"left\"]).isRequired,\n /** width of tooltip in pixels. Otherwise w-fit is used. */\n width: PropTypes.number,\n /** Additional classes to add to div that surrounds children */\n additionalClasses: PropTypes.string,\n};\n"]}
|
|
File without changes
|
|
File without changes
|