@plaudit/gutenberg-api-extensions 2.55.0 → 2.56.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/build/blocks/SNPFlexibleItemsListComponent.d.ts +18 -0
- package/build/blocks/SNPFlexibleItemsListComponent.js +15 -0
- package/build/blocks/SNPFlexibleItemsListComponent.js.map +1 -0
- package/build/blocks/common-native-property-constructors.d.ts +12 -2
- package/build/blocks/common-native-property-constructors.js +84 -30
- package/build/blocks/common-native-property-constructors.js.map +1 -1
- package/build/blocks/data-controller.d.ts +1 -0
- package/build/blocks/data-controller.js +47 -19
- package/build/blocks/data-controller.js.map +1 -1
- package/build/blocks/layout/LaidOutProperty.js +1 -1
- package/build/blocks/layout/LaidOutProperty.js.map +1 -1
- package/build/blocks/simple-native-property-api.d.ts +10 -2
- package/build/blocks/simple-native-property-api.js.map +1 -1
- package/build/blocks/simple-native-property-internal-shared.d.ts +1 -1
- package/build/blocks/simple-native-property-internal-shared.js +6 -7
- package/build/blocks/simple-native-property-internal-shared.js.map +1 -1
- package/build/blocks/snp-api.d.ts +2 -0
- package/build/blocks/snp-api.js +3 -0
- package/build/blocks/snp-api.js.map +1 -1
- package/build/controls/BaseSortableItemsControl.d.ts +21 -0
- package/build/controls/BaseSortableItemsControl.js +66 -0
- package/build/controls/BaseSortableItemsControl.js.map +1 -0
- package/build/controls/SortableFlexibleItemsControl.d.ts +13 -0
- package/build/controls/SortableFlexibleItemsControl.js +15 -0
- package/build/controls/SortableFlexibleItemsControl.js.map +1 -0
- package/build/controls/SortableItemsControl.d.ts +3 -16
- package/build/controls/SortableItemsControl.js +10 -65
- package/build/controls/SortableItemsControl.js.map +1 -1
- package/build/controls/index.d.ts +2 -0
- package/build/controls/index.js +2 -0
- package/build/controls/index.js.map +1 -1
- package/build/controls/types.d.ts +5 -0
- package/package.json +1 -1
- package/styles/editor.pcss +12 -0
- package/styles/sortable-items-control.pcss +8 -0
package/styles/editor.pcss
CHANGED
|
@@ -80,3 +80,15 @@
|
|
|
80
80
|
outline: 2px solid var(--plaudit-gae-validation-error-text);
|
|
81
81
|
outline-offset: 0;
|
|
82
82
|
}
|
|
83
|
+
|
|
84
|
+
/* Makes the clear button on the color picker display inline - credit: Clint */
|
|
85
|
+
/* We're using nth-child(5) because if there are 5 or more items, we can no longer keep the clear button inline */
|
|
86
|
+
[data-plaudit-snp-control-type="colorPalette"] .components-circular-option-picker > *:not(:has([class*="__option-wrapper"]:nth-child(5))) {
|
|
87
|
+
display: inline-block;
|
|
88
|
+
|
|
89
|
+
& + * {
|
|
90
|
+
display: inline-block;
|
|
91
|
+
margin-block-start: 0;
|
|
92
|
+
vertical-align: middle;
|
|
93
|
+
}
|
|
94
|
+
}
|