@commercetools-frontend/experimental-components 5.3.0 → 5.3.1
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/styles.css +97 -97
- package/package.json +16 -17
package/dist/styles.css
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/* imported from label-range.module.css */
|
|
2
|
+
|
|
3
|
+
.label-range-module__label___3Tb0p {
|
|
4
|
+
font-size: 0.9rem;
|
|
5
|
+
font-weight: bold;
|
|
6
|
+
}
|
|
1
7
|
/* imported from multi-value-search-input.module.css */
|
|
2
8
|
|
|
3
9
|
.multi-value-search-input-module__container___2u64d {
|
|
@@ -44,12 +50,6 @@
|
|
|
44
50
|
border-bottom-left-radius: var(--border-radius-for-input);
|
|
45
51
|
border-bottom-right-radius: var(--border-radius-for-input);
|
|
46
52
|
}
|
|
47
|
-
/* imported from label-range.module.css */
|
|
48
|
-
|
|
49
|
-
.label-range-module__label___3Tb0p {
|
|
50
|
-
font-size: 0.9rem;
|
|
51
|
-
font-weight: bold;
|
|
52
|
-
}
|
|
53
53
|
/* imported from numeric-format-input.module.css */
|
|
54
54
|
|
|
55
55
|
.numeric-format-input-module__invalid___3LcyE {
|
|
@@ -62,6 +62,78 @@
|
|
|
62
62
|
.numeric-format-input-module__disabled___hb6h4 {
|
|
63
63
|
cursor: not-allowed;
|
|
64
64
|
}
|
|
65
|
+
/* imported from throttled-field.module.css */
|
|
66
|
+
|
|
67
|
+
.throttled-field-module__size___324jx {
|
|
68
|
+
width: 100%;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.throttled-field-module__size___324jx {
|
|
72
|
+
min-height: var(--height-for-input);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.throttled-field-module__input-text___3zFFp {
|
|
76
|
+
transition: 0.2s ease;
|
|
77
|
+
border-radius: 6px;
|
|
78
|
+
border-style: solid;
|
|
79
|
+
border-width: 1px;
|
|
80
|
+
color: var(--color-solid);
|
|
81
|
+
font-weight: 500;
|
|
82
|
+
font-size: 1rem;
|
|
83
|
+
font-family: 'Open Sans', sans-serif !important;
|
|
84
|
+
padding: 7.5px 10px;
|
|
85
|
+
outline: none;
|
|
86
|
+
box-shadow: none;
|
|
87
|
+
appearance: none;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.throttled-field-module__input-secondary___cFo9e {
|
|
91
|
+
background-color: var(--color-neutral-95);
|
|
92
|
+
border-color: var(--color-surface);
|
|
93
|
+
width: 100%;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.throttled-field-module__input-primary___26G3R {
|
|
97
|
+
border-color: var(--color-neutral);
|
|
98
|
+
background-color: var(--color-surface);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.throttled-field-module__textarea___3ZNEs {
|
|
102
|
+
width: 100%;
|
|
103
|
+
min-height: 36px;
|
|
104
|
+
resize: vertical;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.throttled-field-module__textarea-primary___24Wwt {
|
|
108
|
+
border-color: var(--color-neutral);
|
|
109
|
+
background-color: var(--color-surface);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.throttled-field-module__textarea-secondary___2rmFG {
|
|
113
|
+
background-color: var(--color-neutral-95);
|
|
114
|
+
border-color: var(--color-surface);
|
|
115
|
+
width: 100%;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.throttled-field-module__invalid___1yZLW {
|
|
119
|
+
/* this needs !important because react-select has a :focus style that
|
|
120
|
+
stops the border colour being set unless the element is blurred */
|
|
121
|
+
border-color: var(--color-error) !important;
|
|
122
|
+
border: 1px solid;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.throttled-field-module__disabled___qVj79 {
|
|
126
|
+
cursor: not-allowed;
|
|
127
|
+
background-color: var(--color-accent-98);
|
|
128
|
+
color: var(--color-solid);
|
|
129
|
+
opacity: 1; /* fix for mobile safari */
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.throttled-field-module__granular___2LXJf {
|
|
133
|
+
border-top-left-radius: 0;
|
|
134
|
+
border-bottom-left-radius: 0;
|
|
135
|
+
margin-left: 0;
|
|
136
|
+
}
|
|
65
137
|
/* imported from search-input.module.css */
|
|
66
138
|
|
|
67
139
|
.search-input-module__block___1uM-y {
|
|
@@ -152,16 +224,6 @@
|
|
|
152
224
|
flex-shrink: 1;
|
|
153
225
|
margin-left: var(--spacing-s);
|
|
154
226
|
}
|
|
155
|
-
/* imported from required-indicator.module.css */
|
|
156
|
-
|
|
157
|
-
.required-indicator-module__colored____YUFm {
|
|
158
|
-
color: var(--color-warning);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.required-indicator-module__indicatorAsterisk___3lEdX {
|
|
162
|
-
font-style: normal;
|
|
163
|
-
margin-left: 2px;
|
|
164
|
-
}
|
|
165
227
|
/* imported from selectable-field-search-input.module.css */
|
|
166
228
|
|
|
167
229
|
.selectable-field-search-input-module__container___z2ltR {
|
|
@@ -178,88 +240,26 @@
|
|
|
178
240
|
margin-top: 2px;
|
|
179
241
|
position: absolute;
|
|
180
242
|
}
|
|
181
|
-
/* imported from
|
|
182
|
-
|
|
183
|
-
.validated-input-module__invalid___380EL {
|
|
184
|
-
/* this needs !important because react-select has a :focus style that
|
|
185
|
-
stops the border colour being set unless the element is blurred */
|
|
186
|
-
border-color: var(--color-error) !important;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.validated-input-module__container___3L2KB {
|
|
190
|
-
display: inline;
|
|
191
|
-
}
|
|
192
|
-
/* imported from throttled-field.module.css */
|
|
193
|
-
|
|
194
|
-
.throttled-field-module__size___324jx {
|
|
195
|
-
width: 100%;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.throttled-field-module__size___324jx {
|
|
199
|
-
min-height: var(--height-for-input);
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.throttled-field-module__input-text___3zFFp {
|
|
203
|
-
transition: 0.2s ease;
|
|
204
|
-
border-radius: 6px;
|
|
205
|
-
border-style: solid;
|
|
206
|
-
border-width: 1px;
|
|
207
|
-
color: var(--color-solid);
|
|
208
|
-
font-weight: 500;
|
|
209
|
-
font-size: 1rem;
|
|
210
|
-
font-family: 'Open Sans', sans-serif !important;
|
|
211
|
-
padding: 7.5px 10px;
|
|
212
|
-
outline: none;
|
|
213
|
-
box-shadow: none;
|
|
214
|
-
appearance: none;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.throttled-field-module__input-secondary___cFo9e {
|
|
218
|
-
background-color: var(--color-neutral-95);
|
|
219
|
-
border-color: var(--color-surface);
|
|
220
|
-
width: 100%;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.throttled-field-module__input-primary___26G3R {
|
|
224
|
-
border-color: var(--color-neutral);
|
|
225
|
-
background-color: var(--color-surface);
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
.throttled-field-module__textarea___3ZNEs {
|
|
229
|
-
width: 100%;
|
|
230
|
-
min-height: 36px;
|
|
231
|
-
resize: vertical;
|
|
232
|
-
}
|
|
243
|
+
/* imported from required-indicator.module.css */
|
|
233
244
|
|
|
234
|
-
.
|
|
235
|
-
|
|
236
|
-
background-color: var(--color-surface);
|
|
245
|
+
.required-indicator-module__colored____YUFm {
|
|
246
|
+
color: var(--color-warning);
|
|
237
247
|
}
|
|
238
248
|
|
|
239
|
-
.
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
width: 100%;
|
|
249
|
+
.required-indicator-module__indicatorAsterisk___3lEdX {
|
|
250
|
+
font-style: normal;
|
|
251
|
+
margin-left: 2px;
|
|
243
252
|
}
|
|
253
|
+
/* imported from validated-input.module.css */
|
|
244
254
|
|
|
245
|
-
.
|
|
255
|
+
.validated-input-module__invalid___380EL {
|
|
246
256
|
/* this needs !important because react-select has a :focus style that
|
|
247
257
|
stops the border colour being set unless the element is blurred */
|
|
248
258
|
border-color: var(--color-error) !important;
|
|
249
|
-
border: 1px solid;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.throttled-field-module__disabled___qVj79 {
|
|
253
|
-
cursor: not-allowed;
|
|
254
|
-
background-color: var(--color-accent-98);
|
|
255
|
-
color: var(--color-solid);
|
|
256
|
-
opacity: 1; /* fix for mobile safari */
|
|
257
259
|
}
|
|
258
260
|
|
|
259
|
-
.
|
|
260
|
-
|
|
261
|
-
border-bottom-left-radius: 0;
|
|
262
|
-
margin-left: 0;
|
|
261
|
+
.validated-input-module__container___3L2KB {
|
|
262
|
+
display: inline;
|
|
263
263
|
}
|
|
264
264
|
/* imported from button.module.css */
|
|
265
265
|
|
|
@@ -500,15 +500,6 @@
|
|
|
500
500
|
width: 1px;
|
|
501
501
|
height: 1px;
|
|
502
502
|
}
|
|
503
|
-
/* imported from centered-loading-spinner.module.css */
|
|
504
|
-
|
|
505
|
-
.centered-loading-spinner-module__loading-container___3_9-h {
|
|
506
|
-
height: 100%;
|
|
507
|
-
display: flex;
|
|
508
|
-
flex-grow: 1;
|
|
509
|
-
align-items: center;
|
|
510
|
-
justify-content: center;
|
|
511
|
-
}
|
|
512
503
|
/* imported from divider.module.css */
|
|
513
504
|
|
|
514
505
|
.divider-module__divider___4-vdy {
|
|
@@ -527,6 +518,15 @@
|
|
|
527
518
|
.divider-module__divider-dashed___2Em8A {
|
|
528
519
|
border-style: dashed;
|
|
529
520
|
}
|
|
521
|
+
/* imported from centered-loading-spinner.module.css */
|
|
522
|
+
|
|
523
|
+
.centered-loading-spinner-module__loading-container___3_9-h {
|
|
524
|
+
height: 100%;
|
|
525
|
+
display: flex;
|
|
526
|
+
flex-grow: 1;
|
|
527
|
+
align-items: center;
|
|
528
|
+
justify-content: center;
|
|
529
|
+
}
|
|
530
530
|
/* imported from reference-search.module.css */
|
|
531
531
|
|
|
532
532
|
.reference-search-module__container___3-iK3 {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/experimental-components",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/commercetools-frontend-experimental-components.cjs.js",
|
|
6
6
|
"module": "dist/commercetools-frontend-experimental-components.esm.js",
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@babel/core": "^7.22.11",
|
|
14
|
-
"@babel/runtime-corejs3": "^7.21.0",
|
|
15
14
|
"@babel/runtime": "^7.21.0",
|
|
15
|
+
"@babel/runtime-corejs3": "^7.21.0",
|
|
16
16
|
"@commercetools-frontend/actions-global": "^22.7.1",
|
|
17
17
|
"@commercetools-frontend/application-components": "^22.7.1",
|
|
18
|
-
"@commercetools-frontend/application-shell-connectors": "^22.7.1",
|
|
19
18
|
"@commercetools-frontend/application-shell": "^22.7.1",
|
|
19
|
+
"@commercetools-frontend/application-shell-connectors": "^22.7.1",
|
|
20
20
|
"@commercetools-frontend/constants": "^22.7.1",
|
|
21
21
|
"@commercetools-frontend/l10n": "^22.7.1",
|
|
22
22
|
"@commercetools-frontend/sdk": "^22.7.1",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@commercetools-uikit/design-system": "^16.7.2",
|
|
26
26
|
"@commercetools-uikit/select-utils": "^16.7.2",
|
|
27
27
|
"@commercetools-uikit/utils": "^16.7.2",
|
|
28
|
-
"@emotion/react": "^11.
|
|
28
|
+
"@emotion/react": "^11.11.1",
|
|
29
29
|
"classnames": "2.3.2",
|
|
30
30
|
"cleave.js": "1.5.10",
|
|
31
31
|
"common-tags": "1.8.2",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"hoist-non-react-statics": "3.3.2",
|
|
36
36
|
"lodash": "4.17.21",
|
|
37
37
|
"memoize-one": "6.0.0",
|
|
38
|
-
"moment-timezone": "0.5.43",
|
|
39
38
|
"moment": "2.29.4",
|
|
39
|
+
"moment-timezone": "0.5.43",
|
|
40
40
|
"omit-deep": "0.3.0",
|
|
41
41
|
"omit-empty-es": "1.2.0",
|
|
42
42
|
"prop-types": "^15.8.1",
|
|
@@ -44,7 +44,6 @@
|
|
|
44
44
|
"reselect": "4.1.8",
|
|
45
45
|
"tiny-invariant": "1.3.1",
|
|
46
46
|
"tiny-warning": "1.0.3",
|
|
47
|
-
"typescript": "4.9.5",
|
|
48
47
|
"uuid": "9.0.0"
|
|
49
48
|
},
|
|
50
49
|
"devDependencies": {
|
|
@@ -52,37 +51,37 @@
|
|
|
52
51
|
"@commercetools-test-data/channel": "^5.0.0",
|
|
53
52
|
"@commercetools-test-data/commons": "^5.0.0",
|
|
54
53
|
"@commercetools-test-data/core": "^4.11.1",
|
|
55
|
-
"@testing-library/react-hooks": "^8.0.1",
|
|
56
54
|
"@testing-library/react": "^12.1.5",
|
|
55
|
+
"@testing-library/react-hooks": "^8.0.1",
|
|
57
56
|
"enzyme": "^3.11.0",
|
|
58
|
-
"graphql-tag": "^2.12.6",
|
|
59
57
|
"graphql": "^16.6.0",
|
|
60
|
-
"
|
|
58
|
+
"graphql-tag": "^2.12.6",
|
|
59
|
+
"msw": "^1.3.0",
|
|
60
|
+
"react": "^17.0.2",
|
|
61
61
|
"react-dom": "^17.0.2",
|
|
62
|
-
"react-intl": "^6.4.
|
|
62
|
+
"react-intl": "^6.4.5",
|
|
63
63
|
"react-redux": "^7.2.9",
|
|
64
64
|
"react-required-if": "^1.0.3",
|
|
65
65
|
"react-router-dom": "^5.3.4",
|
|
66
66
|
"react-test-renderer": "^17.0.2",
|
|
67
|
-
"react": "^17.0.2",
|
|
68
67
|
"redux": "^4.2.1",
|
|
69
|
-
"typescript": "
|
|
68
|
+
"typescript": "5.2.2",
|
|
70
69
|
"xhr-mock": "^2.5.1",
|
|
71
|
-
"@commercetools-local/test-data": "1.2.
|
|
72
|
-
"@commercetools-local/test-utils": "1.2.
|
|
70
|
+
"@commercetools-local/test-data": "1.2.1",
|
|
71
|
+
"@commercetools-local/test-utils": "1.2.1"
|
|
73
72
|
},
|
|
74
73
|
"peerDependencies": {
|
|
75
74
|
"@apollo/client": "3.x",
|
|
76
75
|
"@testing-library/react": "12.x",
|
|
77
76
|
"@testing-library/react-hooks": "8.x",
|
|
77
|
+
"msw": "1.x.x",
|
|
78
78
|
"react": "17.x",
|
|
79
79
|
"react-dom": "17.x",
|
|
80
80
|
"react-intl": "6.x",
|
|
81
81
|
"react-redux": "7.x",
|
|
82
|
+
"react-required-if": "1.x.x",
|
|
82
83
|
"react-router-dom": "5.x",
|
|
83
|
-
"redux": "4.x"
|
|
84
|
-
"msw": "1.x.x",
|
|
85
|
-
"react-required-if": "1.x.x"
|
|
84
|
+
"redux": "4.x"
|
|
86
85
|
},
|
|
87
86
|
"publishConfig": {
|
|
88
87
|
"access": "public"
|