@itcase/ui 1.1.5 → 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 +5 -2
- 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/MenuItem.js +1 -1
- package/dist/components/Response.js +3 -3
- package/dist/components/ScrollOnDrag.js +18 -1
- 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/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/hooks/styleAttributes.js +3 -3
- package/package.json +21 -21
- package/dist/_commonjsHelpers-CFO10eej.js +0 -7
|
@@ -12,16 +12,6 @@
|
|
|
12
12
|
top: 6px;
|
|
13
13
|
width: 9px;
|
|
14
14
|
}
|
|
15
|
-
.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {
|
|
16
|
-
fill: #f0f0f0;
|
|
17
|
-
color: #f0f0f0;
|
|
18
|
-
stroke: #aeaeae;
|
|
19
|
-
}
|
|
20
|
-
.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle {
|
|
21
|
-
fill: #fff;
|
|
22
|
-
color: #fff;
|
|
23
|
-
stroke: #aeaeae;
|
|
24
|
-
}
|
|
25
15
|
.react-datepicker-wrapper {
|
|
26
16
|
display: inline-block;
|
|
27
17
|
padding: 0;
|
|
@@ -50,6 +40,17 @@
|
|
|
50
40
|
z-index: 1;
|
|
51
41
|
line-height: 0;
|
|
52
42
|
}
|
|
43
|
+
.react-datepicker-popper .react-datepicker__triangle {
|
|
44
|
+
stroke: #aeaeae;
|
|
45
|
+
}
|
|
46
|
+
.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {
|
|
47
|
+
fill: #f0f0f0;
|
|
48
|
+
color: #f0f0f0;
|
|
49
|
+
}
|
|
50
|
+
.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle {
|
|
51
|
+
fill: #fff;
|
|
52
|
+
color: #fff;
|
|
53
|
+
}
|
|
53
54
|
.react-datepicker__header {
|
|
54
55
|
text-align: center;
|
|
55
56
|
background-color: #f0f0f0;
|
|
@@ -38,20 +38,14 @@
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
.grid {
|
|
41
|
-
@each $val in auto, normal, stretch, center, start, end, space-around, space-between, space-evenly,
|
|
41
|
+
@each $val in auto, normal, stretch, center, start, end, space-around, space-between, space-evenly,
|
|
42
|
+
safe center, unsafe center, self-start, self-end, first, baseline, first, baseline,
|
|
43
|
+
last baseline {
|
|
42
44
|
&_align-content_$(val) {
|
|
43
|
-
|
|
44
|
-
& > div {
|
|
45
|
-
align-content: $(val);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
45
|
+
align-content: $(val);
|
|
48
46
|
}
|
|
49
47
|
&_align-items_$(val) {
|
|
50
|
-
|
|
51
|
-
& > div {
|
|
52
|
-
align-items: $(val);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
48
|
+
align-items: $(val);
|
|
55
49
|
}
|
|
56
50
|
}
|
|
57
51
|
}
|
|
@@ -86,16 +80,14 @@
|
|
|
86
80
|
}
|
|
87
81
|
}
|
|
88
82
|
.grid {
|
|
89
|
-
@each $val in auto, legacy, normal, stretch, center, start, end, left, right, space-around,
|
|
83
|
+
@each $val in auto, legacy, normal, stretch, center, start, end, left, right, space-around,
|
|
84
|
+
space-between, space-evenly, safe, center, unsafe center, self-start, self-end, left, right,
|
|
85
|
+
baseline, first baseline, last baseline {
|
|
90
86
|
&_justify-content_$(val) {
|
|
91
87
|
justify-content: $(val);
|
|
92
88
|
}
|
|
93
89
|
&_justify-items_$(val) {
|
|
94
|
-
|
|
95
|
-
& > div {
|
|
96
|
-
justify-items: $(val);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
90
|
+
justify-items: $(val);
|
|
99
91
|
}
|
|
100
92
|
}
|
|
101
93
|
}
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
:root {
|
|
85
85
|
--menu-item-size-xxs-padding: 0 4px;
|
|
86
86
|
--menu-item-size-xs-padding: 0 4px;
|
|
87
|
-
--menu-item-size-s-padding:
|
|
88
|
-
--menu-item-size-m-padding:
|
|
89
|
-
--menu-item-size-l-padding:
|
|
90
|
-
--menu-item-size-xl-padding:
|
|
91
|
-
--menu-item-size-xxl-padding:
|
|
87
|
+
--menu-item-size-s-padding: 3px 4px;
|
|
88
|
+
--menu-item-size-m-padding: 4px 4px;
|
|
89
|
+
--menu-item-size-l-padding: 6px 6px;
|
|
90
|
+
--menu-item-size-xl-padding: 10px 8px;
|
|
91
|
+
--menu-item-size-xxl-padding: 12px 10px;
|
|
92
92
|
}
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
.scrolldrag {
|
|
2
2
|
white-space: nowrap;
|
|
3
3
|
padding: 0 5px;
|
|
4
|
-
display: inline-block;
|
|
5
4
|
overflow: scroll hidden;
|
|
5
|
+
display: inline-block;
|
|
6
|
+
cursor: grab;
|
|
7
|
+
&_scroll_hidden {
|
|
8
|
+
overflow: auto;
|
|
9
|
+
-ms-overflow-style: none;
|
|
10
|
+
scrollbar-width: none;
|
|
11
|
+
&::-webkit-scrollbar {
|
|
12
|
+
width: 0;
|
|
13
|
+
height: 0;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
6
16
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Swiper 11.0
|
|
2
|
+
* Swiper 11.1.0
|
|
3
3
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
4
4
|
* https://swiperjs.com
|
|
5
5
|
*
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* Released under the MIT License
|
|
9
9
|
*
|
|
10
|
-
* Released on:
|
|
10
|
+
* Released on: March 28, 2024
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
/* FONT_START */
|
|
@@ -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,23 +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.
|
|
58
|
+
"react-datepicker": "^6.6.0",
|
|
59
59
|
"react-otp-input": "^3.1.1",
|
|
60
60
|
"react-paginate": "^8.2.0",
|
|
61
|
-
"react-responsive": "^
|
|
61
|
+
"react-responsive": "^10.0.0",
|
|
62
62
|
"react-scroll-ondrag": "^3.0.1",
|
|
63
63
|
"react-scrollbars-custom": "^4.1.1",
|
|
64
64
|
"react-select": "^5.8.0",
|
|
65
|
-
"swiper": "^11.0
|
|
65
|
+
"swiper": "^11.1.0",
|
|
66
66
|
"uuid": "^9.0.1"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@babel/core": "^7.24.
|
|
70
|
-
"@babel/eslint-parser": "^7.
|
|
71
|
-
"@babel/preset-env": "^7.24.
|
|
72
|
-
"@babel/preset-react": "^7.
|
|
73
|
-
"@commitlint/cli": "^19.
|
|
74
|
-
"@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",
|
|
75
75
|
"@rollup/plugin-babel": "^6.0.4",
|
|
76
76
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
77
77
|
"@rollup/plugin-json": "^6.1.0",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"@rollup/plugin-terser": "^0.4.4",
|
|
80
80
|
"@semantic-release/changelog": "^6.0.3",
|
|
81
81
|
"@semantic-release/git": "^10.0.1",
|
|
82
|
-
"@semantic-release/release-notes-generator": "^
|
|
82
|
+
"@semantic-release/release-notes-generator": "^13.0.0",
|
|
83
83
|
"babel-loader": "^9.1.3",
|
|
84
84
|
"babel-plugin-inline-react-svg": "^2.0.2",
|
|
85
85
|
"babel-plugin-react-docgen": "^4.2.1",
|
|
@@ -93,40 +93,40 @@
|
|
|
93
93
|
"eslint-plugin-node": "^11.1.0",
|
|
94
94
|
"eslint-plugin-prettier": "^5.1.3",
|
|
95
95
|
"eslint-plugin-promise": "^6.1.1",
|
|
96
|
-
"eslint-plugin-react": "^7.
|
|
96
|
+
"eslint-plugin-react": "^7.34.1",
|
|
97
97
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
98
98
|
"eslint-plugin-standard": "^5.0.0",
|
|
99
99
|
"husky": "^9.0.11",
|
|
100
100
|
"lint-staged": "^15.2.2",
|
|
101
101
|
"npm": "^10.5.0",
|
|
102
|
-
"postcss": "^8.4.
|
|
102
|
+
"postcss": "^8.4.38",
|
|
103
103
|
"postcss-aspect-ratio-polyfill": "^2.0.0",
|
|
104
104
|
"postcss-cli": "^11.0.0",
|
|
105
105
|
"postcss-combine-duplicated-selectors": "^10.0.3",
|
|
106
106
|
"postcss-csso": "^6.0.1",
|
|
107
107
|
"postcss-dark-theme-class": "^1.2.1",
|
|
108
|
-
"postcss-discard-duplicates": "^6.0.
|
|
108
|
+
"postcss-discard-duplicates": "^6.0.3",
|
|
109
109
|
"postcss-each": "^1.1.0",
|
|
110
110
|
"postcss-easings": "^4.0.0",
|
|
111
111
|
"postcss-flexbugs-fixes": "^5.0.2",
|
|
112
112
|
"postcss-hexrgba": "^2.1.0",
|
|
113
|
-
"postcss-import": "^16.0
|
|
113
|
+
"postcss-import": "^16.1.0",
|
|
114
114
|
"postcss-import-ext-glob": "^2.1.1",
|
|
115
|
-
"postcss-mixins": "^
|
|
115
|
+
"postcss-mixins": "^10.0.0",
|
|
116
116
|
"postcss-nested": "^6.0.1",
|
|
117
117
|
"postcss-nested-ancestors": "^3.0.0",
|
|
118
118
|
"postcss-normalize": "^10.0.1",
|
|
119
119
|
"postcss-prepend-imports": "^1.0.1",
|
|
120
|
-
"postcss-preset-env": "^9.
|
|
120
|
+
"postcss-preset-env": "^9.5.3",
|
|
121
121
|
"postcss-pxtorem": "^6.1.0",
|
|
122
122
|
"postcss-responsive-type": "github:ITCase/postcss-responsive-type",
|
|
123
123
|
"postcss-sort-media-queries": "^5.2.0",
|
|
124
124
|
"prettier": "^3.2.5",
|
|
125
|
-
"rollup": "^4.
|
|
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"
|