@itcase/ui 1.8.35 → 1.8.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Avatar_cjs_kADy_b4o.js → Avatar_cjs_nMPCDjk8.js} +1 -1
- package/dist/{Avatar_es_DbGpnL99.js → Avatar_es_B73a6TzA.js} +1 -1
- package/dist/{Button_cjs_CW6ENTbm.js → Button_cjs_plv5-qcj.js} +11 -2
- package/dist/{Button_es_DTUagqgU.js → Button_es_BigB2Wz6.js} +11 -2
- package/dist/ChipsGroup_cjs_DrOhD-Fc.js +312 -0
- package/dist/ChipsGroup_es_B9m4l0wN.js +307 -0
- package/dist/{DatePicker_cjs_Bx5_lZNT.js → DatePicker_cjs_CmqgSNw7.js} +4 -4
- package/dist/{DatePicker_es_A1FcasHs.js → DatePicker_es_mk9wFTe9.js} +4 -4
- package/dist/{DropdownItem_cjs_tH2DBClp.js → DropdownItem_cjs_DQvByLbN.js} +1 -1
- package/dist/{DropdownItem_es_BeVv-pDA.js → DropdownItem_es_KppIfto7.js} +1 -1
- package/dist/{Input_cjs_arr_wxD2.js → Input_cjs_CPmXkQGd.js} +1 -0
- package/dist/{Input_es_BW6cZThr.js → Input_es_D9Y1Rj5Y.js} +1 -0
- package/dist/{Label_cjs_CP4b6Mg2.js → Label_cjs_BGJfyrOL.js} +15 -13
- package/dist/{Label_es_DFSiy5sL.js → Label_es_C4Px7b-N.js} +15 -13
- package/dist/{Loader_cjs_CCrbD8Em.js → Loader_cjs_Ca4i0sER.js} +4 -2
- package/dist/{Loader_es_B2auu_rc.js → Loader_es_GYOr0UTX.js} +4 -2
- package/dist/{Tooltip_cjs_DinScDnC.js → Tooltip_cjs_DHduWa-v.js} +76 -70
- package/dist/{Tooltip_es_B0nm9irO.js → Tooltip_es_ltCY-w4M.js} +76 -70
- package/dist/cjs/components/Accordion.js +1 -1
- package/dist/cjs/components/Avatar.js +2 -2
- package/dist/cjs/components/AvatarStack.js +2 -2
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Breadcrumbs/stories/__mock__.js +32 -41
- package/dist/cjs/components/Breadcrumbs.js +41 -124
- package/dist/cjs/components/Button.js +3 -3
- package/dist/cjs/components/Cell.js +2 -2
- package/dist/cjs/components/Chips/stories/__mock__.js +31 -0
- package/dist/cjs/components/Chips.js +4 -4
- package/dist/cjs/components/Choice/stories/__mock__.js +15 -15
- package/dist/cjs/components/Choice.js +20 -18
- package/dist/cjs/components/CookiesWarning.js +3 -3
- package/dist/cjs/components/Dadata.js +1 -1
- package/dist/cjs/components/DatePeriod.js +7 -7
- package/dist/cjs/components/DatePicker.js +6 -6
- package/dist/cjs/components/Drawer.js +1 -1
- package/dist/cjs/components/Dropdown/stories/__mock__.js +104 -33
- package/dist/cjs/components/Dropdown.js +2 -2
- package/dist/cjs/components/HeroTitle.js +1 -1
- package/dist/cjs/components/Icon.js +1 -1
- package/dist/cjs/components/Input.js +1 -1
- package/dist/cjs/components/InputPassword.js +1 -1
- package/dist/cjs/components/Label.js +2 -2
- package/dist/cjs/components/Loader.js +1 -1
- package/dist/cjs/components/MenuItem.js +17 -12
- package/dist/cjs/components/Modal.js +2 -2
- package/dist/cjs/components/Notification.js +3 -8
- package/dist/cjs/components/Pagination.js +2 -4
- package/dist/cjs/components/Response.js +3 -3
- package/dist/cjs/components/ScrollOnDrag.js +5 -3
- package/dist/cjs/components/Search.js +1 -1
- package/dist/cjs/components/Segmented/stories/__mock__.js +26 -11
- package/dist/cjs/components/Segmented.js +84 -52
- package/dist/cjs/components/Select.js +1 -1
- package/dist/cjs/components/Swiper.js +1 -1
- package/dist/cjs/components/Tab.js +1 -1
- package/dist/cjs/components/Textarea.js +8 -9
- package/dist/cjs/components/Tile.js +1 -1
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip.js +1 -1
- package/dist/cjs/hooks/useStyles/styleAttributes.js +1 -1
- package/dist/components/Accordion.js +1 -1
- package/dist/components/Avatar.js +2 -2
- package/dist/components/AvatarStack.js +2 -2
- package/dist/components/Badge.js +1 -1
- package/dist/components/Breadcrumbs/stories/__mock__.js +32 -41
- package/dist/components/Breadcrumbs.js +41 -124
- package/dist/components/Button.js +3 -3
- package/dist/components/Cell.js +2 -2
- package/dist/components/Chips/stories/__mock__.js +29 -0
- package/dist/components/Chips.js +4 -4
- package/dist/components/Choice/stories/__mock__.js +15 -15
- package/dist/components/Choice.js +20 -18
- package/dist/components/CookiesWarning.js +3 -3
- package/dist/components/Dadata.js +1 -1
- package/dist/components/DatePeriod.js +7 -7
- package/dist/components/DatePicker.js +6 -6
- package/dist/components/Drawer.js +1 -1
- package/dist/components/Dropdown/stories/__mock__.js +102 -34
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/HeroTitle.js +1 -1
- package/dist/components/Icon.js +1 -1
- package/dist/components/Input.js +1 -1
- package/dist/components/InputPassword.js +1 -1
- package/dist/components/Label.js +2 -2
- package/dist/components/Loader.js +1 -1
- package/dist/components/MenuItem.js +17 -12
- package/dist/components/Modal.js +2 -2
- package/dist/components/Notification.js +3 -8
- package/dist/components/Pagination.js +3 -5
- package/dist/components/Response.js +3 -3
- package/dist/components/ScrollOnDrag.js +7 -5
- package/dist/components/Search.js +1 -1
- package/dist/components/Segmented/stories/__mock__.js +24 -12
- package/dist/components/Segmented.js +84 -52
- package/dist/components/Select.js +1 -1
- package/dist/components/Swiper.js +1 -1
- package/dist/components/Tab.js +1 -1
- package/dist/components/Textarea.js +8 -9
- package/dist/components/Tile.js +1 -1
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/css/components/Breadcrumbs/Breadcrumbs.css +39 -6
- package/dist/css/components/Chips/Chips.css +40 -14
- package/dist/css/components/Icon/Icon.css +24 -0
- package/dist/css/components/Loader/Loader.css +1 -19
- package/dist/css/components/MenuItem/MenuItem.css +53 -30
- package/dist/css/components/Notification/Notification.css +0 -48
- package/dist/css/components/ScrollOnDrag/ScrollOnDrag.css +230 -4
- package/dist/css/components/Segmented/Segmented.css +64 -8
- package/dist/css/components/Segmented/css/__item/segmaented__item.css +28 -0
- package/dist/css/styles/centering/centering.css +17 -0
- package/dist/css/styles/shape-strength/shape-strength.css +6 -0
- package/dist/hooks/useStyles/styleAttributes.js +1 -1
- package/dist/stories/BreadcrumbsPlsyground.mdx +1 -1
- package/dist/stories/ChipsOverview.mdx +26 -14
- package/dist/stories/ChipsPlayground.mdx +3 -3
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsAccent.d.ts +2 -12
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSize.d.ts +7 -14
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsStyle.d.ts +4 -6
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSurface.d.ts +11 -8
- package/dist/types/components/Breadcrumbs/stories/__mock__/index.d.ts +5 -8
- package/dist/types/components/Button/appearance/buttonSurface.d.ts +9 -0
- package/dist/types/components/Chips/Chips.interface.d.ts +1 -0
- package/dist/types/components/Chips/appearance/chipsAccent.d.ts +9 -1
- package/dist/types/components/Chips/appearance/chipsDanger.d.ts +16 -1
- package/dist/types/components/Chips/appearance/chipsError.d.ts +16 -1
- package/dist/types/components/Chips/appearance/chipsInfo.d.ts +16 -1
- package/dist/types/components/Chips/appearance/chipsPrimary.d.ts +11 -2
- package/dist/types/components/Chips/appearance/chipsSecondary.d.ts +10 -2
- package/dist/types/components/Chips/appearance/chipsSuccess.d.ts +16 -1
- package/dist/types/components/Chips/appearance/chipsSurface.d.ts +11 -1
- package/dist/types/components/Chips/appearance/chipsWarning.d.ts +16 -1
- package/dist/types/components/Chips/stories/__mock__/index.d.ts +14 -0
- package/dist/types/components/Choice/appearance/choiceDefault.d.ts +1 -0
- package/dist/types/components/Choice/appearance/choiceDisabled.d.ts +1 -1
- package/dist/types/components/Choice/appearance/choiceError.d.ts +1 -0
- package/dist/types/components/Choice/appearance/choiceRequire.d.ts +1 -0
- package/dist/types/components/Choice/appearance/choiceStyle.d.ts +4 -6
- package/dist/types/components/Choice/appearance/choiceSuccess.d.ts +1 -0
- package/dist/types/components/Choice/stories/__mock__/index.d.ts +3 -9
- package/dist/types/components/Dropdown/stories/__mock__/index.d.ts +87 -44
- package/dist/types/components/Icon/appearance/iconAccent.d.ts +2 -4
- package/dist/types/components/Icon/appearance/iconDanger.d.ts +2 -4
- package/dist/types/components/Icon/appearance/iconDisabled.d.ts +12 -0
- package/dist/types/components/Icon/appearance/iconError.d.ts +4 -4
- package/dist/types/components/Icon/appearance/iconInfo.d.ts +7 -4
- package/dist/types/components/Icon/appearance/iconPrimary.d.ts +4 -2
- package/dist/types/components/Icon/appearance/iconSecondary.d.ts +2 -2
- package/dist/types/components/Icon/appearance/iconStyle.d.ts +4 -6
- package/dist/types/components/Icon/appearance/iconSuccess.d.ts +0 -2
- package/dist/types/components/Icon/appearance/iconSurface.d.ts +0 -5
- package/dist/types/components/Icon/appearance/iconWarning.d.ts +4 -4
- package/dist/types/components/Input/appearance/inputDefault.d.ts +1 -0
- package/dist/types/components/Label/appearance/labelDisable.d.ts +2 -2
- package/dist/types/components/Label/appearance/labelPrimary.d.ts +1 -0
- package/dist/types/components/Label/appearance/labelSurface.d.ts +1 -0
- package/dist/types/components/MenuItem/appearance/menuItemStyle.d.ts +4 -6
- package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +5 -0
- package/dist/types/components/Notification/appearance/notificationDefault.d.ts +0 -1
- package/dist/types/components/Notification/appearance/notificationError.d.ts +0 -1
- package/dist/types/components/Notification/appearance/notificationInfo.d.ts +0 -1
- package/dist/types/components/Notification/appearance/notificationSuccess.d.ts +0 -1
- package/dist/types/components/Notification/appearance/notificationWarning.d.ts +0 -1
- package/dist/types/components/Segmented/Segmented.interface.d.ts +5 -2
- package/dist/types/components/Segmented/appearance/segmentedDefault.d.ts +8 -11
- package/dist/types/components/Segmented/appearance/segmentedDisabled.d.ts +8 -10
- package/dist/types/components/Segmented/appearance/segmentedError.d.ts +10 -1
- package/dist/types/components/Segmented/appearance/segmentedSize.d.ts +5 -0
- package/dist/types/components/Segmented/appearance/segmentedStyle.d.ts +3 -3
- package/dist/types/components/Segmented/appearance/segmentedSuccess.d.ts +10 -1
- package/dist/types/components/Segmented/appearance/segmentedWarning.d.ts +10 -1
- package/dist/types/components/Segmented/stories/__mock__/index.d.ts +31 -9
- package/dist/types/components/Textarea/appearance/textareaDefault.d.ts +1 -0
- package/dist/types/components/Textarea/appearance/textareaStyle.d.ts +4 -4
- package/dist/types/context/UIContext.d.ts +3 -5
- package/package.json +8 -7
- package/dist/ChipsGroup_cjs_j3QOma3U.js +0 -200
- package/dist/ChipsGroup_es_DF1fhn97.js +0 -195
- package/dist/css/components/Notification/css/__item/notification__item_status.css +0 -48
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsDanger.d.ts +0 -7
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsError.d.ts +0 -9
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsInfo.d.ts +0 -17
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsPrimary.d.ts +0 -8
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSecondary.d.ts +0 -8
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSuccess.d.ts +0 -9
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsWarning.d.ts +0 -9
|
@@ -288,21 +288,19 @@ var iconAppearanceAccent = {
|
|
|
288
288
|
fill: 'accentPrimary',
|
|
289
289
|
fillHover: 'accentHover',
|
|
290
290
|
borderColor: 'accentBorderPrimary',
|
|
291
|
+
badgeAppearance: 'surfacePrimary',
|
|
291
292
|
iconFill: 'accentItemPrimary',
|
|
292
293
|
},
|
|
293
294
|
accentPrimary: {
|
|
294
295
|
fill: 'accentPrimary',
|
|
295
296
|
fillHover: 'accentHover',
|
|
296
|
-
labelTextColor: 'accentTextPrimary',
|
|
297
|
-
labelTextColorHover: 'accentTextPrimary',
|
|
298
297
|
borderColor: 'accentBorderPrimary',
|
|
298
|
+
badgeAppearance: 'surfacePrimary',
|
|
299
299
|
iconFill: 'accentItemPrimary',
|
|
300
300
|
},
|
|
301
301
|
accentSecondary: {
|
|
302
302
|
fill: 'accentPrimary',
|
|
303
303
|
fillHover: 'accentHover',
|
|
304
|
-
labelTextColor: 'accentTextSecondary',
|
|
305
|
-
labelTextColorHover: 'accentTextSecondary',
|
|
306
304
|
borderColor: 'accentBorderPrimary',
|
|
307
305
|
iconFill: 'accentItemPrimary',
|
|
308
306
|
},
|
|
@@ -312,14 +310,24 @@ var iconAppearanceDanger = {
|
|
|
312
310
|
danger: {
|
|
313
311
|
fill: 'dangerPrimary',
|
|
314
312
|
fillHover: 'dangerHover',
|
|
315
|
-
labelTextColor: 'dangerTextSecondary',
|
|
316
|
-
labelTextColorHover: 'dangerTextSecondary',
|
|
317
313
|
},
|
|
318
314
|
dangerPrimary: {
|
|
319
315
|
fill: 'dangerPrimary',
|
|
320
316
|
fillHover: 'dangerHover',
|
|
321
|
-
|
|
322
|
-
|
|
317
|
+
badgeAppearance: 'surfacePrimary',
|
|
318
|
+
iconFill: 'dangerItemPrimary',
|
|
319
|
+
},
|
|
320
|
+
};
|
|
321
|
+
|
|
322
|
+
var iconAppearanceDisabled = {
|
|
323
|
+
danger: {
|
|
324
|
+
fill: 'dangerPrimary',
|
|
325
|
+
fillHover: 'dangerHover',
|
|
326
|
+
},
|
|
327
|
+
disabledPrimary: {
|
|
328
|
+
fill: 'surfaceDisabled',
|
|
329
|
+
badgeAppearance: 'surfacePrimary',
|
|
330
|
+
iconFill: 'surfaceItemQuaternary',
|
|
323
331
|
},
|
|
324
332
|
};
|
|
325
333
|
|
|
@@ -327,14 +335,14 @@ var iconAppearanceError = {
|
|
|
327
335
|
error: {
|
|
328
336
|
fill: 'errorPrimary',
|
|
329
337
|
fillHover: 'errorHover',
|
|
330
|
-
|
|
331
|
-
|
|
338
|
+
badgeAppearance: 'surfacePrimary',
|
|
339
|
+
iconFill: 'errorItemPrimary',
|
|
332
340
|
},
|
|
333
341
|
errorPrimary: {
|
|
334
342
|
fill: 'errorPrimary',
|
|
335
343
|
fillHover: 'errorHover',
|
|
336
|
-
|
|
337
|
-
|
|
344
|
+
badgeAppearance: 'surfacePrimary',
|
|
345
|
+
iconFill: 'errorItemPrimary',
|
|
338
346
|
},
|
|
339
347
|
};
|
|
340
348
|
|
|
@@ -342,15 +350,18 @@ var iconAppearanceInfo = {
|
|
|
342
350
|
info: {
|
|
343
351
|
fill: 'accentPrimary',
|
|
344
352
|
fillHover: 'accentPrimaryHover',
|
|
345
|
-
labelTextColor: 'accentTextPrimary',
|
|
346
|
-
labelTextColorHover: 'accentTextPrimary',
|
|
347
353
|
borderColor: 'accentBorderPrimary',
|
|
348
354
|
},
|
|
355
|
+
infoPrimary: {
|
|
356
|
+
fill: 'infoPrimary',
|
|
357
|
+
fillHover: 'accentPrimaryHover',
|
|
358
|
+
borderColor: 'accentBorderPrimary',
|
|
359
|
+
badgeAppearance: 'surfacePrimary',
|
|
360
|
+
iconFill: 'infoItemPrimary',
|
|
361
|
+
},
|
|
349
362
|
infoSecondary: {
|
|
350
363
|
fill: 'accentPrimary',
|
|
351
364
|
fillHover: 'accentPrimaryHover',
|
|
352
|
-
labelTextColor: 'accentTextSecondary',
|
|
353
|
-
labelTextColorHover: 'accentTextSecondary',
|
|
354
365
|
borderColor: 'accentBorderPrimary',
|
|
355
366
|
},
|
|
356
367
|
};
|
|
@@ -359,12 +370,14 @@ var iconAppearancePrimary = {
|
|
|
359
370
|
primary: {
|
|
360
371
|
fill: 'primaryPrimary',
|
|
361
372
|
fillHover: 'primaryPrimaryHover',
|
|
362
|
-
|
|
373
|
+
badgeAppearance: 'surfacePrimary',
|
|
374
|
+
iconFill: 'primaryItemPrimary',
|
|
363
375
|
},
|
|
364
376
|
primaryPrimary: {
|
|
365
377
|
fill: 'primaryPrimary',
|
|
366
378
|
fillHover: 'primaryPrimaryHover',
|
|
367
|
-
|
|
379
|
+
badgeAppearance: 'surfacePrimary',
|
|
380
|
+
iconFill: 'primaryItemPrimary',
|
|
368
381
|
},
|
|
369
382
|
};
|
|
370
383
|
|
|
@@ -372,19 +385,19 @@ var iconAppearanceSecondary = {
|
|
|
372
385
|
secondary: {
|
|
373
386
|
fill: 'secondaryPrimary',
|
|
374
387
|
fillHover: 'secondaryPrimaryHover',
|
|
375
|
-
labelTextColor: 'secondaryTextPrimary',
|
|
376
388
|
},
|
|
377
389
|
secondaryPrimary: {
|
|
378
390
|
fill: 'secondaryPrimary',
|
|
379
391
|
fillHover: 'secondaryPrimaryHover',
|
|
380
|
-
|
|
392
|
+
badgeAppearance: 'surfacePrimary',
|
|
393
|
+
iconFill: 'secondaryItemPrimary',
|
|
381
394
|
},
|
|
382
395
|
};
|
|
383
396
|
|
|
384
397
|
var iconAppearanceSize = {
|
|
385
398
|
size12_12: {
|
|
386
399
|
fillSize: '12',
|
|
387
|
-
badgeAppearanceSize: '
|
|
400
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
388
401
|
iconSize: '12',
|
|
389
402
|
},
|
|
390
403
|
size14_12: {
|
|
@@ -414,129 +427,127 @@ var iconAppearanceSize = {
|
|
|
414
427
|
},
|
|
415
428
|
size20_12: {
|
|
416
429
|
fillSize: '20',
|
|
417
|
-
badgeAppearanceSize: '
|
|
430
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
418
431
|
iconSize: '12',
|
|
419
432
|
},
|
|
420
433
|
size20_14: {
|
|
421
434
|
fillSize: '20',
|
|
422
|
-
badgeAppearanceSize: '
|
|
435
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
423
436
|
iconSize: '14',
|
|
424
437
|
},
|
|
425
438
|
size20_16: {
|
|
426
439
|
fillSize: '20',
|
|
427
|
-
badgeAppearanceSize: '
|
|
440
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
428
441
|
iconSize: '16',
|
|
429
442
|
},
|
|
430
443
|
size20_20: {
|
|
431
444
|
fillSize: '20',
|
|
432
|
-
badgeAppearanceSize: '
|
|
445
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
433
446
|
iconSize: '20',
|
|
434
447
|
},
|
|
435
448
|
size24_12: {
|
|
436
449
|
fillSize: '24',
|
|
437
|
-
badgeAppearanceSize: '
|
|
450
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
438
451
|
iconSize: '12',
|
|
439
452
|
},
|
|
440
453
|
size24_14: {
|
|
441
454
|
fillSize: '24',
|
|
442
|
-
badgeAppearanceSize: '
|
|
455
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
443
456
|
iconSize: '14',
|
|
444
457
|
},
|
|
445
458
|
size24_16: {
|
|
446
459
|
fillSize: '24',
|
|
447
|
-
badgeAppearanceSize: '
|
|
460
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
448
461
|
iconSize: '16',
|
|
449
462
|
},
|
|
450
463
|
size24_20: {
|
|
451
464
|
fillSize: '24',
|
|
452
|
-
badgeAppearanceSize: '
|
|
465
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
453
466
|
iconSize: '20',
|
|
454
467
|
},
|
|
455
468
|
size24_24: {
|
|
456
469
|
fillSize: '24',
|
|
457
|
-
badgeAppearanceSize: '
|
|
470
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
458
471
|
iconSize: '24',
|
|
459
472
|
},
|
|
460
473
|
size32_12: {
|
|
461
474
|
fillSize: '32',
|
|
462
|
-
badgeAppearanceSize: '
|
|
475
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
463
476
|
iconSize: '12',
|
|
464
477
|
},
|
|
465
478
|
size32_14: {
|
|
466
479
|
fillSize: '32',
|
|
467
|
-
badgeAppearanceSize: '
|
|
480
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
468
481
|
iconSize: '14',
|
|
469
482
|
},
|
|
470
483
|
size32_16: {
|
|
471
484
|
fillSize: '32',
|
|
472
|
-
badgeAppearanceSize: '
|
|
485
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
473
486
|
iconSize: '16',
|
|
474
487
|
},
|
|
475
488
|
size32_20: {
|
|
476
489
|
fillSize: '32',
|
|
477
|
-
badgeAppearanceSize: '
|
|
490
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
478
491
|
iconSize: '20',
|
|
479
492
|
},
|
|
480
493
|
size32_24: {
|
|
481
494
|
fillSize: '32',
|
|
482
|
-
badgeAppearanceSize: '
|
|
495
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
483
496
|
iconSize: '24',
|
|
484
497
|
},
|
|
485
498
|
size32_32: {
|
|
486
499
|
fillSize: '32',
|
|
487
|
-
badgeAppearanceSize: '
|
|
500
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
488
501
|
iconSize: '32',
|
|
489
502
|
},
|
|
490
503
|
size40_12: {
|
|
491
504
|
fillSize: '40',
|
|
492
|
-
badgeAppearanceSize: '
|
|
505
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
493
506
|
iconSize: '12',
|
|
494
507
|
},
|
|
495
508
|
size40_14: {
|
|
496
509
|
fillSize: '40',
|
|
497
|
-
badgeAppearanceSize: '
|
|
510
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
498
511
|
iconSize: '14',
|
|
499
512
|
},
|
|
500
513
|
size40_16: {
|
|
501
514
|
fillSize: '40',
|
|
502
|
-
badgeAppearanceSize: '
|
|
515
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
503
516
|
iconSize: '16',
|
|
504
517
|
},
|
|
505
518
|
size40_20: {
|
|
506
519
|
fillSize: '40',
|
|
507
|
-
badgeAppearanceSize: '
|
|
520
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
508
521
|
iconSize: '20',
|
|
509
522
|
},
|
|
510
523
|
size40_24: {
|
|
511
524
|
fillSize: '40',
|
|
512
|
-
badgeAppearanceSize: '
|
|
525
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
513
526
|
iconSize: '24',
|
|
514
527
|
},
|
|
515
528
|
size40_32: {
|
|
516
529
|
fillSize: '40',
|
|
517
|
-
badgeAppearanceSize: '
|
|
530
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
518
531
|
iconSize: '32',
|
|
519
532
|
},
|
|
520
533
|
size40_40: {
|
|
521
534
|
fillSize: '40',
|
|
522
|
-
badgeAppearanceSize: '
|
|
535
|
+
badgeAppearanceSize: 'sizeXXS',
|
|
523
536
|
iconSize: '40',
|
|
524
537
|
},
|
|
525
538
|
};
|
|
526
539
|
|
|
527
540
|
var iconAppearanceStyle = {
|
|
528
|
-
|
|
529
|
-
borderColor: '
|
|
530
|
-
},
|
|
531
|
-
ghost: {
|
|
532
|
-
fill: 'none',
|
|
533
|
-
borderColor: '0',
|
|
541
|
+
solid: {
|
|
542
|
+
borderColor: 'none',
|
|
534
543
|
},
|
|
535
544
|
outlined: {
|
|
536
545
|
fill: 'none',
|
|
537
546
|
},
|
|
538
|
-
|
|
539
|
-
|
|
547
|
+
full: {},
|
|
548
|
+
ghost: {
|
|
549
|
+
fill: 'none',
|
|
550
|
+
borderColor: 'none',
|
|
540
551
|
},
|
|
541
552
|
};
|
|
542
553
|
|
|
@@ -544,13 +555,11 @@ var iconAppearanceSuccess = {
|
|
|
544
555
|
success: {
|
|
545
556
|
fill: 'successPrimary',
|
|
546
557
|
fillHover: 'successHover',
|
|
547
|
-
labelTextColor: 'successTextSecondary',
|
|
548
|
-
labelTextColorHover: 'successTextSecondary',
|
|
549
558
|
},
|
|
550
559
|
successPrimary: {
|
|
551
560
|
fill: 'successPrimary',
|
|
552
561
|
fillHover: 'successHover',
|
|
553
|
-
badgeAppearance: '
|
|
562
|
+
badgeAppearance: 'surfacePrimary',
|
|
554
563
|
iconFill: 'successItemPrimary',
|
|
555
564
|
},
|
|
556
565
|
};
|
|
@@ -559,29 +568,24 @@ var iconAppearanceSurface = {
|
|
|
559
568
|
surfacePrimary: {
|
|
560
569
|
fill: 'surfacePrimary',
|
|
561
570
|
fillHover: 'surfaceSecondary',
|
|
562
|
-
|
|
563
|
-
badgeAppearance: 'accentPrimary',
|
|
571
|
+
badgeAppearance: 'surfacePrimary',
|
|
564
572
|
iconFill: 'surfaceItemPrimary',
|
|
565
573
|
},
|
|
566
574
|
surfaceSecondary: {
|
|
567
575
|
fill: 'surfaceSecondary',
|
|
568
576
|
fillHover: 'surfaceSecondaryHover',
|
|
569
|
-
labelTextColor: 'surfaceTextPrimary',
|
|
570
577
|
badgeAppearance: 'accentPrimary',
|
|
571
578
|
iconFill: 'surfaceItemPrimary',
|
|
572
579
|
},
|
|
573
580
|
surfaceTertiary: {
|
|
574
581
|
fill: 'surfaceTertiary',
|
|
575
582
|
fillHover: 'surfaceTertiaryHover',
|
|
576
|
-
labelTextColor: 'surfaceTextPrimary',
|
|
577
583
|
badgeAppearance: 'accentPrimary',
|
|
578
584
|
iconFill: 'surfaceItemPrimary',
|
|
579
585
|
},
|
|
580
586
|
surfaceQuaternary: {
|
|
581
587
|
fill: 'surfaceQuaternary',
|
|
582
588
|
fillHover: 'surfaceHover',
|
|
583
|
-
labelTextColor: 'surfaceTextPrimary',
|
|
584
|
-
labelTextColorHover: 'surfaceTextHover',
|
|
585
589
|
badgeAppearance: 'accentPrimary',
|
|
586
590
|
iconFill: 'surfaceItemPrimary',
|
|
587
591
|
},
|
|
@@ -591,18 +595,18 @@ var iconAppearanceWarning = {
|
|
|
591
595
|
warning: {
|
|
592
596
|
fill: 'warningPrimary',
|
|
593
597
|
fillHover: 'warningHover',
|
|
594
|
-
|
|
595
|
-
|
|
598
|
+
badgeAppearance: 'surfacePrimary',
|
|
599
|
+
iconFill: 'warningItemPrimary',
|
|
596
600
|
},
|
|
597
601
|
warningPrimary: {
|
|
598
602
|
fill: 'warningPrimary',
|
|
599
603
|
fillHover: 'warningHover',
|
|
600
|
-
|
|
601
|
-
|
|
604
|
+
badgeAppearance: 'surfacePrimary',
|
|
605
|
+
iconFill: 'warningItemPrimary',
|
|
602
606
|
},
|
|
603
607
|
};
|
|
604
608
|
|
|
605
|
-
var iconAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, iconAppearanceSize), iconAppearanceStyle), iconAppearanceAccent), iconAppearanceDanger), iconAppearanceError), iconAppearanceInfo), iconAppearancePrimary), iconAppearanceSecondary), iconAppearanceSuccess), iconAppearanceSurface), iconAppearanceWarning);
|
|
609
|
+
var iconAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, iconAppearanceDisabled), iconAppearanceSize), iconAppearanceStyle), iconAppearanceAccent), iconAppearanceDanger), iconAppearanceError), iconAppearanceInfo), iconAppearancePrimary), iconAppearanceSecondary), iconAppearanceSuccess), iconAppearanceSurface), iconAppearanceWarning);
|
|
606
610
|
|
|
607
611
|
var iconConfig = {
|
|
608
612
|
appearance: iconAppearance,
|
|
@@ -613,7 +617,7 @@ var iconConfig = {
|
|
|
613
617
|
var Icon = React.forwardRef(function Icon(props, ref) {
|
|
614
618
|
// TODO: Tooltip doesn't work that anymore
|
|
615
619
|
// const [isTooltipVisible, setIsTooltipVisible] = useState(false)
|
|
616
|
-
var id = props.id, className = props.className, appearance = props.appearance, width = props.width, height = props.height, isDisabled = props.isDisabled, badgeClass = props.badgeClass, dataTour = props.dataTour, href = props.href, imageSrc = props.imageSrc, link = props.link, linkRel = props.linkRel, linkTarget = props.linkTarget, showTooltip = props.showTooltip, SvgImage = props.SvgImage, before = props.before, after = props.after, isActive = props.isActive, onClick = props.onClick, onMouseEnter = props.onMouseEnter, onMouseLeave = props.onMouseLeave;
|
|
620
|
+
var id = props.id, className = props.className, appearance = props.appearance, width = props.width, height = props.height, isDisabled = props.isDisabled, badgeClass = props.badgeClass, dataTour = props.dataTour, href = props.href, imageSrc = props.imageSrc, link = props.link, linkRel = props.linkRel, linkTarget = props.linkTarget, showTooltip = props.showTooltip, SvgImage = props.SvgImage, before = props.before, after = props.after, isActive = props.isActive, isSkeleton = props.isSkeleton, onClick = props.onClick, onMouseEnter = props.onMouseEnter, onMouseLeave = props.onMouseLeave;
|
|
617
621
|
var ImageComponent = useMemo(function () {
|
|
618
622
|
if (SvgImage) {
|
|
619
623
|
var sizes = {};
|
|
@@ -638,7 +642,7 @@ var Icon = React.forwardRef(function Icon(props, ref) {
|
|
|
638
642
|
return (__assign(__assign({}, resultConfig), (_a = iconConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
|
|
639
643
|
}, {});
|
|
640
644
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
641
|
-
var alignmentClass = propsGenerator.alignmentClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillDisabledClass = propsGenerator.fillDisabledClass, fillHoverClass = propsGenerator.fillHoverClass, fillSizeClass = propsGenerator.fillSizeClass, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, iconFillDisabledClass = propsGenerator.iconFillDisabledClass, badgeAppearance = propsGenerator.badgeAppearance, badgeAppearanceSize = propsGenerator.badgeAppearanceSize, badgeShape = propsGenerator.badgeShape, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, badgeValue = propsGenerator.badgeValue, cursorClass = propsGenerator.cursorClass, iconFillActiveClass = propsGenerator.iconFillActiveClass, iconFillActiveHoverClass = propsGenerator.iconFillActiveHoverClass, iconFillClass = propsGenerator.iconFillClass, iconFillHoverClass = propsGenerator.iconFillHoverClass, iconSizeClass = propsGenerator.iconSizeClass, shapeClass = propsGenerator.shapeClass, tooltipAppearance = propsGenerator.tooltipAppearance, tooltipText = propsGenerator.tooltipText, tooltipTextSize = propsGenerator.tooltipTextSize, tooltipTitle = propsGenerator.tooltipTitle, tooltipTitleSize = propsGenerator.tooltipTitleSize;
|
|
645
|
+
var alignmentClass = propsGenerator.alignmentClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillDisabledClass = propsGenerator.fillDisabledClass, fillHoverClass = propsGenerator.fillHoverClass, fillSizeClass = propsGenerator.fillSizeClass, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, iconFillDisabledClass = propsGenerator.iconFillDisabledClass, badgeAppearance = propsGenerator.badgeAppearance, badgeAppearanceSize = propsGenerator.badgeAppearanceSize, badgeShape = propsGenerator.badgeShape, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, badgeValue = propsGenerator.badgeValue, centeringClass = propsGenerator.centeringClass, cursorClass = propsGenerator.cursorClass, iconFillActiveClass = propsGenerator.iconFillActiveClass, iconFillActiveHoverClass = propsGenerator.iconFillActiveHoverClass, iconFillClass = propsGenerator.iconFillClass, iconFillHoverClass = propsGenerator.iconFillHoverClass, iconSizeClass = propsGenerator.iconSizeClass, shapeClass = propsGenerator.shapeClass, tooltipAppearance = propsGenerator.tooltipAppearance, tooltipText = propsGenerator.tooltipText, tooltipTextSize = propsGenerator.tooltipTextSize, tooltipTitle = propsGenerator.tooltipTitle, tooltipTitleSize = propsGenerator.tooltipTitleSize;
|
|
642
646
|
var iconStyles = useStyles(props).styles;
|
|
643
647
|
return (jsxs("div", { id: id, className: clsx(className, 'icon', !isActive
|
|
644
648
|
? fillClass && "fill_".concat(fillClass)
|
|
@@ -651,7 +655,7 @@ var Icon = React.forwardRef(function Icon(props, ref) {
|
|
|
651
655
|
: iconFillActiveHoverClass &&
|
|
652
656
|
"icon_fill_active_hover_".concat(iconFillActiveHoverClass), isDisabled &&
|
|
653
657
|
iconFillDisabledClass &&
|
|
654
|
-
"icon_fill_disabled_".concat(iconFillDisabledClass), shapeClass && "icon_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), badgeValue && 'icon_with-badge', onClick && cursorClass && "cursor_".concat(cursorClass)), "data-tour": dataTour, ref: ref, style: iconStyles, onClick: onClick, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, children: [before, jsxs(LinkWrapper, { className: clsx((link || href || onClick) && 'cursor_type_pointer', link || href ? 'icon__link' : 'icon__item', iconSizeClass && "icon_size_".concat(iconSizeClass)), href: link || href, LinkComponent: "div", rel: linkRel, target: linkTarget, children: [ImageComponent, badgeValue && (jsx(Badge, { className: clsx(badgeClass, 'icon__badge'), appearance: "".concat(badgeAppearance, " ").concat(badgeAppearanceSize), size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), showTooltip && (jsx(Tooltip, { className: clsx(className, 'icon__tooltip', alignmentClass && "alignment_".concat(alignmentClass)), appearance: tooltipAppearance, title: tooltipTitle, titleSize: tooltipTitleSize, text: tooltipText, textSize: tooltipTextSize }))] }), after] }));
|
|
658
|
+
"icon_fill_disabled_".concat(iconFillDisabledClass), shapeClass && "icon_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), badgeValue && 'icon_with-badge', centeringClass && "centering_".concat(centeringClass), onClick && cursorClass && "cursor_".concat(cursorClass), isSkeleton && "icon_skeleton"), "data-tour": dataTour, ref: ref, style: iconStyles, onClick: onClick, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, children: [before, jsxs(LinkWrapper, { className: clsx((link || href || onClick) && 'cursor_type_pointer', link || href ? 'icon__link' : 'icon__item', iconSizeClass && "icon_size_".concat(iconSizeClass)), href: link || href, LinkComponent: "div", rel: linkRel, target: linkTarget, children: [ImageComponent, badgeValue && (jsx(Badge, { className: clsx(badgeClass, 'icon__badge'), appearance: "".concat(badgeAppearance, " ").concat(badgeAppearanceSize), size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), showTooltip && (jsx(Tooltip, { className: clsx(className, 'icon__tooltip', alignmentClass && "alignment_".concat(alignmentClass)), appearance: tooltipAppearance, title: tooltipTitle, titleSize: tooltipTitleSize, text: tooltipText, textSize: tooltipTextSize }))] }), after] }));
|
|
655
659
|
});
|
|
656
660
|
var removeFillStroke = function (code) {
|
|
657
661
|
return code
|
|
@@ -1065,10 +1069,12 @@ var Tooltip = React.forwardRef(function Tooltip(props, ref) {
|
|
|
1065
1069
|
return (__assign(__assign({}, resultConfig), (_a = tooltipConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
|
|
1066
1070
|
}, {});
|
|
1067
1071
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
1068
|
-
var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, alignmentClass = propsGenerator.alignmentClass, alignPosition = propsGenerator.alignPosition, fillClass = propsGenerator.fillClass, titleSize = propsGenerator.titleSize, titleTextColor = propsGenerator.titleTextColor, titleTextWeight = propsGenerator.titleTextWeight, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, textWeight = propsGenerator.textWeight, arrowPosition = propsGenerator.arrowPosition, elevationClass = propsGenerator.elevationClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
|
|
1072
|
+
var alignClass = propsGenerator.alignClass, centeringClass = propsGenerator.centeringClass, alignDirectionClass = propsGenerator.alignDirectionClass, alignmentClass = propsGenerator.alignmentClass, alignPosition = propsGenerator.alignPosition, fillClass = propsGenerator.fillClass, titleSize = propsGenerator.titleSize, titleTextColor = propsGenerator.titleTextColor, titleTextWeight = propsGenerator.titleTextWeight, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, shapeStrengthClass = propsGenerator.shapeStrengthClass, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, textWeight = propsGenerator.textWeight, arrowPosition = propsGenerator.arrowPosition, elevationClass = propsGenerator.elevationClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
|
|
1069
1073
|
// @ts-expect-error
|
|
1070
1074
|
var tooltipStyles = useStyles(props).styles;
|
|
1071
|
-
return (jsxs("div", { className: clsx(className, 'tooltip', isTooltipVisible ? 'tooltip_state_open' : 'tooltip_state_close', fillClass && "fill_".concat(fillClass), shapeClass && "tooltip_shape_".concat(shapeClass), alignPosition && "tooltip_align-position_".concat(alignPosition), alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), elevationClass && "elevation_".concat(elevationClass),
|
|
1075
|
+
return (jsxs("div", { className: clsx(className, 'tooltip', isTooltipVisible ? 'tooltip_state_open' : 'tooltip_state_close', fillClass && "fill_".concat(fillClass), shapeClass && "tooltip_shape_".concat(shapeClass), alignPosition && "tooltip_align-position_".concat(alignPosition), alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), elevationClass && "elevation_".concat(elevationClass), centeringClass && "centering_".concat(centeringClass), shapeClass && "shape_".concat(shapeClass), shapeStrengthClass
|
|
1076
|
+
? "shape-strength_".concat(shapeStrengthClass)
|
|
1077
|
+
: shapeClass === 'rounded' && 'shape-strength_default', alignmentClass && "alignment_".concat(alignmentClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), sizeClass && "tooltip_size_".concat(sizeClass), isSkeleton && 'tooltip_skeleton', widthClass && "width_".concat(widthClass)), ref: tooltipElementRef, style: tooltipStyles, onAnimationEnd: onAnimationEnd, children: [jsx("div", { className: clsx('tooltip__arrow', arrowPosition && "tooltip__arrow_position_".concat(arrowPosition), fillClass && "fill_".concat(fillClass)), children: "\u00A0" }), before, jsxs("div", { className: "tooltip__inner", children: [title && (jsx(Title, { className: "tooltip__title text", size: titleSize, textColor: titleTextColor, textWeight: titleTextWeight, children: title })), text && (jsx(Text, { className: "tooltip__text", size: textSize, textColor: textColor, textWeight: textWeight, children: text })), children] }), after] }));
|
|
1072
1078
|
});
|
|
1073
1079
|
|
|
1074
1080
|
export { Badge as B, Icon as I, Tooltip as T, tooltipAppearance as a, Title as b, titleConfig as c, titleAppearance as d, iconAppearance as e, badgeAppearance as f, badgeConfig as g, iconConfig as i, tooltipConfig as t };
|
|
@@ -7,7 +7,7 @@ var clsx = require('clsx');
|
|
|
7
7
|
var castArray = require('lodash/castArray');
|
|
8
8
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
9
9
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
10
|
-
var Tooltip = require('../../
|
|
10
|
+
var Tooltip = require('../../Tooltip_cjs_DHduWa-v.js');
|
|
11
11
|
var Divider = require('../../Divider_cjs_BmCJj3TN.js');
|
|
12
12
|
var Text = require('../../Text_cjs_C9fOm0nd.js');
|
|
13
13
|
var _default = require('@itcase/icons/default');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Avatar = require('../../
|
|
3
|
+
var Avatar = require('../../Avatar_cjs_nMPCDjk8.js');
|
|
4
4
|
require('../../tslib.es6_cjs_CCZ3TN_7.js');
|
|
5
5
|
require('react/jsx-runtime');
|
|
6
6
|
require('react');
|
|
@@ -16,7 +16,7 @@ require('../context/UIContext.js');
|
|
|
16
16
|
require('../hooks/useMediaQueries/useMediaQueries.js');
|
|
17
17
|
require('react-responsive');
|
|
18
18
|
require('../utils/setViewportProperty.js');
|
|
19
|
-
require('../../
|
|
19
|
+
require('../../Tooltip_cjs_DHduWa-v.js');
|
|
20
20
|
require('../hooks/useStyles/useStyles.js');
|
|
21
21
|
require('lodash/maxBy');
|
|
22
22
|
require('../hooks/useStyles/styleAttributes.js');
|
|
@@ -5,7 +5,7 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
|
|
7
7
|
var useStyles = require('../hooks/useStyles/useStyles.js');
|
|
8
|
-
var Avatar = require('../../
|
|
8
|
+
var Avatar = require('../../Avatar_cjs_nMPCDjk8.js');
|
|
9
9
|
var Group = require('../../Group_cjs_Cwt0gWk4.js');
|
|
10
10
|
var Text = require('../../Text_cjs_C9fOm0nd.js');
|
|
11
11
|
require('react');
|
|
@@ -21,7 +21,7 @@ require('react-responsive');
|
|
|
21
21
|
require('../utils/setViewportProperty.js');
|
|
22
22
|
require('lodash/maxBy');
|
|
23
23
|
require('../hooks/useStyles/styleAttributes.js');
|
|
24
|
-
require('../../
|
|
24
|
+
require('../../Tooltip_cjs_DHduWa-v.js');
|
|
25
25
|
require('react-inlinesvg');
|
|
26
26
|
require('../../Link_cjs_DbRGq2Yk.js');
|
|
27
27
|
require('../../Image_cjs_CCWqbNn4.js');
|
|
@@ -1,45 +1,36 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
{
|
|
36
|
-
id: '5',
|
|
37
|
-
key: 5,
|
|
38
|
-
text: 'Text 123',
|
|
39
|
-
href: '/',
|
|
40
|
-
icon: _default.icons16.Placeholder.Default,
|
|
41
|
-
},
|
|
42
|
-
],
|
|
43
|
-
};
|
|
3
|
+
var breadcrumbsListMock = [
|
|
4
|
+
{
|
|
5
|
+
id: '1',
|
|
6
|
+
key: 1,
|
|
7
|
+
text: 'Text 123',
|
|
8
|
+
href: '/',
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
id: '2',
|
|
12
|
+
key: 2,
|
|
13
|
+
text: 'Text 123',
|
|
14
|
+
href: '/',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
id: '3',
|
|
18
|
+
key: 3,
|
|
19
|
+
text: 'Text 123',
|
|
20
|
+
href: '/',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
id: '4',
|
|
24
|
+
key: 4,
|
|
25
|
+
text: 'Text 123',
|
|
26
|
+
href: '/',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
id: '5',
|
|
30
|
+
key: 5,
|
|
31
|
+
text: 'Text 123',
|
|
32
|
+
href: '/',
|
|
33
|
+
},
|
|
34
|
+
];
|
|
44
35
|
|
|
45
36
|
exports.breadcrumbsListMock = breadcrumbsListMock;
|