@itcase/ui 1.1.21 → 1.1.23
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-DFgzxKlH.js → Accordion-FIIzpSgl.js} +2 -2
- package/dist/{Avatar-B_7tOMik.js → Avatar-DR2A8Na8.js} +2 -2
- package/dist/{Badge-DtYgQu3L.js → Badge-CLV5v6N7.js} +1 -1
- package/dist/{Breadcrumbs-EQmNm0OH.js → Breadcrumbs-CDKi6gOC.js} +3 -3
- package/dist/{Button-BlPfX0sG.js → Button-Vxs8zjSy.js} +10 -16
- package/dist/{Card-DEs1Rr88.js → Card-CvW4Qozl.js} +1 -1
- package/dist/{Cell-BTH03V30.js → Cell-3We_qMvM.js} +3 -3
- package/dist/{Checkbox-BmQo6ByV.js → Checkbox-0h4YosTW.js} +1 -1
- package/dist/{Chips-CBPMHkdw.js → Chips-uYPtUsLf.js} +1 -1
- package/dist/{Choice-DsyZ57RY.js → Choice-CeQ9Il98.js} +3 -3
- package/dist/{ContextMenuItem-BrLq1iQl.js → ContextMenuItem-KPAQQHlQ.js} +2 -2
- package/dist/{CookiesWarning--bl8qppa.js → CookiesWarning-Dc6YFhTn.js} +3 -3
- package/dist/{DatePicker-DwvyPEnL.js → DatePicker-l1a-OAls.js} +4 -4
- package/dist/{DropdownItem-D_DLgDdG.js → DropdownItem-CkojAA8a.js} +2 -2
- package/dist/{Group-BDmYkT7d.js → Group-DLmtajo8.js} +2 -2
- package/dist/{Icon-CPCBYWfF.js → Icon-BLqnXYOO.js} +2 -2
- package/dist/{InputPassword-CjExdAwu.js → InputPassword-DYBnRCtc.js} +1 -1
- package/dist/{Label-Ch6YjDF4.js → Label-c3hONOHC.js} +2 -2
- package/dist/{LanguageSelector-CeioS128.js → LanguageSelector-D0A-uqch.js} +1 -1
- package/dist/Link-DtzAAQn8.js +98 -0
- package/dist/{ListItem-CC1Ud8f6.js → ListItem-BoCF7VH9.js} +1 -1
- package/dist/{Loader-DhgIcSY1.js → Loader-VCP1ZNcb.js} +1 -1
- package/dist/{Logo-C_CbU1Oq.js → Logo-DCx_YOA2.js} +1 -1
- package/dist/{Menu-BVxNhuDF.js → Menu-C-TIWZeb.js} +1 -1
- package/dist/{MenuItem-3UBIrvob.js → MenuItem-BbU9r8_D.js} +2 -2
- package/dist/{ModalLoader-DHOpJqE3.js → ModalLoader-Bk6l3vO9.js} +1 -1
- package/dist/{NotificationList-CaAYxwHB.js → NotificationList-CmXca2zs.js} +1 -1
- package/dist/{Pagination-Bbk7dlxN.js → Pagination-BAbFsztK.js} +3 -3
- package/dist/{Radio-CmejVeSJ.js → Radio-BHqgR8WO.js} +1 -1
- package/dist/{Response-B4iaYCX1.js → Response-sCPsxYoM.js} +3 -3
- package/dist/{Link-BREALvPd.js → ScrollToView-W6XhacKJ.js} +40 -83
- package/dist/{SearchResult-BekTgQJ2.js → SearchResult-6Vg0m_NA.js} +2 -2
- package/dist/{Segmented-BoROz9LW.js → Segmented-BM1p7Ubz.js} +1 -1
- package/dist/{SiteMenuButton-DXFJiK5H.js → SiteMenuButton-DsYMvX6W.js} +2 -2
- package/dist/{SwitchField-B2Bo-CKD.js → SwitchField-BdrNzvfC.js} +3 -3
- package/dist/{TabGroup-DEa55bqq.js → TabGroup-BLB4Ymcx.js} +10 -10
- package/dist/{Text-Dn0X1zxN.js → Text-Dz-KPI5I.js} +1 -1
- package/dist/{Tile-m0Q0UUPl.js → Tile-CNnauNx6.js} +2 -2
- package/dist/{Tooltip-BYw26YRd.js → Tooltip-IVq3_vb4.js} +1 -1
- package/dist/cjs/{Accordion-DcPQQ3Rd.js → Accordion-Ba4Use_H.js} +2 -2
- package/dist/cjs/{Avatar-048eJFtq.js → Avatar-BKK80aBG.js} +2 -2
- package/dist/cjs/{Badge-Cn73E3GI.js → Badge-C_bYrtVY.js} +1 -1
- package/dist/cjs/{Breadcrumbs-cn7gw2i0.js → Breadcrumbs-B7F96CYT.js} +3 -3
- package/dist/cjs/{Button-CXdhQNJq.js → Button-xUrOQjVd.js} +10 -16
- package/dist/cjs/{Card-D9Eh3qLN.js → Card-BhnTRJN5.js} +1 -1
- package/dist/cjs/{Cell-DSyNSkFG.js → Cell-Bc4BC1e3.js} +3 -3
- package/dist/cjs/{Checkbox-BE9LWRTC.js → Checkbox-C5EikmBn.js} +1 -1
- package/dist/cjs/{Chips-cdORW7eM.js → Chips-D6tw75eZ.js} +1 -1
- package/dist/cjs/{Choice-GVU9LM0O.js → Choice-DJOKyu8I.js} +3 -3
- package/dist/cjs/{ContextMenuItem-CFjibLNs.js → ContextMenuItem-CLU1xPrC.js} +2 -2
- package/dist/cjs/{CookiesWarning-iXVuv8UU.js → CookiesWarning-DaEYrVWy.js} +3 -3
- package/dist/cjs/{DatePicker-CIWHdPVz.js → DatePicker-CBdRlgIa.js} +4 -4
- package/dist/cjs/{DropdownItem-B4pH6JPf.js → DropdownItem-2Nqtx3Vi.js} +2 -2
- package/dist/cjs/{Group-CiGVWRjW.js → Group-EFTg84wP.js} +2 -2
- package/dist/cjs/{Icon-_GtZOE4V.js → Icon-C7ZJyN5o.js} +2 -2
- package/dist/cjs/{InputPassword-CPH0_fiE.js → InputPassword-CbrEhEJB.js} +1 -1
- package/dist/cjs/{Label-Cgxxx2Ar.js → Label-C2uLpNrU.js} +2 -2
- package/dist/cjs/{LanguageSelector-BzXOG-vO.js → LanguageSelector-DZC_wwP6.js} +1 -1
- package/dist/cjs/Link-DRV1vzHd.js +107 -0
- package/dist/cjs/{ListItem-DOMz7Wb0.js → ListItem-B5rYml7Y.js} +1 -1
- package/dist/cjs/{Loader-2CPNhu-4.js → Loader-C2D6fJk1.js} +1 -1
- package/dist/cjs/{Logo-B0jp-maT.js → Logo-CsOCRB7d.js} +1 -1
- package/dist/cjs/{Menu-BtLNO62s.js → Menu-KYRzB912.js} +1 -1
- package/dist/cjs/{MenuItem-C57jgxF7.js → MenuItem-D6T9WRQk.js} +2 -2
- package/dist/cjs/{ModalLoader-DJWtjEvf.js → ModalLoader-QyRlFIR4.js} +1 -1
- package/dist/cjs/{NotificationList-DuwcxJAs.js → NotificationList-DETpx50O.js} +1 -1
- package/dist/cjs/{Pagination-B0p0XYPQ.js → Pagination-DuykmIqr.js} +3 -3
- package/dist/cjs/{Radio-BH3uHZDb.js → Radio-Bvv59nEV.js} +1 -1
- package/dist/cjs/{Response-Cpj42jCG.js → Response-DDEFfCC4.js} +3 -3
- package/dist/cjs/{Link-D-9lWATq.js → ScrollToView-DPhR0AQC.js} +42 -88
- package/dist/cjs/{SearchResult-gRidlU7Q.js → SearchResult-CfZvZ2Rg.js} +2 -2
- package/dist/cjs/{Segmented-BtzSR0xB.js → Segmented-D9L6q-Sa.js} +1 -1
- package/dist/cjs/{SiteMenuButton-DRsg0Q6A.js → SiteMenuButton-CC0QccWu.js} +2 -2
- package/dist/cjs/{SwitchField-RrUBVCd3.js → SwitchField-D2V-28Fy.js} +3 -3
- package/dist/cjs/{TabGroup-Ddjy3kOr.js → TabGroup-BKWkofWW.js} +10 -10
- package/dist/cjs/{Text-D2YDVhGJ.js → Text-B0SULA92.js} +1 -1
- package/dist/cjs/{Tile-CatxYX82.js → Tile-bPw3x_en.js} +2 -2
- package/dist/cjs/{Tooltip-CYJGThOv.js → Tooltip-DREz-tP6.js} +1 -1
- package/dist/cjs/components/Accordion.js +5 -7
- package/dist/cjs/components/Avatar.js +5 -7
- package/dist/cjs/components/Badge.js +2 -2
- package/dist/cjs/components/Breadcrumbs.js +5 -7
- package/dist/cjs/components/Button.js +6 -8
- package/dist/cjs/components/Card.js +2 -2
- package/dist/cjs/components/Cell.js +6 -8
- package/dist/cjs/components/Checkbox.js +2 -2
- package/dist/cjs/components/Chips.js +2 -2
- package/dist/cjs/components/Choice.js +6 -8
- package/dist/cjs/components/ContextMenu.js +5 -7
- package/dist/cjs/components/CookiesWarning.js +8 -10
- package/dist/cjs/components/DatePicker.js +8 -9
- package/dist/cjs/components/Divider/Divider.interface.d.ts +1 -0
- package/dist/cjs/components/Dropdown.js +3 -5
- package/dist/cjs/components/FormField.js +9 -10
- package/dist/cjs/components/Group.js +1 -1
- package/dist/cjs/components/Icon.js +4 -6
- package/dist/cjs/components/InputPassword.js +5 -7
- package/dist/cjs/components/Label.js +3 -3
- package/dist/cjs/components/LanguageSelector.js +5 -7
- package/dist/cjs/components/Link/Link.d.ts +1 -2
- package/dist/cjs/components/Link/index.d.ts +1 -1
- package/dist/cjs/components/Link.js +2 -5
- package/dist/cjs/components/List.js +2 -4
- package/dist/cjs/components/Loader.js +2 -2
- package/dist/cjs/components/Logo.js +2 -4
- package/dist/cjs/components/Menu.js +4 -6
- package/dist/cjs/components/MenuItem.js +3 -5
- package/dist/cjs/components/Modal.js +3 -3
- package/dist/cjs/components/Notification.js +2 -2
- package/dist/cjs/components/Pagination.js +6 -8
- package/dist/cjs/components/Panel.js +2 -2
- package/dist/cjs/components/Radio.js +2 -2
- package/dist/cjs/components/Response.js +8 -10
- package/dist/cjs/components/ScrollToView/ScrollToView.d.ts +2 -0
- package/dist/cjs/components/ScrollToView/index.d.ts +1 -0
- package/dist/cjs/components/ScrollToView.js +23 -0
- package/dist/cjs/components/Search.js +5 -7
- package/dist/cjs/components/Segmented.js +2 -2
- package/dist/cjs/components/Select.js +6 -7
- package/dist/cjs/components/SiteMenu.js +5 -7
- package/dist/cjs/components/Tab/Tab.d.ts +2 -2
- package/dist/cjs/components/Tab/Tab.interface.d.ts +2 -1
- package/dist/cjs/components/Tab.js +4 -6
- package/dist/cjs/components/Text.js +1 -1
- package/dist/cjs/components/Tile.js +3 -3
- package/dist/cjs/components/Tooltip.js +2 -2
- package/dist/cjs/components/index.d.ts +1 -0
- package/dist/cjs/components.js +41 -39
- package/dist/components/Accordion.js +5 -7
- package/dist/components/Avatar.js +5 -7
- package/dist/components/Badge.js +2 -2
- package/dist/components/Breadcrumbs.js +5 -7
- package/dist/components/Button.js +6 -8
- package/dist/components/Card.js +2 -2
- package/dist/components/Cell.js +6 -8
- package/dist/components/Checkbox.js +2 -2
- package/dist/components/Chips.js +2 -2
- package/dist/components/Choice.js +6 -8
- package/dist/components/ContextMenu.js +5 -7
- package/dist/components/CookiesWarning.js +8 -10
- package/dist/components/DatePicker.js +8 -9
- package/dist/components/Divider/Divider.interface.d.ts +1 -0
- package/dist/components/Dropdown.js +3 -5
- package/dist/components/FormField.js +9 -10
- package/dist/components/Group.js +1 -1
- package/dist/components/Icon.js +4 -6
- package/dist/components/InputPassword.js +5 -7
- package/dist/components/Label.js +3 -3
- package/dist/components/LanguageSelector.js +5 -7
- package/dist/components/Link/Link.d.ts +1 -2
- package/dist/components/Link/index.d.ts +1 -1
- package/dist/components/Link.js +2 -4
- package/dist/components/List.js +2 -4
- package/dist/components/Loader.js +2 -2
- package/dist/components/Logo.js +2 -4
- package/dist/components/Menu.js +4 -6
- package/dist/components/MenuItem.js +3 -5
- package/dist/components/Modal.js +3 -3
- package/dist/components/Notification.js +2 -2
- package/dist/components/Pagination.js +6 -8
- package/dist/components/Panel.js +2 -2
- package/dist/components/Radio.js +2 -2
- package/dist/components/Response.js +8 -10
- package/dist/components/ScrollToView/ScrollToView.d.ts +2 -0
- package/dist/components/ScrollToView/index.d.ts +1 -0
- package/dist/components/ScrollToView.js +17 -0
- package/dist/components/Search.js +5 -7
- package/dist/components/Segmented.js +2 -2
- package/dist/components/Select.js +6 -7
- package/dist/components/SiteMenu.js +5 -7
- package/dist/components/Tab/Tab.d.ts +2 -2
- package/dist/components/Tab/Tab.interface.d.ts +2 -1
- package/dist/components/Tab.js +4 -6
- package/dist/components/Text.js +1 -1
- package/dist/components/Tile.js +3 -3
- package/dist/components/Tooltip.js +2 -2
- package/dist/components/index.d.ts +1 -0
- package/dist/components.js +40 -39
- package/dist/css/components/ScrollToView/ScrollToView.css +34 -0
- package/dist/css/components/Tab/Tab.css +2 -1
- package/dist/css/styles/align-items/align-items.css +7 -0
- package/dist/css/styles/align-self/align-self.css +7 -0
- package/package.json +1 -2
|
@@ -5,8 +5,8 @@ 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-
|
|
9
|
-
import { T as Text } from './Text-
|
|
8
|
+
import { I as Icon } from './Icon-BLqnXYOO.js';
|
|
9
|
+
import { T as Text } from './Text-Dz-KPI5I.js';
|
|
10
10
|
|
|
11
11
|
var ChevronDown16 = function ChevronDown16(props) {
|
|
12
12
|
return /*#__PURE__*/React__default.createElement("svg", props, /*#__PURE__*/React__default.createElement("path", {
|
|
@@ -2,9 +2,9 @@ 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-BLqnXYOO.js';
|
|
6
6
|
import { I as Image } from './Image-Bz4Fo3eB.js';
|
|
7
|
-
import { T as Text } from './Text-
|
|
7
|
+
import { T as Text } from './Text-Dz-KPI5I.js';
|
|
8
8
|
|
|
9
9
|
function Avatar(props) {
|
|
10
10
|
var className = props.className, Dot = props.Dot, icon = props.icon, _a = props.size, size = _a === void 0 ? '96' : _a, after = props.after, before = props.before, src = props.src, type = props.type, mode = props.mode, onClick = props.onClick, _b = props.textSize, textSize = _b === void 0 ? 'l' : _b, _c = props.textColor, textColor = _c === void 0 ? 'surfaceTextTertiary' : _c, _d = props.textWeight, textWeight = _d === void 0 ? '600' : _d, iconSrc = props.iconSrc, iconItemFill = props.iconItemFill, iconShape = props.iconShape, iconSize = props.iconSize, iconFill = props.iconFill, iconFillHover = props.iconFillHover, iconFillSize = props.iconFillSize, _e = props.firstName, firstName = _e === void 0 ? '' : _e, _f = props.secondName, secondName = _f === void 0 ? '' : _f;
|
|
@@ -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 { useStyles } from './hooks/useStyles.js';
|
|
5
|
-
import { T as Text } from './Text-
|
|
5
|
+
import { T as Text } from './Text-Dz-KPI5I.js';
|
|
6
6
|
|
|
7
7
|
var badgeConfig = {
|
|
8
8
|
appearance: undefined,
|
|
@@ -5,9 +5,9 @@ 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-
|
|
10
|
-
import { T as Text } from './Text-
|
|
8
|
+
import { I as Icon } from './Icon-BLqnXYOO.js';
|
|
9
|
+
import { a as LinkWrapper } from './Link-DtzAAQn8.js';
|
|
10
|
+
import { T as Text } from './Text-Dz-KPI5I.js';
|
|
11
11
|
|
|
12
12
|
function BreadcrumbsItem(props) {
|
|
13
13
|
var children = props.children, className = props.className, cursor = props.cursor, _a = props.set, set = _a === void 0 ? 'default' : _a, text = props.text, textSize = props.textSize, textColor = props.textColor, textColorHover = props.textColorHover, href = props.href, iconAfter = props.iconAfter, iconAfterSize = props.iconAfterSize, iconAfterBgFill = props.iconAfterBgFill, iconAfterFill = props.iconAfterFill, onClick = props.onClick;
|
|
@@ -3,10 +3,10 @@ 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-
|
|
8
|
-
import { L as Loader } from './Loader-
|
|
9
|
-
import { T as Text } from './Text-
|
|
6
|
+
import { I as Icon } from './Icon-BLqnXYOO.js';
|
|
7
|
+
import { a as LinkWrapper } from './Link-DtzAAQn8.js';
|
|
8
|
+
import { L as Loader } from './Loader-VCP1ZNcb.js';
|
|
9
|
+
import { T as Text } from './Text-Dz-KPI5I.js';
|
|
10
10
|
|
|
11
11
|
var buttonConfig = {
|
|
12
12
|
appearance: undefined,
|
|
@@ -15,7 +15,11 @@ var buttonConfig = {
|
|
|
15
15
|
},
|
|
16
16
|
};
|
|
17
17
|
var Button = React__default.forwardRef(function Button(props, ref) {
|
|
18
|
-
var before = props.before, appearance = props.appearance, after = props.after, className = props.className, dataTour = props.dataTour, dataTestId = props.dataTestId, Badge = props.Badge, children = props.children, fillIcon = props.fillIcon, fillIconAfter = props.fillIconAfter, fillIconBefore = props.fillIconBefore, iconAfter = props.iconAfter, iconAfterSize = props.iconAfterSize, iconBefore = props.iconBefore, iconBeforeSize = props.iconBeforeSize, label = props.label, labelTextColor = props.labelTextColor, labelTextColorHover = props.labelTextColorHover, labelTextSize = props.labelTextSize, labelTextSizeMobile = props.labelTextSizeMobile, labelTextWeight = props.labelTextWeight,
|
|
18
|
+
var before = props.before, appearance = props.appearance, after = props.after, className = props.className, dataTour = props.dataTour, dataTestId = props.dataTestId, Badge = props.Badge, children = props.children, fillIcon = props.fillIcon, fillIconAfter = props.fillIconAfter, fillIconBefore = props.fillIconBefore, iconAfter = props.iconAfter, iconAfterSize = props.iconAfterSize, iconBefore = props.iconBefore, iconBeforeSize = props.iconBeforeSize, label = props.label, labelTextColor = props.labelTextColor, labelTextColorHover = props.labelTextColorHover, labelTextSize = props.labelTextSize, labelTextSizeMobile = props.labelTextSizeMobile, labelTextWeight = props.labelTextWeight,
|
|
19
|
+
// @ts-expect-error
|
|
20
|
+
labelTextTruncate = props.labelTextTruncate,
|
|
21
|
+
// @ts-expect-error
|
|
22
|
+
labelTextWidth = props.labelTextWidth, labelTextWrap = props.labelTextWrap, _a = props.loaderSet, loaderSet = _a === void 0 ? 'simple' : _a, loaderFill = props.loaderFill, loaderItemFill = props.loaderItemFill, link = props.link, href = props.href, target = props.target, rel = props.rel; props.size; var icon = props.icon, iconShape = props.iconShape, iconAfterShape = props.iconAfterShape, iconBeforeShape = props.iconBeforeShape, iconSize = props.iconSize, iconFill = props.iconFill, iconFillSize = props.iconFillSize, iconBeforeFill = props.iconBeforeFill, iconBeforeFillSize = props.iconBeforeFillSize, iconAfterFill = props.iconAfterFill, iconAfterFillSize = props.iconAfterFillSize, iconAfterSrc = props.iconAfterSrc, iconBeforeSrc = props.iconBeforeSrc, iconSrc = props.iconSrc, set = props.set, _c = props.loading, loading = _c === void 0 ? false : _c, _d = props.htmlType, htmlType = _d === void 0 ? 'button' : _d; props.width; var isDisabled = props.isDisabled, onClick = props.onClick, onMouseDown = props.onMouseDown;
|
|
19
23
|
var widthClass = useDeviceTargetClass(props, {
|
|
20
24
|
prefix: 'button_width_',
|
|
21
25
|
propsKey: 'width',
|
|
@@ -80,17 +84,7 @@ var Button = React__default.forwardRef(function Button(props, ref) {
|
|
|
80
84
|
iconBefore ||
|
|
81
85
|
iconBeforeSrc ||
|
|
82
86
|
iconSrc) &&
|
|
83
|
-
'button_type_with-icon', loading && 'button_state_loading button_type_loader'), "data-test-id": dataTestId && "".concat(dataTestId, "Button"), "data-tour": dataTour, DefaultComponent: "button", disabled: isDisabled, href: link || href, rel: rel, style: buttonStyles, target: target, type: htmlType, onClick: onClick, onMouseDown: onMouseDown, children: jsxRuntimeExports.jsxs("div", { className: "button__wrapper", ref: ref, children: [loading && (jsxRuntimeExports.jsx(Loader, { className: "button__loader", fill: loaderFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.loaderFill), itemFill: loaderItemFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.loaderItemFill), set: loaderSet })), before, (iconBefore || iconBeforeSrc) && (jsxRuntimeExports.jsx(Icon, { className: "button__icon_before", fill: fillIconBefore, fillSize: iconBeforeFillSize, iconFill: iconBeforeFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconBeforeFill), imageSrc: iconBeforeSrc, shape: iconBeforeShape, size: iconBeforeSize, SvgImage: iconBefore })), (icon || iconSrc) && (jsxRuntimeExports.jsx(Icon, { className: "button__icon", fill: fillIcon, fillSize: iconFillSize, iconFill: iconFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconFill), imageSrc: iconSrc, shape: iconShape, size: iconSize, SvgImage: icon })), (children || label || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.label)) && (jsxRuntimeExports.jsx(Text, { className: "button__label", size: labelTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextSize) || undefined, sizeMobile: labelTextSizeMobile, style: labelStyles, textColor: labelTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextColor), textColorHover: labelTextColorHover || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextColorHover), textWrap: labelTextWrap, textWeight: labelTextWeight, children: children || label || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.label) })), (iconAfter || iconAfterSrc) && (jsxRuntimeExports.jsx(Icon, { className: "button__icon_after", fill: fillIconAfter, fillSize: iconAfterFillSize, iconFill: iconAfterFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconAfterFill), imageSrc: iconAfterSrc, shape: iconAfterShape, size: iconAfterSize, SvgImage: iconAfter })), Badge, after] }) }));
|
|
87
|
+
'button_type_with-icon', loading && 'button_state_loading button_type_loader'), "data-test-id": dataTestId && "".concat(dataTestId, "Button"), "data-tour": dataTour, DefaultComponent: "button", disabled: isDisabled, href: link || href, rel: rel, style: buttonStyles, target: target, type: htmlType, onClick: onClick, onMouseDown: onMouseDown, children: jsxRuntimeExports.jsxs("div", { className: "button__wrapper", ref: ref, children: [loading && (jsxRuntimeExports.jsx(Loader, { className: "button__loader", fill: loaderFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.loaderFill), itemFill: loaderItemFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.loaderItemFill), set: loaderSet })), before, (iconBefore || iconBeforeSrc) && (jsxRuntimeExports.jsx(Icon, { className: "button__icon_before", fill: fillIconBefore, fillSize: iconBeforeFillSize, iconFill: iconBeforeFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconBeforeFill), imageSrc: iconBeforeSrc, shape: iconBeforeShape, size: iconBeforeSize, SvgImage: iconBefore })), (icon || iconSrc) && (jsxRuntimeExports.jsx(Icon, { className: "button__icon", fill: fillIcon, fillSize: iconFillSize, iconFill: iconFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconFill), imageSrc: iconSrc, shape: iconShape, size: iconSize, SvgImage: icon })), (children || label || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.label)) && (jsxRuntimeExports.jsx(Text, { className: "button__label", size: labelTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextSize) || undefined, sizeMobile: labelTextSizeMobile, style: labelStyles, textTruncate: labelTextTruncate, textColor: labelTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextColor), textColorHover: labelTextColorHover || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextColorHover), textWrap: labelTextWrap, textWeight: labelTextWeight, width: labelTextWidth, children: children || label || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.label) })), (iconAfter || iconAfterSrc) && (jsxRuntimeExports.jsx(Icon, { className: "button__icon_after", fill: fillIconAfter, fillSize: iconAfterFillSize, iconFill: iconAfterFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconAfterFill), imageSrc: iconAfterSrc, shape: iconAfterShape, size: iconAfterSize, SvgImage: iconAfter })), Badge, after] }) }));
|
|
84
88
|
});
|
|
85
|
-
Button.defaultProps = {
|
|
86
|
-
// Button with a `type="submit"` attribute is a form control by default.
|
|
87
|
-
// If the button is not associated with any form, it will look for
|
|
88
|
-
// the nearest form in the DOM and submit its data when clicked.
|
|
89
|
-
htmlType: 'button',
|
|
90
|
-
size: 'xl',
|
|
91
|
-
width: 'hug',
|
|
92
|
-
loaderSet: 'simple',
|
|
93
|
-
loading: false,
|
|
94
|
-
};
|
|
95
89
|
|
|
96
90
|
export { Button as B, buttonConfig as b };
|
|
@@ -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 { I as Image } from './Image-Bz4Fo3eB.js';
|
|
5
|
-
import { T as Text } from './Text-
|
|
5
|
+
import { T as Text } from './Text-Dz-KPI5I.js';
|
|
6
6
|
|
|
7
7
|
function Card(props) {
|
|
8
8
|
var children = props.children, className = props.className, size = props.size, src = props.src, text = props.text, textSize = props.textSize, textColor = props.textColor, textTag = props.textTag, title = props.title, titleSize = props.titleSize, titleTag = props.titleTag, titleColor = props.titleColor, image = props.image, imageShape = props.imageShape, type = props.type, onClick = props.onClick;
|
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
6
|
-
import { T as Text } from './Text-
|
|
4
|
+
import { I as Icon } from './Icon-BLqnXYOO.js';
|
|
5
|
+
import { L as Label } from './Label-c3hONOHC.js';
|
|
6
|
+
import { T as Text } from './Text-Dz-KPI5I.js';
|
|
7
7
|
import { useStyles } from './hooks/useStyles.js';
|
|
8
8
|
|
|
9
9
|
function Cell(props) {
|
|
@@ -1,7 +1,7 @@
|
|
|
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 { T as Text } from './Text-
|
|
4
|
+
import { T as Text } from './Text-Dz-KPI5I.js';
|
|
5
5
|
|
|
6
6
|
var checkboxConfig = {
|
|
7
7
|
appearance: undefined,
|
|
@@ -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 { useStyles } from './hooks/useStyles.js';
|
|
5
|
-
import { T as Text } from './Text-
|
|
5
|
+
import { T as Text } from './Text-Dz-KPI5I.js';
|
|
6
6
|
|
|
7
7
|
var chipsConfig = {
|
|
8
8
|
appearance: undefined,
|
|
@@ -2,9 +2,9 @@ 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-
|
|
6
|
-
import { L as Loader } from './Loader-
|
|
7
|
-
import { T as Text } from './Text-
|
|
5
|
+
import { I as Icon } from './Icon-BLqnXYOO.js';
|
|
6
|
+
import { L as Loader } from './Loader-VCP1ZNcb.js';
|
|
7
|
+
import { T as Text } from './Text-Dz-KPI5I.js';
|
|
8
8
|
|
|
9
9
|
var choiceConfig = {
|
|
10
10
|
appearance: {},
|
|
@@ -2,8 +2,8 @@ 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-
|
|
6
|
-
import { T as Text } from './Text-
|
|
5
|
+
import { I as Icon } from './Icon-BLqnXYOO.js';
|
|
6
|
+
import { T as Text } from './Text-Dz-KPI5I.js';
|
|
7
7
|
|
|
8
8
|
function ContextMenu(props) {
|
|
9
9
|
var id = props.id, children = props.children, className = props.className, set = props.set, onClick = props.onClick;
|
|
@@ -3,9 +3,9 @@ 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-
|
|
8
|
-
import { T as Text } from './Text-
|
|
6
|
+
import { B as Button } from './Button-Vxs8zjSy.js';
|
|
7
|
+
import { G as Group } from './Group-DLmtajo8.js';
|
|
8
|
+
import { T as Text } from './Text-Dz-KPI5I.js';
|
|
9
9
|
|
|
10
10
|
function CookiesWarning(props) {
|
|
11
11
|
var _a = props.message, message = _a === void 0 ? 'The site uses cookies to collect technical information, to optimize the design and improvement of the website, and to provide certain functions. By using the website, you agree to the use of «cookies».' : _a, className = props.className, buttonFill = props.buttonFill, buttonFillHover = props.buttonFillHover, _b = props.buttonLabel, buttonLabel = _b === void 0 ? 'I agree' : _b, buttonLabelSize = props.buttonLabelSize, buttonLabelTextColor = props.buttonLabelTextColor, buttonShape = props.buttonShape, buttonSize = props.buttonSize, textSize = props.textSize, textColor = props.textColor, buttonWidth = props.buttonWidth, _c = props.isHideOnScroll, isHideOnScroll = _c === void 0 ? false : _c;
|
|
@@ -7,11 +7,11 @@ 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-Vxs8zjSy.js';
|
|
11
|
+
import { I as Icon } from './Icon-BLqnXYOO.js';
|
|
12
12
|
import { I as Input } from './Input-CYDtAlO-.js';
|
|
13
|
-
import { L as Label } from './Label-
|
|
14
|
-
import { T as Text } from './Text-
|
|
13
|
+
import { L as Label } from './Label-c3hONOHC.js';
|
|
14
|
+
import { T as Text } from './Text-Dz-KPI5I.js';
|
|
15
15
|
|
|
16
16
|
function buildFormatLongFn(args) {
|
|
17
17
|
return (options = {}) => {
|
|
@@ -4,8 +4,8 @@ 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-
|
|
8
|
-
import { T as Text } from './Text-
|
|
7
|
+
import { L as Link } from './Link-DtzAAQn8.js';
|
|
8
|
+
import { T as Text } from './Text-Dz-KPI5I.js';
|
|
9
9
|
|
|
10
10
|
function Dropdown(props) {
|
|
11
11
|
var after = props.after, before = props.before, animationClose = props.animationClose, animationOpen = props.animationOpen, children = props.children, className = props.className, set = props.set, isOpen = props.isOpen, setIsOpen = props.setIsOpen;
|
|
@@ -10,7 +10,7 @@ var groupConfig = {
|
|
|
10
10
|
},
|
|
11
11
|
};
|
|
12
12
|
function Group(props) {
|
|
13
|
-
var id = props.id, name = props.name, children = props.children,
|
|
13
|
+
var id = props.id, name = props.name, children = props.children, 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',
|
|
@@ -103,7 +103,7 @@ function Group(props) {
|
|
|
103
103
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.direction) &&
|
|
104
104
|
"group_direction_".concat(appearanceConfig.direction)
|
|
105
105
|
.replace(/([A-Z])/g, '-$1')
|
|
106
|
-
.toLowerCase()), alignClass,
|
|
106
|
+
.toLowerCase()), alignClass, textColorClass, textColorActiveClass, textColorHoverClass, fillClass ||
|
|
107
107
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fill) &&
|
|
108
108
|
"fill_".concat(appearanceConfig.fill).replace(/([A-Z])/g, '-$1').toLowerCase()), fillHoverClass ||
|
|
109
109
|
((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.fillHover) &&
|
|
@@ -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-DtzAAQn8.js';
|
|
9
|
+
import { T as Tooltip } from './Tooltip-IVq3_vb4.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-BLqnXYOO.js';
|
|
6
6
|
|
|
7
7
|
var inputPasswordConfig = {
|
|
8
8
|
state: undefined,
|
|
@@ -3,8 +3,8 @@ import { useRef, useCallback } 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 { T as Text } from './Text-
|
|
7
|
-
import { T as Tooltip } from './Tooltip-
|
|
6
|
+
import { T as Text } from './Text-Dz-KPI5I.js';
|
|
7
|
+
import { T as Tooltip } from './Tooltip-IVq3_vb4.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-BLqnXYOO.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;
|
|
@@ -0,0 +1,98 @@
|
|
|
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, style = props.style, 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
|
+
var widthClass = useDeviceTargetClass(props, {
|
|
57
|
+
prefix: 'width_',
|
|
58
|
+
propsKey: 'width',
|
|
59
|
+
});
|
|
60
|
+
var heightClass = useDeviceTargetClass(props, {
|
|
61
|
+
prefix: 'height_',
|
|
62
|
+
propsKey: 'height',
|
|
63
|
+
});
|
|
64
|
+
// @ts-expect-error
|
|
65
|
+
var styles = useStyles(props).styles;
|
|
66
|
+
return (jsxRuntimeExports.jsxs(LinkWrapper, { className: clsx(className, 'link', widthClass, heightClass, directionClass, sizeClass, svgFillClass, svgFillHoverClass, underline && "link_underline_".concat(underline), 'text', (textColorClass ||
|
|
67
|
+
textColorHoverClass ||
|
|
68
|
+
textGradientClass ||
|
|
69
|
+
textStyleClass ||
|
|
70
|
+
weightClass) &&
|
|
71
|
+
'text', textColorClass, textColorHoverClass, textGradientClass, textStyleClass, weightClass, fillClass), Component: LinkComponent, href: href || link, rel: rel, style: Object.assign({}, styles, style), target: target, onClick: onClick, onMouseDown: onMouseDown, children: [before, children || text, after] }));
|
|
72
|
+
}
|
|
73
|
+
Link.defaultProps = {
|
|
74
|
+
underline: 'underline',
|
|
75
|
+
};
|
|
76
|
+
// Wrapper with "Link" by condition
|
|
77
|
+
function LinkWrapper(props) {
|
|
78
|
+
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"]);
|
|
79
|
+
if (href) {
|
|
80
|
+
// If href passed, make link-wrapper
|
|
81
|
+
var LinkComponent = Component || linkConfig.LinkComponent;
|
|
82
|
+
if (LinkComponent) {
|
|
83
|
+
return (jsxRuntimeExports.jsx(LinkComponent, __assign({ href: href, rel: rel, target: target }, otherProps, { children: children })));
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
else if (DefaultComponent) {
|
|
87
|
+
// If has default "Component" - render it
|
|
88
|
+
return jsxRuntimeExports.jsx(DefaultComponent, __assign({}, otherProps, { children: children }));
|
|
89
|
+
}
|
|
90
|
+
// Return children and pass current props to
|
|
91
|
+
return React__default.Children.toArray(children)
|
|
92
|
+
.filter(Boolean)
|
|
93
|
+
.map(function (child) {
|
|
94
|
+
return React__default.isValidElement(child) ? React__default.cloneElement(child, otherProps) : child;
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export { Link as L, LinkWrapper as a, linkConfig as l };
|
|
@@ -2,7 +2,7 @@ import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useStyles } from './hooks/useStyles.js';
|
|
4
4
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
5
|
-
import { L as Link } from './Link-
|
|
5
|
+
import { L as Link } from './Link-DtzAAQn8.js';
|
|
6
6
|
|
|
7
7
|
function List(props) {
|
|
8
8
|
var children = props.children, className = props.className, style = props.style, type = props.type;
|
|
@@ -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 { useStyles } from './hooks/useStyles.js';
|
|
5
|
-
import { T as Text } from './Text-
|
|
5
|
+
import { T as Text } from './Text-Dz-KPI5I.js';
|
|
6
6
|
|
|
7
7
|
// TODO: is better to use context?
|
|
8
8
|
var loaderConfig = {
|
|
@@ -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 { useStyles } from './hooks/useStyles.js';
|
|
5
|
-
import { a as LinkWrapper } from './Link-
|
|
5
|
+
import { a as LinkWrapper } from './Link-DtzAAQn8.js';
|
|
6
6
|
|
|
7
7
|
var logoConfig = {
|
|
8
8
|
appearance: undefined,
|
|
@@ -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 { useStyles } from './hooks/useStyles.js';
|
|
5
|
-
import { M as MenuItem } from './MenuItem-
|
|
5
|
+
import { M as MenuItem } from './MenuItem-BbU9r8_D.js';
|
|
6
6
|
|
|
7
7
|
function Menu(props) {
|
|
8
8
|
var after = props.after, before = props.before, children = props.children, className = props.className, items = props.items, type = props.type, onClickItem = props.onClickItem;
|
|
@@ -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 { L as Link } from './Link-
|
|
7
|
-
import { T as Text } from './Text-
|
|
6
|
+
import { L as Link } from './Link-DtzAAQn8.js';
|
|
7
|
+
import { T as Text } from './Text-Dz-KPI5I.js';
|
|
8
8
|
|
|
9
9
|
var menuItemConfig = {
|
|
10
10
|
appearance: undefined,
|
|
@@ -5,7 +5,7 @@ import ReactDOM__default from 'react-dom';
|
|
|
5
5
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
6
6
|
import { useStyles } from './hooks/useStyles.js';
|
|
7
7
|
import { O as Overlay } from './Overlay-C4gCb0sL.js';
|
|
8
|
-
import { L as Loader } from './Loader-
|
|
8
|
+
import { L as Loader } from './Loader-VCP1ZNcb.js';
|
|
9
9
|
|
|
10
10
|
var getOrCreateModalElement = function (modalQuerySelector, className) {
|
|
11
11
|
var _a;
|
|
@@ -2,7 +2,7 @@ import { j as jsxRuntimeExports } from './jsx-runtime-C2uP7l8s.js';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useNotifications, useNotificationsAPI } from './context/Notifications.js';
|
|
4
4
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
5
|
-
import { T as Text } from './Text-
|
|
5
|
+
import { T as Text } from './Text-Dz-KPI5I.js';
|
|
6
6
|
import { T as Title } from './Title-zpOK2AxL.js';
|
|
7
7
|
|
|
8
8
|
var notificationItemConfig = {
|
|
@@ -4,9 +4,9 @@ import clsx from 'clsx';
|
|
|
4
4
|
import ceil from 'lodash/ceil';
|
|
5
5
|
import ReactPaginate from 'react-paginate';
|
|
6
6
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
7
|
-
import { D as Dropdown, a as DropdownItem } from './DropdownItem-
|
|
8
|
-
import { I as Icon } from './Icon-
|
|
9
|
-
import { T as Text } from './Text-
|
|
7
|
+
import { D as Dropdown, a as DropdownItem } from './DropdownItem-CkojAA8a.js';
|
|
8
|
+
import { I as Icon } from './Icon-BLqnXYOO.js';
|
|
9
|
+
import { T as Text } from './Text-Dz-KPI5I.js';
|
|
10
10
|
|
|
11
11
|
function Pagination(props) {
|
|
12
12
|
var allItemsCount = props.allItemsCount, className = props.className, marginPagesDisplayed = props.marginPagesDisplayed, nextLabel = props.nextLabel, _a = props.pageCountArray, pageCountArray = _a === void 0 ? [10, 20, 50, 100] : _a, pageCountDesc = props.pageCountDesc, pageCountDescTextColor = props.pageCountDescTextColor, pageCountDescTextSize = props.pageCountDescTextSize, pageCountDropdownAlignment = props.pageCountDropdownAlignment, pageCountDropdownElevation = props.pageCountDropdownElevation, pageCountDropdownFill = props.pageCountDropdownFill, pageCountDropdownItemDividerDirection = props.pageCountDropdownItemDividerDirection, pageCountDropdownItemDividerFill = props.pageCountDropdownItemDividerFill, pageCountDropdownItemDividerSize = props.pageCountDropdownItemDividerSize, pageCountDropdownItemFill = props.pageCountDropdownItemFill, pageCountDropdownItemFillActive = props.pageCountDropdownItemFillActive, pageCountDropdownItemFillActiveHover = props.pageCountDropdownItemFillActiveHover, pageCountDropdownItemFillHover = props.pageCountDropdownItemFillHover, pageCountDropdownItemLabelColor = props.pageCountDropdownItemLabelColor, pageCountDropdownItemLabelColorActive = props.pageCountDropdownItemLabelColorActive, pageCountDropdownItemLabelSize = props.pageCountDropdownItemLabelSize, pageCountDropdownItemLabelWrap = props.pageCountDropdownItemLabelWrap, pageCountDropdownItemSize = props.pageCountDropdownItemSize, pageCountDropdownItemLabelAlign = props.pageCountDropdownItemLabelAlign, pageCountDropdownItemWidth = props.pageCountDropdownItemWidth, pageCountDropdownItemShowDivider = props.pageCountDropdownItemShowDivider, pageCountDropdownSet = props.pageCountDropdownSet, pageCountDropdownShape = props.pageCountDropdownShape, pageCountInputIcon = props.pageCountInputIcon, pageCountInputIconColor = props.pageCountInputIconColor, pageCountInputIconFillSize = props.pageCountInputIconFillSize, pageCountInputTextColor = props.pageCountInputTextColor, pageCountInputTextSize = props.pageCountInputTextSize, pageNumber = props.pageNumber, pageRangeDisplayed = props.pageRangeDisplayed, _b = props.perPageCount, perPageCount = _b === void 0 ? 0 : _b, previousLabel = props.previousLabel, isPageCount = props.isPageCount, isPageCountDropdownReversed = props.isPageCountDropdownReversed, onPageChange = props.onPageChange, onPerPageCountChange = props.onPerPageCountChange;
|
|
@@ -1,7 +1,7 @@
|
|
|
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 { T as Text } from './Text-
|
|
4
|
+
import { T as Text } from './Text-Dz-KPI5I.js';
|
|
5
5
|
|
|
6
6
|
var radioConfig = {
|
|
7
7
|
state: undefined,
|
|
@@ -4,9 +4,9 @@ import clsx from 'clsx';
|
|
|
4
4
|
import SVG from 'react-inlinesvg';
|
|
5
5
|
import { useDeviceTargetClass } from './hooks/useDeviceTargetClass.js';
|
|
6
6
|
import { useStyles } from './hooks/useStyles.js';
|
|
7
|
-
import { B as Button } from './Button-
|
|
8
|
-
import { G as Group } from './Group-
|
|
9
|
-
import { T as Text } from './Text-
|
|
7
|
+
import { B as Button } from './Button-Vxs8zjSy.js';
|
|
8
|
+
import { G as Group } from './Group-DLmtajo8.js';
|
|
9
|
+
import { T as Text } from './Text-Dz-KPI5I.js';
|
|
10
10
|
import { T as Title } from './Title-zpOK2AxL.js';
|
|
11
11
|
|
|
12
12
|
var responseConfig = {
|