@commercetools-frontend/experimental-components 0.1.0 → 0.1.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/commercetools-frontend-experimental-components.cjs.dev.js +590 -972
- package/dist/commercetools-frontend-experimental-components.cjs.prod.js +590 -972
- package/dist/commercetools-frontend-experimental-components.esm.js +588 -967
- package/dist/styles.css +0 -295
- package/package.json +17 -17
package/dist/styles.css
CHANGED
|
@@ -228,11 +228,6 @@
|
|
|
228
228
|
.checkbox-field-module__custom-check___3uPdz:hover.checkbox-field-module__disabled___1HVC5 .checkbox-field-module__check-element___3wMNq {
|
|
229
229
|
background-position: 0 0 !important;
|
|
230
230
|
}
|
|
231
|
-
/* imported from expandable-field.module.css */
|
|
232
|
-
|
|
233
|
-
.expandable-field-module__expandable-field___1obGc {
|
|
234
|
-
/* @TODO: Investigate what this is */
|
|
235
|
-
}
|
|
236
231
|
/* imported from label-range.module.css */
|
|
237
232
|
|
|
238
233
|
.label-range-module__label___3Tb0p {
|
|
@@ -1010,296 +1005,6 @@ html[data-theme='default'] {
|
|
|
1010
1005
|
.tooltip-module__container-left___YePF0 {
|
|
1011
1006
|
transform: translateX(-100%) translateX(-10px) translateY(-6px);
|
|
1012
1007
|
}
|
|
1013
|
-
/* imported from localized-field.module.css */
|
|
1014
|
-
|
|
1015
|
-
:root {
|
|
1016
|
-
--width-locale-modal-selector: 80px;
|
|
1017
|
-
|
|
1018
|
-
/* Left navigation */
|
|
1019
|
-
--width-leftNavigation: 64px;
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
|
-
.localized-field-module__fields___2pYgl {
|
|
1023
|
-
width: 100%;
|
|
1024
|
-
float: none;
|
|
1025
|
-
clear: both;
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
|
-
.localized-field-module__fields___2pYgl::after {
|
|
1029
|
-
clear: both;
|
|
1030
|
-
content: ' ';
|
|
1031
|
-
display: block;
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
.localized-field-module__input-text___19OTB {
|
|
1035
|
-
transition: all 0.2s ease;
|
|
1036
|
-
width: calc(100% - 90px);
|
|
1037
|
-
margin: 0;
|
|
1038
|
-
min-height: 36px;
|
|
1039
|
-
overflow: hidden;
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
|
-
.localized-field-module__all-locales___3xnTj {
|
|
1043
|
-
transition: 0.2s ease;
|
|
1044
|
-
background: var(--color-neutral-95);
|
|
1045
|
-
border-radius: 6px;
|
|
1046
|
-
border: 1px var(--color-neutral-60) solid;
|
|
1047
|
-
bottom: 0;
|
|
1048
|
-
cursor: pointer;
|
|
1049
|
-
max-width: var(--width-locale-modal-selector);
|
|
1050
|
-
text-align: center;
|
|
1051
|
-
margin-left: var(--spacing-s);
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1054
|
-
/* States */
|
|
1055
|
-
|
|
1056
|
-
.localized-field-module__all-locales___3xnTj:hover {
|
|
1057
|
-
background: var(--color-primary);
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
.localized-field-module__all-locales___3xnTj:hover .localized-field-module__current-locale___1OAvW,
|
|
1061
|
-
.localized-field-module__all-locales___3xnTj:hover .localized-field-module__available-locales___1LL64 {
|
|
1062
|
-
color: var(--color-surface) !important;
|
|
1063
|
-
}
|
|
1064
|
-
|
|
1065
|
-
.localized-field-module__counter___M4crF {
|
|
1066
|
-
color: var(--color-surface) !important;
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
.localized-field-module__locale___1f9h9 {
|
|
1070
|
-
background: var(--color-neutral-95);
|
|
1071
|
-
color: var(--color-neutral-60);
|
|
1072
|
-
border: 1px var(--color-neutral-60) solid;
|
|
1073
|
-
border-radius: var(--border-radius-4);
|
|
1074
|
-
display: inline-block;
|
|
1075
|
-
font-size: 0.923rem;
|
|
1076
|
-
margin-left: var(--spacing-s);
|
|
1077
|
-
min-width: 70px;
|
|
1078
|
-
padding: var(--spacing-s);
|
|
1079
|
-
text-align: center;
|
|
1080
|
-
text-transform: uppercase;
|
|
1081
|
-
width: auto;
|
|
1082
|
-
bottom: 0;
|
|
1083
|
-
right: 0;
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
.localized-field-module__locale-modal___1hp7U {
|
|
1087
|
-
margin: 0 var(--spacing-s);
|
|
1088
|
-
position: relative;
|
|
1089
|
-
}
|
|
1090
|
-
|
|
1091
|
-
.localized-field-module__text-area___2CkYY ~ .localized-field-module__locale___1f9h9 {
|
|
1092
|
-
bottom: 5px;
|
|
1093
|
-
height: 40px;
|
|
1094
|
-
position: absolute;
|
|
1095
|
-
top: inherit;
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
.localized-field-module__container___4wHqe {
|
|
1099
|
-
position: relative;
|
|
1100
|
-
display: flex;
|
|
1101
|
-
flex-direction: row;
|
|
1102
|
-
align-items: flex-end;
|
|
1103
|
-
width: 100%;
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
.localized-field-module__container-expandable___LX72x {
|
|
1107
|
-
align-items: flex-start;
|
|
1108
|
-
}
|
|
1109
|
-
|
|
1110
|
-
.localized-field-module__container___4wHqe > .localized-field-module__left-cell___YWB1o {
|
|
1111
|
-
flex-grow: 1;
|
|
1112
|
-
}
|
|
1113
|
-
|
|
1114
|
-
.localized-field-module__container___4wHqe > .localized-field-module__left-cell___YWB1o.localized-field-module__set-width___3BitN {
|
|
1115
|
-
flex-grow: 0;
|
|
1116
|
-
width: 50%;
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
|
-
.localized-field-module__container___4wHqe > .localized-field-module__right-cell___1ziDs {
|
|
1120
|
-
flex-grow: 0;
|
|
1121
|
-
}
|
|
1122
|
-
|
|
1123
|
-
.localized-field-module__current-locale___1OAvW {
|
|
1124
|
-
border-bottom: 1px var(--color-neutral-60) dashed;
|
|
1125
|
-
color: var(--color-neutral-60);
|
|
1126
|
-
display: inline-block;
|
|
1127
|
-
padding: 2px 0;
|
|
1128
|
-
transition: all 0.2s linear;
|
|
1129
|
-
width: 100%;
|
|
1130
|
-
}
|
|
1131
|
-
|
|
1132
|
-
.localized-field-module__available-locales___1LL64 {
|
|
1133
|
-
color: var(--color-primary-25);
|
|
1134
|
-
display: inline-block;
|
|
1135
|
-
padding: 2px 0;
|
|
1136
|
-
transition: all 0.2s linear;
|
|
1137
|
-
width: 60px;
|
|
1138
|
-
}
|
|
1139
|
-
|
|
1140
|
-
.localized-field-module__field___193NR {
|
|
1141
|
-
clear: both;
|
|
1142
|
-
position: relative;
|
|
1143
|
-
width: 100%;
|
|
1144
|
-
}
|
|
1145
|
-
|
|
1146
|
-
.localized-field-module__field___193NR::after {
|
|
1147
|
-
clear: both;
|
|
1148
|
-
content: ' ';
|
|
1149
|
-
display: block;
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1152
|
-
/* with Modal */
|
|
1153
|
-
|
|
1154
|
-
.localized-field-module__container-modal___9rZ1j {
|
|
1155
|
-
margin-top: var(--spacing-m);
|
|
1156
|
-
width: 100%;
|
|
1157
|
-
display: flex;
|
|
1158
|
-
flex-direction: row;
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
|
-
.localized-field-module__expandable-field-modal___4P_Bs {
|
|
1162
|
-
float: left;
|
|
1163
|
-
width: 100%;
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1166
|
-
.localized-field-module__textarea-modal___2BZTl {
|
|
1167
|
-
width: 100%;
|
|
1168
|
-
}
|
|
1169
|
-
|
|
1170
|
-
.localized-field-module__edit-modal-form___1JH5t {
|
|
1171
|
-
height: 100%;
|
|
1172
|
-
overflow: auto;
|
|
1173
|
-
padding: 40px;
|
|
1174
|
-
padding-top: 20px;
|
|
1175
|
-
background-color: var(--color-surface);
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
|
-
.localized-field-module__field-modal-search___1pmvd {
|
|
1179
|
-
float: left;
|
|
1180
|
-
width: 100% !important;
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
|
-
.localized-field-module__locale-modal-search___3fdr9 {
|
|
1184
|
-
float: left;
|
|
1185
|
-
width: 100%;
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
.localized-field-module__input-text___19OTB {
|
|
1189
|
-
transition: 0.2s ease;
|
|
1190
|
-
border-radius: 6px;
|
|
1191
|
-
border-style: solid;
|
|
1192
|
-
border-width: 1px;
|
|
1193
|
-
color: var(--color-solid);
|
|
1194
|
-
font-weight: 500;
|
|
1195
|
-
font-size: 1rem;
|
|
1196
|
-
font-family: 'Open Sans', sans-serif !important;
|
|
1197
|
-
padding: 7.5px 10px;
|
|
1198
|
-
outline: none;
|
|
1199
|
-
box-shadow: none;
|
|
1200
|
-
appearance: none;
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
.localized-field-module__input___2wG41 {
|
|
1204
|
-
background-color: var(--color-neutral-95);
|
|
1205
|
-
border-color: var(--color-surface);
|
|
1206
|
-
width: 100%;
|
|
1207
|
-
}
|
|
1208
|
-
|
|
1209
|
-
.localized-field-module__transition-modal-overlay___1Rzbn {
|
|
1210
|
-
display: flex;
|
|
1211
|
-
position: absolute;
|
|
1212
|
-
top: 0;
|
|
1213
|
-
width: 100%;
|
|
1214
|
-
height: 100%;
|
|
1215
|
-
background-color: rgba(32, 62, 72, 0.5);
|
|
1216
|
-
z-index: 2000;
|
|
1217
|
-
}
|
|
1218
|
-
|
|
1219
|
-
.localized-field-module__transition-modal-content___3TZ0q {
|
|
1220
|
-
padding: 0;
|
|
1221
|
-
border-radius: 0;
|
|
1222
|
-
background: var(--color-surface);
|
|
1223
|
-
overflow: auto;
|
|
1224
|
-
-webkit-overflow-scrolling: touch;
|
|
1225
|
-
outline: none;
|
|
1226
|
-
height: 100%; /* hack for safari */
|
|
1227
|
-
transition: left 150ms ease-out;
|
|
1228
|
-
left: 100%;
|
|
1229
|
-
}
|
|
1230
|
-
|
|
1231
|
-
.localized-field-module__second-layer___37wlq {
|
|
1232
|
-
/* Needed for showing a bit of
|
|
1233
|
-
the background when there's an overlay */
|
|
1234
|
-
width: calc(100% - var(--width-leftNavigation));
|
|
1235
|
-
margin-left: auto;
|
|
1236
|
-
}
|
|
1237
|
-
|
|
1238
|
-
.localized-field-module__third-layer___2QOn9 {
|
|
1239
|
-
/* Needed for showing a bit of
|
|
1240
|
-
the background & the first overlay
|
|
1241
|
-
when there's a second layer overlay */
|
|
1242
|
-
width: calc(100% - var(--width-leftNavigation) - var(--width-leftNavigation));
|
|
1243
|
-
margin-left: auto;
|
|
1244
|
-
}
|
|
1245
|
-
|
|
1246
|
-
.localized-field-module__push-right___KDu9r {
|
|
1247
|
-
float: right;
|
|
1248
|
-
}
|
|
1249
|
-
|
|
1250
|
-
.localized-field-module__field-modal___28xSG {
|
|
1251
|
-
/* this is here so the unit tests work */
|
|
1252
|
-
}
|
|
1253
|
-
|
|
1254
|
-
@media screen and (--screen-max-desktop) {
|
|
1255
|
-
.localized-field-module__field-modal___28xSG {
|
|
1256
|
-
width: 80%;
|
|
1257
|
-
}
|
|
1258
|
-
}
|
|
1259
|
-
|
|
1260
|
-
@media screen and (--screen-min-desktop) {
|
|
1261
|
-
.localized-field-module__field-modal___28xSG {
|
|
1262
|
-
clear: none;
|
|
1263
|
-
float: left;
|
|
1264
|
-
width: 50%;
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1267
|
-
.localized-field-module__field-modal___28xSG:nth-of-type(2n + 1) {
|
|
1268
|
-
clear: both;
|
|
1269
|
-
}
|
|
1270
|
-
}
|
|
1271
|
-
|
|
1272
|
-
/* Bigger screens */
|
|
1273
|
-
|
|
1274
|
-
@media screen and (--screen-min-giantdesktop) {
|
|
1275
|
-
.localized-field-module__field-modal___28xSG {
|
|
1276
|
-
width: 33.33%;
|
|
1277
|
-
}
|
|
1278
|
-
|
|
1279
|
-
.localized-field-module__field-modal___28xSG:nth-of-type(2n + 1),
|
|
1280
|
-
.localized-field-module__field-modal___28xSG:first-of-type {
|
|
1281
|
-
clear: none;
|
|
1282
|
-
}
|
|
1283
|
-
|
|
1284
|
-
.localized-field-module__field-modal___28xSG:nth-of-type(3n + 1) {
|
|
1285
|
-
clear: both;
|
|
1286
|
-
}
|
|
1287
|
-
}
|
|
1288
|
-
|
|
1289
|
-
.localized-field-module__warning___HguI1 {
|
|
1290
|
-
padding: 6px;
|
|
1291
|
-
border-radius: 5px;
|
|
1292
|
-
min-width: 100px;
|
|
1293
|
-
vertical-align: middle;
|
|
1294
|
-
font-size: 0.857rem;
|
|
1295
|
-
background-color: var(--color-warning-95);
|
|
1296
|
-
border: solid 1px var(--color-warning);
|
|
1297
|
-
box-shadow: none;
|
|
1298
|
-
}
|
|
1299
|
-
|
|
1300
|
-
.localized-field-module__container-tooltip___2h2P4 {
|
|
1301
|
-
align-self: flex-start;
|
|
1302
|
-
}
|
|
1303
1008
|
/* imported from button-close.module.css */
|
|
1304
1009
|
|
|
1305
1010
|
.button-close-module__button-close-container___1uz2S {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/experimental-components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@babel/runtime": "^7.19.0",
|
|
17
17
|
"@babel/runtime-corejs3": "^7.19.0",
|
|
18
|
-
"@commercetools-frontend/actions-global": "21.
|
|
19
|
-
"@commercetools-frontend/application-components": "21.
|
|
20
|
-
"@commercetools-frontend/application-shell": "21.
|
|
21
|
-
"@commercetools-frontend/application-shell-connectors": "21.
|
|
22
|
-
"@commercetools-frontend/constants": "21.
|
|
23
|
-
"@commercetools-frontend/l10n": "21.
|
|
24
|
-
"@commercetools-frontend/sdk": "21.
|
|
25
|
-
"@commercetools-frontend/sentry": "21.
|
|
26
|
-
"@commercetools-frontend/ui-kit": "15.
|
|
27
|
-
"@commercetools-uikit/select-utils": "15.
|
|
28
|
-
"@commercetools-uikit/utils": "15.
|
|
18
|
+
"@commercetools-frontend/actions-global": "21.23.2",
|
|
19
|
+
"@commercetools-frontend/application-components": "21.23.2",
|
|
20
|
+
"@commercetools-frontend/application-shell": "21.23.2",
|
|
21
|
+
"@commercetools-frontend/application-shell-connectors": "21.23.2",
|
|
22
|
+
"@commercetools-frontend/constants": "21.23.2",
|
|
23
|
+
"@commercetools-frontend/l10n": "21.23.2",
|
|
24
|
+
"@commercetools-frontend/sdk": "21.23.2",
|
|
25
|
+
"@commercetools-frontend/sentry": "21.23.2",
|
|
26
|
+
"@commercetools-frontend/ui-kit": "15.9.0",
|
|
27
|
+
"@commercetools-uikit/select-utils": "15.9.0",
|
|
28
|
+
"@commercetools-uikit/utils": "15.9.0",
|
|
29
29
|
"@emotion/react": "11.10.5",
|
|
30
30
|
"classnames": "2.3.2",
|
|
31
31
|
"cleave.js": "1.5.10",
|
|
@@ -71,17 +71,17 @@
|
|
|
71
71
|
"uuid": "8.3.2"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@apollo/client": "3.7.
|
|
74
|
+
"@apollo/client": "3.7.4",
|
|
75
75
|
"@commercetools-local/test-data": "workspace:*",
|
|
76
76
|
"@commercetools-local/test-utils": "workspace:*",
|
|
77
|
-
"@commercetools-test-data/channel": "4.
|
|
78
|
-
"@commercetools-test-data/commons": "4.
|
|
79
|
-
"@commercetools-test-data/core": "4.
|
|
77
|
+
"@commercetools-test-data/channel": "4.3.0",
|
|
78
|
+
"@commercetools-test-data/commons": "4.3.0",
|
|
79
|
+
"@commercetools-test-data/core": "4.3.0",
|
|
80
80
|
"@testing-library/react": "12.1.5",
|
|
81
81
|
"@testing-library/react-hooks": "8.0.1",
|
|
82
82
|
"enzyme": "3.11.0",
|
|
83
83
|
"graphql-tag": "2.12.6",
|
|
84
|
-
"msw": "0.49.
|
|
84
|
+
"msw": "0.49.3",
|
|
85
85
|
"react": "17.0.2",
|
|
86
86
|
"react-intl": "5.25.1",
|
|
87
87
|
"react-redux": "7.2.9",
|