@pyreon/unistyle 0.33.0 → 0.35.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/lib/index.d.ts +263 -141
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +326 -57
- package/lib/index.js.map +1 -1
- package/package.json +7 -7
package/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VNode } from "@pyreon/core";
|
|
1
|
+
import { ComponentFn, VNode } from "@pyreon/core";
|
|
2
2
|
import { context } from "@pyreon/ui-core";
|
|
3
3
|
|
|
4
4
|
//#region src/enrichTheme.d.ts
|
|
@@ -170,147 +170,61 @@ declare function themeToCssVars<T extends object, const Ex extends readonly stri
|
|
|
170
170
|
*/
|
|
171
171
|
declare function resolveCssVarReferences<T>(input: T, registry: ReadonlyMap<string, string>): T;
|
|
172
172
|
//#endregion
|
|
173
|
-
//#region src/
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
//#region src/responsive/sortBreakpoints.d.ts
|
|
197
|
-
type SortBreakpoints = <T extends Record<string, number>>(breakpoints: T) => (keyof T)[];
|
|
198
|
-
declare const sortBreakpoints: SortBreakpoints;
|
|
199
|
-
//#endregion
|
|
200
|
-
//#region src/responsive/makeItResponsive.d.ts
|
|
201
|
-
type Css$1 = (strings: TemplateStringsArray, ...values: any[]) => any;
|
|
202
|
-
type CustomTheme = Record<string, unknown>;
|
|
203
|
-
type Theme$1 = Partial<{
|
|
204
|
-
rootSize: number;
|
|
205
|
-
breakpoints: Record<string, number>;
|
|
206
|
-
__PYREON__: Partial<{
|
|
207
|
-
media: ReturnType<typeof createMediaQueries>;
|
|
208
|
-
sortedBreakpoints: ReturnType<typeof sortBreakpoints>;
|
|
209
|
-
}>;
|
|
210
|
-
}> & CustomTheme;
|
|
211
|
-
type MakeItResponsiveStyles<T extends Partial<Record<string, any>> = Partial<Record<string, unknown>>> = ({
|
|
212
|
-
theme,
|
|
213
|
-
css,
|
|
214
|
-
rootSize,
|
|
215
|
-
globalTheme
|
|
216
|
-
}: {
|
|
217
|
-
theme: T;
|
|
218
|
-
css: Css$1;
|
|
219
|
-
rootSize?: number | undefined;
|
|
220
|
-
globalTheme?: Record<string, unknown> | undefined;
|
|
221
|
-
}) => ReturnType<typeof css> | string;
|
|
222
|
-
type MakeItResponsive = ({
|
|
223
|
-
theme,
|
|
224
|
-
key,
|
|
225
|
-
css,
|
|
226
|
-
styles,
|
|
227
|
-
normalize
|
|
228
|
-
}: {
|
|
229
|
-
theme?: CustomTheme;
|
|
230
|
-
key?: string;
|
|
231
|
-
css: Css$1;
|
|
232
|
-
styles: MakeItResponsiveStyles;
|
|
233
|
-
normalize?: boolean;
|
|
234
|
-
}) => (props: {
|
|
235
|
-
theme?: Theme$1;
|
|
236
|
-
[prop: string]: unknown;
|
|
237
|
-
}) => ReturnType<Css$1> | string | unknown[];
|
|
173
|
+
//#region src/cpse.d.ts
|
|
174
|
+
/** The two halves of an extracted style declaration. */
|
|
175
|
+
interface ExtractedStyleVar {
|
|
176
|
+
/**
|
|
177
|
+
* Value-agnostic CSS declaration, e.g. `"gap:var(--u-1n2k4)"`. Identical for
|
|
178
|
+
* every value of this property, so the styler resolves + inserts it exactly
|
|
179
|
+
* ONCE per component definition regardless of how many distinct values the
|
|
180
|
+
* app renders.
|
|
181
|
+
*/
|
|
182
|
+
rule: string;
|
|
183
|
+
/** Custom-property name, e.g. `"--u-1n2k4"`. Set inline per instance. */
|
|
184
|
+
varName: string;
|
|
185
|
+
/**
|
|
186
|
+
* The value converted via the SAME shipped `value()` pipeline the
|
|
187
|
+
* value-baked path uses (number → rem, unit strings passthrough, `var()` /
|
|
188
|
+
* `calc()` passthrough). Set as the inline custom-property value, so the
|
|
189
|
+
* computed style is byte-identical to baking the value into the rule.
|
|
190
|
+
* `null` when the input isn't a value (so the caller can omit the inline
|
|
191
|
+
* property — the declaration then has no effect, matching today's
|
|
192
|
+
* "no value → no declaration").
|
|
193
|
+
*/
|
|
194
|
+
varValue: string | null;
|
|
195
|
+
}
|
|
238
196
|
/**
|
|
239
|
-
*
|
|
197
|
+
* Extract one style declaration into a value-agnostic rule + a per-instance
|
|
198
|
+
* custom-property value.
|
|
240
199
|
*
|
|
241
|
-
*
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
* 3. With breakpoints → normalizes, transforms (property-per-breakpoint →
|
|
245
|
-
* breakpoint-per-property), optimizes (deduplicates identical breakpoints),
|
|
246
|
-
* deltas the per-breakpoint output against the mobile-first cascade
|
|
247
|
-
* (drops re-emitted unchanged declarations), and wraps each non-empty
|
|
248
|
-
* breakpoint's deltas in the appropriate `@media` query. Falls back to
|
|
249
|
-
* the unoptimized path if any breakpoint's render result can't be
|
|
250
|
-
* cleanly stringified.
|
|
200
|
+
* @param property CSS property name (already in CSS-spec form, e.g. `gap`).
|
|
201
|
+
* @param rawValue The author-supplied value (`36`, `"1rem"`, `"var(--x)"`, …).
|
|
202
|
+
* @param rootSize px→rem base (defaults to 16, matching `value()`).
|
|
251
203
|
*/
|
|
252
|
-
declare
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
type AlignContentAlignXKeys = keyof typeof ALIGN_CONTENT_MAP_X;
|
|
277
|
-
type AlignContentAlignYKeys = keyof typeof ALIGN_CONTENT_MAP_Y;
|
|
278
|
-
declare const ALIGN_CONTENT_MAP_X: {
|
|
279
|
-
readonly center: string;
|
|
280
|
-
readonly spaceBetween: string;
|
|
281
|
-
readonly spaceAround: string;
|
|
282
|
-
readonly block: string;
|
|
283
|
-
readonly left: "flex-start";
|
|
284
|
-
readonly right: "flex-end";
|
|
285
|
-
};
|
|
286
|
-
declare const ALIGN_CONTENT_MAP_Y: {
|
|
287
|
-
readonly center: string;
|
|
288
|
-
readonly spaceBetween: string;
|
|
289
|
-
readonly spaceAround: string;
|
|
290
|
-
readonly block: string;
|
|
291
|
-
readonly top: "flex-start";
|
|
292
|
-
readonly bottom: "flex-end";
|
|
293
|
-
};
|
|
294
|
-
declare const ALIGN_CONTENT_DIRECTION: {
|
|
295
|
-
readonly inline: "row";
|
|
296
|
-
readonly reverseInline: "row-reverse";
|
|
297
|
-
readonly rows: "column";
|
|
298
|
-
readonly reverseRows: "column-reverse";
|
|
299
|
-
};
|
|
300
|
-
type AlignContent = ({
|
|
301
|
-
direction,
|
|
302
|
-
alignX,
|
|
303
|
-
alignY
|
|
304
|
-
}: {
|
|
305
|
-
direction?: AlignContentDirectionKeys | undefined;
|
|
306
|
-
alignX?: AlignContentAlignXKeys | undefined;
|
|
307
|
-
alignY?: AlignContentAlignYKeys | undefined;
|
|
308
|
-
}) => string | null;
|
|
309
|
-
declare const alignContent: AlignContent;
|
|
310
|
-
//#endregion
|
|
311
|
-
//#region src/styles/extendCss.d.ts
|
|
312
|
-
type ExtendCss = (styles: ((css: (strings: TemplateStringsArray, ...values: any[]) => string) => string) | string | null | undefined) => string;
|
|
313
|
-
declare const extendCss: ExtendCss;
|
|
204
|
+
declare function extractStyleVar(property: string, rawValue: unknown, rootSize?: number): ExtractedStyleVar;
|
|
205
|
+
/**
|
|
206
|
+
* Canonical CPSE custom-property name for a CSS property (+ optional
|
|
207
|
+
* breakpoint suffix for the responsive path). Stable + collision-free across
|
|
208
|
+
* distinct property names; shared across components for the same property
|
|
209
|
+
* (intended — every instance sets its own inline value, §nesting test).
|
|
210
|
+
*/
|
|
211
|
+
declare function cpseVarName(property: string, breakpoint?: string): string;
|
|
212
|
+
/**
|
|
213
|
+
* Rewrite every flat `prop: value;` declaration in a resolved CSS fragment to
|
|
214
|
+
* the value-agnostic `prop: var(--u-<hash>[-bp]);` form, writing each value
|
|
215
|
+
* into `varsOut`. Returns the rewritten fragment. Fragments carrying any
|
|
216
|
+
* structure (selectors, at-rules, nesting, url()) are returned UNCHANGED.
|
|
217
|
+
*
|
|
218
|
+
* This operates on `processDescriptor`'s ALREADY-RESOLVED output, so it
|
|
219
|
+
* inherits every unit-conversion / shorthand correctness for free and stays
|
|
220
|
+
* general across the whole property map.
|
|
221
|
+
*
|
|
222
|
+
* @param frag a resolved CSS fragment, e.g. `"gap: 2.25rem;"` or
|
|
223
|
+
* `"margin: 1rem 2rem;"` (possibly several `;`-separated).
|
|
224
|
+
* @param varsOut sink: `varName → value` for the per-instance inline props.
|
|
225
|
+
* @param breakpoint optional suffix so per-breakpoint values get distinct vars.
|
|
226
|
+
*/
|
|
227
|
+
declare function cpseRewrite(frag: string, varsOut: Record<string, string>, breakpoint?: string): string;
|
|
314
228
|
//#endregion
|
|
315
229
|
//#region src/styles/styles/types.d.ts
|
|
316
230
|
type PropertyValue$1 = string | number | null | undefined;
|
|
@@ -625,18 +539,226 @@ interface ITheme {
|
|
|
625
539
|
type InnerTheme = { [K in keyof ITheme]?: ITheme[K] | null | undefined };
|
|
626
540
|
type Theme = { [K in keyof InnerTheme]?: InnerTheme[K] | (() => ITheme[K]) };
|
|
627
541
|
//#endregion
|
|
542
|
+
//#region src/cpse-styled.d.ts
|
|
543
|
+
/**
|
|
544
|
+
* `cpseStyled` — a styled primitive that applies Custom-Property Style
|
|
545
|
+
* Extraction (CPSE). The complete, opt-in vehicle for the engine in `cpse.ts`
|
|
546
|
+
* / `styles()`'s `extractVars` mode. See
|
|
547
|
+
* `.claude/audits/custom-property-style-extraction-2026-06-22.md`.
|
|
548
|
+
*
|
|
549
|
+
* For a real rendered component, this makes styling cost **flat in style-value
|
|
550
|
+
* cardinality**:
|
|
551
|
+
* - the CSS rule is value-agnostic (`gap: var(--u-…)`), so it is
|
|
552
|
+
* resolved + inserted ONCE per distinct *shape* (NOT per value), cached on
|
|
553
|
+
* the component definition — N instances with N distinct values share ONE
|
|
554
|
+
* class and pay ONE `styler.resolve`;
|
|
555
|
+
* - the value is delivered per-instance as an inline custom property
|
|
556
|
+
* (no `styler.resolve`, no rule insert);
|
|
557
|
+
* - dynamic (signal-driven) values update the inline custom property via a
|
|
558
|
+
* `renderEffect` — the value-agnostic class is stable, so NO re-resolve.
|
|
559
|
+
*
|
|
560
|
+
* RESPONSIVE: array (`padding={[8, 16]}`, mobile-first) and breakpoint-object
|
|
561
|
+
* (`padding={{ sm: 16 }}`) values are supported — each breakpoint emits a
|
|
562
|
+
* suffixed value-agnostic rule (`padding: var(--u-<hash>-sm)`) wrapped in the
|
|
563
|
+
* matching `@media`, and the instance sets every breakpoint's value inline. The
|
|
564
|
+
* class stays value-agnostic (shared); the browser's media cascade selects the
|
|
565
|
+
* active var. Breakpoints come from the theme (`theme.breakpoints`), falling
|
|
566
|
+
* back to a default set.
|
|
567
|
+
*
|
|
568
|
+
* Opt-in (zero blast radius on the existing `styled` / `Element` /
|
|
569
|
+
* `rocketstyle` paths). Auto-migrating those defaults is the staged,
|
|
570
|
+
* regression-gated rollout (RFC §5).
|
|
571
|
+
*/
|
|
572
|
+
/** A single style value: scalar, a mobile-first array, or a breakpoint object. */
|
|
573
|
+
type ResponsiveValue<T> = T | T[] | Record<string, T>;
|
|
574
|
+
/** `InnerTheme` with every leaf allowed to be responsive (array / bp-object). */
|
|
575
|
+
type ResponsiveStyleTheme = { [K in keyof InnerTheme]?: ResponsiveValue<NonNullable<InnerTheme[K]>> };
|
|
576
|
+
interface CpseStyledProps {
|
|
577
|
+
/** Style values, static or a signal accessor (the dynamic path). Values may
|
|
578
|
+
* be scalar, a mobile-first array, or a breakpoint object. */
|
|
579
|
+
styles?: ResponsiveStyleTheme | (() => ResponsiveStyleTheme) | undefined;
|
|
580
|
+
/** px→rem base for value conversion. Defaults to `theme.rootSize` ?? 16. */
|
|
581
|
+
rootSize?: number | undefined;
|
|
582
|
+
/** Breakpoint map (name→min-width px) for responsive values. Defaults to
|
|
583
|
+
* `theme.breakpoints` ?? the standard xs/sm/md/lg/xl set. */
|
|
584
|
+
breakpoints?: Record<string, number> | undefined;
|
|
585
|
+
class?: string | undefined;
|
|
586
|
+
ref?: ((node: Element | null) => void) | {
|
|
587
|
+
current: Element | null;
|
|
588
|
+
} | undefined;
|
|
589
|
+
children?: unknown;
|
|
590
|
+
[key: string]: unknown;
|
|
591
|
+
}
|
|
592
|
+
declare function cpseStyled(tag: string): ComponentFn<CpseStyledProps>;
|
|
593
|
+
//#endregion
|
|
594
|
+
//#region src/responsive/breakpoints.d.ts
|
|
595
|
+
declare const breakpoints$1: {
|
|
596
|
+
readonly rootSize: 16;
|
|
597
|
+
readonly breakpoints: {
|
|
598
|
+
readonly xs: 0;
|
|
599
|
+
readonly sm: 576;
|
|
600
|
+
readonly md: 768;
|
|
601
|
+
readonly lg: 992;
|
|
602
|
+
readonly xl: 1200;
|
|
603
|
+
readonly xxl: 1440;
|
|
604
|
+
};
|
|
605
|
+
};
|
|
606
|
+
type Breakpoints = typeof breakpoints$1;
|
|
607
|
+
//#endregion
|
|
608
|
+
//#region src/responsive/createMediaQueries.d.ts
|
|
609
|
+
type Css$2 = (strings: TemplateStringsArray, ...values: any[]) => any;
|
|
610
|
+
type CreateMediaQueries = <B extends Record<string, number>, R extends number, C extends Css$2>(props: {
|
|
611
|
+
breakpoints: B;
|
|
612
|
+
rootSize: R;
|
|
613
|
+
css: C;
|
|
614
|
+
}) => Record<keyof B, (...args: any[]) => string>;
|
|
615
|
+
declare const createMediaQueries: CreateMediaQueries;
|
|
616
|
+
//#endregion
|
|
617
|
+
//#region src/responsive/sortBreakpoints.d.ts
|
|
618
|
+
type SortBreakpoints = <T extends Record<string, number>>(breakpoints: T) => (keyof T)[];
|
|
619
|
+
declare const sortBreakpoints: SortBreakpoints;
|
|
620
|
+
//#endregion
|
|
621
|
+
//#region src/responsive/makeItResponsive.d.ts
|
|
622
|
+
type Css$1 = (strings: TemplateStringsArray, ...values: any[]) => any;
|
|
623
|
+
type CustomTheme = Record<string, unknown>;
|
|
624
|
+
type Theme$1 = Partial<{
|
|
625
|
+
rootSize: number;
|
|
626
|
+
breakpoints: Record<string, number>;
|
|
627
|
+
__PYREON__: Partial<{
|
|
628
|
+
media: ReturnType<typeof createMediaQueries>;
|
|
629
|
+
sortedBreakpoints: ReturnType<typeof sortBreakpoints>;
|
|
630
|
+
}>;
|
|
631
|
+
}> & CustomTheme;
|
|
632
|
+
type MakeItResponsiveStyles<T extends Partial<Record<string, any>> = Partial<Record<string, unknown>>> = ({
|
|
633
|
+
theme,
|
|
634
|
+
css,
|
|
635
|
+
rootSize,
|
|
636
|
+
globalTheme
|
|
637
|
+
}: {
|
|
638
|
+
theme: T;
|
|
639
|
+
css: Css$1;
|
|
640
|
+
rootSize?: number | undefined;
|
|
641
|
+
globalTheme?: Record<string, unknown> | undefined;
|
|
642
|
+
}) => ReturnType<typeof css> | string;
|
|
643
|
+
type MakeItResponsive = ({
|
|
644
|
+
theme,
|
|
645
|
+
key,
|
|
646
|
+
css,
|
|
647
|
+
styles,
|
|
648
|
+
normalize
|
|
649
|
+
}: {
|
|
650
|
+
theme?: CustomTheme;
|
|
651
|
+
key?: string;
|
|
652
|
+
css: Css$1;
|
|
653
|
+
styles: MakeItResponsiveStyles;
|
|
654
|
+
normalize?: boolean;
|
|
655
|
+
}) => (props: {
|
|
656
|
+
theme?: Theme$1;
|
|
657
|
+
[prop: string]: unknown;
|
|
658
|
+
}) => ReturnType<Css$1> | string | unknown[];
|
|
659
|
+
/**
|
|
660
|
+
* Core responsive engine used by every styled component in the system.
|
|
661
|
+
*
|
|
662
|
+
* Returns a styled-components interpolation function that:
|
|
663
|
+
* 1. Reads the component's theme prop (via `key` or direct `theme`)
|
|
664
|
+
* 2. Without breakpoints → renders plain CSS
|
|
665
|
+
* 3. With breakpoints → normalizes, transforms (property-per-breakpoint →
|
|
666
|
+
* breakpoint-per-property), optimizes (deduplicates identical breakpoints),
|
|
667
|
+
* deltas the per-breakpoint output against the mobile-first cascade
|
|
668
|
+
* (drops re-emitted unchanged declarations), and wraps each non-empty
|
|
669
|
+
* breakpoint's deltas in the appropriate `@media` query. Falls back to
|
|
670
|
+
* the unoptimized path if any breakpoint's render result can't be
|
|
671
|
+
* cleanly stringified.
|
|
672
|
+
*/
|
|
673
|
+
declare const makeItResponsive: MakeItResponsive;
|
|
674
|
+
//#endregion
|
|
675
|
+
//#region src/responsive/normalizeTheme.d.ts
|
|
676
|
+
type NormalizeTheme = ({
|
|
677
|
+
theme,
|
|
678
|
+
breakpoints
|
|
679
|
+
}: {
|
|
680
|
+
theme: Record<string, unknown>;
|
|
681
|
+
breakpoints: string[];
|
|
682
|
+
}) => Record<string, unknown>;
|
|
683
|
+
declare const normalizeTheme: NormalizeTheme;
|
|
684
|
+
//#endregion
|
|
685
|
+
//#region src/responsive/transformTheme.d.ts
|
|
686
|
+
type TransformTheme = ({
|
|
687
|
+
theme,
|
|
688
|
+
breakpoints
|
|
689
|
+
}: {
|
|
690
|
+
theme: Record<string, unknown>;
|
|
691
|
+
breakpoints: string[];
|
|
692
|
+
}) => any;
|
|
693
|
+
declare const transformTheme: TransformTheme;
|
|
694
|
+
//#endregion
|
|
695
|
+
//#region src/styles/alignContent.d.ts
|
|
696
|
+
type AlignContentDirectionKeys = keyof typeof ALIGN_CONTENT_DIRECTION;
|
|
697
|
+
type AlignContentAlignXKeys = keyof typeof ALIGN_CONTENT_MAP_X;
|
|
698
|
+
type AlignContentAlignYKeys = keyof typeof ALIGN_CONTENT_MAP_Y;
|
|
699
|
+
declare const ALIGN_CONTENT_MAP_X: {
|
|
700
|
+
readonly center: string;
|
|
701
|
+
readonly spaceBetween: string;
|
|
702
|
+
readonly spaceAround: string;
|
|
703
|
+
readonly block: string;
|
|
704
|
+
readonly left: "flex-start";
|
|
705
|
+
readonly right: "flex-end";
|
|
706
|
+
};
|
|
707
|
+
declare const ALIGN_CONTENT_MAP_Y: {
|
|
708
|
+
readonly center: string;
|
|
709
|
+
readonly spaceBetween: string;
|
|
710
|
+
readonly spaceAround: string;
|
|
711
|
+
readonly block: string;
|
|
712
|
+
readonly top: "flex-start";
|
|
713
|
+
readonly bottom: "flex-end";
|
|
714
|
+
};
|
|
715
|
+
declare const ALIGN_CONTENT_DIRECTION: {
|
|
716
|
+
readonly inline: "row";
|
|
717
|
+
readonly reverseInline: "row-reverse";
|
|
718
|
+
readonly rows: "column";
|
|
719
|
+
readonly reverseRows: "column-reverse";
|
|
720
|
+
};
|
|
721
|
+
type AlignContent = ({
|
|
722
|
+
direction,
|
|
723
|
+
alignX,
|
|
724
|
+
alignY
|
|
725
|
+
}: {
|
|
726
|
+
direction?: AlignContentDirectionKeys | undefined;
|
|
727
|
+
alignX?: AlignContentAlignXKeys | undefined;
|
|
728
|
+
alignY?: AlignContentAlignYKeys | undefined;
|
|
729
|
+
}) => string | null;
|
|
730
|
+
declare const alignContent: AlignContent;
|
|
731
|
+
//#endregion
|
|
732
|
+
//#region src/styles/extendCss.d.ts
|
|
733
|
+
type ExtendCss = (styles: ((css: (strings: TemplateStringsArray, ...values: any[]) => string) => string) | string | null | undefined) => string;
|
|
734
|
+
declare const extendCss: ExtendCss;
|
|
735
|
+
//#endregion
|
|
628
736
|
//#region src/styles/styles/index.d.ts
|
|
629
737
|
type Css = (strings: TemplateStringsArray, ...args: any[]) => any;
|
|
630
738
|
type Styles = ({
|
|
631
739
|
theme,
|
|
632
740
|
css,
|
|
633
741
|
rootSize,
|
|
634
|
-
globalTheme
|
|
742
|
+
globalTheme,
|
|
743
|
+
extractVars,
|
|
744
|
+
breakpoint
|
|
635
745
|
}: {
|
|
636
746
|
theme: InnerTheme;
|
|
637
747
|
css: Css;
|
|
638
748
|
rootSize?: number | undefined;
|
|
639
749
|
globalTheme?: Record<string, unknown> | undefined;
|
|
750
|
+
/**
|
|
751
|
+
* CPSE (Custom-Property Style Extraction) sink. When provided, every flat
|
|
752
|
+
* `prop: value` declaration is rewritten to a value-agnostic
|
|
753
|
+
* `prop: var(--u-<hash>)` and the value is written into this object — so the
|
|
754
|
+
* emitted CSS is value-agnostic (one shared rule) and the per-instance value
|
|
755
|
+
* is delivered as an inline custom property. ABSENT ⇒ byte-identical to the
|
|
756
|
+
* classic path. See `.claude/audits/custom-property-style-extraction-2026-06-22.md`.
|
|
757
|
+
*/
|
|
758
|
+
extractVars?: Record<string, string> | undefined;
|
|
759
|
+
/** CPSE responsive: suffixes the var names so per-breakpoint values get
|
|
760
|
+
* distinct custom properties (e.g. `--u-<hash>-sm`). */
|
|
761
|
+
breakpoint?: string | undefined;
|
|
640
762
|
}) => ReturnType<Css>;
|
|
641
763
|
declare const styles$1: Styles;
|
|
642
764
|
//#endregion
|
|
@@ -648,5 +770,5 @@ type PropertyValue = UnitValue | 'auto' | Defaults | `calc(${string | number})`;
|
|
|
648
770
|
type Color = `#${string | number}` | 'currentColor' | 'transparent' | `rgb(${number}, ${number}, ${number})` | `rgb(${number},${number},${number})` | `rgba(${number}, ${number}, ${number}, ${number})` | `rgba(${number},${number},${number},${number})` | `hsl(${number}, ${number}%, ${number}%)` | `hsl(${number},${number}%,${number}%)` | `hsla(${number}, ${number}%, ${number}%, ${number})` | `hsla(${number},${number}%,${number}%,${number})` | BrowserColors | Defaults;
|
|
649
771
|
type BrowserColors = 'black' | 'silver' | 'gray' | 'white' | 'maroon' | 'red' | 'purple' | 'fuchsia' | 'green' | 'lime' | 'olive' | 'yellow' | 'navy' | 'blue' | 'teal' | 'aqua' | 'orange' | 'aliceblue' | 'antiquewhite' | 'aquamarine' | 'azure' | 'beige' | 'bisque' | 'blanchedalmond' | 'blueviolet' | 'brown' | 'burlywood' | 'cadetblue' | 'chartreuse' | 'chocolate' | 'coral' | 'cornflowerblue' | 'cornsilk' | 'crimson' | 'cyan' | 'darkblue' | 'darkcyan' | 'darkgoldenrod' | 'darkgray' | 'darkgreen' | 'darkgrey' | 'darkkhaki' | 'darkmagenta' | 'darkolivegreen' | 'darkorange' | 'darkorchid' | 'darkred' | 'darksalmon' | 'darkseagreen' | 'darkslateblue' | 'darkslategray' | 'darkslategrey' | 'darkturquoise' | 'darkviolet' | 'deeppink' | 'deepskyblue' | 'dimgray' | 'dimgrey' | 'dodgerblue' | 'firebrick' | 'floralwhite' | 'forestgreen' | 'gainsboro' | 'ghostwhite' | 'gold' | 'goldenrod' | 'greenyellow' | 'grey' | 'honeydew' | 'hotpink' | 'indianred' | 'indigo' | 'ivory' | 'khaki' | 'lavender' | 'lavenderblush' | 'lawngreen' | 'lemonchiffon' | 'lightblue' | 'lightcoral' | 'lightcyan' | 'lightgoldenrodyellow' | 'lightgray' | 'lightgreen' | 'lightgrey' | 'lightpink' | 'lightsalmon' | 'lightseagreen' | 'lightskyblue' | 'lightslategray' | 'lightslategrey' | 'lightsteelblue' | 'lightyellow' | 'limegreen' | 'linen' | 'magenta' | 'mediumaquamarine' | 'mediumblue' | 'mediumorchid' | 'mediumpurple' | 'mediumseagreen' | 'mediumslateblue' | 'mediumspringgreen' | 'mediumturquoise' | 'mediumvioletred' | 'midnightblue' | 'mintcream' | 'mistyrose' | 'moccasin' | 'navajowhite' | 'oldlace' | 'olivedrab' | 'orangered' | 'orchid' | 'palegoldenrod' | 'palegreen' | 'paleturquoise' | 'palevioletred' | 'papayawhip' | 'peachpuff' | 'peru' | 'pink' | 'plum' | 'powderblue' | 'rosybrown' | 'royalblue' | 'saddlebrown' | 'salmon' | 'sandybrown' | 'seagreen' | 'seashell' | 'sienna' | 'skyblue' | 'slateblue' | 'slategray' | 'slategrey' | 'snow' | 'springgreen' | 'steelblue' | 'tan' | 'thistle' | 'tomato' | 'turquoise' | 'violet' | 'wheat' | 'whitesmoke' | 'yellowgreen' | 'rebeccapurple';
|
|
650
772
|
//#endregion
|
|
651
|
-
export { ALIGN_CONTENT_DIRECTION, ALIGN_CONTENT_MAP_X, ALIGN_CONTENT_MAP_Y, type AlignContent, type AlignContentAlignXKeys, type AlignContentAlignYKeys, type AlignContentDirectionKeys, type Breakpoints, type BrowserColors, CSS_VARS_DEFAULT_EXCLUDE, type Color, type CreateMediaQueries, type CssVarsTheme, type CssVarsUnit, type CssVarsUnitPolicy, type Defaults, type ExtendCss, type ITheme, type MakeItResponsive, type MakeItResponsiveStyles, type NormalizeTheme, type PropertyValue, Provider, type PyreonTheme, type SortBreakpoints, type StripUnit, type Styles, type Theme as StylesTheme, type TProvider, type ThemeToCssVarsOptions, type ThemeToCssVarsResult, type TransformTheme, type UnitValue, type Value, type Values, alignContent, breakpoints$1 as breakpoints, context, createMediaQueries, enrichTheme, extendCss, makeItResponsive, normalizeTheme, resolveCssVarReferences, sortBreakpoints, stripUnit, styles$1 as styles, themeToCssVars, transformTheme, value, values };
|
|
773
|
+
export { ALIGN_CONTENT_DIRECTION, ALIGN_CONTENT_MAP_X, ALIGN_CONTENT_MAP_Y, type AlignContent, type AlignContentAlignXKeys, type AlignContentAlignYKeys, type AlignContentDirectionKeys, type Breakpoints, type BrowserColors, CSS_VARS_DEFAULT_EXCLUDE, type Color, type CpseStyledProps, type CreateMediaQueries, type CssVarsTheme, type CssVarsUnit, type CssVarsUnitPolicy, type Defaults, type ExtendCss, type ExtractedStyleVar, type ITheme, type MakeItResponsive, type MakeItResponsiveStyles, type NormalizeTheme, type PropertyValue, Provider, type PyreonTheme, type ResponsiveStyleTheme, type ResponsiveValue, type SortBreakpoints, type StripUnit, type Styles, type Theme as StylesTheme, type TProvider, type ThemeToCssVarsOptions, type ThemeToCssVarsResult, type TransformTheme, type UnitValue, type Value, type Values, alignContent, breakpoints$1 as breakpoints, context, cpseRewrite, cpseStyled, cpseVarName, createMediaQueries, enrichTheme, extendCss, extractStyleVar, makeItResponsive, normalizeTheme, resolveCssVarReferences, sortBreakpoints, stripUnit, styles$1 as styles, themeToCssVars, transformTheme, value, values };
|
|
652
774
|
//# sourceMappingURL=index2.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index2.d.ts","names":[],"sources":["../../src/enrichTheme.ts","../../src/context.tsx","../../src/units/stripUnit.ts","../../src/units/value.ts","../../src/units/values.ts","../../src/cssVariables.ts","../../src/responsive/breakpoints.ts","../../src/responsive/createMediaQueries.ts","../../src/responsive/sortBreakpoints.ts","../../src/responsive/makeItResponsive.ts","../../src/responsive/normalizeTheme.ts","../../src/responsive/transformTheme.ts","../../src/styles/alignContent.ts","../../src/styles/extendCss.ts","../../src/styles/styles/
|
|
1
|
+
{"version":3,"file":"index2.d.ts","names":[],"sources":["../../src/enrichTheme.ts","../../src/context.tsx","../../src/units/stripUnit.ts","../../src/units/value.ts","../../src/units/values.ts","../../src/cssVariables.ts","../../src/cpse.ts","../../src/styles/styles/types.ts","../../src/cpse-styled.tsx","../../src/responsive/breakpoints.ts","../../src/responsive/createMediaQueries.ts","../../src/responsive/sortBreakpoints.ts","../../src/responsive/makeItResponsive.ts","../../src/responsive/normalizeTheme.ts","../../src/responsive/transformTheme.ts","../../src/styles/alignContent.ts","../../src/styles/extendCss.ts","../../src/styles/styles/index.ts","../../src/types.ts"],"mappings":";;;;KAGY,WAAA;EACV,QAAA;EACA,WAAA,GAAc,MAAA;EACd,UAAA;IACE,iBAAA;IACA,KAAA,EAAO,MAAA,aAAmB,IAAA;EAAA;AAAA,IAE1B,MAAA;;;;;;;;;;;;;iBAcY,WAAA,WAAsB,WAAA,EACpC,KAAA,EAAO,CAAA,GACN,CAAA,GAAI,QAAA,CAAS,IAAA,CAAK,WAAA;;;KCnBT,SAAA;EACV,KAAA,EAAO,WAAA;EACP,QAAA,GAAW,KAAK;AAAA;;;;;;;;;;;iBA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