@wix/himalaya-cli 0.1938.0 → 0.1940.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.
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/app-config.d.ts +1 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +2 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +9 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +48 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +12 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +12 -0
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{e5837d5c411f8725fbfe259349eee3e04e53eb313ff505c35d46a14d80cfb484.bin → e113c7cdcf8f56ad861b2564505fab2a1975c7a995f92d2f999f9c4ce1a09a40.bin} +1 -1
- package/dist/browser-plane/sw.js +9 -9
- package/dist/cli.mjs +373 -194
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/component-index.md +2 -2
- package/guides/component-reference.json +2 -2
- package/guides/component-reference.md +9 -0
- package/guides/designing-himi-screens.md +1 -0
- package/package.json +2 -2
|
@@ -587,6 +587,8 @@ export declare function button(props: {
|
|
|
587
587
|
size?: "sm" | "md" | "lg";
|
|
588
588
|
fullWidth?: boolean;
|
|
589
589
|
iconOnly?: boolean;
|
|
590
|
+
/** The space between the face's edge and its content, each side, in points; unset keeps the size's padding. */
|
|
591
|
+
horizontalPadding?: number;
|
|
590
592
|
cornerRadius?: number;
|
|
591
593
|
minHeight?: number;
|
|
592
594
|
minWidth?: number;
|
package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts
CHANGED
|
@@ -168,6 +168,9 @@ export interface Modifiers {
|
|
|
168
168
|
/** #6256 — "tap": a tap inside this node that no control handles dismisses the software keyboard
|
|
169
169
|
* (RN `keyboardShouldPersistTaps="handled"`); controls keep their taps. Unknown ⇒ off. */
|
|
170
170
|
keyboardDismiss?: string;
|
|
171
|
+
/** #4675 — the border drawn while a text field inside this node has focus, in place of `border` (CSS
|
|
172
|
+
* `:focus-within`). Follows the node's corner radius. Unset ⇒ `border` in both states. */
|
|
173
|
+
focusWithinBorder?: Border;
|
|
171
174
|
/** A `$service:`/`$app:` path to a {@link Paint} a worker computes at run time. Its colors merge over the
|
|
172
175
|
* literal `theme.colors`; its background and gradient win over the literal ones. Unresolved or not an
|
|
173
176
|
* object ⇒ the literal paint. */
|
|
@@ -1006,6 +1009,12 @@ export interface ButtonProps {
|
|
|
1006
1009
|
/** The visible minimum width of a button that keeps its own width, in place of the floor it has without one (web 64,
|
|
1007
1010
|
* Android Material's 58; iOS draws none). 0 = no floor: the label and its padding. A share of a row wins over it. */
|
|
1008
1011
|
minWidth?: number;
|
|
1012
|
+
/**
|
|
1013
|
+
* The space between the face's edge and its content (icon, title), each side, in points. Unset:
|
|
1014
|
+
* the size's padding (or the `controls.button` token's). A compact pill sized to its label sets
|
|
1015
|
+
* it lower; an older binary keeps the size's padding.
|
|
1016
|
+
*/
|
|
1017
|
+
horizontalPadding?: number;
|
|
1009
1018
|
}
|
|
1010
1019
|
export type Keyboard = "default" | "email" | "phone" | "number" | "url" | "decimal";
|
|
1011
1020
|
export type AutoCapitalization = "none" | "words" | "sentences" | "characters";
|
package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts
CHANGED
|
@@ -1341,6 +1341,30 @@ export declare const screenDescriptorSchema: {
|
|
|
1341
1341
|
readonly keyboardDismiss: {
|
|
1342
1342
|
readonly type: "string";
|
|
1343
1343
|
};
|
|
1344
|
+
readonly focusWithinBorder: {
|
|
1345
|
+
readonly type: "object";
|
|
1346
|
+
readonly additionalProperties: false;
|
|
1347
|
+
readonly required: readonly ["width", "color"];
|
|
1348
|
+
readonly properties: {
|
|
1349
|
+
readonly width: {
|
|
1350
|
+
readonly type: "integer";
|
|
1351
|
+
readonly minimum: 0;
|
|
1352
|
+
};
|
|
1353
|
+
readonly color: {
|
|
1354
|
+
readonly $ref: "#/$defs/tokenRef";
|
|
1355
|
+
};
|
|
1356
|
+
readonly inset: {
|
|
1357
|
+
readonly type: "boolean";
|
|
1358
|
+
};
|
|
1359
|
+
readonly edges: {
|
|
1360
|
+
readonly type: "array";
|
|
1361
|
+
readonly items: {
|
|
1362
|
+
readonly type: "string";
|
|
1363
|
+
readonly enum: readonly ["top", "bottom", "leading", "trailing"];
|
|
1364
|
+
};
|
|
1365
|
+
};
|
|
1366
|
+
};
|
|
1367
|
+
};
|
|
1344
1368
|
readonly paintPath: {
|
|
1345
1369
|
readonly type: "string";
|
|
1346
1370
|
};
|
|
@@ -3046,6 +3070,30 @@ export declare const widgetSnapshotSchema: {
|
|
|
3046
3070
|
readonly keyboardDismiss: {
|
|
3047
3071
|
readonly type: "string";
|
|
3048
3072
|
};
|
|
3073
|
+
readonly focusWithinBorder: {
|
|
3074
|
+
readonly type: "object";
|
|
3075
|
+
readonly additionalProperties: false;
|
|
3076
|
+
readonly required: readonly ["width", "color"];
|
|
3077
|
+
readonly properties: {
|
|
3078
|
+
readonly width: {
|
|
3079
|
+
readonly type: "integer";
|
|
3080
|
+
readonly minimum: 0;
|
|
3081
|
+
};
|
|
3082
|
+
readonly color: {
|
|
3083
|
+
readonly $ref: "#/$defs/tokenRef";
|
|
3084
|
+
};
|
|
3085
|
+
readonly inset: {
|
|
3086
|
+
readonly type: "boolean";
|
|
3087
|
+
};
|
|
3088
|
+
readonly edges: {
|
|
3089
|
+
readonly type: "array";
|
|
3090
|
+
readonly items: {
|
|
3091
|
+
readonly type: "string";
|
|
3092
|
+
readonly enum: readonly ["top", "bottom", "leading", "trailing"];
|
|
3093
|
+
};
|
|
3094
|
+
};
|
|
3095
|
+
};
|
|
3096
|
+
};
|
|
3049
3097
|
readonly paintPath: {
|
|
3050
3098
|
readonly type: "string";
|
|
3051
3099
|
};
|
|
@@ -9804,6 +9804,18 @@ var screenDescriptorSchema = {
|
|
|
9804
9804
|
imagePreview: { type: "string" },
|
|
9805
9805
|
topInset: { type: "string" },
|
|
9806
9806
|
keyboardDismiss: { type: "string" },
|
|
9807
|
+
// #4675 — the border while a field inside has focus; same shape as `border`.
|
|
9808
|
+
focusWithinBorder: {
|
|
9809
|
+
type: "object",
|
|
9810
|
+
additionalProperties: false,
|
|
9811
|
+
required: ["width", "color"],
|
|
9812
|
+
properties: {
|
|
9813
|
+
width: { type: "integer", minimum: 0 },
|
|
9814
|
+
color: { $ref: "#/$defs/tokenRef" },
|
|
9815
|
+
inset: { type: "boolean" },
|
|
9816
|
+
edges: { type: "array", items: { type: "string", enum: ["top", "bottom", "leading", "trailing"] } }
|
|
9817
|
+
}
|
|
9818
|
+
},
|
|
9807
9819
|
paintPath: { type: "string" },
|
|
9808
9820
|
ambientMotion: {
|
|
9809
9821
|
type: "object",
|
|
@@ -7762,6 +7762,18 @@ var screenDescriptorSchema = {
|
|
|
7762
7762
|
imagePreview: { type: "string" },
|
|
7763
7763
|
topInset: { type: "string" },
|
|
7764
7764
|
keyboardDismiss: { type: "string" },
|
|
7765
|
+
// #4675 — the border while a field inside has focus; same shape as `border`.
|
|
7766
|
+
focusWithinBorder: {
|
|
7767
|
+
type: "object",
|
|
7768
|
+
additionalProperties: false,
|
|
7769
|
+
required: ["width", "color"],
|
|
7770
|
+
properties: {
|
|
7771
|
+
width: { type: "integer", minimum: 0 },
|
|
7772
|
+
color: { $ref: "#/$defs/tokenRef" },
|
|
7773
|
+
inset: { type: "boolean" },
|
|
7774
|
+
edges: { type: "array", items: { type: "string", enum: ["top", "bottom", "leading", "trailing"] } }
|
|
7775
|
+
}
|
|
7776
|
+
},
|
|
7765
7777
|
paintPath: { type: "string" },
|
|
7766
7778
|
ambientMotion: {
|
|
7767
7779
|
type: "object",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"files": [
|
|
3
3
|
{
|
|
4
4
|
"name": "sw.js",
|
|
5
|
-
"bytes":
|
|
5
|
+
"bytes": 2826149
|
|
6
6
|
},
|
|
7
7
|
{
|
|
8
8
|
"name": "host.html",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"bytes": 24320
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
"name": "preview-deferred/
|
|
24
|
+
"name": "preview-deferred/e113c7cdcf8f56ad861b2564505fab2a1975c7a995f92d2f999f9c4ce1a09a40.bin",
|
|
25
25
|
"bytes": 488215
|
|
26
26
|
},
|
|
27
27
|
{
|
|
@@ -79,10 +79,10 @@
|
|
|
79
79
|
],
|
|
80
80
|
"deferred": [
|
|
81
81
|
{
|
|
82
|
-
"key": "assets/pdf-
|
|
82
|
+
"key": "assets/pdf-BZQfgqN2.js",
|
|
83
83
|
"contentType": "application/javascript; charset=utf-8",
|
|
84
|
-
"sha256": "
|
|
85
|
-
"file": "preview-deferred/
|
|
84
|
+
"sha256": "e113c7cdcf8f56ad861b2564505fab2a1975c7a995f92d2f999f9c4ce1a09a40",
|
|
85
|
+
"file": "preview-deferred/e113c7cdcf8f56ad861b2564505fab2a1975c7a995f92d2f999f9c4ce1a09a40.bin"
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
"key": "assets/pdf.worker.min-BGnVRhRG.js",
|