@itcase/ui 1.8.27 → 1.8.29
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_Cm_pVx8z.js} +12 -7
- package/dist/{ChipsGroup_es_BNuhlSG6.js → ChipsGroup_es_CLpRB95W.js} +12 -7
- package/dist/{DatePicker_cjs_DamcZFbX.js → DatePicker_cjs_0y_2FcnF.js} +15 -23
- package/dist/{DatePicker_es_Bm_onmmb.js → DatePicker_es_bY1aXemt.js} +15 -23
- 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 +43 -73
- 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 +46 -9
- 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 +44 -73
- 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 +46 -9
- 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 +39 -14
- package/dist/css/components/Avatar/Avatar.css +44 -16
- package/dist/css/components/AvatarStack/AvatarStack.css +38 -3
- 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 +20 -35
- package/dist/types/components/Accordion/appearance/accordionStyle.d.ts +4 -6
- package/dist/types/components/Accordion/appearance/accordionSurface.d.ts +6 -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 +15 -0
- package/dist/types/components/DatePeriod/appearance/datePeriodSurface.d.ts +21 -0
- package/dist/types/components/DatePicker/DatePicker.appearance.d.ts +7 -13
- 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/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
package/dist/components/Video.js
CHANGED
|
@@ -16,16 +16,9 @@ import '../utils/setViewportProperty.js';
|
|
|
16
16
|
import '../hooks/useStyles/styleAttributes.js';
|
|
17
17
|
|
|
18
18
|
function Video(props) {
|
|
19
|
-
var id = props.id, className = props.className,
|
|
20
|
-
// @ts-expect-error
|
|
19
|
+
var id = props.id, className = props.className, position = props.position, mp4 = props.mp4, ogv = props.ogv, poster = props.poster, webm = props.webm, children = props.children;
|
|
21
20
|
var videoStyles = useStyles(props).styles;
|
|
22
|
-
return (jsxs("div", { id: id, className: clsx('video', className,
|
|
23
|
-
// @ts-expect-error
|
|
24
|
-
codecs: "vp8, vorbis" })), ogv && (jsx("source", { type: "video/ogg", src: ogv,
|
|
25
|
-
// @ts-expect-error
|
|
26
|
-
codecs: "theora, vorbis" })), mp4 && (jsx("source", { type: "video/mp4", src: mp4,
|
|
27
|
-
// @ts-expect-error
|
|
28
|
-
codecs: "avc1.42E01E, mp4a.40.2" }))] }), children] }));
|
|
21
|
+
return (jsxs("div", { id: id, className: clsx('video', className, poster && "video_poster", position && "video_position_".concat(position)), style: videoStyles, children: [jsxs("video", { className: "video__wrapper", autoPlay: true, loop: true, muted: true, playsInline: false, poster: poster, children: [webm && jsx("source", { type: "video/webm", src: webm, codecs: "vp8, vorbis" }), ogv && jsx("source", { type: "video/ogg", src: ogv, codecs: "theora, vorbis" }), mp4 && (jsx("source", { type: "video/mp4", src: mp4, codecs: "avc1.42E01E, mp4a.40.2" }))] }), children] }));
|
|
29
22
|
}
|
|
30
23
|
|
|
31
24
|
export { Video };
|
|
@@ -7,9 +7,9 @@ import { axiosInstanceITCase } from '@itcase/common';
|
|
|
7
7
|
|
|
8
8
|
var STATUSES = {
|
|
9
9
|
error: 'error',
|
|
10
|
+
warning: 'warning',
|
|
10
11
|
info: 'info',
|
|
11
12
|
success: 'success',
|
|
12
|
-
warning: 'warning',
|
|
13
13
|
};
|
|
14
14
|
var NotificationsContext = createContext([]);
|
|
15
15
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
@@ -125,6 +125,7 @@ function createNotification(notification, onClose) {
|
|
|
125
125
|
var title = '';
|
|
126
126
|
var text = '';
|
|
127
127
|
var status = STATUSES.warning;
|
|
128
|
+
// let appearance = STATUSES.appearance
|
|
128
129
|
var closeByTime = 4500;
|
|
129
130
|
var textColor = '';
|
|
130
131
|
if (typeof notification === 'string') {
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
.accordion {
|
|
2
|
-
|
|
3
|
-
&__wrapper {
|
|
4
|
-
width: 100%;
|
|
5
|
-
max-width: var(--max);
|
|
6
|
-
margin: 0 auto;
|
|
7
|
-
}
|
|
2
|
+
width: 100%;
|
|
8
3
|
}
|
|
9
4
|
.accordion {
|
|
10
5
|
&_direction {
|
|
@@ -48,12 +43,16 @@
|
|
|
48
43
|
}
|
|
49
44
|
}
|
|
50
45
|
.accordion-item {
|
|
46
|
+
width: 100%;
|
|
51
47
|
display: flex;
|
|
52
48
|
flex-flow: row wrap;
|
|
53
49
|
align-items: center;
|
|
54
|
-
|
|
50
|
+
&__header {
|
|
51
|
+
width: 100%;
|
|
52
|
+
display: flex;
|
|
53
|
+
}
|
|
55
54
|
&__title {
|
|
56
|
-
|
|
55
|
+
position: relative;
|
|
57
56
|
}
|
|
58
57
|
&__icon {
|
|
59
58
|
align-self: flex-start;
|
|
@@ -75,7 +74,15 @@
|
|
|
75
74
|
&_size {
|
|
76
75
|
@each $size in xxl, xl, l, m, s, xs, xxs {
|
|
77
76
|
&_$(size) {
|
|
78
|
-
|
|
77
|
+
^^&__header {
|
|
78
|
+
padding: var(--accordion-item-header-$(size)-padding);
|
|
79
|
+
gap: var(--accordion-item-header-$(size)-gap);
|
|
80
|
+
}
|
|
81
|
+
^^&__content {
|
|
82
|
+
&-inner {
|
|
83
|
+
padding: var(--accordion-item-content-$(size)-padding);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
79
86
|
}
|
|
80
87
|
}
|
|
81
88
|
}
|
|
@@ -88,9 +95,27 @@
|
|
|
88
95
|
}
|
|
89
96
|
}
|
|
90
97
|
:root {
|
|
91
|
-
--accordion-item-
|
|
92
|
-
--accordion-item-
|
|
93
|
-
--accordion-item-l-padding: 14px 12px;
|
|
94
|
-
--accordion-
|
|
95
|
-
--accordion-
|
|
98
|
+
--accordion-item-header-xxl-padding: 14px 12px;
|
|
99
|
+
--accordion-item-header-xl-padding: 14px 12px;
|
|
100
|
+
--accordion-item-header-l-padding: 14px 12px;
|
|
101
|
+
--accordion-item-header-m-padding: 12px;
|
|
102
|
+
--accordion-item-header-s-padding: 12px;
|
|
103
|
+
--accordion-item-header-xs-padding: 10px 8px;
|
|
104
|
+
--accordion-item-header-xxs-padding: 12px;
|
|
105
|
+
|
|
106
|
+
--accordion-item-header-xxl-gap: 8px;
|
|
107
|
+
--accordion-item-header-xl-gap: 8px;
|
|
108
|
+
--accordion-item-header-l-gap: 8px;
|
|
109
|
+
--accordion-item-header-m-gap: 8px;
|
|
110
|
+
--accordion-item-header-s-gap: 8px;
|
|
111
|
+
--accordion-item-header-xs-gap: 8px;
|
|
112
|
+
--accordion-item-header-xxs-gap: 8px;
|
|
113
|
+
|
|
114
|
+
--accordion-item-content-xxl-padding: 14px 12px;
|
|
115
|
+
--accordion-item-content-xl-padding: 14px 12px;
|
|
116
|
+
--accordion-item-content-l-padding: 14px 12px;
|
|
117
|
+
--accordion-item-content-m-padding: 12px;
|
|
118
|
+
--accordion-item-content-s-padding: 12px;
|
|
119
|
+
--accordion-item-content-xs-padding: 10px 8px;
|
|
120
|
+
--accordion-item-content-xxs-padding: 12px;
|
|
96
121
|
}
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
right: var(--avatar-icon-right);
|
|
14
14
|
bottom: var(--avatar-icon-bottom);
|
|
15
15
|
}
|
|
16
|
+
^&__badge {
|
|
17
|
+
position: absolute;
|
|
18
|
+
}
|
|
16
19
|
}
|
|
17
20
|
div&__dropdown {
|
|
18
21
|
margin: 10px 0 0 0;
|
|
@@ -27,9 +30,9 @@
|
|
|
27
30
|
^&__wrapper {
|
|
28
31
|
background-image: linear-gradient(
|
|
29
32
|
90deg,
|
|
30
|
-
var(--color-surface-secondary),
|
|
31
|
-
var(--color-surface-tertiary),
|
|
32
|
-
var(--color-surface-secondary)
|
|
33
|
+
var(--color-surface-fill-secondary),
|
|
34
|
+
var(--color-surface-fill-tertiary),
|
|
35
|
+
var(--color-surface-fill-secondary)
|
|
33
36
|
);
|
|
34
37
|
background-size: 200%;
|
|
35
38
|
animation: avatarSkeleton 3s infinite linear;
|
|
@@ -72,7 +75,7 @@
|
|
|
72
75
|
/* stylelint-disable prettier/prettier */
|
|
73
76
|
.avatar {
|
|
74
77
|
&_size {
|
|
75
|
-
@each $size in
|
|
78
|
+
@each $size in 16, 20, 24, 32, 40, 48, 56, 96, 144, 240,
|
|
76
79
|
240 {
|
|
77
80
|
&_$(size) {
|
|
78
81
|
^^&__wrapper {
|
|
@@ -81,6 +84,10 @@
|
|
|
81
84
|
display: flex;
|
|
82
85
|
justify-content: center;
|
|
83
86
|
align-items: center;
|
|
87
|
+
^^^&__badge {
|
|
88
|
+
right: var(--avatar-badge-$(size)-position-right);
|
|
89
|
+
bottom: var(--avatar-badge-$(size)-position-bottom);
|
|
90
|
+
}
|
|
84
91
|
^^^&__image {
|
|
85
92
|
width: $(size)px;
|
|
86
93
|
height: $(size)px;
|
|
@@ -94,20 +101,41 @@
|
|
|
94
101
|
}
|
|
95
102
|
}
|
|
96
103
|
}
|
|
97
|
-
.
|
|
98
|
-
|
|
99
|
-
position: relative;
|
|
100
|
-
& .dot {
|
|
101
|
-
position: absolute;
|
|
102
|
-
right: var(--avatar-dot-position-right);
|
|
103
|
-
bottom: var(--avatar-dot-position-bottom);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
104
|
+
.avatar_status {
|
|
105
|
+
position: relative;
|
|
106
106
|
}
|
|
107
107
|
:root {
|
|
108
108
|
--avatar-icon-right: -4px;
|
|
109
109
|
--avatar-icon-bottom: -3px;
|
|
110
|
-
|
|
111
|
-
--avatar-
|
|
112
|
-
--avatar-
|
|
110
|
+
|
|
111
|
+
--avatar-badge-16-position-right: 0;
|
|
112
|
+
--avatar-badge-16-position-bottom: 0;
|
|
113
|
+
|
|
114
|
+
--avatar-badge-20-position-right: 0;
|
|
115
|
+
--avatar-badge-20-position-bottom: 0;
|
|
116
|
+
|
|
117
|
+
--avatar-badge-24-position-right: 0;
|
|
118
|
+
--avatar-badge-24-position-bottom: 0;
|
|
119
|
+
|
|
120
|
+
--avatar-badge-32-position-right: 0;
|
|
121
|
+
--avatar-badge-32-position-bottom: 0;
|
|
122
|
+
|
|
123
|
+
--avatar-badge-40-position-right: 0;
|
|
124
|
+
--avatar-badge-40-position-bottom: 0;
|
|
125
|
+
|
|
126
|
+
--avatar-badge-48-position-right: 0;
|
|
127
|
+
--avatar-badge-48-position-bottom: 0;
|
|
128
|
+
|
|
129
|
+
--avatar-badge-56-position-right: 0;
|
|
130
|
+
--avatar-badge-56-position-bottom: 0;
|
|
131
|
+
|
|
132
|
+
--avatar-badge-96-position-right: 0;
|
|
133
|
+
--avatar-badge-96-position-bottom: 0;
|
|
134
|
+
|
|
135
|
+
--avatar-badge-144-position-right: 0;
|
|
136
|
+
--avatar-badge-144-position-bottom: 0;
|
|
137
|
+
|
|
138
|
+
--avatar-badge-240-position-right: 0;
|
|
139
|
+
--avatar-badge-240-position-bottom: 0;
|
|
140
|
+
|
|
113
141
|
}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
div.avatar {
|
|
2
2
|
&-stack {
|
|
3
|
-
margin: 0 0 0 4px;
|
|
4
3
|
display: flex;
|
|
5
4
|
align-items: center;
|
|
6
5
|
&__item {
|
|
7
|
-
margin: 0 -4px;
|
|
8
|
-
border-radius: 100px;
|
|
9
6
|
position: relative;
|
|
10
7
|
transition: all 0.3s ease;
|
|
11
8
|
cursor: pointer;
|
|
@@ -14,6 +11,7 @@ div.avatar {
|
|
|
14
11
|
transition: all 0.3s ease;
|
|
15
12
|
}
|
|
16
13
|
&-text {
|
|
14
|
+
border-radius: 50%;
|
|
17
15
|
display: flex;
|
|
18
16
|
justify-content: center;
|
|
19
17
|
align-items: center;
|
|
@@ -52,3 +50,40 @@ div.avatar {
|
|
|
52
50
|
}
|
|
53
51
|
}
|
|
54
52
|
}
|
|
53
|
+
div.avatar-stack {
|
|
54
|
+
&_size {
|
|
55
|
+
@each $size in 56, 40, 32, 24, 20, 16 {
|
|
56
|
+
&_$(size) {
|
|
57
|
+
& .avatar-stack__item {
|
|
58
|
+
&:not(:first-child) {
|
|
59
|
+
margin: 0 0 0 var(--avatar-stack-size-$(size)-gap);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
.avatar-stack {
|
|
67
|
+
&&-skeleton {
|
|
68
|
+
background-size: 200% !important;
|
|
69
|
+
border: none;
|
|
70
|
+
animation: avatarStackSkeleton 3s infinite linear !important;
|
|
71
|
+
background-image: linear-gradient(
|
|
72
|
+
90deg,
|
|
73
|
+
var(--color-surface-fill-secondary),
|
|
74
|
+
var(--color-surface-fill-tertiary),
|
|
75
|
+
var(--color-surface-fill-secondary)
|
|
76
|
+
) !important;
|
|
77
|
+
& * {
|
|
78
|
+
opacity: 0%;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
@keyframes avatarStackSkeleton {
|
|
83
|
+
0% {
|
|
84
|
+
background-position: 200%;
|
|
85
|
+
}
|
|
86
|
+
100% {
|
|
87
|
+
background-position: -200%;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -7,14 +7,11 @@
|
|
|
7
7
|
flex-flow: row nowrap;
|
|
8
8
|
justify-content: space-between;
|
|
9
9
|
align-items: center;
|
|
10
|
-
gap: 8px;
|
|
11
10
|
^^&__title,
|
|
12
11
|
^^&__value {
|
|
13
12
|
width: 100%;
|
|
14
13
|
}
|
|
15
14
|
}
|
|
16
|
-
^&__icon {
|
|
17
|
-
}
|
|
18
15
|
&-equal ^&__data {
|
|
19
16
|
width: 50%;
|
|
20
17
|
}
|
|
@@ -26,23 +23,33 @@
|
|
|
26
23
|
&_vertical {
|
|
27
24
|
display: flex;
|
|
28
25
|
flex-direction: column;
|
|
29
|
-
|
|
26
|
+
&-reverse {
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: column-reverse;
|
|
29
|
+
}
|
|
30
30
|
}
|
|
31
31
|
&_horizontal {
|
|
32
32
|
display: flex;
|
|
33
33
|
flex-direction: row;
|
|
34
34
|
justify-content: space-between;
|
|
35
|
-
|
|
35
|
+
&-reverse {
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: row-reverse;
|
|
38
|
+
}
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
}
|
|
39
42
|
}
|
|
40
43
|
.cell {
|
|
41
44
|
&_size {
|
|
42
|
-
@each $size in
|
|
45
|
+
@each $size in xl, l, m, s {
|
|
43
46
|
&_$(size) {
|
|
44
47
|
^^&__wrapper {
|
|
45
48
|
padding: var(--cell-size-$(size)-padding);
|
|
49
|
+
gap: var(--cell-size-$(size)-gap);
|
|
50
|
+
^^^&__data {
|
|
51
|
+
gap: var(--cell-size-$(size)-data-gap);
|
|
52
|
+
}
|
|
46
53
|
}
|
|
47
54
|
}
|
|
48
55
|
}
|
|
@@ -57,18 +64,6 @@
|
|
|
57
64
|
}
|
|
58
65
|
}
|
|
59
66
|
}
|
|
60
|
-
.cell {
|
|
61
|
-
&&_state {
|
|
62
|
-
&_active {
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
.cell {
|
|
67
|
-
&&_state {
|
|
68
|
-
&_disabled {
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
67
|
.cell {
|
|
73
68
|
&_reset-gap {
|
|
74
69
|
^&__wrapper {
|
|
@@ -83,20 +78,6 @@
|
|
|
83
78
|
}
|
|
84
79
|
}
|
|
85
80
|
}
|
|
86
|
-
.cell {
|
|
87
|
-
&_reverse {
|
|
88
|
-
^&__wrapper {
|
|
89
|
-
&_direction {
|
|
90
|
-
&_horizontal {
|
|
91
|
-
flex-direction: row-reverse;
|
|
92
|
-
}
|
|
93
|
-
&_vertical {
|
|
94
|
-
flex-direction: column-reverse;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
81
|
.cell {
|
|
101
82
|
&_skeleton {
|
|
102
83
|
^&__data {
|
|
@@ -105,9 +86,9 @@
|
|
|
105
86
|
color: transparent;
|
|
106
87
|
background-image: linear-gradient(
|
|
107
88
|
90deg,
|
|
108
|
-
var(--color-surface-secondary),
|
|
109
|
-
var(--color-surface-tertiary),
|
|
110
|
-
var(--color-surface-secondary)
|
|
89
|
+
var(--color-surface-fill-secondary),
|
|
90
|
+
var(--color-surface-fill-tertiary),
|
|
91
|
+
var(--color-surface-fill-secondary)
|
|
111
92
|
);
|
|
112
93
|
background-size: 200%;
|
|
113
94
|
border-radius: 6px;
|
|
@@ -125,10 +106,19 @@
|
|
|
125
106
|
}
|
|
126
107
|
}
|
|
127
108
|
:root {
|
|
128
|
-
--cell-
|
|
129
|
-
--cell-
|
|
130
|
-
--cell-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
109
|
+
--cell-size-xl-padding: 4px 6px;
|
|
110
|
+
--cell-size-xl-gap: 4px;
|
|
111
|
+
--cell-size-xl-data-gap: 8px;
|
|
112
|
+
|
|
113
|
+
--cell-size-l-padding: 4px 6px;
|
|
114
|
+
--cell-size-l-gap: 4px;
|
|
115
|
+
--cell-size-l-data-gap: 8px;
|
|
116
|
+
|
|
117
|
+
--cell-size-m-padding: 4px 6px;
|
|
118
|
+
--cell-size-m-gap: 4px;
|
|
119
|
+
--cell-size-m-data-gap: 8px;
|
|
120
|
+
|
|
121
|
+
--cell-size-s-padding: 4px 6px;
|
|
122
|
+
--cell-size-s-gap: 4px;
|
|
123
|
+
--cell-size-s-data-gap: 8px;
|
|
134
124
|
}
|
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: auto 1fr;
|
|
4
4
|
grid-template-rows: auto auto;
|
|
5
|
-
gap: var(--checkbox-row-gap) var(--checkbox-column-gap);
|
|
6
5
|
&__item {
|
|
7
|
-
min-width: 16px;
|
|
8
|
-
min-height: 16px;
|
|
9
6
|
font-size: 0;
|
|
10
7
|
line-height: 0;
|
|
11
8
|
position: relative;
|
|
12
9
|
display: flex;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
align-items: center;
|
|
13
12
|
align-self: start;
|
|
14
13
|
cursor: pointer;
|
|
15
14
|
grid-row-start: span 3;
|
|
@@ -26,6 +25,17 @@
|
|
|
26
25
|
z-index: 3;
|
|
27
26
|
cursor: pointer;
|
|
28
27
|
appearance: none;
|
|
28
|
+
&:checked {
|
|
29
|
+
& ~ ^^^&__state-checkmark {
|
|
30
|
+
border-width: inherit;
|
|
31
|
+
border-style: inherit;
|
|
32
|
+
display: block;
|
|
33
|
+
border-bottom-style: solid;
|
|
34
|
+
border-bottom-width: 2px;
|
|
35
|
+
border-right-style: solid;
|
|
36
|
+
border-right-width: 2px;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
29
39
|
}
|
|
30
40
|
^&__state {
|
|
31
41
|
display: flex;
|
|
@@ -50,10 +60,17 @@
|
|
|
50
60
|
top: 50%;
|
|
51
61
|
z-index: 2;
|
|
52
62
|
transform: translate(-50%, -50%) rotate(45deg);
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
63
|
+
}
|
|
64
|
+
^&__state-indeterminate {
|
|
65
|
+
height: 2px;
|
|
66
|
+
margin: 0 6px;
|
|
67
|
+
position: absolute;
|
|
68
|
+
display: block;
|
|
69
|
+
left: 0;
|
|
70
|
+
top: 50%;
|
|
71
|
+
right: 0;
|
|
72
|
+
z-index: 2;
|
|
73
|
+
transform: translate(0, -50%);
|
|
57
74
|
}
|
|
58
75
|
}
|
|
59
76
|
}
|
|
@@ -64,9 +81,9 @@
|
|
|
64
81
|
animation: checkboxSkeleton 3s infinite linear !important;
|
|
65
82
|
background-image: linear-gradient(
|
|
66
83
|
90deg,
|
|
67
|
-
var(--color-surface-secondary),
|
|
68
|
-
var(--color-surface-tertiary),
|
|
69
|
-
var(--color-surface-secondary)
|
|
84
|
+
var(--color-surface-fill-secondary),
|
|
85
|
+
var(--color-surface-fill-tertiary),
|
|
86
|
+
var(--color-surface-fill-secondary)
|
|
70
87
|
) !important;
|
|
71
88
|
& * {
|
|
72
89
|
opacity: 0%;
|
|
@@ -81,6 +98,24 @@
|
|
|
81
98
|
background-position: -200%;
|
|
82
99
|
}
|
|
83
100
|
}
|
|
101
|
+
.checkbox {
|
|
102
|
+
@each $size in xxl, xl, l, m, s, xs, xxs {
|
|
103
|
+
&_size_$(size) {
|
|
104
|
+
padding: var(--checkbox-$(size)-padding);
|
|
105
|
+
gap: var(--checkbox-$(size)-gap);
|
|
106
|
+
^&__item {
|
|
107
|
+
width: var(--checkbox-area-$(size)-width);
|
|
108
|
+
height: var(--checkbox-area-$(size)-height);
|
|
109
|
+
^^&__state {
|
|
110
|
+
width: var(--checkbox-$(size)-width);
|
|
111
|
+
height: var(--checkbox-$(size)-height);
|
|
112
|
+
max-width: var(--checkbox-$(size)-width);
|
|
113
|
+
max-height: var(--checkbox-$(size)-height);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
84
119
|
.checkbox {
|
|
85
120
|
&_shape {
|
|
86
121
|
&_rounded {
|
|
@@ -90,38 +125,28 @@
|
|
|
90
125
|
}
|
|
91
126
|
}
|
|
92
127
|
}
|
|
93
|
-
.checkbox {
|
|
94
|
-
&_checkmark {
|
|
95
|
-
&_fill {
|
|
96
|
-
@each $type in accent, primary, secondary, tertiary, surface, success,
|
|
97
|
-
error {
|
|
98
|
-
&_$(type) {
|
|
99
|
-
&-item {
|
|
100
|
-
@each $color in primary, secondary, tertiary, quaternary, quinary,
|
|
101
|
-
senary, accent, disabled, hover {
|
|
102
|
-
&-$(color) {
|
|
103
|
-
& ^^^^^&__input {
|
|
104
|
-
&:checked {
|
|
105
|
-
& ~ ^^^^^^^&__state {
|
|
106
|
-
&-checkmark {
|
|
107
|
-
border-color: var(--color-$(type)-item-$(color));
|
|
108
|
-
display: block;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
128
|
:root {
|
|
122
129
|
--checkbox-column-gap: 12px;
|
|
123
130
|
--checkbox-row-gap: 4px;
|
|
124
131
|
--checkbox-success-border: var(--color-success-border-secondary);
|
|
125
132
|
--checkbox-error-border: var(--color-error-border-secondary);
|
|
126
133
|
--checkbox-focus-border: var(--color-surface-border-quaternary);
|
|
134
|
+
|
|
135
|
+
--checkbox-area-m-width: 24px;
|
|
136
|
+
--checkbox-area-m-height: 24px;
|
|
137
|
+
--checkbox-m-width: 16px;
|
|
138
|
+
--checkbox-m-height: 16px;
|
|
139
|
+
--checkbox-m-gap: 0 2px;
|
|
140
|
+
|
|
141
|
+
--checkbox-area-xs-width: 16px;
|
|
142
|
+
--checkbox-area-xs-height: 16px;
|
|
143
|
+
--checkbox-xs-width: 12px;
|
|
144
|
+
--checkbox-xs-height: 12px;
|
|
145
|
+
--checkbox-xs-gap: 0 2px;
|
|
146
|
+
|
|
147
|
+
--checkbox-area-xxs-width: 14px;
|
|
148
|
+
--checkbox-area-xxs-height: 14px;
|
|
149
|
+
--checkbox-xxs-width: 10px;
|
|
150
|
+
--checkbox-xxs-height: 10px;
|
|
151
|
+
--checkbox-xxs-gap: 0 2px;
|
|
127
152
|
}
|
|
@@ -38,6 +38,12 @@
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
.code__input {
|
|
41
|
+
border: none;
|
|
42
|
+
outline: none;
|
|
43
|
+
|
|
44
|
+
&:focus {
|
|
45
|
+
outline: none;
|
|
46
|
+
}
|
|
41
47
|
&_shape {
|
|
42
48
|
&_rounded {
|
|
43
49
|
border-radius: var(--code-input-shape-rounded);
|
|
@@ -47,12 +53,36 @@
|
|
|
47
53
|
}
|
|
48
54
|
}
|
|
49
55
|
}
|
|
56
|
+
.code__input {
|
|
57
|
+
&&_skeleton {
|
|
58
|
+
background-size: 200% !important;
|
|
59
|
+
border: none;
|
|
60
|
+
animation: codeSkeleton 3s infinite linear !important;
|
|
61
|
+
background-image: linear-gradient(
|
|
62
|
+
90deg,
|
|
63
|
+
var(--color-surface-fill-secondary),
|
|
64
|
+
var(--color-surface-fill-tertiary),
|
|
65
|
+
var(--color-surface-fill-secondary)
|
|
66
|
+
) !important;
|
|
67
|
+
& * {
|
|
68
|
+
opacity: 0%;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
@keyframes codeSkeleton {
|
|
73
|
+
0% {
|
|
74
|
+
background-position: 200%;
|
|
75
|
+
}
|
|
76
|
+
100% {
|
|
77
|
+
background-position: -200%;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
50
80
|
:root {
|
|
51
81
|
--code-input-shape-rounded: 0;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
82
|
+
--code-input-size-l-width: 56px;
|
|
83
|
+
--code-input-size-l-height: 48px;
|
|
84
|
+
--code-input-size-l-gap: 8px;
|
|
85
|
+
--code-input-size-m-width: 48px;
|
|
86
|
+
--code-input-size-m-height: 40px;
|
|
87
|
+
--code-input-size-m-gap: 6px;
|
|
58
88
|
}
|
|
@@ -50,6 +50,30 @@
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
+
.divider {
|
|
54
|
+
&&_skeleton {
|
|
55
|
+
background-size: 200% !important;
|
|
56
|
+
border: none;
|
|
57
|
+
animation: dividerSkeleton 3s infinite linear !important;
|
|
58
|
+
background-image: linear-gradient(
|
|
59
|
+
90deg,
|
|
60
|
+
var(--color-surface-fill-secondary),
|
|
61
|
+
var(--color-surface-fill-tertiary),
|
|
62
|
+
var(--color-surface-fill-secondary)
|
|
63
|
+
) !important;
|
|
64
|
+
& * {
|
|
65
|
+
opacity: 0%;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
@keyframes dividerSkeleton {
|
|
70
|
+
0% {
|
|
71
|
+
background-position: 200%;
|
|
72
|
+
}
|
|
73
|
+
100% {
|
|
74
|
+
background-position: -200%;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
53
77
|
:root {
|
|
54
78
|
--divider-l-height: 3px;
|
|
55
79
|
--divider-m-height: 2px;
|
|
@@ -33,6 +33,17 @@
|
|
|
33
33
|
opacity: 100% !important;
|
|
34
34
|
backdrop-filter: var(--drawer-overlay-filter) !important;
|
|
35
35
|
}
|
|
36
|
+
&__close {
|
|
37
|
+
justify-content: flex-end;
|
|
38
|
+
position: relative;
|
|
39
|
+
padding: 3m 3m 0 3m;
|
|
40
|
+
display: flex;
|
|
41
|
+
}
|
|
42
|
+
&__header {
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-direction: column;
|
|
45
|
+
padding: 0 3m 3m 3m;
|
|
46
|
+
}
|
|
36
47
|
&__wrapper {
|
|
37
48
|
flex: 1;
|
|
38
49
|
}
|