@wordpress/components 19.6.1-next.a55ed9455a.0 → 19.7.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 (179) hide show
  1. package/CHANGELOG.md +31 -1
  2. package/build/base-control/index.js +19 -14
  3. package/build/base-control/index.js.map +1 -1
  4. package/build/base-control/styles/base-control-styles.js +33 -12
  5. package/build/base-control/styles/base-control-styles.js.map +1 -1
  6. package/build/box-control/all-input-control.js +3 -7
  7. package/build/box-control/all-input-control.js.map +1 -1
  8. package/build/box-control/axial-input-controls.js +20 -15
  9. package/build/box-control/axial-input-controls.js.map +1 -1
  10. package/build/box-control/input-controls.js +21 -16
  11. package/build/box-control/input-controls.js.map +1 -1
  12. package/build/box-control/utils.js +25 -11
  13. package/build/box-control/utils.js.map +1 -1
  14. package/build/checkbox-control/index.js +21 -1
  15. package/build/checkbox-control/index.js.map +1 -1
  16. package/build/color-palette/index.js +53 -4
  17. package/build/color-palette/index.js.map +1 -1
  18. package/build/custom-select-control/index.js +8 -3
  19. package/build/custom-select-control/index.js.map +1 -1
  20. package/build/divider/styles.js +28 -16
  21. package/build/divider/styles.js.map +1 -1
  22. package/build/focal-point-picker/controls.js +2 -3
  23. package/build/focal-point-picker/controls.js.map +1 -1
  24. package/build/form-file-upload/index.js +4 -1
  25. package/build/form-file-upload/index.js.map +1 -1
  26. package/build/input-control/input-field.js +21 -14
  27. package/build/input-control/input-field.js.map +1 -1
  28. package/build/input-control/reducer/actions.js +1 -3
  29. package/build/input-control/reducer/actions.js.map +1 -1
  30. package/build/input-control/reducer/reducer.js +1 -43
  31. package/build/input-control/reducer/reducer.js.map +1 -1
  32. package/build/number-control/index.js +15 -10
  33. package/build/number-control/index.js.map +1 -1
  34. package/build/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js +4 -4
  35. package/build/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js.map +1 -1
  36. package/build/toggle-group-control/toggle-group-control-option/component.js +1 -4
  37. package/build/toggle-group-control/toggle-group-control-option/component.js.map +1 -1
  38. package/build/toggle-group-control/toggle-group-control-option/styles.js +12 -19
  39. package/build/toggle-group-control/toggle-group-control-option/styles.js.map +1 -1
  40. package/build/tree-grid/index.js +4 -1
  41. package/build/tree-grid/index.js.map +1 -1
  42. package/build/unit-control/index.js +49 -27
  43. package/build/unit-control/index.js.map +1 -1
  44. package/build/unit-control/unit-select-control.js +2 -4
  45. package/build/unit-control/unit-select-control.js.map +1 -1
  46. package/build-module/base-control/index.js +19 -14
  47. package/build-module/base-control/index.js.map +1 -1
  48. package/build-module/base-control/styles/base-control-styles.js +34 -6
  49. package/build-module/base-control/styles/base-control-styles.js.map +1 -1
  50. package/build-module/box-control/all-input-control.js +4 -8
  51. package/build-module/box-control/all-input-control.js.map +1 -1
  52. package/build-module/box-control/axial-input-controls.js +18 -14
  53. package/build-module/box-control/axial-input-controls.js.map +1 -1
  54. package/build-module/box-control/input-controls.js +18 -14
  55. package/build-module/box-control/input-controls.js.map +1 -1
  56. package/build-module/box-control/utils.js +25 -11
  57. package/build-module/box-control/utils.js.map +1 -1
  58. package/build-module/checkbox-control/index.js +24 -3
  59. package/build-module/checkbox-control/index.js.map +1 -1
  60. package/build-module/color-palette/index.js +52 -4
  61. package/build-module/color-palette/index.js.map +1 -1
  62. package/build-module/custom-select-control/index.js +8 -3
  63. package/build-module/custom-select-control/index.js.map +1 -1
  64. package/build-module/divider/styles.js +29 -10
  65. package/build-module/divider/styles.js.map +1 -1
  66. package/build-module/focal-point-picker/controls.js +2 -3
  67. package/build-module/focal-point-picker/controls.js.map +1 -1
  68. package/build-module/form-file-upload/index.js +4 -1
  69. package/build-module/form-file-upload/index.js.map +1 -1
  70. package/build-module/input-control/input-field.js +21 -13
  71. package/build-module/input-control/input-field.js.map +1 -1
  72. package/build-module/input-control/reducer/actions.js +0 -1
  73. package/build-module/input-control/reducer/actions.js.map +1 -1
  74. package/build-module/input-control/reducer/reducer.js +2 -39
  75. package/build-module/input-control/reducer/reducer.js.map +1 -1
  76. package/build-module/number-control/index.js +15 -9
  77. package/build-module/number-control/index.js.map +1 -1
  78. package/build-module/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js +4 -4
  79. package/build-module/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js.map +1 -1
  80. package/build-module/toggle-group-control/toggle-group-control-option/component.js +1 -4
  81. package/build-module/toggle-group-control/toggle-group-control-option/component.js.map +1 -1
  82. package/build-module/toggle-group-control/toggle-group-control-option/styles.js +11 -17
  83. package/build-module/toggle-group-control/toggle-group-control-option/styles.js.map +1 -1
  84. package/build-module/tree-grid/index.js +4 -1
  85. package/build-module/tree-grid/index.js.map +1 -1
  86. package/build-module/unit-control/index.js +47 -25
  87. package/build-module/unit-control/index.js.map +1 -1
  88. package/build-module/unit-control/unit-select-control.js +2 -3
  89. package/build-module/unit-control/unit-select-control.js.map +1 -1
  90. package/build-style/style-rtl.css +29 -181
  91. package/build-style/style.css +29 -181
  92. package/build-types/base-control/index.d.ts +23 -18
  93. package/build-types/base-control/index.d.ts.map +1 -1
  94. package/build-types/base-control/styles/base-control-styles.d.ts +4 -0
  95. package/build-types/base-control/styles/base-control-styles.d.ts.map +1 -1
  96. package/build-types/card/card-divider/hook.d.ts +1 -1
  97. package/build-types/color-palette/index.d.ts.map +1 -1
  98. package/build-types/color-picker/styles.d.ts +1 -1
  99. package/build-types/divider/stories/index.d.ts +1 -0
  100. package/build-types/divider/stories/index.d.ts.map +1 -1
  101. package/build-types/divider/styles.d.ts.map +1 -1
  102. package/build-types/divider/types.d.ts +8 -1
  103. package/build-types/divider/types.d.ts.map +1 -1
  104. package/build-types/input-control/input-field.d.ts.map +1 -1
  105. package/build-types/input-control/reducer/actions.d.ts +1 -3
  106. package/build-types/input-control/reducer/actions.d.ts.map +1 -1
  107. package/build-types/input-control/reducer/reducer.d.ts +3 -9
  108. package/build-types/input-control/reducer/reducer.d.ts.map +1 -1
  109. package/build-types/input-control/types.d.ts +2 -2
  110. package/build-types/input-control/types.d.ts.map +1 -1
  111. package/build-types/number-control/index.d.ts +3 -3
  112. package/build-types/number-control/index.d.ts.map +1 -1
  113. package/build-types/range-control/styles/range-control-styles.d.ts +1 -1
  114. package/build-types/resizable-box/resize-tooltip/styles/resize-tooltip.styles.d.ts.map +1 -1
  115. package/build-types/toggle-group-control/toggle-group-control-option/component.d.ts.map +1 -1
  116. package/build-types/toggle-group-control/toggle-group-control-option/styles.d.ts +0 -4
  117. package/build-types/toggle-group-control/toggle-group-control-option/styles.d.ts.map +1 -1
  118. package/build-types/unit-control/index.d.ts +7 -4
  119. package/build-types/unit-control/index.d.ts.map +1 -1
  120. package/build-types/unit-control/stories/index.d.ts +33 -0
  121. package/build-types/unit-control/stories/index.d.ts.map +1 -0
  122. package/build-types/unit-control/styles/unit-control-styles.d.ts +1 -1
  123. package/build-types/unit-control/types.d.ts +23 -6
  124. package/build-types/unit-control/types.d.ts.map +1 -1
  125. package/build-types/unit-control/unit-select-control.d.ts.map +1 -1
  126. package/package.json +17 -17
  127. package/src/base-control/README.md +9 -1
  128. package/src/base-control/index.js +20 -13
  129. package/src/base-control/stories/index.js +2 -2
  130. package/src/base-control/styles/base-control-styles.js +23 -1
  131. package/src/box-control/all-input-control.js +2 -10
  132. package/src/box-control/axial-input-controls.js +32 -21
  133. package/src/box-control/input-controls.js +30 -19
  134. package/src/box-control/utils.js +29 -12
  135. package/src/checkbox-control/index.js +34 -3
  136. package/src/checkbox-control/stories/index.js +44 -0
  137. package/src/checkbox-control/style.scss +4 -2
  138. package/src/color-palette/index.js +73 -8
  139. package/src/color-palette/stories/index.js +62 -26
  140. package/src/color-palette/style.scss +11 -3
  141. package/src/color-palette/test/__snapshots__/index.js.snap +662 -12
  142. package/src/color-palette/test/index.js +1 -1
  143. package/src/custom-select-control/index.js +8 -2
  144. package/src/custom-select-control/stories/index.js +77 -74
  145. package/src/custom-select-control/style.scss +18 -3
  146. package/src/divider/stories/index.tsx +26 -23
  147. package/src/divider/styles.ts +9 -0
  148. package/src/divider/types.ts +11 -1
  149. package/src/focal-point-picker/controls.js +2 -3
  150. package/src/font-size-picker/test/index.js +0 -2
  151. package/src/form-file-upload/README.md +18 -0
  152. package/src/form-file-upload/index.js +3 -0
  153. package/src/form-file-upload/test/index.js +73 -11
  154. package/src/input-control/input-field.tsx +23 -12
  155. package/src/input-control/reducer/actions.ts +1 -7
  156. package/src/input-control/reducer/reducer.ts +0 -29
  157. package/src/input-control/types.ts +2 -1
  158. package/src/mobile/image/style.native.scss +1 -0
  159. package/src/number-control/README.md +14 -0
  160. package/src/number-control/index.js +13 -12
  161. package/src/number-control/stories/index.js +14 -7
  162. package/src/number-control/test/index.js +79 -1
  163. package/src/range-control/stories/index.js +91 -119
  164. package/src/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js +1 -0
  165. package/src/toggle-group-control/test/__snapshots__/index.js.snap +0 -27
  166. package/src/toggle-group-control/toggle-group-control-option/component.tsx +1 -4
  167. package/src/toggle-group-control/toggle-group-control-option/styles.ts +0 -12
  168. package/src/toolbar-group/style.scss +0 -73
  169. package/src/tree-grid/README.md +1 -1
  170. package/src/tree-grid/index.js +4 -0
  171. package/src/tree-grid/test/index.js +61 -17
  172. package/src/unit-control/README.md +1 -3
  173. package/src/unit-control/index.tsx +59 -30
  174. package/src/unit-control/stories/index.tsx +170 -0
  175. package/src/unit-control/test/index.js +143 -100
  176. package/src/unit-control/types.ts +60 -41
  177. package/src/unit-control/unit-select-control.tsx +2 -3
  178. package/tsconfig.tsbuildinfo +1 -1
  179. package/src/unit-control/stories/index.js +0 -127
