@rippling/pebble-sdui-mobile 0.14.0 → 0.15.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/2020-BHvuyx7H.cjs +9 -0
- package/dist/2020-BHvuyx7H.cjs.map +1 -0
- package/dist/2020-CtiehJXS.js +4988 -0
- package/dist/2020-CtiehJXS.js.map +1 -0
- package/dist/catalogs/core/action-params.d.ts +24 -0
- package/dist/catalogs/core/actions.d.ts +8 -0
- package/dist/catalogs/core/catalog.d.ts +33 -0
- package/dist/catalogs/core/component-events.d.ts +87 -0
- package/dist/catalogs/core/component-props.d.ts +1866 -0
- package/dist/catalogs/core/components.d.ts +88 -0
- package/dist/catalogs/core/function-params.d.ts +36 -0
- package/dist/catalogs/core/functions.d.ts +37 -0
- package/dist/catalogs/core/index.cjs +3 -0
- package/dist/catalogs/core/index.cjs.map +1 -0
- package/dist/catalogs/core/index.d.ts +15 -0
- package/dist/catalogs/core/index.js +11070 -0
- package/dist/catalogs/core/index.js.map +1 -0
- package/dist/catalogs/core/render.d.ts +20 -0
- package/dist/catalogs/custom-apps/index.cjs +2 -9
- package/dist/catalogs/custom-apps/index.cjs.map +1 -1
- package/dist/catalogs/custom-apps/index.js +188 -5172
- package/dist/catalogs/custom-apps/index.js.map +1 -1
- package/dist/docs/typescript/mobile/catalogs/core/actions.md +151 -0
- package/dist/docs/typescript/mobile/catalogs/core/components.md +2314 -0
- package/dist/docs/typescript/mobile/catalogs/core/computed-functions.md +162 -0
- package/dist/docs/typescript/mobile/catalogs/core/definitions.md +3894 -0
- package/dist/docs/typescript/mobile/catalogs/core/readme.md +16 -0
- package/dist/docs/typescript/mobile/catalogs/core/types.md +1585 -0
- package/package.json +6 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementNode } from '../../core/elements';
|
|
2
|
+
import { CoreSpec } from '../../core/spec';
|
|
3
|
+
export interface CatalogSpec extends CoreSpec {
|
|
4
|
+
platform: 'mobile';
|
|
5
|
+
catalog: string;
|
|
6
|
+
catalogVersion: string;
|
|
7
|
+
}
|
|
8
|
+
type CatalogElementNode = ElementNode<'mobile', 'core'>;
|
|
9
|
+
/**
|
|
10
|
+
* Render an element tree into a flat json-render spec tagged with
|
|
11
|
+
* the core catalog name and version.
|
|
12
|
+
*
|
|
13
|
+
* This is the catalog-level render — consumers import this instead
|
|
14
|
+
* of using createSpec().render() directly.
|
|
15
|
+
*/
|
|
16
|
+
export declare function render<TState extends object = Record<string, unknown>>(opts: {
|
|
17
|
+
root: CatalogElementNode;
|
|
18
|
+
state?: TState;
|
|
19
|
+
}): CatalogSpec;
|
|
20
|
+
export {};
|