@yahoo/uds-v5-wip 1.44.0 → 1.45.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.
Files changed (65) hide show
  1. package/dist/config/dist/Props.d.ts +0 -5
  2. package/dist/config/dist/component-config.d.ts +0 -14
  3. package/dist/config/dist/component-refs.d.ts +0 -13
  4. package/dist/config/dist/component-resolution.d.ts +1 -1
  5. package/dist/config/dist/consts/defaultColors.d.ts +1 -2
  6. package/dist/config/dist/createConfig.d.ts +0 -12
  7. package/dist/config/dist/defineComponent.d.ts +0 -7
  8. package/dist/config/dist/defineStyleProp.d.ts +1 -31
  9. package/dist/config/dist/index.d.ts +1 -1
  10. package/dist/config/dist/resolveStyleProp.d.ts +0 -7
  11. package/dist/config/dist/serialize.d.ts +1 -2
  12. package/dist/config/dist/types/css-values.d.ts +1 -2
  13. package/dist/config/dist/types.d.ts +1 -2
  14. package/dist/core/dist/color-opacity-map.d.ts +1 -2
  15. package/dist/core/dist/compositeStyles.d.ts +1 -2
  16. package/dist/core/dist/configurable-prop-helpers.d.ts +1 -2
  17. package/dist/core/dist/createComponent.d.ts +1 -2
  18. package/dist/core/dist/createComponentExample.d.ts +1 -2
  19. package/dist/core/dist/createProvider.d.ts +1 -2
  20. package/dist/core/dist/generated/stylePropsTwMap.d.ts +1 -2
  21. package/dist/core/dist/getComponentStyles.d.ts +1 -2
  22. package/dist/core/dist/getStyles.d.ts +1 -2
  23. package/dist/core/dist/modifier-mappings.d.ts +1 -2
  24. package/dist/core/dist/resolveMotionState.d.ts +1 -2
  25. package/dist/core/dist/style-prop-data.d.ts +1 -2
  26. package/dist/core/dist/transformPreset.d.ts +1 -2
  27. package/dist/core/dist/withDefaultStyleProps.d.ts +1 -2
  28. package/dist/presets/dist/boldVibrant.d.ts +1 -2
  29. package/dist/presets/dist/brutalist.d.ts +1 -2
  30. package/dist/presets/dist/candy.d.ts +1 -2
  31. package/dist/presets/dist/cleanMinimalist.d.ts +1 -2
  32. package/dist/presets/dist/corporate.d.ts +1 -2
  33. package/dist/presets/dist/darkMoody.d.ts +1 -2
  34. package/dist/presets/dist/defaultPreset.d.ts +1 -2
  35. package/dist/presets/dist/forest.d.ts +1 -2
  36. package/dist/presets/dist/highContrast.d.ts +1 -2
  37. package/dist/presets/dist/lavender.d.ts +1 -2
  38. package/dist/presets/dist/luxury.d.ts +1 -2
  39. package/dist/presets/dist/monochrome.d.ts +1 -2
  40. package/dist/presets/dist/neonCyber.d.ts +1 -2
  41. package/dist/presets/dist/newspaper.d.ts +1 -2
  42. package/dist/presets/dist/ocean.d.ts +1 -2
  43. package/dist/presets/dist/slate.d.ts +1 -2
  44. package/dist/presets/dist/sunset.d.ts +1 -2
  45. package/dist/presets/dist/terminal.d.ts +1 -2
  46. package/dist/presets/dist/warmOrganic.d.ts +1 -2
  47. package/dist/remotion/dist/components/image-slide.d.ts +1 -2
  48. package/dist/remotion/dist/components/image-slide.js +3 -3
  49. package/dist/remotion/dist/components/index.js +7 -7
  50. package/dist/remotion/dist/components/lower-third.d.ts +1 -2
  51. package/dist/remotion/dist/components/lower-third.js +5 -5
  52. package/dist/remotion/dist/components/quote-card.d.ts +1 -2
  53. package/dist/remotion/dist/components/quote-card.js +4 -4
  54. package/dist/remotion/dist/components/split-screen.d.ts +1 -2
  55. package/dist/remotion/dist/components/split-screen.js +7 -7
  56. package/dist/remotion/dist/components/stat-card.d.ts +1 -2
  57. package/dist/remotion/dist/components/stat-card.js +3 -3
  58. package/dist/remotion/dist/components/text-overlay.d.ts +1 -2
  59. package/dist/remotion/dist/components/text-overlay.js +2 -2
  60. package/dist/remotion/dist/components/title-card.d.ts +1 -2
  61. package/dist/remotion/dist/components/title-card.js +3 -3
  62. package/dist/remotion/dist/components/typing-text.d.ts +1 -2
  63. package/dist/remotion/dist/components/typing-text.js +3 -3
  64. package/dist/tsconfig.tsbuildinfo +1 -1
  65. package/package.json +3 -3
@@ -3,7 +3,6 @@ import { ComponentConfigValue, HtmlTag, LayerInput, PropBinding } from "./compon
3
3
  import { ComponentPropsWithoutRef, HTMLAttributes, JSX } from "react";
4
4
 
5
5
  //#region ../config/dist/Props.d.ts
