@itcase/ui 1.3.30 → 1.3.32
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/Badge-BX4N91_C.js +250 -0
- package/dist/Badge-CGHosmYx.js +246 -0
- package/dist/Button-D1m2MxZA.js +291 -0
- package/dist/Button-DZ3z7f-A.js +287 -0
- package/dist/Divider-BQcBkzt1.js +30 -0
- package/dist/Divider-ImOOytuN.js +34 -0
- package/dist/{DropdownItem-FNOztnTT.js → DropdownItem-BiiEhR49.js} +12 -16
- package/dist/{DropdownItem-Bq-oPnWX.js → DropdownItem-g5jWbyJy.js} +12 -16
- package/dist/{Group-c3ZkPu8e.js → Group-BKJmVwPZ.js} +4 -4
- package/dist/{Group-BY8OkVsS.js → Group-Bkz3RO18.js} +4 -4
- package/dist/{Icon-pUvizy3W.js → Icon-GVGrUu_Z.js} +6 -6
- package/dist/{Icon-BdHr6E6M.js → Icon-htF_V35Y.js} +7 -7
- package/dist/{Image-BbBG_UGI.js → Image-BEGwuGBM.js} +4 -4
- package/dist/{Image-D-QHhsrC.js → Image-DWfyapuD.js} +4 -4
- package/dist/{Input-BrV5_NoV.js → Input-COFdaiTe.js} +3 -3
- package/dist/{Input-ffioh1sj.js → Input-Dwvk-poq.js} +3 -3
- package/dist/Label-Dpeq55TV.js +233 -0
- package/dist/Label-XTFwl1aq.js +237 -0
- package/dist/{Link-CxWmYMyL.js → Link-B38Hn4G2.js} +5 -5
- package/dist/{Link-DN2LhPjD.js → Link-BhJ5BdyS.js} +6 -6
- package/dist/Loader-CBEbIRnd.js +69 -0
- package/dist/Loader-CsPvc-9g.js +65 -0
- package/dist/{MenuItem-CLDNk2l8.js → MenuItem-Cjlnmfwh.js} +6 -6
- package/dist/{MenuItem-amqx61Y0.js → MenuItem-PJkuGghn.js} +6 -6
- package/dist/{Overlay-B9nOIfLe.js → Overlay-BKh07Vb2.js} +4 -4
- package/dist/{Overlay-Yf9EEclM.js → Overlay-DiCjwUv4.js} +4 -4
- package/dist/{Text-Beslj4Ns.js → Text-C49zj3jO.js} +7 -7
- package/dist/{Text-JayJa3hj.js → Text-C6NSmetx.js} +7 -7
- package/dist/{Title-BfKF5WvZ.js → Title-BWWyRwLY.js} +4 -4
- package/dist/{Title-C7Qv9WfS.js → Title-Dck3eHNM.js} +4 -4
- package/dist/{Tooltip-AodzD-7D.js → Tooltip-BYgzNVYI.js} +18 -14
- package/dist/{Tooltip-BDEyAnd-.js → Tooltip-DpBQQoNo.js} +18 -14
- package/dist/cjs/components/Accordion.js +15 -15
- package/dist/cjs/components/Avatar.js +22 -20
- package/dist/cjs/components/Badge.js +12 -7
- package/dist/cjs/components/Breadcrumbs.js +16 -21
- package/dist/cjs/components/Button.js +13 -13
- package/dist/cjs/components/Card.js +9 -9
- package/dist/cjs/components/Cell.js +32 -17
- package/dist/cjs/components/Checkbox.js +13 -13
- package/dist/cjs/components/Checkmark.js +25 -23
- package/dist/cjs/components/Chips.js +22 -17
- package/dist/cjs/components/Choice.js +13 -13
- package/dist/cjs/components/Code.js +9 -19
- package/dist/cjs/components/CookiesWarning.js +15 -15
- package/dist/cjs/components/DadataHintField.js +4 -3
- package/dist/cjs/components/DatePicker.js +43 -19
- package/dist/cjs/components/Divider.js +7 -7
- package/dist/cjs/components/Dot.js +7 -7
- package/dist/cjs/components/Dropdown.js +9 -9
- package/dist/cjs/components/Flex.js +12 -11
- package/dist/cjs/components/Grid.js +12 -12
- package/dist/cjs/components/Group.js +6 -6
- package/dist/cjs/components/HTMLContent.js +7 -7
- package/dist/cjs/components/HeroTitle.js +9 -9
- package/dist/cjs/components/Icon.js +10 -10
- package/dist/cjs/components/Image.js +6 -6
- package/dist/cjs/components/Input.js +4 -3
- package/dist/cjs/components/InputMask.js +16 -15
- package/dist/cjs/components/InputPassword.js +12 -16
- package/dist/cjs/components/Label.js +10 -10
- package/dist/cjs/components/Link.js +6 -6
- package/dist/cjs/components/List.js +13 -12
- package/dist/cjs/components/Loader.js +8 -8
- package/dist/cjs/components/Logo.js +17 -15
- package/dist/cjs/components/Menu.js +11 -15
- package/dist/cjs/components/MenuItem.js +8 -8
- package/dist/cjs/components/Modal.js +11 -16
- package/dist/cjs/components/ModalSheetBottom.js +3 -3
- package/dist/cjs/components/Notification.js +8 -8
- package/dist/cjs/components/Overlay.js +6 -6
- package/dist/cjs/components/Pagination.js +14 -14
- package/dist/cjs/components/Panel.js +9 -9
- package/dist/cjs/components/Radio.js +16 -19
- package/dist/cjs/components/RangeSlider.js +7 -7
- package/dist/cjs/components/Response.js +15 -15
- package/dist/cjs/components/SVGContent.js +7 -7
- package/dist/cjs/components/ScrollOnDrag.js +8 -11
- package/dist/cjs/components/ScrollToView.js +9 -9
- package/dist/cjs/components/Search.js +16 -19
- package/dist/cjs/components/Segmented.js +8 -8
- package/dist/cjs/components/Select.js +34 -34
- package/dist/cjs/components/Swiper.js +11 -14
- package/dist/cjs/components/Switch.js +1 -1
- package/dist/cjs/components/Tab.js +17 -13
- package/dist/cjs/components/Text.js +6 -6
- package/dist/cjs/components/Textarea.js +8 -11
- package/dist/cjs/components/Tile.js +24 -20
- package/dist/cjs/components/Title.js +8 -8
- package/dist/cjs/components/Tooltip.js +9 -9
- package/dist/cjs/components/Video.js +4 -3
- package/dist/cjs/context/UIContext.js +48 -17
- package/dist/cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +120 -0
- package/dist/cjs/hooks/useDevicePropsGenerator.js +17 -0
- package/dist/cjs/hooks/useDeviceTargetClass.js +8 -3
- package/dist/cjs/hooks/useMediaQueries/useMediaQueries.js +129 -0
- package/dist/cjs/hooks/useMediaQueries.js +4 -122
- package/dist/cjs/hooks/{styleAttributes.js → useStyles/styleAttributes.js} +8 -1
- package/dist/cjs/hooks/useStyles/useStyles.js +190 -0
- package/dist/cjs/hooks/useStyles.js +10 -174
- package/dist/components/Accordion.js +16 -16
- package/dist/components/Avatar.js +22 -20
- package/dist/components/Badge.js +13 -8
- package/dist/components/Breadcrumbs.js +17 -22
- package/dist/components/Button.js +13 -13
- package/dist/components/Card.js +10 -10
- package/dist/components/Cell.js +33 -18
- package/dist/components/Checkbox.js +14 -14
- package/dist/components/Checkmark.js +25 -23
- package/dist/components/Chips.js +22 -17
- package/dist/components/Choice.js +14 -14
- package/dist/components/Code.js +10 -20
- package/dist/components/CookiesWarning.js +16 -16
- package/dist/components/DadataHintField.js +5 -4
- package/dist/components/DatePicker.js +44 -20
- package/dist/components/Divider.js +7 -7
- package/dist/components/Dot.js +8 -8
- package/dist/components/Dropdown.js +10 -10
- package/dist/components/Flex.js +13 -12
- package/dist/components/Grid.js +13 -13
- package/dist/components/Group.js +7 -7
- package/dist/components/HTMLContent.js +8 -8
- package/dist/components/HeroTitle.js +9 -9
- package/dist/components/Icon.js +11 -11
- package/dist/components/Image.js +7 -7
- package/dist/components/Input.js +5 -4
- package/dist/components/InputMask.js +17 -16
- package/dist/components/InputPassword.js +13 -17
- package/dist/components/Label.js +10 -10
- package/dist/components/Link.js +7 -7
- package/dist/components/List.js +14 -13
- package/dist/components/Loader.js +8 -8
- package/dist/components/Logo.js +17 -15
- package/dist/components/Menu.js +12 -16
- package/dist/components/MenuItem.js +9 -9
- package/dist/components/Modal.js +12 -17
- package/dist/components/ModalSheetBottom.js +4 -4
- package/dist/components/Notification.js +9 -9
- package/dist/components/Overlay.js +7 -7
- package/dist/components/Pagination.js +15 -15
- package/dist/components/Panel.js +10 -10
- package/dist/components/Radio.js +17 -20
- package/dist/components/RangeSlider.js +8 -8
- package/dist/components/Response.js +16 -16
- package/dist/components/SVGContent.js +8 -8
- package/dist/components/ScrollOnDrag.js +9 -12
- package/dist/components/ScrollToView.js +10 -10
- package/dist/components/Search.js +17 -20
- package/dist/components/Segmented.js +9 -9
- package/dist/components/Select.js +35 -35
- package/dist/components/Swiper.js +12 -15
- package/dist/components/Switch.js +1 -1
- package/dist/components/Tab.js +18 -14
- package/dist/components/Text.js +7 -7
- package/dist/components/Textarea.js +9 -12
- package/dist/components/Tile.js +24 -20
- package/dist/components/Title.js +8 -8
- package/dist/components/Tooltip.js +9 -9
- package/dist/components/Video.js +4 -3
- package/dist/context/Notifications.js +1 -1
- package/dist/context/UIContext.js +50 -18
- package/dist/css/components/Avatar/Avatar.css +8 -8
- package/dist/css/components/Badge/Badge.css +48 -26
- package/dist/css/components/Badge/Badge.tokens.css +48 -18
- package/dist/css/components/Button/Button.css +67 -303
- package/dist/css/components/Button/Button.tokens.css +37 -115
- package/dist/css/components/Cell/Cell.css +2 -2
- package/dist/css/components/Checkbox/Checkbox.css +6 -4
- package/dist/css/components/Checkmark/Checkmark.css +11 -10
- package/dist/css/components/Checkmark/Checkmark.tokens.css +20 -14
- package/dist/css/components/Chips/Chips.css +0 -10
- package/dist/css/components/DadataHintField/DadataHintField.css +0 -8
- package/dist/css/components/DadataHintField/DadataHintField.tokens.css +7 -2
- package/dist/css/components/DatePicker/DatePicker.css +102 -69
- package/dist/css/components/DatePicker/DatePicker.tokens.css +7 -2
- package/dist/css/components/Divider/Divider.css +0 -12
- package/dist/css/components/Divider/Divider.tokens.css +12 -0
- package/dist/css/components/Flex/Flex.css +0 -1
- package/dist/css/components/Grid/Grid.css +1 -5
- package/dist/css/components/Group/Group.css +2 -0
- package/dist/css/components/HeroTitle/HeroTitle.css +2 -2
- package/dist/css/components/Icon/Icon.css +13 -14
- package/dist/css/components/Icon/Icon.tokens.css +2 -1
- package/dist/css/components/Image/Image.css +3 -3
- package/dist/css/components/Label/Label.css +2 -2
- package/dist/css/components/Loader/Loader.css +12 -5
- package/dist/css/components/Logo/Logo.css +3 -19
- package/dist/css/components/Menu/Menu.css +9 -1
- package/dist/css/components/MenuItem/MenuItem.css +0 -10
- package/dist/css/components/MenuItem/MenuItem.tokens.css +9 -1
- package/dist/css/components/Radio/Radio.css +0 -3
- package/dist/css/components/Radio/Radio.tokens.css +2 -1
- package/dist/css/components/ScrollToView/ScrollToView.css +4 -4
- package/dist/css/components/Swiper/Swiper.css +2 -3
- package/dist/css/components/Switch/Switch.css +0 -7
- package/dist/css/components/Text/Text.css +2 -2
- package/dist/css/components/Title/Title.css +2 -2
- package/dist/css/components/Tooltip/Tooltip.css +15 -21
- package/dist/css/components/Tooltip/Tooltip.tokens.css +13 -0
- package/dist/css/styles/direction/direction.css +2 -0
- package/dist/css/styles/fill/fill.css +14 -9
- package/dist/css/styles/fill/fill_active.css +6 -3
- package/dist/css/styles/fill/fill_active_hover.css +8 -6
- package/dist/css/styles/fill/fill_disabled.css +6 -3
- package/dist/css/styles/fill/fill_hover.css +6 -3
- package/dist/css/styles/shape-strength/shape-strength.css +22 -0
- package/dist/css/styles/svg-color/svg_fill.css +27 -17
- package/dist/css/styles/svg-color/svg_fill_hover.css +12 -10
- package/dist/css/styles/svg-color/svg_path_fill.css +13 -9
- package/dist/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +118 -0
- package/dist/hooks/useDevicePropsGenerator.js +11 -0
- package/dist/hooks/useDeviceTargetClass.js +8 -3
- package/dist/hooks/useMediaQueries/useMediaQueries.js +127 -0
- package/dist/hooks/useMediaQueries.js +3 -125
- package/dist/hooks/{styleAttributes.js → useStyles/styleAttributes.js} +8 -1
- package/dist/hooks/useStyles/useStyles.js +188 -0
- package/dist/hooks/useStyles.js +9 -177
- package/dist/stories/AlignContent.mdx +1 -1
- package/dist/stories/AlignItems.mdx +1 -1
- package/dist/stories/AlignSelf.mdx +1 -1
- package/dist/stories/Appearance.mdx +1 -1
- package/dist/stories/Avatar.mdx +1 -1
- package/dist/stories/Checkbox.mdx +1 -1
- package/dist/stories/Checkmark.mdx +7 -3
- package/dist/stories/Chips.mdx +1 -1
- package/dist/stories/Choice.mdx +1 -1
- package/dist/stories/Code.mdx +1 -1
- package/dist/stories/Columns.mdx +1 -1
- package/dist/stories/Components.mdx +197 -0
- package/dist/stories/DatePicker.mdx +1 -1
- package/dist/stories/Dev.mdx +1 -1
- package/dist/stories/DevMode.mdx +1 -1
- package/dist/stories/Direction.mdx +1 -1
- package/dist/stories/Divider.mdx +1 -1
- package/dist/stories/Dot.mdx +1 -1
- package/dist/stories/Drawer.mdx +1 -1
- package/dist/stories/Dropdown.mdx +2 -2
- package/dist/stories/DropdownItem.mdx +1 -1
- package/dist/stories/Group.mdx +1 -1
- package/dist/stories/Grow.mdx +1 -1
- package/dist/stories/HeroTitle.mdx +1 -1
- package/dist/stories/Icon.mdx +1 -1
- package/dist/stories/Image.mdx +1 -1
- package/dist/stories/Input.mdx +1 -1
- package/dist/stories/InputPassword.mdx +1 -1
- package/dist/stories/JustifyContent.mdx +1 -1
- package/dist/stories/Label.mdx +1 -1
- package/dist/stories/Loader.mdx +1 -1
- package/dist/stories/Logo.mdx +1 -1
- package/dist/stories/MenuItem.mdx +1 -1
- package/dist/stories/Message.mdx +1 -1
- package/dist/stories/Notification.mdx +1 -1
- package/dist/stories/Order.mdx +1 -1
- package/dist/stories/Overview.mdx +1 -1
- package/dist/stories/Pagination.mdx +1 -1
- package/dist/stories/Playground.mdx +1 -1
- package/dist/stories/Radio.mdx +1 -1
- package/dist/stories/Response.mdx +1 -1
- package/dist/stories/SearchInput.mdx +1 -1
- package/dist/stories/Segmented.mdx +1 -1
- package/dist/stories/Size.mdx +1 -1
- package/dist/stories/Skeleton.mdx +1 -1
- package/dist/stories/State.mdx +1 -1
- package/dist/stories/Switch.mdx +1 -1
- package/dist/stories/Text.mdx +1 -1
- package/dist/stories/Textarea.mdx +1 -1
- package/dist/stories/Tile.mdx +1 -1
- package/dist/stories/Title.mdx +1 -1
- package/dist/stories/Tooltip.mdx +1 -1
- package/dist/stories/WithTooltip.mdx +1 -1
- package/dist/stories/Wrap.mdx +1 -1
- package/dist/{tslib.es6-Bwu1Cn-t.js → tslib.es6-5FtW-kfi.js} +1 -1
- package/dist/types/appearance/defaultAppearance.d.ts +33 -0
- package/dist/types/appearance/index.d.ts +3 -0
- package/dist/types/appearance/styleAppearance.d.ts +14 -0
- package/dist/types/components/Accordion/Accordion.interface.d.ts +1 -1
- package/dist/types/components/Avatar/Avatar.interface.d.ts +1 -1
- package/dist/types/components/Badge/Badge.d.ts +0 -6
- package/dist/types/components/Badge/Badge.interface.d.ts +1 -1
- package/dist/types/components/Badge/appearance/badgeAccent.d.ts +39 -0
- package/dist/types/components/Badge/appearance/badgeDanger.d.ts +11 -0
- package/dist/types/components/Badge/appearance/badgeDisabled.d.ts +10 -0
- package/dist/types/components/Badge/appearance/badgeError.d.ts +12 -0
- package/dist/types/components/Badge/appearance/badgeInfo.d.ts +18 -0
- package/dist/types/components/Badge/appearance/badgePrimary.d.ts +11 -0
- package/dist/types/components/Badge/appearance/badgeSecondary.d.ts +11 -0
- package/dist/types/components/Badge/appearance/badgeSize.d.ts +32 -0
- package/dist/types/components/Badge/appearance/badgeStyle.d.ts +16 -0
- package/dist/types/components/Badge/appearance/badgeSuccess.d.ts +11 -0
- package/dist/types/components/Badge/appearance/badgeSurface.d.ts +29 -0
- package/dist/types/components/Badge/appearance/badgeWarning.d.ts +11 -0
- package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts +0 -5
- package/dist/types/components/Breadcrumbs/Breadcrumbs.interface.d.ts +1 -1
- package/dist/types/components/Button/Button.interface.d.ts +1 -1
- package/dist/types/components/Button/appearance/buttonAccent.d.ts +50 -0
- package/dist/types/components/Button/appearance/buttonDanger.d.ts +11 -0
- package/dist/types/components/Button/appearance/buttonError.d.ts +11 -0
- package/dist/types/components/Button/appearance/buttonInfo.d.ts +21 -0
- package/dist/types/components/Button/appearance/buttonPrimary.d.ts +8 -0
- package/dist/types/components/Button/appearance/buttonSecondary.d.ts +8 -0
- package/dist/types/components/Button/appearance/buttonSize.d.ts +59 -0
- package/dist/types/components/Button/appearance/buttonStyle.d.ts +16 -0
- package/dist/types/components/Button/appearance/buttonSuccess.d.ts +11 -0
- package/dist/types/components/Button/appearance/buttonSurface.d.ts +25 -0
- package/dist/types/components/Button/appearance/buttonWarning.d.ts +11 -0
- package/dist/types/components/Button/stories/args.d.ts +49 -49
- package/dist/types/components/Card/Card.interface.d.ts +1 -1
- package/dist/types/components/Cell/Cell.interface.d.ts +1 -1
- package/dist/types/components/Checkbox/Checkbox.interface.d.ts +1 -1
- package/dist/types/components/Checkmark/Checkmark.interface.d.ts +1 -1
- package/dist/types/components/Chips/Chips.interface.d.ts +1 -1
- package/dist/types/components/Chips/stories/args.d.ts +2 -2
- package/dist/types/components/Choice/Choice.interface.d.ts +1 -1
- package/dist/types/components/Code/Code.d.ts +0 -15
- package/dist/types/components/Code/Code.interface.d.ts +1 -1
- package/dist/types/components/DadataHintField/DadataHintField.interface.d.ts +1 -1
- package/dist/types/components/Divider/Divider.d.ts +0 -5
- package/dist/types/components/Divider/Divider.interface.d.ts +1 -1
- package/dist/types/components/Dot/Dot.interface.d.ts +1 -1
- package/dist/types/components/Drawer/Drawer.interface.d.ts +1 -1
- package/dist/types/components/Dropdown/Dropdown.interface.d.ts +1 -1
- package/dist/types/components/Dropdown/DropdownItem.d.ts +0 -7
- package/dist/types/components/Flex/Flex.interface.d.ts +1 -1
- package/dist/types/components/Flex/stories/args.d.ts +1 -1
- package/dist/types/components/Grid/Grid.interface.d.ts +1 -1
- package/dist/types/components/Grid/stories/args.d.ts +2 -2
- package/dist/types/components/Group/Group.interface.d.ts +1 -1
- package/dist/types/components/Group/stories/args.d.ts +2 -2
- package/dist/types/components/HTMLContent/HTMLContent.interface.d.ts +1 -1
- package/dist/types/components/HeroTitle/HeroTitle.interface.d.ts +1 -1
- package/dist/types/components/Icon/Icon.interface.d.ts +1 -1
- package/dist/types/components/Image/Image.interface.d.ts +1 -1
- package/dist/types/components/Input/Input.interface.d.ts +1 -1
- package/dist/types/components/InputMask/Input.interface.d.ts +1 -1
- package/dist/types/components/InputPassword/InputPassword.d.ts +0 -6
- package/dist/types/components/InputPassword/InputPassword.interface.d.ts +1 -1
- package/dist/types/components/Label/Label.interface.d.ts +1 -1
- package/dist/types/components/Label/appearance/labelAccent.d.ts +13 -0
- package/dist/types/components/Label/appearance/labelDanger.d.ts +11 -0
- package/dist/types/components/Label/appearance/labelError.d.ts +11 -0
- package/dist/types/components/Label/appearance/labelGradient.d.ts +11 -0
- package/dist/types/components/Label/appearance/labelInfo.d.ts +21 -0
- package/dist/types/components/Label/appearance/labelPrimary.d.ts +8 -0
- package/dist/types/components/Label/appearance/labelSecondary.d.ts +8 -0
- package/dist/types/components/Label/appearance/labelSize.d.ts +59 -0
- package/dist/types/components/Label/appearance/labelStyle.d.ts +16 -0
- package/dist/types/components/Label/appearance/labelSuccess.d.ts +11 -0
- package/dist/types/components/Label/appearance/labelSurface.d.ts +24 -0
- package/dist/types/components/Label/appearance/labelWarning.d.ts +11 -0
- package/dist/types/components/Link/Link.interface.d.ts +1 -1
- package/dist/types/components/List/List.interface.d.ts +1 -1
- package/dist/types/components/Loader/Loader.interface.d.ts +1 -1
- package/dist/types/components/Loader/appearance/loaderAccent.d.ts +7 -0
- package/dist/types/components/Loader/appearance/loaderPrimary.d.ts +7 -0
- package/dist/types/components/Loader/appearance/loaderSecondary.d.ts +7 -0
- package/dist/types/components/Loader/appearance/loaderSurface.d.ts +15 -0
- package/dist/types/components/Logo/Logo.interface.d.ts +1 -1
- package/dist/types/components/Menu/Menu.d.ts +0 -5
- package/dist/types/components/Menu/Menu.interface.d.ts +1 -1
- package/dist/types/components/MenuItem/MenuItem.interface.d.ts +1 -1
- package/dist/types/components/Modal/Modal.interface.d.ts +1 -1
- package/dist/types/components/Notification/Notification.interface.d.ts +1 -1
- package/dist/types/components/Overlay/Overlay.interface.d.ts +1 -1
- package/dist/types/components/Pagination/Pagination.interface.d.ts +1 -1
- package/dist/types/components/Panel/Panel.interface.d.ts +1 -1
- package/dist/types/components/Radio/Radio.d.ts +0 -5
- package/dist/types/components/Radio/Radio.interface.d.ts +1 -1
- package/dist/types/components/RangeSlider/RangeSlider.interface.d.ts +1 -1
- package/dist/types/components/Response/Response.interface.d.ts +1 -1
- package/dist/types/components/Response/stories/args.d.ts +4 -4
- package/dist/types/components/SVGContent/SVGContent.interface.d.ts +1 -1
- package/dist/types/components/ScrollOnDrag/ScrollOnDrag.d.ts +0 -5
- package/dist/types/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +1 -1
- package/dist/types/components/Scrollbar/Scrollbar.interface.d.ts +1 -1
- package/dist/types/components/Search/Search.interface.d.ts +1 -1
- package/dist/types/components/Segmented/Segmented.interface.d.ts +1 -1
- package/dist/types/components/Swiper/Swiper.d.ts +0 -5
- package/dist/types/components/Swiper/Swiper.interface.d.ts +1 -1
- package/dist/types/components/Switch/Switch.interface.d.ts +1 -1
- package/dist/types/components/Tab/Tab.interface.d.ts +1 -1
- package/dist/types/components/Tab/stories/args.d.ts +3 -3
- package/dist/types/components/Text/Text.interface.d.ts +1 -1
- package/dist/types/components/Textarea/Textarea.d.ts +0 -5
- package/dist/types/components/Textarea/Textarea.interface.d.ts +1 -1
- package/dist/types/components/Tile/Tile.d.ts +0 -5
- package/dist/types/components/Tile/Tile.interface.d.ts +1 -1
- package/dist/types/components/Title/Title.interface.d.ts +1 -1
- package/dist/types/components/Tooltip/Tooltip.interface.d.ts +1 -1
- package/dist/types/components/Video/Video.interface.d.ts +1 -1
- package/dist/types/context/UIContext.d.ts +8 -12
- package/dist/types/hooks/useDevicePropsGenerator/index.d.ts +1 -0
- package/dist/types/hooks/useDevicePropsGenerator/useDevicePropsGenerator.d.ts +3 -0
- package/dist/types/hooks/{useDeviceTargetClassGenerator.interface.d.ts → useDevicePropsGenerator/useDevicePropsGenerator.interface.d.ts} +2 -2
- package/dist/types/hooks/useMediaQueries/index.d.ts +1 -0
- package/dist/types/hooks/useStyles/index.d.ts +1 -0
- package/dist/types/hooks/useStyles/styleAttributes.d.ts +4 -0
- package/dist/types/types/componentProps/appearanceKeys.d.ts +1 -1
- package/dist/types/types/componentProps/borderColor.d.ts +1 -1
- package/dist/types/types/componentProps/fill.d.ts +1 -1
- package/package.json +15 -12
- package/dist/Badge-5gtVywXB.js +0 -111
- package/dist/Badge-DhOJoJgc.js +0 -115
- package/dist/Button-BSnodY9v.js +0 -103
- package/dist/Button-Kcw2DdY0.js +0 -99
- package/dist/Divider-DBvDCUqP.js +0 -30
- package/dist/Divider-Goh6mpPK.js +0 -34
- package/dist/Label-CBwPiUuf.js +0 -97
- package/dist/Label-DgyUhGTQ.js +0 -93
- package/dist/Loader-Dn036JwE.js +0 -56
- package/dist/Loader-K_DJmah6.js +0 -52
- package/dist/cjs/hooks/useDeviceTargetClassGenerator.interface.js +0 -3
- package/dist/cjs/hooks/useDeviceTargetClassGenerator.js +0 -98
- package/dist/css/styles/gap/gap.css +0 -7
- package/dist/hooks/useDeviceTargetClassGenerator.interface.js +0 -1
- package/dist/hooks/useDeviceTargetClassGenerator.js +0 -96
- package/dist/stories/Badge.mdx +0 -20
- package/dist/stories/Button.mdx +0 -47
- package/dist/types/components/Badge/stories/args.d.ts +0 -69
- package/dist/types/hooks/styleAttributes.d.ts +0 -2
- package/dist/types/hooks/useDeviceTargetClassGenerator.d.ts +0 -3
- /package/dist/cjs/{hooks.js → hooks/useDevicePropsGenerator/useDevicePropsGenerator.interface.js} +0 -0
- /package/dist/cjs/hooks/{styleAttributes.interface.js → useStyles/styleAttributes.interface.js} +0 -0
- /package/dist/{hooks.js → hooks/useDevicePropsGenerator/useDevicePropsGenerator.interface.js} +0 -0
- /package/dist/hooks/{styleAttributes.interface.js → useStyles/styleAttributes.interface.js} +0 -0
- /package/dist/types/hooks/{useMediaQueries.d.ts → useMediaQueries/useMediaQueries.d.ts} +0 -0
- /package/dist/types/hooks/{styleAttributes.interface.d.ts → useStyles/styleAttributes.interface.d.ts} +0 -0
- /package/dist/types/hooks/{useStyles.d.ts → useStyles/useStyles.d.ts} +0 -0
|
@@ -1,20 +1,50 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
|
|
3
|
-
--badge-
|
|
4
|
-
--badge-
|
|
5
|
-
--badge-
|
|
6
|
-
--badge-
|
|
7
|
-
--badge-
|
|
8
|
-
|
|
9
|
-
--badge-
|
|
10
|
-
--badge-
|
|
11
|
-
--badge-
|
|
12
|
-
--badge-
|
|
13
|
-
--badge-
|
|
14
|
-
--badge-
|
|
15
|
-
|
|
16
|
-
--badge-
|
|
17
|
-
|
|
18
|
-
--badge-
|
|
19
|
-
--badge-
|
|
2
|
+
--badge-size-xxl-padding: 1m 1.5m;
|
|
3
|
+
--badge-size-xxl-min-width: 40px;
|
|
4
|
+
--badge-size-xxl-min-height: 40px;
|
|
5
|
+
--badge-size-xxl-gap: 5px;
|
|
6
|
+
--badge-type-icon-size-xxl-max-width: 40px;
|
|
7
|
+
--badge-type-icon-size-xxl-max-height: 40px;
|
|
8
|
+
|
|
9
|
+
--badge-size-xl-padding: 0.5m 1.25m;
|
|
10
|
+
--badge-size-xl-min-width: 32px;
|
|
11
|
+
--badge-size-xl-min-height: 32px;
|
|
12
|
+
--badge-size-xl-gap: 6px;
|
|
13
|
+
--badge-type-icon-size-xl-max-width: 32px;
|
|
14
|
+
--badge-type-icon-size-xl-max-height: 32px;
|
|
15
|
+
|
|
16
|
+
--badge-size-l-padding: 0.5m 1m;
|
|
17
|
+
--badge-size-l-min-width: 28px;
|
|
18
|
+
--badge-size-l-min-height: 28px;
|
|
19
|
+
--badge-size-l-gap: 4px;
|
|
20
|
+
--badge-type-icon-size-l-max-width: 28px;
|
|
21
|
+
--badge-type-icon-size-l-max-height: 28px;
|
|
22
|
+
|
|
23
|
+
--badge-size-m-padding: 0 0.75m;
|
|
24
|
+
--badge-size-m-min-width: 24px;
|
|
25
|
+
--badge-size-m-min-height: 24px;
|
|
26
|
+
--badge-size-m-gap: 2px;
|
|
27
|
+
--badge-type-icon-size-m-max-width: 24px;
|
|
28
|
+
--badge-type-icon-size-m-max-height: 24px;
|
|
29
|
+
|
|
30
|
+
--badge-size-s-padding: 0 0.5m;
|
|
31
|
+
--badge-size-s-min-width: 20px;
|
|
32
|
+
--badge-size-s-min-height: 20px;
|
|
33
|
+
--badge-size-s-gap: 0px;
|
|
34
|
+
--badge-type-icon-size-s-max-width: 20px;
|
|
35
|
+
--badge-type-icon-size-s-max-height: 20px;
|
|
36
|
+
|
|
37
|
+
--badge-size-xs-padding: 0 0.25m;
|
|
38
|
+
--badge-size-xs-min-width: 16px;
|
|
39
|
+
--badge-size-xs-min-height: 16px;
|
|
40
|
+
--badge-size-xs-gap: 2px;
|
|
41
|
+
--badge-type-icon-size-xs-max-width: 16px;
|
|
42
|
+
--badge-type-icon-size-xs-max-height: 16px;
|
|
43
|
+
|
|
44
|
+
--badge-size-xxs-padding: 0 0.5m;
|
|
45
|
+
--badge-size-xxs-min-width: 12px;
|
|
46
|
+
--badge-size-xxs-min-height: 12px;
|
|
47
|
+
--badge-size-xxs-gap: 0px;
|
|
48
|
+
--badge-type-icon-size-xxs-max-width: 12px;
|
|
49
|
+
--badge-type-icon-size-xxs-max-height: 12px;
|
|
20
50
|
}
|
|
@@ -20,28 +20,11 @@
|
|
|
20
20
|
}
|
|
21
21
|
&__wrapper {
|
|
22
22
|
display: flex;
|
|
23
|
+
justify-content: center;
|
|
23
24
|
align-items: center;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
text-align: center;
|
|
28
|
-
}
|
|
29
|
-
&__count {
|
|
30
|
-
position: relative;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
.button {
|
|
34
|
-
&_shape {
|
|
35
|
-
&_rounded {
|
|
36
|
-
border-radius: var(--button-shape-rounded-default, 6px);
|
|
37
|
-
@each $size in xxs, xs, s, m, l, xl, xxl {
|
|
38
|
-
&.button_size_$(size) {
|
|
39
|
-
border-radius: var(--button-$(size)-shape-rounded);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
&_circular {
|
|
44
|
-
border-radius: 50%;
|
|
25
|
+
^&__label {
|
|
26
|
+
text-decoration: none;
|
|
27
|
+
text-align: center;
|
|
45
28
|
}
|
|
46
29
|
}
|
|
47
30
|
}
|
|
@@ -49,258 +32,31 @@
|
|
|
49
32
|
&&_state {
|
|
50
33
|
&_loading {
|
|
51
34
|
^^&__loader {
|
|
52
|
-
display: flex;
|
|
53
|
-
position: absolute;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
.button {
|
|
59
|
-
&_type {
|
|
60
|
-
@each $type in label, with-icon, icon {
|
|
61
|
-
&_$(type) {
|
|
62
|
-
@each $set in filled, outlined, ghost {
|
|
63
|
-
&.button_set_$(set) {
|
|
64
|
-
@each $size in xxs, xs, s, m, l, xl, xxl {
|
|
65
|
-
&.button_size_$(size) {
|
|
66
|
-
^^^^&__wrapper {
|
|
67
|
-
padding: var(--button-$(type)-$(set)-$(size)-padding);
|
|
68
|
-
}
|
|
69
|
-
&.button_type_with-icon {
|
|
70
|
-
^^^^^&__wrapper {
|
|
71
|
-
gap: var(--button-with-icon-$(size)-gap);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
.button {
|
|
83
|
-
&&_type {
|
|
84
|
-
&_accent {
|
|
85
|
-
& > ^^&__icon {
|
|
86
|
-
svg {
|
|
87
|
-
fill: var(--color-accent-item-secondary);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
&^^&_fill {
|
|
91
|
-
&_outline {
|
|
92
|
-
border: solid 1px var(--color-accent-border-primary);
|
|
93
|
-
&:hover {
|
|
94
|
-
background: var(--color-accent-hover-secondary);
|
|
95
|
-
border: solid 1px var(--color-accent-border-primary-hover);
|
|
96
|
-
& > ^^^^^&__label {
|
|
97
|
-
color: var(--color-accent-text-secondary-hover);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
& > ^^^^&__label {
|
|
101
|
-
color: var(--color-accent-text-secondary);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
&_solid {
|
|
105
|
-
background: var(--color-accent-primary);
|
|
106
|
-
border: solid 1px var(--color-accent-border-primary);
|
|
107
|
-
&:hover {
|
|
108
|
-
background: var(--color-accent-primary-hover);
|
|
109
|
-
border: solid 1px var(--color-accent-border-primary-hover);
|
|
110
|
-
& > ^^^^^&__label {
|
|
111
|
-
color: var(--color-accent-text-primary-hover);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
& > ^^^^&__label {
|
|
115
|
-
color: var(--color-accent-text-primary);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
.button {
|
|
123
|
-
&&_type {
|
|
124
|
-
&_badge {
|
|
125
|
-
position: relative;
|
|
126
|
-
& .badge {
|
|
127
35
|
position: absolute;
|
|
128
|
-
|
|
129
|
-
top: -4px;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
.button {
|
|
135
|
-
&_type {
|
|
136
|
-
&_icon {
|
|
137
|
-
align-self: flex-start;
|
|
138
|
-
&.button_size {
|
|
139
|
-
@each $size in xxs, xs, s, m, l, xl, xxl {
|
|
140
|
-
&_$(size) {
|
|
141
|
-
& ^^^^&__wrapper {
|
|
142
|
-
padding: var(--button-size-$(size)-icon-padding);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
.button {
|
|
151
|
-
&&_type {
|
|
152
|
-
&_primary {
|
|
153
|
-
& > ^^&__icon {
|
|
154
|
-
svg {
|
|
155
|
-
fill: var(--color-primary-item-secondary);
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
&^^&_fill {
|
|
159
|
-
&_outline {
|
|
160
|
-
border: solid 1px var(--color-primary-border-primary);
|
|
161
|
-
&:hover {
|
|
162
|
-
background: var(--color-primary-primary-hover);
|
|
163
|
-
border: solid 1px var(--color-primary-border-primary-hover);
|
|
164
|
-
& > ^^^^^&__text {
|
|
165
|
-
color: var(--color-primary-text-secondary-hover);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
& > ^^^^&__text {
|
|
169
|
-
color: var(--color-primary-text-secondary);
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
&_solid {
|
|
173
|
-
background: var(--color-primary-primary);
|
|
174
|
-
border: solid 1px var(--color-primary-border-primary);
|
|
175
|
-
&:hover {
|
|
176
|
-
background: var(--color-primary-primary-hover);
|
|
177
|
-
border: solid 1px var(--color-primary-border-primary-hover);
|
|
178
|
-
& > ^^^^^&__text {
|
|
179
|
-
color: var(--color-primary-text-primary-hover);
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
& > ^^^^&__text {
|
|
183
|
-
color: var(--color-primary-text-primary);
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
.button {
|
|
191
|
-
&&_type {
|
|
192
|
-
&_secondary {
|
|
193
|
-
& > ^^&__icon {
|
|
194
|
-
svg {
|
|
195
|
-
fill: var(--color-secondary-item-secondary);
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
&^^&_fill {
|
|
199
|
-
&_outline {
|
|
200
|
-
border: solid 1px var(--color-secondary-border-primary);
|
|
201
|
-
&:hover {
|
|
202
|
-
background: var(--color-secondary-primary-hover);
|
|
203
|
-
border: solid 1px var(--color-secondary-border-primary-hover);
|
|
204
|
-
& > ^^^^^&__text {
|
|
205
|
-
color: var(--color-secondary-text-secondary-hover);
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
& > ^^^^&__text {
|
|
209
|
-
color: var(--color-secondary-text-secondary);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
&_solid {
|
|
213
|
-
background: var(--color-secondary-primary);
|
|
214
|
-
border: solid 1px var(--color-secondary-border-primary);
|
|
215
|
-
&:hover {
|
|
216
|
-
background: var(--color-secondary-primary-hover);
|
|
217
|
-
border: solid 1px var(--color-secondary-border-primary-hover);
|
|
218
|
-
& > ^^^^^&__text {
|
|
219
|
-
color: var(--color-secondary-text-primary-hover);
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
& > ^^^^&__text {
|
|
223
|
-
color: var(--color-secondary-text-primary);
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
.button {
|
|
231
|
-
&&_type {
|
|
232
|
-
&_surface {
|
|
233
|
-
& > ^^&__icon {
|
|
234
|
-
svg {
|
|
235
|
-
fill: var(--color-surface-item-secondary);
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
&^^&_fill {
|
|
239
|
-
&_outline {
|
|
240
|
-
border: solid 1px var(--color-surface-border-primary);
|
|
241
|
-
&:hover {
|
|
242
|
-
background: var(--color-surface-primary-hover);
|
|
243
|
-
border: solid 1px var(--color-surface-border-primary-hover);
|
|
244
|
-
& > ^^^^^&__text {
|
|
245
|
-
color: var(--color-surface-text-secondary-hover);
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
& > ^^^^&__text {
|
|
249
|
-
color: var(--color-surface-text-secondary);
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
&_solid {
|
|
253
|
-
background: var(--color-surface-primary);
|
|
254
|
-
border: solid 1px var(--color-surface-border-primary);
|
|
255
|
-
&:hover {
|
|
256
|
-
background: var(--color-surface-primary-hover);
|
|
257
|
-
border: solid 1px var(--color-surface-border-primary-hover);
|
|
258
|
-
& > ^^^^^&__text {
|
|
259
|
-
color: var(--color-surface-text-primary-hover);
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
& > ^^^^&__text {
|
|
263
|
-
color: var(--color-surface-text-primary);
|
|
264
|
-
}
|
|
265
|
-
}
|
|
36
|
+
display: flex;
|
|
266
37
|
}
|
|
267
38
|
}
|
|
268
39
|
}
|
|
269
40
|
}
|
|
270
41
|
.button {
|
|
271
|
-
|
|
272
|
-
&
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
color: var(--color-tertiary-text-secondary);
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
&_solid {
|
|
293
|
-
background: var(--color-tertiary-primary);
|
|
294
|
-
border: solid 1px var(--color-tertiary-border-primary);
|
|
295
|
-
&:hover {
|
|
296
|
-
background: var(--color-tertiary-primary-hover);
|
|
297
|
-
border: solid 1px var(--color-tertiary-border-primary-hover);
|
|
298
|
-
& > ^^^^^&__text {
|
|
299
|
-
color: var(--color-tertiary-text-primary-hover);
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
& > ^^^^&__text {
|
|
303
|
-
color: var(--color-tertiary-text-primary);
|
|
42
|
+
@each $type in default, icon, label {
|
|
43
|
+
&_type_$(type) {
|
|
44
|
+
@each $size in xxs, xs, s, m, l, xl, xxl {
|
|
45
|
+
&^&_size_$(size) {
|
|
46
|
+
^^&__wrapper {
|
|
47
|
+
min-width: var(
|
|
48
|
+
--button-type-$(type)-$(size)-min-width,
|
|
49
|
+
--button-$(size)-min-width
|
|
50
|
+
);
|
|
51
|
+
min-height: var(
|
|
52
|
+
--button-type-$(type)-$(size)-min-height,
|
|
53
|
+
--button-$(size)-min-height
|
|
54
|
+
);
|
|
55
|
+
padding: var(
|
|
56
|
+
--button-type-$(type)-$(size)-padding,
|
|
57
|
+
--button-$(size)-padding
|
|
58
|
+
);
|
|
59
|
+
gap: var(--button-type-$(type)-$(size)-gap, --button-$(size)-gap);
|
|
304
60
|
}
|
|
305
61
|
}
|
|
306
62
|
}
|
|
@@ -308,13 +64,13 @@
|
|
|
308
64
|
}
|
|
309
65
|
}
|
|
310
66
|
.button {
|
|
311
|
-
|
|
312
|
-
&
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
67
|
+
@each $size in xxs, xs, s, m, l, xl, xxl {
|
|
68
|
+
&_size_$(size) {
|
|
69
|
+
^&__wrapper {
|
|
70
|
+
min-width: var(--button-$(size)-min-width);
|
|
71
|
+
min-height: var(--button-$(size)-min-height);
|
|
72
|
+
padding: var(--button-$(size)-padding);
|
|
73
|
+
gap: var(--button-$(size)-gap);
|
|
318
74
|
}
|
|
319
75
|
}
|
|
320
76
|
}
|
|
@@ -322,7 +78,7 @@
|
|
|
322
78
|
.button {
|
|
323
79
|
&&_width {
|
|
324
80
|
&_fixed {
|
|
325
|
-
width:
|
|
81
|
+
width: 180px;
|
|
326
82
|
}
|
|
327
83
|
&_hug {
|
|
328
84
|
display: inline-flex;
|
|
@@ -334,33 +90,41 @@
|
|
|
334
90
|
}
|
|
335
91
|
}
|
|
336
92
|
:root {
|
|
93
|
+
/* MainXL */
|
|
337
94
|
--button-transition: all 0.2s ease 0s;
|
|
338
|
-
|
|
339
|
-
--button-
|
|
340
|
-
--button-
|
|
341
|
-
--button-
|
|
342
|
-
--button-
|
|
343
|
-
|
|
344
|
-
--button-
|
|
345
|
-
--button-
|
|
346
|
-
--button-
|
|
347
|
-
--button-
|
|
348
|
-
|
|
349
|
-
--button-
|
|
350
|
-
--button-
|
|
351
|
-
--button-
|
|
352
|
-
--button-
|
|
353
|
-
|
|
354
|
-
--button-
|
|
355
|
-
--button-
|
|
356
|
-
--button-
|
|
357
|
-
--button-
|
|
358
|
-
|
|
359
|
-
--button-
|
|
360
|
-
--button-
|
|
361
|
-
--button-
|
|
362
|
-
--button-
|
|
363
|
-
|
|
364
|
-
--button-
|
|
365
|
-
--button-
|
|
95
|
+
/* Size XXL */
|
|
96
|
+
--button-xxl-gap: 0.5m;
|
|
97
|
+
--button-xxl-padding: 2m 2m;
|
|
98
|
+
--button-xxl-min-width: 56px;
|
|
99
|
+
--button-xxl-min-height: 56px;
|
|
100
|
+
/* Size XL */
|
|
101
|
+
--button-xl-gap: 0.5m;
|
|
102
|
+
--button-xl-padding: 1m 1m;
|
|
103
|
+
--button-xl-min-width: 40px;
|
|
104
|
+
--button-xl-min-height: 40px;
|
|
105
|
+
/* Size L */
|
|
106
|
+
--button-l-gap: 0.5m;
|
|
107
|
+
--button-l-padding: 0.5m 0.5m;
|
|
108
|
+
--button-l-min-width: 32px;
|
|
109
|
+
--button-l-min-height: 32px;
|
|
110
|
+
/* Size M */
|
|
111
|
+
--button-m-gap: 0.5m;
|
|
112
|
+
--button-m-padding: 0.25m 0.5m;
|
|
113
|
+
--button-m-min-width: 28px;
|
|
114
|
+
--button-m-min-height: 28px;
|
|
115
|
+
/* Size S */
|
|
116
|
+
--button-s-gap: 0.5m;
|
|
117
|
+
--button-s-padding: 0.25m 0.5m;
|
|
118
|
+
--button-s-min-width: 24px;
|
|
119
|
+
--button-s-min-height: 24px;
|
|
120
|
+
/* Size XS */
|
|
121
|
+
--button-xs-gap: 0.5m;
|
|
122
|
+
--button-xs-padding: 0.5m 0.5m;
|
|
123
|
+
--button-xs-min-width: 20px;
|
|
124
|
+
--button-xs-min-height: 20px;
|
|
125
|
+
/* Size XXS */
|
|
126
|
+
--button-xxs-gap: 0.5m;
|
|
127
|
+
--button-xxs-padding: 0.25m 0.25m;
|
|
128
|
+
--button-xxs-min-width: 16px;
|
|
129
|
+
--button-xxs-min-height: 16px;
|
|
366
130
|
}
|
|
@@ -1,117 +1,39 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
|
|
3
|
-
--button-
|
|
4
|
-
|
|
5
|
-
--button-
|
|
6
|
-
--button-
|
|
7
|
-
--button-
|
|
8
|
-
--button-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
--button-
|
|
12
|
-
--button-
|
|
13
|
-
--button-
|
|
14
|
-
|
|
15
|
-
--button-
|
|
16
|
-
--button-
|
|
17
|
-
--button-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
--button-
|
|
21
|
-
--button-
|
|
22
|
-
--button-
|
|
23
|
-
--button-
|
|
24
|
-
|
|
25
|
-
--button-
|
|
26
|
-
--button-
|
|
27
|
-
|
|
28
|
-
--button-
|
|
29
|
-
|
|
30
|
-
--button-
|
|
31
|
-
--button-
|
|
32
|
-
--button-
|
|
33
|
-
--button-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
--button-
|
|
37
|
-
--button-
|
|
38
|
-
--button-
|
|
39
|
-
--button-icon-filled-m-padding: 6px;
|
|
40
|
-
--button-icon-filled-s-padding: 4px;
|
|
41
|
-
--button-icon-filled-xs-padding: 2px;
|
|
42
|
-
--button-icon-filled-xxs-padding: 1px;
|
|
43
|
-
|
|
44
|
-
--button-loader-filled-xxl-padding: 28px 50px;
|
|
45
|
-
--button-loader-filled-xl-padding: 20px 50px;
|
|
46
|
-
--button-loader-filled-l-padding: 16px 50px;
|
|
47
|
-
--button-loader-filled-m-padding: 14px 50px;
|
|
48
|
-
--button-loader-filled-s-padding: 12px 50px;
|
|
49
|
-
--button-loader-filled-xs-padding: 10px 50px;
|
|
50
|
-
--button-loader-filled-xxs-padding: 8px 50px;
|
|
51
|
-
|
|
52
|
-
{/* outlined paddings with sizes */}
|
|
53
|
-
--button-with-icon-outlined-xxl-padding: 15px;
|
|
54
|
-
--button-with-icon-outlined-xl-padding: 7px 11px;
|
|
55
|
-
--button-with-icon-outlined-l-padding: 3px 7px;
|
|
56
|
-
--button-with-icon-outlined-m-padding: 5px 7px;
|
|
57
|
-
--button-with-icon-outlined-s-padding: 3px;
|
|
58
|
-
--button-with-icon-outlined-xs-padding: 1px 3px;
|
|
59
|
-
--button-with-icon-outlined-xxs-padding: 0px 3px;
|
|
60
|
-
|
|
61
|
-
--button-label-outlined-xxl-padding: 15px;
|
|
62
|
-
--button-label-outlined-xl-padding: 7px 11px;
|
|
63
|
-
--button-label-outlined-l-padding: 3px 7px;
|
|
64
|
-
--button-label-outlined-m-padding: 1px 7px;
|
|
65
|
-
--button-label-outlined-s-padding: 0px 3px;
|
|
66
|
-
--button-label-outlined-xs-padding: 0px 3px;
|
|
67
|
-
--button-label-outlined-xxs-padding: 0px 3px;
|
|
68
|
-
|
|
69
|
-
--button-icon-outlined-xxl-padding: 15px;
|
|
70
|
-
--button-icon-outlined-xl-padding: 7px;
|
|
71
|
-
--button-icon-outlined-l-padding: 3px;
|
|
72
|
-
--button-icon-outlined-m-padding: 5px;
|
|
73
|
-
--button-icon-outlined-s-padding: 3px;
|
|
74
|
-
--button-icon-outlined-xs-padding: 1px;
|
|
75
|
-
--button-icon-outlined-xxs-padding: 0px;
|
|
76
|
-
|
|
77
|
-
--button-loader-outlined-xxl-padding: 27px 49px;
|
|
78
|
-
--button-loader-outlined-xl-padding: 19px 49px;
|
|
79
|
-
--button-loader-outlined-l-padding: 15px 49px;
|
|
80
|
-
--button-loader-outlined-m-padding: 13px 49px;
|
|
81
|
-
--button-loader-outlined-s-padding: 11px 49px;
|
|
82
|
-
--button-loader-outlined-xs-padding: 9px 49px;
|
|
83
|
-
--button-loader-outlined-xxs-padding: 7px 49px;
|
|
84
|
-
|
|
85
|
-
{/* ghost paddings with sizes */}
|
|
86
|
-
--button-with-icon-ghost-xxl-padding: 16px;
|
|
87
|
-
--button-with-icon-ghost-xl-padding: 8px 12px;
|
|
88
|
-
--button-with-icon-ghost-l-padding: 4px 8px;
|
|
89
|
-
--button-with-icon-ghost-m-padding: 6px 8px;
|
|
90
|
-
--button-with-icon-ghost-s-padding: 4px;
|
|
91
|
-
--button-with-icon-ghost-xs-padding: 2px 4px;
|
|
92
|
-
--button-with-icon-ghost-xxs-padding: 1px 4px;
|
|
93
|
-
|
|
94
|
-
--button-label-ghost-xxl-padding: 16px;
|
|
95
|
-
--button-label-ghost-xl-padding: 8px 12px;
|
|
96
|
-
--button-label-ghost-l-padding: 4px 8px;
|
|
97
|
-
--button-label-ghost-m-padding: 2px 8px;
|
|
98
|
-
--button-label-ghost-s-padding: 0px 4px;
|
|
99
|
-
--button-label-ghost-xs-padding: 0px 4px;
|
|
100
|
-
--button-label-ghost-xxs-padding: 0px 4px;
|
|
101
|
-
|
|
102
|
-
--button-icon-ghost-xxl-padding: 16px;
|
|
103
|
-
--button-icon-ghost-xl-padding: 8px;
|
|
104
|
-
--button-icon-ghost-l-padding: 4px;
|
|
105
|
-
--button-icon-ghost-m-padding: 6px;
|
|
106
|
-
--button-icon-ghost-s-padding: 4px;
|
|
107
|
-
--button-icon-ghost-xs-padding: 2px;
|
|
108
|
-
--button-icon-ghost-xxs-padding: 1px;
|
|
109
|
-
|
|
110
|
-
--button-loader-ghost-xxl-padding: 28px 50px;
|
|
111
|
-
--button-loader-ghost-xl-padding: 20px 50px;
|
|
112
|
-
--button-loader-ghost-l-padding: 16px 50px;
|
|
113
|
-
--button-loader-ghost-m-padding: 14px 50px;
|
|
114
|
-
--button-loader-ghost-s-padding: 12px 50px;
|
|
115
|
-
--button-loader-ghost-xs-padding: 10px 50px;
|
|
116
|
-
--button-loader-ghost-xxs-padding: 8px 50px;
|
|
2
|
+
/* MainXL */
|
|
3
|
+
--button-transition: all 0.2s ease 0s;
|
|
4
|
+
/* Size XXL */
|
|
5
|
+
--button-xxl-gap: 0.5m;
|
|
6
|
+
--button-xxl-padding: 2m 2m;
|
|
7
|
+
--button-xxl-min-width: 56px;
|
|
8
|
+
--button-xxl-min-height: 56px;
|
|
9
|
+
/* Size XL */
|
|
10
|
+
--button-xl-gap: 0.5m;
|
|
11
|
+
--button-xl-padding: 1m 1m;
|
|
12
|
+
--button-xl-min-width: 40px;
|
|
13
|
+
--button-xl-min-height: 40px;
|
|
14
|
+
/* Size L */
|
|
15
|
+
--button-l-gap: 0.5m;
|
|
16
|
+
--button-l-padding: 0.5m 0.5m;
|
|
17
|
+
--button-l-min-width: 32px;
|
|
18
|
+
--button-l-min-height: 32px;
|
|
19
|
+
/* Size M */
|
|
20
|
+
--button-m-gap: 0.5m;
|
|
21
|
+
--button-m-padding: 0.25m 0.5m;
|
|
22
|
+
--button-m-min-width: 28px;
|
|
23
|
+
--button-m-min-height: 28px;
|
|
24
|
+
/* Size S */
|
|
25
|
+
--button-s-gap: 0.5m;
|
|
26
|
+
--button-s-padding: 0.25m 0.5m;
|
|
27
|
+
--button-s-min-width: 24px;
|
|
28
|
+
--button-s-min-height: 24px;
|
|
29
|
+
/* Size XS */
|
|
30
|
+
--button-xs-gap: 0.5m;
|
|
31
|
+
--button-xs-padding: 0.5m 0.5m;
|
|
32
|
+
--button-xs-min-width: 20px;
|
|
33
|
+
--button-xs-min-height: 20px;
|
|
34
|
+
/* Size XXS */
|
|
35
|
+
--button-xxs-gap: 0.5m;
|
|
36
|
+
--button-xxs-padding: 0.25m 0.25m;
|
|
37
|
+
--button-xxs-min-width: 16px;
|
|
38
|
+
--button-xxs-min-height: 16px;
|
|
117
39
|
}
|
|
@@ -130,13 +130,13 @@
|
|
|
130
130
|
);
|
|
131
131
|
background-size: 200%;
|
|
132
132
|
border-radius: 6px;
|
|
133
|
-
animation:
|
|
133
|
+
animation: cellSkeleton 3s infinite linear;
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
@keyframes
|
|
139
|
+
@keyframes cellSkeleton {
|
|
140
140
|
0% {
|
|
141
141
|
background-position: 200%;
|
|
142
142
|
}
|
|
@@ -69,18 +69,20 @@
|
|
|
69
69
|
}
|
|
70
70
|
.checkbox {
|
|
71
71
|
&_checkmark {
|
|
72
|
-
&_fill{
|
|
73
|
-
@each $type in accent, primary, secondary, tertiary, surface, success,
|
|
72
|
+
&_fill {
|
|
73
|
+
@each $type in accent, primary, secondary, tertiary, surface, success,
|
|
74
|
+
error {
|
|
74
75
|
&_$(type) {
|
|
75
76
|
&-item {
|
|
76
|
-
@each $color in primary, secondary, tertiary, quaternary, quinary,
|
|
77
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary,
|
|
78
|
+
senary, accent, disabled, hover {
|
|
77
79
|
&-$(color) {
|
|
78
80
|
& ^^^^^&__input {
|
|
79
81
|
&:checked {
|
|
80
82
|
& ~ ^^^^^^^&__state {
|
|
81
83
|
&-checkmark {
|
|
82
|
-
display: block;
|
|
83
84
|
border-color: var(--color-$(type)-item-$(color));
|
|
85
|
+
display: block;
|
|
84
86
|
}
|
|
85
87
|
}
|
|
86
88
|
}
|