@itcase/ui 1.8.52 → 1.8.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Avatar_cjs_BQNgRkQo.js → Avatar_cjs_CxyEa4gB.js} +1 -1
- package/dist/{Avatar_es_DzMM4D-9.js → Avatar_es_DQTyqtKx.js} +1 -1
- package/dist/{Button_cjs_C8P5a38-.js → Button_cjs_DUciIEhV.js} +8 -5
- package/dist/{Button_es_CwtOu3lT.js → Button_es_CaVzZgqG.js} +8 -5
- package/dist/{ChipsGroup_cjs_CVCYLe2C.js → ChipsGroup_cjs_BMwgN3bm.js} +1 -1
- package/dist/{ChipsGroup_es_BrX6_qHH.js → ChipsGroup_es_DVnt9N0b.js} +1 -1
- package/dist/{DatePicker_cjs_C5A_2oSh.js → DatePicker_cjs_B2lmtIti.js} +3 -3
- package/dist/{DatePicker_es_CqxAvzoP.js → DatePicker_es_CfT5zDjb.js} +3 -3
- package/dist/{DropdownItem_cjs_DFScS1ls.js → DropdownItem_cjs_BtL83PeZ.js} +1 -1
- package/dist/{DropdownItem_es_BnKPMQwa.js → DropdownItem_es_BK2bacxA.js} +1 -1
- package/dist/{Icon_cjs_CKWWo53f.js → Icon_cjs_O7ILYzgW.js} +31 -5
- package/dist/{Icon_es_B7IMj2rG.js → Icon_es_BGR9vYtq.js} +31 -5
- package/dist/{Label_cjs_DHLQmexE.js → Label_cjs_eQIgvtt7.js} +15 -2
- package/dist/{Label_es_DDjXQQpD.js → Label_es_BQDu9dwH.js} +15 -2
- package/dist/cjs/components/Accordion.js +1 -1
- package/dist/cjs/components/Avatar.js +2 -2
- package/dist/cjs/components/AvatarStack.js +2 -2
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Breadcrumbs.js +1 -1
- package/dist/cjs/components/Button.js +2 -2
- package/dist/cjs/components/Cell.js +2 -2
- package/dist/cjs/components/Chips.js +2 -2
- package/dist/cjs/components/Choice.js +1 -1
- package/dist/cjs/components/CookiesWarning.js +2 -2
- package/dist/cjs/components/DatePeriod.js +5 -5
- package/dist/cjs/components/DatePicker.js +4 -4
- package/dist/cjs/components/Drawer.js +1 -1
- package/dist/cjs/components/Dropdown.js +2 -2
- package/dist/cjs/components/HeroTitle.js +1 -1
- package/dist/cjs/components/Icon.js +1 -1
- package/dist/cjs/components/InputPassword.js +1 -1
- package/dist/cjs/components/Label.js +2 -2
- package/dist/cjs/components/MenuItem.js +1 -1
- package/dist/cjs/components/Modal.js +1 -1
- package/dist/cjs/components/Notification.js +1 -1
- package/dist/cjs/components/Pagination.js +2 -2
- package/dist/cjs/components/Response.js +2 -2
- package/dist/cjs/components/Search.js +1 -1
- package/dist/cjs/components/Segmented.js +1 -1
- package/dist/cjs/components/Select.js +1 -1
- package/dist/cjs/components/Swiper.js +1 -1
- package/dist/cjs/components/Tab.js +1 -1
- package/dist/cjs/components/Tile.js +1 -1
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip.js +1 -1
- package/dist/cjs/components/Warning.js +1 -1
- package/dist/components/Accordion.js +1 -1
- package/dist/components/Avatar.js +2 -2
- package/dist/components/AvatarStack.js +2 -2
- package/dist/components/Badge.js +1 -1
- package/dist/components/Breadcrumbs.js +1 -1
- package/dist/components/Button.js +2 -2
- package/dist/components/Cell.js +2 -2
- package/dist/components/Chips.js +2 -2
- package/dist/components/Choice.js +1 -1
- package/dist/components/CookiesWarning.js +2 -2
- package/dist/components/DatePeriod.js +5 -5
- package/dist/components/DatePicker.js +4 -4
- package/dist/components/Drawer.js +1 -1
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/HeroTitle.js +1 -1
- package/dist/components/Icon.js +1 -1
- package/dist/components/InputPassword.js +1 -1
- package/dist/components/Label.js +2 -2
- package/dist/components/MenuItem.js +1 -1
- package/dist/components/Modal.js +1 -1
- package/dist/components/Notification.js +1 -1
- package/dist/components/Pagination.js +2 -2
- package/dist/components/Response.js +2 -2
- package/dist/components/Search.js +1 -1
- package/dist/components/Segmented.js +1 -1
- package/dist/components/Select.js +1 -1
- package/dist/components/Swiper.js +1 -1
- package/dist/components/Tab.js +1 -1
- package/dist/components/Tile.js +1 -1
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/Warning.js +1 -1
- package/dist/css/styles/fill/fill_gradient.css +12 -0
- package/dist/types/components/Badge/appearance/badgeShape.d.ts +25 -0
- package/dist/types/components/Button/appearance/buttonShape.d.ts +5 -2
- package/dist/types/components/Label/appearance/labelGradient.d.ts +6 -4
- package/dist/types/components/Label/appearance/labelShape.d.ts +3 -0
- package/package.json +3 -3
- package/dist/css/styles/fill-gradient/fill-gradient.css +0 -20
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { Swiper as Swiper$1, SwiperSlide } from 'swiper/react';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { b as Title } from '../
|
|
7
|
+
import { b as Title } from '../Icon_es_BGR9vYtq.js';
|
|
8
8
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'lodash/camelCase';
|
|
10
10
|
import 'lodash/castArray';
|
package/dist/components/Tab.js
CHANGED
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { B as Badge, I as Icon } from '../
|
|
7
|
+
import { B as Badge, I as Icon } from '../Icon_es_BGR9vYtq.js';
|
|
8
8
|
import { D as Divider } from '../Divider_es_CiRU0sTz.js';
|
|
9
9
|
import { L as Link } from '../Link_es_BnUIX0QT.js';
|
|
10
10
|
import { T as Text } from '../Text_es_BdFAdf7M.js';
|
package/dist/components/Tile.js
CHANGED
|
@@ -3,7 +3,7 @@ import clsx from 'clsx';
|
|
|
3
3
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
|
-
import { b as Title, B as Badge, I as Icon } from '../
|
|
6
|
+
import { b as Title, B as Badge, I as Icon } from '../Icon_es_BGR9vYtq.js';
|
|
7
7
|
import { T as Text } from '../Text_es_BdFAdf7M.js';
|
|
8
8
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'react';
|
package/dist/components/Title.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b as Title, d as titleAppearance, c as titleConfig } from '../
|
|
1
|
+
export { b as Title, d as titleAppearance, c as titleConfig } from '../Icon_es_BGR9vYtq.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../
|
|
1
|
+
export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../Icon_es_BGR9vYtq.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { useState, Fragment } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { I as Icon } from '../
|
|
4
|
+
import { I as Icon } from '../Icon_es_BGR9vYtq.js';
|
|
5
5
|
import { T as Text } from '../Text_es_BdFAdf7M.js';
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
.fill_gradient {
|
|
2
|
+
@each $type in primary, secondary, tertiary, quaternary {
|
|
3
|
+
&-$(type) {
|
|
4
|
+
@each $direction, $degree in (top, right, diagonal, bottom, left),
|
|
5
|
+
(0deg, 90deg, 135deg, 180deg, 270deg) {
|
|
6
|
+
&-$(direction) {
|
|
7
|
+
background: linear-gradient($(degree), var(--color-gradient-$(type)));
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const badgeAppearanceShape: {
|
|
2
|
+
circular: {
|
|
3
|
+
shape: string;
|
|
4
|
+
};
|
|
5
|
+
rounded: {
|
|
6
|
+
shape: string;
|
|
7
|
+
};
|
|
8
|
+
roundedL: {
|
|
9
|
+
shape: string;
|
|
10
|
+
shapeStrength: string;
|
|
11
|
+
};
|
|
12
|
+
roundedM: {
|
|
13
|
+
shape: string;
|
|
14
|
+
shapeStrength: string;
|
|
15
|
+
};
|
|
16
|
+
roundedS: {
|
|
17
|
+
shape: string;
|
|
18
|
+
shapeStrength: string;
|
|
19
|
+
};
|
|
20
|
+
roundedXL: {
|
|
21
|
+
shape: string;
|
|
22
|
+
shapeStrength: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export { badgeAppearanceShape };
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
declare const buttonAppearanceShape: {
|
|
2
|
+
circular: {
|
|
3
|
+
shape: string;
|
|
4
|
+
};
|
|
2
5
|
rounded: {
|
|
3
6
|
shape: string;
|
|
4
7
|
};
|
|
5
|
-
|
|
8
|
+
roundedL: {
|
|
6
9
|
shape: string;
|
|
7
10
|
shapeStrength: string;
|
|
8
11
|
};
|
|
@@ -10,7 +13,7 @@ declare const buttonAppearanceShape: {
|
|
|
10
13
|
shape: string;
|
|
11
14
|
shapeStrength: string;
|
|
12
15
|
};
|
|
13
|
-
|
|
16
|
+
roundedS: {
|
|
14
17
|
shape: string;
|
|
15
18
|
shapeStrength: string;
|
|
16
19
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
|
|
1
|
+
declare const labelAppearanceGradient: {
|
|
2
|
+
gradientPrimary: {
|
|
3
3
|
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
4
|
labelTextColor: string;
|
|
5
|
+
borderColor: string;
|
|
6
|
+
iconAfterFillIcon: string;
|
|
7
|
+
iconBeforeFillIcon: string;
|
|
6
8
|
};
|
|
7
9
|
};
|
|
8
|
-
export {
|
|
10
|
+
export { labelAppearanceGradient };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/ui",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.54",
|
|
4
4
|
"description": "UI components (Modal, Loader, Popup, etc)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Modal",
|
|
@@ -104,8 +104,8 @@
|
|
|
104
104
|
"@itcase/common": "^1.2.28",
|
|
105
105
|
"@itcase/icons": "^1.2.16",
|
|
106
106
|
"@itcase/storybook-config": "^1.1.37",
|
|
107
|
-
"@itcase/tokens-am": "^1.1.
|
|
108
|
-
"@itcase/tokens-baikal": "^1.1.
|
|
107
|
+
"@itcase/tokens-am": "^1.1.19",
|
|
108
|
+
"@itcase/tokens-baikal": "^1.1.17",
|
|
109
109
|
"@itcase/tokens-palette": "^1.1.11",
|
|
110
110
|
"@storybook/addon-vitest": "^9.0.17",
|
|
111
111
|
"clsx": "^2.1.1",
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
.fill-gradient {
|
|
2
|
-
@each $type in accent, primary, secondary, tertiary, surface, success, error {
|
|
3
|
-
&_$(type) {
|
|
4
|
-
@each $color in primary, secondary, tertiary, quaternary, quinary, senary,
|
|
5
|
-
accent, disabled, hover {
|
|
6
|
-
&-$(color) {
|
|
7
|
-
@each $direction in left, top, right, bottom {
|
|
8
|
-
&-$(direction) {
|
|
9
|
-
background: linear-gradient(
|
|
10
|
-
to $(direction),
|
|
11
|
-
var(--color-$(type)-gradient-$(color)-start) 0%,
|
|
12
|
-
var(--color-$(type)-gradient-$(color)-end) 100%
|
|
13
|
-
);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|