6
- //#region src/Props.d.ts
7
6
  /**
8
7
  * Resolve the native HTML-attribute surface for the config's root tag.
9
8
  *
@@ -66,9 +65,5 @@ interface DataAttrs {
66
65
  type Props<TConfig extends ComponentConfigValue<Record<string, LayerInput>, Record<string, PropBinding>, HtmlTag | undefined>> = TConfig extends ComponentConfigValue<Record<string, LayerInput>, infer TProps extends Record<string, PropBinding>, infer TTag extends HtmlTag | undefined> ? Prettify<PropsFromConfig<TProps> & Omit<ElementProps<TTag>, keyof TProps> & DataAttrs & {
67
66
  as?: string;
68
67
  }> : never;
69
- /**
70
- * `Props<typeof boxConfig>` for the common 'use the config's inferred
71
- * type' invocation. Keeps `box.tsx` from having to repeat the generic.
72
- */
73
68
  //#endregion
74
69
  export { Props };
@@ -2,7 +2,6 @@ import { ComponentRef, CompositeRef, RegisteredComponents, StylePropRef } from "
2
2
  import { ReactNode } from "react";
3
3
 
4
4
  //#region ../config/dist/component-config.d.ts
5
- //#region src/component-config.d.ts
6
5
  /**
7
6
  * HTML tag literal. The TypeScript type is `string` (any tag name);
8
7
  * runtime renders it via `React.createElement(tag, ...)`.
@@ -159,14 +158,6 @@ type PrimitivePropBinding = StylePropShorthand | VerbosePropBinding;
159
158
  * tighter `VerbosePropBinding`.
160
159
  */
161
160
  type PropBinding = PrimitivePropBinding;
162
- /**
163
- * Marker for a boolean JSX prop. Use inside the `props` block:
164
- *
165
- * props: {
166
- * loading: bool(),
167
- * disabled: bool(),
168
- * }
169
- */
170
161
  /**
171
162
  * Branded shape returned by `defineComponent({...})`. Carries `layers`,
172
163
  * `props`, AND a phantom `__tag` slot as const-narrowed types so
@@ -192,10 +183,5 @@ interface ComponentConfigValue<TLayers extends Record<string, LayerInput>, TProp
192
183
  readonly props?: TProps;
193
184
  readonly defaultProps?: Record<string, unknown>;
194
185
  }
195
- /**
196
- * The bundle passed to the render function for each layer — a ready-to-
197
- * spread object with `className` and any forwarded attrs. The render
198
- * function destructures `props.<layerName>` into the JSX position.
199
- */
200
186
  //#endregion
201
187
  export { BoolMarker, ComponentConfigValue, ComposedLayer, CompositeBinding, EnumMarker, HtmlTag, LayerInput, PrimitiveLayer, PrimitivePropBinding, PropBinding, RootTag, SingleLayerCompositeBinding, StylePropBinding, StylePropShorthand, SurfaceForward, VerbosePropBinding };
@@ -1,5 +1,4 @@
1
1
  //#region ../config/dist/component-refs.d.ts
2
- //#region src/component-refs.d.ts
3
2
  /**
4
3
  * Augmentable registries + template-literal ref types for the
5
4
  * component-API surface.
@@ -64,14 +63,6 @@ interface RegisteredStyleProps {}
64
63
  * call.
65
64
  */
66
65
  interface RegisteredComposites {}
67
- /**
68
- * Registered motion-preset names. Each key is the preset identifier
69
- * (`'{fadeIn}'`); value is `void`.
70
- *
71
- * Populated by codegen from `uds.config.ts`'s `.defineMotion({...})`
72
- * (motion has no separate `.registerMotion` step today; the entries
73
- * come directly from `defineMotion` keys).
74
- */
75
66
  /**
76
67
  * Brace-wrapped reference to a registered React component. Falls open
77
68
  * to `'{${string}}'` when the registry is unaugmented (e.g. inside
@@ -90,9 +81,5 @@ type StylePropRef = [keyof RegisteredStyleProps] extends [never] ? `{${string}}`
90
81
  * when unaugmented.
91
82
  */
92
83
  type CompositeRef = [keyof RegisteredComposites] extends [never] ? `{${string}}` : `{${Extract<keyof RegisteredComposites, string>}}`;
93
- /**
94
- * Brace-wrapped reference to a registered motion preset. Falls open
95
- * when unaugmented.
96
- */
97
84
  //#endregion
98
85
  export { ComponentRef, CompositeRef, RegisteredComponents, RegisteredComposites, RegisteredStyleProps, StylePropRef };
@@ -1 +1 @@
1
- export { };
1
+ import { ComponentsConfig } from "@uds/types";
@@ -1,5 +1,4 @@
1
1
  //#region ../config/dist/consts/defaultColors.d.ts
2
- //#region src/consts/defaultColors.d.ts
3
2
  declare const defaultColors: {
4
3
  inherit: string;
5
4
  current: string;
@@ -248,6 +247,6 @@ declare const defaultColors: {
248
247
  'rose-800': string;
249
248
  'rose-900': string;
250
249
  'rose-950': string;
251
- }; //#endregion
250
+ };
252
251
  //#endregion
253
252
  export { defaultColors };
@@ -6,7 +6,6 @@ import { ResolvedStyleProp } from "./resolveStyleProp.js";
6
6
  import { BaseModifierProp, ComponentsConfig, CompositeStylesConfig, ConfigurableProp, ModifierProp, MotionPreset, RemotionComponentDef, RemotionConfig, RemotionTransitionDef } from "@uds/types";
7
7
 
8
8
  //#region ../config/dist/createConfig.d.ts
9
- //#region src/createConfig.d.ts
10
9
  type MotionPresetsDef = Record<string, MotionPreset>;
