@itcase/ui 1.1.19 → 1.1.21
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/{Accordion-uWRXripc.js → Accordion-DFgzxKlH.js} +1 -1
- package/dist/{Avatar-APOOlMd3.js → Avatar-B_7tOMik.js} +1 -1
- package/dist/{Breadcrumbs-rRMuYnWJ.js → Breadcrumbs-EQmNm0OH.js} +2 -2
- package/dist/{Button-DxZUKQ8I.js → Button-BlPfX0sG.js} +2 -2
- package/dist/{Cell-BJThS4YS.js → Cell-BTH03V30.js} +2 -2
- package/dist/{Choice-DVU4k0tu.js → Choice-DsyZ57RY.js} +1 -1
- package/dist/{ContextMenuItem-xssbnviQ.js → ContextMenuItem-BrLq1iQl.js} +1 -1
- package/dist/{CookiesWarning-Dcon4SS4.js → CookiesWarning--bl8qppa.js} +2 -2
- package/dist/{DatePicker-D9UgOcue.js → DatePicker-DwvyPEnL.js} +3 -3
- package/dist/{DropdownItem-DB5nPIdl.js → DropdownItem-D_DLgDdG.js} +1 -1
- package/dist/{GridRow-CvYQDJ2W.js → GridRow-DRjyNWBh.js} +10 -19
- package/dist/{Group-DuHn_z2p.js → Group-BDmYkT7d.js} +18 -5
- package/dist/{Icon-C0gtkmdU.js → Icon-CPCBYWfF.js} +2 -2
- package/dist/{InputPassword-D6OLQrVC.js → InputPassword-CjExdAwu.js} +1 -1
- package/dist/{Label-0lMH0-AK.js → Label-Ch6YjDF4.js} +1 -1
- package/dist/{LanguageSelector-uOmIj9mJ.js → LanguageSelector-CeioS128.js} +1 -1
- package/dist/Link-BREALvPd.js +1864 -0
- package/dist/{ListItem-DMS6_Rtr.js → ListItem-CC1Ud8f6.js} +2 -4
- package/dist/Logo-C_CbU1Oq.js +37 -0
- package/dist/{Menu-9u6BoWRL.js → Menu-BVxNhuDF.js} +1 -1
- package/dist/{MenuItem-CXxL099U.js → MenuItem-3UBIrvob.js} +1 -1
- package/dist/{NotificationList-B48jz206.js → NotificationList-CaAYxwHB.js} +1 -1
- package/dist/{Pagination-Ch75clod.js → Pagination-Bbk7dlxN.js} +2 -2
- package/dist/{Response-CgE3B1JS.js → Response-B4iaYCX1.js} +3 -3
- package/dist/{SearchResult-vA2t-ZGx.js → SearchResult-BekTgQJ2.js} +1 -1
- package/dist/{SiteMenuButton-CFPtqh_i.js → SiteMenuButton-DXFJiK5H.js} +1 -1
- package/dist/{Swiper-CP2ph4S3.js → Swiper-CXjE6qZR.js} +5 -5
- package/dist/{SwitchField-Cj0B7JdE.js → SwitchField-B2Bo-CKD.js} +1 -1
- package/dist/{TabGroup-C4CbZgr7.js → TabGroup-DEa55bqq.js} +1 -1
- package/dist/{Tile-B2HwgBDH.js → Tile-m0Q0UUPl.js} +1 -1
- package/dist/{Title-BAdU2oW_.js → Title-zpOK2AxL.js} +1 -1
- package/dist/{Tooltip-D46EmkZq.js → Tooltip-BYw26YRd.js} +1 -1
- package/dist/cjs/{Accordion-OI5oLjJY.js → Accordion-DcPQQ3Rd.js} +1 -1
- package/dist/cjs/{Avatar-BBAt1cKM.js → Avatar-048eJFtq.js} +1 -1
- package/dist/cjs/{Breadcrumbs-DLTpOh1T.js → Breadcrumbs-cn7gw2i0.js} +2 -2
- package/dist/cjs/{Button-C-K_KVjd.js → Button-CXdhQNJq.js} +2 -2
- package/dist/cjs/{Cell-DpzvSs16.js → Cell-DSyNSkFG.js} +2 -2
- package/dist/cjs/{Choice-nMRlWkpF.js → Choice-GVU9LM0O.js} +1 -1
- package/dist/cjs/{ContextMenuItem-D2wjhhzg.js → ContextMenuItem-CFjibLNs.js} +1 -1
- package/dist/cjs/{CookiesWarning--Edz7Gcv.js → CookiesWarning-iXVuv8UU.js} +2 -2
- package/dist/cjs/{DatePicker-vgeb1SWe.js → DatePicker-CIWHdPVz.js} +3 -3
- package/dist/cjs/{DropdownItem-CCuDjUjH.js → DropdownItem-B4pH6JPf.js} +1 -1
- package/dist/cjs/{GridRow-OxLsh_2P.js → GridRow-CAqZZGge.js} +10 -19
- package/dist/cjs/{Group-CtseVj34.js → Group-CiGVWRjW.js} +18 -5
- package/dist/cjs/{Icon-BUwWk_dS.js → Icon-_GtZOE4V.js} +2 -2
- package/dist/cjs/{InputPassword-BqbSnWDE.js → InputPassword-CPH0_fiE.js} +1 -1
- package/dist/cjs/{Label-Bc4u2NRI.js → Label-Cgxxx2Ar.js} +1 -1
- package/dist/cjs/{LanguageSelector-BswZL8dZ.js → LanguageSelector-BzXOG-vO.js} +1 -1
- package/dist/cjs/Link-D-9lWATq.js +1877 -0
- package/dist/cjs/{ListItem-C3tWa-2I.js → ListItem-DOMz7Wb0.js} +2 -4
- package/dist/cjs/{Logo-BjDQjs3w.js → Logo-B0jp-maT.js} +3 -3
- package/dist/cjs/{Menu-Bn0hqLr-.js → Menu-BtLNO62s.js} +1 -1
- package/dist/cjs/{MenuItem-C-0vQBaj.js → MenuItem-C57jgxF7.js} +1 -1
- package/dist/cjs/{NotificationList-D7rD4PAW.js → NotificationList-DuwcxJAs.js} +1 -1
- package/dist/cjs/{Pagination-XAVYtca1.js → Pagination-B0p0XYPQ.js} +2 -2
- package/dist/cjs/{Response-BmR09awR.js → Response-Cpj42jCG.js} +3 -3
- package/dist/cjs/{SearchResult-gHEwq0ay.js → SearchResult-gRidlU7Q.js} +1 -1
- package/dist/cjs/{SiteMenuButton-B6QISdea.js → SiteMenuButton-DRsg0Q6A.js} +1 -1
- package/dist/cjs/{Swiper--idB5Ci6.js → Swiper-Zh5xaPu3.js} +5 -5
- package/dist/cjs/{SwitchField-CCHC2ZHS.js → SwitchField-RrUBVCd3.js} +1 -1
- package/dist/cjs/{TabGroup-CYaefMap.js → TabGroup-Ddjy3kOr.js} +1 -1
- package/dist/cjs/{Tile-By9iqne7.js → Tile-CatxYX82.js} +1 -1
- package/dist/cjs/{Title-BzopkHQY.js → Title-Ckp30YSI.js} +1 -1
- package/dist/cjs/{Tooltip-VrKQ8W1G.js → Tooltip-CYJGThOv.js} +1 -1
- package/dist/cjs/components/Accordion.js +7 -5
- package/dist/cjs/components/Avatar.js +7 -5
- package/dist/cjs/components/Breadcrumbs/Breadcrumbs.interface.d.ts +5 -5
- package/dist/cjs/components/Breadcrumbs.js +7 -5
- package/dist/cjs/components/Button/Button.interface.d.ts +2 -2
- package/dist/cjs/components/Button.js +7 -5
- package/dist/cjs/components/Cell.js +8 -6
- package/dist/cjs/components/Choice.js +7 -5
- package/dist/cjs/components/ContextMenu.js +7 -5
- package/dist/cjs/components/CookiesWarning.js +9 -7
- package/dist/cjs/components/DatePicker/DatePicker.interface.d.ts +3 -3
- package/dist/cjs/components/DatePicker.js +8 -7
- package/dist/cjs/components/Dropdown/Dropdown.interface.d.ts +8 -8
- package/dist/cjs/components/Dropdown.js +4 -2
- package/dist/cjs/components/FormField.js +7 -6
- package/dist/cjs/components/Grid/Grid.interface.d.ts +23 -31
- package/dist/cjs/components/Grid.js +1 -1
- package/dist/cjs/components/Group/Group.interface.d.ts +14 -12
- package/dist/cjs/components/Group.js +1 -1
- package/dist/cjs/components/Icon/Icon.interface.d.ts +2 -2
- package/dist/cjs/components/Icon.js +6 -4
- package/dist/cjs/components/InputPassword.js +7 -5
- package/dist/cjs/components/Label/Label.interface.d.ts +2 -2
- package/dist/cjs/components/Label.js +3 -3
- package/dist/cjs/components/LanguageSelector.js +7 -5
- package/dist/cjs/components/Link/Link.d.ts +2 -1
- package/dist/cjs/components/Link/Link.interface.d.ts +7 -6
- package/dist/cjs/components/Link/index.d.ts +1 -1
- package/dist/cjs/components/Link.js +5 -2
- package/dist/cjs/components/List/List.interface.d.ts +2 -2
- package/dist/cjs/components/List.js +4 -2
- package/dist/cjs/components/Logo/Logo.interface.d.ts +6 -1
- package/dist/cjs/components/Logo.js +4 -2
- package/dist/cjs/components/Menu.js +5 -3
- package/dist/cjs/components/MenuItem/MenuItem.interface.d.ts +9 -9
- package/dist/cjs/components/MenuItem.js +4 -2
- package/dist/cjs/components/Notification.js +2 -2
- package/dist/cjs/components/Pagination.js +8 -6
- package/dist/cjs/components/Panel.js +1 -1
- package/dist/cjs/components/Response.js +9 -7
- package/dist/cjs/components/Search/Search.interface.d.ts +3 -3
- package/dist/cjs/components/Search.js +7 -5
- package/dist/cjs/components/Select.js +6 -5
- package/dist/cjs/components/SiteMenu/SiteMenu.interface.d.ts +2 -2
- package/dist/cjs/components/SiteMenu.js +7 -5
- package/dist/cjs/components/Swiper.js +2 -2
- package/dist/cjs/components/Tab/Tab.interface.d.ts +4 -4
- package/dist/cjs/components/Tab.js +4 -2
- package/dist/cjs/components/Text/Text.interface.d.ts +4 -4
- package/dist/cjs/components/Tile.js +2 -2
- package/dist/cjs/components/Title/Title.interface.d.ts +4 -4
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip.js +2 -2
- package/dist/cjs/components.js +33 -32
- package/dist/cjs/types/componentProps/textColorHover.d.ts +1 -1
- package/dist/cjs/types/componentProps/textGradient.d.ts +1 -1
- package/dist/cjs/types/componentProps/textStyle.d.ts +1 -1
- package/dist/cjs/types/componentProps/underline.d.ts +1 -1
- package/dist/cjs/types/index.d.ts +4 -4
- package/dist/components/Accordion.js +7 -5
- package/dist/components/Avatar.js +7 -5
- package/dist/components/Breadcrumbs/Breadcrumbs.interface.d.ts +5 -5
- package/dist/components/Breadcrumbs.js +7 -5
- package/dist/components/Button/Button.interface.d.ts +2 -2
- package/dist/components/Button.js +7 -5
- package/dist/components/Cell.js +8 -6
- package/dist/components/Choice.js +7 -5
- package/dist/components/ContextMenu.js +7 -5
- package/dist/components/CookiesWarning.js +9 -7
- package/dist/components/DatePicker/DatePicker.interface.d.ts +3 -3
- package/dist/components/DatePicker.js +8 -7
- package/dist/components/Dropdown/Dropdown.interface.d.ts +8 -8
- package/dist/components/Dropdown.js +4 -2
- package/dist/components/FormField.js +7 -6
- package/dist/components/Grid/Grid.interface.d.ts +23 -31
- package/dist/components/Grid.js +1 -1
- package/dist/components/Group/Group.interface.d.ts +14 -12
- package/dist/components/Group.js +1 -1
- package/dist/components/Icon/Icon.interface.d.ts +2 -2
- package/dist/components/Icon.js +6 -4
- package/dist/components/InputPassword.js +7 -5
- package/dist/components/Label/Label.interface.d.ts +2 -2
- package/dist/components/Label.js +3 -3
- package/dist/components/LanguageSelector.js +7 -5
- package/dist/components/Link/Link.d.ts +2 -1
- package/dist/components/Link/Link.interface.d.ts +7 -6
- package/dist/components/Link/index.d.ts +1 -1
- package/dist/components/Link.js +4 -2
- package/dist/components/List/List.interface.d.ts +2 -2
- package/dist/components/List.js +4 -2
- package/dist/components/Logo/Logo.interface.d.ts +6 -1
- package/dist/components/Logo.js +4 -2
- package/dist/components/Menu.js +5 -3
- package/dist/components/MenuItem/MenuItem.interface.d.ts +9 -9
- package/dist/components/MenuItem.js +4 -2
- package/dist/components/Notification.js +2 -2
- package/dist/components/Pagination.js +8 -6
- package/dist/components/Panel.js +1 -1
- package/dist/components/Response.js +9 -7
- package/dist/components/Search/Search.interface.d.ts +3 -3
- package/dist/components/Search.js +7 -5
- package/dist/components/Select.js +6 -5
- package/dist/components/SiteMenu/SiteMenu.interface.d.ts +2 -2
- package/dist/components/SiteMenu.js +7 -5
- package/dist/components/Swiper.js +2 -2
- package/dist/components/Tab/Tab.interface.d.ts +4 -4
- package/dist/components/Tab.js +4 -2
- package/dist/components/Text/Text.interface.d.ts +4 -4
- package/dist/components/Tile.js +2 -2
- package/dist/components/Title/Title.interface.d.ts +4 -4
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip.js +2 -2
- package/dist/components.js +33 -32
- package/dist/css/components/DadataHintField/DadataHintField.css +4 -1
- package/dist/css/components/Grid/Grid.css +12 -3
- package/dist/css/components/Group/Group.css +35 -0
- package/dist/css/components/Input/Input.css +2 -2
- package/dist/css/components/Swiper/Swiper.css +2 -2
- package/dist/css/styles/text-color/text-color.css +11 -7
- package/dist/css/styles/text-color/text-color_active.css +12 -10
- package/dist/css/styles/text-color/text-color_hover.css +16 -13
- package/dist/types/componentProps/textColorHover.d.ts +1 -1
- package/dist/types/componentProps/textGradient.d.ts +1 -1
- package/dist/types/componentProps/textStyle.d.ts +1 -1
- package/dist/types/componentProps/underline.d.ts +1 -1
- package/dist/types/index.d.ts +4 -4
- package/package.json +14 -12
- package/dist/Link-Co6uspFK.js +0 -90
- package/dist/Logo-dRWwDqj-.js +0 -37
- package/dist/cjs/Link-B6Xq7PWn.js +0 -99
|
@@ -5,7 +5,7 @@ import clsx from 'clsx';
|
|
|
5
5
|
import castArray from 'lodash/castArray';
|
|
6
6
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
7
7
|
import { useStyles } from './hooks/useStyles.js';
|
|
8
|
-
import { I as Icon } from './Icon-
|
|
8
|
+
import { I as Icon } from './Icon-CPCBYWfF.js';
|
|
9
9
|
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
10
10
|
|
|
11
11
|
var ChevronDown16 = function ChevronDown16(props) {
|
|
@@ -2,7 +2,7 @@ import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
5
|
-
import { I as Icon } from './Icon-
|
|
5
|
+
import { I as Icon } from './Icon-CPCBYWfF.js';
|
|
6
6
|
import { I as Image } from './Image-Bz4Fo3eB.js';
|
|
7
7
|
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
8
8
|
|
|
@@ -5,8 +5,8 @@ import clsx from 'clsx';
|
|
|
5
5
|
import camelCase from 'lodash/camelCase';
|
|
6
6
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
7
7
|
import { useStyles } from './hooks/useStyles.js';
|
|
8
|
-
import { I as Icon } from './Icon-
|
|
9
|
-
import { a as LinkWrapper } from './Link-
|
|
8
|
+
import { I as Icon } from './Icon-CPCBYWfF.js';
|
|
9
|
+
import { a as LinkWrapper } from './Link-BREALvPd.js';
|
|
10
10
|
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
11
11
|
|
|
12
12
|
function BreadcrumbsItem(props) {
|
|
@@ -3,8 +3,8 @@ import React__default from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
5
5
|
import { useStyles } from './hooks/useStyles.js';
|
|
6
|
-
import { I as Icon } from './Icon-
|
|
7
|
-
import { a as LinkWrapper } from './Link-
|
|
6
|
+
import { I as Icon } from './Icon-CPCBYWfF.js';
|
|
7
|
+
import { a as LinkWrapper } from './Link-BREALvPd.js';
|
|
8
8
|
import { L as Loader } from './Loader-DhgIcSY1.js';
|
|
9
9
|
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
10
10
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
4
|
-
import { I as Icon } from './Icon-
|
|
5
|
-
import { L as Label } from './Label-
|
|
4
|
+
import { I as Icon } from './Icon-CPCBYWfF.js';
|
|
5
|
+
import { L as Label } from './Label-Ch6YjDF4.js';
|
|
6
6
|
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
7
7
|
import { useStyles } from './hooks/useStyles.js';
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@ import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
|
2
2
|
import React__default, { useRef, useMemo, createRef, useCallback } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
5
|
-
import { I as Icon } from './Icon-
|
|
5
|
+
import { I as Icon } from './Icon-CPCBYWfF.js';
|
|
6
6
|
import { L as Loader } from './Loader-DhgIcSY1.js';
|
|
7
7
|
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@ import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
4
4
|
import { D as Divider } from './Divider-Dhj6sMWd.js';
|
|
5
|
-
import { I as Icon } from './Icon-
|
|
5
|
+
import { I as Icon } from './Icon-CPCBYWfF.js';
|
|
6
6
|
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
7
7
|
|
|
8
8
|
function ContextMenu(props) {
|
|
@@ -3,8 +3,8 @@ import { useRef, useMemo, useCallback, useEffect } from 'react';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import Cookies from 'js-cookie';
|
|
5
5
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
6
|
-
import { B as Button } from './Button-
|
|
7
|
-
import { G as Group } from './Group-
|
|
6
|
+
import { B as Button } from './Button-BlPfX0sG.js';
|
|
7
|
+
import { G as Group } from './Group-BDmYkT7d.js';
|
|
8
8
|
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
9
9
|
|
|
10
10
|
function CookiesWarning(props) {
|
|
@@ -7,10 +7,10 @@ import * as ReactDOM from 'react-dom';
|
|
|
7
7
|
import ReactDOM__default, { findDOMNode } from 'react-dom';
|
|
8
8
|
import { o as offset$1, f as flip$1, c as computePosition, b as arrow$2, g as getComputedStyle, i as isElement, a as autoUpdate } from './floating-ui.dom-BV5qw-HP.js';
|
|
9
9
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
10
|
-
import { B as Button } from './Button-
|
|
11
|
-
import { I as Icon } from './Icon-
|
|
10
|
+
import { B as Button } from './Button-BlPfX0sG.js';
|
|
11
|
+
import { I as Icon } from './Icon-CPCBYWfF.js';
|
|
12
12
|
import { I as Input } from './Input-CYDtAlO-.js';
|
|
13
|
-
import { L as Label } from './Label-
|
|
13
|
+
import { L as Label } from './Label-Ch6YjDF4.js';
|
|
14
14
|
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
15
15
|
|
|
16
16
|
function buildFormatLongFn(args) {
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
5
5
|
import { useStyles } from './hooks/useStyles.js';
|
|
6
6
|
import { D as Divider } from './Divider-Dhj6sMWd.js';
|
|
7
|
-
import { L as Link } from './Link-
|
|
7
|
+
import { L as Link } from './Link-BREALvPd.js';
|
|
8
8
|
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
9
9
|
|
|
10
10
|
function Dropdown(props) {
|
|
@@ -45,25 +45,8 @@ function Grid(props) {
|
|
|
45
45
|
prefix: 'border-color_',
|
|
46
46
|
propsKey: 'borderColor',
|
|
47
47
|
});
|
|
48
|
-
useDeviceTargetClass(props, {
|
|
49
|
-
prefix: 'fill_',
|
|
50
|
-
propsKey: 'fillWrapper',
|
|
51
|
-
});
|
|
52
|
-
useDeviceTargetClass(props, {
|
|
53
|
-
prefix: 'fill_',
|
|
54
|
-
propsKey: 'fillWrapperInner',
|
|
55
|
-
});
|
|
56
|
-
useDeviceTargetClass(props, {
|
|
57
|
-
prefix: 'grid_shape_',
|
|
58
|
-
propsKey: 'shapeWrapper',
|
|
59
|
-
});
|
|
60
|
-
useDeviceTargetClass(props, {
|
|
61
|
-
prefix: 'grid_shape_',
|
|
62
|
-
propsKey: 'shapeWrapperInner',
|
|
63
|
-
});
|
|
64
|
-
// prettier-ignore
|
|
65
48
|
// @ts-expect-error
|
|
66
|
-
var
|
|
49
|
+
var gridStyles = useStyles(props).styles;
|
|
67
50
|
return (jsxRuntimeExports.jsxs(Tag, { className: clsx(className, 'grid', useGridSystem && "grid_state_system", horizontalScroll && "grid_scroll_horizontal", type && "grid_type_".concat(type), columnsClass, rowsClass, rowGapClass, columnGapClass, alignContentClass, alignItemsClass, borderColorClass, justifyContentClass, justifyItemsClass, fillClass, horizontalResizing && "grid_horizontal-resizing_".concat(horizontalResizing), verticalResizing && "grid_vertical-resizing_".concat(verticalResizing)), "data-tour": dataTour, id: id, style: gridStyles, onClick: onClick, children: [before && jsxRuntimeExports.jsx("div", { className: "grid__before", children: before }), children, after && jsxRuntimeExports.jsx("div", { className: "grid__after", children: after })] }));
|
|
68
51
|
}
|
|
69
52
|
Grid.defaultProps = {
|
|
@@ -100,6 +83,14 @@ function GridItem(props) {
|
|
|
100
83
|
prefix: 'grid__item_row-start_',
|
|
101
84
|
propsKey: 'rowStart',
|
|
102
85
|
});
|
|
86
|
+
var widthClass = useDeviceTargetClass(props, {
|
|
87
|
+
prefix: 'width_',
|
|
88
|
+
propsKey: 'width',
|
|
89
|
+
});
|
|
90
|
+
var heightClass = useDeviceTargetClass(props, {
|
|
91
|
+
prefix: 'height_',
|
|
92
|
+
propsKey: 'height',
|
|
93
|
+
});
|
|
103
94
|
var rowEndClass = useDeviceTargetClass(props, {
|
|
104
95
|
prefix: 'grid__item_row-end_',
|
|
105
96
|
propsKey: 'rowEnd',
|
|
@@ -134,7 +125,7 @@ function GridItem(props) {
|
|
|
134
125
|
});
|
|
135
126
|
// @ts-expect-error
|
|
136
127
|
var gridItemStyles = useStyles(props).styles;
|
|
137
|
-
return (jsxRuntimeExports.jsx("div", { className: clsx(className, 'grid__item', orderClass, fillClass, fillHoverClass, alignSelfClass, justifySelfClass, columnStartClass, columnEndClass, columnSpanClass, rowStartClass, rowEndClass, rowSpanClass, directionClass, gapClass,
|
|
128
|
+
return (jsxRuntimeExports.jsx("div", { "data-tour": dataTour, id: id, style: gridItemStyles, className: clsx(className, 'grid__item', orderClass, fillClass, fillHoverClass, alignSelfClass, justifySelfClass, columnStartClass, columnEndClass, columnSpanClass, rowStartClass, rowEndClass, rowSpanClass, directionClass, gapClass, widthClass, heightClass, rowGapClass, columnGapClass), onClick: onClick, children: children }));
|
|
138
129
|
}
|
|
139
130
|
|
|
140
131
|
function GridRow(props) {
|
|
@@ -10,7 +10,7 @@ var groupConfig = {
|
|
|
10
10
|
},
|
|
11
11
|
};
|
|
12
12
|
function Group(props) {
|
|
13
|
-
var
|
|
13
|
+
var id = props.id, name = props.name, children = props.children, isTextHover = props.isTextHover, appearance = props.appearance, className = props.className, dataTour = props.dataTour, horizontalScroll = props.horizontalScroll, htmlFor = props.htmlFor, set = props.set, style = props.style, _a = props.tag, Tag = _a === void 0 ? 'div' : _a, onClick = props.onClick;
|
|
14
14
|
var contentAlignClass = useDeviceTargetClass(props, {
|
|
15
15
|
prefix: 'group_content-align_',
|
|
16
16
|
propsKey: 'contentAlign',
|
|
@@ -83,14 +83,27 @@ function Group(props) {
|
|
|
83
83
|
prefix: 'elevation_',
|
|
84
84
|
propsKey: 'elevation',
|
|
85
85
|
});
|
|
86
|
+
var textColorClass = useDeviceTargetClass(props, {
|
|
87
|
+
prefix: 'group_text-color_',
|
|
88
|
+
propsKey: 'textColor',
|
|
89
|
+
});
|
|
90
|
+
var textColorActiveClass = useDeviceTargetClass(props, {
|
|
91
|
+
prefix: 'group_text-color_active_',
|
|
92
|
+
propsKey: 'textColorActive',
|
|
93
|
+
});
|
|
94
|
+
var textColorHoverClass = useDeviceTargetClass(props, {
|
|
95
|
+
prefix: 'group_text-color_hover_',
|
|
96
|
+
propsKey: 'textColorHover',
|
|
97
|
+
});
|
|
86
98
|
// @ts-expect-error
|
|
87
99
|
var _b = useStyles(props), groupStyles = _b.styles, groupWrapperStyles = _b.wrapper;
|
|
88
|
-
|
|
89
|
-
|
|
100
|
+
// prettier-ignore
|
|
101
|
+
var appearanceConfig = (appearance && groupConfig.appearance && groupConfig.appearance[appearance]);
|
|
102
|
+
return (jsxRuntimeExports.jsx(Tag, { "data-tour": dataTour, htmlFor: htmlFor, id: id, name: name, style: Object.assign({}, groupStyles, style), className: clsx(className, 'group', widthClass, heightClass, columnsClass, contentAlignClass, alignDirectionClass, directionClass ||
|
|
90
103
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.direction) &&
|
|
91
104
|
"group_direction_".concat(appearanceConfig.direction)
|
|
92
105
|
.replace(/([A-Z])/g, '-$1')
|
|
93
|
-
.toLowerCase()), alignClass, fillClass ||
|
|
106
|
+
.toLowerCase()), alignClass, isTextHover && 'group_text_hover', textColorClass, textColorActiveClass, textColorHoverClass, fillClass ||
|
|
94
107
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fill) &&
|
|
95
108
|
"fill_".concat(appearanceConfig.fill).replace(/([A-Z])/g, '-$1').toLowerCase()), fillHoverClass ||
|
|
96
109
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fillHover) &&
|
|
@@ -102,7 +115,7 @@ function Group(props) {
|
|
|
102
115
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.borderWidth) &&
|
|
103
116
|
"border-width_".concat(appearanceConfig.borderWidth)
|
|
104
117
|
.replace(/([A-Z])/g, '-$1')
|
|
105
|
-
.toLowerCase()), borderTypeClass, elevationClass, justifyContentClass),
|
|
118
|
+
.toLowerCase()), borderTypeClass, elevationClass, justifyContentClass), onClick: onClick, children: horizontalScroll ? (jsxRuntimeExports.jsx("div", { className: "group__wrapper", style: groupWrapperStyles, children: children })) : (children) }));
|
|
106
119
|
}
|
|
107
120
|
Group.defaultProps = {
|
|
108
121
|
tag: 'div',
|
|
@@ -5,8 +5,8 @@ import clsx from 'clsx';
|
|
|
5
5
|
import SVG from 'react-inlinesvg';
|
|
6
6
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
7
7
|
import { useStyles } from './hooks/useStyles.js';
|
|
8
|
-
import { a as LinkWrapper } from './Link-
|
|
9
|
-
import { T as Tooltip } from './Tooltip-
|
|
8
|
+
import { a as LinkWrapper } from './Link-BREALvPd.js';
|
|
9
|
+
import { T as Tooltip } from './Tooltip-BYw26YRd.js';
|
|
10
10
|
|
|
11
11
|
var iconConfig = {
|
|
12
12
|
appearance: {},
|
|
@@ -2,7 +2,7 @@ import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
|
2
2
|
import { useState, useMemo, useCallback } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
5
|
-
import { I as Icon } from './Icon-
|
|
5
|
+
import { I as Icon } from './Icon-CPCBYWfF.js';
|
|
6
6
|
|
|
7
7
|
var inputPasswordConfig = {
|
|
8
8
|
state: undefined,
|
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
5
5
|
import { useStyles } from './hooks/useStyles.js';
|
|
6
6
|
import { T as Text } from './Text-Dn0X1zxN.js';
|
|
7
|
-
import { T as Tooltip } from './Tooltip-
|
|
7
|
+
import { T as Tooltip } from './Tooltip-BYw26YRd.js';
|
|
8
8
|
|
|
9
9
|
var labelConfig = {
|
|
10
10
|
appearance: undefined,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
|
-
import { I as Icon } from './Icon-
|
|
3
|
+
import { I as Icon } from './Icon-CPCBYWfF.js';
|
|
4
4
|
|
|
5
5
|
function LanguageSelectorItem(props) {
|
|
6
6
|
var label = props.label, iconSize = props.iconSize, SvgImage = props.SvgImage, isActive = props.isActive, onClick = props.onClick;
|