@itcase/ui 1.8.27 → 1.8.30
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_D84VawE9.js → Avatar_cjs_33OrnLtt.js} +36 -99
- package/dist/{Avatar_es_CUnfNViT.js → Avatar_es_B3LiV8MM.js} +36 -99
- package/dist/{Button_cjs_CYUpbdMO.js → Button_cjs_C05Joa8j.js} +3 -3
- package/dist/{Button_es_Dp6yFZgn.js → Button_es_CO_dwo-N.js} +3 -3
- package/dist/{ChipsGroup_cjs_Ct-NrPmJ.js → ChipsGroup_cjs_DN9BoTKe.js} +13 -10
- package/dist/{ChipsGroup_es_BNuhlSG6.js → ChipsGroup_es_D9aK8Roh.js} +13 -10
- package/dist/{DatePicker_cjs_DamcZFbX.js → DatePicker_cjs_B_OWDm9X.js} +15 -26
- package/dist/{DatePicker_es_Bm_onmmb.js → DatePicker_es_BCbmUdl0.js} +15 -26
- package/dist/Divider_cjs_BmCJj3TN.js +99 -0
- package/dist/Divider_es_kY-30pft.js +95 -0
- package/dist/{DropdownItem_cjs_B_7anyaJ.js → DropdownItem_cjs_DPoFy70W.js} +27 -20
- package/dist/{DropdownItem_es_B4EZYdJA.js → DropdownItem_es_CVztMEm0.js} +27 -20
- package/dist/{Label_cjs_ByGAWJcj.js → Label_cjs_BefEcq6i.js} +15 -15
- package/dist/{Label_es_BtwZ3a2V.js → Label_es_Dl_DrMOh.js} +15 -15
- package/dist/{Loader_cjs___VikiqS.js → Loader_cjs_CCrbD8Em.js} +1 -1
- package/dist/{Loader_es_DHKB6tTw.js → Loader_es_B2auu_rc.js} +1 -1
- package/dist/Overlay_cjs_CFOtnzDU.js +42 -0
- package/dist/Overlay_es_DczPjVL9.js +38 -0
- package/dist/{Text_cjs_DPhKj3wf.js → Text_cjs_C9fOm0nd.js} +0 -7
- package/dist/{Text_es_BRb3qqKM.js → Text_es_BfLRfj-5.js} +0 -7
- package/dist/{Tooltip_cjs_CaocDcQ5.js → Tooltip_cjs_pBGCcXLZ.js} +169 -310
- package/dist/{Tooltip_es_D1w1s33u.js → Tooltip_es_frBCZDrO.js} +169 -310
- package/dist/cjs/components/Accordion.js +61 -75
- package/dist/cjs/components/Avatar.js +3 -3
- package/dist/cjs/components/AvatarStack/stories/__mock__.js +28 -0
- package/dist/cjs/components/AvatarStack.js +41 -9
- package/dist/cjs/components/Badge.js +2 -2
- package/dist/cjs/components/Breadcrumbs.js +2 -2
- package/dist/cjs/components/Button.js +4 -4
- package/dist/cjs/components/Cell/stories/__mock__.js +14 -0
- package/dist/cjs/components/Cell.js +84 -42
- package/dist/cjs/components/Checkbox.js +49 -56
- package/dist/cjs/components/Checkmark.js +51 -14
- package/dist/cjs/components/Chips.js +3 -3
- package/dist/cjs/components/Choice.js +10 -10
- package/dist/cjs/components/Code.js +17 -26
- package/dist/cjs/components/CookiesWarning.js +34 -16
- package/dist/cjs/components/DatePeriod.js +48 -11
- package/dist/cjs/components/DatePicker.js +6 -6
- package/dist/cjs/components/Divider.js +1 -1
- package/dist/cjs/components/Drawer.js +35 -6
- package/dist/cjs/components/Dropdown/stories/__mock__.js +24 -0
- package/dist/cjs/components/Dropdown.js +4 -4
- package/dist/cjs/components/HeroTitle.js +9 -5
- package/dist/cjs/components/Icon.js +2 -2
- package/dist/cjs/components/InputPassword.js +2 -2
- package/dist/cjs/components/Label.js +3 -3
- package/dist/cjs/components/Loader.js +2 -2
- package/dist/cjs/components/MenuItem.js +10 -10
- package/dist/cjs/components/Modal.js +4 -4
- package/dist/cjs/components/Notification/stories/__mock__.js +30 -0
- package/dist/cjs/components/Notification.js +83 -101
- package/dist/cjs/components/Overlay.js +1 -1
- package/dist/cjs/components/Pagination.js +4 -4
- package/dist/cjs/components/Radio.js +123 -31
- package/dist/cjs/components/Response.js +21 -7
- package/dist/cjs/components/Search.js +60 -98
- package/dist/cjs/components/Segmented.js +6 -6
- package/dist/cjs/components/Select.js +3 -3
- package/dist/cjs/components/Swiper.js +2 -2
- package/dist/cjs/components/Switch.js +68 -195
- package/dist/cjs/components/Tab.js +11 -11
- package/dist/cjs/components/Text.js +1 -1
- package/dist/cjs/components/Tile.js +72 -45
- package/dist/cjs/components/Title.js +2 -2
- package/dist/cjs/components/Tooltip.js +2 -2
- package/dist/cjs/components/Video/stories/__mocks__.js +10 -0
- package/dist/cjs/components/Video.js +2 -9
- package/dist/cjs/context/Notifications.js +2 -1
- package/dist/components/Accordion.js +62 -75
- package/dist/components/Avatar.js +3 -3
- package/dist/components/AvatarStack/stories/__mock__.js +26 -0
- package/dist/components/AvatarStack.js +41 -9
- package/dist/components/Badge.js +2 -2
- package/dist/components/Breadcrumbs.js +2 -2
- package/dist/components/Button.js +4 -4
- package/dist/components/Cell/stories/__mock__.js +12 -0
- package/dist/components/Cell.js +84 -42
- package/dist/components/Checkbox.js +49 -56
- package/dist/components/Checkmark.js +51 -14
- package/dist/components/Chips.js +3 -3
- package/dist/components/Choice.js +10 -10
- package/dist/components/Code.js +17 -26
- package/dist/components/CookiesWarning.js +34 -17
- package/dist/components/DatePeriod.js +48 -11
- package/dist/components/DatePicker.js +6 -6
- package/dist/components/Divider.js +1 -1
- package/dist/components/Drawer.js +35 -6
- package/dist/components/Dropdown/stories/__mock__.js +22 -0
- package/dist/components/Dropdown.js +4 -4
- package/dist/components/HeroTitle.js +10 -6
- package/dist/components/Icon.js +2 -2
- package/dist/components/InputPassword.js +2 -2
- package/dist/components/Label.js +3 -3
- package/dist/components/Loader.js +2 -2
- package/dist/components/MenuItem.js +10 -10
- package/dist/components/Modal.js +4 -4
- package/dist/components/Notification/stories/__mock__.js +28 -0
- package/dist/components/Notification.js +80 -98
- package/dist/components/Overlay.js +1 -1
- package/dist/components/Pagination.js +4 -4
- package/dist/components/Radio.js +124 -31
- package/dist/components/Response.js +21 -7
- package/dist/components/Search.js +60 -98
- package/dist/components/Segmented.js +6 -6
- package/dist/components/Select.js +3 -3
- package/dist/components/Swiper.js +2 -2
- package/dist/components/Switch.js +68 -195
- package/dist/components/Tab.js +11 -11
- package/dist/components/Text.js +1 -1
- package/dist/components/Tile.js +72 -45
- package/dist/components/Title.js +2 -2
- package/dist/components/Tooltip.js +2 -2
- package/dist/components/Video/stories/__mocks__.js +8 -0
- package/dist/components/Video.js +2 -9
- package/dist/context/Notifications.js +2 -1
- package/dist/css/components/Accordion/Accordion.css +64 -19
- package/dist/css/components/Avatar/Avatar.css +44 -16
- package/dist/css/components/AvatarStack/AvatarStack.css +38 -3
- package/dist/css/components/Badge/Badge.css +1 -1
- package/dist/css/components/Button/Button.css +1 -0
- package/dist/css/components/Cell/Cell.css +31 -41
- package/dist/css/components/Checkbox/Checkbox.css +63 -38
- package/dist/css/components/Code/Code.css +36 -6
- package/dist/css/components/CookiesWarning/CookiesWarning.css +3 -0
- package/dist/css/components/Divider/Divider.css +24 -0
- package/dist/css/components/Drawer/Drawer.css +11 -0
- package/dist/css/components/Dropdown/Dropdown.css +9 -24
- package/dist/css/components/Flex/Flex.css +4 -2
- package/dist/css/components/Flex/css/__item/flex__item_shape.css +1 -1
- package/dist/css/components/Grid/Grid.css +7 -83
- package/dist/css/components/Grid/css/__item/grid__item_column.css +1 -12
- package/dist/css/components/Group/Group.css +54 -11
- package/dist/css/components/HeroTitle/HeroTitle.css +22 -18
- package/dist/css/components/Link/Link.css +0 -1
- package/dist/css/components/Notification/Notification.css +69 -78
- package/dist/css/components/Notification/css/__item/notification__item.css +22 -0
- package/dist/css/components/Notification/css/__item/notification__item_position_float.css +13 -0
- package/dist/css/components/Notification/css/__item/notification__item_position_toast.css +17 -0
- package/dist/css/components/Notification/css/__item/notification__item_skeleton.css +25 -0
- package/dist/css/components/Notification/css/__item/notification__item_status.css +8 -8
- package/dist/css/components/Overlay/Overlay.css +0 -5
- package/dist/css/components/Radio/Radio.css +6 -63
- package/dist/css/components/Response/Response.css +24 -0
- package/dist/css/components/Search/Search.css +36 -15
- package/dist/css/components/Search/css/search-input/search-input_skeleton.css +25 -0
- package/dist/css/components/Switch/Switch.css +10 -17
- package/dist/css/components/Tab/Tab.css +45 -12
- package/dist/css/components/Text/Text.css +3 -3
- package/dist/css/components/Tile/Tile.css +64 -22
- package/dist/css/components/Title/Title.css +36 -26
- package/dist/css/components/Tooltip/Tooltip.css +95 -42
- package/dist/css/components/Video/Video.css +1 -1
- package/dist/css/styles/blur/blur.css +9 -0
- package/dist/css/styles/border-color/border-color.css +3 -0
- package/dist/css/styles/elevation/elevation.css +1 -1
- package/dist/css/styles/elevation/elevation_hover.css +1 -1
- package/dist/css/styles/opacity/opacity.css +2 -1
- package/dist/stories/AccordionOverview.mdx +12 -0
- package/dist/stories/AccordionPlayground.mdx +10 -0
- package/dist/stories/AvatarOverview.mdx +19 -0
- package/dist/stories/AvatarPlayground.mdx +10 -0
- package/dist/stories/AvatarStackOverview.mdx +13 -0
- package/dist/stories/AvatarStackPlayground.mdx +8 -0
- package/dist/stories/BadgeOverview.mdx +13 -0
- package/dist/stories/BadgePlayground.mdx +8 -0
- package/dist/stories/BreadcrumbsOverview.mdx +14 -0
- package/dist/stories/{Plsyground.mdx → BreadcrumbsPlsyground.mdx} +1 -1
- package/dist/stories/ButtonOverview.mdx +12 -0
- package/dist/stories/ButtonPlayground.mdx +10 -0
- package/dist/stories/CellOverview.mdx +21 -0
- package/dist/stories/CellPlayground.mdx +10 -0
- package/dist/stories/CheckboxOverview.mdx +12 -0
- package/dist/stories/CheckboxPlayground.mdx +10 -0
- package/dist/stories/CheckmarkOverview.mdx +12 -0
- package/dist/stories/CheckmarkPlayground.mdx +10 -0
- package/dist/stories/ChipsOverview.mdx +37 -0
- package/dist/stories/ChipsPlayground.mdx +10 -0
- package/dist/stories/ChoiceOverview.mdx +11 -0
- package/dist/stories/ChoicePlayground.mdx +10 -0
- package/dist/stories/CodeOverview.mdx +11 -0
- package/dist/stories/CodePlayground.mdx +10 -0
- package/dist/stories/CookiesWarningOverview.mdx +13 -0
- package/dist/stories/CookiesWarningPlayground.mdx +11 -0
- package/dist/stories/DadataHintFieldOverview.mdx +11 -0
- package/dist/stories/DatePeriodOverview.mdx +9 -0
- package/dist/stories/DatePeriodPlayground.mdx +10 -0
- package/dist/stories/DatePickerOverview.mdx +12 -0
- package/dist/stories/DatePickerPlayground.mdx +10 -0
- package/dist/stories/DividerOverview.mdx +11 -0
- package/dist/stories/DividerPlayground.mdx +10 -0
- package/dist/stories/DotOverview.mdx +11 -0
- package/dist/stories/DotPlayground.mdx +10 -0
- package/dist/stories/DrawerOverview.mdx +14 -0
- package/dist/stories/DrawerPlayground.mdx +10 -0
- package/dist/stories/DropdownOverview.mdx +11 -0
- package/dist/stories/DropdownPlayground.mdx +10 -0
- package/dist/stories/FlexAlignItems.mdx +73 -0
- package/dist/stories/FlexAlignSelf.mdx +84 -0
- package/dist/stories/FlexDirection.mdx +106 -0
- package/dist/stories/FlexJustifyContent.mdx +87 -0
- package/dist/stories/FlexOverview.mdx +48 -0
- package/dist/stories/FlexPlayground.mdx +10 -0
- package/dist/stories/FlexWrap.mdx +60 -0
- package/dist/stories/GridOverview.mdx +12 -0
- package/dist/stories/GridPlayground.mdx +10 -0
- package/dist/stories/GroupOverview.mdx +22 -0
- package/dist/stories/GroupPlayground.mdx +10 -0
- package/dist/stories/HTMLContentOverview.mdx +11 -0
- package/dist/stories/HTMLContentPlayground.mdx +10 -0
- package/dist/stories/HeroTitleOverview.mdx +36 -0
- package/dist/stories/HeroTitlePlayground.mdx +10 -0
- package/dist/stories/IconOverview.mdx +16 -0
- package/dist/stories/IconPlayground.mdx +10 -0
- package/dist/stories/ImageOverview.mdx +11 -0
- package/dist/stories/ImagePlayground.mdx +10 -0
- package/dist/stories/InputOverview.mdx +11 -0
- package/dist/stories/InputPasswordOverview.mdx +11 -0
- package/dist/stories/InputPasswordPlayground.mdx +10 -0
- package/dist/stories/InputPlayground.mdx +10 -0
- package/dist/stories/LabelOverview.mdx +11 -0
- package/dist/stories/LabelPlayground.mdx +10 -0
- package/dist/stories/LinkOverview.mdx +20 -0
- package/dist/stories/LinkPlayground.mdx +10 -0
- package/dist/stories/ListOverview.mdx +14 -0
- package/dist/stories/ListPlayground.mdx +10 -0
- package/dist/stories/LoaderOverview.mdx +11 -0
- package/dist/stories/LoaderPlayground.mdx +10 -0
- package/dist/stories/LogoOverview.mdx +24 -0
- package/dist/stories/LogoPlayground.mdx +10 -0
- package/dist/stories/MenuItemOverview.mdx +11 -0
- package/dist/stories/MenuItemPlayground.mdx +10 -0
- package/dist/stories/ModalOverview.mdx +15 -0
- package/dist/stories/ModalPlayground.mdx +10 -0
- package/dist/stories/ModalSheetBottomOverview.mdx +9 -0
- package/dist/stories/NotificationOverview.mdx +13 -0
- package/dist/stories/NotificationPlayground.mdx +10 -0
- package/dist/stories/OverlayOverview.mdx +12 -0
- package/dist/stories/OverlayPlayground.mdx +10 -0
- package/dist/stories/Overview.mdx +5 -15
- package/dist/stories/Playground.mdx +4 -4
- package/dist/stories/RadioOverview.mdx +12 -0
- package/dist/stories/RadioPlayground.mdx +10 -0
- package/dist/stories/ResponseOverview.mdx +11 -0
- package/dist/stories/ResponsePlayground.mdx +10 -0
- package/dist/stories/SVGContentOverview.mdx +15 -0
- package/dist/stories/SVGContentPlayground.mdx +10 -0
- package/dist/stories/SearchOverview.mdx +11 -0
- package/dist/stories/SearchPlayground.mdx +11 -0
- package/dist/stories/SegmentedOverview.mdx +12 -0
- package/dist/stories/SegmentedPlayground.mdx +10 -0
- package/dist/stories/SwiperOverview.mdx +28 -0
- package/dist/stories/SwiperPlayground.mdx +10 -0
- package/dist/stories/SwitchOverview.mdx +15 -0
- package/dist/stories/SwitchPlayground.mdx +10 -0
- package/dist/stories/TabOverview.mdx +25 -0
- package/dist/stories/TabPlayground.mdx +10 -0
- package/dist/stories/TextOverview.mdx +40 -0
- package/dist/stories/TextPlayground.mdx +10 -0
- package/dist/stories/TileOverview.mdx +11 -0
- package/dist/stories/TilePlayground.mdx +10 -0
- package/dist/stories/TitleOverview.mdx +12 -0
- package/dist/stories/TitlePlayground.mdx +10 -0
- package/dist/stories/TooltipOverview.mdx +11 -0
- package/dist/stories/TooltipPlayground.mdx +10 -0
- package/dist/stories/VideoOverview.mdx +21 -0
- package/dist/stories/VideoPlayground.mdx +10 -0
- package/dist/types/components/Accordion/Accordion.d.ts +2 -3
- package/dist/types/components/Accordion/appearance/accordionSize.d.ts +27 -35
- package/dist/types/components/Accordion/appearance/accordionStyle.d.ts +4 -6
- package/dist/types/components/Accordion/appearance/accordionSurface.d.ts +15 -5
- package/dist/types/components/Accordion/index.d.ts +2 -2
- package/dist/types/components/Avatar/Avatar.interface.d.ts +1 -0
- package/dist/types/components/Avatar/appearance/{avatarSurface.d.ts → avatarDefault.d.ts} +6 -5
- package/dist/types/components/Avatar/appearance/avatarSize.d.ts +9 -0
- package/dist/types/components/Avatar/appearance/avatarStyle.d.ts +5 -5
- package/dist/types/components/AvatarStack/AvatarStack.appearance.d.ts +2 -0
- package/dist/types/components/AvatarStack/AvatarStack.interface.d.ts +22 -2
- package/dist/types/components/AvatarStack/appearance/avatarStackSize.d.ts +21 -0
- package/dist/types/components/AvatarStack/stories/__mock__/index.d.ts +12 -0
- package/dist/types/components/Cell/appearance/cellSize.d.ts +36 -0
- package/dist/types/components/Cell/appearance/cellStyle.d.ts +4 -6
- package/dist/types/components/Cell/appearance/cellSurface.d.ts +19 -5
- package/dist/types/components/Cell/stories/__mock__/index.d.ts +9 -0
- package/dist/types/components/Checkbox/appearance/checkboxDefault.d.ts +9 -19
- package/dist/types/components/Checkbox/appearance/checkboxError.d.ts +11 -6
- package/dist/types/components/Checkbox/appearance/checkboxSize.d.ts +5 -18
- package/dist/types/components/Checkmark/appearance/checkmarkAccent.d.ts +2 -1
- package/dist/types/components/Checkmark/appearance/checkmarkDisabled.d.ts +2 -0
- package/dist/types/components/Checkmark/appearance/checkmarkSize.d.ts +24 -0
- package/dist/types/components/Checkmark/appearance/checkmarkStyle.d.ts +7 -9
- package/dist/types/components/Checkmark/appearance/checkmarkSurface.d.ts +2 -1
- package/dist/types/components/Chips/appearance/chipsAccent.d.ts +6 -0
- package/dist/types/components/Chips/appearance/chipsSize.d.ts +2 -2
- package/dist/types/components/Choice/appearance/choiceStyle.d.ts +6 -6
- package/dist/types/components/Code/Code.interface.d.ts +1 -0
- package/dist/types/components/Code/appearance/codeDefault.d.ts +0 -5
- package/dist/types/components/Code/appearance/codeDisabled.d.ts +0 -4
- package/dist/types/components/Code/appearance/codeError.d.ts +7 -7
- package/dist/types/components/Code/appearance/codeStyle.d.ts +5 -5
- package/dist/types/components/CookiesWarning/CookiesWarning.appearance.d.ts +7 -1
- package/dist/types/components/CookiesWarning/CookiesWarning.d.ts +2 -1
- package/dist/types/components/CookiesWarning/appearance/cookiesWarningDefault.d.ts +12 -0
- package/dist/types/components/CookiesWarning/index.d.ts +2 -2
- package/dist/types/components/DatePeriod/DatePeriod.appearance.d.ts +1 -2
- package/dist/types/components/DatePeriod/appearance/datePeriodSize.d.ts +17 -0
- package/dist/types/components/DatePeriod/appearance/datePeriodSurface.d.ts +19 -0
- package/dist/types/components/DatePicker/DatePicker.appearance.d.ts +7 -15
- package/dist/types/components/DatePicker/appearance/datePickerSize.d.ts +4 -4
- package/dist/types/components/DatePicker/appearance/datePickerStyle.d.ts +3 -9
- package/dist/types/components/DatePicker/appearance/datePickerSurface.d.ts +0 -2
- package/dist/types/components/Divider/Divider.interface.d.ts +2 -0
- package/dist/types/components/Divider/appearance/dividerAccent.d.ts +0 -15
- package/dist/types/components/Divider/appearance/dividerError.d.ts +1 -6
- package/dist/types/components/Divider/appearance/dividerPrimary.d.ts +1 -3
- package/dist/types/components/Divider/appearance/dividerSecondary.d.ts +1 -3
- package/dist/types/components/Divider/appearance/dividerSuccess.d.ts +1 -6
- package/dist/types/components/Divider/appearance/dividerSurface.d.ts +3 -13
- package/dist/types/components/Divider/appearance/dividerWarning.d.ts +1 -6
- package/dist/types/components/Drawer/appearance/drawerSurface.d.ts +7 -1
- package/dist/types/components/Dropdown/appearance/dropdownAccent.d.ts +6 -1
- package/dist/types/components/Dropdown/appearance/dropdownSize.d.ts +3 -0
- package/dist/types/components/Dropdown/appearance/dropdownStyle.d.ts +4 -6
- package/dist/types/components/Dropdown/appearance/dropdownSurface.d.ts +6 -5
- package/dist/types/components/Dropdown/stories/__mock__/index.d.ts +44 -0
- package/dist/types/components/Icon/appearance/iconAccent.d.ts +3 -12
- package/dist/types/components/Icon/appearance/iconDanger.d.ts +0 -2
- package/dist/types/components/Icon/appearance/iconError.d.ts +0 -2
- package/dist/types/components/Icon/appearance/iconInfo.d.ts +0 -4
- package/dist/types/components/Icon/appearance/iconSize.d.ts +56 -28
- package/dist/types/components/Icon/appearance/iconStyle.d.ts +5 -6
- package/dist/types/components/Icon/appearance/iconSuccess.d.ts +6 -2
- package/dist/types/components/Icon/appearance/iconSurface.d.ts +8 -3
- package/dist/types/components/Icon/appearance/iconWarning.d.ts +0 -2
- package/dist/types/components/Label/appearance/labelSurface.d.ts +9 -9
- package/dist/types/components/MenuItem/appearance/menuItemStyle.d.ts +5 -5
- package/dist/types/components/Notification/Notification.appearance.d.ts +2 -0
- package/dist/types/components/Notification/Notification.d.ts +4 -0
- package/dist/types/components/Notification/Notification.interface.d.ts +9 -8
- package/dist/types/components/Notification/NotificationWrapper.d.ts +3 -0
- package/dist/types/components/Notification/appearance/notificationDefault.d.ts +17 -0
- package/dist/types/components/Notification/appearance/notificationError.d.ts +17 -0
- package/dist/types/components/Notification/appearance/notificationSize.d.ts +2 -0
- package/dist/types/components/{Divider/appearance/dividerStyle.d.ts → Notification/appearance/notificationStyle.d.ts} +3 -5
- package/dist/types/components/Notification/appearance/notificationSuccess.d.ts +17 -0
- package/dist/types/components/Notification/appearance/notificationWarning.d.ts +17 -0
- package/dist/types/components/Notification/index.d.ts +4 -4
- package/dist/types/components/Notification/stories/__mock__/index.d.ts +7 -0
- package/dist/types/components/Overlay/appearance/overlayDefault.d.ts +11 -0
- package/dist/types/components/Pagination/appearance/paginationSize.d.ts +9 -28
- package/dist/types/components/Radio/Radio.appearance.d.ts +93 -3
- package/dist/types/components/Radio/appearance/radioDefault.d.ts +11 -5
- package/dist/types/components/Radio/appearance/radioDisabled.d.ts +12 -0
- package/dist/types/components/Radio/appearance/radioRequire.d.ts +2 -2
- package/dist/types/components/Radio/appearance/radioSize.d.ts +3 -12
- package/dist/types/components/Radio/index.d.ts +1 -1
- package/dist/types/components/Response/Response.interface.d.ts +1 -0
- package/dist/types/components/Response/appearance/responceFail.d.ts +2 -0
- package/dist/types/components/Response/appearance/responceNothingFound.d.ts +2 -0
- package/dist/types/components/Response/appearance/responceRefresh.d.ts +2 -0
- package/dist/types/components/Response/appearance/responseError.d.ts +2 -0
- package/dist/types/components/Response/appearance/responseSuccess.d.ts +2 -0
- package/dist/types/components/Response/appearance/responseUnableLoadData.d.ts +2 -0
- package/dist/types/components/Response/appearance/responseWarning.d.ts +2 -0
- package/dist/types/components/Search/Search.interface.d.ts +2 -0
- package/dist/types/components/Search/appearance/searchDefault.d.ts +2 -13
- package/dist/types/components/Search/appearance/searchDisabled.d.ts +2 -9
- package/dist/types/components/Search/appearance/searchError.d.ts +2 -9
- package/dist/types/components/Search/appearance/searchRequire.d.ts +2 -9
- package/dist/types/components/Search/appearance/searchSize.d.ts +24 -6
- package/dist/types/components/Search/appearance/searchStyle.d.ts +3 -1
- package/dist/types/components/Search/appearance/searchSuccess.d.ts +1 -8
- package/dist/types/components/Segmented/appearance/segmentedStyle.d.ts +5 -5
- package/dist/types/components/Switch/appearance/switchDefault.d.ts +11 -0
- package/dist/types/components/Switch/appearance/switchDisabled.d.ts +5 -14
- package/dist/types/components/Switch/appearance/switchError.d.ts +6 -6
- package/dist/types/components/Switch/appearance/switchRequire.d.ts +5 -14
- package/dist/types/components/Switch/appearance/switchSize.d.ts +6 -47
- package/dist/types/components/Switch/appearance/switchSuccess.d.ts +6 -6
- package/dist/types/components/Tab/Tab.interface.d.ts +1 -0
- package/dist/types/components/Tab/appearance/tabStyle.d.ts +4 -4
- package/dist/types/components/Text/appearance/textSize.d.ts +0 -7
- package/dist/types/components/Tile/Tile.interface.d.ts +1 -0
- package/dist/types/components/Tile/appearance/tileSize.d.ts +30 -30
- package/dist/types/components/{Overlay/appearance/overlayStyle.d.ts → Tile/appearance/tileStyle.d.ts} +2 -2
- package/dist/types/components/Tile/appearance/tileSurface.d.ts +19 -8
- package/dist/types/components/Tooltip/appearance/tooltipDefault.d.ts +10 -0
- package/dist/types/components/Tooltip/appearance/tooltipDisabled.d.ts +2 -13
- package/dist/types/components/Tooltip/appearance/tooltipError.d.ts +4 -5
- package/dist/types/components/Tooltip/appearance/tooltipRequire.d.ts +2 -12
- package/dist/types/components/Tooltip/appearance/tooltipSize.d.ts +6 -47
- package/dist/types/components/Tooltip/appearance/tooltipStyle.d.ts +4 -6
- package/dist/types/components/Tooltip/appearance/tooltipSuccess.d.ts +4 -5
- package/dist/types/components/Video/stories/{mocks/videoSources.d.ts → __mocks__/index.d.ts} +2 -1
- package/dist/types/context/Notifications.d.ts +1 -1
- package/package.json +9 -9
- package/dist/Divider_cjs_DhqcldLH.js +0 -159
- package/dist/Divider_es_BEYLRagS.js +0 -155
- package/dist/Overlay_cjs_BdAm_zrO.js +0 -229
- package/dist/Overlay_es_cI_-_xUO.js +0 -225
- package/dist/css/components/Notification/css/__item/notification__item_set_float.css +0 -15
- package/dist/css/components/Notification/css/__item/notification__item_set_form.css +0 -19
- package/dist/css/components/Notification/css/__item/notification__item_set_toast.css +0 -19
- package/dist/css/components/Notification/css/__item/notification__item_set_top.css +0 -15
- package/dist/css/components/Notification/css/__item/notification__item_type_close-button.css +0 -17
- package/dist/stories/index.stories.js +0 -46
- package/dist/types/components/Avatar/appearance/avatarAccent.d.ts +0 -15
- package/dist/types/components/Avatar/appearance/avatarDanger.d.ts +0 -6
- package/dist/types/components/Avatar/appearance/avatarError.d.ts +0 -9
- package/dist/types/components/Avatar/appearance/avatarInfo.d.ts +0 -13
- package/dist/types/components/Avatar/appearance/avatarPrimary.d.ts +0 -7
- package/dist/types/components/Avatar/appearance/avatarSecondary.d.ts +0 -7
- package/dist/types/components/Avatar/appearance/avatarSuccess.d.ts +0 -7
- package/dist/types/components/Avatar/appearance/avatarWarning.d.ts +0 -9
- package/dist/types/components/Notification/NotificationItem.appearance.d.ts +0 -2
- package/dist/types/components/Notification/NotificationItem.d.ts +0 -4
- package/dist/types/components/Notification/NotificationList.d.ts +0 -3
- package/dist/types/components/Notification/appearance/notificationItemError.d.ts +0 -11
- package/dist/types/components/Notification/appearance/notificationItemSize.d.ts +0 -59
- package/dist/types/components/Notification/appearance/notificationItemStyle.d.ts +0 -16
- package/dist/types/components/Notification/appearance/notificationItemSuccess.d.ts +0 -11
- package/dist/types/components/Notification/appearance/notificationItemWarning.d.ts +0 -11
- package/dist/types/components/Overlay/appearance/overlayAccent.d.ts +0 -21
- package/dist/types/components/Overlay/appearance/overlayDanger.d.ts +0 -7
- package/dist/types/components/Overlay/appearance/overlayError.d.ts +0 -11
- package/dist/types/components/Overlay/appearance/overlayInfo.d.ts +0 -21
- package/dist/types/components/Overlay/appearance/overlayPrimary.d.ts +0 -8
- package/dist/types/components/Overlay/appearance/overlaySecondary.d.ts +0 -8
- package/dist/types/components/Overlay/appearance/overlaySize.d.ts +0 -59
- package/dist/types/components/Overlay/appearance/overlaySuccess.d.ts +0 -11
- package/dist/types/components/Overlay/appearance/overlaySurface.d.ts +0 -25
- package/dist/types/components/Overlay/appearance/overlayWarning.d.ts +0 -11
- package/dist/types/components/Search/appearance/searchSurface.d.ts +0 -18
- package/dist/types/components/Switch/appearance/switchAccent.d.ts +0 -20
- package/dist/types/components/Switch/appearance/switchDanger.d.ts +0 -7
- package/dist/types/components/Switch/appearance/switchInfo.d.ts +0 -21
- package/dist/types/components/Switch/appearance/switchPrimary.d.ts +0 -8
- package/dist/types/components/Switch/appearance/switchSecondary.d.ts +0 -8
- package/dist/types/components/Switch/appearance/switchSurface.d.ts +0 -25
- package/dist/types/components/Switch/appearance/switchWarning.d.ts +0 -11
- package/dist/types/components/Tooltip/appearance/tooltipAccent.d.ts +0 -20
- package/dist/types/components/Tooltip/appearance/tooltipDanger.d.ts +0 -7
- package/dist/types/components/Tooltip/appearance/tooltipInfo.d.ts +0 -21
- package/dist/types/components/Tooltip/appearance/tooltipPrimary.d.ts +0 -8
- package/dist/types/components/Tooltip/appearance/tooltipSecondary.d.ts +0 -8
- package/dist/types/components/Tooltip/appearance/tooltipSurface.d.ts +0 -25
- package/dist/types/components/Tooltip/appearance/tooltipWarning.d.ts +0 -11
- /package/dist/stories/{Playgroynd.mdx → DadataHintFieldPlaygroynd.mdx} +0 -0
- /package/dist/stories/{AlignContent.mdx → FlexAlignContent.mdx} +0 -0
- /package/dist/stories/{Grow.mdx → FlexGrow.mdx} +0 -0
- /package/dist/stories/{Order.mdx → FlexOrder.mdx} +0 -0
- /package/dist/stories/{AlignItems.mdx → GroupAlignItems.mdx} +0 -0
- /package/dist/stories/{AlignSelf.mdx → GroupAlignSelf.mdx} +0 -0
- /package/dist/stories/{Columns.mdx → GroupColumns.mdx} +0 -0
- /package/dist/stories/{Direction.mdx → GroupDirection.mdx} +0 -0
- /package/dist/stories/{JustifyContent.mdx → GroupJustifyContent.mdx} +0 -0
- /package/dist/stories/{Wrap.mdx → GroupWrap.mdx} +0 -0
|
@@ -1,12 +1,11 @@
|
|
|
1
|
+
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
1
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
3
|
import { useRef, useMemo, useCallback, useEffect } from 'react';
|
|
3
4
|
import clsx from 'clsx';
|
|
4
5
|
import Cookies from 'js-cookie';
|
|
5
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
|
-
import { B as Button } from '../
|
|
7
|
-
import {
|
|
8
|
-
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
9
|
-
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
7
|
+
import { B as Button } from '../Button_es_CO_dwo-N.js';
|
|
8
|
+
import { T as Text } from '../Text_es_BfLRfj-5.js';
|
|
10
9
|
import 'lodash/camelCase';
|
|
11
10
|
import 'lodash/castArray';
|
|
12
11
|
import 'lodash/upperFirst';
|
|
@@ -17,16 +16,36 @@ import '../context/UIContext.js';
|
|
|
17
16
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
18
17
|
import 'react-responsive';
|
|
19
18
|
import '../utils/setViewportProperty.js';
|
|
20
|
-
import '../
|
|
19
|
+
import '../Tooltip_es_frBCZDrO.js';
|
|
21
20
|
import '../hooks/useStyles/useStyles.js';
|
|
22
21
|
import 'lodash/maxBy';
|
|
23
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
24
23
|
import 'react-inlinesvg';
|
|
25
24
|
import '../Link_es_DxtZLeKY.js';
|
|
26
|
-
import '../
|
|
25
|
+
import '../Loader_es_B2auu_rc.js';
|
|
27
26
|
|
|
27
|
+
var cookiesWarningAppearanceDefault = {
|
|
28
|
+
defaultPrimary: {
|
|
29
|
+
fill: 'accentPrimary',
|
|
30
|
+
fillHover: 'accentHover',
|
|
31
|
+
messageTextSize: 's',
|
|
32
|
+
messageTextColor: 'surfaceTextPrimary',
|
|
33
|
+
buttonAppearance: 'accentPrimary sizeXL',
|
|
34
|
+
buttonWidth: 'fill',
|
|
35
|
+
elevation: 8,
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
var cookiesWarningAppearance = __assign({}, cookiesWarningAppearanceDefault);
|
|
40
|
+
|
|
41
|
+
var cookiesWarningConfig = {
|
|
42
|
+
appearance: cookiesWarningAppearance,
|
|
43
|
+
setAppearance: function (appearanceConfig) {
|
|
44
|
+
cookiesWarningConfig.appearance = appearanceConfig;
|
|
45
|
+
},
|
|
46
|
+
};
|
|
28
47
|
function CookiesWarning(props) {
|
|
29
|
-
var className = props.className, message = props.message, _a = props.isHideOnScroll, isHideOnScroll = _a === void 0 ? false : _a;
|
|
48
|
+
var className = props.className, appearance = props.appearance, message = props.message, _a = props.isHideOnScroll, isHideOnScroll = _a === void 0 ? false : _a;
|
|
30
49
|
var cookiesWarningRef = useRef(null);
|
|
31
50
|
var isOpen = useMemo(function () { return Cookies.get('cookies-warning') !== 'close'; }, []);
|
|
32
51
|
var closeCookiesWarning = useCallback(function () {
|
|
@@ -48,15 +67,13 @@ function CookiesWarning(props) {
|
|
|
48
67
|
window.removeEventListener('scroll', closeCookiesWarning, true);
|
|
49
68
|
}
|
|
50
69
|
}, [isOpen]);
|
|
51
|
-
var
|
|
52
|
-
|
|
53
|
-
|
|
70
|
+
var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
|
|
71
|
+
var _a;
|
|
72
|
+
return (__assign(__assign({}, resultConfig), (_a = cookiesWarningConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
|
|
73
|
+
}, {});
|
|
74
|
+
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
75
|
+
var fillClass = propsGenerator.fillClass, messageTextSize = propsGenerator.messageTextSize, messageTextColor = propsGenerator.messageTextColor, buttonAppearance = propsGenerator.buttonAppearance, buttonFill = propsGenerator.buttonFill, buttonFillHover = propsGenerator.buttonFillHover, buttonLabel = propsGenerator.buttonLabel, buttonLabelSize = propsGenerator.buttonLabelSize, buttonLabelTextColor = propsGenerator.buttonLabelTextColor, buttonShape = propsGenerator.buttonShape, buttonSize = propsGenerator.buttonSize, elevationClass = propsGenerator.elevationClass, buttonWidth = propsGenerator.buttonWidth;
|
|
76
|
+
return (isOpen && (jsx("div", { className: clsx('cookies-warning', className, fillClass && "fill_".concat(fillClass), elevationClass && "elevation_".concat(elevationClass)), ref: cookiesWarningRef, children: jsxs("div", { className: "cookies-warning__inner", children: [jsx(Text, { size: messageTextSize, textColor: messageTextColor, children: message }), jsx(Button, { appearance: buttonAppearance, width: buttonWidth, size: buttonSize, fill: buttonFill, fillHover: buttonFillHover, labelTextColor: buttonLabelTextColor, labelTextSize: buttonLabelSize, shape: buttonShape, onClick: closeCookiesWarning, children: buttonLabel })] }) })));
|
|
54
77
|
}
|
|
55
78
|
|
|
56
|
-
|
|
57
|
-
dev: {
|
|
58
|
-
fill: 'accentPrimary',
|
|
59
|
-
},
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
export { CookiesWarning, cookiesWarningAppearance };
|
|
79
|
+
export { CookiesWarning, cookiesWarningAppearance, cookiesWarningConfig };
|
|
@@ -4,9 +4,9 @@ import { useCallback } from 'react';
|
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { DateTime } from 'luxon';
|
|
6
6
|
import { DATE_PERIOD_INTERVALS } from '@itcase/common';
|
|
7
|
-
import { D as DatePickerInput } from '../
|
|
7
|
+
import { D as DatePickerInput } from '../DatePicker_es_BCbmUdl0.js';
|
|
8
8
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
9
|
-
import { b as ChipsGroup, C as Chips } from '../
|
|
9
|
+
import { b as ChipsGroup, C as Chips } from '../ChipsGroup_es_D9aK8Roh.js';
|
|
10
10
|
import 'date-fns/locale';
|
|
11
11
|
import 'react-datepicker';
|
|
12
12
|
import '../hooks/useStyles/useStyles.js';
|
|
@@ -20,18 +20,54 @@ import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
|
20
20
|
import 'react-responsive';
|
|
21
21
|
import '../utils/setViewportProperty.js';
|
|
22
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
|
-
import '../
|
|
24
|
-
import '../
|
|
25
|
-
import '../
|
|
23
|
+
import '../Button_es_CO_dwo-N.js';
|
|
24
|
+
import '../Tooltip_es_frBCZDrO.js';
|
|
25
|
+
import '../Text_es_BfLRfj-5.js';
|
|
26
26
|
import 'react-inlinesvg';
|
|
27
27
|
import '../Link_es_DxtZLeKY.js';
|
|
28
|
-
import '../
|
|
28
|
+
import '../Loader_es_B2auu_rc.js';
|
|
29
29
|
import '../Input_es_CNduH28G.js';
|
|
30
|
-
import '../
|
|
30
|
+
import '../Label_es_Dl_DrMOh.js';
|
|
31
31
|
import '@itcase/icons/default';
|
|
32
32
|
import 'lodash/castArray';
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var datePeriodAppearanceSize = {
|
|
35
|
+
sizeL: {
|
|
36
|
+
size: 'm',
|
|
37
|
+
chipsAppearanceSize: 'sizeL',
|
|
38
|
+
datePickerAppearanceSize: 'sizeM',
|
|
39
|
+
datePickerInputSize: 'l',
|
|
40
|
+
datePickerInputTextSize: 'm',
|
|
41
|
+
},
|
|
42
|
+
sizeM: {
|
|
43
|
+
size: 'm',
|
|
44
|
+
chipsAppearanceSize: 'sizeL',
|
|
45
|
+
datePickerAppearanceSize: 'sizeM',
|
|
46
|
+
datePickerInputSize: 'm',
|
|
47
|
+
datePickerInputTextSize: 'm',
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
var datePeriodAppearanceSurface = {
|
|
52
|
+
surfacePrimary: {
|
|
53
|
+
fill: 'surfacePrimary',
|
|
54
|
+
chipsAppearance: 'surfacePrimary ghost',
|
|
55
|
+
chipsShape: 'rounded',
|
|
56
|
+
datePickerAppearance: 'surfacePrimary',
|
|
57
|
+
datePickerInputAppearance: 'defaultPrimary',
|
|
58
|
+
shape: 'rounded',
|
|
59
|
+
},
|
|
60
|
+
surfaceSecondary: {
|
|
61
|
+
fill: 'surfaceSecondary',
|
|
62
|
+
chipsAppearance: 'surfacePrimary ghost',
|
|
63
|
+
chipsShape: 'rounded',
|
|
64
|
+
datePickerAppearance: 'surfacePrimary',
|
|
65
|
+
datePickerInputAppearance: 'defaultPrimary',
|
|
66
|
+
shape: 'rounded',
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
var datePeriodAppearance = __assign(__assign({}, datePeriodAppearanceSurface), datePeriodAppearanceSize);
|
|
35
71
|
|
|
36
72
|
var datePeriodConfig = {
|
|
37
73
|
appearance: datePeriodAppearance,
|
|
@@ -46,7 +82,7 @@ function DatePeriod(props) {
|
|
|
46
82
|
return (__assign(__assign({}, resultConfig), (_a = datePeriodConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
|
|
47
83
|
}, {});
|
|
48
84
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
49
|
-
var _b = propsGenerator, fillClass = _b.fillClass,
|
|
85
|
+
var _b = propsGenerator, fillClass = _b.fillClass, chipsAppearance = _b.chipsAppearance, chipsAppearanceSize = _b.chipsAppearanceSize, chipsShape = _b.chipsShape, datePickerAppearance = _b.datePickerAppearance, datePickerAppearanceSize = _b.datePickerAppearanceSize, datePickerInputAppearance = _b.datePickerInputAppearance, datePickerInputFillHover = _b.datePickerInputFillHover, datePickerInputSize = _b.datePickerInputSize, datePickerInputTextSize = _b.datePickerInputTextSize, shapeClass = _b.shapeClass, sizeClass = _b.sizeClass;
|
|
50
86
|
var onClickPeriodChips = useCallback(function (selectedPeriodItem) {
|
|
51
87
|
var dateStartIso = selectedPeriodItem.dateIntervalsList[0];
|
|
52
88
|
var dateEndIso = selectedPeriodItem.dateIntervalsList[1];
|
|
@@ -69,8 +105,9 @@ function DatePeriod(props) {
|
|
|
69
105
|
return (dateStartIso === datePeriodValueStart &&
|
|
70
106
|
dateEndIso === datePeriodValueEnd);
|
|
71
107
|
}, [datePeriodValueEnd, datePeriodValueStart]);
|
|
72
|
-
return (jsx("div", { className: clsx(className, 'date-period', shapeClass && "date-period_shape_".concat(shapeClass), sizeClass && "date-period_size_".concat(sizeClass), isSkeleton && "date-period_skeleton", fillClass && "fill_".concat(fillClass), 'cursor_type_pointer'), children: jsxs(ChipsGroup, { direction: "horizontal", children: [datePeriodIntervalsList.map(function (datePeriodItem) { return (jsx(Chips, { appearance: chipsAppearance, label: datePeriodItem.label, shape: chipsShape, isActive: checkIsChipsActive(datePeriodItem), onClick: function () { return onClickPeriodChips(datePeriodItem); } }, datePeriodItem.value)); }), jsx(DatePickerInput, { datePickerProps: {
|
|
73
|
-
appearance: datePickerAppearance,
|
|
108
|
+
return (jsx("div", { className: clsx(className, 'date-period', shapeClass && "date-period_shape_".concat(shapeClass), sizeClass && "date-period_size_".concat(sizeClass), isSkeleton && "date-period_skeleton", fillClass && "fill_".concat(fillClass), 'cursor_type_pointer'), children: jsxs(ChipsGroup, { direction: "horizontal", children: [datePeriodIntervalsList.map(function (datePeriodItem) { return (jsx(Chips, { appearance: "".concat(chipsAppearance, " ").concat(chipsAppearanceSize), label: datePeriodItem.label, shape: chipsShape, isActive: checkIsChipsActive(datePeriodItem), onClick: function () { return onClickPeriodChips(datePeriodItem); } }, datePeriodItem.value)); }), jsx(DatePickerInput, { datePickerProps: {
|
|
109
|
+
appearance: "".concat(datePickerAppearance, " ").concat(datePickerAppearanceSize),
|
|
110
|
+
dateFormat: 'dd/MM/yyyy',
|
|
74
111
|
selectsRange: true,
|
|
75
112
|
showWeekNumbers: true,
|
|
76
113
|
isClearable: false,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DatePickerInput, a as datePickerAppearance, d as datePickerConfig } from '../
|
|
1
|
+
export { D as DatePickerInput, a as datePickerAppearance, d as datePickerConfig } from '../DatePicker_es_BCbmUdl0.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -19,12 +19,12 @@ import '../utils/setViewportProperty.js';
|
|
|
19
19
|
import '../hooks/useStyles/useStyles.js';
|
|
20
20
|
import 'lodash/maxBy';
|
|
21
21
|
import '../hooks/useStyles/styleAttributes.js';
|
|
22
|
-
import '../
|
|
23
|
-
import '../
|
|
24
|
-
import '../
|
|
22
|
+
import '../Button_es_CO_dwo-N.js';
|
|
23
|
+
import '../Tooltip_es_frBCZDrO.js';
|
|
24
|
+
import '../Text_es_BfLRfj-5.js';
|
|
25
25
|
import 'react-inlinesvg';
|
|
26
26
|
import '../Link_es_DxtZLeKY.js';
|
|
27
|
-
import '../
|
|
27
|
+
import '../Loader_es_B2auu_rc.js';
|
|
28
28
|
import '../Input_es_CNduH28G.js';
|
|
29
|
-
import '../
|
|
29
|
+
import '../Label_es_Dl_DrMOh.js';
|
|
30
30
|
import '@itcase/icons/default';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as Divider, a as dividerAppearance, d as dividerConfig } from '../
|
|
1
|
+
export { D as Divider, a as dividerAppearance, d as dividerConfig } from '../Divider_es_kY-30pft.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'clsx';
|
|
@@ -1,14 +1,39 @@
|
|
|
1
|
+
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
1
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
3
|
import { useRef, useEffect } from 'react';
|
|
3
4
|
import clsx from 'clsx';
|
|
4
5
|
import ReactDrawer from 'react-modern-drawer';
|
|
5
|
-
import {
|
|
6
|
+
import { I as Icon, b as Title } from '../Tooltip_es_frBCZDrO.js';
|
|
7
|
+
import { T as Text } from '../Text_es_BfLRfj-5.js';
|
|
8
|
+
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
9
|
+
import { icon24 } from '@itcase/icons/default';
|
|
10
|
+
import '../hooks/useStyles/useStyles.js';
|
|
11
|
+
import 'lodash/camelCase';
|
|
12
|
+
import 'lodash/maxBy';
|
|
13
|
+
import 'lodash/upperFirst';
|
|
14
|
+
import '../context/Notifications.js';
|
|
15
|
+
import 'uuid';
|
|
16
|
+
import '@itcase/common';
|
|
17
|
+
import '../context/UIContext.js';
|
|
18
|
+
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
19
|
+
import 'react-responsive';
|
|
20
|
+
import '../utils/setViewportProperty.js';
|
|
21
|
+
import '../hooks/useStyles/styleAttributes.js';
|
|
22
|
+
import 'react-inlinesvg';
|
|
23
|
+
import '../Link_es_DxtZLeKY.js';
|
|
24
|
+
import 'lodash/castArray';
|
|
6
25
|
|
|
7
26
|
var drawerAppearanceSurface = {
|
|
8
27
|
surfacePrimary: {
|
|
9
28
|
fill: 'surfacePrimary',
|
|
10
29
|
fillHover: 'surfacePrimaryHover',
|
|
11
|
-
|
|
30
|
+
titleTextColor: 'surfaceTextPrimary',
|
|
31
|
+
titleTextSize: 'h3',
|
|
32
|
+
descTextColor: 'surfaceTextPrimary',
|
|
33
|
+
descTextSize: 's',
|
|
34
|
+
iconSize: 24,
|
|
35
|
+
closeIcon: icon24.Close,
|
|
36
|
+
closeIconFillIcon: 'surfaceItemPrimary',
|
|
12
37
|
},
|
|
13
38
|
surfaceQuaternary: {
|
|
14
39
|
fill: 'surfaceQuaternary',
|
|
@@ -38,8 +63,14 @@ var drawerConfig = {
|
|
|
38
63
|
},
|
|
39
64
|
};
|
|
40
65
|
function Drawer(props) {
|
|
41
|
-
var className = props.className, type = props.type,
|
|
66
|
+
var className = props.className, type = props.type, close = props.close, appearance = props.appearance, dataTestId = props.dataTestId, dataTour = props.dataTour, title = props.title, desc = props.desc, enableOverlay = props.enableOverlay, before = props.before, after = props.after, isOpenModal = props.isOpenModal, onClickClose = props.onClickClose, onClose = props.onClose, children = props.children;
|
|
42
67
|
var prevIsOpenModalRef = useRef(null);
|
|
68
|
+
var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
|
|
69
|
+
var _a;
|
|
70
|
+
return (__assign(__assign({}, resultConfig), (_a = drawerConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
|
|
71
|
+
}, {});
|
|
72
|
+
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
73
|
+
var direction = propsGenerator.direction, size = propsGenerator.size, titleTextSize = propsGenerator.titleTextSize, titleTextColor = propsGenerator.titleTextColor, closeIcon = propsGenerator.closeIcon, closeIconSrc = propsGenerator.closeIconSrc, closeIconFill = propsGenerator.closeIconFill, closeIconFillSize = propsGenerator.closeIconFillSize, closeIconFillIcon = propsGenerator.closeIconFillIcon, closeIconSize = propsGenerator.closeIconSize, closeIconShape = propsGenerator.closeIconShape, descTextSize = propsGenerator.descTextSize, descTextColor = propsGenerator.descTextColor;
|
|
43
74
|
useEffect(function () {
|
|
44
75
|
if (onClose && prevIsOpenModalRef.current === true && !isOpenModal) {
|
|
45
76
|
onClose();
|
|
@@ -48,9 +79,7 @@ function Drawer(props) {
|
|
|
48
79
|
}, [isOpenModal, onClose]);
|
|
49
80
|
return (jsxs(ReactDrawer, { className: clsx('drawer', type && "drawer_type_".concat(type), className, dataTour && "data-tour-".concat(dataTour)), direction: direction || 'right', size: size || 600,
|
|
50
81
|
// Drawer set prefix "EZDrawer" for any id
|
|
51
|
-
customIdSuffix: dataTestId ? "_".concat(dataTestId) : undefined, "data-tour": dataTour, enableOverlay: enableOverlay, lockBackgroundScroll: false, overlayClassName: "drawer__overlay",
|
|
52
|
-
// @ts-expect-error
|
|
53
|
-
open: isOpenModal, onClose: onClickClose, children: [before && jsx("div", { className: "drawer__before", children: before }), children && jsx("div", { className: "drawer__wrapper", children: children }), after && jsx("div", { className: "drawer__after", children: after })] }));
|
|
82
|
+
customIdSuffix: dataTestId ? "_".concat(dataTestId) : undefined, "data-tour": dataTour, enableOverlay: enableOverlay, lockBackgroundScroll: false, overlayClassName: "drawer__overlay", open: isOpenModal, onClose: onClickClose, children: [before && jsx("div", { className: "drawer__before", children: before }), !close && (closeIcon || closeIconSrc) && (jsx("div", { className: "drawer__close", children: jsx(Icon, { className: "cursor_type_pointer", fill: closeIconFill, fillSize: closeIconFillSize, iconFill: closeIconFillIcon, iconSize: closeIconSize, imageSrc: closeIconSrc, shape: closeIconShape, SvgImage: closeIcon }) })), (title || desc) && (jsxs("div", { className: "drawer__header", children: [jsx(Title, { className: "drawer__header-title", size: titleTextSize, textColor: titleTextColor, children: title }), jsx(Text, { className: "drawer__header-desc", size: descTextSize, textColor: descTextColor, children: desc })] })), children && jsx("div", { className: "drawer__wrapper", children: children }), after && jsx("div", { className: "drawer__after", children: after })] }));
|
|
54
83
|
}
|
|
55
84
|
|
|
56
85
|
export { Drawer, drawerAppearance, drawerConfig };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { icon24 } from '@itcase/icons/default';
|
|
2
|
+
|
|
3
|
+
var dropdownListMock = {
|
|
4
|
+
dropdownList: [
|
|
5
|
+
{ key: 1, label: 'Item 1', isActive: true },
|
|
6
|
+
{ key: 2, label: 'Item 2', isActive: false },
|
|
7
|
+
{ key: 3, label: 'Item 3', badgeValue: 3, isActive: false },
|
|
8
|
+
{
|
|
9
|
+
key: 4,
|
|
10
|
+
label: 'Item 4',
|
|
11
|
+
iconBefore: icon24.Placeholder,
|
|
12
|
+
isActive: false,
|
|
13
|
+
},
|
|
14
|
+
{ key: 5, label: 'Item 5', iconAfter: icon24.Placeholder, isActive: false },
|
|
15
|
+
{ key: 6, label: 'Item 6', iconBefore: icon24.Check, isActive: false },
|
|
16
|
+
{ key: 7, label: 'Item 7', iconAfter: icon24.Check, isActive: false },
|
|
17
|
+
{ key: 8, label: 'Item 8', showDivider: true, isActive: false },
|
|
18
|
+
{ key: 9, label: 'Item 9', isActive: false },
|
|
19
|
+
],
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export { dropdownListMock };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../
|
|
1
|
+
export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../DropdownItem_es_CVztMEm0.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -17,8 +17,8 @@ import '../utils/setViewportProperty.js';
|
|
|
17
17
|
import '../hooks/useStyles/useStyles.js';
|
|
18
18
|
import 'lodash/maxBy';
|
|
19
19
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
|
-
import '../
|
|
21
|
-
import '../
|
|
22
|
-
import '../
|
|
20
|
+
import '../Divider_es_kY-30pft.js';
|
|
21
|
+
import '../Tooltip_es_frBCZDrO.js';
|
|
22
|
+
import '../Text_es_BfLRfj-5.js';
|
|
23
23
|
import 'react-inlinesvg';
|
|
24
24
|
import '../Link_es_DxtZLeKY.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
|
-
import { jsxs } from 'react/jsx-runtime';
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { useMemo } from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
+
import { I as Icon } from '../Tooltip_es_frBCZDrO.js';
|
|
7
8
|
import 'lodash/camelCase';
|
|
8
9
|
import 'lodash/castArray';
|
|
9
10
|
import 'lodash/upperFirst';
|
|
@@ -16,6 +17,9 @@ import 'react-responsive';
|
|
|
16
17
|
import '../utils/setViewportProperty.js';
|
|
17
18
|
import 'lodash/maxBy';
|
|
18
19
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
|
+
import '../Text_es_BfLRfj-5.js';
|
|
21
|
+
import 'react-inlinesvg';
|
|
22
|
+
import '../Link_es_DxtZLeKY.js';
|
|
19
23
|
|
|
20
24
|
var heroTitleAppearanceSize = {
|
|
21
25
|
sizeH1: {
|
|
@@ -53,15 +57,15 @@ var heroTitleConfig = {
|
|
|
53
57
|
},
|
|
54
58
|
};
|
|
55
59
|
function HeroTitle(props) {
|
|
56
|
-
var className = props.className, appearance = props.appearance, text = props.text, afterWrapper = props.afterWrapper, beforeWrapper = props.beforeWrapper, dataTour = props.dataTour,
|
|
60
|
+
var className = props.className, appearance = props.appearance, text = props.text, afterWrapper = props.afterWrapper, beforeWrapper = props.beforeWrapper, dataTour = props.dataTour, _a = props.tag, tag = _a === void 0 ? 'span' : _a, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onClick = props.onClick, children = props.children;
|
|
57
61
|
var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
|
|
58
62
|
var _a;
|
|
59
63
|
return (__assign(__assign({}, resultConfig), (_a = heroTitleConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
|
|
60
64
|
}, {});
|
|
61
65
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
62
|
-
var directionClass = propsGenerator.directionClass,
|
|
66
|
+
var directionClass = propsGenerator.directionClass, size = propsGenerator.size, fillClass = propsGenerator.fillClass, textAlignClass = propsGenerator.textAlignClass, textColorActiveClass = propsGenerator.textColorActiveClass, textColorClass = propsGenerator.textColorClass, textColorGradientClass = propsGenerator.textColorGradientClass, textColorHoverClass = propsGenerator.textColorHoverClass, textStyleClass = propsGenerator.textStyleClass, textTruncateClass = propsGenerator.textTruncateClass, textWeightClass = propsGenerator.textWeightClass, textWrap = propsGenerator.textWrap, dataTestId = propsGenerator.dataTestId, heightClass = propsGenerator.heightClass, iconAfter = propsGenerator.iconAfter, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconAfterSrc = propsGenerator.iconAfterSrc, iconBadgeAppearance = propsGenerator.iconBadgeAppearance, iconBadgeShape = propsGenerator.iconBadgeShape, iconBadgeSize = propsGenerator.iconBadgeSize, iconBadgeTextColor = propsGenerator.iconBadgeTextColor, iconBadgeTextSize = propsGenerator.iconBadgeTextSize, iconBadgeValue = propsGenerator.iconBadgeValue, iconBefore = propsGenerator.iconBefore, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, iconBeforeSrc = propsGenerator.iconBeforeSrc, svgFillClass = propsGenerator.svgFillClass, svgFillHoverClass = propsGenerator.svgFillHoverClass, typeClass = propsGenerator.typeClass, widthClass = propsGenerator.widthClass, wrapperDirectionClass = propsGenerator.wrapperDirectionClass;
|
|
63
67
|
// @ts-expect-error
|
|
64
|
-
var
|
|
68
|
+
var _b = useStyles(props), heroTitleStyles = _b.styles, heroTitleWrapperStyles = _b.wrapper;
|
|
65
69
|
// Element type (h1, h2, ..., h6)
|
|
66
70
|
var Tag = useMemo(function () {
|
|
67
71
|
if (tag) {
|
|
@@ -69,8 +73,8 @@ function HeroTitle(props) {
|
|
|
69
73
|
}
|
|
70
74
|
return size ? size : 'span';
|
|
71
75
|
}, [size, tag]);
|
|
72
|
-
return (jsxs(Tag, { className: clsx(className, 'heroTitle', fillClass && "fill_".concat(fillClass), svgFillClass && "svg_fill_".concat(svgFillClass), svgFillHoverClass && "svg_fill_hover_".concat(svgFillHoverClass), widthClass && "width_".concat(widthClass), heightClass && "height_".concat(heightClass), size && "hero-title_size_".concat(size),
|
|
73
|
-
"hero-title-direction_".concat(wrapperDirectionClass), 'hero-title__wrapper', textTruncateClass && "text-truncate_".concat(textTruncateClass)), style: heroTitleWrapperStyles, children: [beforeWrapper, children || text, afterWrapper] }), after] }));
|
|
76
|
+
return (jsxs(Tag, { className: clsx(className, 'heroTitle', fillClass && "fill_".concat(fillClass), svgFillClass && "svg_fill_".concat(svgFillClass), svgFillHoverClass && "svg_fill_hover_".concat(svgFillHoverClass), widthClass && "width_".concat(widthClass), heightClass && "height_".concat(heightClass), size && "hero-title_size_".concat(size), directionClass && "hero-title_direction_".concat(directionClass), 'text', textColorClass && "text-color_".concat(textColorClass), textColorActiveClass && "text-color_active_".concat(textColorActiveClass), textColorHoverClass && "text-color_hover_".concat(textColorHoverClass), typeClass && "hero-title_type_".concat(typeClass), textColorGradientClass && "text-gradient_".concat(textColorGradientClass), textStyleClass && "text-style_".concat(textStyleClass), textWeightClass && "text-weight_".concat(textWeightClass), textWrap && "word-wrap_".concat(textWrap), isSkeleton && 'hero-title_skeleton'), "data-testid": dataTestId, "data-tour": dataTour, style: heroTitleStyles, onClick: onClick, children: [before, jsxs("span", { className: clsx(textAlignClass && "text-align_".concat(textAlignClass), wrapperDirectionClass &&
|
|
77
|
+
"hero-title-direction_".concat(wrapperDirectionClass), 'hero-title__wrapper', textTruncateClass && "text-truncate_".concat(textTruncateClass)), style: heroTitleWrapperStyles, children: [(iconBefore || iconBeforeSrc) && (jsx(Icon, { className: clsx('title__icon_before', iconBadgeValue && 'title__icon_before-badge'), fill: iconBeforeFill, fillSize: iconBeforeFillSize, badgeAppearance: iconBadgeAppearance, badgeClass: 'title__icon_before_badge', badgeShape: iconBadgeShape, badgeSize: iconBadgeSize, badgeTextColor: iconBadgeTextColor, badgeTextSize: iconBadgeTextSize, badgeValue: iconBadgeValue, iconFill: iconBeforeFillIcon, iconSize: iconBeforeSize, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore })), beforeWrapper, children || text, afterWrapper, (iconAfter || iconAfterSrc) && (jsx(Icon, { className: clsx('title__icon_after', iconBadgeValue && 'title__icon_after-badge'), fill: iconAfterFill, fillSize: iconAfterFillSize, badgeAppearance: iconBadgeAppearance, badgeClass: 'title__icon_after_badge', badgeShape: iconBadgeShape, badgeSize: iconBadgeSize, badgeTextColor: iconBadgeTextColor, badgeTextSize: iconBadgeTextSize, badgeValue: iconBadgeValue, iconFill: iconAfterFillIcon, iconSize: iconAfterSize, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter }))] }), after] }));
|
|
74
78
|
}
|
|
75
79
|
|
|
76
80
|
export { HeroTitle, heroTitleAppearance, heroTitleConfig };
|
package/dist/components/Icon.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as Icon, e as iconAppearance, i as iconConfig } from '../
|
|
1
|
+
export { I as Icon, e as iconAppearance, i as iconConfig } from '../Tooltip_es_frBCZDrO.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -17,6 +17,6 @@ import '../utils/setViewportProperty.js';
|
|
|
17
17
|
import '../hooks/useStyles/useStyles.js';
|
|
18
18
|
import 'lodash/maxBy';
|
|
19
19
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
|
-
import '../
|
|
20
|
+
import '../Text_es_BfLRfj-5.js';
|
|
21
21
|
import 'react-inlinesvg';
|
|
22
22
|
import '../Link_es_DxtZLeKY.js';
|
|
@@ -3,7 +3,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { useState, useMemo, useCallback } from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
|
-
import { I as Icon } from '../
|
|
6
|
+
import { I as Icon } from '../Tooltip_es_frBCZDrO.js';
|
|
7
7
|
import 'lodash/camelCase';
|
|
8
8
|
import 'lodash/castArray';
|
|
9
9
|
import 'lodash/upperFirst';
|
|
@@ -17,7 +17,7 @@ import '../utils/setViewportProperty.js';
|
|
|
17
17
|
import '../hooks/useStyles/useStyles.js';
|
|
18
18
|
import 'lodash/maxBy';
|
|
19
19
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
|
-
import '../
|
|
20
|
+
import '../Text_es_BfLRfj-5.js';
|
|
21
21
|
import 'react-inlinesvg';
|
|
22
22
|
import '../Link_es_DxtZLeKY.js';
|
|
23
23
|
|
package/dist/components/Label.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { L as Label, a as labelAppearance, l as labelConfig } from '../
|
|
1
|
+
export { L as Label, a as labelAppearance, l as labelConfig } from '../Label_es_Dl_DrMOh.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -17,7 +17,7 @@ import '../utils/setViewportProperty.js';
|
|
|
17
17
|
import '../hooks/useStyles/useStyles.js';
|
|
18
18
|
import 'lodash/maxBy';
|
|
19
19
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
|
-
import '../
|
|
21
|
-
import '../
|
|
20
|
+
import '../Tooltip_es_frBCZDrO.js';
|
|
21
|
+
import '../Text_es_BfLRfj-5.js';
|
|
22
22
|
import 'react-inlinesvg';
|
|
23
23
|
import '../Link_es_DxtZLeKY.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { L as Loader, a as loaderAppearance, l as loaderConfig } from '../
|
|
1
|
+
export { L as Loader, a as loaderAppearance, l as loaderConfig } from '../Loader_es_B2auu_rc.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'clsx';
|
|
@@ -17,4 +17,4 @@ import '../utils/setViewportProperty.js';
|
|
|
17
17
|
import '../hooks/useStyles/useStyles.js';
|
|
18
18
|
import 'lodash/maxBy';
|
|
19
19
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
|
-
import '../
|
|
20
|
+
import '../Text_es_BfLRfj-5.js';
|
|
@@ -4,9 +4,9 @@ import React from 'react';
|
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { I as Icon } from '../
|
|
7
|
+
import { I as Icon } from '../Tooltip_es_frBCZDrO.js';
|
|
8
8
|
import { L as Link } from '../Link_es_DxtZLeKY.js';
|
|
9
|
-
import { T as Text } from '../
|
|
9
|
+
import { T as Text } from '../Text_es_BfLRfj-5.js';
|
|
10
10
|
import 'lodash/camelCase';
|
|
11
11
|
import 'lodash/castArray';
|
|
12
12
|
import 'lodash/upperFirst';
|
|
@@ -122,18 +122,18 @@ var menuItemAppearanceSize = {
|
|
|
122
122
|
};
|
|
123
123
|
|
|
124
124
|
var menuItemAppearanceStyle = {
|
|
125
|
-
|
|
126
|
-
borderColor: '
|
|
127
|
-
},
|
|
128
|
-
ghost: {
|
|
129
|
-
fill: 'none',
|
|
130
|
-
borderColor: '0',
|
|
125
|
+
solid: {
|
|
126
|
+
borderColor: 'none',
|
|
131
127
|
},
|
|
132
128
|
outlined: {
|
|
133
129
|
fill: 'none',
|
|
134
130
|
},
|
|
135
|
-
|
|
136
|
-
borderColor: '
|
|
131
|
+
full: {
|
|
132
|
+
borderColor: 'none',
|
|
133
|
+
},
|
|
134
|
+
ghost: {
|
|
135
|
+
fill: 'none',
|
|
136
|
+
borderColor: 'none',
|
|
137
137
|
},
|
|
138
138
|
};
|
|
139
139
|
|
package/dist/components/Modal.js
CHANGED
|
@@ -5,9 +5,9 @@ import clsx from 'clsx';
|
|
|
5
5
|
import ReactDOM from 'react-dom';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
|
-
import { O as Overlay } from '../
|
|
9
|
-
import { b as Title } from '../
|
|
10
|
-
import { L as Loader } from '../
|
|
8
|
+
import { O as Overlay } from '../Overlay_es_DczPjVL9.js';
|
|
9
|
+
import { b as Title } from '../Tooltip_es_frBCZDrO.js';
|
|
10
|
+
import { L as Loader } from '../Loader_es_B2auu_rc.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
12
12
|
import 'lodash/castArray';
|
|
13
13
|
import 'lodash/upperFirst';
|
|
@@ -20,7 +20,7 @@ import 'react-responsive';
|
|
|
20
20
|
import '../utils/setViewportProperty.js';
|
|
21
21
|
import 'lodash/maxBy';
|
|
22
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
|
-
import '../
|
|
23
|
+
import '../Text_es_BfLRfj-5.js';
|
|
24
24
|
import 'react-inlinesvg';
|
|
25
25
|
import '../Link_es_DxtZLeKY.js';
|
|
26
26
|
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
var notificationsMock = [
|
|
2
|
+
{
|
|
3
|
+
key: 1,
|
|
4
|
+
title: 'Text 123',
|
|
5
|
+
desc: 'Text 123',
|
|
6
|
+
status: 'error',
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
key: 2,
|
|
10
|
+
title: 'Text 123',
|
|
11
|
+
desc: 'Text 123',
|
|
12
|
+
status: 'warning',
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
key: 3,
|
|
16
|
+
title: 'Text 123',
|
|
17
|
+
desc: 'Text 123',
|
|
18
|
+
status: 'info',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
key: 4,
|
|
22
|
+
title: 'Text 123',
|
|
23
|
+
desc: 'Text 123',
|
|
24
|
+
status: 'success',
|
|
25
|
+
},
|
|
26
|
+
];
|
|
27
|
+
|
|
28
|
+
export { notificationsMock };
|