@itcase/ui 1.1.4 → 1.1.6
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/DadataHintField.js +6 -3
- package/dist/components/DatePicker.js +4981 -125
- package/dist/components/Flex.js +18 -17
- package/dist/components/Grid.js +5 -1
- package/dist/components/Group.js +54 -54
- package/dist/components/Image.js +0 -8
- package/dist/components/Input.js +18 -18
- package/dist/components/MenuItem.js +1 -1
- package/dist/components/Radio.js +120 -12
- package/dist/components/Response.js +3 -3
- package/dist/components/ScrollOnDrag.js +18 -1
- package/dist/components/Segmented.js +1 -1
- package/dist/components/Select.js +43 -42
- package/dist/components/Swiper.js +45 -40
- package/dist/css/components/DatePicker/DatePicker.css +11 -10
- package/dist/css/components/Grid/Grid.css +9 -17
- package/dist/css/components/Input/Input.css +8 -0
- package/dist/css/components/MenuItem/MenuItem.css +5 -5
- package/dist/css/components/Modal/Modal.css +1 -0
- package/dist/css/components/ScrollOnDrag/ScrollOnDrag.css +11 -1
- package/dist/css/components/Select/Select.css +1 -1
- package/dist/css/components/Select/css/__single-value/select__single-value.css +1 -1
- package/dist/css/components/Swiper/Swiper.css +2 -2
- package/dist/css/components/Title/Title.css +9 -70
- package/dist/hooks/styleAttributes.js +3 -3
- package/package.json +21 -21
- package/dist/_commonjsHelpers-CFO10eej.js +0 -7
|
@@ -1,46 +1,4 @@
|
|
|
1
1
|
.title {}
|
|
2
|
-
.title {
|
|
3
|
-
&_size_h1 {
|
|
4
|
-
@mixin h1;
|
|
5
|
-
padding: 0;
|
|
6
|
-
margin: 0;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
.title {
|
|
10
|
-
&_size_h2 {
|
|
11
|
-
@mixin h2;
|
|
12
|
-
padding: 0;
|
|
13
|
-
margin: 0;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
.title {
|
|
17
|
-
&_size_h3 {
|
|
18
|
-
@mixin h3;
|
|
19
|
-
padding: 0;
|
|
20
|
-
margin: 0;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
.title {
|
|
24
|
-
&_size_h4 {
|
|
25
|
-
@mixin h4;
|
|
26
|
-
padding: 0;
|
|
27
|
-
margin: 0;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
.title {
|
|
31
|
-
&_size_h5 {
|
|
32
|
-
@mixin h5;
|
|
33
|
-
padding: 0;
|
|
34
|
-
margin: 0;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
.title {
|
|
38
|
-
&_size_h6 {
|
|
39
|
-
@mixin h6;
|
|
40
|
-
padding: 0;
|
|
41
|
-
margin: 0;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
2
|
.title.title {
|
|
45
3
|
&_mode {
|
|
46
4
|
&_skeleton {
|
|
@@ -65,39 +23,20 @@
|
|
|
65
23
|
background-position: -200%;
|
|
66
24
|
}
|
|
67
25
|
}
|
|
68
|
-
.
|
|
69
|
-
|
|
70
|
-
&
|
|
71
|
-
|
|
26
|
+
.title_size {
|
|
27
|
+
@each $size in h1, h2, h3, h4, h5, h6 {
|
|
28
|
+
&_$(size) {
|
|
29
|
+
padding: 0;
|
|
30
|
+
margin: 0;
|
|
31
|
+
@mixin $(size);
|
|
72
32
|
}
|
|
73
33
|
}
|
|
74
34
|
}
|
|
75
35
|
.title {
|
|
76
36
|
&&_type {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
.title {
|
|
83
|
-
&&_type {
|
|
84
|
-
&_secondary {
|
|
85
|
-
color: var(--color-secondary-text-secondary);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
.title {
|
|
90
|
-
&&_type {
|
|
91
|
-
&_tertiary {
|
|
92
|
-
color: var(--color-tertiary-text-tertiary);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
.title {
|
|
97
|
-
&.text-style {
|
|
98
|
-
&_italic {
|
|
99
|
-
^^&__wrapper {
|
|
100
|
-
font-style: italic;
|
|
37
|
+
@each $type in accent, primary, secondary, tertiary, surface, success, error {
|
|
38
|
+
&_$(type) {
|
|
39
|
+
color: var(--color-$(type)-text-$(type));
|
|
101
40
|
}
|
|
102
41
|
}
|
|
103
42
|
}
|
|
@@ -28,10 +28,10 @@ var styleAttributes = [
|
|
|
28
28
|
/**
|
|
29
29
|
* Grid
|
|
30
30
|
*/
|
|
31
|
-
'gridTemplateColumns', 'gridArea', 'gridAutoColumns', 'gridAutoFlow', 'gridAutoRows', 'gridTemplate', 'gridTemplateAreas', 'gridTemplateRows', 'gridColumnGap', 'gridRowGap',
|
|
31
|
+
'gridTemplateColumns', 'gridArea', 'gridAutoColumns', 'gridAutoFlow', 'gridAutoRows', 'gridTemplate', 'gridTemplateAreas', 'gridTemplateRows', 'gridColumn', 'gridColumnGap', 'gridRow', 'gridRowGap',
|
|
32
32
|
/**
|
|
33
|
-
* Filter
|
|
34
|
-
*/
|
|
33
|
+
* Filter
|
|
34
|
+
*/
|
|
35
35
|
'backdropFilter'];
|
|
36
36
|
|
|
37
37
|
exports.default = styleAttributes;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"description": "UI components (Modal, Loader, Popup, etc)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Modal",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"registry": "https://registry.npmjs.org/"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@itcase/common": "^1.1.
|
|
44
|
+
"@itcase/common": "^1.1.15",
|
|
45
45
|
"clsx": "^2.1.0",
|
|
46
46
|
"html5-boilerplate": "^9.0.0",
|
|
47
47
|
"js-cookie": "^3.0.5",
|
|
@@ -55,22 +55,23 @@
|
|
|
55
55
|
"react-dom": "^18.2.0",
|
|
56
56
|
"react-inlinesvg": "^4.1.3",
|
|
57
57
|
"react-modern-drawer": "^1.2.2",
|
|
58
|
+
"react-datepicker": "^6.6.0",
|
|
58
59
|
"react-otp-input": "^3.1.1",
|
|
59
60
|
"react-paginate": "^8.2.0",
|
|
60
|
-
"react-responsive": "^
|
|
61
|
+
"react-responsive": "^10.0.0",
|
|
61
62
|
"react-scroll-ondrag": "^3.0.1",
|
|
62
63
|
"react-scrollbars-custom": "^4.1.1",
|
|
63
64
|
"react-select": "^5.8.0",
|
|
64
|
-
"swiper": "^11.0
|
|
65
|
+
"swiper": "^11.1.0",
|
|
65
66
|
"uuid": "^9.0.1"
|
|
66
67
|
},
|
|
67
68
|
"devDependencies": {
|
|
68
|
-
"@babel/core": "^7.24.
|
|
69
|
-
"@babel/eslint-parser": "^7.
|
|
70
|
-
"@babel/preset-env": "^7.24.
|
|
71
|
-
"@babel/preset-react": "^7.
|
|
72
|
-
"@commitlint/cli": "^19.
|
|
73
|
-
"@commitlint/config-conventional": "^19.0
|
|
69
|
+
"@babel/core": "^7.24.3",
|
|
70
|
+
"@babel/eslint-parser": "^7.24.1",
|
|
71
|
+
"@babel/preset-env": "^7.24.3",
|
|
72
|
+
"@babel/preset-react": "^7.24.1",
|
|
73
|
+
"@commitlint/cli": "^19.2.1",
|
|
74
|
+
"@commitlint/config-conventional": "^19.1.0",
|
|
74
75
|
"@rollup/plugin-babel": "^6.0.4",
|
|
75
76
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
76
77
|
"@rollup/plugin-json": "^6.1.0",
|
|
@@ -78,7 +79,7 @@
|
|
|
78
79
|
"@rollup/plugin-terser": "^0.4.4",
|
|
79
80
|
"@semantic-release/changelog": "^6.0.3",
|
|
80
81
|
"@semantic-release/git": "^10.0.1",
|
|
81
|
-
"@semantic-release/release-notes-generator": "^
|
|
82
|
+
"@semantic-release/release-notes-generator": "^13.0.0",
|
|
82
83
|
"babel-loader": "^9.1.3",
|
|
83
84
|
"babel-plugin-inline-react-svg": "^2.0.2",
|
|
84
85
|
"babel-plugin-react-docgen": "^4.2.1",
|
|
@@ -92,41 +93,40 @@
|
|
|
92
93
|
"eslint-plugin-node": "^11.1.0",
|
|
93
94
|
"eslint-plugin-prettier": "^5.1.3",
|
|
94
95
|
"eslint-plugin-promise": "^6.1.1",
|
|
95
|
-
"eslint-plugin-react": "^7.
|
|
96
|
+
"eslint-plugin-react": "^7.34.1",
|
|
96
97
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
97
98
|
"eslint-plugin-standard": "^5.0.0",
|
|
98
99
|
"husky": "^9.0.11",
|
|
99
100
|
"lint-staged": "^15.2.2",
|
|
100
101
|
"npm": "^10.5.0",
|
|
101
|
-
"postcss": "^8.4.
|
|
102
|
+
"postcss": "^8.4.38",
|
|
102
103
|
"postcss-aspect-ratio-polyfill": "^2.0.0",
|
|
103
104
|
"postcss-cli": "^11.0.0",
|
|
104
105
|
"postcss-combine-duplicated-selectors": "^10.0.3",
|
|
105
106
|
"postcss-csso": "^6.0.1",
|
|
106
107
|
"postcss-dark-theme-class": "^1.2.1",
|
|
107
|
-
"postcss-discard-duplicates": "^6.0.
|
|
108
|
+
"postcss-discard-duplicates": "^6.0.3",
|
|
108
109
|
"postcss-each": "^1.1.0",
|
|
109
110
|
"postcss-easings": "^4.0.0",
|
|
110
111
|
"postcss-flexbugs-fixes": "^5.0.2",
|
|
111
112
|
"postcss-hexrgba": "^2.1.0",
|
|
112
|
-
"postcss-import": "^16.0
|
|
113
|
+
"postcss-import": "^16.1.0",
|
|
113
114
|
"postcss-import-ext-glob": "^2.1.1",
|
|
114
|
-
"postcss-mixins": "^
|
|
115
|
+
"postcss-mixins": "^10.0.0",
|
|
115
116
|
"postcss-nested": "^6.0.1",
|
|
116
117
|
"postcss-nested-ancestors": "^3.0.0",
|
|
117
118
|
"postcss-normalize": "^10.0.1",
|
|
118
119
|
"postcss-prepend-imports": "^1.0.1",
|
|
119
|
-
"postcss-preset-env": "^9.
|
|
120
|
+
"postcss-preset-env": "^9.5.3",
|
|
120
121
|
"postcss-pxtorem": "^6.1.0",
|
|
121
122
|
"postcss-responsive-type": "github:ITCase/postcss-responsive-type",
|
|
122
123
|
"postcss-sort-media-queries": "^5.2.0",
|
|
123
124
|
"prettier": "^3.2.5",
|
|
124
|
-
"
|
|
125
|
-
"rollup": "^4.12.0",
|
|
125
|
+
"rollup": "^4.13.2",
|
|
126
126
|
"rollup-plugin-copy": "^3.5.0",
|
|
127
127
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
128
|
-
"semantic-release": "^23.0.
|
|
129
|
-
"stylelint": "^16.
|
|
128
|
+
"semantic-release": "^23.0.6",
|
|
129
|
+
"stylelint": "^16.3.1",
|
|
130
130
|
"stylelint-config-standard": "^36.0.0",
|
|
131
131
|
"stylelint-no-unsupported-browser-features": "^8.0.1",
|
|
132
132
|
"stylelint-order": "^6.0.4"
|