@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { T as Tooltip, t as tooltipConfig } from '../Tooltip-
|
|
1
|
+
export { T as Tooltip, t as tooltipConfig } from '../Tooltip-BYw26YRd.js';
|
|
2
2
|
import '../jsx-runtime-C2uP7l8s.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -14,4 +14,4 @@ import 'lodash/maxBy';
|
|
|
14
14
|
import 'lodash/upperFirst';
|
|
15
15
|
import '../hooks/styleAttributes.js';
|
|
16
16
|
import '../Text-Dn0X1zxN.js';
|
|
17
|
-
import '../Title-
|
|
17
|
+
import '../Title-zpOK2AxL.js';
|
package/dist/components.js
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
export { A as Accordion, a as AccordionItem } from './Accordion-
|
|
2
|
-
export { A as Avatar } from './Avatar-
|
|
1
|
+
export { A as Accordion, a as AccordionItem } from './Accordion-DFgzxKlH.js';
|
|
2
|
+
export { A as Avatar } from './Avatar-B_7tOMik.js';
|
|
3
3
|
export { B as Badge, b as badgeConfig } from './Badge-DtYgQu3L.js';
|
|
4
|
-
export { B as Breadcrumbs, a as BreadcrumbsItem } from './Breadcrumbs-
|
|
5
|
-
export { B as Button, b as buttonConfig } from './Button-
|
|
4
|
+
export { B as Breadcrumbs, a as BreadcrumbsItem } from './Breadcrumbs-EQmNm0OH.js';
|
|
5
|
+
export { B as Button, b as buttonConfig } from './Button-BlPfX0sG.js';
|
|
6
6
|
export { C as Caption } from './Caption-DDh0VFPJ.js';
|
|
7
7
|
export { C as Card } from './Card-DEs1Rr88.js';
|
|
8
|
-
export { C as Cell } from './Cell-
|
|
8
|
+
export { C as Cell } from './Cell-BTH03V30.js';
|
|
9
9
|
export { C as Checkbox, c as checkboxConfig } from './Checkbox-BmQo6ByV.js';
|
|
10
10
|
export { C as Chips, c as chipsConfig } from './Chips-CBPMHkdw.js';
|
|
11
|
-
export { C as Choice, c as choiceConfig } from './Choice-
|
|
11
|
+
export { C as Choice, c as choiceConfig } from './Choice-DsyZ57RY.js';
|
|
12
12
|
export { C as Code } from './Code-1WUXVzfb.js';
|
|
13
|
-
export { C as ContextMenu, a as ContextMenuItem } from './ContextMenuItem-
|
|
14
|
-
export { C as CookiesWarning } from './CookiesWarning
|
|
13
|
+
export { C as ContextMenu, a as ContextMenuItem } from './ContextMenuItem-BrLq1iQl.js';
|
|
14
|
+
export { C as CookiesWarning } from './CookiesWarning--bl8qppa.js';
|
|
15
15
|
export { D as DadataHintField } from './DadataHintField-CHJLsVjJ.js';
|
|
16
|
-
export { D as DatePickerInput } from './DatePicker-
|
|
16
|
+
export { D as DatePickerInput } from './DatePicker-DwvyPEnL.js';
|
|
17
17
|
export { D as Divider } from './Divider-Dhj6sMWd.js';
|
|
18
18
|
export { D as Dot } from './Dot-Bc0Ly45H.js';
|
|
19
19
|
export { D as Drawer } from './Drawer-DkLkFSmD.js';
|
|
20
|
-
export { D as Dropdown, a as DropdownItem } from './DropdownItem-
|
|
20
|
+
export { D as Dropdown, a as DropdownItem } from './DropdownItem-D_DLgDdG.js';
|
|
21
21
|
export { F as Flex, a as FlexItem } from './FlexItem-DHmKl6e7.js';
|
|
22
|
-
export { C as ChoiceField, F as FormField, P as PasswordField, S as SelectField, a as SwitchField } from './SwitchField-
|
|
23
|
-
export { G as Grid, a as GridItem, b as GridRow } from './GridRow-
|
|
24
|
-
export { G as Group, g as groupConfig } from './Group-
|
|
22
|
+
export { C as ChoiceField, F as FormField, P as PasswordField, S as SelectField, a as SwitchField } from './SwitchField-B2Bo-CKD.js';
|
|
23
|
+
export { G as Grid, a as GridItem, b as GridRow } from './GridRow-DRjyNWBh.js';
|
|
24
|
+
export { G as Group, g as groupConfig } from './Group-BDmYkT7d.js';
|
|
25
25
|
export { H as HTMLContent } from './HTMLContent-CgbJTAy4.js';
|
|
26
|
-
export { I as Icon, i as iconConfig } from './Icon-
|
|
26
|
+
export { I as Icon, i as iconConfig } from './Icon-CPCBYWfF.js';
|
|
27
27
|
export { I as Image } from './Image-Bz4Fo3eB.js';
|
|
28
28
|
export { I as Input, i as inputConfig } from './Input-CYDtAlO-.js';
|
|
29
|
-
export { i as inputPasswordConfig } from './InputPassword-
|
|
30
|
-
export { L as Label, l as labelConfig } from './Label-
|
|
31
|
-
export { L as LanguageSelector } from './LanguageSelector-
|
|
32
|
-
export { L as Link, a as LinkWrapper, l as linkConfig } from './Link-
|
|
33
|
-
export { L as List, a as ListItem } from './ListItem-
|
|
29
|
+
export { i as inputPasswordConfig } from './InputPassword-CjExdAwu.js';
|
|
30
|
+
export { L as Label, l as labelConfig } from './Label-Ch6YjDF4.js';
|
|
31
|
+
export { L as LanguageSelector } from './LanguageSelector-CeioS128.js';
|
|
32
|
+
export { L as Link, a as LinkWrapper, l as linkConfig } from './Link-BREALvPd.js';
|
|
33
|
+
export { L as List, a as ListItem } from './ListItem-CC1Ud8f6.js';
|
|
34
34
|
export { L as Loader, l as loaderConfig } from './Loader-DhgIcSY1.js';
|
|
35
|
-
export { L as Logo, l as logoConfig } from './Logo-
|
|
36
|
-
export { M as Menu } from './Menu-
|
|
37
|
-
export { M as MenuItem, m as menuItemConfig } from './MenuItem-
|
|
35
|
+
export { L as Logo, l as logoConfig } from './Logo-C_CbU1Oq.js';
|
|
36
|
+
export { M as Menu } from './Menu-BVxNhuDF.js';
|
|
37
|
+
export { M as MenuItem, m as menuItemConfig } from './MenuItem-3UBIrvob.js';
|
|
38
38
|
export { M as Modal, a as ModalLoader } from './ModalLoader-DHOpJqE3.js';
|
|
39
|
-
export { N as NotificationItem, a as NotificationList, n as notificationItemConfig } from './NotificationList-
|
|
39
|
+
export { N as NotificationItem, a as NotificationList, n as notificationItemConfig } from './NotificationList-CaAYxwHB.js';
|
|
40
40
|
export { Page } from './components/Page.js';
|
|
41
|
-
export { P as Pagination } from './Pagination-
|
|
41
|
+
export { P as Pagination } from './Pagination-Bbk7dlxN.js';
|
|
42
42
|
export { R as Radio, r as radioConfig } from './Radio-CmejVeSJ.js';
|
|
43
43
|
export { R as RangeSlider } from './RangeSlider-BPFVikab.js';
|
|
44
|
-
export { R as Response, r as responseConfig } from './Response-
|
|
44
|
+
export { R as Response, r as responseConfig } from './Response-B4iaYCX1.js';
|
|
45
45
|
export { S as Scrollbar } from './Scrollbar-DrRNpn12.js';
|
|
46
|
-
export { S as SearchInput, a as SearchResult } from './SearchResult-
|
|
46
|
+
export { S as SearchInput, a as SearchResult } from './SearchResult-BekTgQJ2.js';
|
|
47
47
|
export { S as Segmented, s as segmentedConfig } from './Segmented-BoROz9LW.js';
|
|
48
48
|
export { Select, SelectClearIndicator, SelectControl, SelectDropdownIndicator, SelectGroupHeading, SelectIndicatorsContainer, SelectInput, SelectMenu, SelectMultiValueContainer, SelectMultiValueLabel, SelectMultiValueRemove, SelectOption, SelectPlaceholder, SelectSingleValue, SelectValueContainer, selectConfig } from './components/Select.js';
|
|
49
|
-
export { S as SiteMenu, a as SiteMenuButton } from './SiteMenuButton-
|
|
50
|
-
export { S as Swiper } from './Swiper-
|
|
49
|
+
export { S as SiteMenu, a as SiteMenuButton } from './SiteMenuButton-DXFJiK5H.js';
|
|
50
|
+
export { S as Swiper } from './Swiper-CXjE6qZR.js';
|
|
51
51
|
export { S as Switch } from './Switch-0BHqovLA.js';
|
|
52
|
-
export { T as Tab, a as TabGroup, t as tabConfig } from './TabGroup-
|
|
52
|
+
export { T as Tab, a as TabGroup, t as tabConfig } from './TabGroup-DEa55bqq.js';
|
|
53
53
|
export { T as Text, t as textConfig } from './Text-Dn0X1zxN.js';
|
|
54
54
|
export { T as Textarea, t as textareaConfig } from './Textarea-D3XSuMEm.js';
|
|
55
|
-
export { T as Tile } from './Tile-
|
|
56
|
-
export { T as Title, t as titleConfig } from './Title-
|
|
57
|
-
export { T as Tooltip, t as tooltipConfig } from './Tooltip-
|
|
55
|
+
export { T as Tile } from './Tile-m0Q0UUPl.js';
|
|
56
|
+
export { T as Title, t as titleConfig } from './Title-zpOK2AxL.js';
|
|
57
|
+
export { T as Tooltip, t as tooltipConfig } from './Tooltip-BYw26YRd.js';
|
|
58
58
|
export { V as Video } from './Video-0z4mNz4P.js';
|
|
59
59
|
export { W as Wrapper } from './Wrapper-CJTkVfsd.js';
|
|
60
60
|
import './_tslib-S-VPg1Cw.js';
|
|
@@ -77,6 +77,7 @@ import 'crypto';
|
|
|
77
77
|
import 'react-dom';
|
|
78
78
|
import './floating-ui.dom-BV5qw-HP.js';
|
|
79
79
|
import 'react-inlinesvg';
|
|
80
|
+
import 'lodash.throttle';
|
|
80
81
|
import './Overlay-C4gCb0sL.js';
|
|
81
82
|
import './context/Notifications.js';
|
|
82
83
|
import 'uuid';
|
|
@@ -13,10 +13,13 @@
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
+
&__suggestions {
|
|
17
|
+
z-index: 110;
|
|
18
|
+
}
|
|
16
19
|
&__suggestion {
|
|
17
20
|
position: relative !important;
|
|
18
21
|
&:hover {
|
|
19
|
-
background: var(--color-accent-tertiary);
|
|
22
|
+
background: var(--react-dadata-suggestion-hover-color, --color-accent-tertiary);
|
|
20
23
|
}
|
|
21
24
|
}
|
|
22
25
|
&--highlighted {
|
|
@@ -62,18 +62,27 @@
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
.grid {
|
|
65
|
-
@each $val in 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,
|
|
65
|
+
@each $val in 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
|
|
66
|
+
24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
|
|
67
|
+
48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
|
|
68
|
+
72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
|
|
69
|
+
96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115,
|
|
70
|
+
116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
|
|
71
|
+
135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153,
|
|
72
|
+
154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172,
|
|
73
|
+
173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191,
|
|
74
|
+
192, 193, 194, 195, 196, 197, 198, 199, 200 {
|
|
66
75
|
&_row-gap_$(val) {
|
|
67
76
|
& > ^&__wrapper {
|
|
68
77
|
& > div {
|
|
69
|
-
row-gap: $(val)px;
|
|
78
|
+
row-gap: $(val) px;
|
|
70
79
|
}
|
|
71
80
|
}
|
|
72
81
|
}
|
|
73
82
|
&_column-gap_$(val) {
|
|
74
83
|
& > ^&__wrapper {
|
|
75
84
|
& > div {
|
|
76
|
-
column-gap: $(val)px;
|
|
85
|
+
column-gap: $(val) px;
|
|
77
86
|
}
|
|
78
87
|
}
|
|
79
88
|
}
|
|
@@ -74,6 +74,41 @@
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
+
.group {
|
|
78
|
+
&_text-color {
|
|
79
|
+
&_hover {
|
|
80
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface,
|
|
81
|
+
success, error, info, warning {
|
|
82
|
+
&_$(type) {
|
|
83
|
+
&-text {
|
|
84
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent,
|
|
85
|
+
disabled, hover {
|
|
86
|
+
&-$(color) {
|
|
87
|
+
&:hover {
|
|
88
|
+
& .text,
|
|
89
|
+
& .title,
|
|
90
|
+
& .link {
|
|
91
|
+
color: var(--color-$(type)-text-$(color));
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
&-hover {
|
|
95
|
+
&:hover {
|
|
96
|
+
& .text,
|
|
97
|
+
& .title,
|
|
98
|
+
& .link {
|
|
99
|
+
color: var(--color-$(type)-text-$(color)-hover);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
77
112
|
.group {
|
|
78
113
|
&_wrap {
|
|
79
114
|
@each $val in nowrap, wrap, wrap-reverse {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Swiper 11.1.
|
|
2
|
+
* Swiper 11.1.9
|
|
3
3
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
4
4
|
* https://swiperjs.com
|
|
5
5
|
*
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* Released under the MIT License
|
|
9
9
|
*
|
|
10
|
-
* Released on: July
|
|
10
|
+
* Released on: July 31, 2024
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
/* FONT_START */
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
.text
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
.text {
|
|
2
|
+
&&-color {
|
|
3
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface,
|
|
4
|
+
success, error, info, warning {
|
|
5
|
+
&_$(type) {
|
|
6
|
+
&-text {
|
|
7
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent,
|
|
8
|
+
disabled, hover, invert, inverse {
|
|
9
|
+
&-$(color) {
|
|
10
|
+
color: var(--color-$(type)-text-$(color));
|
|
11
|
+
}
|
|
8
12
|
}
|
|
9
13
|
}
|
|
10
14
|
}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
.text
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
.text {
|
|
2
|
+
&&-color {
|
|
3
|
+
&_active {
|
|
4
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface,
|
|
5
|
+
success, error, info, warning {
|
|
6
|
+
&_$(type) {
|
|
7
|
+
&-text {
|
|
8
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent,
|
|
9
|
+
disabled, hover, invert, inverse {
|
|
10
|
+
&-$(color) {
|
|
11
|
+
color: var(--color-$(type)-text-$(color));
|
|
12
|
+
}
|
|
11
13
|
}
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
.text
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
&-hover {
|
|
1
|
+
.text {
|
|
2
|
+
&&-color {
|
|
3
|
+
&_hover {
|
|
4
|
+
@each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface,
|
|
5
|
+
success, error, info, warning {
|
|
6
|
+
&_$(type) {
|
|
7
|
+
&-text {
|
|
8
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent,
|
|
9
|
+
disabled, hover {
|
|
10
|
+
&-$(color) {
|
|
13
11
|
&:hover {
|
|
14
|
-
color: var(--color-$(type)-text-$(color)
|
|
12
|
+
color: var(--color-$(type)-text-$(color));
|
|
13
|
+
}
|
|
14
|
+
&-hover {
|
|
15
|
+
&:hover {
|
|
16
|
+
color: var(--color-$(type)-text-$(color)-hover);
|
|
17
|
+
}
|
|
15
18
|
}
|
|
16
19
|
}
|
|
17
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type tTextColorHoverProps = 'accentTextPrimary' | 'accentTextSecondary' | 'accentTextTertiary' | 'primaryTextPrimary' | 'primaryTextSecondary' | 'primaryTextTertiary' | 'secondaryTextPrimary' | 'secondaryTextSecondary' | 'secondaryTextTertiary' | 'tertiaryTextPrimary' | 'tertiaryTextSecondary' | 'surfaceTextPrimary' | 'surfaceTextAccent' | 'surfaceTextSecondary' | 'surfaceTextTertiary' | 'surfaceTextQuaternary' | 'surfaceTextAccent' | 'surfaceTextHover' | 'surfaceTextFocus' | 'surfaceTextActive' | 'surfaceTextDisabled' | 'errorTextPrimary' | 'errorTextSecondary' | 'successTextPrimary' | 'successTextSecondary' | 'surfaceTextInvert' | 'surfaceTextInverse';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type tTextGradientProps = 'accent' | 'primary' | 'secondary' | 'tertiary' | 'surface' | 'error' | 'success';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type tTextStyleProps = 'normal' | 'italic';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type tUnderlineProps = 'false' | 'none' | 'underline';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -40,17 +40,17 @@ export type { stackingPropsType } from './componentProps/stacking';
|
|
|
40
40
|
export type { statePropsType } from './componentProps/state';
|
|
41
41
|
export type { textAlignPropsType } from './componentProps/textAlign';
|
|
42
42
|
export type { textColorActivePropsType } from './componentProps/textColorActive';
|
|
43
|
-
export type {
|
|
43
|
+
export type { tTextColorHoverProps } from './componentProps/textColorHover';
|
|
44
44
|
export type { tTextColorProps } from './componentProps/textColor';
|
|
45
|
-
export type {
|
|
45
|
+
export type { tTextGradientProps } from './componentProps/textGradient';
|
|
46
46
|
export type { tTextSizeProps } from './componentProps/textSize';
|
|
47
|
-
export type {
|
|
47
|
+
export type { tTextStyleProps } from './componentProps/textStyle';
|
|
48
48
|
export type { textTagPropsType } from './componentProps/textTag';
|
|
49
49
|
export type { tTextWeightProps } from './componentProps/textWeight';
|
|
50
50
|
export type { textWrapPropsType } from './componentProps/textWrap';
|
|
51
51
|
export type { titleSizePropsType } from './componentProps/titleSize';
|
|
52
52
|
export type { typePropsType } from './componentProps/type';
|
|
53
|
-
export type {
|
|
53
|
+
export type { tUnderlineProps } from './componentProps/underline';
|
|
54
54
|
export type { verticalContentAlignPropsType } from './componentProps/verticalContentAlign';
|
|
55
55
|
export type { verticalResizeModePropsType } from './componentProps/verticalResizeMode';
|
|
56
56
|
export type { tWidthProps } from './componentProps/width';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.21",
|
|
4
4
|
"description": "UI components (Modal, Loader, Popup, etc)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Modal",
|
|
@@ -90,13 +90,12 @@
|
|
|
90
90
|
"registry": "https://registry.npmjs.org/"
|
|
91
91
|
},
|
|
92
92
|
"dependencies": {
|
|
93
|
-
"@itcase/common": "^1.2.
|
|
94
|
-
"@itcase/lint": "^1.0.2",
|
|
93
|
+
"@itcase/common": "^1.2.6",
|
|
95
94
|
"clsx": "^2.1.1",
|
|
96
95
|
"html5-boilerplate": "^9.0.1",
|
|
97
96
|
"js-cookie": "^3.0.5",
|
|
98
97
|
"lodash": "^4.17.21",
|
|
99
|
-
"luxon": "^3.
|
|
98
|
+
"luxon": "^3.5.0",
|
|
100
99
|
"prop-types": "^15.8.1",
|
|
101
100
|
"rc-slider": "^11.1.5",
|
|
102
101
|
"react": "^18.3.1",
|
|
@@ -110,16 +109,18 @@
|
|
|
110
109
|
"react-otp-input": "^3.1.1",
|
|
111
110
|
"react-paginate": "^8.2.0",
|
|
112
111
|
"react-responsive": "^10.0.0",
|
|
112
|
+
"react-scroll": "^1.9.0",
|
|
113
113
|
"react-scrollbars-custom": "^4.1.1",
|
|
114
114
|
"react-select": "^5.8.0",
|
|
115
|
-
"swiper": "^11.1.
|
|
115
|
+
"swiper": "^11.1.9",
|
|
116
116
|
"uuid": "^10.0.0"
|
|
117
117
|
},
|
|
118
118
|
"devDependencies": {
|
|
119
|
+
"@itcase/lint": "^1.0.8",
|
|
119
120
|
"@babel/core": "^7.25.2",
|
|
120
121
|
"@babel/eslint-parser": "^7.25.1",
|
|
121
122
|
"@babel/eslint-plugin": "^7.25.1",
|
|
122
|
-
"@babel/preset-env": "^7.25.
|
|
123
|
+
"@babel/preset-env": "^7.25.3",
|
|
123
124
|
"@babel/preset-react": "^7.24.7",
|
|
124
125
|
"@commitlint/cli": "^19.3.0",
|
|
125
126
|
"@commitlint/config-conventional": "^19.2.2",
|
|
@@ -135,8 +136,9 @@
|
|
|
135
136
|
"@types/js-cookie": "^3.0.6",
|
|
136
137
|
"@types/lodash": "^4.17.7",
|
|
137
138
|
"@types/react": "^18",
|
|
138
|
-
"@types/react-datepicker": "^
|
|
139
|
+
"@types/react-datepicker": "^7.0.0",
|
|
139
140
|
"@types/react-dom": "^18.3.0",
|
|
141
|
+
"@types/react-scroll": "^1.8.10",
|
|
140
142
|
"babel-loader": "^9.1.3",
|
|
141
143
|
"babel-plugin-inline-react-svg": "^2.0.2",
|
|
142
144
|
"babel-plugin-react-docgen": "^4.2.1",
|
|
@@ -144,9 +146,9 @@
|
|
|
144
146
|
"conventional-changelog-conventionalcommits": "^8.0.0",
|
|
145
147
|
"eslint": "9.8.0",
|
|
146
148
|
"husky": "^9.1.4",
|
|
147
|
-
"lint-staged": "^15.2.
|
|
149
|
+
"lint-staged": "^15.2.8",
|
|
148
150
|
"npm": "^10.8.2",
|
|
149
|
-
"postcss": "^8.4.
|
|
151
|
+
"postcss": "^8.4.41",
|
|
150
152
|
"postcss-aspect-ratio-polyfill": "^2.0.0",
|
|
151
153
|
"postcss-cli": "^11.0.0",
|
|
152
154
|
"postcss-combine-duplicated-selectors": "^10.0.3",
|
|
@@ -164,19 +166,19 @@
|
|
|
164
166
|
"postcss-nested-ancestors": "^3.0.0",
|
|
165
167
|
"postcss-normalize": "^10.0.1",
|
|
166
168
|
"postcss-prepend-imports": "^1.0.1",
|
|
167
|
-
"postcss-preset-env": "^
|
|
169
|
+
"postcss-preset-env": "^10.0.0",
|
|
168
170
|
"postcss-pxtorem": "^6.1.0",
|
|
169
171
|
"postcss-responsive-type": "github:ITCase/postcss-responsive-type",
|
|
170
172
|
"postcss-sort-media-queries": "^5.2.0",
|
|
171
173
|
"prettier": "3.3.3",
|
|
172
|
-
"rollup": "^4.
|
|
174
|
+
"rollup": "^4.20.0",
|
|
173
175
|
"rollup-plugin-copy": "^3.5.0",
|
|
174
176
|
"rollup-plugin-dts": "^6.1.1",
|
|
175
177
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
176
178
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
177
179
|
"rollup-preserve-directives": "^1.1.1",
|
|
178
180
|
"semantic-release": "^24.0.0",
|
|
179
|
-
"stylelint": "^16.8.
|
|
181
|
+
"stylelint": "^16.8.1",
|
|
180
182
|
"tslib": "^2.6.3",
|
|
181
183
|
"typescript": "^5.5.4"
|
|
182
184
|
}
|
package/dist/Link-Co6uspFK.js
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { a as __rest, _ as __assign } from './_tslib-S-VPg1Cw.js';
|
|
2
|
-
import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
3
|
-
import React__default from 'react';
|
|
4
|
-
import clsx from 'clsx';
|
|
5
|
-
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
6
|
-
import { useStyles } from './hooks/useStyles.js';
|
|
7
|
-
|
|
8
|
-
var linkConfig = {
|
|
9
|
-
LinkComponent: 'a',
|
|
10
|
-
setLinkComponent: function (newComponent) {
|
|
11
|
-
linkConfig.LinkComponent = newComponent;
|
|
12
|
-
},
|
|
13
|
-
};
|
|
14
|
-
function Link(props) {
|
|
15
|
-
var after = props.after, before = props.before, children = props.children, className = props.className, LinkComponent = props.LinkComponent, href = props.href, link = props.link, target = props.target, rel = props.rel, text = props.text, _a = props.underline, underline = _a === void 0 ? 'underline' : _a, onClick = props.onClick, onMouseDown = props.onMouseDown;
|
|
16
|
-
var directionClass = useDeviceTargetClass(props, {
|
|
17
|
-
prefix: 'link_direction_',
|
|
18
|
-
propsKey: 'direction',
|
|
19
|
-
});
|
|
20
|
-
var sizeClass = useDeviceTargetClass(props, {
|
|
21
|
-
prefix: 'text_size_',
|
|
22
|
-
propsKey: 'size',
|
|
23
|
-
});
|
|
24
|
-
var textColorClass = useDeviceTargetClass(props, {
|
|
25
|
-
prefix: 'text-color_',
|
|
26
|
-
propsKey: 'textColor',
|
|
27
|
-
});
|
|
28
|
-
var fillClass = useDeviceTargetClass(props, {
|
|
29
|
-
prefix: 'fill_',
|
|
30
|
-
propsKey: 'fill',
|
|
31
|
-
});
|
|
32
|
-
var svgFillClass = useDeviceTargetClass(props, {
|
|
33
|
-
prefix: 'svg_fill_',
|
|
34
|
-
propsKey: 'svgFill',
|
|
35
|
-
});
|
|
36
|
-
var svgFillHoverClass = useDeviceTargetClass(props, {
|
|
37
|
-
prefix: 'svg_fill_hover_',
|
|
38
|
-
propsKey: 'svgFillHover',
|
|
39
|
-
});
|
|
40
|
-
var weightClass = useDeviceTargetClass(props, {
|
|
41
|
-
prefix: 'text-weight_',
|
|
42
|
-
propsKey: 'textWeight',
|
|
43
|
-
});
|
|
44
|
-
var textColorHoverClass = useDeviceTargetClass(props, {
|
|
45
|
-
prefix: 'text-color_hover_',
|
|
46
|
-
propsKey: 'textColorHover',
|
|
47
|
-
});
|
|
48
|
-
var textStyleClass = useDeviceTargetClass(props, {
|
|
49
|
-
prefix: 'text-style_',
|
|
50
|
-
propsKey: 'textColorHover',
|
|
51
|
-
});
|
|
52
|
-
var textGradientClass = useDeviceTargetClass(props, {
|
|
53
|
-
prefix: 'text-gradient_',
|
|
54
|
-
propsKey: 'textGradient',
|
|
55
|
-
});
|
|
56
|
-
// @ts-expect-error
|
|
57
|
-
var styles = useStyles(props).styles;
|
|
58
|
-
return (jsxRuntimeExports.jsxs(LinkWrapper, { className: clsx(className, 'link', directionClass, sizeClass, svgFillClass, svgFillHoverClass, underline && "link_underline_".concat(underline), (textColorClass ||
|
|
59
|
-
textColorHoverClass ||
|
|
60
|
-
textGradientClass ||
|
|
61
|
-
textStyleClass ||
|
|
62
|
-
weightClass) &&
|
|
63
|
-
'text', textColorClass, textColorHoverClass, textGradientClass, textStyleClass, weightClass, fillClass), Component: LinkComponent, href: href || link, rel: rel, style: styles, target: target, onClick: onClick, onMouseDown: onMouseDown, children: [before, children || text, after] }));
|
|
64
|
-
}
|
|
65
|
-
Link.defaultProps = {
|
|
66
|
-
underline: 'underline',
|
|
67
|
-
};
|
|
68
|
-
// Wrapper with "Link" by condition
|
|
69
|
-
function LinkWrapper(props) {
|
|
70
|
-
var children = props.children, Component = props.Component, DefaultComponent = props.DefaultComponent, href = props.href, target = props.target, rel = props.rel, otherProps = __rest(props, ["children", "Component", "DefaultComponent", "href", "target", "rel"]);
|
|
71
|
-
if (href) {
|
|
72
|
-
// If href passed, make link-wrapper
|
|
73
|
-
var LinkComponent = Component || linkConfig.LinkComponent;
|
|
74
|
-
if (LinkComponent) {
|
|
75
|
-
return (jsxRuntimeExports.jsx(LinkComponent, __assign({ href: href, rel: rel, target: target }, otherProps, { children: children })));
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
else if (DefaultComponent) {
|
|
79
|
-
// If has default "Component" - render it
|
|
80
|
-
return jsxRuntimeExports.jsx(DefaultComponent, __assign({}, otherProps, { children: children }));
|
|
81
|
-
}
|
|
82
|
-
// Return children and pass current props to
|
|
83
|
-
return React__default.Children.toArray(children)
|
|
84
|
-
.filter(Boolean)
|
|
85
|
-
.map(function (child) {
|
|
86
|
-
return React__default.isValidElement(child) ? React__default.cloneElement(child, otherProps) : child;
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
export { Link as L, LinkWrapper as a, linkConfig as l };
|
package/dist/Logo-dRWwDqj-.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
2
|
-
import clsx from 'clsx';
|
|
3
|
-
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
4
|
-
import { useStyles } from './hooks/useStyles.js';
|
|
5
|
-
import { a as LinkWrapper } from './Link-Co6uspFK.js';
|
|
6
|
-
|
|
7
|
-
var logoConfig = {
|
|
8
|
-
appearance: undefined,
|
|
9
|
-
setAppearance: function (newComponent) {
|
|
10
|
-
logoConfig.appearance = newComponent;
|
|
11
|
-
},
|
|
12
|
-
};
|
|
13
|
-
function Logo(props) {
|
|
14
|
-
var alt = props.alt, appearance = props.appearance, className = props.className, href = props.href, link = props.link, mode = props.mode, size = props.size, source = props.source, src = props.src, srcSize = props.srcSize;
|
|
15
|
-
var alignItemsClass = useDeviceTargetClass(props, {
|
|
16
|
-
prefix: 'logo_align-items_',
|
|
17
|
-
propsKey: 'alignItems',
|
|
18
|
-
});
|
|
19
|
-
var widthClass = useDeviceTargetClass(props, {
|
|
20
|
-
prefix: 'width_',
|
|
21
|
-
propsKey: 'width',
|
|
22
|
-
});
|
|
23
|
-
var alignDirectionClass = useDeviceTargetClass(props, {
|
|
24
|
-
prefix: 'align_',
|
|
25
|
-
propsKey: 'alignDirection',
|
|
26
|
-
});
|
|
27
|
-
var alignClass = useDeviceTargetClass(props, {
|
|
28
|
-
prefix: 'align_',
|
|
29
|
-
propsKey: 'align',
|
|
30
|
-
});
|
|
31
|
-
// @ts-expect-error
|
|
32
|
-
var logo = useStyles(props).styles;
|
|
33
|
-
var appearanceConfig = appearance && logoConfig.appearance && logoConfig.appearance[appearance];
|
|
34
|
-
return (jsxRuntimeExports.jsx("div", { style: logo, className: clsx(className, 'logo', alignClass, alignDirectionClass, alignItemsClass, alt, mode && "logo_mode_".concat(mode), size && "logo_size_".concat(size), widthClass), children: link || href ? (jsxRuntimeExports.jsx(LinkWrapper, { href: link || href, children: jsxRuntimeExports.jsx("img", { className: "logo__image", src: src || source || srcSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.srcSize) }) })) : (jsxRuntimeExports.jsx("img", { className: "logo__image", src: src || source || srcSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.srcSize) })) }));
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export { Logo as L, logoConfig as l };
|