@commercetools-frontend/experimental-components 6.0.0 → 6.0.2
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
CHANGED
|
@@ -1,3 +1,130 @@
|
|
|
1
|
+
/* imported from search-input.module.css */
|
|
2
|
+
|
|
3
|
+
.search-input-module__block___1uM-y {
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
flex-direction: row;
|
|
6
|
+
align-items: flex-start;
|
|
7
|
+
width: 100%;
|
|
8
|
+
max-width: 800px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.search-input-module__container___9u6if {
|
|
12
|
+
position: relative;
|
|
13
|
+
flex-grow: 1;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.search-input-module__input-container___mJnyZ {
|
|
17
|
+
border-color: var(--border-color-for-input);
|
|
18
|
+
height: var(--height-for-input);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.search-input-module__input-container___mJnyZ > input::placeholder {
|
|
22
|
+
font-weight: var(--font-weight-400);
|
|
23
|
+
font-size: var(--font-size-for-input);
|
|
24
|
+
font-family: var(--font-family);
|
|
25
|
+
color: var(--color-neutral-60);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.search-input-module__input-container___mJnyZ > input {
|
|
29
|
+
padding-right: calc(var(--spacing-xl) * 2);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.search-input-module__input-container-disabled___23jR8 > input {
|
|
33
|
+
border-color: var(--color-neutral);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.search-input-module__input-container-hoverable___1xjqn > input:hover {
|
|
37
|
+
border: var(--border-width-for-input) solid var(--border-color-for-input);
|
|
38
|
+
background-color: var(--background-color-for-input-when-hovered);
|
|
39
|
+
}
|
|
40
|
+
.search-input-module__input-container-hoverable___1xjqn > input:focus {
|
|
41
|
+
box-shadow: var(
|
|
42
|
+
--shadow-for-input-when-focused,
|
|
43
|
+
inset 0 0 0 1px var(--color-primary)
|
|
44
|
+
);
|
|
45
|
+
border-color: var(--border-color-for-input-when-focused);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.search-input-module__input-container-granular___33Pm- {
|
|
49
|
+
border-color: var(--color-primary);
|
|
50
|
+
position: relative;
|
|
51
|
+
right: 3px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.search-input-module__search-icon-container___cbHQY {
|
|
55
|
+
background-color: transparent;
|
|
56
|
+
border-color: transparent;
|
|
57
|
+
position: absolute;
|
|
58
|
+
right: 9px;
|
|
59
|
+
top: 8px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.search-input-module__clear-icon-container___3RQvu {
|
|
63
|
+
background-color: transparent;
|
|
64
|
+
border-color: transparent;
|
|
65
|
+
position: absolute;
|
|
66
|
+
right: 36px;
|
|
67
|
+
top: 11px;
|
|
68
|
+
z-index: 2;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.search-input-module__clear-icon-container-granular___1mbin {
|
|
72
|
+
right: 41px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.search-input-module__search-icon-container-hoverable___1kTwJ {
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.search-input-module__search-icon-container-granular___3fAsR {
|
|
80
|
+
right: 15px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.search-input-module__hidden___z07GX {
|
|
84
|
+
display: none !important;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.search-input-module__action___1GqGT {
|
|
88
|
+
flex-shrink: 1;
|
|
89
|
+
margin-left: var(--spacing-s);
|
|
90
|
+
}
|
|
91
|
+
/* imported from required-indicator.module.css */
|
|
92
|
+
|
|
93
|
+
.required-indicator-module__colored____YUFm {
|
|
94
|
+
color: var(--color-warning);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.required-indicator-module__indicatorAsterisk___3lEdX {
|
|
98
|
+
font-style: normal;
|
|
99
|
+
margin-left: 2px;
|
|
100
|
+
}
|
|
101
|
+
/* imported from selectable-field-search-input.module.css */
|
|
102
|
+
|
|
103
|
+
.selectable-field-search-input-module__container___z2ltR {
|
|
104
|
+
width: 100%;
|
|
105
|
+
position: relative;
|
|
106
|
+
display: flex;
|
|
107
|
+
z-index: 3;
|
|
108
|
+
max-width: var(--constraint-15);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.selectable-field-search-input-module__search-mode-menu___Od6Le {
|
|
112
|
+
border-radius: var(--border-radius-6);
|
|
113
|
+
border: 1px solid var(--color-primary);
|
|
114
|
+
margin-top: 2px;
|
|
115
|
+
position: absolute;
|
|
116
|
+
}
|
|
117
|
+
/* imported from validated-input.module.css */
|
|
118
|
+
|
|
119
|
+
.validated-input-module__invalid___380EL {
|
|
120
|
+
/* this needs !important because react-select has a :focus style that
|
|
121
|
+
stops the border colour being set unless the element is blurred */
|
|
122
|
+
border-color: var(--color-error) !important;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.validated-input-module__container___3L2KB {
|
|
126
|
+
display: inline;
|
|
127
|
+
}
|
|
1
128
|
/* imported from label-range.module.css */
|
|
2
129
|
|
|
3
130
|
.label-range-module__label___3Tb0p {
|
|
@@ -134,133 +261,6 @@
|
|
|
134
261
|
border-bottom-left-radius: 0;
|
|
135
262
|
margin-left: 0;
|
|
136
263
|
}
|
|
137
|
-
/* imported from search-input.module.css */
|
|
138
|
-
|
|
139
|
-
.search-input-module__block___1uM-y {
|
|
140
|
-
display: inline-flex;
|
|
141
|
-
flex-direction: row;
|
|
142
|
-
align-items: flex-start;
|
|
143
|
-
width: 100%;
|
|
144
|
-
max-width: 800px;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.search-input-module__container___9u6if {
|
|
148
|
-
position: relative;
|
|
149
|
-
flex-grow: 1;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.search-input-module__input-container___mJnyZ {
|
|
153
|
-
border-color: var(--border-color-for-input);
|
|
154
|
-
height: var(--height-for-input);
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.search-input-module__input-container___mJnyZ > input::placeholder {
|
|
158
|
-
font-weight: var(--font-weight-400);
|
|
159
|
-
font-size: var(--font-size-for-input);
|
|
160
|
-
font-family: var(--font-family);
|
|
161
|
-
color: var(--color-neutral-60);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.search-input-module__input-container___mJnyZ > input {
|
|
165
|
-
padding-right: calc(var(--spacing-xl) * 2);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.search-input-module__input-container-disabled___23jR8 > input {
|
|
169
|
-
border-color: var(--color-neutral);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.search-input-module__input-container-hoverable___1xjqn > input:hover {
|
|
173
|
-
border: var(--border-width-for-input) solid var(--border-color-for-input);
|
|
174
|
-
background-color: var(--background-color-for-input-when-hovered);
|
|
175
|
-
}
|
|
176
|
-
.search-input-module__input-container-hoverable___1xjqn > input:focus {
|
|
177
|
-
box-shadow: var(
|
|
178
|
-
--shadow-for-input-when-focused,
|
|
179
|
-
inset 0 0 0 1px var(--color-primary)
|
|
180
|
-
);
|
|
181
|
-
border-color: var(--border-color-for-input-when-focused);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.search-input-module__input-container-granular___33Pm- {
|
|
185
|
-
border-color: var(--color-primary);
|
|
186
|
-
position: relative;
|
|
187
|
-
right: 3px;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.search-input-module__search-icon-container___cbHQY {
|
|
191
|
-
background-color: transparent;
|
|
192
|
-
border-color: transparent;
|
|
193
|
-
position: absolute;
|
|
194
|
-
right: 9px;
|
|
195
|
-
top: 8px;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.search-input-module__clear-icon-container___3RQvu {
|
|
199
|
-
background-color: transparent;
|
|
200
|
-
border-color: transparent;
|
|
201
|
-
position: absolute;
|
|
202
|
-
right: 36px;
|
|
203
|
-
top: 11px;
|
|
204
|
-
z-index: 2;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.search-input-module__clear-icon-container-granular___1mbin {
|
|
208
|
-
right: 41px;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.search-input-module__search-icon-container-hoverable___1kTwJ {
|
|
212
|
-
cursor: pointer;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.search-input-module__search-icon-container-granular___3fAsR {
|
|
216
|
-
right: 15px;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.search-input-module__hidden___z07GX {
|
|
220
|
-
display: none !important;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.search-input-module__action___1GqGT {
|
|
224
|
-
flex-shrink: 1;
|
|
225
|
-
margin-left: var(--spacing-s);
|
|
226
|
-
}
|
|
227
|
-
/* imported from required-indicator.module.css */
|
|
228
|
-
|
|
229
|
-
.required-indicator-module__colored____YUFm {
|
|
230
|
-
color: var(--color-warning);
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
.required-indicator-module__indicatorAsterisk___3lEdX {
|
|
234
|
-
font-style: normal;
|
|
235
|
-
margin-left: 2px;
|
|
236
|
-
}
|
|
237
|
-
/* imported from selectable-field-search-input.module.css */
|
|
238
|
-
|
|
239
|
-
.selectable-field-search-input-module__container___z2ltR {
|
|
240
|
-
width: 100%;
|
|
241
|
-
position: relative;
|
|
242
|
-
display: flex;
|
|
243
|
-
z-index: 3;
|
|
244
|
-
max-width: var(--constraint-15);
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
.selectable-field-search-input-module__search-mode-menu___Od6Le {
|
|
248
|
-
border-radius: var(--border-radius-6);
|
|
249
|
-
border: 1px solid var(--color-primary);
|
|
250
|
-
margin-top: 2px;
|
|
251
|
-
position: absolute;
|
|
252
|
-
}
|
|
253
|
-
/* imported from validated-input.module.css */
|
|
254
|
-
|
|
255
|
-
.validated-input-module__invalid___380EL {
|
|
256
|
-
/* this needs !important because react-select has a :focus style that
|
|
257
|
-
stops the border colour being set unless the element is blurred */
|
|
258
|
-
border-color: var(--color-error) !important;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.validated-input-module__container___3L2KB {
|
|
262
|
-
display: inline;
|
|
263
|
-
}
|
|
264
264
|
/* imported from button.module.css */
|
|
265
265
|
|
|
266
266
|
/* Generic button */
|
|
@@ -471,7 +471,7 @@
|
|
|
471
471
|
.file-input-module__button___2KypN {
|
|
472
472
|
display: inline-flex;
|
|
473
473
|
background-color: var(--color-surface);
|
|
474
|
-
border: var(--
|
|
474
|
+
border: 1px solid var(--color-neutral);
|
|
475
475
|
box-shadow: none;
|
|
476
476
|
border-radius: var(--border-radius-4);
|
|
477
477
|
color: var(--color-solid);
|
|
@@ -500,6 +500,15 @@
|
|
|
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
|
+
}
|
|
503
512
|
/* imported from divider.module.css */
|
|
504
513
|
|
|
505
514
|
.divider-module__divider___4-vdy {
|
|
@@ -527,15 +536,6 @@
|
|
|
527
536
|
.divider-module__divider-dashed___2Em8A {
|
|
528
537
|
border-style: dashed;
|
|
529
538
|
}
|
|
530
|
-
/* imported from centered-loading-spinner.module.css */
|
|
531
|
-
|
|
532
|
-
.centered-loading-spinner-module__loading-container___3_9-h {
|
|
533
|
-
height: 100%;
|
|
534
|
-
display: flex;
|
|
535
|
-
flex-grow: 1;
|
|
536
|
-
align-items: center;
|
|
537
|
-
justify-content: center;
|
|
538
|
-
}
|
|
539
539
|
/* imported from reference-search.module.css */
|
|
540
540
|
|
|
541
541
|
.reference-search-module__container___3-iK3 {
|
|
@@ -570,7 +570,11 @@
|
|
|
570
570
|
}
|
|
571
571
|
|
|
572
572
|
.stores-search-selector-module__renderLabelContainer___3_PBc div:nth-of-type(2){
|
|
573
|
-
margin-top:
|
|
573
|
+
margin-top: 25px;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
.stores-search-selector-module__renderLabelContainer___3_PBc div:nth-of-type(1){
|
|
577
|
+
margin-top: -4px;
|
|
574
578
|
}/* imported from set-buttons.module.css */
|
|
575
579
|
|
|
576
580
|
.set-buttons-module__topAlign___3AZwc {
|
|
@@ -580,23 +584,23 @@
|
|
|
580
584
|
.set-buttons-module__gap___38Qr0 {
|
|
581
585
|
padding: 20px;
|
|
582
586
|
}
|
|
583
|
-
/* imported from platform-limits-
|
|
587
|
+
/* imported from platform-limits-customers-status.module.css */
|
|
584
588
|
|
|
585
|
-
.platform-limits-
|
|
589
|
+
.platform-limits-customers-status-module__status___3rXYM {
|
|
586
590
|
min-width: max-content;
|
|
587
591
|
}
|
|
588
|
-
/* imported from platform-limits-
|
|
592
|
+
/* imported from platform-limits-customers-combined.module.css */
|
|
589
593
|
|
|
590
|
-
.platform-limits-
|
|
594
|
+
.platform-limits-customers-combined-module__combined___OszDd {
|
|
591
595
|
margin-bottom: var(--spacing-s);
|
|
592
596
|
}
|
|
593
|
-
/* imported from platform-limits-
|
|
597
|
+
/* imported from platform-limits-customer-groups-status.module.css */
|
|
594
598
|
|
|
595
|
-
.platform-limits-
|
|
599
|
+
.platform-limits-customer-groups-status-module__status___6099G {
|
|
596
600
|
min-width: max-content;
|
|
597
601
|
}
|
|
598
|
-
/* imported from platform-limits-
|
|
602
|
+
/* imported from platform-limits-customer-groups-combined.module.css */
|
|
599
603
|
|
|
600
|
-
.platform-limits-
|
|
604
|
+
.platform-limits-customer-groups-combined-module__combined___WjRoI {
|
|
601
605
|
margin-bottom: var(--spacing-s);
|
|
602
606
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/experimental-components",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.2",
|
|
4
4
|
"description": "",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/commercetools/merchant-center-frontend.git",
|
|
8
|
+
"directory": "packages-shared/experimental-components"
|
|
9
|
+
},
|
|
5
10
|
"main": "dist/commercetools-frontend-experimental-components.cjs.js",
|
|
6
11
|
"module": "dist/commercetools-frontend-experimental-components.esm.js",
|
|
7
12
|
"files": [
|
|
@@ -13,18 +18,18 @@
|
|
|
13
18
|
"@babel/core": "^7.22.11",
|
|
14
19
|
"@babel/runtime": "^7.21.0",
|
|
15
20
|
"@babel/runtime-corejs3": "^7.21.0",
|
|
16
|
-
"@commercetools-frontend/actions-global": "
|
|
17
|
-
"@commercetools-frontend/application-components": "
|
|
18
|
-
"@commercetools-frontend/application-shell": "
|
|
19
|
-
"@commercetools-frontend/application-shell-connectors": "
|
|
20
|
-
"@commercetools-frontend/constants": "
|
|
21
|
-
"@commercetools-frontend/l10n": "
|
|
22
|
-
"@commercetools-frontend/sdk": "
|
|
23
|
-
"@commercetools-frontend/sentry": "
|
|
24
|
-
"@commercetools-frontend/ui-kit": "
|
|
25
|
-
"@commercetools-uikit/design-system": "
|
|
26
|
-
"@commercetools-uikit/select-utils": "
|
|
27
|
-
"@commercetools-uikit/utils": "
|
|
21
|
+
"@commercetools-frontend/actions-global": "npm:@commercetools-frontend/actions-global@^22.22.0",
|
|
22
|
+
"@commercetools-frontend/application-components": "npm:@commercetools-frontend/application-components@^22.22.0",
|
|
23
|
+
"@commercetools-frontend/application-shell": "npm:@commercetools-frontend/application-shell@^22.22.0",
|
|
24
|
+
"@commercetools-frontend/application-shell-connectors": "npm:@commercetools-frontend/application-shell-connectors@^22.22.0",
|
|
25
|
+
"@commercetools-frontend/constants": "npm:@commercetools-frontend/constants@^22.22.0",
|
|
26
|
+
"@commercetools-frontend/l10n": "npm:@commercetools-frontend/l10n@^22.22.0",
|
|
27
|
+
"@commercetools-frontend/sdk": "npm:@commercetools-frontend/sdk@^22.22.0",
|
|
28
|
+
"@commercetools-frontend/sentry": "npm:@commercetools-frontend/sentry@^22.22.0",
|
|
29
|
+
"@commercetools-frontend/ui-kit": "npm:@commercetools-frontend/ui-kit@^19.0.0",
|
|
30
|
+
"@commercetools-uikit/design-system": "npm:@commercetools-uikit/design-system@^19.0.0",
|
|
31
|
+
"@commercetools-uikit/select-utils": "npm:@commercetools-uikit/select-utils@^19.0.0",
|
|
32
|
+
"@commercetools-uikit/utils": "npm:@commercetools-uikit/utils@^19.0.0",
|
|
28
33
|
"@emotion/react": "^11.11.1",
|
|
29
34
|
"classnames": "2.5.1",
|
|
30
35
|
"cleave.js": "1.5.10",
|
|
@@ -35,39 +40,40 @@
|
|
|
35
40
|
"lodash": "4.17.21",
|
|
36
41
|
"memoize-one": "6.0.0",
|
|
37
42
|
"moment": "2.30.1",
|
|
38
|
-
"moment-timezone": "0.5.
|
|
43
|
+
"moment-timezone": "0.5.45",
|
|
39
44
|
"omit-deep": "0.3.0",
|
|
40
45
|
"omit-empty-es": "1.2.0",
|
|
41
|
-
"prop-types": "
|
|
46
|
+
"prop-types": "15.8.1",
|
|
47
|
+
"react-beautiful-dnd": "13.1.1",
|
|
42
48
|
"react-textarea-autosize": "8.5.3",
|
|
43
49
|
"reselect": "4.1.8",
|
|
44
50
|
"tiny-invariant": "1.3.1",
|
|
45
51
|
"tiny-warning": "1.0.3",
|
|
46
|
-
"uuid": "9.0.1"
|
|
47
|
-
"react-beautiful-dnd": "13.1.1"
|
|
52
|
+
"uuid": "9.0.1"
|
|
48
53
|
},
|
|
49
54
|
"devDependencies": {
|
|
50
|
-
"@apollo/client": "
|
|
51
|
-
"@commercetools-test-data/channel": "
|
|
52
|
-
"@commercetools-test-data/commons": "
|
|
53
|
-
"@commercetools-test-data/core": "
|
|
54
|
-
"@testing-library/react": "
|
|
55
|
-
"@testing-library/react-hooks": "
|
|
56
|
-
"
|
|
57
|
-
"graphql
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"react
|
|
61
|
-
"react-
|
|
62
|
-
"react-
|
|
63
|
-
"react-
|
|
64
|
-
"react-
|
|
65
|
-
"react-
|
|
66
|
-
"
|
|
55
|
+
"@apollo/client": "3.7.10",
|
|
56
|
+
"@commercetools-test-data/channel": "7.0.0",
|
|
57
|
+
"@commercetools-test-data/commons": "7.0.0",
|
|
58
|
+
"@commercetools-test-data/core": "7.0.0",
|
|
59
|
+
"@testing-library/react": "12.1.5",
|
|
60
|
+
"@testing-library/react-hooks": "8.0.1",
|
|
61
|
+
"formik": "2.4.5",
|
|
62
|
+
"graphql": "16.8.1",
|
|
63
|
+
"graphql-tag": "2.12.6",
|
|
64
|
+
"msw": "1.3.2",
|
|
65
|
+
"react": "17.0.2",
|
|
66
|
+
"react-dom": "17.0.2",
|
|
67
|
+
"react-intl": "6.6.2",
|
|
68
|
+
"react-redux": "7.2.9",
|
|
69
|
+
"react-required-if": "1.0.3",
|
|
70
|
+
"react-router-dom": "5.3.4",
|
|
71
|
+
"react-test-renderer": "17.0.2",
|
|
72
|
+
"redux": "4.2.1",
|
|
67
73
|
"typescript": "5.2.2",
|
|
68
|
-
"xhr-mock": "
|
|
69
|
-
"@commercetools-local/test-data": "1.2.
|
|
70
|
-
"@commercetools-local/test-utils": "1.2.
|
|
74
|
+
"xhr-mock": "2.5.1",
|
|
75
|
+
"@commercetools-local/test-data": "1.2.7",
|
|
76
|
+
"@commercetools-local/test-utils": "1.2.7"
|
|
71
77
|
},
|
|
72
78
|
"peerDependencies": {
|
|
73
79
|
"@apollo/client": "3.x",
|