11
10
  type MotionAliasValue<TMotion> = TMotion extends Record<string, infer V> ? Extract<V, string> : never;
12
11
  type EmptyMotion = {};
@@ -79,12 +78,6 @@ type GetModifierFromInput<I extends ModesInput> = { [SetKey in keyof I]: { [OptK
79
78
  } ? M extends ModifierNameShape ? M : never : OptKey extends string ? `_${OptKey}` : never }[keyof I[SetKey]['options']] }[keyof I];
80
79
  /** Reject any input whose derived/explicit modifiers collide with reserved names. */
81
80
  type CheckForReservedModifiersInput<I extends ModesInput> = true extends HasReservedModifier<GetModifierFromInput<I>> ? 'ERROR: Cannot use reserved modifier names from ModifierProp. Please use a different modifier name.' : I;
82
- /**
83
- * Convert the authored object-keyed input into the internal `ModeGroup[]` shape.
84
- * Derives `_${optionKey}` modifiers when no explicit `modifier` is provided.
85
- * Never sets `default: true` — the new API has no concept of a default option;
86
- * downstream consumers treat "no option active" as the implicit default.
87
- */
88
81
  interface ModifierDef {
89
82
  modifier: ModifierNameShape;
90
83
  selector: string;
@@ -164,7 +157,6 @@ type VarsToTokens<TVars extends VarsConfig> = { [K in keyof TVars]: { [T in Excl
164
157
  type MergeTokens<A, B> = { [K in keyof A | keyof B]: K extends keyof B ? K extends keyof A ? A[K] & B[K] : B[K] : K extends keyof A ? A[K] : never };
165
158
  /** Build a structured token reference object from atomic tokens */
166
159
  declare function buildTokenReference(atomic: AtomicToken<ModifierNameShape>[], configPrefix: string): Record<string, Record<string, string>>;
167
- /** Build a structured composite-styles reference object for use in defineModifiers context */
168
160
  /** Global styles definition — CSS selector → style props */
169
161
  type GlobalStylesDef = Record<string, Record<string, any>>;
170
162
  /** CSS properties for the example wrapper element */
@@ -357,10 +349,6 @@ interface UdsConfig<TModifier extends ModifierNameShape = ModifierProp, TTokens
357
349
  type AnyUdsConfig = UdsConfig<ModifierNameShape, any, any, any, any, any, any>;
358
350
  /** Extract the raw config data from a builder instance */
359
351
  declare function resolveConfig(config: AnyUdsConfig): UdsConfigData;
360
- /**
361
- * Resolve configuration with all token references replaced by their raw values.
362
- * Useful for tools that need the actual values (e.g. anatomy generation).
363
- */
364
352
  declare function createConfigBuilder<TModifier extends ModifierNameShape = ModifierProp, TTokens = EmptyTokens, TMotion = EmptyMotion, TExt extends Record<string, any> = {}, TCompositeStyles = EmptyCompositeStyles, TModeModifiers extends ModifierNameShape = never, TVars extends VarsConfig = EmptyVars>(data: UdsConfigData, extensions?: TExt): UdsConfig<TModifier, TTokens, TMotion, TExt, TCompositeStyles, TModeModifiers, TVars> & TExt;
365
353
  interface InterpolateMarker {
366
354
  __type: 'interpolate';
@@ -3,7 +3,6 @@ import { Props } from "./Props.js";
3
3
  import { ReactNode } from "react";
4
4
 
5
5
  //#region ../config/dist/defineComponent.d.ts
6
- //#region src/defineComponent.d.ts
7
6
  /**
8
7
  * A React component bound to a `defineComponent` config, with the
9
8
  * source config attached as a phantom type slot. Tools (codegen,
@@ -14,11 +13,5 @@ import { ReactNode } from "react";
14
13
  type BoundComponent<TConfig extends ComponentConfigValue<Record<string, LayerInput>, any, HtmlTag | undefined>, TExtra extends Record<string, unknown> = {}> = React.FC<Props<TConfig> & TExtra> & {
15
14
  readonly __config: TConfig;
16
15
  };
17
- /**
18
- * A `defineComponent({...})` config value with a `.render(fn)` builder
19
- * method bolted on. The builder is non-enumerable so JSON serialization
20
- * still produces pure data — codegen can read `__kind`, `layers`,
21
- * `props`, and `defaultProps` without seeing the render hook.
22
- */
23
16
  //#endregion
24
17
  export { BoundComponent };
@@ -1,4 +1,4 @@
1
- import { CssValueTypeName } from "./types/css-values.js";
1
+ import { CssValue, CssValueTypeName } from "./types/css-values.js";
2
2
 
3
3
  //#region ../config/dist/defineStyleProp.d.ts
4
4
  /** Runtime input type for `toCss` based on the entry's `type`. */
@@ -22,31 +22,10 @@ type ArbitraryEntry = { [T in CssValueTypeName]: {
22
22
  * - An array of {@link ArbitraryEntry} for multi-shape acceptance.
23
23
  */
24
24
  type ArbitrarySpec = CssValueTypeName | readonly ArbitraryEntry[];
25
- /**
26
- * The literal-keyword subset of values a property accepts, derived from
27
- * {@link CssPropertyValues}[P]. For custom CSS properties (`--*`) the value
28
- * type is governed by the required `cssType` field instead, so any string
29
- * is accepted at the type level.
30
- */
31
25
  type StylePropMetadata = {
32
26
  label?: string;
33
27
  description?: string;
34
28
  };
35
- /**
36
- * A finalized style prop. Returned by `defineStyleProp(spec)` (or the
37
- * `.metadata({...})` chain). Consumers wrap these in
38
- * `uds.registerStyleProps({ <propName>: ... })`.
39
- *
40
- * `cssProperty` is passed through verbatim from the authored input:
41
- * - **string** — a direct prop writing one CSS property.
42
- * - **`readonly string[]`** — a fan-out prop writing every CSS
43
- * property in the list (e.g. `borderRadiusStart` covering both
44
- * start-side corners).
45
- *
46
- * Readers that need iteration normalize at the call site
47
- * (`Array.isArray(p) ? p : [p]`); readers that only need the primary
48
- * use the string directly or `Array.isArray(p) ? p[0] : p`.
49
- */
50
29
  /**
51
30
  * Structurally-loose form of {@link StyleProp}. Any concrete `StyleProp<P>`
52
31
  * is assignable to this. Used at registration / resolution boundaries where
@@ -62,14 +41,5 @@ interface AnyStyleProp {
62
41
  readonly cssType?: CssValueTypeName;
63
42
  readonly metadata: StylePropMetadata;
64
43
  }
65
- /**
66
- * Return shape of {@link defineStyleProp}. The `metadata` field doubles as
67
- * a callable chain: read it to access `{ label?, description? }` (both
68
- * optional, so an unset metadata reads `undefined` for either field) or
69
- * call it as `.metadata({ label, description })` to attach metadata and
70
- * get back a plain {@link StyleProp}. A function satisfies the
71
- * {@link StylePropMetadata} structural shape because both fields are
72
- * optional, so the dual nature is type-safe.
73
- */
74
44
  //#endregion
75
45
  export { AnyStyleProp, ArbitraryEntry, ArbitrarySpec, StylePropMetadata };
@@ -5,8 +5,8 @@ import { BoundComponent } from "./defineComponent.js";
5
5
  import { ColorFn, ColorKeyword, CssAngle, CssColor, CssLength, CssPercentage, CssRatio, CssTime, CssValue, CssValueTypeName, HexColor, HslColor, RgbColor } from "./types/css-values.js";
6
6
  import { AnyStyleProp, ArbitraryEntry, ArbitrarySpec, StylePropMetadata } from "./defineStyleProp.js";
7
7
  import { TokenType, VarGroupDef, VarTokenDef, VarsConfig } from "./types.js";
8
- import { AtomicToken, BuildOptions, CheckForReservedModifiersInput, ComponentConfig, DefineComponentInput, DefineComponentMotionInput, ExampleDef, ExampleEntryDef, ExampleLayoutStyles, GetModifierFromInput, GlobalStylesDef, InterpolateMarker, ModeGroup, ModeOption, ModeOptionInput, ModeSetInput, ModesInput, ModifierDef, MotionPresetsDef, SingleComponentDef, UdsConfig, UdsConfigData, buildTokenReference, createConfigBuilder, darker, lighter, resolveConfig } from "./createConfig.js";
9
8
  import { ResolvedStyleProp, ResolvedToken } from "./resolveStyleProp.js";
9
+ import { AtomicToken, BuildOptions, CheckForReservedModifiersInput, ComponentConfig, DefineComponentInput, DefineComponentMotionInput, ExampleDef, ExampleEntryDef, ExampleLayoutStyles, GetModifierFromInput, GlobalStylesDef, InterpolateMarker, ModeGroup, ModeOption, ModeOptionInput, ModeSetInput, ModesInput, ModifierDef, MotionPresetsDef, SingleComponentDef, UdsConfig, UdsConfigData, buildTokenReference, createConfigBuilder, darker, lighter, resolveConfig } from "./createConfig.js";
10
10
  import { defaultColors } from "./consts/defaultColors.js";
11
11
  import { SerializedConfig, TokenRef, buildReverseMap, deserializeConfig, serializeConfig } from "./serialize.js";
12
12
  import { ComponentsConfig as ComponentsConfig$1 } from "@uds/types";
@@ -1,7 +1,6 @@
1
1
  import { CssValueTypeName } from "./types/css-values.js";
2
2
  import { ArbitrarySpec, StylePropMetadata } from "./defineStyleProp.js";
3
3
  //#region ../config/dist/resolveStyleProp.d.ts
4
- //#region src/resolveStyleProp.d.ts
5
4
  interface ResolvedToken {
6
5
  /** The token's raw key, e.g. `'brand'`. */
7
6
  readonly name: string;
@@ -64,11 +63,5 @@ interface ResolvedStyleProp {
64
63
  readonly arbitrary: ArbitrarySpec | undefined;
65
64
  readonly metadata: StylePropMetadata;
66
65
  }
67
- /**
68
- * Structurally-loose input shape for the resolver. Any `StyleProp<P>` from
69
- * `defineStyleProp` is assignable to this. Defined locally so the
70
- * resolver's signature doesn't expand `ValuesEntry<P>` over the full CSS
71
- * property union (TS2590).
72
- */
73
66
  //#endregion
74
67
  export { ResolvedStyleProp, ResolvedToken };
@@ -3,7 +3,6 @@ import { AtomicToken, ExampleDef, ModeGroup, ModifierDef, MotionPresetsDef, UdsC
3
3
  import { CompositeStylesConfig } from "@uds/types";
4
4
 
5
5
  //#region ../config/dist/serialize.d.ts
6
- //#region src/serialize.d.ts
7
6
  type ModifierNameShape = `_${string}`;
8
7
  type TokenRef = {
9
8
  $ref: string;
@@ -68,6 +67,6 @@ declare function serializeConfig(config: UdsConfig): SerializedConfig;
68
67
  * Resolves `$ref` markers back to `var()` strings using the atomic token
69
68
  * definitions, then reconstructs the builder chain.
70
69
  */
71
- declare function deserializeConfig(data: SerializedConfig): UdsConfig; //#endregion
70
+ declare function deserializeConfig(data: SerializedConfig): UdsConfig;
72
71
  //#endregion
73
72
  export { SerializedConfig, TokenRef, buildReverseMap, deserializeConfig, serializeConfig };
@@ -1,5 +1,4 @@
1
1
  //#region ../config/dist/types/css-values.d.ts
2
- //#region src/types/css-values.d.ts
3
2
  /**
4
3
  * CSS value-type primitives — building blocks used by {@link CssPropertyValues}
5
4
  * in `./css-properties` and by `defineStyleProp` to constrain authored values.
@@ -56,6 +55,6 @@ type CssValue = {
56
55
  ident: string;
57
56
  string: string;
58
57
  };
59
- type CssValueTypeName = keyof CssValue; //#endregion
58
+ type CssValueTypeName = keyof CssValue;
60
59
  //#endregion
61
60
  export { ColorFn, ColorKeyword, CssAngle, CssColor, CssLength, CssPercentage, CssRatio, CssTime, CssValue, CssValueTypeName, HexColor, HslColor, RgbColor };
@@ -1,5 +1,4 @@
1
1
  //#region ../config/dist/types.d.ts
2
- //#region src/types.d.ts
3
2
  /**
4
3
  * Scalar DTCG-aligned token types. Composite types (shadow, gradient,
5
4
  * typography, border, transition, cubicBezier) are intentionally deferred
@@ -60,6 +59,6 @@ type VarGroupDef<M extends `_${string}` = `_${string}`> = {
60
59
  * spacing: { $type: 'dimension', 1: { value: '0.25rem' }, 2: { value: '0.5rem' } },
61
60
  * }
62
61
  */
63
- type VarsConfig<M extends `_${string}` = `_${string}`> = Record<string, VarGroupDef<M>>; //#endregion
62
+ type VarsConfig<M extends `_${string}` = `_${string}`> = Record<string, VarGroupDef<M>>;
64
63
  //#endregion
65
64
  export { TokenType, VarGroupDef, VarTokenDef, VarsConfig };
@@ -1,5 +1,4 @@
1
1
  //#region ../core/dist/color-opacity-map.d.ts
2
- //#region src/color-opacity-map.d.ts
3
2
  /**
4
3
  * Maps each color prop name to its corresponding opacity prop name.
5
4
  * Used by the runtime (`getStyles`) and loader (`style-transform`) to merge
@@ -8,6 +7,6 @@
8
7
  * @example
9
8
  * `bg="primary"` + `bgOpacity="75"` → class `bg-primary_75`
10
9
  */
11
- declare const colorPropToOpacityProp: Record<string, string>; //#endregion
10
+ declare const colorPropToOpacityProp: Record<string, string>;
12
11
  //#endregion
13
12
  export { colorPropToOpacityProp };
@@ -1,7 +1,6 @@
1
1
  import { CompositeStylesConfig } from "@uds/types";
2
2
 
3
3
  //#region ../core/dist/compositeStyles.d.ts
4
- //#region src/compositeStyles.d.ts
5
4
  /** Set the composite-styles config (called by loader at build time) */
6
5
  declare function setCompositeStylesConfig(config: CompositeStylesConfig): void;
7
6
  /** Get the current composite-styles config */
@@ -17,6 +16,6 @@ declare function getCompositeStylesConfig(): CompositeStylesConfig;
17
16
  declare function expandCompositeStyles(props: Record<string, unknown>, config?: CompositeStylesConfig): {
18
17
  expanded: Record<string, unknown>;
19
18
  markerClasses: string[];
20
- }; //#endregion
19
+ };
21
20
  //#endregion
22
21
  export { expandCompositeStyles, getCompositeStylesConfig, setCompositeStylesConfig };
@@ -2,7 +2,6 @@ import { PropMapping } from "./style-prop-data.js";
2
2
  import { ConfigurableProp } from "@uds/types";
3
3
 
4
4
  //#region ../core/dist/configurable-prop-helpers.d.ts
5
- //#region src/configurable-prop-helpers.d.ts
6
5
  /** Look up a {@link PropMapping} by ConfigurableProp name. */
7
6
  declare function getConfigurablePropMapping(prop: ConfigurableProp): PropMapping | undefined;
8
7
  interface ConfigurablePropertyEntry {
@@ -27,6 +26,6 @@ interface CssVariablePrefixEntry {
27
26
  * Only includes props that have both `cssProperty` and `defaultVarPrefix`.
28
27
  * Deduplicates by `defaultVarPrefix` so each namespace appears once.
29
28
  */
30
- declare function getCssVariablePrefixes(): CssVariablePrefixEntry[]; //#endregion
29
+ declare function getCssVariablePrefixes(): CssVariablePrefixEntry[];
31
30
  //#endregion
32
31
  export { ConfigurablePropertyEntry, CssVariablePrefixEntry, getConfigurablePropMapping, getConfigurableProperties, getCssVariablePrefixes };
@@ -1,7 +1,6 @@
1
1
  import { CreateComponentConfig, CreateComponentProps, CreateComponentRenderFn, CreateComponentSlotTagConfig, CreateComponentTypeInput } from "@uds/types";
2
2
 
3
3
  //#region ../core/dist/createComponent.d.ts
4
- //#region src/createComponent.d.ts
5
4
  type PrimitiveTag = keyof React.JSX.IntrinsicElements;
6
5
  type SpecConfig<TSpec> = TSpec extends {
7
6
  config: infer TConfig extends CreateComponentTypeInput;
@@ -52,6 +51,6 @@ declare function createComponent<TSpecOrProps = {}>(tag: PrimitiveTag): React.FC
52
51
  props: infer TOwnProps;
53
52
  } ? CreateComponentProps<TConfig, TOwnProps, PrimitiveTag> : PrimitiveOwnProps<TSpecOrProps>>;
54
53
  declare function createComponent<TSpec>(renderFn: CreateComponentRenderFn<SpecConfig<TSpec>, SpecOwnProps<TSpec>, SpecSlotConfig<TSpec>>): React.FC<CreateComponentProps<SpecConfig<TSpec>, SpecOwnProps<TSpec>, SpecSlotConfig<TSpec>>>;
55
- declare function createComponent(config: CreateComponentConfig<string>, renderFn: CreateComponentRenderFn<any, any, any>): React.FC<any>; //#endregion
54
+ declare function createComponent(config: CreateComponentConfig<string>, renderFn: CreateComponentRenderFn<any, any, any>): React.FC<any>;
56
55
  //#endregion
57
56
  export { createComponent };
@@ -1,7 +1,6 @@
1
1
  import { ComponentProps, ComponentType } from "react";
2
2
 
3
3
  //#region ../core/dist/createComponentExample.d.ts
4
- //#region src/createComponentExample.d.ts
5
4
  /**
6
5
  * Extracts variant fixtures from a Component's props type.
7
6
  * If Button has `variant?: 'brand' | 'outline'` and `size?: 'sm' | 'md'`,
@@ -37,6 +36,6 @@ type ExamplesResult<TComponent extends ComponentType<any>> = {
37
36
  * }));
38
37
  * ```
39
38
  */
40
- declare function createComponentExample<TComponent extends ComponentType<any>, T extends Record<string, ExampleFn<TComponent>>>(Component: TComponent, examplesFn: (fixtures: VariantFixtures<TComponent>) => ExamplesResult<TComponent>): ComponentExample<T>; //#endregion
39
+ declare function createComponentExample<TComponent extends ComponentType<any>, T extends Record<string, ExampleFn<TComponent>>>(Component: TComponent, examplesFn: (fixtures: VariantFixtures<TComponent>) => ExamplesResult<TComponent>): ComponentExample<T>;
41
40
  //#endregion
42
41
  export { ComponentExample, createComponentExample };
@@ -1,5 +1,4 @@
1
1
  //#region ../core/dist/createProvider.d.ts
2
- //#region src/createProvider.d.ts
3
2
  type ProviderRenderFn<TContext, TProps = Record<never, never>> = (props: {
4
3
  children: React.ReactNode;
5
4
  } & TProps) => {
@@ -8,6 +7,6 @@ type ProviderRenderFn<TContext, TProps = Record<never, never>> = (props: {
8
7
  };
9
8
  declare function createProvider<TContext, TProps = Record<never, never>>(name: string, renderFn: ProviderRenderFn<TContext, TProps>): [React.FC<{
10
9
  children: React.ReactNode;
11
- } & TProps>, () => TContext]; //#endregion
10
+ } & TProps>, () => TContext];
12
11
  //#endregion
13
12
  export { createProvider };
@@ -1,5 +1,4 @@
1
1
  //#region ../core/dist/generated/stylePropsTwMap.d.ts
2
- //#region src/generated/stylePropsTwMap.d.ts
3
2
  declare const stylePropsTwMap: {
4
3
  readonly "border-boolean": {
5
4
  readonly border: "boolean";
@@ -1696,6 +1695,6 @@ declare const stylePropsTwMap: {
1696
1695
  readonly "hyphens-manual": {
1697
1696
  readonly hyphens: "manual";
1698
1697
  };
1699
- }; //#endregion
1698
+ };
1700
1699
  //#endregion
1701
1700
  export { stylePropsTwMap };
@@ -1,7 +1,6 @@
1
1
  import { ComponentRegistry, ComponentSlotsOf, ComponentVariantsOf } from "@uds/types";
2
2
 
3
3
  //#region ../core/dist/getComponentStyles.d.ts
4
- //#region src/getComponentStyles.d.ts
5
4
  type ResolveSlots<Name extends string> = Name extends keyof ComponentRegistry ? ComponentSlotsOf<Name> : string;
6
5
  type ResolveVariants<Name extends string> = Name extends keyof ComponentRegistry ? ComponentVariantsOf<Name> : Record<string, string>;
7
6
  interface UdsRuntimeMeta {
@@ -45,6 +44,6 @@ interface ComponentStyler<Name extends string> {
45
44
  * @param slots - Array of slot names
46
45
  * @param element - Optional HTML element tag for element-specific prop forwarding
47
46
  */
48
- declare function createComponentStyler<Name extends string>(componentName: Name, slots: readonly string[], element?: string, variants?: readonly string[]): ComponentStyler<Name>; //#endregion
47
+ declare function createComponentStyler<Name extends string>(componentName: Name, slots: readonly string[], element?: string, variants?: readonly string[]): ComponentStyler<Name>;
49
48
  //#endregion
50
49
  export { createComponentStyler };
@@ -2,7 +2,6 @@ import { ClassValue } from "clsx";
2
2
  import { ModifierProp, ModifierProps, StyleAndModifierProps, StyleProps } from "@uds/types";
3
3
 
4
4
  //#region ../core/dist/getStyles.d.ts
5
- //#region src/getStyles.d.ts
6
5
  /** Convert kebab-case CSS property to camelCase for React inline styles.
7
6
  * CSS custom properties (--*) are kept as-is since React supports them verbatim. */
8
7
  declare function toCamelCase(str: string): string;
@@ -38,6 +37,6 @@ interface GetStylesParams extends StyleProps, ModifierProps {
38
37
  * so they can be included in the CSS safelist.
39
38
  */
40
39
  declare function getStyles(props: GetStylesParams): string;
41
- declare function getVariantClassName(componentName: string, variant: string | undefined): string; //#endregion
40
+ declare function getVariantClassName(componentName: string, variant: string | undefined): string;
42
41
  //#endregion
43
42
  export { createVariants, cx, getStyles, getVariantClassName, processStyleProps, toCamelCase };
@@ -1,13 +1,12 @@
1
1
  import { ModifierProp } from "@uds/types";
2
2
 
3
3
  //#region ../core/dist/modifier-mappings.d.ts
4
- //#region src/modifier-mappings.d.ts
5
4
  declare const modifierMappings: Record<ModifierProp, string>;
6
5
  interface ModifierEntry {
7
6
  prop: string;
8
7
  cssSelector: string;
9
8
  category: string;
10
9
  description: string;
11
- } //#endregion
10
+ }
12
11
  //#endregion
13
12
  export { ModifierEntry, modifierMappings };
@@ -1,5 +1,4 @@
1
1
  //#region ../core/dist/resolveMotionState.d.ts
2
- //#region src/resolveMotionState.d.ts
3
- declare function resolveMotionState(stateKeyframe: Record<string, unknown>, index: number): Record<string, number>; //#endregion
2
+ declare function resolveMotionState(stateKeyframe: Record<string, unknown>, index: number): Record<string, number>;
4
3
  //#endregion
5
4
  export { resolveMotionState };
@@ -1,7 +1,6 @@
1
1
  import { StyleProp } from "@uds/types";
2
2
 
3
3
  //#region ../core/dist/style-prop-data.d.ts
4
- //#region src/style-prop-data.d.ts
5
4
  interface PropMapping {
6
5
  /** Class name prefix for runtime class generation. 'no-prefix' means value IS the class. */
7
6
  classPrefix: string;
@@ -28,6 +27,6 @@ interface PropMapping {
28
27
  }
29
28
  /** Exclude className — it's passed through, not mapped to a utility class */
30
29
  type MappedStyleProp = Exclude<StyleProp, 'className'>;
31
- declare const propMappings: Record<MappedStyleProp, PropMapping>; //#endregion
30
+ declare const propMappings: Record<MappedStyleProp, PropMapping>;
32
31
  //#endregion
33
32
  export { PropMapping, propMappings };
@@ -1,7 +1,6 @@
1
1
  import { MotionPreset } from "@uds/types";
2
2
 
3
3
  //#region ../core/dist/transformPreset.d.ts
4
- //#region src/transformPreset.d.ts
5
4
  interface TransformedMotionProps {
6
5
  initial?: Record<string, unknown>;
7
6
  animate?: Record<string, unknown>;
@@ -13,6 +12,6 @@ interface TransformedMotionProps {
13
12
  /**
14
13
  * Convert a JS-runtime MotionPreset to a motion/react-compatible props object.
15
14
  */
16
- declare function transformPreset(preset: MotionPreset): TransformedMotionProps; //#endregion
15
+ declare function transformPreset(preset: MotionPreset): TransformedMotionProps;
17
16
  //#endregion
18
17
  export { TransformedMotionProps, transformPreset };
@@ -1,7 +1,6 @@
1
1
  import { BorderRadius, GridSpan, GridStartEnd, GridTemplate, StyleAndModifierProps } from "@uds/types";
2
2
 
3
3
  //#region ../core/dist/withDefaultStyleProps.d.ts
4
- //#region src/withDefaultStyleProps.d.ts
5
4
  interface StackDefaultsInput extends StyleAndModifierProps {
6
5
  gap?: StyleAndModifierProps['gap'];
7
6
  }
@@ -39,6 +38,6 @@ declare const withDefaultStyleProps: {
39
38
  shape?: BorderRadius;
40
39
  }) => StyleAndModifierProps;
41
40
  Svg: (props: SvgDefaultsInput) => StyleAndModifierProps;
42
- }; //#endregion
41
+ };
43
42
  //#endregion
44
43
  export { withDefaultStyleProps };
@@ -1,6 +1,5 @@
1
1
  import { boldVibrantFoundationPreset } from "../../foundational-presets/dist/boldVibrant.js";
2
2
  //#region ../presets/dist/boldVibrant.d.ts
3
- //#region src/boldVibrant.d.ts
4
- declare const boldVibrantPreset: typeof boldVibrantFoundationPreset; //#endregion
3
+ declare const boldVibrantPreset: typeof boldVibrantFoundationPreset;
5
4
  //#endregion
6
5
  export { boldVibrantPreset };
@@ -1,6 +1,5 @@
1
1
  import { brutalistFoundationPreset } from "../../foundational-presets/dist/brutalist.js";
2
2
  //#region ../presets/dist/brutalist.d.ts
3
- //#region src/brutalist.d.ts
4
- declare const brutalistPreset: typeof brutalistFoundationPreset; //#endregion
3
+ declare const brutalistPreset: typeof brutalistFoundationPreset;
5
4
  //#endregion
6
5
  export { brutalistPreset };
@@ -1,6 +1,5 @@
1
1
  import { candyFoundationPreset } from "../../foundational-presets/dist/candy.js";
2
2
  //#region ../presets/dist/candy.d.ts
3
- //#region src/candy.d.ts
4
- declare const candyPreset: typeof candyFoundationPreset; //#endregion
3
+ declare const candyPreset: typeof candyFoundationPreset;
5
4
  //#endregion
6
5
  export { candyPreset };
@@ -1,6 +1,5 @@
1
1
  import { cleanMinimalistFoundationPreset } from "../../foundational-presets/dist/cleanMinimalist.js";
2
2
  //#region ../presets/dist/cleanMinimalist.d.ts
3
- //#region src/cleanMinimalist.d.ts
4
- declare const cleanMinimalistPreset: typeof cleanMinimalistFoundationPreset; //#endregion
3
+ declare const cleanMinimalistPreset: typeof cleanMinimalistFoundationPreset;
5
4
  //#endregion
6
5
  export { cleanMinimalistPreset };
@@ -1,6 +1,5 @@
1
1
  import { corporateFoundationPreset } from "../../foundational-presets/dist/corporate.js";
2
2
  //#region ../presets/dist/corporate.d.ts
3
- //#region src/corporate.d.ts
4
- declare const corporatePreset: typeof corporateFoundationPreset; //#endregion
3
+ declare const corporatePreset: typeof corporateFoundationPreset;
5
4
  //#endregion
6
5
  export { corporatePreset };
@@ -1,6 +1,5 @@
1
1
  import { darkMoodyFoundationPreset } from "../../foundational-presets/dist/darkMoody.js";
2
2
  //#region ../presets/dist/darkMoody.d.ts
3
- //#region src/darkMoody.d.ts
4
- declare const darkMoodyPreset: typeof darkMoodyFoundationPreset; //#endregion
3
+ declare const darkMoodyPreset: typeof darkMoodyFoundationPreset;
5
4
  //#endregion
6
5
  export { darkMoodyPreset };
@@ -1,6 +1,5 @@
1
1
  import { defaultFoundationPreset } from "../../foundational-presets/dist/defaultPreset.js";
2
2
  //#region ../presets/dist/defaultPreset.d.ts
3
- //#region src/defaultPreset.d.ts
4
- declare const defaultPreset: typeof defaultFoundationPreset; //#endregion
3
+ declare const defaultPreset: typeof defaultFoundationPreset;
5
4
  //#endregion
6
5
  export { defaultPreset };
@@ -1,6 +1,5 @@
1
1
  import { forestFoundationPreset } from "../../foundational-presets/dist/forest.js";
2
2
  //#region ../presets/dist/forest.d.ts
3
- //#region src/forest.d.ts
4
- declare const forestPreset: typeof forestFoundationPreset; //#endregion
3
+ declare const forestPreset: typeof forestFoundationPreset;
5
4
  //#endregion
6
5
  export { forestPreset };
@@ -1,6 +1,5 @@
1
1
  import { highContrastFoundationPreset } from "../../foundational-presets/dist/highContrast.js";
2
2
  //#region ../presets/dist/highContrast.d.ts
3
- //#region src/highContrast.d.ts
4
- declare const highContrastPreset: typeof highContrastFoundationPreset; //#endregion
3
+ declare const highContrastPreset: typeof highContrastFoundationPreset;
5
4
  //#endregion
6
5
  export { highContrastPreset };
@@ -1,6 +1,5 @@
1
1
  import { lavenderFoundationPreset } from "../../foundational-presets/dist/lavender.js";
2
2
  //#region ../presets/dist/lavender.d.ts
3
- //#region src/lavender.d.ts
4
- declare const lavenderPreset: typeof lavenderFoundationPreset; //#endregion
3
+ declare const lavenderPreset: typeof lavenderFoundationPreset;
5
4
  //#endregion
6
5
  export { lavenderPreset };
@@ -1,6 +1,5 @@
1
1
  import { luxuryFoundationPreset } from "../../foundational-presets/dist/luxury.js";
2
2
  //#region ../presets/dist/luxury.d.ts
3
- //#region src/luxury.d.ts
4
- declare const luxuryPreset: typeof luxuryFoundationPreset; //#endregion
3
+ declare const luxuryPreset: typeof luxuryFoundationPreset;
5
4
  //#endregion
6
5
  export { luxuryPreset };
@@ -1,6 +1,5 @@
1
1
  import { monochromeFoundationPreset } from "../../foundational-presets/dist/monochrome.js";
2
2
  //#region ../presets/dist/monochrome.d.ts
3
- //#region src/monochrome.d.ts
4
- declare const monochromePreset: typeof monochromeFoundationPreset; //#endregion
3
+ declare const monochromePreset: typeof monochromeFoundationPreset;
5
4
  //#endregion
6
5
  export { monochromePreset };