@imposium-hub/components 2.15.0-2 → 2.16.0-0

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.
Files changed (100) hide show
  1. package/dist/cjs/components/app-wrapper/AppWrapper.d.ts +0 -1
  2. package/dist/cjs/components/app-wrapper/AppWrapper.js +1 -1
  3. package/dist/cjs/components/app-wrapper/AppWrapper.js.map +1 -1
  4. package/dist/cjs/components/asset-details/AssetDetails.js +1 -1
  5. package/dist/cjs/components/assets/AssetsTableComplexTagCell.js +1 -1
  6. package/dist/cjs/components/assets/AssetsTableTagsPivot.js +1 -1
  7. package/dist/cjs/components/assets/AssetsTypeIcon.js +2 -0
  8. package/dist/cjs/components/assets/AssetsTypeIcon.js.map +1 -1
  9. package/dist/cjs/components/assets/AssetsUploadMenu.js +1 -1
  10. package/dist/cjs/components/change-report/ChangeReportTree.js +65 -10
  11. package/dist/cjs/components/change-report/ChangeReportTree.js.map +1 -1
  12. package/dist/cjs/components/controlled-list/ControlledList.stories.js +1 -1
  13. package/dist/cjs/components/number-field/NumberField.d.ts +2 -2
  14. package/dist/cjs/components/number-field/NumberField.js +7 -4
  15. package/dist/cjs/components/number-field/NumberField.js.map +1 -1
  16. package/dist/cjs/components/publish-wizard/PublishWizard.js +36 -38
  17. package/dist/cjs/components/publish-wizard/PublishWizard.js.map +1 -1
  18. package/dist/cjs/components/tag/Tag.js.map +1 -1
  19. package/dist/cjs/components/tag/Tag.test.js.map +1 -1
  20. package/dist/cjs/constants/copy.d.ts +1 -0
  21. package/dist/cjs/constants/copy.js +3 -2
  22. package/dist/cjs/constants/copy.js.map +1 -1
  23. package/dist/cjs/constants/icons.d.ts +5 -0
  24. package/dist/cjs/constants/icons.js +12 -2
  25. package/dist/cjs/constants/icons.js.map +1 -1
  26. package/dist/cjs/constants/snippets.d.ts +2 -0
  27. package/dist/cjs/index.d.ts +1 -1
  28. package/dist/cjs/index.js +1 -1
  29. package/dist/cjs/redux/actions/publish.d.ts +1 -1
  30. package/dist/cjs/redux/actions/publish.js +2 -2
  31. package/dist/cjs/redux/actions/publish.js.map +1 -1
  32. package/dist/esm/components/app-wrapper/AppWrapper.d.ts +0 -1
  33. package/dist/esm/components/app-wrapper/AppWrapper.js +1 -1
  34. package/dist/esm/components/app-wrapper/AppWrapper.js.map +1 -1
  35. package/dist/esm/components/asset-details/AssetDetails.js +1 -1
  36. package/dist/esm/components/assets/AssetsTableComplexTagCell.js +1 -1
  37. package/dist/esm/components/assets/AssetsTableTagsPivot.js +1 -1
  38. package/dist/esm/components/assets/AssetsTypeIcon.js +2 -0
  39. package/dist/esm/components/assets/AssetsTypeIcon.js.map +1 -1
  40. package/dist/esm/components/assets/AssetsUploadMenu.js +1 -1
  41. package/dist/esm/components/change-report/ChangeReportTree.js +64 -10
  42. package/dist/esm/components/change-report/ChangeReportTree.js.map +1 -1
  43. package/dist/esm/components/controlled-list/ControlledList.stories.js +1 -1
  44. package/dist/esm/components/number-field/NumberField.d.ts +2 -2
  45. package/dist/esm/components/number-field/NumberField.js +5 -4
  46. package/dist/esm/components/number-field/NumberField.js.map +1 -1
  47. package/dist/esm/components/publish-wizard/PublishWizard.js +36 -38
  48. package/dist/esm/components/publish-wizard/PublishWizard.js.map +1 -1
  49. package/dist/esm/components/tag/Tag.js.map +1 -1
  50. package/dist/esm/components/tag/Tag.test.js.map +1 -1
  51. package/dist/esm/constants/copy.d.ts +1 -0
  52. package/dist/esm/constants/copy.js +3 -2
  53. package/dist/esm/constants/copy.js.map +1 -1
  54. package/dist/esm/constants/icons.d.ts +5 -0
  55. package/dist/esm/constants/icons.js +10 -0
  56. package/dist/esm/constants/icons.js.map +1 -1
  57. package/dist/esm/constants/snippets.d.ts +2 -0
  58. package/dist/esm/index.d.ts +1 -1
  59. package/dist/esm/index.js +1 -1
  60. package/dist/esm/redux/actions/publish.d.ts +1 -1
  61. package/dist/esm/redux/actions/publish.js +2 -2
  62. package/dist/esm/redux/actions/publish.js.map +1 -1
  63. package/dist/styles.css +54 -10
  64. package/dist/styles.less +65 -13
  65. package/less/components/change-report.less +50 -9
  66. package/less/components/publish-wizard.less +15 -4
  67. package/package.json +5 -1
  68. package/src/components/advanced-number-field/AdvancedNumberField.test.tsx +704 -0
  69. package/src/components/anchor-field/AnchorField.test.tsx +130 -0
  70. package/src/components/app-wrapper/AppWrapper.tsx +1 -6
  71. package/src/components/asset-details/AssetDetails.test.tsx +494 -0
  72. package/src/components/asset-details/AssetDetails.tsx +1 -1
  73. package/src/components/assets/AssetField.test.tsx +439 -0
  74. package/src/components/assets/AssetsTableAssetIdCell.test.tsx +134 -0
  75. package/src/components/assets/AssetsTableAssetIdFilter.test.tsx +95 -0
  76. package/src/components/assets/AssetsTableComplexTagCell.test.tsx +159 -0
  77. package/src/components/assets/AssetsTableComplexTagCell.tsx +1 -1
  78. package/src/components/assets/AssetsTableDateCell.test.tsx +106 -0
  79. package/src/components/assets/AssetsTableTagsPivot.tsx +1 -1
  80. package/src/components/assets/AssetsTypeIcon.tsx +2 -0
  81. package/src/components/assets/AssetsUploadMenu.tsx +1 -1
  82. package/src/components/change-report/ChangeReportTree.tsx +104 -16
  83. package/src/components/controlled-list/ControlledList.stories.tsx +1 -1
  84. package/src/components/number-field/NumberField.test.tsx +383 -0
  85. package/src/components/number-field/NumberField.tsx +15 -9
  86. package/src/components/publish-wizard/PublishWizard.tsx +52 -53
  87. package/src/components/text-field/TextField.test.tsx +988 -0
  88. package/src/constants/copy.ts +3 -2
  89. package/src/constants/icons.tsx +10 -0
  90. package/src/constants/snippets.ts +2 -0
  91. package/src/index.ts +1 -1
  92. package/src/redux/actions/publish.ts +7 -2
  93. package/src/test/setup.ts +91 -0
  94. package/src/test/utils.tsx +44 -0
  95. package/tsconfig.eslint.json +8 -0
  96. package/tsconfig.json +1 -1
  97. package/vitest.config.ts +31 -0
  98. package/src/components/service-icon/ServiceIcon.test.tsx +0 -0
  99. /package/src/components/{Tag → tag}/Tag.test.tsx +0 -0
  100. /package/src/components/{Tag → tag}/Tag.tsx +0 -0
