@itcase/ui 1.0.72 → 1.0.73
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/components/Accordion.js +2 -0
- package/dist/components/Avatar.js +8 -22
- package/dist/components/Badge.js +2 -1
- package/dist/components/Breadcrumbs.js +2 -0
- package/dist/components/Button.js +5 -2
- package/dist/components/Card.js +1 -0
- package/dist/components/Cell.js +4 -2
- package/dist/components/Checkbox.js +1 -0
- package/dist/components/Chips.js +12 -1
- package/dist/components/Choice.js +2 -1
- package/dist/components/ContextMenu.js +3 -1
- package/dist/components/CookiesWarning.js +4 -2
- package/dist/components/DadataHintField.js +1 -1
- package/dist/components/DatePicker.js +8 -5
- package/dist/components/Dot.js +1 -1
- package/dist/components/Dropdown.js +1 -1
- package/dist/components/Empty.js +32 -30
- package/dist/components/Flex.js +1 -1
- package/dist/components/FormField.js +5 -3
- package/dist/components/Group.js +1 -1
- package/dist/components/Icon.js +209 -14
- package/dist/components/Input.js +1 -1
- package/dist/components/InputPassword.js +3 -0
- package/dist/components/Label.js +10 -9
- package/dist/components/LanguageSelector.js +3 -0
- package/dist/components/Loader.js +1 -0
- package/dist/components/Logo.js +58 -9
- package/dist/components/Menu.js +3 -1
- package/dist/components/MenuItem.js +100 -28
- package/dist/components/Modal.js +2 -1
- package/dist/components/Notification.js +1 -1
- package/dist/components/RadioButton.js +4 -3
- package/dist/components/Search.js +4 -1
- package/dist/components/Segmented.js +2 -1
- package/dist/components/Select.js +42 -35
- package/dist/components/SiteMenu.js +3 -0
- package/dist/components/Tab.js +5 -13
- package/dist/components/Text.js +5 -2
- package/dist/components/Tile.js +140 -114
- package/dist/components/Tooltip.js +1 -1
- package/dist/constants/componentProps/fillHover.js +5 -0
- package/dist/constants/componentProps/textSize.js +1 -1
- package/dist/constants/componentProps/titleSize.js +1 -1
- package/dist/constants.js +2 -0
- package/dist/css/components/Cell/Cell.css +7 -7
- package/dist/css/components/Chips/Chips.css +8 -2
- package/dist/css/components/DatePicker/DatePicker.css +2 -1
- package/dist/css/components/Input/Input.css +14 -0
- package/dist/css/components/Notification/Notification.css +1 -0
- package/dist/css/components/Notification/css/__item/notification__item_set_float.css +1 -0
- package/dist/css/components/Select/Select.css +19 -0
- package/dist/css/styles/border-color-hover/border-color-hover.css +3 -3
- package/dist/css/styles/text-color-hover/text-color-hover.css +4 -3
- package/package.json +11 -11
- /package/dist/{_commonjsHelpers-facfc6d6.js → _commonjsHelpers-rI13D0F7.js} +0 -0
- /package/dist/{defineProperty-f9e5e1f3.js → defineProperty-ujK-k7aM.js} +0 -0
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
|
|
13
13
|
.chips {
|
|
14
14
|
&&_size {
|
|
15
|
+
&_xxs {
|
|
16
|
+
padding: 2px 6px;
|
|
17
|
+
@mixin text-s;
|
|
18
|
+
}
|
|
15
19
|
&_xs {
|
|
16
20
|
padding: 2px 6px;
|
|
17
21
|
@mixin text-s;
|
|
@@ -34,7 +38,7 @@
|
|
|
34
38
|
}
|
|
35
39
|
&_xxl {
|
|
36
40
|
padding: 6px 12px;
|
|
37
|
-
@mixin text-xxl
|
|
41
|
+
@mixin text-xxl;
|
|
38
42
|
}
|
|
39
43
|
}
|
|
40
44
|
}
|
|
@@ -43,7 +47,7 @@
|
|
|
43
47
|
&_shape {
|
|
44
48
|
&_rounded {
|
|
45
49
|
border-radius: var(--chips-shape-rounded-default);
|
|
46
|
-
@each $size in xs, s, m, l, xl, xxl {
|
|
50
|
+
@each $size in xxs, xs, s, m, l, xl, xxl {
|
|
47
51
|
&.chips_size_$(size) {
|
|
48
52
|
border-radius: var(--chips-size-$(size)-shape-rounded);
|
|
49
53
|
}
|
|
@@ -57,6 +61,8 @@
|
|
|
57
61
|
|
|
58
62
|
:root {
|
|
59
63
|
--chips-shape-rounded-default: 6px;
|
|
64
|
+
--chips-size-xxs-shape-rounded: 6px;
|
|
65
|
+
--chips-size-xs-shape-rounded: 6px;
|
|
60
66
|
--chips-size-s-shape-rounded: 6px;
|
|
61
67
|
--chips-size-m-shape-rounded: 6px;
|
|
62
68
|
--chips-size-l-shape-rounded: 6px;
|
|
@@ -308,7 +308,7 @@
|
|
|
308
308
|
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {
|
|
309
309
|
list-style: none;
|
|
310
310
|
margin: 0;
|
|
311
|
-
height: calc(195px +
|
|
311
|
+
height: calc(195px + 1.7rem / 2);
|
|
312
312
|
overflow-y: scroll;
|
|
313
313
|
padding-right: 0;
|
|
314
314
|
padding-left: 0;
|
|
@@ -568,6 +568,7 @@
|
|
|
568
568
|
.react-datepicker__input-container .react-datepicker__calendar-icon {
|
|
569
569
|
position: absolute;
|
|
570
570
|
padding: 0.5rem;
|
|
571
|
+
box-sizing: content-box;
|
|
571
572
|
}
|
|
572
573
|
.react-datepicker__view-calendar-icon input {
|
|
573
574
|
padding: 6px 10px 5px 25px;
|
|
@@ -53,6 +53,25 @@
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
+
.select {
|
|
57
|
+
&&_state {
|
|
58
|
+
&_hide-value-container {
|
|
59
|
+
width: auto;
|
|
60
|
+
min-width: 0;
|
|
61
|
+
& .select__control {
|
|
62
|
+
padding: 0;
|
|
63
|
+
border: none;
|
|
64
|
+
}
|
|
65
|
+
& .select__value-container {
|
|
66
|
+
display: none;
|
|
67
|
+
}
|
|
68
|
+
& .select__menu {
|
|
69
|
+
min-width: 240px;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
56
75
|
.select {
|
|
57
76
|
&__control {
|
|
58
77
|
position: relative;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
.border-color_hover {
|
|
2
|
-
@each $type in accent, primary, secondary, tertiary, surface, success, error, info, warning{
|
|
2
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error, info, warning {
|
|
3
3
|
&_$(type) {
|
|
4
4
|
&-border {
|
|
5
|
-
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled,
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled,
|
|
6
|
+
hover {
|
|
6
7
|
&-$(color) {
|
|
7
8
|
&:hover {
|
|
8
|
-
border: solid 2px red;
|
|
9
9
|
border-color: var(--color-$(type)-border-$(color));
|
|
10
10
|
}
|
|
11
11
|
&-hover {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
.text-
|
|
2
|
-
@each $type in accent, primary, secondary, tertiary, surface, success, error, info, warning{
|
|
1
|
+
.text-color_hover {
|
|
2
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error, info, warning {
|
|
3
3
|
&_$(type) {
|
|
4
4
|
&-text {
|
|
5
|
-
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled,
|
|
5
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled,
|
|
6
|
+
hover {
|
|
6
7
|
&-$(color) {
|
|
7
8
|
&:hover {
|
|
8
9
|
color: var(--color-$(type)-text-$(color));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.73",
|
|
4
4
|
"description": "UI components (Modal, Loader, Popup, etc)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Modal",
|
|
@@ -69,11 +69,11 @@
|
|
|
69
69
|
"@babel/preset-react": "^7.22.15",
|
|
70
70
|
"@commitlint/cli": "^17.7.2",
|
|
71
71
|
"@commitlint/config-conventional": "^17.7.0",
|
|
72
|
-
"@rollup/plugin-babel": "^6.0.
|
|
73
|
-
"@rollup/plugin-commonjs": "^25.0.
|
|
74
|
-
"@rollup/plugin-json": "^6.0.
|
|
75
|
-
"@rollup/plugin-node-resolve": "^15.2.
|
|
76
|
-
"@rollup/plugin-terser": "^0.4.
|
|
72
|
+
"@rollup/plugin-babel": "^6.0.4",
|
|
73
|
+
"@rollup/plugin-commonjs": "^25.0.5",
|
|
74
|
+
"@rollup/plugin-json": "^6.0.1",
|
|
75
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
76
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
77
77
|
"@semantic-release/changelog": "^6.0.3",
|
|
78
78
|
"@semantic-release/git": "^10.0.1",
|
|
79
79
|
"@semantic-release/release-notes-generator": "^12.0.0",
|
|
@@ -81,14 +81,14 @@
|
|
|
81
81
|
"babel-plugin-inline-react-svg": "^2.0.2",
|
|
82
82
|
"babel-plugin-react-docgen": "^4.2.1",
|
|
83
83
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
|
|
84
|
-
"eslint": "8.
|
|
84
|
+
"eslint": "8.51.0",
|
|
85
85
|
"eslint-config-prettier": "^9.0.0",
|
|
86
86
|
"eslint-config-standard": "^17.1.0",
|
|
87
87
|
"eslint-plugin-babel": "^5.3.1",
|
|
88
88
|
"eslint-plugin-import": "^2.28.1",
|
|
89
89
|
"eslint-plugin-n": "^16.1.0",
|
|
90
90
|
"eslint-plugin-node": "^11.1.0",
|
|
91
|
-
"eslint-plugin-prettier": "^5.0.
|
|
91
|
+
"eslint-plugin-prettier": "^5.0.1",
|
|
92
92
|
"eslint-plugin-promise": "^6.1.1",
|
|
93
93
|
"eslint-plugin-react": "^7.33.2",
|
|
94
94
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
@@ -114,13 +114,13 @@
|
|
|
114
114
|
"postcss-nested-ancestors": "^3.0.0",
|
|
115
115
|
"postcss-normalize": "^10.0.1",
|
|
116
116
|
"postcss-prepend-imports": "^1.0.1",
|
|
117
|
-
"postcss-preset-env": "^9.
|
|
117
|
+
"postcss-preset-env": "^9.2.0",
|
|
118
118
|
"postcss-pxtorem": "^6.0.0",
|
|
119
119
|
"postcss-responsive-type": "github:ITCase/postcss-responsive-type",
|
|
120
120
|
"postcss-sort-media-queries": "^5.2.0",
|
|
121
121
|
"prettier": "^3.0.3",
|
|
122
|
-
"react-datepicker": "^4.
|
|
123
|
-
"rollup": "^
|
|
122
|
+
"react-datepicker": "^4.20.0",
|
|
123
|
+
"rollup": "^4.0.2",
|
|
124
124
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
125
125
|
"semantic-release": "^22.0.5",
|
|
126
126
|
"stylelint": "^15.10.3",
|
|
File without changes
|
|
File without changes
|