@fluixi-ui/fx 0.1.0-alpha.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.
@@ -0,0 +1,100 @@
1
+ import type { BorderWidthProp, BorderWidthToken, ColorProp, ColorToken, DurationToken, EasingToken, FontFamilyToken, FontSizeToken, FontWeightToken, LetterSpacingToken, LineHeightToken, NegativeSpaceStep, OpacityToken, RadiusProp, RadiusToken, ShadowToken, SizeProp, SpaceProp, SpaceStep, UnitlessProp, ZIndexToken } from './scales.js';
2
+ import type { SelectorKey } from './selectors.js';
3
+ export type Breakpoint = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
4
+ /**
5
+ * A value, or that value varying by breakpoint. Mobile-first: `base` carries no
6
+ * media query, every other key is a `min-width`.
7
+ */
8
+ export type Responsive<T> = T | ({
9
+ base?: T;
10
+ } & Partial<Record<Breakpoint, T>>);
11
+ /** Keeps the token union's autocomplete while still accepting any raw CSS value. */
12
+ type Raw = string & {};
13
+ type PaletteStep = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
14
+ type StatusTint = 'solid' | 'fg' | 'subtle' | 'text';
15
+ /** A direct palette reference, for the rare case a semantic token doesn't fit. */
16
+ export type PaletteRef = `accent-${PaletteStep}` | `gray-${PaletteStep}` | `${'danger' | 'success' | 'warning'}-${StatusTint}`;
17
+ export type SpaceValue = SpaceStep | NegativeSpaceStep | Raw;
18
+ export type SizeValue = number | Raw;
19
+ export type ColorValue = ColorToken | PaletteRef | Raw;
20
+ export type RadiusValue = RadiusToken | number | Raw;
21
+ export type ShadowValue = ShadowToken | Raw;
22
+ export type BorderWidthValue = BorderWidthToken | number | Raw;
23
+ /** The value type a property accepts, decided by the scale it belongs to. */
24
+ type ValueFor<K> = K extends SpaceProp ? SpaceValue : K extends SizeProp ? SizeValue : K extends ColorProp ? ColorValue : K extends RadiusProp ? RadiusValue : K extends BorderWidthProp ? BorderWidthValue : K extends UnitlessProp ? number | Raw : K extends 'boxShadow' ? ShadowValue : K extends 'fontSize' ? FontSizeToken | number | Raw : K extends 'fontWeight' ? FontWeightToken | number | Raw : K extends 'lineHeight' ? LineHeightToken | number | Raw : K extends 'letterSpacing' ? LetterSpacingToken | number | Raw : K extends 'fontFamily' ? FontFamilyToken | Raw : K extends 'transitionDuration' | 'animationDuration' ? DurationToken | number | Raw : K extends 'transitionTimingFunction' | 'animationTimingFunction' ? EasingToken | Raw : K extends 'opacity' ? OpacityToken | number | Raw : K extends 'zIndex' ? ZIndexToken | number | Raw : string | number;
25
+ /**
26
+ * Every writable CSS property, taken from `CSSStyleDeclaration` — the string-valued
27
+ * members are exactly the properties, which drops its methods and `length`.
28
+ * Deliberately has no open index signature, so a misspelled property is an error.
29
+ */
30
+ type StyleProps = {
31
+ [K in keyof CSSStyleDeclaration as CSSStyleDeclaration[K] extends string ? K extends string ? K : never : never]?: Responsive<ValueFor<K>>;
32
+ };
33
+ /**
34
+ * Short names for what gets typed most, plus the two multi-side ones CSS has no
35
+ * single longhand for. `px`/`py` map to the logical properties, so they follow
36
+ * writing direction.
37
+ */
38
+ export interface FxAliases {
39
+ /** `padding` */
40
+ p?: Responsive<SpaceValue>;
41
+ /** `padding-inline` */
42
+ px?: Responsive<SpaceValue>;
43
+ /** `padding-block` */
44
+ py?: Responsive<SpaceValue>;
45
+ /** `margin` */
46
+ m?: Responsive<SpaceValue>;
47
+ /** `margin-inline` */
48
+ mx?: Responsive<SpaceValue>;
49
+ /** `margin-block` */
50
+ my?: Responsive<SpaceValue>;
51
+ /** `background-color` */
52
+ bg?: Responsive<ColorValue>;
53
+ /** `border-radius` */
54
+ radius?: Responsive<RadiusValue>;
55
+ /** `box-shadow` */
56
+ shadow?: Responsive<ShadowValue>;
57
+ }
58
+ type CustomProperties = {
59
+ [K in `--${string}`]?: Responsive<string | number>;
60
+ };
61
+ export type FxDeclarations = StyleProps & FxAliases & CustomProperties;
62
+ /**
63
+ * A container query. Keys are a breakpoint name or a raw condition (`'(min-width:
64
+ * 30rem)'`) — element-relative sizes often don't line up with the page breakpoint
65
+ * scale, so raw conditions are first-class rather than an escape hatch.
66
+ *
67
+ * An element can't query itself: the container is an ancestor that sets
68
+ * `containerType` (and `containerName` when using `name` here).
69
+ */
70
+ export type ContainerQuery = {
71
+ /** Query a named container rather than the nearest ancestor. */
72
+ name?: string;
73
+ } & {
74
+ [K in Breakpoint]?: FxObject;
75
+ } & {
76
+ [K in `(${string}`]?: FxObject;
77
+ };
78
+ /** A style object: declarations plus nested selector blocks, arbitrarily deep. */
79
+ export type FxObject = FxDeclarations & {
80
+ [K in SelectorKey]?: FxObject;
81
+ } & {
82
+ _container?: ContainerQuery;
83
+ };
84
+ /**
85
+ * What an `fx` prop accepts. The array form composes conditionally
86
+ * (`fx={[base, dense && { py: 1 }]}`) without ternaries inside the object.
87
+ */
88
+ export type FxInput = FxObject | (FxObject | false | null | undefined)[];
89
+ export type FxProp = FxInput | (() => FxInput) | false | null | undefined;
90
+ /** The result of resolving an `fx` object: what goes inline, and what needs a rule. */
91
+ export interface FxResult {
92
+ /** Declarations for the `style` attribute — flat values and every `base`. */
93
+ style: string;
94
+ /** Rule text for the stylesheet, already scoped to `[data-fx="<token>"]`. */
95
+ rules: string;
96
+ /** Hash of `rules`, or `undefined` when everything fitted inline. */
97
+ token: string | undefined;
98
+ }
99
+ export {};
100
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/lib/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,UAAU,EACV,aAAa,EACb,WAAW,EACX,eAAe,EACf,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,iBAAiB,EACjB,YAAY,EACZ,UAAU,EACV,WAAW,EACX,WAAW,EACX,QAAQ,EACR,SAAS,EACT,SAAS,EACT,YAAY,EACZ,WAAW,EACZ,MA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G,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC,EAAE,CAAC;AAEzE,MAAM,MAAM,MAAM,GAAG,OAAO,GAAG,CAAC,MAAM,OAAO,CAAC,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;AAE1E,uFAAuF;AACvF,MAAM,WAAW,QAAQ;IACvB,6EAA6E;IAC7E,KAAK,EAAE,MAAM,CAAC;IACd,6EAA6E;IAC7E,KAAK,EAAE,MAAM,CAAC;IACd,qEAAqE;IACrE,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ {"fileNames":["../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.d.ts","../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/modules/index.d.ts","../../tokens/src/lib/reference/index.ts","../../tokens/src/lib/reference/colors.ts","../../tokens/src/lib/css/index.ts","../../tokens/src/lib/vars/index.ts","../src/lib/scales.ts","../src/lib/selectors.ts","../src/lib/types.ts","../src/lib/hash.ts","../src/lib/resolve.ts","../src/lib/sheet.ts","../src/lib/merge.ts","../src/lib/color.ts","../../../node_modules/.pnpm/@fluixi+reactive@1.0.0-alpha.67/node_modules/@fluixi/reactive/dist/lib/observable/types.d.ts","../../../node_modules/.pnpm/@fluixi+reactive@1.0.0-alpha.67/node_modules/@fluixi/reactive/dist/lib/observable/subscription.d.ts","../../../node_modules/.pnpm/@fluixi+reactive@1.0.0-alpha.67/node_modules/@fluixi/reactive/dist/lib/observable/observable.d.ts","../../../node_modules/.pnpm/@fluixi+reactive@1.0.0-alpha.67/node_modules/@fluixi/reactive/dist/lib/signal/graph/detect.d.ts","../../../node_modules/.pnpm/@fluixi+reactive@1.0.0-alpha.67/node_modules/@fluixi/reactive/dist/lib/signal/graph/derived.d.ts","../../../node_modules/.pnpm/@fluixi+reactive@1.0.0-alpha.67/node_modules/@fluixi/reactive/dist/lib/signal/graph/runtime.d.ts","../../../node_modules/.pnpm/@fluixi+reactive@1.0.0-alpha.67/node_modules/@fluixi/reactive/dist/lib/signal/graph/compat.d.ts","../../../node_modules/.pnpm/@fluixi+reactive@1.0.0-alpha.67/node_modules/@fluixi/reactive/dist/lib/signal/graph/children.d.ts","../../../node_modules/.pnpm/@fluixi+reactive@1.0.0-alpha.67/node_modules/@fluixi/reactive/dist/lib/signal/graph/ssr-hooks.d.ts","../../../node_modules/.pnpm/@fluixi+reactive@1.0.0-alpha.67/node_modules/@fluixi/reactive/dist/lib/signal/signal.d.ts","../../../node_modules/.pnpm/@fluixi+reactive@1.0.0-alpha.67/node_modules/@fluixi/reactive/dist/lib/signal/list.d.ts","../../../node_modules/.pnpm/@fluixi+reactive@1.0.0-alpha.67/node_modules/@fluixi/reactive/dist/lib/signal/graph/resource.d.ts","../../../node_modules/.pnpm/@fluixi+reactive@1.0.0-alpha.67/node_modules/@fluixi/reactive/dist/lib/signal/graph/debounced.d.ts","../../../node_modules/.pnpm/@fluixi+reactive@1.0.0-alpha.67/node_modules/@fluixi/reactive/dist/lib/signal/graph/suspense.d.ts","../../../node_modules/.pnpm/@fluixi+reactive@1.0.0-alpha.67/node_modules/@fluixi/reactive/dist/lib/signal/graph/error-boundary.d.ts","../../../node_modules/.pnpm/@fluixi+reactive@1.0.0-alpha.67/node_modules/@fluixi/reactive/dist/lib/signal/graph/core.d.ts","../../../node_modules/.pnpm/@fluixi+reactive@1.0.0-alpha.67/node_modules/@fluixi/reactive/dist/lib/signal/graph/index.d.ts","../../../node_modules/.pnpm/@fluixi+reactive@1.0.0-alpha.67/node_modules/@fluixi/reactive/dist/lib/signal/graph/signal-next.d.ts","../../../node_modules/.pnpm/@fluixi+reactive@1.0.0-alpha.67/node_modules/@fluixi/reactive/dist/lib/signal/index.d.ts","../src/lib/props.ts","../src/index.ts"],"fileIdsList":[[75],[74],[80],[79],[80,85],[83],[89],[77,78,79,80,81,82,83,84,85,86,87,88,90],[91],[76,77,78,81,82],[60],[61,66,67,68,69,70,71,72,73,93],[61,66,68],[61],[61,68],[61,66,68,70,71,92],[61,62,66,67,68,69],[61,65],[61,64,68],[61,66,67],[61,62,63],[61,62,63,64]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"092c2bfe125ce69dbb1223c85d68d4d2397d7d8411867b5cc03cec902c233763","affectsGlobalScope":true,"impliedFormat":1},{"version":"07f073f19d67f74d732b1adea08e1dc66b1b58d77cb5b43931dee3d798a2fd53","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"b5ce7a470bc3628408429040c4e3a53a27755022a32fd05e2cb694e7015386c7","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6a5253138c5432c68a1510c70fe78a644fe2e632111ba778e1978010d6edfec","impliedFormat":1},{"version":"b8f34dd1757f68e03262b1ca3ddfa668a855b872f8bdd5224d6f993a7b37dc2c","impliedFormat":99},{"version":"389a64dd964a4005fb766a351b5a570ce0726948d80b5cf34b3b09c70f6f130b","impliedFormat":99},{"version":"026d46a2a5921b6cb8c966671050c233f3b3b97bd4e514160753b764c7666864","impliedFormat":99},{"version":"a31991e79dbf5e97dc83d3627fa359d92f9191d8c33c018edd2e9844c706991c","impliedFormat":99},{"version":"2048b7773e7a04fce802ad762fe92ae0d7084b2690a2e5f15e1a14a2b491e5d8","impliedFormat":99},{"version":"905c8567742a18f724a9d4c385b547f5e47997b4ff2bf0d08a349ed5c52a66d4","signature":"ef9d6ca243570744f460a86501480e822b3fb9ffef4ed24ee7e17e5256b30bdb","impliedFormat":99},{"version":"02982ef8ad540e47a9f19542492b846a944c2b23fdf900fa4a06e9c5cd0f5638","signature":"ca546d57f578a3ee221a46e676fd3aac73f09199900ef2afc452c2416c6d34af","impliedFormat":99},{"version":"820511441626cda4e046cc53af1de7284cd0fd4065f376056b7602e489a3c64b","signature":"4607800183b2a957052fbaab5581077f3bee97ffc6c50a1a839d71909eb023d3","impliedFormat":99},{"version":"4a81bf53c910e76f74399b10eeb020bc338c29f1412fe0fc850a8fb4874885f6","signature":"7606a2b8d4d66d3194f21720bafbe4b2b36bcb352e07457455619d871196481c","impliedFormat":99},{"version":"fd0ca036120dfad4c28087180eda70a88251178125b0010f59ca2ed7c2ec3f62","signature":"e9cfb2677c3db610778173a945d38b91ffbcd3eba481cf14cd1e7a45dfe28e28","impliedFormat":99},{"version":"861e1473e391f0aee42f69e0274b4bd6f859ab2a9daf812eccb574572f73a9c6","signature":"95cd7b14aeda3d9f16d25fdcab8f043d8019303c7704c85c821cbcecff8a25d5","impliedFormat":99},{"version":"9ec03edfed08b87e3e7a4770be717a0f2663c3c7ff69befaa44ba5614212825e","signature":"2e40910cd0b52deb574b3c8374863b0f1c50c8a070dac3408b59ba6adf8f70eb","impliedFormat":99},{"version":"a22679a26a559c76c687a0ca5214711a4bcd0ca08e0b8cbe6c955965ad25428d","signature":"7bbd275049dfdb7a5ddbd5e99d16962189bd3ce833a825e714f47f3bac82dba2","impliedFormat":99},{"version":"e592cf1b998ce8043e72ca38e2f40c5631e65e937e3102223f7086140bf979a3","impliedFormat":99},{"version":"0ceea501c52cdf869e3562ea96fca2785a3394a9e1e446afb5e11092ad2dc7fc","impliedFormat":99},{"version":"ebe92631232ee90bd0cd2668b349a8ecf869a42f94aa5a80505aaf7833be6819","impliedFormat":99},{"version":"892323d83df6c419a9f961e7156e70184b4a27638de72f7b92931ab3c165298e","impliedFormat":99},{"version":"ed51ea7ddcddfe0523b5a8d3112c55f8494f3f419ad6b830a1aac7dfe499a8ab","impliedFormat":99},{"version":"a019e43cfdb8932db17f07b2ce05cb654657d313dfdd6dca53fdced22f7ba0dd","impliedFormat":99},{"version":"96e415a91946f00ac400e74dfeb26b575aade405169df35621a822e6b4d5abf0","impliedFormat":99},{"version":"e8be3e24c3b98c301590ee0fefc462accc9a0f1fa674f62a3b63be9786ef9a99","impliedFormat":99},{"version":"e08f70018aeffb92654e466522e4b194b712da2091b20bdb0922c8441f2a43b7","impliedFormat":99},{"version":"97b4ab5a8db570e67a3a764a456486d97b8808b658e0e0a3eb9e38b63270d086","impliedFormat":99},{"version":"1f33d92b487c119aee6f7cf04ac95c0dab317c228b388fead9d7d87540f8adf7","impliedFormat":99},{"version":"798f48083dfeac05e00998bd1e9dc419ec5b65322113d350e28f99ce8054d625","impliedFormat":99},{"version":"b2ac34637ed1f51961fe479ac633499645b1ddf546c5139bc0b546889570fe7c","impliedFormat":99},{"version":"c03135439ad665f4a011a75586bf96098f6fe0b0716e78afc8cdf651bcc8f879","impliedFormat":99},{"version":"290111961dc134d534be036cd591c09a0e65ceed2fcf9aa9666ae2bcdac7034f","impliedFormat":99},{"version":"ac292cffbb31f9c76b09f7b0c630cfc2b9c7e5070dfc4472cfc60023ec447bd2","impliedFormat":99},{"version":"ac23329299d15c989ebe7e62bb1858a58de39aa3cd4fb1265e93ddc6d9631b07","impliedFormat":99},{"version":"05b270bdfc936941a5558e49217eadcd49403eb547459fa4225ba487cdfde93e","impliedFormat":99},{"version":"1122b4ca26147813c76ac7a2f38911854cb2bd5cf0af003f578175f3db1c3aee","impliedFormat":99},{"version":"1f4be93547a7bef25bf896e0773da3181b0d85af10ef544713f00e3e29c1a066","signature":"ba02f65e340a5c3fe561d748cdd6321c404d24ca36913a52f3dbadffbbdcc093","impliedFormat":99},{"version":"a308d4172d4d39b95cd367dc57726bb18d37ab1c7204c0524b4022eb7cfb6340","impliedFormat":99}],"root":[[66,73],93,94],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":false,"importHelpers":true,"module":199,"noEmitOnError":true,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noUnusedLocals":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"strict":true,"target":9,"tsBuildInfoFile":"./tsconfig.lib.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[76,1],[75,2],[74,1],[81,3],[80,4],[86,5],[78,6],[77,6],[88,4],[90,7],[91,8],[87,4],[92,9],[84,3],[83,10],[61,11],[94,12],[73,13],[69,14],[72,15],[93,16],[70,17],[66,18],[67,14],[71,19],[68,20],[64,21],[63,14],[62,14],[65,22]],"latestChangedDtsFile":"./index.d.ts","version":"5.8.3"}
package/package.json ADDED
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "@fluixi-ui/fx",
3
+ "version": "0.1.0-alpha.0",
4
+ "description": "Token-aware style objects for the Fluixi UI ecosystem — the `fx` prop engine",
5
+ "license": "MIT",
6
+ "private": false,
7
+ "type": "module",
8
+ "publishConfig": {
9
+ "registry": "https://registry.npmjs.org/",
10
+ "access": "public"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/fluixi/ui.git",
15
+ "directory": "packages/fx"
16
+ },
17
+ "sideEffects": false,
18
+ "main": "./dist/index.js",
19
+ "module": "./dist/index.js",
20
+ "types": "./dist/index.d.ts",
21
+ "files": [
22
+ "dist",
23
+ "README.md",
24
+ "LICENSE"
25
+ ],
26
+ "exports": {
27
+ "./package.json": "./package.json",
28
+ ".": {
29
+ "types": "./dist/index.d.ts",
30
+ "import": "./dist/index.js",
31
+ "default": "./dist/index.js"
32
+ }
33
+ },
34
+ "peerDependencies": {
35
+ "@fluixi/reactive": ">=1.0.0-alpha.41"
36
+ },
37
+ "dependencies": {
38
+ "@fluixi-ui/tokens": "0.4.0-alpha.11"
39
+ },
40
+ "devDependencies": {
41
+ "@fluixi/reactive": "alpha"
42
+ },
43
+ "scripts": {
44
+ "build": "tsc -p tsconfig.lib.json",
45
+ "test": "vitest run",
46
+ "test:watch": "vitest"
47
+ }
48
+ }