@itcase/ui 1.8.107 → 1.8.109
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_bOSuIjlv.js → Avatar_cjs_joB9qjwk.js} +36 -60
- package/dist/{Avatar_es_CEiiRkAd.js → Avatar_es_C3HGSiHU.js} +36 -60
- package/dist/{Button_cjs_eGfgY2Dz.js → Button_cjs_mau_55Fl.js} +6 -6
- package/dist/{Button_es_CEXL2diU.js → Button_es_D_IlkeBp.js} +6 -6
- package/dist/{ChipsGroup_cjs_DKLEgUi2.js → ChipsGroup_cjs_D454M1-p.js} +2 -2
- package/dist/{ChipsGroup_es_vMh6YMRm.js → ChipsGroup_es_BKG5mK5N.js} +2 -2
- package/dist/{DatePicker_cjs_T63y9kcH.js → DatePicker_cjs_Bm8nwWKa.js} +4 -4
- package/dist/{DatePicker_es_B87jj8h6.js → DatePicker_es_DAV92A4A.js} +4 -4
- package/dist/{DropdownItem_cjs_BGp4XAme.js → DropdownItem_cjs_D2hHKA5E.js} +2 -2
- package/dist/{DropdownItem_es_BwdenrJx.js → DropdownItem_es_D9JBMV70.js} +2 -2
- package/dist/{Group_cjs_CHcrOFx0.js → Group_cjs_BxBk5T7A.js} +2 -2
- package/dist/{Group_es_DHJcG2MA.js → Group_es_DIfmrMSM.js} +2 -2
- package/dist/{Icon_cjs_LSfBwmrG.js → Icon_cjs_ZerVip3X.js} +32 -47
- package/dist/{Icon_es_BYO1LdXJ.js → Icon_es_C76te22j.js} +32 -47
- package/dist/{Label_cjs_Df_mrKBf.js → Label_cjs_CaTh_laL.js} +2 -2
- package/dist/{Label_es_Dl5zb0RD.js → Label_es_CoIII7Ty.js} +2 -2
- package/dist/{Loader_cjs_Db9diKuF.js → Loader_cjs_c6yF7akz.js} +1 -1
- package/dist/{Loader_es_AhHU-s7_.js → Loader_es_C8ETXkiZ.js} +1 -1
- package/dist/{Text_cjs_CeJHeRfI.js → Text_cjs_DpRclhwc.js} +2 -5
- package/dist/{Text_es_BXh9Y3hR.js → Text_es_CtCwsa3V.js} +2 -5
- package/dist/cjs/components/Accordion.js +4 -3
- package/dist/cjs/components/Avatar.js +5 -4
- package/dist/cjs/components/AvatarStack.js +6 -5
- package/dist/cjs/components/Badge.js +4 -3
- package/dist/cjs/components/Breadcrumbs.js +4 -3
- package/dist/cjs/components/Button.js +6 -5
- package/dist/cjs/components/Cell.js +5 -4
- package/dist/cjs/components/Checkbox.js +3 -2
- package/dist/cjs/components/Checkmark.js +2 -1
- package/dist/cjs/components/Chips.js +5 -4
- package/dist/cjs/components/Choice.js +5 -4
- package/dist/cjs/components/Code.js +2 -0
- package/dist/cjs/components/CookiesWarning.js +6 -5
- package/dist/cjs/components/Dadata.js +2 -0
- package/dist/cjs/components/DatePeriod.js +8 -7
- package/dist/cjs/components/DatePicker.js +8 -7
- package/dist/cjs/components/Divider.js +2 -1
- package/dist/cjs/components/Dot.js +2 -1
- package/dist/cjs/components/Drawer.js +3 -2
- package/dist/cjs/components/Dropdown.js +5 -4
- package/dist/cjs/components/Flex.js +2 -1
- package/dist/cjs/components/Grid.js +2 -1
- package/dist/cjs/components/Group.js +3 -2
- package/dist/cjs/components/HTMLContent.js +2 -1
- package/dist/cjs/components/HeroTitle.js +4 -3
- package/dist/cjs/components/Icon.js +4 -3
- package/dist/cjs/components/Image.js +2 -1
- package/dist/cjs/components/Input.js +2 -0
- package/dist/cjs/components/InputPassword.js +4 -3
- package/dist/cjs/components/Label.js +5 -4
- package/dist/cjs/components/Link.js +2 -1
- package/dist/cjs/components/List.js +2 -1
- package/dist/cjs/components/Loader.js +4 -3
- package/dist/cjs/components/Logo.js +2 -1
- package/dist/cjs/components/MenuItem.js +4 -3
- package/dist/cjs/components/Modal.js +5 -4
- package/dist/cjs/components/ModalSheetBottom.js +4 -3
- package/dist/cjs/components/Notification.js +4 -3
- package/dist/cjs/components/Overlay.js +2 -1
- package/dist/cjs/components/Pagination.js +5 -4
- package/dist/cjs/components/Radio.js +8 -4
- package/dist/cjs/components/RangeSlider.js +2 -1
- package/dist/cjs/components/Response.js +7 -6
- package/dist/cjs/components/SVGContent.js +2 -1
- package/dist/cjs/components/ScrollOnDrag.js +2 -1
- package/dist/cjs/components/ScrollToView.js +2 -1
- package/dist/cjs/components/Search.js +4 -3
- package/dist/cjs/components/Segmented.js +3 -2
- package/dist/cjs/components/Select.js +5 -4
- package/dist/cjs/components/Swiper.js +4 -3
- package/dist/cjs/components/Switch.js +3 -2
- package/dist/cjs/components/Tab.js +14 -16
- package/dist/cjs/components/Text.js +3 -2
- package/dist/cjs/components/Textarea.js +2 -0
- package/dist/cjs/components/Tile.js +4 -3
- package/dist/cjs/components/Title.js +4 -3
- package/dist/cjs/components/Tooltip.js +4 -3
- package/dist/cjs/components/Video.js +1 -0
- package/dist/cjs/components/Warning.js +4 -3
- package/dist/cjs/hooks/useActiveClasses/useActiveClasses.helpers.js +120 -0
- package/dist/cjs/hooks/useActiveClasses/useActiveClasses.interface.js +65 -0
- package/dist/cjs/hooks/useActiveClasses/useActiveClasses.js +64 -0
- package/dist/cjs/hooks/useActiveClasses.js +9 -0
- package/dist/cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +11 -1
- package/dist/cjs/hooks/useDevicePropsGenerator.js +2 -0
- package/dist/cjs/hooks/useStyles/useStyles.js +5 -3
- package/dist/cjs/hooks/useStyles.js +1 -0
- package/dist/cjs/hooks.js +9 -0
- package/dist/components/Accordion.js +4 -3
- package/dist/components/Avatar.js +5 -4
- package/dist/components/AvatarStack.js +6 -5
- package/dist/components/Badge.js +4 -3
- package/dist/components/Breadcrumbs.js +4 -3
- package/dist/components/Button.js +6 -5
- package/dist/components/Cell.js +5 -4
- package/dist/components/Checkbox.js +3 -2
- package/dist/components/Checkmark.js +2 -1
- package/dist/components/Chips.js +5 -4
- package/dist/components/Choice.js +5 -4
- package/dist/components/Code.js +2 -0
- package/dist/components/CookiesWarning.js +6 -5
- package/dist/components/Dadata.js +2 -0
- package/dist/components/DatePeriod.js +8 -7
- package/dist/components/DatePicker.js +8 -7
- package/dist/components/Divider.js +2 -1
- package/dist/components/Dot.js +2 -1
- package/dist/components/Drawer.js +3 -2
- package/dist/components/Dropdown.js +5 -4
- package/dist/components/Flex.js +2 -1
- package/dist/components/Grid.js +2 -1
- package/dist/components/Group.js +3 -2
- package/dist/components/HTMLContent.js +2 -1
- package/dist/components/HeroTitle.js +4 -3
- package/dist/components/Icon.js +4 -3
- package/dist/components/Image.js +2 -1
- package/dist/components/Input.js +2 -0
- package/dist/components/InputPassword.js +4 -3
- package/dist/components/Label.js +5 -4
- package/dist/components/Link.js +2 -1
- package/dist/components/List.js +2 -1
- package/dist/components/Loader.js +4 -3
- package/dist/components/Logo.js +2 -1
- package/dist/components/MenuItem.js +4 -3
- package/dist/components/Modal.js +5 -4
- package/dist/components/ModalSheetBottom.js +4 -3
- package/dist/components/Notification.js +4 -3
- package/dist/components/Overlay.js +2 -1
- package/dist/components/Pagination.js +5 -4
- package/dist/components/Radio.js +8 -4
- package/dist/components/RangeSlider.js +2 -1
- package/dist/components/Response.js +7 -6
- package/dist/components/SVGContent.js +2 -1
- package/dist/components/ScrollOnDrag.js +2 -1
- package/dist/components/ScrollToView.js +2 -1
- package/dist/components/Search.js +4 -3
- package/dist/components/Segmented.js +3 -2
- package/dist/components/Select.js +5 -4
- package/dist/components/Swiper.js +4 -3
- package/dist/components/Switch.js +3 -2
- package/dist/components/Tab.js +14 -16
- package/dist/components/Text.js +3 -2
- package/dist/components/Textarea.js +2 -0
- package/dist/components/Tile.js +4 -3
- package/dist/components/Title.js +4 -3
- package/dist/components/Tooltip.js +4 -3
- package/dist/components/Video.js +1 -0
- package/dist/components/Warning.js +4 -3
- package/dist/css/components/Icon/Icon.css +12 -19
- package/dist/css/components/Radio/Radio.css +0 -1
- package/dist/css/styles/align/align.css +1 -1
- package/dist/css/styles/align/align_horizontal-reverse.css +1 -1
- package/dist/css/styles/align/align_horizontal.css +1 -1
- package/dist/css/styles/align/align_vertical-reverse.css +1 -1
- package/dist/css/styles/align/align_vertical.css +1 -1
- package/dist/css/styles/border-color/border-color.css +1 -1
- package/dist/css/styles/border-color/border-color_active.css +1 -1
- package/dist/css/styles/border-color/border-color_active_hover.css +1 -1
- package/dist/css/styles/border-color/border-color_focus.css +1 -1
- package/dist/css/styles/border-color/border-color_hover.css +1 -1
- package/dist/css/styles/bundle.css +15 -15
- package/dist/css/styles/fill/fill.css +1 -1
- package/dist/css/styles/fill/fill_active.css +1 -1
- package/dist/css/styles/fill/fill_active_hover.css +1 -1
- package/dist/css/styles/fill/fill_gradient.css +1 -1
- package/dist/css/styles/fill/fill_hover.css +1 -1
- package/dist/hooks/useActiveClasses/useActiveClasses.helpers.js +116 -0
- package/dist/hooks/useActiveClasses/useActiveClasses.interface.js +63 -0
- package/dist/hooks/useActiveClasses/useActiveClasses.js +62 -0
- package/dist/hooks/useActiveClasses.js +3 -0
- package/dist/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +11 -1
- package/dist/hooks/useDevicePropsGenerator.js +2 -0
- package/dist/hooks/useStyles/useStyles.js +5 -3
- package/dist/hooks/useStyles.js +1 -0
- package/dist/hooks.js +7 -0
- package/dist/stories/useActiveClasses.mdx +134 -0
- package/dist/types/components/Avatar/Avatar.appearance.d.ts +1878 -2
- package/dist/types/components/Avatar/Avatar.interface.d.ts +48 -37
- package/dist/types/components/Avatar/appearance/avatarDefault.d.ts +2 -19
- package/dist/types/components/Avatar/appearance/avatarShape.d.ts +2 -24
- package/dist/types/components/Avatar/appearance/avatarSize.d.ts +2 -83
- package/dist/types/components/Avatar/appearance/avatarStyle.d.ts +2 -15
- package/dist/types/components/Badge/Badge.appearance.d.ts +986 -228
- package/dist/types/components/Badge/Badge.interface.d.ts +6 -6
- package/dist/types/components/Badge/appearance/badgeAccent.d.ts +2 -37
- package/dist/types/components/Badge/appearance/badgeDanger.d.ts +2 -16
- package/dist/types/components/Badge/appearance/badgeDisabled.d.ts +2 -14
- package/dist/types/components/Badge/appearance/badgeError.d.ts +2 -16
- package/dist/types/components/Badge/appearance/badgeInfo.d.ts +2 -15
- package/dist/types/components/Badge/appearance/badgePrimary.d.ts +2 -16
- package/dist/types/components/Badge/appearance/badgeSecondary.d.ts +2 -16
- package/dist/types/components/Badge/appearance/badgeShape.d.ts +2 -24
- package/dist/types/components/Badge/appearance/badgeSize.d.ts +2 -31
- package/dist/types/components/Badge/appearance/badgeStyle.d.ts +2 -13
- package/dist/types/components/Badge/appearance/badgeSuccess.d.ts +2 -16
- package/dist/types/components/Badge/appearance/badgeSurface.d.ts +2 -24
- package/dist/types/components/Badge/appearance/badgeWarning.d.ts +2 -16
- package/dist/types/components/Icon/Icon.d.ts +30 -6
- package/dist/types/components/Icon/Icon.interface.d.ts +2 -0
- package/dist/types/components/Radio/Radio.appearance.d.ts +3 -0
- package/dist/types/components/Radio/appearance/radioDefault.d.ts +3 -0
- package/dist/types/components/Tab/appearance/tabSurface.d.ts +1 -0
- package/dist/types/components/Text/Text.appearance.d.ts +698 -2
- package/dist/types/components/Text/Text.interface.d.ts +32 -47
- package/dist/types/components/Text/appearance/textSize.d.ts +2 -23
- package/dist/types/components/Title/Title.appearance.d.ts +2225 -2
- package/dist/types/components/Title/Title.interface.d.ts +56 -38
- package/dist/types/components/Title/appearance/titleAccent.d.ts +2 -19
- package/dist/types/components/Title/appearance/titleDanger.d.ts +2 -6
- package/dist/types/components/Title/appearance/titleDisabled.d.ts +2 -19
- package/dist/types/components/Title/appearance/titleError.d.ts +2 -10
- package/dist/types/components/Title/appearance/titleInfo.d.ts +2 -20
- package/dist/types/components/Title/appearance/titlePrimary.d.ts +2 -7
- package/dist/types/components/Title/appearance/titleRequire.d.ts +2 -19
- package/dist/types/components/Title/appearance/titleSecondary.d.ts +2 -7
- package/dist/types/components/Title/appearance/titleSize.d.ts +2 -44
- package/dist/types/components/Title/appearance/titleStyle.d.ts +2 -15
- package/dist/types/components/Title/appearance/titleSuccess.d.ts +2 -10
- package/dist/types/components/Title/appearance/titleSurface.d.ts +2 -24
- package/dist/types/components/Title/appearance/titleWarning.d.ts +2 -10
- package/dist/types/hooks/index.helpers.d.ts +3 -0
- package/dist/types/hooks/useActiveClasses/index.d.ts +2 -0
- package/dist/types/hooks/useActiveClasses/useActiveClasses.d.ts +3 -0
- package/dist/types/hooks/useActiveClasses/useActiveClasses.helpers.d.ts +5 -0
- package/dist/types/hooks/useActiveClasses/useActiveClasses.interface.d.ts +26 -0
- package/dist/types/hooks/useDevicePropsGenerator/useDevicePropsGenerator.d.ts +1 -1
- package/dist/types/hooks/useStyles/styleAttributes.interface.d.ts +3 -0
- package/package.json +6 -6
|
@@ -15,8 +15,9 @@ import '../context/UIContext.js';
|
|
|
15
15
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
16
16
|
import 'react-responsive';
|
|
17
17
|
import '../utils/setViewportProperty.js';
|
|
18
|
-
import '
|
|
18
|
+
import '../hooks.js';
|
|
19
19
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
|
+
import 'lodash/maxBy';
|
|
20
21
|
|
|
21
22
|
var ScrollToView = ScrollLink(function ScrollToView(props) {
|
|
22
23
|
var id = props.id, className = props.className, _a = props.tag, Tag = _a === void 0 ? 'div' : _a, children = props.children;
|
|
@@ -6,8 +6,8 @@ import clsx from 'clsx';
|
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
9
|
-
import { I as Icon } from '../
|
|
10
|
-
import { T as Text } from '../
|
|
9
|
+
import { I as Icon } from '../Icon_es_C76te22j.js';
|
|
10
|
+
import { T as Text } from '../Text_es_CtCwsa3V.js';
|
|
11
11
|
import { S as Scrollbar } from '../Scrollbar_es_CThJeCLF.js';
|
|
12
12
|
import 'lodash/camelCase';
|
|
13
13
|
import 'lodash/castArray';
|
|
@@ -19,8 +19,9 @@ import '../context/UIContext.js';
|
|
|
19
19
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
20
20
|
import 'react-responsive';
|
|
21
21
|
import '../utils/setViewportProperty.js';
|
|
22
|
-
import '
|
|
22
|
+
import '../hooks.js';
|
|
23
23
|
import '../hooks/useStyles/styleAttributes.js';
|
|
24
|
+
import 'lodash/maxBy';
|
|
24
25
|
import 'react-inlinesvg';
|
|
25
26
|
import '../hoc/urlWithAssetPrefix.js';
|
|
26
27
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import React, { useRef, useMemo, createRef, useCallback, useEffect } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { I as Icon } from '../
|
|
4
|
+
import { I as Icon } from '../Icon_es_C76te22j.js';
|
|
5
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
6
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
|
-
import { T as Text } from '../
|
|
7
|
+
import { T as Text } from '../Text_es_CtCwsa3V.js';
|
|
8
8
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'react-inlinesvg';
|
|
10
10
|
import '../hoc/urlWithAssetPrefix.js';
|
|
@@ -20,6 +20,7 @@ import '../context/UIContext.js';
|
|
|
20
20
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
21
21
|
import 'react-responsive';
|
|
22
22
|
import '../utils/setViewportProperty.js';
|
|
23
|
+
import '../hooks.js';
|
|
23
24
|
import '../hooks/useStyles/styleAttributes.js';
|
|
24
25
|
import '../Link_es_BnUIX0QT.js';
|
|
25
26
|
import 'lodash/castArray';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import Select, { components } from 'react-select';
|
|
4
|
-
import { I as Icon, B as Badge } from '../
|
|
4
|
+
import { I as Icon, B as Badge } from '../Icon_es_C76te22j.js';
|
|
5
5
|
import React, { useRef, useEffect, useMemo } from 'react';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
7
|
import CreatableSelect from 'react-select/creatable';
|
|
8
|
-
import { G as Group } from '../
|
|
9
|
-
import { T as Text } from '../
|
|
8
|
+
import { G as Group } from '../Group_es_DIfmrMSM.js';
|
|
9
|
+
import { T as Text } from '../Text_es_CtCwsa3V.js';
|
|
10
10
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
11
11
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
12
12
|
import { icons12, icons16, icons14, icons24 } from '@itcase/icons/default';
|
|
13
|
-
import { L as Loader } from '../
|
|
13
|
+
import { L as Loader } from '../Loader_es_C8ETXkiZ.js';
|
|
14
14
|
import { D as Divider } from '../Divider_es_CCLBFIx6.js';
|
|
15
15
|
import 'react-inlinesvg';
|
|
16
16
|
import '../hoc/urlWithAssetPrefix.js';
|
|
@@ -26,6 +26,7 @@ import '../context/UIContext.js';
|
|
|
26
26
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
27
27
|
import 'react-responsive';
|
|
28
28
|
import '../utils/setViewportProperty.js';
|
|
29
|
+
import '../hooks.js';
|
|
29
30
|
import '../hooks/useStyles/styleAttributes.js';
|
|
30
31
|
import '../Link_es_BnUIX0QT.js';
|
|
31
32
|
import 'lodash/castArray';
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { Swiper as Swiper$1, SwiperSlide } from 'swiper/react';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { b as Title } from '../
|
|
7
|
+
import { b as Title } from '../Icon_es_C76te22j.js';
|
|
8
8
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import 'lodash/castArray';
|
|
@@ -16,14 +16,15 @@ import '../context/UIContext.js';
|
|
|
16
16
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
17
17
|
import 'react-responsive';
|
|
18
18
|
import '../utils/setViewportProperty.js';
|
|
19
|
-
import '
|
|
19
|
+
import '../hooks.js';
|
|
20
20
|
import '../hooks/useStyles/styleAttributes.js';
|
|
21
|
+
import 'lodash/maxBy';
|
|
21
22
|
import 'react-inlinesvg';
|
|
22
23
|
import '../hoc/urlWithAssetPrefix.js';
|
|
23
24
|
import '../context/UrlAssetPrefix.js';
|
|
24
25
|
import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
25
26
|
import '../Link_es_BnUIX0QT.js';
|
|
26
|
-
import '../
|
|
27
|
+
import '../Text_es_CtCwsa3V.js';
|
|
27
28
|
|
|
28
29
|
function Swiper(props) {
|
|
29
30
|
var id = props.id, className = props.className, direction = props.direction, title = props.title, titleAfter = props.titleAfter, titleSize = props.titleSize, titleTextColor = props.titleTextColor, titleWeight = props.titleWeight, setNextBtnDisabled = props.setNextBtnDisabled, setPrevBtnDisabled = props.setPrevBtnDisabled, _a = props.activeSlideIndex, activeSlideIndex = _a === void 0 ? 0 : _a, allowTouchMove = props.allowTouchMove, autoHeight = props.autoHeight, breakpoints = props.breakpoints, forwardedRef = props.forwardedRef, // https://github.com/vercel/next.js/issues/4957
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
|
-
import { T as Text } from '../
|
|
6
|
+
import { T as Text } from '../Text_es_CtCwsa3V.js';
|
|
7
7
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
8
8
|
import 'lodash/camelCase';
|
|
9
9
|
import 'lodash/castArray';
|
|
@@ -15,9 +15,10 @@ import '../context/UIContext.js';
|
|
|
15
15
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
16
16
|
import 'react-responsive';
|
|
17
17
|
import '../utils/setViewportProperty.js';
|
|
18
|
+
import '../hooks.js';
|
|
19
|
+
import '../hooks/useStyles/styleAttributes.js';
|
|
18
20
|
import '../hooks/useStyles/useStyles.js';
|
|
19
21
|
import 'lodash/maxBy';
|
|
20
|
-
import '../hooks/useStyles/styleAttributes.js';
|
|
21
22
|
|
|
22
23
|
var switchAppearanceDefault = {
|
|
23
24
|
defaultPrimary: {
|
package/dist/components/Tab.js
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
+
import { useActiveClasses } from '../hooks/useActiveClasses/useActiveClasses.js';
|
|
4
5
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
5
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { B as Badge, I as Icon } from '../
|
|
8
|
+
import { B as Badge, I as Icon } from '../Icon_es_C76te22j.js';
|
|
8
9
|
import { D as Divider } from '../Divider_es_CCLBFIx6.js';
|
|
9
10
|
import { L as Link } from '../Link_es_BnUIX0QT.js';
|
|
10
|
-
import { T as Text } from '../
|
|
11
|
+
import { T as Text } from '../Text_es_CtCwsa3V.js';
|
|
11
12
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
13
|
+
import '../hooks/useActiveClasses/useActiveClasses.helpers.js';
|
|
12
14
|
import 'lodash/camelCase';
|
|
13
15
|
import 'lodash/castArray';
|
|
14
16
|
import 'lodash/upperFirst';
|
|
@@ -19,8 +21,9 @@ import '../context/UIContext.js';
|
|
|
19
21
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
20
22
|
import 'react-responsive';
|
|
21
23
|
import '../utils/setViewportProperty.js';
|
|
22
|
-
import '
|
|
24
|
+
import '../hooks.js';
|
|
23
25
|
import '../hooks/useStyles/styleAttributes.js';
|
|
26
|
+
import 'lodash/maxBy';
|
|
24
27
|
import 'react-inlinesvg';
|
|
25
28
|
import '../hoc/urlWithAssetPrefix.js';
|
|
26
29
|
import '../context/UrlAssetPrefix.js';
|
|
@@ -131,6 +134,7 @@ var tabAppearanceSurface = {
|
|
|
131
134
|
fillActive: 'surfacePrimary',
|
|
132
135
|
fillActiveHover: 'surfaceSecondary',
|
|
133
136
|
fillDisabled: 'surfaceDisabled',
|
|
137
|
+
fillDivider: 'accentPrimary',
|
|
134
138
|
fillHover: 'surfaceSecondary',
|
|
135
139
|
labelTextColor: 'surfaceTextPrimary',
|
|
136
140
|
labelTextColorActive: 'surfaceTextAccent',
|
|
@@ -217,21 +221,15 @@ function Tab(props) {
|
|
|
217
221
|
var dataTour = props.dataTour, className = props.className, appearance = props.appearance, label = props.label, _a = props.isDisabled, isDisabled = _a === void 0 ? false : _a, badgeValue = props.badgeValue, href = props.href, link = props.link, rel = props.rel, target = props.target, before = props.before, after = props.after, _b = props.isActive, isActive = _b === void 0 ? false : _b, isSkeleton = props.isSkeleton, onClick = props.onClick, onMouseEnter = props.onMouseEnter, children = props.children;
|
|
218
222
|
var appearanceConfig = useAppearanceConfig(appearance, tabConfig);
|
|
219
223
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
220
|
-
var
|
|
224
|
+
var rootClasses = useActiveClasses({
|
|
225
|
+
isDisabled: isDisabled,
|
|
226
|
+
propsGenerator: propsGenerator,
|
|
227
|
+
isActive: isActive,
|
|
228
|
+
}).rootClasses;
|
|
229
|
+
var justifyContentClass = propsGenerator.justifyContentClass, alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, labelTextAlign = propsGenerator.labelTextAlign, labelTextColor = propsGenerator.labelTextColor, labelTextColorActive = propsGenerator.labelTextColorActive, labelTextColorActiveHover = propsGenerator.labelTextColorActiveHover, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextSize = propsGenerator.labelTextSize, labelTextStyle = propsGenerator.labelTextStyle, labelTextWeight = propsGenerator.labelTextWeight, labelTextWrap = propsGenerator.labelTextWrap, dividerFillDisabled = propsGenerator.dividerFillDisabled, badgeAppearance = propsGenerator.badgeAppearance, badgeAppearanceSize = propsGenerator.badgeAppearanceSize, badgeShape = propsGenerator.badgeShape, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, dividerFill = propsGenerator.dividerFill, dividerFillActive = propsGenerator.dividerFillActive, dividerFillActiveHover = propsGenerator.dividerFillActiveHover, dividerFillHover = propsGenerator.dividerFillHover, dividerSize = propsGenerator.dividerSize, icon = propsGenerator.icon, iconFill = propsGenerator.iconFill, iconFillIcon = propsGenerator.iconFillIcon, iconFillSize = propsGenerator.iconFillSize, iconShape = propsGenerator.iconShape, iconSize = propsGenerator.iconSize, iconSrc = propsGenerator.iconSrc, linkFill = propsGenerator.linkFill, shapeClass = propsGenerator.shapeClass, shapeStrengthClass = propsGenerator.shapeStrengthClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
|
|
221
230
|
// @ts-expect-error
|
|
222
231
|
var tab = useStyles(props).styles;
|
|
223
|
-
return (jsx("div", { dataTour: dataTour, className: clsx('tab', className, isActive && 'tab_state_active', isDisabled && 'tab_state_disabled', !isActive
|
|
224
|
-
? fillClass && "fill_".concat(fillClass)
|
|
225
|
-
: fillActiveClass && "fill_active_".concat(fillActiveClass), !isActive
|
|
226
|
-
? fillHoverClass && "fill_hover_".concat(fillHoverClass)
|
|
227
|
-
: fillActiveHoverClass && "fill_active_hover_".concat(fillActiveHoverClass), !isActive
|
|
228
|
-
? borderColorClass && "border-color_".concat(borderColorClass)
|
|
229
|
-
: borderColorActiveClass &&
|
|
230
|
-
"border-color_active_".concat(borderColorActiveClass), !isActive
|
|
231
|
-
? borderColorHoverClass &&
|
|
232
|
-
"border-color_hover_".concat(borderColorHoverClass)
|
|
233
|
-
: borderColorActiveHoverClass &&
|
|
234
|
-
"border-color_active_hover_".concat(borderColorActiveHoverClass), sizeClass && "tab_size_".concat(sizeClass), shapeClass && "shape_".concat(shapeClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass), widthClass && "width_".concat(widthClass), justifyContentClass && "tab_justify-content_".concat(justifyContentClass), isSkeleton && "tab_skeleton", onClick && 'cursor_type_pointer'), style: tab, onClick: onClick, onMouseEnter: onMouseEnter, children: jsxs(Link, { className: clsx('tab__link', alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), !isDisabled && 'cursor_type_pointer'), fill: linkFill, href: link || href, rel: rel, target: target, children: [before, children || (jsxs(React.Fragment, { children: [jsxs("div", { className: "tab__wrapper", children: [label && (jsx(Text, { className: "tab__label", size: labelTextSize, isDisabled: isDisabled, textAlign: labelTextAlign, textColor: labelTextColor, textColorActive: labelTextColorActive, textColorHover: labelTextColorHover, textColorHoverActive: labelTextColorActiveHover, textStyle: labelTextStyle, textWeight: labelTextWeight, textWrap: labelTextWrap, isActive: isActive, children: label })), Boolean(badgeValue) && (jsx(Badge, { appearance: "".concat(badgeAppearance, " ").concat(badgeAppearanceSize), size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), (icon || iconSrc) && (jsx(Icon, { className: clsx('tab__icon_after'), fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] }), jsx(Divider, { className: clsx('tab__divider'), width: "fill", direction: "horizontal", size: dividerSize, fill: dividerFill, fillActive: dividerFillActive, fillActiveHover: dividerFillActiveHover, fillDisabled: dividerFillDisabled, fillHover: dividerFillHover, zIndex: "1", isDisabled: isDisabled, isActive: isActive })] })), after] }) }));
|
|
232
|
+
return (jsx("div", { dataTour: dataTour, className: clsx('tab', className, rootClasses, isActive && 'tab_state_active', isDisabled && 'tab_state_disabled', sizeClass && "tab_size_".concat(sizeClass), shapeClass && "shape_".concat(shapeClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass), widthClass && "width_".concat(widthClass), justifyContentClass && "tab_justify-content_".concat(justifyContentClass), isSkeleton && "tab_skeleton", onClick && 'cursor_type_pointer'), style: tab, onClick: onClick, onMouseEnter: onMouseEnter, children: jsxs(Link, { className: clsx('tab__link', alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), !isDisabled && 'cursor_type_pointer'), fill: linkFill, href: link || href, rel: rel, target: target, children: [before, children || (jsxs(React.Fragment, { children: [jsxs("div", { className: "tab__wrapper", children: [label && (jsx(Text, { className: "tab__label", size: labelTextSize, isDisabled: isDisabled, textAlign: labelTextAlign, textColor: labelTextColor, textColorActive: labelTextColorActive, textColorHover: labelTextColorHover, textColorHoverActive: labelTextColorActiveHover, textStyle: labelTextStyle, textWeight: labelTextWeight, textWrap: labelTextWrap, isActive: isActive, children: label })), Boolean(badgeValue) && (jsx(Badge, { appearance: "".concat(badgeAppearance, " ").concat(badgeAppearanceSize), size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), (icon || iconSrc) && (jsx(Icon, { className: clsx('tab__icon_after'), fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] }), jsx(Divider, { className: clsx('tab__divider'), width: "fill", direction: "horizontal", size: dividerSize, fill: dividerFill, fillActive: dividerFillActive, fillActiveHover: dividerFillActiveHover, fillDisabled: dividerFillDisabled, fillHover: dividerFillHover, zIndex: "1", isDisabled: isDisabled, isActive: isActive })] })), after] }) }));
|
|
235
233
|
}
|
|
236
234
|
|
|
237
235
|
function TabGroup(props) {
|
package/dist/components/Text.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { T as Text, a as textAppearance, t as textConfig } from '../
|
|
1
|
+
export { T as Text, a as textAppearance, t as textConfig } from '../Text_es_CtCwsa3V.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'clsx';
|
|
4
4
|
import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
@@ -15,6 +15,7 @@ import '../context/UIContext.js';
|
|
|
15
15
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
16
16
|
import 'react-responsive';
|
|
17
17
|
import '../utils/setViewportProperty.js';
|
|
18
|
+
import '../hooks.js';
|
|
19
|
+
import '../hooks/useStyles/styleAttributes.js';
|
|
18
20
|
import '../hooks/useStyles/useStyles.js';
|
|
19
21
|
import 'lodash/maxBy';
|
|
20
|
-
import '../hooks/useStyles/styleAttributes.js';
|
|
@@ -14,6 +14,8 @@ import '../context/UIContext.js';
|
|
|
14
14
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
15
15
|
import 'react-responsive';
|
|
16
16
|
import '../utils/setViewportProperty.js';
|
|
17
|
+
import '../hooks.js';
|
|
18
|
+
import '../hooks/useStyles/styleAttributes.js';
|
|
17
19
|
|
|
18
20
|
var textareaAppearanceDefault = {
|
|
19
21
|
defaultPrimary: {
|
package/dist/components/Tile.js
CHANGED
|
@@ -3,8 +3,8 @@ import clsx from 'clsx';
|
|
|
3
3
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
|
-
import { b as Title, B as Badge, I as Icon } from '../
|
|
7
|
-
import { T as Text } from '../
|
|
6
|
+
import { b as Title, B as Badge, I as Icon } from '../Icon_es_C76te22j.js';
|
|
7
|
+
import { T as Text } from '../Text_es_CtCwsa3V.js';
|
|
8
8
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'react';
|
|
10
10
|
import 'lodash/camelCase';
|
|
@@ -17,8 +17,9 @@ import '../context/UIContext.js';
|
|
|
17
17
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
18
18
|
import 'react-responsive';
|
|
19
19
|
import '../utils/setViewportProperty.js';
|
|
20
|
-
import '
|
|
20
|
+
import '../hooks.js';
|
|
21
21
|
import '../hooks/useStyles/styleAttributes.js';
|
|
22
|
+
import 'lodash/maxBy';
|
|
22
23
|
import 'react-inlinesvg';
|
|
23
24
|
import '../hoc/urlWithAssetPrefix.js';
|
|
24
25
|
import '../context/UrlAssetPrefix.js';
|
package/dist/components/Title.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b as Title, d as titleAppearance, c as titleConfig } from '../
|
|
1
|
+
export { b as Title, d as titleAppearance, c as titleConfig } from '../Icon_es_C76te22j.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -18,8 +18,9 @@ import '../context/UIContext.js';
|
|
|
18
18
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
19
19
|
import 'react-responsive';
|
|
20
20
|
import '../utils/setViewportProperty.js';
|
|
21
|
+
import '../hooks.js';
|
|
22
|
+
import '../hooks/useStyles/styleAttributes.js';
|
|
21
23
|
import '../hooks/useStyles/useStyles.js';
|
|
22
24
|
import 'lodash/maxBy';
|
|
23
|
-
import '../hooks/useStyles/styleAttributes.js';
|
|
24
25
|
import '../Link_es_BnUIX0QT.js';
|
|
25
|
-
import '../
|
|
26
|
+
import '../Text_es_CtCwsa3V.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../
|
|
1
|
+
export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../Icon_es_C76te22j.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -18,8 +18,9 @@ import '../context/UIContext.js';
|
|
|
18
18
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
19
19
|
import 'react-responsive';
|
|
20
20
|
import '../utils/setViewportProperty.js';
|
|
21
|
+
import '../hooks.js';
|
|
22
|
+
import '../hooks/useStyles/styleAttributes.js';
|
|
21
23
|
import '../hooks/useStyles/useStyles.js';
|
|
22
24
|
import 'lodash/maxBy';
|
|
23
|
-
import '../hooks/useStyles/styleAttributes.js';
|
|
24
25
|
import '../Link_es_BnUIX0QT.js';
|
|
25
|
-
import '../
|
|
26
|
+
import '../Text_es_CtCwsa3V.js';
|
package/dist/components/Video.js
CHANGED
|
@@ -13,6 +13,7 @@ import '../context/UIContext.js';
|
|
|
13
13
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
14
14
|
import 'react-responsive';
|
|
15
15
|
import '../utils/setViewportProperty.js';
|
|
16
|
+
import '../hooks.js';
|
|
16
17
|
import '../hooks/useStyles/styleAttributes.js';
|
|
17
18
|
|
|
18
19
|
function Video(props) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { useState, Fragment } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { I as Icon } from '../
|
|
5
|
-
import { T as Text } from '../
|
|
4
|
+
import { I as Icon } from '../Icon_es_C76te22j.js';
|
|
5
|
+
import { T as Text } from '../Text_es_CtCwsa3V.js';
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
@@ -22,8 +22,9 @@ import '../context/UIContext.js';
|
|
|
22
22
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
23
23
|
import 'react-responsive';
|
|
24
24
|
import '../utils/setViewportProperty.js';
|
|
25
|
-
import '
|
|
25
|
+
import '../hooks.js';
|
|
26
26
|
import '../hooks/useStyles/styleAttributes.js';
|
|
27
|
+
import 'lodash/maxBy';
|
|
27
28
|
|
|
28
29
|
var warningAppearanceAccent = {
|
|
29
30
|
accentMutedPrimary: {
|
|
@@ -33,11 +33,10 @@
|
|
|
33
33
|
}
|
|
34
34
|
.icon_fill {
|
|
35
35
|
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
36
|
-
error, success, warning, info, danger
|
|
36
|
+
error, success, warning, info, danger {
|
|
37
37
|
&_$(type) {
|
|
38
38
|
&-item {
|
|
39
|
-
@each $color in primary, secondary, tertiary, quaternary
|
|
40
|
-
senary, accent, disabled, hover, inverse {
|
|
39
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
41
40
|
&-$(color) {
|
|
42
41
|
& svg {
|
|
43
42
|
stroke: none;
|
|
@@ -46,8 +45,7 @@
|
|
|
46
45
|
}
|
|
47
46
|
}
|
|
48
47
|
}
|
|
49
|
-
@each $color in primary, secondary, tertiary, quaternary
|
|
50
|
-
accent, disabled, hover, inverse {
|
|
48
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
51
49
|
&-$(color) {
|
|
52
50
|
& svg {
|
|
53
51
|
stroke: none;
|
|
@@ -85,12 +83,11 @@
|
|
|
85
83
|
}
|
|
86
84
|
}
|
|
87
85
|
.icon_fill_hover {
|
|
88
|
-
@each $type in accent, primary, secondary, tertiary, quaternary,
|
|
89
|
-
|
|
86
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
87
|
+
error, success, warning, info, danger {
|
|
90
88
|
&_$(type) {
|
|
91
89
|
&-item {
|
|
92
|
-
@each $color in primary, secondary, tertiary, quaternary
|
|
93
|
-
senary, accent, disabled, hover, inverse {
|
|
90
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
94
91
|
&-$(color) {
|
|
95
92
|
&:hover {
|
|
96
93
|
& svg {
|
|
@@ -137,11 +134,10 @@
|
|
|
137
134
|
.icon_fill {
|
|
138
135
|
&_active {
|
|
139
136
|
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
140
|
-
|
|
137
|
+
error, success, warning, info, danger {
|
|
141
138
|
&_$(type) {
|
|
142
139
|
&-item {
|
|
143
|
-
@each $color in primary, secondary, tertiary, quaternary
|
|
144
|
-
senary, accent, disabled, hover, inverse {
|
|
140
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
145
141
|
&-$(color) {
|
|
146
142
|
& svg {
|
|
147
143
|
stroke: none;
|
|
@@ -150,8 +146,7 @@
|
|
|
150
146
|
}
|
|
151
147
|
}
|
|
152
148
|
}
|
|
153
|
-
@each $color in primary, secondary, tertiary, quaternary
|
|
154
|
-
senary, accent, disabled, hover, inverse {
|
|
149
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
155
150
|
&-$(color) {
|
|
156
151
|
& svg {
|
|
157
152
|
stroke: none;
|
|
@@ -193,11 +188,10 @@
|
|
|
193
188
|
&_active {
|
|
194
189
|
&_hover {
|
|
195
190
|
@each $type in accent, primary, secondary, tertiary, quaternary, surface,
|
|
196
|
-
error, success, warning, info, danger
|
|
191
|
+
error, success, warning, info, danger {
|
|
197
192
|
&_$(type) {
|
|
198
193
|
&-item {
|
|
199
|
-
@each $color in primary, secondary, tertiary, quaternary
|
|
200
|
-
senary, accent, disabled, hover, inverse {
|
|
194
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
201
195
|
&-$(color) {
|
|
202
196
|
&:hover {
|
|
203
197
|
& svg {
|
|
@@ -208,8 +202,7 @@
|
|
|
208
202
|
}
|
|
209
203
|
}
|
|
210
204
|
}
|
|
211
|
-
@each $color in primary, secondary, tertiary, quaternary
|
|
212
|
-
senary, accent, disabled, hover, inverse {
|
|
205
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
213
206
|
&-$(color) {
|
|
214
207
|
&:hover {
|
|
215
208
|
& svg {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
@each $selector in button, input, textarea {
|
|
15
|
+
@each $selector in div, button, input, textarea {
|
|
16
16
|
.align,
|
|
17
17
|
$(selector).align {
|
|
18
18
|
&_center {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
display: flex;
|
|
25
25
|
flex-direction: row-reverse;
|
|
26
26
|
}
|
|
27
|
-
@each $selector in button, input, textarea {
|
|
27
|
+
@each $selector in div, button, input, textarea {
|
|
28
28
|
.align,
|
|
29
29
|
$(selector).align {
|
|
30
30
|
&_horizontal-reverse {
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
display: flex;
|
|
92
92
|
flex-direction: row;
|
|
93
93
|
}
|
|
94
|
-
@each $selector in button, input, textarea {
|
|
94
|
+
@each $selector in div, button, input, textarea {
|
|
95
95
|
.align,
|
|
96
96
|
$(selector).align {
|
|
97
97
|
&_horizontal {
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
display: flex;
|
|
159
159
|
flex-direction: column-reverse;
|
|
160
160
|
}
|
|
161
|
-
@each $selector in button, input, textarea {
|
|
161
|
+
@each $selector in div, button, input, textarea {
|
|
162
162
|
.align,
|
|
163
163
|
$(selector).align {
|
|
164
164
|
&_vertical-reverse {
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
display: flex;
|
|
222
222
|
flex-direction: column;
|
|
223
223
|
}
|
|
224
|
-
@each $selector in button, input, textarea {
|
|
224
|
+
@each $selector in div, button, input, textarea {
|
|
225
225
|
.align,
|
|
226
226
|
$(selector).align {
|
|
227
227
|
&_vertical {
|
|
@@ -338,7 +338,7 @@ div.alignment {
|
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
|
-
@each $selector in button, input, textarea {
|
|
341
|
+
@each $selector in div, button, input, textarea {
|
|
342
342
|
.border-color,
|
|
343
343
|
$(selector).border-color {
|
|
344
344
|
&_none {
|
|
@@ -381,7 +381,7 @@ div.alignment {
|
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
|
-
@each $selector in button, input, textarea {
|
|
384
|
+
@each $selector in div, button, input, textarea {
|
|
385
385
|
.border-color,
|
|
386
386
|
$(selector).border-color {
|
|
387
387
|
&_active {
|
|
@@ -426,7 +426,7 @@ div.alignment {
|
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
|
-
@each $selector in button, input, textarea {
|
|
429
|
+
@each $selector in div, button, input, textarea {
|
|
430
430
|
.border-color,
|
|
431
431
|
$(selector).border-color {
|
|
432
432
|
&_active {
|
|
@@ -475,7 +475,7 @@ div.alignment {
|
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
|
-
@each $selector in button, input, textarea {
|
|
478
|
+
@each $selector in div, button, input, textarea {
|
|
479
479
|
.border-color,
|
|
480
480
|
$(selector).border-color {
|
|
481
481
|
&_focus {
|
|
@@ -526,7 +526,7 @@ div.alignment {
|
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
|
-
@each $selector in button, input, textarea {
|
|
529
|
+
@each $selector in div, button, input, textarea {
|
|
530
530
|
.border-color,
|
|
531
531
|
$(selector).border-color {
|
|
532
532
|
&_hover {
|
|
@@ -791,7 +791,7 @@ div.alignment {
|
|
|
791
791
|
}
|
|
792
792
|
}
|
|
793
793
|
}
|
|
794
|
-
@each $selector in button, input, textarea {
|
|
794
|
+
@each $selector in div, button, input, textarea {
|
|
795
795
|
.fill,
|
|
796
796
|
$(selector).fill {
|
|
797
797
|
&_none {
|
|
@@ -847,7 +847,7 @@ div.alignment {
|
|
|
847
847
|
}
|
|
848
848
|
}
|
|
849
849
|
}
|
|
850
|
-
@each $selector in button, input, textarea {
|
|
850
|
+
@each $selector in div, button, input, textarea {
|
|
851
851
|
.fill,
|
|
852
852
|
$(selector).fill {
|
|
853
853
|
&_active {
|
|
@@ -897,7 +897,7 @@ div.alignment {
|
|
|
897
897
|
}
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
|
-
@each $selector in button, input, textarea {
|
|
900
|
+
@each $selector in div, button, input, textarea {
|
|
901
901
|
.fill,
|
|
902
902
|
$(selector).fill {
|
|
903
903
|
&_active {
|
|
@@ -1016,7 +1016,7 @@ div.alignment {
|
|
|
1016
1016
|
}
|
|
1017
1017
|
}
|
|
1018
1018
|
}
|
|
1019
|
-
@each $selector in button, input, textarea {
|
|
1019
|
+
@each $selector in div, button, input, textarea {
|
|
1020
1020
|
.fill_gradient,
|
|
1021
1021
|
$(selector).fill_gradient {
|
|
1022
1022
|
@each $type in primary, secondary, tertiary, quaternary {
|
|
@@ -1034,7 +1034,7 @@ div.alignment {
|
|
|
1034
1034
|
}
|
|
1035
1035
|
}
|
|
1036
1036
|
}
|
|
1037
|
-
@each $selector in button, input, textarea {
|
|
1037
|
+
@each $selector in div, button, input, textarea {
|
|
1038
1038
|
.fill,
|
|
1039
1039
|
$(selector).fill {
|
|
1040
1040
|
&_hover {
|