@itcase/ui 1.1.20 → 1.1.22
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-DCk1_IOx.js → Accordion-vz3rGxg8.js} +1 -1
- package/dist/{Avatar-EsnSFf8y.js → Avatar-C6aiRMDt.js} +1 -1
- package/dist/{Breadcrumbs-lq8teNHv.js → Breadcrumbs-BaTOa10W.js} +2 -2
- package/dist/{Button-Dslt7OS2.js → Button-i3tdL747.js} +2 -2
- package/dist/{Cell-DtK-UEKE.js → Cell-B4hmQ2pr.js} +1 -1
- package/dist/{Choice-CeVJI4H9.js → Choice-CMTk8wAX.js} +1 -1
- package/dist/{ContextMenuItem-BuJBuKmW.js → ContextMenuItem-BOwxIW8x.js} +1 -1
- package/dist/{CookiesWarning-BQZ8f2hX.js → CookiesWarning-ZBohPZ8K.js} +2 -2
- package/dist/{DatePicker-DxTgMHIo.js → DatePicker-TMF-rVUw.js} +2 -2
- package/dist/{DropdownItem-DftDKP1Y.js → DropdownItem-Cg6-YvlD.js} +1 -1
- package/dist/{Group-BWwH31L7.js → Group-DLmtajo8.js} +5 -4
- package/dist/{Icon-DobrgUul.js → Icon-DyW-OJcE.js} +1 -1
- package/dist/{InputPassword-FuVE3fYp.js → InputPassword-Bilzlomv.js} +1 -1
- package/dist/{LanguageSelector-DrFlau3K.js → LanguageSelector-BHLGr-10.js} +1 -1
- package/dist/Link-DtzAAQn8.js +98 -0
- package/dist/{ListItem-CmWuDHgt.js → ListItem-BoCF7VH9.js} +2 -4
- package/dist/{Logo-Dc9ImVCn.js → Logo-DCx_YOA2.js} +1 -1
- package/dist/{Menu-D-C4q1An.js → Menu-C42iQ6ni.js} +1 -1
- package/dist/{MenuItem-Cs0KLPXi.js → MenuItem-SGNMauJR.js} +1 -1
- package/dist/{Pagination-z2n_5l-u.js → Pagination-gz91HOqY.js} +2 -2
- package/dist/{Response-BXQPmdQr.js → Response-CNXJpgUk.js} +2 -2
- package/dist/{Link-CnzdHbwf.js → ScrollToView-DQZEx4Qs.js} +30 -84
- package/dist/{SearchResult-BsXiKcpx.js → SearchResult-DmvQvfPl.js} +1 -1
- package/dist/{SiteMenuButton-DNMOi-I3.js → SiteMenuButton-CaJqHqly.js} +1 -1
- package/dist/{SwitchField-Djrsk1Th.js → SwitchField-Bq90qJ7P.js} +1 -1
- package/dist/{TabGroup-c-myALzO.js → TabGroup-BJgPoaC8.js} +1 -1
- package/dist/cjs/{Accordion-CGdZmC7z.js → Accordion-DRCJXbXR.js} +1 -1
- package/dist/cjs/{Avatar-CXkFUZni.js → Avatar-DdzcQ7Tv.js} +1 -1
- package/dist/cjs/{Breadcrumbs-GGwX18rz.js → Breadcrumbs-B_mi0vy6.js} +2 -2
- package/dist/cjs/{Button-DplZg-6U.js → Button-qWiPRK_v.js} +2 -2
- package/dist/cjs/{Cell-fldKcEHr.js → Cell-HAvuC_53.js} +1 -1
- package/dist/cjs/{Choice-DwYPQwyf.js → Choice-CkbYpKdh.js} +1 -1
- package/dist/cjs/{ContextMenuItem-D-wYq1Of.js → ContextMenuItem-CBatWAIi.js} +1 -1
- package/dist/cjs/{CookiesWarning-Cny73RI8.js → CookiesWarning-Bj5qJx-5.js} +2 -2
- package/dist/cjs/{DatePicker-BvGVwQWT.js → DatePicker-B0hI1LEq.js} +2 -2
- package/dist/cjs/{DropdownItem-BazQTndn.js → DropdownItem-Cb3fvREo.js} +1 -1
- package/dist/cjs/{Group-B3axMtEa.js → Group-EFTg84wP.js} +5 -4
- package/dist/cjs/{Icon-1nE_a40k.js → Icon-BrmShIlv.js} +1 -1
- package/dist/cjs/{InputPassword-u30j02Bh.js → InputPassword-3k2o9hk6.js} +1 -1
- package/dist/cjs/{LanguageSelector-lyV39rdI.js → LanguageSelector-DVM6JIBX.js} +1 -1
- package/dist/cjs/Link-DRV1vzHd.js +107 -0
- package/dist/cjs/{ListItem-DBqD3_kT.js → ListItem-B5rYml7Y.js} +2 -4
- package/dist/cjs/{Logo-CLwB8jrJ.js → Logo-CsOCRB7d.js} +1 -1
- package/dist/cjs/{Menu-D4NCuPTA.js → Menu-DCsVr-SF.js} +1 -1
- package/dist/cjs/{MenuItem-D7TzAdrA.js → MenuItem-J3NDyCly.js} +1 -1
- package/dist/cjs/{Pagination-BaUSH8Q1.js → Pagination-bP-Pn6r6.js} +2 -2
- package/dist/cjs/{Response-g-ogAxvP.js → Response-CMfO022l.js} +2 -2
- package/dist/cjs/{Link-D30saU5d.js → ScrollToView-D4EUki4H.js} +32 -89
- package/dist/cjs/{SearchResult-CbJZk7jp.js → SearchResult-DadOrMik.js} +1 -1
- package/dist/cjs/{SiteMenuButton-CbRuV0ju.js → SiteMenuButton-CzHQaMtt.js} +1 -1
- package/dist/cjs/{SwitchField-C3TrW6fZ.js → SwitchField-DNf-w5qK.js} +1 -1
- package/dist/cjs/{TabGroup-C6d1YI0e.js → TabGroup-B4KdSaRm.js} +1 -1
- package/dist/cjs/components/Accordion.js +3 -5
- package/dist/cjs/components/Avatar.js +3 -5
- package/dist/cjs/components/Breadcrumbs/Breadcrumbs.interface.d.ts +5 -5
- package/dist/cjs/components/Breadcrumbs.js +3 -5
- package/dist/cjs/components/Button/Button.interface.d.ts +2 -2
- package/dist/cjs/components/Button.js +3 -5
- package/dist/cjs/components/Cell.js +3 -5
- package/dist/cjs/components/Choice.js +3 -5
- package/dist/cjs/components/ContextMenu.js +3 -5
- package/dist/cjs/components/CookiesWarning.js +5 -7
- package/dist/cjs/components/DatePicker/DatePicker.interface.d.ts +3 -3
- package/dist/cjs/components/DatePicker.js +4 -5
- package/dist/cjs/components/Dropdown/Dropdown.interface.d.ts +8 -8
- package/dist/cjs/components/Dropdown.js +2 -4
- package/dist/cjs/components/FormField.js +5 -6
- package/dist/cjs/components/Group/Group.interface.d.ts +1 -0
- 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 +2 -4
- package/dist/cjs/components/InputPassword.js +3 -5
- package/dist/cjs/components/Label/Label.interface.d.ts +2 -2
- package/dist/cjs/components/LanguageSelector.js +3 -5
- package/dist/cjs/components/Link/Link.d.ts +1 -2
- 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 +2 -5
- package/dist/cjs/components/List/List.interface.d.ts +2 -2
- package/dist/cjs/components/List.js +2 -4
- package/dist/cjs/components/Logo.js +2 -4
- package/dist/cjs/components/Menu.js +3 -5
- package/dist/cjs/components/MenuItem/MenuItem.interface.d.ts +9 -9
- package/dist/cjs/components/MenuItem.js +2 -4
- package/dist/cjs/components/Pagination.js +4 -6
- package/dist/cjs/components/Panel.js +1 -1
- package/dist/cjs/components/Response.js +5 -7
- 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/Search.interface.d.ts +3 -3
- package/dist/cjs/components/Search.js +3 -5
- package/dist/cjs/components/Select.js +3 -4
- package/dist/cjs/components/SiteMenu/SiteMenu.interface.d.ts +2 -2
- package/dist/cjs/components/SiteMenu.js +3 -5
- package/dist/cjs/components/Tab/Tab.interface.d.ts +4 -4
- package/dist/cjs/components/Tab.js +2 -4
- package/dist/cjs/components/Text/Text.interface.d.ts +4 -4
- package/dist/cjs/components/Title/Title.interface.d.ts +4 -4
- package/dist/cjs/components/index.d.ts +1 -0
- package/dist/cjs/components.js +28 -26
- 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 +3 -5
- package/dist/components/Avatar.js +3 -5
- package/dist/components/Breadcrumbs/Breadcrumbs.interface.d.ts +5 -5
- package/dist/components/Breadcrumbs.js +3 -5
- package/dist/components/Button/Button.interface.d.ts +2 -2
- package/dist/components/Button.js +3 -5
- package/dist/components/Cell.js +3 -5
- package/dist/components/Choice.js +3 -5
- package/dist/components/ContextMenu.js +3 -5
- package/dist/components/CookiesWarning.js +5 -7
- package/dist/components/DatePicker/DatePicker.interface.d.ts +3 -3
- package/dist/components/DatePicker.js +4 -5
- package/dist/components/Dropdown/Dropdown.interface.d.ts +8 -8
- package/dist/components/Dropdown.js +2 -4
- package/dist/components/FormField.js +5 -6
- package/dist/components/Group/Group.interface.d.ts +1 -0
- package/dist/components/Group.js +1 -1
- package/dist/components/Icon/Icon.interface.d.ts +2 -2
- package/dist/components/Icon.js +2 -4
- package/dist/components/InputPassword.js +3 -5
- package/dist/components/Label/Label.interface.d.ts +2 -2
- package/dist/components/LanguageSelector.js +3 -5
- package/dist/components/Link/Link.d.ts +1 -2
- package/dist/components/Link/Link.interface.d.ts +7 -6
- package/dist/components/Link/index.d.ts +1 -1
- package/dist/components/Link.js +2 -4
- package/dist/components/List/List.interface.d.ts +2 -2
- package/dist/components/List.js +2 -4
- package/dist/components/Logo.js +2 -4
- package/dist/components/Menu.js +3 -5
- package/dist/components/MenuItem/MenuItem.interface.d.ts +9 -9
- package/dist/components/MenuItem.js +2 -4
- package/dist/components/Pagination.js +4 -6
- package/dist/components/Panel.js +1 -1
- package/dist/components/Response.js +5 -7
- 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/Search.interface.d.ts +3 -3
- package/dist/components/Search.js +3 -5
- package/dist/components/Select.js +3 -4
- package/dist/components/SiteMenu/SiteMenu.interface.d.ts +2 -2
- package/dist/components/SiteMenu.js +3 -5
- package/dist/components/Tab/Tab.interface.d.ts +4 -4
- package/dist/components/Tab.js +2 -4
- package/dist/components/Text/Text.interface.d.ts +4 -4
- package/dist/components/Title/Title.interface.d.ts +4 -4
- package/dist/components/index.d.ts +1 -0
- package/dist/components.js +27 -26
- package/dist/css/styles/align-items/align-items.css +7 -0
- package/dist/css/styles/align-self/align-self.css +7 -0
- 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 +3 -3
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export { S as ScrollToView } from '../ScrollToView-DQZEx4Qs.js';
|
|
2
|
+
import '../jsx-runtime-C2uP7l8s.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
import 'clsx';
|
|
5
|
+
import 'lodash.throttle';
|
|
6
|
+
import 'prop-types';
|
|
7
|
+
import 'react-dom';
|
|
8
|
+
import '../hooks/useDeviceTargetClass.js';
|
|
9
|
+
import 'lodash/castArray';
|
|
10
|
+
import 'lodash/camelCase';
|
|
11
|
+
import '../context/UIContext.js';
|
|
12
|
+
import '../hooks/useMediaQueries.js';
|
|
13
|
+
import 'react-responsive';
|
|
14
|
+
import '../hooks/useStyles.js';
|
|
15
|
+
import 'lodash/maxBy';
|
|
16
|
+
import 'lodash/upperFirst';
|
|
17
|
+
import '../hooks/styleAttributes.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { borderColorHoverPropsType, tBorderColorProps, borderTypePropsType, tBorderWidthProps, tFillProps, iconSizePropsType, tItemColorProps, tShapeProps, tTextColorProps, tTextSizeProps,
|
|
3
|
+
import { borderColorHoverPropsType, tBorderColorProps, borderTypePropsType, tBorderWidthProps, tFillProps, iconSizePropsType, tItemColorProps, tShapeProps, tTextColorProps, tTextSizeProps, tTextStyleProps, tTextWeightProps, tWidthProps } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
export interface ISearchThemeColor {
|
|
6
6
|
borderColor?: tBorderColorProps;
|
|
@@ -18,11 +18,11 @@ export interface ISearchThemeColor {
|
|
|
18
18
|
inputShape?: tShapeProps;
|
|
19
19
|
inputTextColor?: tTextColorProps;
|
|
20
20
|
inputTextSize?: tTextSizeProps;
|
|
21
|
-
inputTextStyle?:
|
|
21
|
+
inputTextStyle?: tTextStyleProps;
|
|
22
22
|
inputTextWeight?: tTextWeightProps;
|
|
23
23
|
placeholderTextColor?: tTextColorProps;
|
|
24
24
|
placeholderTextSize?: tTextSizeProps;
|
|
25
|
-
placeholderTextStyle?:
|
|
25
|
+
placeholderTextStyle?: tTextStyleProps;
|
|
26
26
|
placeholderTextWeight?: tTextWeightProps;
|
|
27
27
|
shape?: tShapeProps;
|
|
28
28
|
size?: 'compact' | 'normal' | 's' | 'l';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { S as SearchInput, a as SearchResult, s as searchInputConfig } from '../SearchResult-
|
|
1
|
+
export { S as SearchInput, a as SearchResult, s as searchInputConfig } from '../SearchResult-DmvQvfPl.js';
|
|
2
2
|
import '../jsx-runtime-C2uP7l8s.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -13,12 +13,10 @@ import '../hooks/useStyles.js';
|
|
|
13
13
|
import 'lodash/maxBy';
|
|
14
14
|
import 'lodash/upperFirst';
|
|
15
15
|
import '../hooks/styleAttributes.js';
|
|
16
|
-
import '../Icon-
|
|
16
|
+
import '../Icon-DyW-OJcE.js';
|
|
17
17
|
import '../_tslib-S-VPg1Cw.js';
|
|
18
18
|
import 'react-inlinesvg';
|
|
19
|
-
import '../Link-
|
|
20
|
-
import 'lodash.throttle';
|
|
21
|
-
import 'react-dom';
|
|
19
|
+
import '../Link-DtzAAQn8.js';
|
|
22
20
|
import '../Tooltip-BYw26YRd.js';
|
|
23
21
|
import '../Text-Dn0X1zxN.js';
|
|
24
22
|
import '../Title-zpOK2AxL.js';
|
|
@@ -2,14 +2,14 @@ import * as React from 'react';
|
|
|
2
2
|
import React__default, { forwardRef, useContext, useLayoutEffect, useEffect, useRef, useState, createContext, useMemo, useCallback, Component, Fragment } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import Select$1, { components as components$1 } from 'react-select';
|
|
5
|
-
import { I as Icon } from '../Icon-
|
|
5
|
+
import { I as Icon } from '../Icon-DyW-OJcE.js';
|
|
6
6
|
import clsx from 'clsx';
|
|
7
7
|
import { createPortal } from 'react-dom';
|
|
8
8
|
import { a as autoUpdate } from '../floating-ui.dom-BV5qw-HP.js';
|
|
9
9
|
import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
|
|
10
10
|
import { T as Text } from '../Text-Dn0X1zxN.js';
|
|
11
11
|
import { B as Badge } from '../Badge-DtYgQu3L.js';
|
|
12
|
-
import { G as Group$2 } from '../Group-
|
|
12
|
+
import { G as Group$2 } from '../Group-DLmtajo8.js';
|
|
13
13
|
import { D as Divider } from '../Divider-Dhj6sMWd.js';
|
|
14
14
|
import '../_tslib-S-VPg1Cw.js';
|
|
15
15
|
import '../jsx-runtime-C2uP7l8s.js';
|
|
@@ -22,8 +22,7 @@ import '../hooks/styleAttributes.js';
|
|
|
22
22
|
import '../context/UIContext.js';
|
|
23
23
|
import '../hooks/useMediaQueries.js';
|
|
24
24
|
import 'react-responsive';
|
|
25
|
-
import '../Link-
|
|
26
|
-
import 'lodash.throttle';
|
|
25
|
+
import '../Link-DtzAAQn8.js';
|
|
27
26
|
import '../Tooltip-BYw26YRd.js';
|
|
28
27
|
import '../Title-zpOK2AxL.js';
|
|
29
28
|
import 'lodash/castArray';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { tFillProps, iconSizePropsType,
|
|
3
|
+
import { tFillProps, iconSizePropsType, tTextColorHoverProps, tTextColorProps, tTextSizeProps } from '../../types';
|
|
4
4
|
export interface ISiteMenuProps extends iStyleAttributes {
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
className?: string;
|
|
7
7
|
closeText?: string;
|
|
8
8
|
closeTextColor?: tTextColorProps;
|
|
9
|
-
closeTextColorHover?:
|
|
9
|
+
closeTextColorHover?: tTextColorHoverProps;
|
|
10
10
|
closeTextSize?: tTextSizeProps;
|
|
11
11
|
fill?: tFillProps;
|
|
12
12
|
iconClose?: ReactNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { S as SiteMenu, a as SiteMenuButton } from '../SiteMenuButton-
|
|
1
|
+
export { S as SiteMenu, a as SiteMenuButton } from '../SiteMenuButton-CaJqHqly.js';
|
|
2
2
|
import '../jsx-runtime-C2uP7l8s.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -9,16 +9,14 @@ import 'react-responsive';
|
|
|
9
9
|
import '../hooks/useDeviceTargetClass.js';
|
|
10
10
|
import 'lodash/castArray';
|
|
11
11
|
import 'lodash/camelCase';
|
|
12
|
-
import '../Icon-
|
|
12
|
+
import '../Icon-DyW-OJcE.js';
|
|
13
13
|
import '../_tslib-S-VPg1Cw.js';
|
|
14
14
|
import 'react-inlinesvg';
|
|
15
15
|
import '../hooks/useStyles.js';
|
|
16
16
|
import 'lodash/maxBy';
|
|
17
17
|
import 'lodash/upperFirst';
|
|
18
18
|
import '../hooks/styleAttributes.js';
|
|
19
|
-
import '../Link-
|
|
20
|
-
import 'lodash.throttle';
|
|
21
|
-
import 'react-dom';
|
|
19
|
+
import '../Link-DtzAAQn8.js';
|
|
22
20
|
import '../Tooltip-BYw26YRd.js';
|
|
23
21
|
import '../Text-Dn0X1zxN.js';
|
|
24
22
|
import '../Title-zpOK2AxL.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import type { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import type { alignDirectionPropsType, alignPropsType, justifyContentPropsType, tDirectionProps, textColorActivePropsType,
|
|
3
|
+
import type { alignDirectionPropsType, alignPropsType, justifyContentPropsType, tDirectionProps, textColorActivePropsType, tTextColorHoverProps, tTextGradientProps, tTextStyleProps, textWrapPropsType, tFillHoverProps, tFillProps, tShapeProps, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tWidthProps } from '../../types';
|
|
4
4
|
import type { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
interface iTabThemeColor {
|
|
6
6
|
align?: alignPropsType;
|
|
@@ -27,10 +27,10 @@ interface iTabThemeColor {
|
|
|
27
27
|
labelColor?: tTextColorProps;
|
|
28
28
|
labelColorActive?: textColorActivePropsType;
|
|
29
29
|
labelColorDisabled?: tTextColorProps;
|
|
30
|
-
labelTextColorHover?:
|
|
31
|
-
labelTextGradient?:
|
|
30
|
+
labelTextColorHover?: tTextColorHoverProps;
|
|
31
|
+
labelTextGradient?: tTextGradientProps;
|
|
32
32
|
labelTextSize?: tTextSizeProps;
|
|
33
|
-
labelTextStyle?:
|
|
33
|
+
labelTextStyle?: tTextStyleProps;
|
|
34
34
|
labelTextWeight?: tTextWeightProps;
|
|
35
35
|
labelTextWrap?: textWrapPropsType;
|
|
36
36
|
linkFill?: tFillProps;
|
package/dist/components/Tab.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { T as Tab, a as TabGroup, t as tabConfig } from '../TabGroup-
|
|
1
|
+
export { T as Tab, a as TabGroup, t as tabConfig } from '../TabGroup-BJgPoaC8.js';
|
|
2
2
|
import '../jsx-runtime-C2uP7l8s.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -16,7 +16,5 @@ import '../hooks/styleAttributes.js';
|
|
|
16
16
|
import '../Badge-DtYgQu3L.js';
|
|
17
17
|
import '../Text-Dn0X1zxN.js';
|
|
18
18
|
import '../Divider-Dhj6sMWd.js';
|
|
19
|
-
import '../Link-
|
|
19
|
+
import '../Link-DtzAAQn8.js';
|
|
20
20
|
import '../_tslib-S-VPg1Cw.js';
|
|
21
|
-
import 'lodash.throttle';
|
|
22
|
-
import 'react-dom';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
2
|
import type { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import type { textAlignPropsType, textColorActivePropsType,
|
|
3
|
+
import type { textAlignPropsType, textColorActivePropsType, tTextColorHoverProps, tTextGradientProps, tTextStyleProps, textWrapPropsType, tSizeProps, tTextColorProps, tTextSizeProps, tTextWeightProps, tWidthProps, typePropsType } from '../../types';
|
|
4
4
|
import type { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
interface iTextThemeColor {
|
|
6
6
|
size?: tSizeProps;
|
|
7
7
|
textColor?: tTextColorProps;
|
|
8
8
|
textColorActive?: textColorActivePropsType;
|
|
9
|
-
textColorGradient?:
|
|
10
|
-
textColorHover?:
|
|
9
|
+
textColorGradient?: tTextGradientProps;
|
|
10
|
+
textColorHover?: tTextColorHoverProps;
|
|
11
11
|
}
|
|
12
12
|
type tAppearance = {
|
|
13
13
|
[key in tAppearanceKeysDefault]: iTextThemeColor;
|
|
@@ -39,7 +39,7 @@ interface iTextProps extends iTextThemeColor, iStyleAttributes {
|
|
|
39
39
|
textColorDesktop?: tTextColorProps;
|
|
40
40
|
textColorMobile?: tTextColorProps;
|
|
41
41
|
textColorTablet?: tTextColorProps;
|
|
42
|
-
textStyle?:
|
|
42
|
+
textStyle?: tTextStyleProps;
|
|
43
43
|
textTruncate?: boolean;
|
|
44
44
|
textWeight?: tTextWeightProps;
|
|
45
45
|
textWeightDesktop?: tTextWeightProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ElementType, ReactNode } from 'react';
|
|
2
2
|
import { iStyleAttributes } from '../../hooks/styleAttributes.interface';
|
|
3
|
-
import { tFillProps, textAlignPropsType, textColorActivePropsType,
|
|
3
|
+
import { tFillProps, textAlignPropsType, textColorActivePropsType, tTextColorHoverProps, tTextColorProps, tTextGradientProps, tTextStyleProps, tTextWeightProps, textWrapPropsType, titleSizePropsType, svgFillPropsType } from '../../types';
|
|
4
4
|
import { tAppearanceKeysDefault } from '../../types/componentProps/appearanceKeys';
|
|
5
5
|
interface ITitleThemeColor {
|
|
6
6
|
fill?: tFillProps;
|
|
@@ -10,9 +10,9 @@ interface ITitleThemeColor {
|
|
|
10
10
|
sizeTablet?: titleSizePropsType;
|
|
11
11
|
textColor?: tTextColorProps;
|
|
12
12
|
textColorActive?: textColorActivePropsType;
|
|
13
|
-
textColorHover?:
|
|
14
|
-
textGradient?:
|
|
15
|
-
textStyle?:
|
|
13
|
+
textColorHover?: tTextColorHoverProps;
|
|
14
|
+
textGradient?: tTextGradientProps;
|
|
15
|
+
textStyle?: tTextStyleProps;
|
|
16
16
|
textWeight?: tTextWeightProps;
|
|
17
17
|
textWrap?: textWrapPropsType;
|
|
18
18
|
weight?: tTextWeightProps;
|
|
@@ -41,6 +41,7 @@ export { Page } from './Page';
|
|
|
41
41
|
export { Pagination } from './Pagination';
|
|
42
42
|
export { Radio, radioConfig } from './Radio';
|
|
43
43
|
export { RangeSlider } from './RangeSlider';
|
|
44
|
+
export { ScrollToView } from './ScrollToView';
|
|
44
45
|
export { Response, responseConfig } from './Response';
|
|
45
46
|
export { Scrollbar } from './Scrollbar';
|
|
46
47
|
export { SearchInput, SearchResult } from './Search';
|
package/dist/components.js
CHANGED
|
@@ -1,55 +1,56 @@
|
|
|
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-vz3rGxg8.js';
|
|
2
|
+
export { A as Avatar } from './Avatar-C6aiRMDt.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-BaTOa10W.js';
|
|
5
|
+
export { B as Button, b as buttonConfig } from './Button-i3tdL747.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-B4hmQ2pr.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-CMTk8wAX.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-BOwxIW8x.js';
|
|
14
|
+
export { C as CookiesWarning } from './CookiesWarning-ZBohPZ8K.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-TMF-rVUw.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-Cg6-YvlD.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-
|
|
22
|
+
export { C as ChoiceField, F as FormField, P as PasswordField, S as SelectField, a as SwitchField } from './SwitchField-Bq90qJ7P.js';
|
|
23
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-
|
|
24
|
+
export { G as Group, g as groupConfig } from './Group-DLmtajo8.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-DyW-OJcE.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-
|
|
29
|
+
export { i as inputPasswordConfig } from './InputPassword-Bilzlomv.js';
|
|
30
30
|
export { L as Label, l as labelConfig } from './Label-Ch6YjDF4.js';
|
|
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-
|
|
31
|
+
export { L as LanguageSelector } from './LanguageSelector-BHLGr-10.js';
|
|
32
|
+
export { L as Link, a as LinkWrapper, l as linkConfig } from './Link-DtzAAQn8.js';
|
|
33
|
+
export { L as List, a as ListItem } from './ListItem-BoCF7VH9.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-DCx_YOA2.js';
|
|
36
|
+
export { M as Menu } from './Menu-C42iQ6ni.js';
|
|
37
|
+
export { M as MenuItem, m as menuItemConfig } from './MenuItem-SGNMauJR.js';
|
|
38
38
|
export { M as Modal, a as ModalLoader } from './ModalLoader-DHOpJqE3.js';
|
|
39
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-gz91HOqY.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 {
|
|
44
|
+
export { S as ScrollToView } from './ScrollToView-DQZEx4Qs.js';
|
|
45
|
+
export { R as Response, r as responseConfig } from './Response-CNXJpgUk.js';
|
|
45
46
|
export { S as Scrollbar } from './Scrollbar-DrRNpn12.js';
|
|
46
|
-
export { S as SearchInput, a as SearchResult } from './SearchResult-
|
|
47
|
+
export { S as SearchInput, a as SearchResult } from './SearchResult-DmvQvfPl.js';
|
|
47
48
|
export { S as Segmented, s as segmentedConfig } from './Segmented-BoROz9LW.js';
|
|
48
49
|
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 SiteMenu, a as SiteMenuButton } from './SiteMenuButton-CaJqHqly.js';
|
|
50
51
|
export { S as Swiper } from './Swiper-CXjE6qZR.js';
|
|
51
52
|
export { S as Switch } from './Switch-0BHqovLA.js';
|
|
52
|
-
export { T as Tab, a as TabGroup, t as tabConfig } from './TabGroup-
|
|
53
|
+
export { T as Tab, a as TabGroup, t as tabConfig } from './TabGroup-BJgPoaC8.js';
|
|
53
54
|
export { T as Text, t as textConfig } from './Text-Dn0X1zxN.js';
|
|
54
55
|
export { T as Textarea, t as textareaConfig } from './Textarea-D3XSuMEm.js';
|
|
55
56
|
export { T as Tile } from './Tile-m0Q0UUPl.js';
|
|
@@ -77,7 +78,6 @@ import 'crypto';
|
|
|
77
78
|
import 'react-dom';
|
|
78
79
|
import './floating-ui.dom-BV5qw-HP.js';
|
|
79
80
|
import 'react-inlinesvg';
|
|
80
|
-
import 'lodash.throttle';
|
|
81
81
|
import './Overlay-C4gCb0sL.js';
|
|
82
82
|
import './context/Notifications.js';
|
|
83
83
|
import 'uuid';
|
|
@@ -90,5 +90,6 @@ import './constants/componentProps/verticalResizeMode.js';
|
|
|
90
90
|
import 'lodash/ceil';
|
|
91
91
|
import 'react-paginate';
|
|
92
92
|
import 'rc-slider';
|
|
93
|
+
import 'lodash.throttle';
|
|
93
94
|
import 'react-scrollbars-custom';
|
|
94
95
|
import 'react-select';
|
|
@@ -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.22",
|
|
4
4
|
"description": "UI components (Modal, Loader, Popup, etc)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Modal",
|
|
@@ -90,8 +90,7 @@
|
|
|
90
90
|
"registry": "https://registry.npmjs.org/"
|
|
91
91
|
},
|
|
92
92
|
"dependencies": {
|
|
93
|
-
"@itcase/common": "^1.2.
|
|
94
|
-
"@itcase/lint": "^1.0.5",
|
|
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",
|
|
@@ -117,6 +116,7 @@
|
|
|
117
116
|
"uuid": "^10.0.0"
|
|
118
117
|
},
|
|
119
118
|
"devDependencies": {
|
|
119
|
+
"@itcase/lint": "^1.0.8",
|
|
120
120
|
"@babel/core": "^7.25.2",
|
|
121
121
|
"@babel/eslint-parser": "^7.25.1",
|
|
122
122
|
"@babel/eslint-plugin": "^7.25.1",
|