@engenty/wizards 0.9.2 → 0.9.3
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/openui/index.d.ts +9 -2
- package/dist/openui/index.js +2014 -1957
- package/dist/openui/index.js.map +1 -1
- package/package.json +1 -1
package/dist/openui/index.d.ts
CHANGED
|
@@ -196,6 +196,13 @@ declare type ListShape = Named & {
|
|
|
196
196
|
of: LeafShape | ObjectShape;
|
|
197
197
|
};
|
|
198
198
|
|
|
199
|
+
/**
|
|
200
|
+
* Loads the fonts a theme names, as the wizard's own page does: the brand's from their source,
|
|
201
|
+
* the shipped ones from the runtime at `runtime`, and the shipped font of its kind where a brand
|
|
202
|
+
* font fails.
|
|
203
|
+
*/
|
|
204
|
+
export declare function loadLookFonts(look: RunTheme, runtime: string): void;
|
|
205
|
+
|
|
199
206
|
/** Reads the published wizards behind these tokens from a runtime; ones it cannot read are left out. */
|
|
200
207
|
export declare function loadWizards(runtimeUrl: string, tokens: string[]): Promise<WizardInfo[]>;
|
|
201
208
|
|
|
@@ -1729,8 +1736,8 @@ export declare interface WizardInfo {
|
|
|
1729
1736
|
/**
|
|
1730
1737
|
* A theme's values as props for the runner's element: colours, fonts by family and the corner
|
|
1731
1738
|
* radius as `--wizard-*` variables, how cards and headings look as data attributes, and of the
|
|
1732
|
-
* effects only those the host turns on and the card can draw. A brand font
|
|
1733
|
-
*
|
|
1739
|
+
* effects only those the host turns on and the card can draw. A brand font with a source names
|
|
1740
|
+
* the shipped font of its kind next, which shows where it does not load (`loadLookFonts`).
|
|
1734
1741
|
*/
|
|
1735
1742
|
export declare function wizardLook(look: RunTheme, options?: WizardLookOptions): WizardLookProps;
|
|
1736
1743
|
|