@itcase/ui 1.2.30 → 1.2.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-TyPbVqR_.js → Badge-CHeBPRrf.js} +50 -4
- package/dist/{Badge-BZYBmgBK.js → Badge-DBeSKfoF.js} +49 -3
- package/dist/{Button-avhviao1.js → Button-C8MATksY.js} +65 -6
- package/dist/{Button-BcOsYgoT.js → Button-ChSAts3j.js} +65 -5
- package/dist/Divider-BoB-f9Gr.js +74 -0
- package/dist/Divider-DHIuQUsH.js +71 -0
- package/dist/DropdownItem-B8IMNQww.js +182 -0
- package/dist/{DropdownItem-toApJyeB.js → DropdownItem-E9HkOU63.js} +40 -13
- package/dist/{Group-Dc70Z4_7.js → Group-BCvs5UxK.js} +10 -1
- package/dist/{Group-BiN0haVp.js → Group-u6YDbMxn.js} +11 -2
- package/dist/{Icon-B2BwTQnP.js → Icon-C8ACV9r7.js} +24 -20
- package/dist/{Icon-ClsRaxDk.js → Icon-DptCmI_y.js} +24 -20
- package/dist/{Input-DbzsXvEf.js → Input-CgjHxZmK.js} +56 -3
- package/dist/{Input-BaicBuyd.js → Input-KgHOW5DR.js} +58 -5
- package/dist/{Label-fp2Bus_T.js → Label-B06hLCqo.js} +58 -8
- package/dist/{Label-BfotYOmD.js → Label-zOLL6ePu.js} +57 -8
- package/dist/{Link-CzC1kU5C.js → Link-CeQuavin.js} +1 -1
- package/dist/Loader-DHNcD09o.js +82 -0
- package/dist/Loader-DReoCdZ2.js +85 -0
- package/dist/{MenuItem-BJ3uGKCH.js → MenuItem-BXogEsbS.js} +24 -5
- package/dist/MenuItem-C7frDyBO.js +101 -0
- package/dist/{Scrollbar-CrGXCZ_F.js → Scrollbar-Bo7z7ELm.js} +10 -13
- package/dist/{Scrollbar-DVlIZzvz.js → Scrollbar-CKbA0jQU.js} +10 -13
- package/dist/{Text-kxGZButz.js → Text-C4Bg2Mv6.js} +10 -5
- package/dist/{Text-CC0xnhmx.js → Text-R6XNq6Ca.js} +11 -6
- package/dist/{Title-Ze_OL1Co.js → Title-DWIc05TX.js} +10 -8
- package/dist/{Title-CQ_Fr1hO.js → Title-YVzIwk68.js} +9 -7
- package/dist/{Tooltip-ccRCMYQM.js → Tooltip--c-4Qp04.js} +37 -4
- package/dist/{Tooltip-PrwacZFC.js → Tooltip-BswHy19O.js} +38 -5
- package/dist/cjs/components/Accordion.js +5 -39
- package/dist/cjs/components/Avatar.js +26 -13
- package/dist/cjs/components/Badge.js +3 -6
- package/dist/cjs/components/Breadcrumbs.js +4 -12
- package/dist/cjs/components/Button.js +9 -15
- package/dist/cjs/components/Caption.js +1 -2
- package/dist/cjs/components/Card.js +4 -14
- package/dist/cjs/components/Cell.js +8 -18
- package/dist/cjs/components/Checkbox.js +24 -10
- package/dist/cjs/components/Chips.js +43 -6
- package/dist/cjs/components/Choice.js +22 -15
- package/dist/cjs/components/Code.js +35 -11
- package/dist/cjs/components/ContextMenu.js +9 -26
- package/dist/cjs/components/CookiesWarning.js +11 -24
- package/dist/cjs/components/DadataHintField.js +2 -4
- package/dist/cjs/components/DatePicker.js +14 -20
- package/dist/cjs/components/Divider.js +3 -3
- package/dist/cjs/components/Dot.js +2 -4
- package/dist/cjs/components/Dropdown.js +5 -6
- package/dist/cjs/components/Flex.js +1 -2
- package/dist/cjs/components/Grid.js +2 -9
- package/dist/cjs/components/Group.js +2 -4
- package/dist/cjs/components/HTMLContent.js +1 -2
- package/dist/cjs/components/Icon.js +6 -11
- package/dist/cjs/components/Image.js +1 -2
- package/dist/cjs/components/Input.js +2 -4
- package/dist/cjs/components/InputMask.js +8 -10
- package/dist/cjs/components/InputPassword.js +62 -14
- package/dist/cjs/components/Label.js +6 -10
- package/dist/cjs/components/LanguageSelector.js +6 -11
- package/dist/cjs/components/Link.js +1 -2
- package/dist/cjs/components/List.js +0 -1
- package/dist/cjs/components/Loader.js +3 -6
- package/dist/cjs/components/Logo.js +1 -2
- package/dist/cjs/components/Menu.js +3 -6
- package/dist/cjs/components/MenuItem.js +3 -6
- package/dist/cjs/components/Modal.js +31 -10
- package/dist/cjs/components/ModalSheetBottom.js +34 -0
- package/dist/cjs/components/Notification.js +43 -11
- package/dist/cjs/components/Overlay.js +1 -2
- package/dist/cjs/components/Page.js +4 -47
- package/dist/cjs/components/Pagination.js +7 -12
- package/dist/cjs/components/Panel.js +3 -6
- package/dist/cjs/components/Radio.js +23 -8
- package/dist/cjs/components/RangeSlider.js +1 -2
- package/dist/cjs/components/Response.js +250 -31
- package/dist/cjs/components/SVGContent.js +1 -2
- package/dist/cjs/components/ScrollOnDrag.js +1 -2
- package/dist/cjs/components/ScrollToView.js +1 -2
- package/dist/cjs/components/Scrollbar.js +1 -1
- package/dist/cjs/components/Search.js +21 -19
- package/dist/cjs/components/Segmented.js +16 -6
- package/dist/cjs/components/Select.js +31 -16
- package/dist/cjs/components/SiteMenu.js +22 -13
- package/dist/cjs/components/Swiper.js +7 -10
- package/dist/cjs/components/Switch.js +15 -3
- package/dist/cjs/components/Tab.js +105 -9
- package/dist/cjs/components/Text.js +2 -4
- package/dist/cjs/components/Textarea.js +58 -5
- package/dist/cjs/components/Tile.js +26 -10
- package/dist/cjs/components/Title.js +2 -4
- package/dist/cjs/components/Tooltip.js +4 -8
- package/dist/cjs/components/Video.js +1 -2
- package/dist/cjs/components/Wrapper.js +4 -9
- package/dist/cjs/context/Notifications.js +0 -5
- package/dist/cjs/context/UIContext.js +0 -9
- package/dist/cjs/hooks/useDeviceTargetClass.js +1 -2
- package/dist/cjs/hooks/useStyles.js +0 -1
- package/dist/components/Accordion.js +7 -41
- package/dist/components/Avatar.js +27 -15
- package/dist/components/Badge.js +3 -6
- package/dist/components/Breadcrumbs.js +6 -14
- package/dist/components/Button.js +9 -16
- package/dist/components/Caption.js +1 -2
- package/dist/components/Card.js +4 -14
- package/dist/components/Cell.js +9 -19
- package/dist/components/Checkbox.js +22 -8
- package/dist/components/Chips.js +42 -6
- package/dist/components/Choice.js +22 -15
- package/dist/components/Code.js +36 -13
- package/dist/components/ContextMenu.js +10 -27
- package/dist/components/CookiesWarning.js +12 -25
- package/dist/components/DadataHintField.js +3 -5
- package/dist/components/DatePicker.js +15 -21
- package/dist/components/Divider.js +2 -3
- package/dist/components/Dot.js +2 -4
- package/dist/components/Dropdown.js +6 -8
- package/dist/components/Flex.js +1 -2
- package/dist/components/Grid.js +2 -9
- package/dist/components/Group.js +2 -4
- package/dist/components/HTMLContent.js +1 -2
- package/dist/components/Icon.js +7 -12
- package/dist/components/Image.js +1 -2
- package/dist/components/Input.js +2 -4
- package/dist/components/InputMask.js +8 -10
- package/dist/components/InputPassword.js +61 -13
- package/dist/components/Label.js +5 -10
- package/dist/components/LanguageSelector.js +7 -12
- package/dist/components/Link.js +3 -4
- package/dist/components/List.js +2 -3
- package/dist/components/Loader.js +3 -6
- package/dist/components/Logo.js +3 -4
- package/dist/components/Menu.js +5 -8
- package/dist/components/MenuItem.js +5 -8
- package/dist/components/Modal.js +31 -11
- package/dist/components/ModalSheetBottom.js +32 -0
- package/dist/components/Notification.js +43 -12
- package/dist/components/Overlay.js +1 -2
- package/dist/components/Page.js +4 -47
- package/dist/components/Pagination.js +9 -14
- package/dist/components/Panel.js +3 -6
- package/dist/components/Radio.js +21 -6
- package/dist/components/RangeSlider.js +1 -2
- package/dist/components/Response.js +250 -32
- package/dist/components/SVGContent.js +1 -2
- package/dist/components/ScrollOnDrag.js +2 -3
- package/dist/components/ScrollToView.js +1 -2
- package/dist/components/Scrollbar.js +1 -1
- package/dist/components/Search.js +21 -19
- package/dist/components/Segmented.js +15 -5
- package/dist/components/Select.js +32 -17
- package/dist/components/SiteMenu.js +23 -15
- package/dist/components/Swiper.js +7 -10
- package/dist/components/Switch.js +15 -4
- package/dist/components/Tab.js +106 -11
- package/dist/components/Text.js +2 -4
- package/dist/components/Textarea.js +56 -3
- package/dist/components/Tile.js +26 -11
- package/dist/components/Title.js +2 -4
- package/dist/components/Tooltip.js +4 -8
- package/dist/components/Video.js +1 -2
- package/dist/components/Wrapper.js +4 -9
- package/dist/context/Notifications.js +1 -6
- package/dist/context/UIContext.js +0 -9
- package/dist/css/components/Accordion/Accordion.tokens.css +4 -0
- package/dist/css/components/Avatar/Avatar.css +2 -2
- package/dist/css/components/Avatar/Avatar.tokens.css +2 -0
- package/dist/css/components/Button/Button.tokens.css +117 -0
- package/dist/css/components/Checkbox/Checkbox.tokens.css +4 -0
- package/dist/css/components/Chips/Chips.tokens.css +9 -0
- package/dist/css/components/Choice/Choice.tokens.css +17 -0
- package/dist/css/components/Code/Code.tokens.css +5 -0
- package/dist/css/components/DadataHintField/DadataHintField.tokens.css +4 -0
- package/dist/css/components/DatePicker/DatePicker.tokens.css +38 -0
- package/dist/css/components/Dot/Dot.tokens.css +10 -0
- package/dist/css/components/Dropdown/Dropdown.tokens.css +33 -0
- package/dist/css/components/Grid/Grid.tokens.css +4 -0
- package/dist/css/components/Group/Group.tokens.css +3 -0
- package/dist/css/components/Icon/Icon.css +7 -7
- package/dist/css/components/Icon/Icon.tokens.css +3 -0
- package/dist/css/components/Image/Image.tokens.css +3 -0
- package/dist/css/components/Input/Input.tokens.css +29 -0
- package/dist/css/components/InputPassword/InputPassword.tokens.css +23 -0
- package/dist/css/components/Label/Label.tokens.css +19 -0
- package/dist/css/components/Loader/Loader.tokens.css +3 -0
- package/dist/css/components/Logo/Logo.tokens.css +10 -0
- package/dist/css/components/Menu/Menu.tokens.css +5 -0
- package/dist/css/components/MenuItem/MenuItem.tokens.css +9 -0
- package/dist/css/components/ModalSheetBottom/ModalSheetBottom.css +36 -0
- package/dist/css/components/Overlay/Overlay.tokens.css +4 -0
- package/dist/css/components/Pagination/Pagination.tokens.css +25 -0
- package/dist/css/components/Radio/Radio.tokens.css +3 -0
- package/dist/css/components/Search/Search.tokens.css +8 -0
- package/dist/css/components/Segmented/Segmented.tokens.css +4 -0
- package/dist/css/components/Select/Select.tokens.css +29 -0
- package/dist/css/components/Switch/Switch.tokens.css +7 -0
- package/dist/css/components/Tab/Tab.tokens.css +28 -0
- package/dist/css/components/Textarea/Textarea.tokens.css +7 -0
- package/dist/css/components/Tile/Tile.tokens.css +9 -0
- package/dist/css/styles/svg-color/svg_fill.css +3 -0
- package/dist/css/styles/svg-color/svg_path_fill.css +15 -0
- package/dist/css/tokens/typography.css +1 -1
- package/dist/hooks/useDeviceTargetClass.js +1 -2
- package/dist/hooks/useStyles.js +0 -1
- package/dist/stories/Appearance.stories.js +2 -2
- package/dist/stories/Badge.stories.js +1 -1
- package/dist/stories/Button.stories.js +3 -3
- package/dist/stories/Checkbox.stories.js +1 -1
- package/dist/stories/Chips.stories.js +1 -1
- package/dist/stories/DatePicker.stories.js +1 -1
- package/dist/stories/Group.stories.js +2 -2
- package/dist/stories/Icon.stories.js +2 -2
- package/dist/stories/Input.stories.js +1 -1
- package/dist/stories/InputPassword.stories.js +1 -1
- package/dist/stories/Label.stories.js +1 -1
- package/dist/stories/Loader.stories.js +1 -1
- package/dist/stories/MenuItem.stories.js +1 -1
- package/dist/stories/ModalConfirm.stories.js +1 -1
- package/dist/stories/ModalDefault.stories.js +1 -1
- package/dist/stories/ModalSheetBottom.stories.js +47 -0
- package/dist/stories/Notification.stories.js +2 -2
- package/dist/stories/Radio.stories.js +1 -1
- package/dist/stories/Response.stories.js +38 -12
- package/dist/stories/SearchInput.stories.js +1 -1
- package/dist/stories/Size.stories.js +2 -2
- package/dist/stories/State.stories.js +2 -2
- package/dist/stories/Textarea.stories.js +1 -1
- package/dist/stories/Tile.stories.js +4 -4
- package/dist/stories/Tooltip.stories.js +1 -1
- package/dist/{tslib.es6-w7hdJ3oZ.js → tslib.es6-5FtW-kfi.js} +1 -1
- package/dist/types/components/Avatar/Avatar.appearance.d.ts +2 -0
- package/dist/types/components/Avatar/Avatar.d.ts +3 -2
- package/dist/types/components/Avatar/Avatar.interface.d.ts +25 -11
- package/dist/types/components/Avatar/index.d.ts +1 -1
- package/dist/types/components/Badge/Badge.d.ts +6 -0
- package/dist/types/components/Breadcrumbs/BreadcrumbsItem.d.ts +0 -5
- package/dist/types/components/Button/Button.appearance.d.ts +2 -0
- package/dist/types/components/Button/Button.interface.d.ts +6 -6
- package/dist/types/components/Button/index.d.ts +1 -0
- package/dist/types/components/Card/Card.d.ts +0 -10
- package/dist/types/components/Cell/Cell.d.ts +0 -6
- package/dist/types/components/Checkbox/Checkbox.d.ts +0 -5
- package/dist/types/components/Chips/Chips.appearance.d.ts +2 -0
- package/dist/types/components/Chips/index.d.ts +1 -0
- package/dist/types/components/Choice/Choice.appearance.d.ts +2 -0
- package/dist/types/components/Code/Code.appearance.d.ts +2 -0
- package/dist/types/components/Code/Code.d.ts +6 -8
- package/dist/types/components/Code/Code.interface.d.ts +21 -2
- package/dist/types/components/Code/index.d.ts +1 -1
- package/dist/types/components/ContextMenu/ContextMenu.d.ts +0 -5
- package/dist/types/components/CookiesWarning/CookiesWarning.d.ts +0 -7
- package/dist/types/components/DatePicker/DatePicker.appearance.d.ts +2 -0
- package/dist/types/components/Divider/Divider.appearance.d.ts +2 -0
- package/dist/types/components/Divider/Divider.d.ts +3 -2
- package/dist/types/components/Divider/Divider.interface.d.ts +11 -0
- package/dist/types/components/Divider/index.d.ts +1 -1
- package/dist/types/components/Dot/Dot.d.ts +0 -3
- package/dist/types/components/Dropdown/Dropdown.d.ts +0 -7
- package/dist/types/components/Dropdown/Dropdown.interface.d.ts +28 -15
- package/dist/types/components/Dropdown/DropdownItem.appearance.d.ts +2 -0
- package/dist/types/components/Dropdown/DropdownItem.d.ts +5 -4
- package/dist/types/components/Dropdown/index.d.ts +2 -2
- package/dist/types/components/Grid/Grid.d.ts +0 -5
- package/dist/types/components/Grid/GridRow.d.ts +0 -5
- package/dist/types/components/Group/Group.appearance.d.ts +2 -0
- package/dist/types/components/Icon/Icon.appearance.d.ts +2 -0
- package/dist/types/{appearance/Input/index.d.ts → components/Input/Input.appearance.d.ts} +1 -1
- package/dist/types/{appearance/InputPassword/index.d.ts → components/InputPassword/InputPassword.appearance.d.ts} +1 -1
- package/dist/types/components/Label/Label.appearance.d.ts +2 -0
- package/dist/types/components/Label/Label.d.ts +0 -5
- package/dist/types/components/Label/Label.interface.d.ts +6 -6
- package/dist/types/components/Label/index.d.ts +1 -0
- package/dist/types/components/Loader/Loader.appearance.d.ts +2 -0
- package/dist/types/components/Loader/Loader.interface.d.ts +3 -3
- package/dist/types/components/MenuItem/MenuItem.appearance.d.ts +2 -0
- package/dist/types/components/MenuItem/MenuItem.interface.d.ts +2 -2
- package/dist/types/components/Modal/Modal.appearance.d.ts +2 -0
- package/dist/types/components/Modal/Modal.d.ts +3 -2
- package/dist/types/components/Modal/Modal.interface.d.ts +22 -6
- package/dist/types/components/Modal/index.d.ts +2 -2
- package/dist/types/components/ModalSheetBottom/ModalSheetBottom.d.ts +3 -0
- package/dist/types/components/ModalSheetBottom/ModalSheetBottom.interface.d.ts +11 -0
- package/dist/types/components/ModalSheetBottom/index.d.ts +1 -0
- package/dist/types/components/Notification/Notification.interface.d.ts +8 -7
- package/dist/types/components/Notification/NotificationItem.appearance.d.ts +2 -0
- package/dist/types/components/Notification/index.d.ts +2 -1
- package/dist/types/components/Page/Page.d.ts +3 -0
- package/dist/types/components/Page/Page.interface.d.ts +18 -0
- package/dist/types/components/Page/index.d.ts +1 -42
- package/dist/types/components/Radio/Radio.d.ts +0 -1
- package/dist/types/components/Response/Response.appearance.d.ts +2 -0
- package/dist/types/components/Response/Response.interface.d.ts +4 -4
- package/dist/types/components/Response/index.d.ts +1 -0
- package/dist/types/components/Scrollbar/Scrollbar.d.ts +0 -5
- package/dist/types/components/Search/Search.appearance.d.ts +2 -0
- package/dist/types/components/Search/Search.interface.d.ts +9 -9
- package/dist/types/components/Segmented/Segmented.appearance.d.ts +2 -0
- package/dist/types/components/Select/Select.appearance.d.ts +2 -0
- package/dist/types/components/SiteMenu/SiteMenu.appearance.d.ts +2 -0
- package/dist/types/components/SiteMenu/SiteMenu.d.ts +3 -2
- package/dist/types/components/SiteMenu/SiteMenu.interface.d.ts +18 -5
- package/dist/types/components/SiteMenu/index.d.ts +2 -2
- package/dist/types/components/Swiper/Swiper.d.ts +0 -1
- package/dist/types/components/Switch/Switch.appearance.d.ts +2 -0
- package/dist/types/components/Switch/Switch.d.ts +3 -2
- package/dist/types/components/Switch/Switch.interface.d.ts +17 -4
- package/dist/types/components/Switch/index.d.ts +1 -1
- package/dist/types/components/Tab/Tab.appearance.d.ts +2 -0
- package/dist/types/components/Tab/index.d.ts +3 -3
- package/dist/types/components/Text/Text.d.ts +0 -5
- package/dist/types/components/Text/Text.interface.d.ts +1 -1
- package/dist/types/components/Tile/Tile.appearance.d.ts +2 -0
- package/dist/types/components/Tile/Tile.d.ts +3 -2
- package/dist/types/components/Tile/Tile.interface.d.ts +21 -9
- package/dist/types/components/Tile/index.d.ts +1 -1
- package/dist/types/components/Title/Title.appearance.d.ts +2 -0
- package/dist/types/components/Title/Title.d.ts +0 -5
- package/dist/types/components/Video/Video.interface.d.ts +1 -1
- package/dist/types/components/Wrapper/Wrapper.d.ts +0 -6
- package/dist/types/context/Notifications.d.ts +0 -7
- package/dist/types/context/UIContext.d.ts +10 -2
- package/dist/types/types/componentProps/appearanceKeys.d.ts +1 -1
- package/package.json +14 -16
- package/dist/Divider-BjB5MD6u.js +0 -50
- package/dist/Divider-U5UdY-ef.js +0 -48
- package/dist/DropdownItem-CFkRx8LX.js +0 -156
- package/dist/Loader-CU_5Ydmy.js +0 -53
- package/dist/Loader-Ck59IXGG.js +0 -56
- package/dist/MenuItem-BEYVY0Vf.js +0 -82
- package/dist/appearance/Badge.js +0 -44
- package/dist/appearance/Button.js +0 -53
- package/dist/appearance/Checkbox.js +0 -21
- package/dist/appearance/Chips.js +0 -40
- package/dist/appearance/Choice.js +0 -15
- package/dist/appearance/DatePicker.js +0 -5
- package/dist/appearance/Group.js +0 -11
- package/dist/appearance/Icon.js +0 -12
- package/dist/appearance/Input.js +0 -56
- package/dist/appearance/InputPassword.js +0 -55
- package/dist/appearance/Label.js +0 -54
- package/dist/appearance/Loader.js +0 -28
- package/dist/appearance/MenuItem.js +0 -10
- package/dist/appearance/Notification.js +0 -34
- package/dist/appearance/Radio.js +0 -20
- package/dist/appearance/Response.js +0 -92
- package/dist/appearance/Search.js +0 -11
- package/dist/appearance/Segmented.js +0 -14
- package/dist/appearance/Select.js +0 -24
- package/dist/appearance/Tab.js +0 -118
- package/dist/appearance/Text.js +0 -8
- package/dist/appearance/Textarea.js +0 -56
- package/dist/appearance/Title.js +0 -7
- package/dist/appearance/Tooltip.js +0 -19
- package/dist/cjs/appearance/Badge.js +0 -46
- package/dist/cjs/appearance/Button.js +0 -55
- package/dist/cjs/appearance/Checkbox.js +0 -24
- package/dist/cjs/appearance/Chips.js +0 -42
- package/dist/cjs/appearance/Choice.js +0 -17
- package/dist/cjs/appearance/DatePicker.js +0 -7
- package/dist/cjs/appearance/Group.js +0 -13
- package/dist/cjs/appearance/Icon.js +0 -14
- package/dist/cjs/appearance/Input.js +0 -59
- package/dist/cjs/appearance/InputPassword.js +0 -58
- package/dist/cjs/appearance/Label.js +0 -56
- package/dist/cjs/appearance/Loader.js +0 -30
- package/dist/cjs/appearance/MenuItem.js +0 -12
- package/dist/cjs/appearance/Notification.js +0 -36
- package/dist/cjs/appearance/Radio.js +0 -23
- package/dist/cjs/appearance/Response.js +0 -94
- package/dist/cjs/appearance/Search.js +0 -13
- package/dist/cjs/appearance/Segmented.js +0 -16
- package/dist/cjs/appearance/Select.js +0 -26
- package/dist/cjs/appearance/Tab.js +0 -120
- package/dist/cjs/appearance/Text.js +0 -10
- package/dist/cjs/appearance/Textarea.js +0 -59
- package/dist/cjs/appearance/Title.js +0 -9
- package/dist/cjs/appearance/Tooltip.js +0 -21
- package/dist/types/appearance/Badge/index.d.ts +0 -2
- package/dist/types/appearance/Button/index.d.ts +0 -2
- package/dist/types/appearance/Chips/index.d.ts +0 -2
- package/dist/types/appearance/Choice/index.d.ts +0 -2
- package/dist/types/appearance/DatePicker/index.d.ts +0 -2
- package/dist/types/appearance/Group/index.d.ts +0 -2
- package/dist/types/appearance/Icon/index.d.ts +0 -2
- package/dist/types/appearance/Label/index.d.ts +0 -2
- package/dist/types/appearance/Loader/index.d.ts +0 -2
- package/dist/types/appearance/MenuItem/index.d.ts +0 -2
- package/dist/types/appearance/Notification/index.d.ts +0 -2
- package/dist/types/appearance/Response/index.d.ts +0 -2
- package/dist/types/appearance/Search/index.d.ts +0 -2
- package/dist/types/appearance/Segmented/index.d.ts +0 -2
- package/dist/types/appearance/Select/index.d.ts +0 -2
- package/dist/types/appearance/Tab/index.d.ts +0 -2
- package/dist/types/appearance/Title/index.d.ts +0 -2
- package/dist/types/constants/componentProps/align.d.ts +0 -2
- package/dist/types/constants/componentProps/alignDirection.d.ts +0 -2
- package/dist/types/constants/componentProps/fill.d.ts +0 -2
- package/dist/types/constants/componentProps/horizontalResizeMode.d.ts +0 -2
- package/dist/types/constants/componentProps/position.d.ts +0 -2
- package/dist/types/constants/componentProps/verticalResizeMode.d.ts +0 -2
- package/dist/types/icons/index.d.ts +0 -10
- /package/dist/css/{styles → mediaqueries}/mediaqueries.css +0 -0
- /package/dist/types/components/Badge/{Badge.appearance.d.ts → Badge.appearance..d.ts} +0 -0
- /package/dist/types/{appearance/Checkbox/index.d.ts → components/Checkbox/Checkbox.appearance.d.ts} +0 -0
- /package/dist/types/{appearance/Radio/index.d.ts → components/Radio/Radio.appearance.d.ts} +0 -0
- /package/dist/types/{appearance/Text/index.d.ts → components/Text/Text.appearance.d.ts} +0 -0
- /package/dist/types/{appearance/Textarea/index.d.ts → components/Textarea/Textarea.appearance.d.ts} +0 -0
- /package/dist/types/{appearance/Tooltip/index.d.ts → components/Tooltip/Tooltip.appearance.d.ts} +0 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
.modal-sheet-bottom {
|
|
2
|
+
position: relative;
|
|
3
|
+
&__container {
|
|
4
|
+
background-color: var(
|
|
5
|
+
--modal-sheet-bottom-container-background,
|
|
6
|
+
var(--color-surface-primary)
|
|
7
|
+
) !important;
|
|
8
|
+
border-radius: var(--modal-sheet-bottom-container-border-radius, 8px 8px 0 0) !important;
|
|
9
|
+
}
|
|
10
|
+
&__header {
|
|
11
|
+
height: 32px;
|
|
12
|
+
& .react-modal-sheet-header {
|
|
13
|
+
max-height: 32px;
|
|
14
|
+
}
|
|
15
|
+
& .react-modal-sheet-drag-indicator {
|
|
16
|
+
background-color: var(
|
|
17
|
+
--modal-sheet-bottom-header-grabber,
|
|
18
|
+
var(--color-surface-item-primary)
|
|
19
|
+
) !important;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
&__content {
|
|
23
|
+
margin: 0 0 32px 0;
|
|
24
|
+
}
|
|
25
|
+
&__backdrop {
|
|
26
|
+
background-color: var(
|
|
27
|
+
--modal-sheet-bottom-backdrop,
|
|
28
|
+
var(--color-surface-inverse-50)
|
|
29
|
+
) !important;
|
|
30
|
+
}
|
|
31
|
+
&__close {
|
|
32
|
+
position: absolute;
|
|
33
|
+
top: 8px;
|
|
34
|
+
right: 8px;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--paginator-margin: 0;
|
|
3
|
+
|
|
4
|
+
--paginator-item-width: 32px;
|
|
5
|
+
--paginator-item-height: 32px;
|
|
6
|
+
--paginator-item-border: none;
|
|
7
|
+
--paginator-item-border-radius: 50%;
|
|
8
|
+
|
|
9
|
+
--pagination-item-state-disabled-display: none;
|
|
10
|
+
|
|
11
|
+
--paginator-item-transition: all 0.2s ease 0s;
|
|
12
|
+
|
|
13
|
+
--paginator-item-default-fill: var(--color-surface-primary);
|
|
14
|
+
--paginator-item-default-fill-hover: var(--color-surface-primary-hover);
|
|
15
|
+
--paginator-item-default-text: var(--color-surface-text-primary);
|
|
16
|
+
|
|
17
|
+
--paginator-item-active-fill: var(--color-accent-primary);
|
|
18
|
+
--paginator-item-active-fill-hover: var(--color-accent-primary);
|
|
19
|
+
--paginator-item-active-text: var(--color-accent-text-primary);
|
|
20
|
+
|
|
21
|
+
--paginator-item-disabled-fill: none;
|
|
22
|
+
--paginator-item-disabled-fill-hover: none;
|
|
23
|
+
--paginator-item-disabled-text: var(--color-surface-text-primary);
|
|
24
|
+
--paginator-item-disabled-icon: var(--color-surface-item-disabled);
|
|
25
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--select-size-xs-padding: 0px 8px;
|
|
3
|
+
--select-size-s-padding: 3px 10px;
|
|
4
|
+
--select-size-m-padding: 5px 12px;
|
|
5
|
+
--select-size-l-padding: 7px 15px;
|
|
6
|
+
--select-size-xl-padding: 11px 20px;
|
|
7
|
+
--select-size-xxl-padding: 15px 25px;
|
|
8
|
+
|
|
9
|
+
--select-size-tiny-padding: 0px 8px;
|
|
10
|
+
--select-size-compact-padding: 3px 10px;
|
|
11
|
+
--select-size-normal-padding: 5px 12px;
|
|
12
|
+
--select-size-large-padding: 7px 15px;
|
|
13
|
+
|
|
14
|
+
--select-menu-border-radius: 12px;
|
|
15
|
+
--select-menu-margin: 0;
|
|
16
|
+
|
|
17
|
+
--select-multi-value-padding: 2px 6px;
|
|
18
|
+
|
|
19
|
+
--select-control-shape-rounded: 8px;
|
|
20
|
+
|
|
21
|
+
--select-success-border: var(--color-surface-border-tertiary);
|
|
22
|
+
|
|
23
|
+
--select-menu-list-item-size-xs-padding: 2px 8px;
|
|
24
|
+
--select-menu-list-item-size-s-padding: 6px 10px;
|
|
25
|
+
--select-menu-list-item-size-m-padding: 8px 12px;
|
|
26
|
+
--select-menu-list-item-size-l-padding: 10px 12px;
|
|
27
|
+
--select-menu-list-item-size-xl-padding: 14px 20px;
|
|
28
|
+
--select-menu-list-item-size-xxl-padding: 18px 25px;
|
|
29
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--tab-size-normal-padding: 12px;
|
|
3
|
+
--tab-size-normal-gap: 4px;
|
|
4
|
+
|
|
5
|
+
--tab-size-compact-padding: 12px;
|
|
6
|
+
--tab-size-compact-gap: 4px;
|
|
7
|
+
|
|
8
|
+
--tab-size-xxs-padding: 0px;
|
|
9
|
+
--tab-size-xxs-gap: 4px;
|
|
10
|
+
|
|
11
|
+
--tab-size-xs-padding: 3px;
|
|
12
|
+
--tab-size-xs-gap: 4px;
|
|
13
|
+
|
|
14
|
+
--tab-size-s-padding: 5px;
|
|
15
|
+
--tab-size-s-gap: 4px;
|
|
16
|
+
|
|
17
|
+
--tab-size-m-padding: 7px;
|
|
18
|
+
--tab-size-m-gap: 4px;
|
|
19
|
+
|
|
20
|
+
--tab-size-l-padding: 11px;
|
|
21
|
+
--tab-size-l-gap: 4px;
|
|
22
|
+
|
|
23
|
+
--tab-size-xl-padding: 15px;
|
|
24
|
+
--tab-size-xl-gap: 4px;
|
|
25
|
+
|
|
26
|
+
--tab-size-xxl-padding: 19px;
|
|
27
|
+
--tab-size-xxl-gap: 4px;
|
|
28
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.svg_path_fill {
|
|
2
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error {
|
|
3
|
+
&_$(type) {
|
|
4
|
+
&-item {
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover, inverse {
|
|
6
|
+
&-$(color) {
|
|
7
|
+
& path {
|
|
8
|
+
fill: var(--color-$(type)-item-$(color));
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { useMemo } from 'react';
|
|
2
|
-
import castArray from 'lodash/castArray';
|
|
3
2
|
import camelCase from 'lodash/camelCase';
|
|
3
|
+
import castArray from 'lodash/castArray';
|
|
4
4
|
import { useUserDeviceContext } from '../context/UIContext.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
|
-
import 'prop-types';
|
|
7
6
|
import './useMediaQueries.js';
|
|
8
7
|
import 'react-responsive';
|
|
9
8
|
|
package/dist/hooks/useStyles.js
CHANGED
|
@@ -5,7 +5,6 @@ import upperFirst from 'lodash/upperFirst';
|
|
|
5
5
|
import { useUserDeviceContext } from '../context/UIContext.js';
|
|
6
6
|
import styleAttributes from './styleAttributes.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
|
-
import 'prop-types';
|
|
9
8
|
import './useMediaQueries.js';
|
|
10
9
|
import 'react-responsive';
|
|
11
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { badgeAppearance } from '../../../appearance/Badge'
|
|
2
|
-
import { tabAppearance } from '../../../appearance/Tab'
|
|
3
1
|
import { badgeConfig } from '../../Badge'
|
|
2
|
+
import { badgeAppearance } from '../../Badge/Badge.appearance.'
|
|
4
3
|
import { Tab, tabConfig } from '../Tab'
|
|
4
|
+
import { tabAppearance } from '../Tab.appearance'
|
|
5
5
|
import { argTypes } from './args'
|
|
6
6
|
|
|
7
7
|
tabConfig.setAppearance(tabAppearance)
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { badgeAppearance } from '../../../appearance/Badge'
|
|
2
1
|
import {
|
|
3
2
|
borderColorHoverProps,
|
|
4
3
|
borderColorProps,
|
|
@@ -10,6 +9,7 @@ import {
|
|
|
10
9
|
textColorProps,
|
|
11
10
|
} from '../../../constants'
|
|
12
11
|
import { Badge, badgeConfig } from '../Badge'
|
|
12
|
+
import { badgeAppearance } from '../Badge.appearance.'
|
|
13
13
|
|
|
14
14
|
badgeConfig.setAppearance(badgeAppearance)
|
|
15
15
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { buttonAppearance } from '../../../appearance/Button'
|
|
3
|
-
import { icon24 } from '../../../icons'
|
|
1
|
+
// import { icon24 } from '../../../___icons'
|
|
4
2
|
import { Badge, badgeConfig } from '../../Badge'
|
|
3
|
+
import { badgeAppearance } from '../../Badge/Badge.appearance.'
|
|
5
4
|
import { Button, buttonConfig } from '../Button'
|
|
5
|
+
import { buttonAppearance } from '../Button.appearance'
|
|
6
6
|
import { argTypes } from './args'
|
|
7
7
|
|
|
8
8
|
badgeConfig.setAppearance(badgeAppearance)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { checkboxState } from '../../../appearance/Checkbox'
|
|
2
1
|
import { fillProps, textColorProps, textSizeProps } from '../../../constants'
|
|
3
2
|
import { Checkbox, checkboxConfig } from '../Checkbox'
|
|
3
|
+
import { checkboxState } from '../Checkbox.appearance'
|
|
4
4
|
|
|
5
5
|
checkboxConfig.setState(checkboxState)
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { chipsAppearance } from '../../../appearance/Chips'
|
|
2
1
|
import { Icon } from '../../Icon'
|
|
3
2
|
import { Chips, chipsConfig } from '../Chips'
|
|
3
|
+
import { chipsAppearance } from '../Chips.appearance'
|
|
4
4
|
import { argTypes } from './args'
|
|
5
5
|
|
|
6
6
|
chipsConfig.setAppearance(chipsAppearance)
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { badgeAppearance } from '../../../appearance/Badge'
|
|
2
|
-
import { tabAppearance } from '../../../appearance/Tab'
|
|
3
1
|
import {
|
|
4
2
|
directionProps,
|
|
5
3
|
fillProps,
|
|
@@ -9,7 +7,9 @@ import {
|
|
|
9
7
|
wrapProps,
|
|
10
8
|
} from '../../../constants'
|
|
11
9
|
import { badgeConfig } from '../../Badge'
|
|
10
|
+
import { badgeAppearance } from '../../Badge/Badge.appearance.'
|
|
12
11
|
import { Tab, tabConfig } from '../Tab'
|
|
12
|
+
import { tabAppearance } from '../Tab.appearance'
|
|
13
13
|
import { TabGroup } from '../TabGroup'
|
|
14
14
|
|
|
15
15
|
tabConfig.setAppearance(tabAppearance)
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { badgeAppearance } from '../../../appearance/Badge'
|
|
2
|
-
import { iconAppearance } from '../../../appearance/Icon'
|
|
3
1
|
import {
|
|
4
2
|
borderColorHoverProps,
|
|
5
3
|
borderColorProps,
|
|
@@ -11,7 +9,9 @@ import {
|
|
|
11
9
|
sizePXProps,
|
|
12
10
|
} from '../../../constants'
|
|
13
11
|
import { Badge, badgeConfig } from '../../Badge'
|
|
12
|
+
import { badgeAppearance } from '../../Badge/Badge.appearance.'
|
|
14
13
|
import { Icon, iconConfig } from '../Icon'
|
|
14
|
+
import { iconAppearance } from '../Icon.appearance'
|
|
15
15
|
|
|
16
16
|
iconConfig.setAppearance(iconAppearance)
|
|
17
17
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { inputState } from '../../../appearance/Input'
|
|
2
1
|
import { borderColorProps, textColorProps, textSizeProps } from '../../../constants'
|
|
3
2
|
import { Input, inputConfig } from '../Input'
|
|
3
|
+
import { inputState } from '../Input.appearance'
|
|
4
4
|
|
|
5
5
|
inputConfig.setState(inputState)
|
|
6
6
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { InputPasswordState } from '../../../appearance/InputPassword'
|
|
2
1
|
import {
|
|
3
2
|
borderColorProps,
|
|
4
3
|
fillProps,
|
|
@@ -7,6 +6,7 @@ import {
|
|
|
7
6
|
textSizeProps,
|
|
8
7
|
} from '../../../constants'
|
|
9
8
|
import { InputPassword, inputPasswordConfig } from '../InputPassword'
|
|
9
|
+
import { InputPasswordState } from '../InputPassword.appearance'
|
|
10
10
|
|
|
11
11
|
inputPasswordConfig.setState(InputPasswordState)
|
|
12
12
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { labelAppearance } from '../../../appearance/Label'
|
|
2
1
|
import {
|
|
3
2
|
borderColorProps,
|
|
4
3
|
borderTypeProps,
|
|
@@ -10,6 +9,7 @@ import {
|
|
|
10
9
|
widthProps,
|
|
11
10
|
} from '../../../constants'
|
|
12
11
|
import { Label, labelConfig } from '../Label'
|
|
12
|
+
import { labelAppearance } from '../Label.appearance'
|
|
13
13
|
|
|
14
14
|
labelConfig.setAppearance(labelAppearance)
|
|
15
15
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { loaderAppearance } from '../../../appearance/Loader'
|
|
2
1
|
import {
|
|
3
2
|
heightProps,
|
|
4
3
|
positionProps,
|
|
@@ -7,6 +6,7 @@ import {
|
|
|
7
6
|
widthProps,
|
|
8
7
|
} from '../../../constants'
|
|
9
8
|
import { Loader, loaderConfig } from '../Loader'
|
|
9
|
+
import { loaderAppearance } from '../Loader.appearance'
|
|
10
10
|
|
|
11
11
|
loaderConfig.setAppearance(loaderAppearance)
|
|
12
12
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { menuItemAppearance } from '../../../appearance/MenuItem'
|
|
2
1
|
import {
|
|
3
2
|
fillProps,
|
|
4
3
|
shapeProps,
|
|
@@ -14,6 +13,7 @@ import {
|
|
|
14
13
|
underlineProps,
|
|
15
14
|
} from '../../../constants'
|
|
16
15
|
import { MenuItem, menuItemConfig } from '../MenuItem'
|
|
16
|
+
import { menuItemAppearance } from '../MenuItem.appearance'
|
|
17
17
|
|
|
18
18
|
menuItemConfig.setAppearance(menuItemAppearance)
|
|
19
19
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { buttonAppearance } from '../../../appearance/Button'
|
|
2
1
|
import { Button, buttonConfig } from '../../Button'
|
|
2
|
+
import { buttonAppearance } from '../../Button/Button.appearance'
|
|
3
3
|
import { Group } from '../../Group'
|
|
4
4
|
import { Title } from '../../Title'
|
|
5
5
|
import { Modal } from '../Modal'
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Group } from '../../Group'
|
|
2
|
+
import { Icon } from '../../Icon'
|
|
3
|
+
import { Text } from '../../Text'
|
|
4
|
+
import { ModalSheetBottom } from '../ModalSheetBottom'
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
argTypes: {},
|
|
8
|
+
component: ModalSheetBottom,
|
|
9
|
+
title: 'Molecules / ModalSheetBottom ',
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const Default = {
|
|
13
|
+
args: {
|
|
14
|
+
children: (
|
|
15
|
+
<Group padding="20px 12px" direction="vertical" justifyContent="center">
|
|
16
|
+
<Text size="m" textColor="surfaceTextPrimary">
|
|
17
|
+
company
|
|
18
|
+
</Text>
|
|
19
|
+
<Text size="xs" textColor="surfaceTextPrimary">
|
|
20
|
+
inn
|
|
21
|
+
</Text>
|
|
22
|
+
</Group>
|
|
23
|
+
),
|
|
24
|
+
isOpenModal: true,
|
|
25
|
+
fill: 'surfaceSecondary',
|
|
26
|
+
initialSnap: 0.5,
|
|
27
|
+
},
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export const CloseButton = {
|
|
31
|
+
args: {
|
|
32
|
+
children: (
|
|
33
|
+
<Group padding="20px 12px" direction="vertical" justifyContent="center">
|
|
34
|
+
<Text size="m" textColor="surfaceTextPrimary">
|
|
35
|
+
company
|
|
36
|
+
</Text>
|
|
37
|
+
<Text size="xs" textColor="surfaceTextPrimary">
|
|
38
|
+
inn
|
|
39
|
+
</Text>
|
|
40
|
+
</Group>
|
|
41
|
+
),
|
|
42
|
+
isOpenModal: true,
|
|
43
|
+
closeButton: <Icon iconFill="surfaceItemPrimary" imageSrc="assets/16/Remove.svg" size="16" />,
|
|
44
|
+
fill: 'surfaceSecondary',
|
|
45
|
+
initialSnap: 0.5,
|
|
46
|
+
},
|
|
47
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { buttonAppearance } from '../../../appearance/Button'
|
|
2
|
-
import { notificationItemAppearance } from '../../../appearance/Notification'
|
|
3
1
|
import { textSizeProps, titleSizeProps } from '../../../constants'
|
|
4
2
|
import { Button, buttonConfig } from '../../Button'
|
|
3
|
+
import { buttonAppearance } from '../../Button/Button.appearance'
|
|
5
4
|
import { Icon } from '../../Icon'
|
|
5
|
+
import { notificationItemAppearance } from '../NotificationItem.appearance'
|
|
6
6
|
import { NotificationItem, notificationItemConfig } from '../NotificationItem'
|
|
7
7
|
|
|
8
8
|
buttonConfig.setAppearance(buttonAppearance)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { radioState } from '../../../appearance/Radio'
|
|
2
1
|
import { shapeProps, textColorProps, textSizeProps } from '../../../constants'
|
|
3
2
|
import { Radio, radioConfig } from '../Radio'
|
|
3
|
+
import { radioState } from '../Radio.appearance'
|
|
4
4
|
|
|
5
5
|
radioConfig.setState(radioState)
|
|
6
6
|
|
|
@@ -18,49 +18,75 @@ const Default = {
|
|
|
18
18
|
},
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
export const
|
|
21
|
+
export const Dev = {
|
|
22
22
|
args: {
|
|
23
23
|
...Default.args,
|
|
24
|
+
padding: 24,
|
|
25
|
+
appearance: 'dev',
|
|
26
|
+
imageSrc: 'assets/response/Search.svg',
|
|
24
27
|
},
|
|
25
28
|
}
|
|
26
29
|
|
|
27
|
-
export const
|
|
30
|
+
export const Custom = {
|
|
28
31
|
args: {
|
|
29
32
|
...Default.args,
|
|
30
33
|
padding: 24,
|
|
31
|
-
appearance: '
|
|
32
|
-
imageSrc: 'assets/search.svg',
|
|
34
|
+
appearance: 'custom',
|
|
33
35
|
},
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
export const Success = {
|
|
37
39
|
args: {
|
|
38
40
|
...Default.args,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
+
appearance: 'success',
|
|
42
|
+
imageSrc: 'assets/response/Success.svg',
|
|
41
43
|
},
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
export const Warning = {
|
|
45
47
|
args: {
|
|
46
48
|
...Default.args,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
+
appearance: 'warning',
|
|
50
|
+
imageSrc: 'assets/response/Warning.svg',
|
|
49
51
|
},
|
|
50
52
|
}
|
|
51
53
|
|
|
52
54
|
export const Error = {
|
|
53
55
|
args: {
|
|
54
56
|
...Default.args,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
+
appearance: 'error',
|
|
58
|
+
imageSrc: 'assets/response/Error.svg',
|
|
57
59
|
},
|
|
58
60
|
}
|
|
59
61
|
|
|
60
62
|
export const Fail = {
|
|
61
63
|
args: {
|
|
62
64
|
...Default.args,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
+
appearance: 'fail',
|
|
66
|
+
imageSrc: 'assets/response/Fail.svg',
|
|
67
|
+
},
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export const CantLoadData = {
|
|
71
|
+
args: {
|
|
72
|
+
...Default.args,
|
|
73
|
+
appearance: 'cantLoadData',
|
|
74
|
+
imageSrc: 'assets/response/CantLoadData.svg',
|
|
75
|
+
},
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export const Refresh = {
|
|
79
|
+
args: {
|
|
80
|
+
...Default.args,
|
|
81
|
+
appearance: 'refresh',
|
|
82
|
+
imageSrc: 'assets/response/Refresh.svg',
|
|
83
|
+
},
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export const Search = {
|
|
87
|
+
args: {
|
|
88
|
+
...Default.args,
|
|
89
|
+
appearance: 'search',
|
|
90
|
+
imageSrc: 'assets/response/Search.svg',
|
|
65
91
|
},
|
|
66
92
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { SearchInput, searchInputConfig } from '@itcase/ui/components/Search'
|
|
2
2
|
|
|
3
|
-
import { searchAppearance } from '../../../appearance/Search'
|
|
4
3
|
import {
|
|
5
4
|
borderColorHoverProps,
|
|
6
5
|
borderColorProps,
|
|
@@ -9,6 +8,7 @@ import {
|
|
|
9
8
|
textColorProps,
|
|
10
9
|
textSizeProps,
|
|
11
10
|
} from '../../../constants'
|
|
11
|
+
import { searchAppearance } from '../Search.appearance'
|
|
12
12
|
|
|
13
13
|
searchInputConfig.setAppearance(searchAppearance)
|
|
14
14
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { badgeAppearance } from '../../../appearance/Badge'
|
|
2
|
-
import { tabAppearance } from '../../../appearance/Tab'
|
|
3
1
|
import { badgeConfig } from '../../Badge'
|
|
2
|
+
import { badgeAppearance } from '../../Badge/Badge.appearance.'
|
|
4
3
|
import { Tab, tabConfig } from '../Tab'
|
|
4
|
+
import { tabAppearance } from '../Tab.appearance'
|
|
5
5
|
import { argTypes } from './args'
|
|
6
6
|
|
|
7
7
|
badgeConfig.setAppearance(badgeAppearance)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { badgeAppearance } from '../../../appearance/Badge'
|
|
2
|
-
import { tabAppearance } from '../../../appearance/Tab'
|
|
3
1
|
import { badgeConfig } from '../../Badge'
|
|
2
|
+
import { badgeAppearance } from '../../Badge/Badge.appearance.'
|
|
4
3
|
import { Tab, tabConfig } from '../Tab'
|
|
4
|
+
import { tabAppearance } from '../Tab.appearance'
|
|
5
5
|
import { argTypes } from './args'
|
|
6
6
|
|
|
7
7
|
badgeConfig.setAppearance(badgeAppearance)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { textareaState } from '../../../appearance/Textarea'
|
|
2
1
|
import { borderColorProps, sizeProps, textColorProps, textSizeProps } from '../../../constants'
|
|
3
2
|
import { Textarea, textareaConfig } from '../Textarea'
|
|
3
|
+
import { textareaState } from '../Textarea.appearance'
|
|
4
4
|
|
|
5
5
|
textareaConfig.setState(textareaState)
|
|
6
6
|
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { badgeAppearance } from '../../../appearance/Badge'
|
|
2
|
-
import { buttonAppearance } from '../../../appearance/Button'
|
|
3
1
|
import {
|
|
4
2
|
alignDirectionProps,
|
|
5
3
|
alignProps,
|
|
@@ -18,9 +16,11 @@ import {
|
|
|
18
16
|
textWrapProps,
|
|
19
17
|
titleSizeProps,
|
|
20
18
|
} from '../../../constants'
|
|
21
|
-
import { icon24 } from '../../../
|
|
19
|
+
// import { icon24 } from '../../../___icons'
|
|
22
20
|
import { badgeConfig } from '../../Badge'
|
|
21
|
+
import { badgeAppearance } from '../../Badge/Badge.appearance.'
|
|
23
22
|
import { Button, buttonConfig } from '../../Button'
|
|
23
|
+
import { buttonAppearance } from '../../Button/Button.appearance'
|
|
24
24
|
import { Tile } from '../Tile'
|
|
25
25
|
|
|
26
26
|
badgeConfig.setAppearance(badgeAppearance)
|
|
@@ -194,7 +194,7 @@ export const Default = {
|
|
|
194
194
|
position="absolute"
|
|
195
195
|
top="0"
|
|
196
196
|
right="0"
|
|
197
|
-
iconBefore={icon24.Add}
|
|
197
|
+
// iconBefore={icon24.Add}
|
|
198
198
|
iconBeforeFill="accentItemPrimary"
|
|
199
199
|
iconBeforeSize="24"
|
|
200
200
|
shape="circular"
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { tooltipAppearance } from '../../../appearance/Tooltip'
|
|
2
1
|
import {
|
|
3
2
|
alignDirectionProps,
|
|
4
3
|
alignmentProps,
|
|
@@ -14,6 +13,7 @@ import {
|
|
|
14
13
|
widthProps,
|
|
15
14
|
} from '../../../constants'
|
|
16
15
|
import { Tooltip, tooltipConfig } from '../Tooltip'
|
|
16
|
+
import { tooltipAppearance } from '../Tooltip.appearance'
|
|
17
17
|
|
|
18
18
|
tooltipConfig.setAppearance(tooltipAppearance)
|
|
19
19
|
|