@@ -69,10 +69,10 @@ export const cancelPublish = (api, storyId) => {
69
69
  });
70
70
  };
71
71
  };
72
- export const publishVersion = (api, storyId, creativeIds) => {
72
+ export const publishVersion = (api, storyId, message, creativeIds) => {
73
73
  return (dispatch) => {
74
74
  return new Promise((resolve, reject) => {
75
- api.runPublish(storyId, '', creativeIds)
75
+ api.runPublish(storyId, message || '', creativeIds)
76
76
  .then((d) => {
77
77
  dispatch(getStoryPublishStatus(api, storyId))
78
78
  .then()
@@ -1 +1 @@
1
- {"version":3,"file":"publish.js","sourceRoot":"","sources":["../../../../src/redux/actions/publish.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,sBAAsB,CAAC;AAG7C,MAAM,OAAO,GAAQ;IACjB,oBAAoB,EAAE,8BAA8B;IACpD,qBAAqB,EAAE,+BAA+B;CACzD,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,GAAiB,EAAE,OAAe,EAAO,EAAE;IAC7E,OAAO,CAAC,QAAQ,EAAE,EAAE;QAChB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YACnC,GAAG,CAAC,cAAc,CAAC,OAAO,CAAC;iBACtB,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE;gBAChB,IAAI,SAAS,EAAE,CAAC;oBACZ,IAAI,SAAS,CAAC,MAAM,KAAK,QAAQ,EAAE,CAAC;wBAChC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;oBAC5B,CAAC;oBAED,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,qBAAqB,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC;oBAEnE,IAAI,SAAS,CAAC,UAAU,EAAE,CAAC;wBACvB,MAAM,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC;wBAC/B,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC;6BACb,IAAI,CAAC,GAAG,E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C,oBAAoB,EAAE,CAAC,CAAC;oBACjD,MAAM,CAAC,KAAK,CAAC,CAAC;gBAClB,CAAC,CAAC,CAAC;YACX,CAAC,CAAC;iBACD,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE;gBACT,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAAC;gBACjD,IAAI,CAAC,EAAE,CAAC;oBACJ,MAAM,CAAC,CAAC,CAAC,CAAC;gBACd,CAAC;qBAAM,CAAC;oBACJ,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;gBACxC,CAAC;YACL,CAAC,CAAC,CAAC;QACX,CAAC,CAAC,CAAC;IACP,CAAC,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,GAAiB,EAAE,EAAE;IACzD,OAAO,CAAC,QAAQ,EAAE,EAAE;QAChB,IAAI,GAAG,CAAC,gBAAgB,EAAE,CAAC;YACvB,GAAG,CAAC,gBAAgB,EAAE,CAAC;YACvB,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAAC;QACrD,CAAC;IACL,CAAC,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
package/dist/styles.css CHANGED
@@ -2463,13 +2463,23 @@ body a {
2463
2463
  height: 100%;
2464
2464
  padding-top: 30px;
2465
2465
  box-sizing: border-box;
2466
+ overflow: hidden;
2466
2467
  }
2467
- .publish-wizard > div:first-of-type {
2468
+ .publish-wizard > div:last-of-type {
2468
2469
  flex: 1;
2470
+ display: flex;
2471
+ flex-direction: column;
2472
+ overflow: hidden;
2473
+ }
2474
+ .publish-wizard .publish-wizard-step--review {
2475
+ flex: 1;
2476
+ overflow-y: auto;
2477
+ min-height: 0;
2469
2478
  }
2470
2479
  .publish-wizard .lower-buttons {
2471
- margin-top: auto;
2480
+ flex-shrink: 0;
2472
2481
  padding-bottom: 5px;
2482
+ padding-top: 5px;
2473
2483
  width: 100%;
2474
2484
  text-align: center;
2475
2485
  }
@@ -2667,7 +2677,7 @@ body a {
2667
2677
  padding: 10px;
2668
2678
  }
2669
2679
  .change-report-section {
2670
- margin-bottom: 8px;
2680
+ margin-bottom: 6px;
2671
2681
  }
2672
2682
  .change-report-section-heading {
2673
2683
  text-transform: uppercase;
@@ -2675,19 +2685,16 @@ body a {
2675
2685
  font-weight: bold;
2676
2686
  color: #B9B8B8;
2677
2687
  letter-spacing: 0.05em;
2678
- padding: 4px 0 2px;
2688
+ padding: 3px 0 2px;
2679
2689
  border-bottom: 1px solid #5f5f5f;
2680
- margin-bottom: 4px;
2690
+ margin-bottom: 3px;
2681
2691
  }
2682
2692
  .change-report-node-row {
2683
2693
  display: flex;
2684
2694
  align-items: center;
2685
- padding: 2px 0;
2695
+ padding: 1px 0;
2686
2696
  border-radius: 3px;
2687
2697
  }
2688
- .change-report-node-row:hover {
2689
- background: #353535;
2690
- }
2691
2698
  .change-report-toggle {
2692
2699
  display: inline-block;
2693
2700
  width: 16px;
@@ -2706,13 +2713,17 @@ body a {
2706
2713
  flex-shrink: 0;
2707
2714
  }
2708
2715
  .change-report-status {
2709
- display: inline-block;
2716
+ display: inline-flex;
2717
+ align-items: center;
2718
+ justify-content: center;
2710
2719
  font-size: 11px;
2711
2720
  font-weight: bold;
2712
2721
  border-radius: 3px;
2713
2722
  padding: 2px 6px;
2714
2723
  margin-right: 6px;
2715
2724
  flex-shrink: 0;
2725
+ text-align: center;
2726
+ line-height: 1;
2716
2727
  }
2717
2728
  .change-report-status--added {
2718
2729
  background: rgba(86, 176, 94, 0.2);
@@ -2730,6 +2741,16 @@ body a {
2730
2741
  background: rgba(45, 140, 235, 0.2);
2731
2742
  color: #2d8ceb;
2732
2743
  }
2744
+ .change-report-layer-icon {
2745
+ display: inline-flex;
2746
+ align-items: center;
2747
+ justify-content: center;
2748
+ width: 18px;
2749
+ margin-right: 4px;
2750
+ font-size: 11px;
2751
+ color: #B9B8B8;
2752
+ flex-shrink: 0;
2753
+ }
2733
2754
  .change-report-label {
2734
2755
  font-size: 12px;
2735
2756
  flex-shrink: 0;
@@ -2752,6 +2773,29 @@ body a {
2752
2773
  .change-report-value-arrow {
2753
2774
  color: #5f5f5f;
2754
2775
  }
2776
+ .change-report-color-chip-wrapper {
2777
+ display: inline-block;
2778
+ position: relative;
2779
+ width: 12px;
2780
+ height: 12px;
2781
+ border-radius: 2px;
2782
+ border: 1px solid rgba(255, 255, 255, 0.2);
2783
+ margin-right: 4px;
2784
+ vertical-align: middle;
2785
+ overflow: hidden;
2786
+ }
2787
+ .change-report-color-chip-checkerboard {
2788
+ position: absolute;
2789
+ inset: 0;
2790
+ background-image: linear-gradient(45deg, #808080 25%, transparent 25%), linear-gradient(-45deg, #808080 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #808080 75%), linear-gradient(-45deg, transparent 75%, #808080 75%);
2791
+ background-size: 6px 6px;
2792
+ background-position: 0 0, 0 3px, 3px -3px, -3px 0;
2793
+ background-color: #fff;
2794
+ }
2795
+ .change-report-color-chip-color {
2796
+ position: absolute;
2797
+ inset: 0;
2798
+ }
2755
2799
  .section {
2756
2800
  position: absolute;
2757
2801
  width: 100%;
package/dist/styles.less CHANGED
@@ -2401,14 +2401,25 @@ body{
2401
2401
  height: 100%;
2402
2402
  padding-top: 30px;
2403
2403
  box-sizing: border-box;
2404
-
2405
- > div:first-of-type {
2404
+ overflow: hidden;
2405
+
2406
+ > div:last-of-type {
2407
+ flex: 1;
2408
+ display: flex;
2409
+ flex-direction: column;
2410
+ overflow: hidden;
2411
+ }
2412
+
2413
+ .publish-wizard-step--review {
2406
2414
  flex: 1;
2415
+ overflow-y: auto;
2416
+ min-height: 0;
2407
2417
  }
2408
-
2418
+
2409
2419
  .lower-buttons {
2410
- margin-top: auto;
2420
+ flex-shrink: 0;
2411
2421
  padding-bottom: 5px;
2422
+ padding-top: 5px;
2412
2423
  width: 100%;
2413
2424
  text-align: center;
2414
2425
  }
@@ -2649,7 +2660,7 @@ body{
2649
2660
  }
2650
2661
 
2651
2662
  .change-report-section {
2652
- margin-bottom: 8px;
2663
+ margin-bottom: 6px;
2653
2664
 
2654
2665
  &-heading {
2655
2666
  text-transform: uppercase;
@@ -2657,9 +2668,9 @@ body{
2657
2668
  font-weight: bold;
2658
2669
  color: @secondary;
2659
2670
  letter-spacing: 0.05em;
2660
- padding: 4px 0 2px;
2671
+ padding: 3px 0 2px;
2661
2672
  border-bottom: 1px solid @backgroundHighlight;
2662
- margin-bottom: 4px;
2673
+ margin-bottom: 3px;
2663
2674
  }
2664
2675
  }
2665
2676
 
@@ -2667,12 +2678,8 @@ body{
2667
2678
  &-row {
2668
2679
  display: flex;
2669
2680
  align-items: center;
2670
- padding: 2px 0;
2681
+ padding: 1px 0;
2671
2682
  border-radius: 3px;
2672
-
2673
- &:hover {
2674
- background: @backgroundLight;
2675
- }
2676
2683
  }
2677
2684
  }
2678
2685
 
@@ -2697,13 +2704,17 @@ body{
2697
2704
  }
2698
2705
 
2699
2706
  .change-report-status {
2700
- display: inline-block;
2707
+ display: inline-flex;
2708
+ align-items: center;
2709
+ justify-content: center;
2701
2710
  font-size: 11px;
2702
2711
  font-weight: bold;
2703
2712
  border-radius: 3px;
2704
2713
  padding: 2px 6px;
2705
2714
  margin-right: 6px;
2706
2715
  flex-shrink: 0;
2716
+ text-align: center;
2717
+ line-height: 1;
2707
2718
 
2708
2719
  &--added {
2709
2720
  background: rgba(86, 176, 94, 0.2);
@@ -2726,6 +2737,17 @@ body{
2726
2737
  }
2727
2738
  }
2728
2739
 
2740
+ .change-report-layer-icon {
2741
+ display: inline-flex;
2742
+ align-items: center;
2743
+ justify-content: center;
2744
+ width: 18px;
2745
+ margin-right: 4px;
2746
+ font-size: 11px;
2747
+ color: @secondary;
2748
+ flex-shrink: 0;
2749
+ }
2750
+
2729
2751
  .change-report-label {
2730
2752
  font-size: 12px;
2731
2753
  flex-shrink: 0;
@@ -2752,6 +2774,36 @@ body{
2752
2774
  color: @backgroundHighlight;
2753
2775
  }
2754
2776
 
2777
+ .change-report-color-chip-wrapper {
2778
+ display: inline-block;
2779
+ position: relative;
2780
+ width: 12px;
2781
+ height: 12px;
2782
+ border-radius: 2px;
2783
+ border: 1px solid rgba(255, 255, 255, 0.2);
2784
+ margin-right: 4px;
2785
+ vertical-align: middle;
2786
+ overflow: hidden;
2787
+ }
2788
+
2789
+ .change-report-color-chip-checkerboard {
2790
+ position: absolute;
2791
+ inset: 0;
2792
+ background-image:
2793
+ linear-gradient(45deg, #808080 25%, transparent 25%),
2794
+ linear-gradient(-45deg, #808080 25%, transparent 25%),
2795
+ linear-gradient(45deg, transparent 75%, #808080 75%),
2796
+ linear-gradient(-45deg, transparent 75%, #808080 75%);
2797
+ background-size: 6px 6px;
2798
+ background-position: 0 0, 0 3px, 3px -3px, -3px 0;
2799
+ background-color: #fff;
2800
+ }
2801
+
2802
+ .change-report-color-chip-color {
2803
+ position: absolute;
2804
+ inset: 0;
2805
+ }
2806
+
2755
2807
 
2756
2808
  @sectionPadding:7px 5px 5px 5px;
2757
2809
  @sectionHeaderHeight:25px;
@@ -17,7 +17,7 @@
17
17
  }
18
18
 
19
19
  .change-report-section {
20
- margin-bottom: 8px;
20
+ margin-bottom: 6px;
21
21
 
22
22
  &-heading {
23
23
  text-transform: uppercase;
@@ -25,9 +25,9 @@
25
25
  font-weight: bold;
26
26
  color: @secondary;
27
27
  letter-spacing: 0.05em;
28
- padding: 4px 0 2px;
28
+ padding: 3px 0 2px;
29
29
  border-bottom: 1px solid @backgroundHighlight;
30
- margin-bottom: 4px;
30
+ margin-bottom: 3px;
31
31
  }
32
32
  }
33
33
 
@@ -35,12 +35,8 @@
35
35
  &-row {
36
36
  display: flex;
37
37
  align-items: center;
38
- padding: 2px 0;
38
+ padding: 1px 0;
39
39
  border-radius: 3px;
40
-
41
- &:hover {
42
- background: @backgroundLight;
43
- }
44
40
  }
45
41
  }
46
42
 
@@ -65,13 +61,17 @@
65
61
  }
66
62
 
67
63
  .change-report-status {
68
- display: inline-block;
64
+ display: inline-flex;
65
+ align-items: center;
66
+ justify-content: center;
69
67
  font-size: 11px;
70
68
  font-weight: bold;
71
69
  border-radius: 3px;
72
70
  padding: 2px 6px;
73
71
  margin-right: 6px;
74
72
  flex-shrink: 0;
73
+ text-align: center;
74
+ line-height: 1;
75
75
 
76
76
  &--added {
77
77
  background: rgba(86, 176, 94, 0.2);
@@ -94,6 +94,17 @@
94
94
  }
95
95
  }
96
96
 
97
+ .change-report-layer-icon {
98
+ display: inline-flex;
99
+ align-items: center;
100
+ justify-content: center;
101
+ width: 18px;
102
+ margin-right: 4px;
103
+ font-size: 11px;
104
+ color: @secondary;
105
+ flex-shrink: 0;
106
+ }
107
+
97
108
  .change-report-label {
98
109
  font-size: 12px;
99
110
  flex-shrink: 0;
@@ -119,3 +130,33 @@
119
130
  .change-report-value-arrow {
120
131
  color: @backgroundHighlight;
121
132
  }
133
+
134
+ .change-report-color-chip-wrapper {
135
+ display: inline-block;
136
+ position: relative;
137
+ width: 12px;
138
+ height: 12px;
139
+ border-radius: 2px;
140
+ border: 1px solid rgba(255, 255, 255, 0.2);
141
+ margin-right: 4px;
142
+ vertical-align: middle;
143
+ overflow: hidden;
144
+ }
145
+
146
+ .change-report-color-chip-checkerboard {
147
+ position: absolute;
148
+ inset: 0;
149
+ background-image:
150
+ linear-gradient(45deg, #808080 25%, transparent 25%),
151
+ linear-gradient(-45deg, #808080 25%, transparent 25%),
152
+ linear-gradient(45deg, transparent 75%, #808080 75%),
153
+ linear-gradient(-45deg, transparent 75%, #808080 75%);
154
+ background-size: 6px 6px;
155
+ background-position: 0 0, 0 3px, 3px -3px, -3px 0;
156
+ background-color: #fff;
157
+ }
158
+
159
+ .change-report-color-chip-color {
160
+ position: absolute;
161
+ inset: 0;
162
+ }
@@ -5,14 +5,25 @@
5
5
  height: 100%;
6
6
  padding-top: 30px;
7
7
  box-sizing: border-box;
8
-
9
- > div:first-of-type {
8
+ overflow: hidden;
9
+
10
+ > div:last-of-type {
10
11
  flex: 1;
12
+ display: flex;
13
+ flex-direction: column;
14
+ overflow: hidden;
11
15
  }
12
-
16
+
17
+ .publish-wizard-step--review {
18
+ flex: 1;
19
+ overflow-y: auto;
20
+ min-height: 0;
21
+ }
22
+
13
23
  .lower-buttons {
14
- margin-top: auto;
24
+ flex-shrink: 0;
15
25
  padding-bottom: 5px;
26
+ padding-top: 5px;
16
27
  width: 100%;
17
28
  text-align: center;
18
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imposium-hub/components",
3
- "version": "2.15.0-2",
3
+ "version": "2.16.0-0",
4
4
  "description": "React & Typescript component / asset library for Imposium front-ends",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -141,6 +141,10 @@
141
141
  "root": true,
142
142
  "extends": [
143
143
  "@imposium-hub/eslint-config/typescript-react"
144
+ ],
145
+ "ignorePatterns": [
146
+ "**/*.test.tsx",
147
+ "src/test/**"
144
148
  ]
145
149
  },
146
150
  "prettier": "@imposium-hub/prettier-config",