@@ -595,11 +595,11 @@ p + .components-button.is-tertiary {
595
595
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);
596
596
  outline: 2px solid transparent;
597
597
  }
598
- .components-checkbox-control__input[type=checkbox]:checked {
598
+ .components-checkbox-control__input[type=checkbox]:checked, .components-checkbox-control__input[type=checkbox]:indeterminate {
599
599
  background: var(--wp-admin-theme-color);
600
600
  border-color: var(--wp-admin-theme-color);
601
601
  }
602
- .components-checkbox-control__input[type=checkbox]:checked::-ms-check {
602
+ .components-checkbox-control__input[type=checkbox]:checked::-ms-check, .components-checkbox-control__input[type=checkbox]:indeterminate::-ms-check {
603
603
  opacity: 0;
604
604
  }
605
605
  .components-checkbox-control__input[type=checkbox]:checked::before {
@@ -621,7 +621,8 @@ p + .components-button.is-tertiary {
621
621
  }
622
622
  }
623
623
 
624
- svg.components-checkbox-control__checked {
624
+ svg.components-checkbox-control__checked,
625
+ svg.components-checkbox-control__indeterminate {
625
626
  fill: #fff;
626
627
  cursor: pointer;
627
628
  position: absolute;
@@ -634,7 +635,8 @@ svg.components-checkbox-control__checked {
634
635
  pointer-events: none;
635
636
  }
636
637
  @media (min-width: 600px) {
637
- svg.components-checkbox-control__checked {
638
+ svg.components-checkbox-control__checked,
639
+ svg.components-checkbox-control__indeterminate {
638
640
  left: -2px;
639
641
  top: -2px;
640
642
  }
@@ -893,11 +895,10 @@ input.components-combobox-control__input[type=text]:focus {
893
895
  position: relative;
894
896
  border: none;
895
897
  background: none;
896
- display: block;
897
898
  border-radius: 2px;
898
- height: 48px;
899
+ height: 64px;
900
+ padding: 12px;
899
901
  font-family: inherit;
900
- text-align: right;
901
902
  width: 100%;
902
903
  background-image: repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0), repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0);
903
904
  background-position: 0 0, 25px 25px;
@@ -940,6 +941,15 @@ input.components-combobox-control__input[type=text]:focus {
940
941
  margin-bottom: -60px;
941
942
  }
942
943
  }
944
+ .components-color-palette__custom-color-name {
945
+ text-align: left;
946
+ }
947
+
948
+ .components-color-palette__custom-color-value {
949
+ margin-left: 16px;
950
+ text-transform: uppercase;
951
+ }
952
+
943
953
  .components-custom-gradient-picker__gradient-bar:not(.has-gradient) {
944
954
  opacity: 0.4;
945
955
  }
@@ -1050,12 +1060,19 @@ input.components-combobox-control__input[type=text]:focus {
1050
1060
  .components-custom-select-control__button {
1051
1061
  border: 1px solid #757575;
1052
1062
  border-radius: 2px;
1053
- min-height: 30px;
1054
1063
  min-width: 130px;
1055
1064
  position: relative;
1056
1065
  text-align: left;
1057
1066
  }
1067
+ .components-custom-select-control__button:not(.is-next-36px-default-size) {
1068
+ min-height: 30px;
1069
+ }
1058
1070
  .components-custom-select-control__button.components-custom-select-control__button {
1071
+ padding-left: 16px;
1072
+ padding-right: 32px;
1073
+ }
1074
+ .components-custom-select-control__button.components-custom-select-control__button:not(.is-next-36px-default-size) {
1075
+ padding-left: 8px;
1059
1076
  padding-right: 24px;
1060
1077
  }
1061
1078
  .components-custom-select-control__button:focus:not(:disabled) {
@@ -1092,10 +1109,13 @@ input.components-combobox-control__input[type=text]:focus {
1092
1109
  display: grid;
1093
1110
  grid-template-columns: auto auto;
1094
1111
  list-style-type: none;
1095
- padding: 8px;
1112
+ padding: 8px 16px;
1096
1113
  cursor: default;
1097
1114
  line-height: 28px;
1098
1115
  }
1116
+ .components-custom-select-control__item:not(.is-next-36px-default-size) {
1117
+ padding: 8px;
1118
+ }
1099
1119
  .components-custom-select-control__item.has-hint {
1100
1120
  grid-template-columns: auto auto 30px;
1101
1121
  }
@@ -4765,178 +4785,6 @@ div.components-toolbar > div + div.has-left-divider::before {
4765
4785
  height: 20px;
4766
4786
  }
4767
4787
 
4768
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button:first-child:last-child,
4769
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown:first-child:last-child .components-button, .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot.components-dropdown > .components-button.components-button, .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot.components-dropdown > * .components-button,
4770
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button:first-child:last-child,
4771
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown:first-child:last-child .components-button,
4772
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot.components-dropdown > .components-button.components-button,
4773
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot.components-dropdown > * .components-button,
4774
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button:first-child:last-child,
4775
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown:first-child:last-child .components-button,
4776
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar.components-dropdown > .components-button.components-button,
4777
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar.components-dropdown > * .components-button,
4778
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button:first-child:last-child,
4779
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown:first-child:last-child .components-button,
4780
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown.components-dropdown > .components-button.components-button,
4781
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown.components-dropdown > * .components-button,
4782
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button:first-child:last-child,
4783
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown:first-child:last-child .components-button,
4784
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group.components-dropdown > .components-button.components-button,
4785
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group.components-dropdown > * .components-button {
4786
- min-width: 48px;
4787
- padding-left: 12px;
4788
- padding-right: 12px;
4789
- }
4790
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button:first-child:last-child::before,
4791
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown:first-child:last-child .components-button::before, .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot.components-dropdown > .components-button.components-button::before, .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot.components-dropdown > * .components-button::before,
4792
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button:first-child:last-child::before,
4793
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown:first-child:last-child .components-button::before,
4794
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot.components-dropdown > .components-button.components-button::before,
4795
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot.components-dropdown > * .components-button::before,
4796
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button:first-child:last-child::before,
4797
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown:first-child:last-child .components-button::before,
4798
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar.components-dropdown > .components-button.components-button::before,
4799
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar.components-dropdown > * .components-button::before,
4800
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button:first-child:last-child::before,
4801
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown:first-child:last-child .components-button::before,
4802
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown.components-dropdown > .components-button.components-button::before,
4803
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown.components-dropdown > * .components-button::before,
4804
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button:first-child:last-child::before,
4805
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown:first-child:last-child .components-button::before,
4806
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group.components-dropdown > .components-button.components-button::before,
4807
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group.components-dropdown > * .components-button::before {
4808
- left: 8px;
4809
- right: 8px;
4810
- }
4811
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button:first-child,
4812
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > div:first-child > .components-button,
4813
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown:first-child .components-button,
4814
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button:first-child,
4815
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > div:first-child > .components-button,
4816
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown:first-child .components-button,
4817
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button:first-child,
4818
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > div:first-child > .components-button,
4819
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown:first-child .components-button,
4820
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button:first-child,
4821
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > div:first-child > .components-button,
4822
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown:first-child .components-button,
4823
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button:first-child,
4824
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > div:first-child > .components-button,
4825
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown:first-child .components-button {
4826
- min-width: 42px;
4827
- padding-left: 11px;
4828
- padding-right: 6px;
4829
- }
4830
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button:first-child::before,
4831
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > div:first-child > .components-button::before,
4832
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown:first-child .components-button::before,
4833
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button:first-child::before,
4834
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > div:first-child > .components-button::before,
4835
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown:first-child .components-button::before,
4836
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button:first-child::before,
4837
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > div:first-child > .components-button::before,
4838
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown:first-child .components-button::before,
4839
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button:first-child::before,
4840
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > div:first-child > .components-button::before,
4841
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown:first-child .components-button::before,
4842
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button:first-child::before,
4843
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > div:first-child > .components-button::before,
4844
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown:first-child .components-button::before {
4845
- left: 8px;
4846
- right: 2px;
4847
- }
4848
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button,
4849
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > div > .components-button,
4850
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown .components-button,
4851
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button,
4852
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > div > .components-button,
4853
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown .components-button,
4854
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button,
4855
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > div > .components-button,
4856
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown .components-button,
4857
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button,
4858
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > div > .components-button,
4859
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown .components-button,
4860
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button,
4861
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > div > .components-button,
4862
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown .components-button {
4863
- min-width: 36px;
4864
- padding-left: 6px;
4865
- padding-right: 6px;
4866
- }
4867
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button svg,
4868
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > div > .components-button svg,
4869
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown .components-button svg,
4870
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button svg,
4871
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > div > .components-button svg,
4872
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown .components-button svg,
4873
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button svg,
4874
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > div > .components-button svg,
4875
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown .components-button svg,
4876
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button svg,
4877
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > div > .components-button svg,
4878
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown .components-button svg,
4879
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button svg,
4880
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > div > .components-button svg,
4881
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown .components-button svg {
4882
- min-width: 24px;
4883
- }
4884
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button::before,
4885
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > div > .components-button::before,
4886
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown .components-button::before,
4887
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button::before,
4888
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > div > .components-button::before,
4889
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown .components-button::before,
4890
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button::before,
4891
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > div > .components-button::before,
4892
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown .components-button::before,
4893
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button::before,
4894
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > div > .components-button::before,
4895
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown .components-button::before,
4896
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button::before,
4897
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > div > .components-button::before,
4898
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown .components-button::before {
4899
- left: 2px;
4900
- right: 2px;
4901
- }
4902
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button:last-child,
4903
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > div:last-child > .components-button,
4904
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown:last-child .components-button,
4905
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button:last-child,
4906
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > div:last-child > .components-button,
4907
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown:last-child .components-button,
4908
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button:last-child,
4909
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > div:last-child > .components-button,
4910
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown:last-child .components-button,
4911
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button:last-child,
4912
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > div:last-child > .components-button,
4913
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown:last-child .components-button,
4914
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button:last-child,
4915
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > div:last-child > .components-button,
4916
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown:last-child .components-button {
4917
- min-width: 42px;
4918
- padding-left: 6px;
4919
- padding-right: 11px;
4920
- }
4921
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-button:last-child::before,
4922
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > div:last-child > .components-button::before,
4923
- .block-editor-block-toolbar > .components-toolbar > .block-editor-block-toolbar__slot > .components-dropdown:last-child .components-button::before,
4924
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-button:last-child::before,
4925
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > div:last-child > .components-button::before,
4926
- .block-editor-block-toolbar > .components-toolbar-group > .block-editor-block-toolbar__slot > .components-dropdown:last-child .components-button::before,
4927
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-button:last-child::before,
4928
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > div:last-child > .components-button::before,
4929
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-toolbar > .components-dropdown:last-child .components-button::before,
4930
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-button:last-child::before,
4931
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > div:last-child > .components-button::before,
4932
- .block-editor-block-toolbar > .block-editor-block-toolbar__slot > .components-dropdown > .components-dropdown:last-child .components-button::before,
4933
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-button:last-child::before,
4934
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > div:last-child > .components-button::before,
4935
- .block-editor-block-toolbar .block-editor-block-toolbar__slot .components-toolbar-group > .components-dropdown:last-child .components-button::before {
4936
- left: 2px;
4937
- right: 8px;
4938
- }
4939
-
4940
4788
  .components-tooltip.components-popover {
4941
4789
  z-index: 1000002;
4942
4790
  }
@@ -1,8 +1,12 @@
1
1
  export default BaseControl;
2
2
  export type Props = {
3
+ /**
4
+ * Start opting into the new margin-free styles that will become the default in a future version.
5
+ */
6
+ __nextHasNoMarginBottom?: boolean | undefined;
3
7
  /**
4
8
  * The id of the element to which labels and help text are being generated.
5
- * That element should be passed as a child.
9
+ * That element should be passed as a child.
6
10
  */
7
11
  id?: string | undefined;
8
12
  /**
@@ -12,7 +16,7 @@ export type Props = {
12
16
  help: import('react').ReactNode;
13
17
  /**
14
18
  * If this property is added, a label will be generated
15
- * using label property as the content.
19
+ * using label property as the content.
16
20
  */
17
21
  label?: import('react').ReactNode;
18
22
  /**
@@ -21,13 +25,13 @@ export type Props = {
21
25
  hideLabelFromVision?: boolean | undefined;
22
26
  /**
23
27
  * The class that will be added with "components-base-control" to the
24
- * classes of the wrapper div. If no className is passed only
25
- * components-base-control is used.
28
+ * classes of the wrapper div. If no className is passed only
29
+ * components-base-control is used.
26
30
  */
27
31
  className?: string | undefined;
28
32
  /**
29
33
  * The content to be displayed within
30
- * the BaseControl.
34
+ * the BaseControl.
31
35
  */
32
36
  children?: import('react').ReactNode;
33
37
  };
@@ -43,24 +47,25 @@ export type VisualLabelProps = {
43
47
  };
44
48
  /**
45
49
  * @typedef Props
46
- * @property {string} [id] The id of the element to which labels and help text are being generated.
47
- * That element should be passed as a child.
48
- * @property {import('react').ReactNode} help If this property is added, a help text will be
49
- * generated using help property as the content.
50
- * @property {import('react').ReactNode} [label] If this property is added, a label will be generated
51
- * using label property as the content.
52
- * @property {boolean} [hideLabelFromVision] If true, the label will only be visible to screen readers.
53
- * @property {string} [className] The class that will be added with "components-base-control" to the
54
- * classes of the wrapper div. If no className is passed only
55
- * components-base-control is used.
56
- * @property {import('react').ReactNode} [children] The content to be displayed within
57
- * the BaseControl.
50
+ * @property {boolean} [__nextHasNoMarginBottom] Start opting into the new margin-free styles that will become the default in a future version.
51
+ * @property {string} [id] The id of the element to which labels and help text are being generated.
52
+ * That element should be passed as a child.
53
+ * @property {import('react').ReactNode} help If this property is added, a help text will be
54
+ * generated using help property as the content.
55
+ * @property {import('react').ReactNode} [label] If this property is added, a label will be generated
56
+ * using label property as the content.
57
+ * @property {boolean} [hideLabelFromVision] If true, the label will only be visible to screen readers.
58
+ * @property {string} [className] The class that will be added with "components-base-control" to the
59
+ * classes of the wrapper div. If no className is passed only
60
+ * components-base-control is used.
61
+ * @property {import('react').ReactNode} [children] The content to be displayed within
62
+ * the BaseControl.
58
63
  */
59
64
  /**
60
65
  * @param {Props} props
61
66
  * @return {JSX.Element} Element
62
67
  */
63
- declare function BaseControl({ id, label, hideLabelFromVision, help, className, children, }: Props): JSX.Element;
68
+ declare function BaseControl({ __nextHasNoMarginBottom, id, label, hideLabelFromVision, help, className, children, }: Props): JSX.Element;
64
69
  declare namespace BaseControl {
65
70
  /**
66
71
  * @typedef VisualLabelProps
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/base-control/index.js"],"names":[],"mappings":";;;;;;;;;;;UAqBc,OAAO,OAAO,EAAE,SAAS;;;;;YAEzB,OAAO,OAAO,EAAE,SAAS;;;;;;;;;;;;;;;eAMzB,OAAO,OAAO,EAAE,SAAS;;;;;;;;;;eA6DzB,OAAO,OAAO,EAAE,SAAS;;AAzEvC;;;;;;;;;;;;;;GAcG;AAEH;;;GAGG;AACH,6FAHW,KAAK,GACJ,WAAW,CAkDtB;;IAED;;;;OAIG;IAEH;;;OAGG;IACH,6EAWC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/base-control/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;UAsBc,OAAO,OAAO,EAAE,SAAS;;;;;YAEzB,OAAO,OAAO,EAAE,SAAS;;;;;;;;;;;;;;;eAMzB,OAAO,OAAO,EAAE,SAAS;;;;;;;;;;eAmEzB,OAAO,OAAO,EAAE,SAAS;;AAhFvC;;;;;;;;;;;;;;;GAeG;AAEH;;;GAGG;AACH,sHAHW,KAAK,GACJ,WAAW,CAwDtB;;IAED;;;;OAIG;IAEH;;;OAGG;IACH,6EAWC"}
@@ -5,6 +5,8 @@ export const Wrapper: import("@emotion/styled").StyledComponent<{
5
5
  export const StyledField: import("@emotion/styled").StyledComponent<{
6
6
  theme?: import("@emotion/react").Theme | undefined;
7
7
  as?: import("react").ElementType<any> | undefined;
8
+ } & {
9
+ __nextHasNoMarginBottom?: boolean | undefined;
8
10
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
11
  export const StyledLabel: import("@emotion/styled").StyledComponent<{
10
12
  theme?: import("@emotion/react").Theme | undefined;
@@ -13,6 +15,8 @@ export const StyledLabel: import("@emotion/styled").StyledComponent<{
13
15
  export const StyledHelp: import("@emotion/styled").StyledComponent<{
14
16
  theme?: import("@emotion/react").Theme | undefined;
15
17
  as?: import("react").ElementType<any> | undefined;
18
+ } & {
19
+ __nextHasNoMarginBottom?: boolean | undefined;
16
20
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
17
21
  export const StyledVisualLabel: import("@emotion/styled").StyledComponent<{
18
22
  theme?: import("@emotion/react").Theme | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"base-control-styles.d.ts","sourceRoot":"","sources":["../../../src/base-control/styles/base-control-styles.js"],"names":[],"mappings":"AAYA;;;0GAGE;AAEF;;;0GAME;AAOF;;;mHAEE;AAEF;;;sHAIE;AAEF;;;4GAEE"}
1
+ {"version":3,"file":"base-control-styles.d.ts","sourceRoot":"","sources":["../../../src/base-control/styles/base-control-styles.js"],"names":[],"mappings":"AAYA;;;0GAGE;AAWF;;;;;0GAME;AAOF;;;mHAEE;AAWF;;;;;sHAQE;AAEF;;;4GAEE"}
@@ -12,7 +12,6 @@ export function useCardDivider(props: import('../../ui/context').WordPressCompon
12
12
  lang?: string | undefined;
13
13
  role?: import("react").AriaRole | undefined;
14
14
  tabIndex?: number | undefined;
15
- orientation?: "horizontal" | "vertical" | undefined;
16
15
  'aria-activedescendant'?: string | undefined;
17
16
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
18
17
  'aria-autocomplete'?: "list" | "none" | "both" | "inline" | undefined;
@@ -265,5 +264,6 @@ export function useCardDivider(props: import('../../ui/context').WordPressCompon
265
264
  margin?: import("../../ui/utils/space").SpaceInput | undefined;
266
265
  marginStart?: import("../../ui/utils/space").SpaceInput | undefined;
267
266
  marginEnd?: import("../../ui/utils/space").SpaceInput | undefined;
267
+ orientation?: "horizontal" | "vertical" | undefined;
268
268
  };
269
269
  //# sourceMappingURL=hook.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/color-palette/index.js"],"names":[],"mappings":"AAiHA;;;gBAYC;AAED;;;;;;;;;;gBA8EC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/color-palette/index.js"],"names":[],"mappings":"AAmHA;;;gBAYC;AA2BD;;;;;;;;;;gBAoHC"}
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export declare const NumberControlWrapper: import("@emotion/styled").StyledComponent<Pick<{
3
3
  [x: string]: any;
4
- __unstableStateReducer?: ((state: any) => any) | undefined;
4
+ __unstableStateReducer: any;
5
5
  className: any;
6
6
  dragDirection?: string | undefined;
7
7
  hideHTMLArrows?: boolean | undefined;
@@ -7,4 +7,5 @@ declare const meta: ComponentMeta<typeof Divider>;
7
7
  export default meta;
8
8
  export declare const Horizontal: ComponentStory<typeof Divider>;
9
9
  export declare const Vertical: ComponentStory<typeof Divider>;
10
+ export declare const InFlexContainer: ComponentStory<typeof Divider>;
10
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/divider/stories/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAMtE,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAE7B,QAAA,MAAM,IAAI,EAAE,aAAa,CAAE,OAAO,OAAO,CAkBxC,CAAC;AACF,eAAe,IAAI,CAAC;AA0BpB,eAAO,MAAM,UAAU,EAAE,cAAc,CACtC,OAAO,OAAO,CACkB,CAAC;AAKlC,eAAO,MAAM,QAAQ,EAAE,cAAc,CAAE,OAAO,OAAO,CAEpD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/divider/stories/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAMtE,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAG7B,QAAA,MAAM,IAAI,EAAE,aAAa,CAAE,OAAO,OAAO,CAkBxC,CAAC;AACF,eAAe,IAAI,CAAC;AAUpB,eAAO,MAAM,UAAU,EAAE,cAAc,CAAE,OAAO,OAAO,CAAwB,CAAC;AAKhF,eAAO,MAAM,QAAQ,EAAE,cAAc,CAAE,OAAO,OAAO,CAAwB,CAAC;AAO9E,eAAO,MAAM,eAAe,EAAE,cAAc,CAAE,OAAO,OAAO,CAgB3D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/divider/styles.ts"],"names":[],"mappings":";AAWA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAsDrC,eAAO,MAAM,WAAW;;;+GAOvB,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/divider/styles.ts"],"names":[],"mappings":";AAWA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AA8DrC,eAAO,MAAM,WAAW;;;+GAQvB,CAAC"}
@@ -19,7 +19,14 @@ export interface OwnProps {
19
19
  * Adjusts the inline-end margin.
20
20
  */
21
21
  marginEnd?: SpaceInput;
22
+ /**
23
+ * Divider's orientation. When using inside a flex container, you may need to make sure the divider is `stretch` aligned
24
+ * in order for it to be visible.
25
+ *
26
+ * @default 'horizontal'
27
+ */
28
+ orientation?: SeparatorProps['orientation'];
22
29
  }
23
- export interface Props extends Omit<SeparatorProps, 'children' | 'unstable_system'>, OwnProps {
30
+ export interface Props extends Omit<SeparatorProps, 'children' | 'unstable_system' | 'orientation'>, OwnProps {
24
31
  }
25
32
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/divider/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAE7C;;GAEG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,QAAQ;IACxB;;OAEG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB;;OAEG;IACH,SAAS,CAAC,EAAE,UAAU,CAAC;CACvB;AAED,MAAM,WAAW,KAChB,SAAQ,IAAI,CAAE,cAAc,EAAE,UAAU,GAAG,iBAAiB,CAAE,EAC7D,QAAQ;CAAG"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/divider/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAE7C;;GAEG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,QAAQ;IACxB;;OAEG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB;;OAEG;IACH,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,cAAc,CAAE,aAAa,CAAE,CAAC;CAC9C;AAED,MAAM,WAAW,KAChB,SAAQ,IAAI,CACV,cAAc,EACd,UAAU,GAAG,iBAAiB,GAAG,aAAa,CAC9C,EACD,QAAQ;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"input-field.d.ts","sourceRoot":"","sources":["../../src/input-control/input-field.tsx"],"names":[],"mappings":";AA4BA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAsN/C,QAAA,MAAM,kBAAkB;;q6JAA2B,CAAC;AAEpD,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"input-field.d.ts","sourceRoot":"","sources":["../../src/input-control/input-field.tsx"],"names":[],"mappings":";AA2BA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAkO/C,QAAA,MAAM,kBAAkB;;q6JAA2B,CAAC;AAEpD,eAAe,kBAAkB,CAAC"}
@@ -16,7 +16,6 @@ export declare const PRESS_DOWN = "PRESS_DOWN";
16
16
  export declare const PRESS_ENTER = "PRESS_ENTER";
17
17
  export declare const PRESS_UP = "PRESS_UP";
18
18
  export declare const RESET = "RESET";
19
- export declare const UPDATE = "UPDATE";
20
19
  interface EventPayload {
21
20
  event?: SyntheticEvent;
22
21
  }
@@ -36,11 +35,10 @@ export declare type DragStartAction = Action<typeof DRAG_START, DragProps>;
36
35
  export declare type DragEndAction = Action<typeof DRAG_END, DragProps>;
37
36
  export declare type DragAction = Action<typeof DRAG, DragProps>;
38
37
  export declare type ResetAction = Action<typeof RESET, Partial<ValuePayload>>;
39
- export declare type UpdateAction = Action<typeof UPDATE, ValuePayload>;
40
38
  export declare type InvalidateAction = Action<typeof INVALIDATE, {
41
39
  error: unknown;
42
40
  }>;
43
- export declare type ChangeEventAction = ChangeAction | ResetAction | CommitAction | UpdateAction;
41
+ export declare type ChangeEventAction = ChangeAction | ResetAction | CommitAction;
44
42
  export declare type DragEventAction = DragStartAction | DragEndAction | DragAction;
45
43
  export declare type KeyEventAction = PressDownAction | PressUpAction | PressEnterAction;
46
44
  export declare type InputAction = ChangeEventAction | KeyEventAction | DragEventAction | InvalidateAction;
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","s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AAG,gBAAgB,CAAC;AAEhF,oBAAY,WAAW,GACpB,iBAAiB,GACjB,cAAc,GACd,eAAe,GACf,gBAAgB,CAAC"}
@@ -1,17 +1,12 @@
1
+ /**
2
+ * External dependencies
3
+ */
1
4
  import type { SyntheticEvent } from 'react';
2
5
  /**
3
6
  * Internal dependencies
4
7
  */
5
8
  import { InputState, StateReducer } from './state';
6
9
  import * as actions from './actions';
7
- /**
8
- * Composes multiple stateReducers into a single stateReducer, building
9
- * the pipeline to control the flow for state and actions.
10
- *
11
- * @param fns State reducers.
12
- * @return The single composed stateReducer.
13
- */
14
- export declare const composeStateReducers: (...fns: StateReducer[]) => StateReducer;
15
10
  /**
16
11
  * A custom hook that connects and external stateReducer with an internal
17
12
  * reducer. This hook manages the internal state of InputControl.
@@ -39,6 +34,5 @@ export declare function useInputControlStateReducer(stateReducer?: StateReducer,
39
34
  readonly pressUp: (event: actions.KeyEventAction['payload']['event']) => void;
40
35
  readonly reset: (nextValue: actions.ChangeEventAction['payload']['value'], event: actions.ChangeEventAction['payload']['event']) => void;
41
36
  readonly state: InputState;
42
- readonly update: (nextValue: actions.ChangeEventAction['payload']['value'], event: actions.ChangeEventAction['payload']['event']) => void;
43
37
  };
44
38
  //# sourceMappingURL=reducer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../src/input-control/reducer/reducer.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAO5C;;GAEG;AACH,OAAO,EACN,UAAU,EACV,YAAY,EAGZ,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AAoBrC;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,WACxB,YAAY,EAAE,KACpB,YAUF,CAAC;AA2FF;;;;;;;;;;;;;GAaG;AACH,wBAAgB,2BAA2B,CAC1C,YAAY,GAAE,YAAkC,EAChD,YAAY,GAAE,OAAO,C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E,SAAS,CAAE,CAAE,OAAO,CAAE,SACrD,QAAQ,iBAAiB,CAAE,SAAS,CAAE,CAAE,OAAO,CAAE;iCAD7C,QAAQ,iBAAiB,CAAE,SAAS,CAAE,CAAE,OAAO,CAAE,SACrD,QAAQ,iBAAiB,CAAE,SAAS,CAAE,CAAE,OAAO,CAAE;;6BAiC/C,QAAQ,eAAe,CAAE,SAAS,CAAE;gCAApC,QAAQ,eAAe,CAAE,SAAS,CAAE;kCAApC,QAAQ,eAAe,CAAE,SAAS,CAAE;iCASlB,OAAO,SAAS,cAAc;gCAxBlD,QAAQ,cAAc,CAAE,SAAS,CAAE,CAAE,OAAO,CAAE;iCAA9C,QAAQ,cAAc,CAAE,SAAS,CAAE,CAAE,OAAO,CAAE;8BAA9C,QAAQ,cAAc,CAAE,SAAS,CAAE,CAAE,OAAO,CAAE;gCAnB1C,QAAQ,iBAAiB,CAAE,SAAS,CAAE,CAAE,OAAO,CAAE,SACrD,QAAQ,iBAAiB,CAAE,SAAS,CAAE,CAAE,OAAO,CAAE;;EAqEzD"}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * External dependencies
3
3
  */
4
- import type { CSSProperties, ReactNode, ChangeEvent, SyntheticEvent } from 'react';
4
+ import type { CSSProperties, ReactNode, ChangeEvent, SyntheticEvent, PointerEvent } from 'react';
5
5
  import type { useDrag } from '@use-gesture/react';
6
6
  /**
7
7
  * Internal dependencies
@@ -20,7 +20,7 @@ interface BaseProps {
20
20
  labelPosition?: LabelPosition;
21
21
  size?: Size;
22
22
  }
23
- export declare type InputChangeCallback<E = ChangeEvent<HTMLInputElement>, P = {}> = (nextValue: string | undefined, extra: {
23
+ export declare type InputChangeCallback<E = ChangeEvent<HTMLInputElement> | PointerEvent<HTMLInputElement>, P = {}> = (nextValue: string | undefined, extra: {
24
24
  event: E;
25
25
  } & P) => void;
26
26
  export interface InputFieldProps extends BaseProps {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src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E;AACvD;;;;;;;;;GASG;AACH,IAAI,CACH,uBAAuB,CAAE,eAAe,EAAE,OAAO,EAAE,KAAK,CAAE,EAC1D,cAAc,GAAG,QAAQ,GAAG,WAAW,GAAG,cAAc,CACxD;IACF,sBAAsB,CAAC,EAAE,eAAe,CAAE,cAAc,CAAE,CAAC;CAC3D;AAED,MAAM,WAAW,sBAAsB;IACtC,QAAQ,EAAE,SAAS,CAAC;IACpB,mBAAmB,CAAC,EAAE,SAAS,CAAE,qBAAqB,CAAE,CAAC;IACzD,aAAa,CAAC,EAAE,SAAS,CAAE,eAAe,CAAE,CAAC;IAC7C,IAAI,CAAC,EAAE,SAAS,CAAE,MAAM,CAAE,CAAC;CAC3B"}
@@ -1,6 +1,6 @@
1
- export function NumberControl({ __unstableStateReducer: stateReducer, className, dragDirection, hideHTMLArrows, isDragEnabled, isShiftStepEnabled, label, max, min, required, shiftStep, step, type: typeProp, value: valueProp, ...props }: {
1
+ export function NumberControl({ __unstableStateReducer: stateReducerProp, className, dragDirection, hideHTMLArrows, isDragEnabled, isShiftStepEnabled, label, max, min, required, shiftStep, step, type: typeProp, value: valueProp, ...props }: {
2
2
  [x: string]: any;
3
- __unstableStateReducer?: ((state: any) => any) | undefined;
3
+ __unstableStateReducer: any;
4
4
  className: any;
5
5
  dragDirection?: string | undefined;
6
6
  hideHTMLArrows?: boolean | undefined;
@@ -17,7 +17,7 @@ export function NumberControl({ __unstableStateReducer: stateReducer, className,
17
17
  }, ref: any): JSX.Element;
18
18
  declare var _default: import("react").ForwardRefExoticComponent<Pick<{
19
19
  [x: string]: any;
20
- __unstableStateReducer?: ((state: any) => any) | undefined;
20
+ __unstableStateReducer: any;
21
21
  className: any;
22
22
  dragDirection?: string | undefined;
23
23
  hideHTMLArrows?: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/number-control/index.js"],"names":[],"mappings":"AAqBA;;;;;;;;;;;;;;;;0BAuKC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/number-control/index.js"],"names":[],"mappings":"AAoBA;;;;;;;;;;;;;;;;0BAyKC"}
@@ -71,7 +71,7 @@ export const Tooltip: import("@emotion/styled").StyledComponent<{
71
71
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
72
72
  export const InputNumber: import("@emotion/styled").StyledComponent<Pick<{
73
73
  [x: string]: any;
74
- __unstableStateReducer?: ((state: any) => any) | undefined;
74
+ __unstableStateReducer: any;
75
75
  className: any;
76
76
  dragDirection?: string | undefined;
77
77
  hideHTMLArrows?: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"resize-tooltip.styles.d.ts","sourceRoot":"","sources":["../../../../src/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js"],"names":[],"mappings":"AAWA;;;0GAQE;AAEF;;;0GAQE;AAEF;;;0GAQE;AAKF;;;;;;WAOE"}
1
+ {"version":3,"file":"resize-tooltip.styles.d.ts","sourceRoot":"","sources":["../../../../src/resizable-box/resize-tooltip/styles/resize-tooltip.styles.js"],"names":[],"mappings":"AAWA;;;0GAQE;AAEF;;;0GAQE;AAEF;;;0GAQE;AAKF;;;;;;WAQE"}