@redneckz/wildless-cms-uni-blocks 0.14.509 → 0.14.511
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/bin/migration-scripts/0.14.509.js +29 -0
- package/bundle/bundle.umd.js +2 -2
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/ui-kit/Input/inputValidStyle.d.ts +1 -1
- package/dist/ui-kit/Input/inputValidStyle.d.ts +1 -1
- package/dist/ui-kit/Input/inputValidStyle.js +1 -1
- package/dist/ui-kit/Input/inputValidStyle.js.map +1 -1
- package/lib/ui-kit/Input/inputValidStyle.d.ts +1 -1
- package/lib/ui-kit/Input/inputValidStyle.js +1 -1
- package/lib/ui-kit/Input/inputValidStyle.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +2 -2
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/ui-kit/Input/inputValidStyle.d.ts +1 -1
- package/mobile/dist/ui-kit/Input/inputValidStyle.d.ts +1 -1
- package/mobile/dist/ui-kit/Input/inputValidStyle.js +1 -1
- package/mobile/dist/ui-kit/Input/inputValidStyle.js.map +1 -1
- package/mobile/lib/ui-kit/Input/inputValidStyle.d.ts +1 -1
- package/mobile/lib/ui-kit/Input/inputValidStyle.js +1 -1
- package/mobile/lib/ui-kit/Input/inputValidStyle.js.map +1 -1
- package/mobile/src/ui-kit/Input/inputValidStyle.tsx +1 -1
- package/package.json +1 -1
- package/src/ui-kit/Input/inputValidStyle.tsx +1 -1
- package/bin/migration-scripts/0.14.505.js +0 -62
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { traversePageBlocks } from '../utils.js';
|
|
2
|
+
|
|
3
|
+
export const description = 'v0.14.509';
|
|
4
|
+
|
|
5
|
+
export default traversePageBlocks(adjustClearContent);
|
|
6
|
+
|
|
7
|
+
function adjustClearContent(block) {
|
|
8
|
+
const content = block?.content;
|
|
9
|
+
|
|
10
|
+
if (!content) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
deleteProperty(block, 'isBlur');
|
|
15
|
+
deleteProperty(block, 'isCycle');
|
|
16
|
+
deleteProperty(block, 'isAlignCenter');
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const deleteProperty = (block, prop) => {
|
|
20
|
+
if (block?.content && prop in block.content) {
|
|
21
|
+
Reflect.deleteProperty(block.content, prop);
|
|
22
|
+
}
|
|
23
|
+
if (!block?.mobile?.content) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
if (prop in block.mobile.content) {
|
|
27
|
+
Reflect.deleteProperty(block.mobile.content, prop);
|
|
28
|
+
}
|
|
29
|
+
};
|
package/bundle/bundle.umd.js
CHANGED
|
@@ -1192,7 +1192,7 @@
|
|
|
1192
1192
|
|
|
1193
1193
|
const renderLabel = (label) => label ? (jsx(Text, { size: "text-m", color: "text-primary-text", font: "font-light", children: label })) : null;
|
|
1194
1194
|
|
|
1195
|
-
const inputValidStyle = 'border border-solid outline-none border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text';
|
|
1195
|
+
const inputValidStyle = 'border border-solid outline-none border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text rounded';
|
|
1196
1196
|
|
|
1197
1197
|
const Input = JSX(({ key, className = '', id, name, type = 'text', label, placeholder, value = '', valid = true, children, onChange, onFocus, onBlur, pattern, autoFocus = false, isTextarea = false, }) => {
|
|
1198
1198
|
const inputRef = useRef(null);
|
|
@@ -6452,7 +6452,7 @@
|
|
|
6452
6452
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
6453
6453
|
});
|
|
6454
6454
|
|
|
6455
|
-
const packageVersion = "0.14.
|
|
6455
|
+
const packageVersion = "0.14.510";
|
|
6456
6456
|
|
|
6457
6457
|
exports.Blocks = Blocks;
|
|
6458
6458
|
exports.ContentPage = ContentPage;
|