@commercetools-frontend/experimental-components 5.0.0 → 5.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,7 +1,5 @@
1
1
  /* imported from search-input.module.css */
2
2
 
3
- /* @redesign cleanup */
4
-
5
3
  .search-input-module__block___1uM-y {
6
4
  display: inline-flex;
7
5
  flex-direction: row;
@@ -15,20 +13,12 @@
15
13
  flex-grow: 1;
16
14
  }
17
15
 
18
- :where(html[data-theme='default']) .search-input-module__input-container___mJnyZ {
19
- height: var(--spacing-xl);
20
- }
21
-
22
- :where(html[data-theme='default']) .search-input-module__input-container___mJnyZ {
23
- border-color: var(--color-neutral-60);
24
- }
25
-
26
- :where(html[data-theme='test']) .search-input-module__input-container___mJnyZ {
16
+ .search-input-module__input-container___mJnyZ {
27
17
  border-color: var(--border-color-for-input);
28
18
  height: var(--height-for-input);
29
19
  }
30
20
 
31
- :where(html[data-theme='test']) .search-input-module__input-container___mJnyZ > input::placeholder {
21
+ .search-input-module__input-container___mJnyZ > input::placeholder {
32
22
  font-weight: var(--font-weight-400);
33
23
  font-size: var(--font-size-for-input);
34
24
  font-family: var(--font-family);
@@ -43,14 +33,11 @@
43
33
  border-color: var(--color-neutral);
44
34
  }
45
35
 
46
- :where(html[data-theme='default']) .search-input-module__input-container-hoverable___1xjqn > input:hover {
47
- border-color: var(--color-primary);
48
- }
49
- :where(html[data-theme='test']) .search-input-module__input-container-hoverable___1xjqn > input:hover {
36
+ .search-input-module__input-container-hoverable___1xjqn > input:hover {
50
37
  border: var(--border-width-for-input) solid var(--border-color-for-input);
51
38
  background-color: var(--background-color-for-input-when-hovered);
52
39
  }
53
- :where(html[data-theme='test']) .search-input-module__input-container-hoverable___1xjqn > input:focus {
40
+ .search-input-module__input-container-hoverable___1xjqn > input:focus {
54
41
  box-shadow: var(
55
42
  --shadow-for-input-when-focused,
56
43
  inset 0 0 0 1px var(--color-primary)
@@ -58,24 +45,10 @@
58
45
  border-color: var(--border-color-for-input-when-focused);
59
46
  }
60
47
 
61
- :where(html[data-theme='default']) .search-input-module__input-container-granular___33Pm- {
62
- right: 6px;
63
- }
64
- :where(html[data-theme='test']) .search-input-module__input-container-granular___33Pm- {
65
- right: 3px;
66
- }
67
-
68
48
  .search-input-module__input-container-granular___33Pm- {
69
49
  border-color: var(--color-primary);
70
50
  position: relative;
71
- }
72
-
73
- :where(html[data-theme='default']) .search-input-module__search-icon-container___cbHQY {
74
- top: 5px;
75
- }
76
-
77
- :where(html[data-theme='test']) .search-input-module__search-icon-container___cbHQY {
78
- top: 8px;
51
+ right: 3px;
79
52
  }
80
53
 
81
54
  .search-input-module__search-icon-container___cbHQY {
@@ -83,18 +56,10 @@
83
56
  border-color: transparent;
84
57
  position: absolute;
85
58
  right: 9px;
86
- }
87
-
88
- :where(html[data-theme='default']) .search-input-module__clear-icon-container___3RQvu {
89
- background-color: transparent;
90
- border-color: transparent;
91
- position: absolute;
92
- right: 36px;
93
59
  top: 8px;
94
- z-index: 2;
95
60
  }
96
61
 
97
- :where(html[data-theme='test']) .search-input-module__clear-icon-container___3RQvu {
62
+ .search-input-module__clear-icon-container___3RQvu {
98
63
  background-color: transparent;
99
64
  border-color: transparent;
100
65
  position: absolute;
@@ -135,17 +100,7 @@
135
100
  }
136
101
  /* imported from selectable-field-search-input.module.css */
137
102
 
138
- /* @redesign cleanup */
139
-
140
- :where(html[data-theme='default']) .selectable-field-search-input-module__container___z2ltR {
141
- width: 100%;
142
- position: relative;
143
- display: flex;
144
- z-index: 3;
145
- max-width: 800px;
146
- }
147
-
148
- :where(html[data-theme='test']) .selectable-field-search-input-module__container___z2ltR {
103
+ .selectable-field-search-input-module__container___z2ltR {
149
104
  width: 100%;
150
105
  position: relative;
151
106
  display: flex;
@@ -240,11 +195,7 @@
240
195
  width: 100%;
241
196
  }
242
197
 
243
- :where(html[data-theme='default']) .throttled-field-module__size___324jx {
244
- height: inherit;
245
- }
246
-
247
- :where(html[data-theme='test']) .throttled-field-module__size___324jx {
198
+ .throttled-field-module__size___324jx {
248
199
  min-height: var(--height-for-input);
249
200
  }
250
201
 
@@ -520,33 +471,21 @@
520
471
  .file-input-module__button___2KypN {
521
472
  display: inline-flex;
522
473
  background-color: var(--color-surface);
523
- color: var(--color-solid);
524
- font-size: 1rem;
525
- align-items: center;
526
- transition: background-color var(--transition-linear-80ms);
527
- box-shadow: var(--shadow-7);
528
- padding: 0 var(--spacing-m);
529
- height: var(--big-button-height);
530
- border-radius: var(--border-radius-6);
531
- }
532
-
533
- :where(html[data-theme='test']) .file-input-module__button___2KypN {
534
474
  border: var(--border-for-button-as-secondary);
535
475
  box-shadow: none;
536
476
  border-radius: var(--border-radius-4);
477
+ color: var(--color-solid);
537
478
  height: var(--height-for-button-as-big);
538
- font-size: 14px;
539
- font-weight: 500;
479
+ font-size: var(--font-size-20);
480
+ font-weight: var(--font-weight-500);
481
+ align-items: center;
482
+ transition: background-color var(--transition-linear-80ms);
483
+ padding: 0 var(--spacing-m);
540
484
  }
541
485
 
542
486
  .file-input-module__button___2KypN:hover,
543
487
  .file-input-module__button___2KypN:focus {
544
488
  cursor: pointer;
545
- box-shadow: var(--shadow-8);
546
- }
547
-
548
- :where(html[data-theme='test']) .file-input-module__button___2KypN:hover,
549
- :where(html[data-theme='test']) .file-input-module__button___2KypN:focus {
550
489
  background-color: var(--background-color-for-button-when-hovered);
551
490
  box-shadow: none;
552
491
  }
@@ -572,21 +511,13 @@
572
511
  }
573
512
  /* imported from divider.module.css */
574
513
 
575
- html[data-theme='test'] {
576
- --border-top-color-for-divider-size-m: var(--color-neutral-90);
577
- --border-top-color-for-divider-size-s: var(--color-neutral-90);
578
- }
579
- html[data-theme='default'] {
580
- --border-top-color-for-divider-size-m: var(--color-neutral-60);
581
- --border-top-color-for-divider-size-s: var(--color-neutral);
582
- }
583
-
584
514
  .divider-module__divider___4-vdy {
585
515
  box-sizing: border-box;
586
516
  width: 100%;
587
517
  margin: 0;
588
518
  border: 0;
589
519
  border-top-width: 1px;
520
+ border-top-color: var(--color-neutral-90);
590
521
  }
591
522
 
592
523
  .divider-module__divider-solid___3Fs4q {
@@ -596,14 +527,6 @@ html[data-theme='default'] {
596
527
  .divider-module__divider-dashed___2Em8A {
597
528
  border-style: dashed;
598
529
  }
599
-
600
- .divider-module__size_s___3aoIW {
601
- border-top-color: var(--border-top-color-for-divider-size-s);
602
- }
603
-
604
- .divider-module__size_m___LM34Z {
605
- border-top-color: var(--border-top-color-for-divider-size-m);
606
- }
607
530
  /* imported from reference-search.module.css */
608
531
 
609
532
  .reference-search-module__container___3-iK3 {
@@ -630,11 +553,7 @@ html[data-theme='default'] {
630
553
  padding-top: var(--spacing-xs);
631
554
  }
632
555
 
633
- :where(html[data-theme='default']) .set-buttons-module__gap___38Qr0 {
634
- padding: 12px;
635
- }
636
-
637
- :where(html[data-theme='test']) .set-buttons-module__gap___38Qr0 {
556
+ .set-buttons-module__gap___38Qr0 {
638
557
  padding: 20px;
639
558
  }
640
559
  /* imported from platform-limits-customers-status.module.css */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/experimental-components",
3
- "version": "5.0.0",
3
+ "version": "5.0.2",
4
4
  "description": "",
5
5
  "main": "dist/commercetools-frontend-experimental-components.cjs.js",
6
6
  "module": "dist/commercetools-frontend-experimental-components.esm.js",
@@ -13,14 +13,14 @@
13
13
  "@babel/core": "^7.21.0",
14
14
  "@babel/runtime-corejs3": "^7.21.0",
15
15
  "@babel/runtime": "^7.21.0",
16
- "@commercetools-frontend/actions-global": "^22.0.0",
17
- "@commercetools-frontend/application-components": "^22.0.0",
18
- "@commercetools-frontend/application-shell-connectors": "^22.0.0",
19
- "@commercetools-frontend/application-shell": "^22.0.0",
20
- "@commercetools-frontend/constants": "^22.0.0",
21
- "@commercetools-frontend/l10n": "^22.0.0",
22
- "@commercetools-frontend/sdk": "^22.0.0",
23
- "@commercetools-frontend/sentry": "^22.0.0",
16
+ "@commercetools-frontend/actions-global": "^22.3.0",
17
+ "@commercetools-frontend/application-components": "^22.3.0",
18
+ "@commercetools-frontend/application-shell-connectors": "^22.3.0",
19
+ "@commercetools-frontend/application-shell": "^22.3.0",
20
+ "@commercetools-frontend/constants": "^22.3.0",
21
+ "@commercetools-frontend/l10n": "^22.3.0",
22
+ "@commercetools-frontend/sdk": "^22.3.0",
23
+ "@commercetools-frontend/sentry": "^22.3.0",
24
24
  "@commercetools-frontend/ui-kit": "^16.0.0",
25
25
  "@commercetools-uikit/design-system": "^16.0.0",
26
26
  "@commercetools-uikit/select-utils": "^16.0.0",
@@ -31,7 +31,7 @@
31
31
  "common-tags": "1.8.2",
32
32
  "debounce-promise": "3.1.2",
33
33
  "fast-equals": "4.0.3",
34
- "formik": "2.2.9",
34
+ "formik": "2.4.2",
35
35
  "hoist-non-react-statics": "3.3.2",
36
36
  "lodash": "4.17.21",
37
37
  "memoize-one": "6.0.0",
@@ -44,6 +44,7 @@
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",
47
48
  "uuid": "9.0.0"
48
49
  },
49
50
  "devDependencies": {
@@ -65,7 +66,7 @@
65
66
  "react-test-renderer": "^17.0.2",
66
67
  "react": "^17.0.2",
67
68
  "redux": "^4.2.1",
68
- "typescript": "^4.9.5",
69
+ "typescript": "^5.1.3",
69
70
  "xhr-mock": "^2.5.1",
70
71
  "@commercetools-local/test-data": "1.1.0",
71
72
  "@commercetools-local/test-utils": "1.1.0"