@wix/himalaya-cli 0.1757.0 → 0.1758.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/builder.d.ts +4 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +11 -0
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{b8744c590c3f434f1aca03f906776ac965a38a1f860bff2e12deb5915ed6659d.bin → 405dfc16644ad9b929eab313a1b9c4612889a180e7f612d554d3d38620369552.bin} +1 -1
- package/dist/browser-plane/sw.js +6 -6
- package/dist/cli.mjs +118 -90
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/component-reference.json +5 -2
- package/guides/component-reference.md +12 -1
- package/package.json +2 -2
|
@@ -1408,6 +1408,10 @@ export declare function pageControl(props: {
|
|
|
1408
1408
|
count?: number;
|
|
1409
1409
|
currentIndex?: number;
|
|
1410
1410
|
onChange?: ActionShape;
|
|
1411
|
+
/** `$service:` path to the page count; wins over `count` once it resolves. */
|
|
1412
|
+
countPath?: string;
|
|
1413
|
+
/** `$service:` path to the current page; wins over `currentIndex`. A tap fires `onChange`, the worker writes it back. */
|
|
1414
|
+
currentIndexPath?: string;
|
|
1411
1415
|
}, opts?: {
|
|
1412
1416
|
id?: string;
|
|
1413
1417
|
}): Component;
|
package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts
CHANGED
|
@@ -2077,6 +2077,17 @@ export interface PageControlProps {
|
|
|
2077
2077
|
count?: number;
|
|
2078
2078
|
currentIndex?: number;
|
|
2079
2079
|
onChange?: Action;
|
|
2080
|
+
/**
|
|
2081
|
+
* `$service:` path to the page count; wins over `count` once it resolves to an integer.
|
|
2082
|
+
* Inside a bound row the substituted literal is read the same way.
|
|
2083
|
+
*/
|
|
2084
|
+
countPath?: string;
|
|
2085
|
+
/**
|
|
2086
|
+
* `$service:` path to the current page (0-based); wins over `currentIndex` once it resolves to
|
|
2087
|
+
* an integer. On iOS and Android a tap fires `onChange` with `args.index` and the worker writes it
|
|
2088
|
+
* back; the web and React Native dots are display-only.
|
|
2089
|
+
*/
|
|
2090
|
+
currentIndexPath?: string;
|
|
2080
2091
|
}
|
|
2081
2092
|
export interface WheelPickerProps {
|
|
2082
2093
|
options?: PickerOption[];
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"files": [
|
|
3
3
|
{
|
|
4
4
|
"name": "sw.js",
|
|
5
|
-
"bytes":
|
|
5
|
+
"bytes": 2573744
|
|
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/405dfc16644ad9b929eab313a1b9c4612889a180e7f612d554d3d38620369552.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-CoI7Swjs.js",
|
|
83
83
|
"contentType": "application/javascript; charset=utf-8",
|
|
84
|
-
"sha256": "
|
|
85
|
-
"file": "preview-deferred/
|
|
84
|
+
"sha256": "405dfc16644ad9b929eab313a1b9c4612889a180e7f612d554d3d38620369552",
|
|
85
|
+
"file": "preview-deferred/405dfc16644ad9b929eab313a1b9c4612889a180e7f612d554d3d38620369552.bin"
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
"key": "assets/pdf.worker.min-BGnVRhRG.js",
|