@imfusion/web-ui 0.7.1-dev.1.g3b4d502e → 0.7.2-dev.3.g89ece49a
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/CHANGELOG.md +20 -0
- package/dist/style.css +1 -1
- package/dist/tokens/control-registry.d.ts +5 -0
- package/dist/tokens/types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { TokenControl } from './token-registry';
|
|
2
|
+
import { TokenOverrides } from './types';
|
|
2
3
|
/**
|
|
3
4
|
* Every {@link TokenControl}: a token with a live adjuster, spreading its data from
|
|
4
5
|
* `TOKEN_REGISTRY`. Semantic font aliases (`font-family-heading`/`-body`/`-ui`/`-code`) are
|
|
5
6
|
* `var()` indirections with no direct control, so they have no entry here.
|
|
6
7
|
*/
|
|
7
8
|
export declare const TOKEN_CONTROLS: readonly TokenControl[];
|
|
9
|
+
/** Storybook drops URL globals whose value holds quotes or commas, so select overrides travel as option ids. */
|
|
10
|
+
export declare function encodeOverrides(overrides: TokenOverrides): TokenOverrides;
|
|
11
|
+
/** Inverse of {@link encodeOverrides}; drops select overrides whose id matches no option. */
|
|
12
|
+
export declare function decodeOverrides(overrides: TokenOverrides): TokenOverrides;
|
package/dist/tokens/types.d.ts
CHANGED
package/package.json
CHANGED