@yahoo/uds-v5-wip 1.16.1 → 1.17.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.
@@ -4,9 +4,9 @@ import "../../utils/dist/index.js";
4
4
  import { getConfigurablePropMapping } from "../../core/dist/propMappings.js";
5
5
  import "../../core/dist/index.js";
6
6
  import { buildMotionReference, resolveComponentMotionAliases, validateComponentVariants } from "./component-resolution.js";
7
- import { applyPresetToData, deepMerge, mergeAtomic } from "./preset-merge.js";
8
7
  import { expandPropertyGroups } from "./propertyGroups.js";
9
8
  import { resolveTokenType, sniffTokenTypeFromValue } from "./resolveTokenTypes.js";
9
+ import { applyPresetToData, deepMerge, mergeAtomic } from "./preset-merge.js";
10
10
  //#region ../config/dist/createConfig.js
11
11
  /** biome-ignore-all lint/suspicious/noExplicitAny: necessary for dynamic builder to work correctly */
12
12
  /** Build a structured token reference object from atomic tokens */
@@ -1,6 +1,6 @@
1
- import { applySlotOverrides, assertTransformedConfig, buildSlotProps, buildUntransformedSlotProps, inferComponentNameFromRenderFn, mergeMotionConfig, mergeRootClassName, mergeSlotMotionProps, partitionMergedProps } from "./createComponent.boundaries.js";
2
1
  import { processStyleProps } from "./getStyles.js";
3
2
  import { createComponentStyler } from "./getComponentStyles.js";
3
+ import { applySlotOverrides, assertTransformedConfig, buildSlotProps, buildUntransformedSlotProps, inferComponentNameFromRenderFn, mergeMotionConfig, mergeRootClassName, mergeSlotMotionProps, partitionMergedProps } from "./createComponent.boundaries.js";
4
4
  import { createElement } from "react";
5
5
  //#region ../core/dist/createComponent.js
6
6
  function createPrimitiveRenderFn(tag) {
@@ -2,6 +2,7 @@ import { UdsConfig } from "../../config/dist/createConfig.js";
2
2
  import * as _$_uds_types0 from "@uds/types";
3
3
 
4
4
  //#region ../foundational-presets/dist/boldVibrant.d.ts
5
+ //#region src/boldVibrant.d.ts
5
6
  declare const boldVibrantFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
6
7
  [x: string]: Record<string, string>;
7
8
  }, {}, {}, {}, "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
@@ -2,6 +2,7 @@ import { UdsConfig } from "../../config/dist/createConfig.js";
2
2
  import * as _$_uds_types0 from "@uds/types";
3
3
 
4
4
  //#region ../foundational-presets/dist/brutalist.d.ts
5
+ //#region src/brutalist.d.ts
5
6
  declare const brutalistFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
6
7
  [x: string]: Record<string, string>;
7
8
  }, {}, {}, {}, "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
@@ -2,6 +2,7 @@ import { UdsConfig } from "../../config/dist/createConfig.js";
2
2
  import * as _$_uds_types0 from "@uds/types";
3
3
 
4
4
  //#region ../foundational-presets/dist/candy.d.ts
5
+ //#region src/candy.d.ts
5
6
  declare const candyFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
6
7
  [x: string]: Record<string, string>;
7
8
  }, {}, {}, {}, "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
@@ -2,6 +2,7 @@ import { UdsConfig } from "../../config/dist/createConfig.js";
2
2
  import * as _$_uds_types0 from "@uds/types";
3
3
 
4
4
  //#region ../foundational-presets/dist/cleanMinimalist.d.ts
5
+ //#region src/cleanMinimalist.d.ts
5
6
  declare const cleanMinimalistFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
6
7
  [x: string]: Record<string, string>;
7
8
  }, {}, {}, {}, "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
@@ -2,6 +2,7 @@ import { UdsConfig } from "../../config/dist/createConfig.js";
2
2
  import * as _$_uds_types0 from "@uds/types";
3
3
 
4
4
  //#region ../foundational-presets/dist/corporate.d.ts
5
+ //#region src/corporate.d.ts
5
6
  declare const corporateFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
6
7
  [x: string]: Record<string, string>;
7
8
  }, {}, {}, {}, "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
@@ -2,6 +2,7 @@ import { UdsConfig } from "../../config/dist/createConfig.js";
2
2
  import * as _$_uds_types0 from "@uds/types";
3
3
 
4
4
  //#region ../foundational-presets/dist/darkMoody.d.ts
5
+ //#region src/darkMoody.d.ts
5
6
  declare const darkMoodyFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
6
7
  [x: string]: Record<string, string>;
7
8
  }, {}, {}, {}, "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
@@ -2,6 +2,7 @@ import { UdsConfig } from "../../config/dist/createConfig.js";
2
2
  import * as _$_uds_types0 from "@uds/types";
3
3
 
4
4
  //#region ../foundational-presets/dist/defaultPreset.d.ts
5
+ //#region src/defaultPreset.d.ts
5
6
  declare const defaultFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
6
7
  [x: string]: Record<string, string>;
7
8
  }, {}, {}, {}, "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
@@ -2,6 +2,7 @@ import { UdsConfig } from "../../config/dist/createConfig.js";
2
2
  import * as _$_uds_types0 from "@uds/types";
3
3
 
4
4
  //#region ../foundational-presets/dist/forest.d.ts
5
+ //#region src/forest.d.ts
5
6
  declare const forestFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
6
7
  [x: string]: Record<string, string>;
7
8
  }, {}, {}, {}, "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
@@ -2,6 +2,7 @@ import { UdsConfig } from "../../config/dist/createConfig.js";
2
2
  import * as _$_uds_types0 from "@uds/types";
3
3
 
4
4
  //#region ../foundational-presets/dist/highContrast.d.ts
5
+ //#region src/highContrast.d.ts
5
6
  declare const highContrastFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
6
7
  [x: string]: Record<string, string>;
7
8
  }, {}, {}, {}, "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
@@ -2,6 +2,7 @@ import { UdsConfig } from "../../config/dist/createConfig.js";
2
2
  import * as _$_uds_types0 from "@uds/types";
3
3
 
4
4
  //#region ../foundational-presets/dist/lavender.d.ts
5
+ //#region src/lavender.d.ts
5
6
  declare const lavenderFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
6
7
  [x: string]: Record<string, string>;
7
8
  }, {}, {}, {}, "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
@@ -2,6 +2,7 @@ import { UdsConfig } from "../../config/dist/createConfig.js";
2
2
  import * as _$_uds_types0 from "@uds/types";
3
3
 
4
4
  //#region ../foundational-presets/dist/luxury.d.ts
5
+ //#region src/luxury.d.ts
5
6
  declare const luxuryFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
6
7
  [x: string]: Record<string, string>;
7
8
  }, {}, {}, {}, "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
@@ -2,6 +2,7 @@ import { UdsConfig } from "../../config/dist/createConfig.js";
2
2
  import * as _$_uds_types0 from "@uds/types";
3
3
 
4
4
  //#region ../foundational-presets/dist/monochrome.d.ts
5
+ //#region src/monochrome.d.ts
5
6
  declare const monochromeFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
6
7
  [x: string]: Record<string, string>;
7
8
  }, {}, {}, {}, "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
@@ -1,4 +1,5 @@
1
1
  //#region ../foundational-presets/dist/motion.d.ts
2
+ //#region src/motion.d.ts
2
3
  interface InterpolateMarker {
3
4
  __type: 'interpolate';
4
5
  output: number[];
@@ -7,6 +8,6 @@ interface InterpolateMarker {
7
8
  declare function interpolate(config: {
8
9
  output: number[];
9
10
  extrapolate?: 'clamp' | 'extend' | 'identity';
10
- }): InterpolateMarker;
11
+ }): InterpolateMarker; //#endregion
11
12
  //#endregion
12
13
  export { InterpolateMarker, interpolate };
@@ -2,6 +2,7 @@ import { UdsConfig } from "../../config/dist/createConfig.js";
2
2
  import * as _$_uds_types0 from "@uds/types";
3
3
 
4
4
  //#region ../foundational-presets/dist/neonCyber.d.ts
5
+ //#region src/neonCyber.d.ts
5
6
  declare const neonCyberFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
6
7
  [x: string]: Record<string, string>;
7
8
  }, {}, {}, {}, "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
@@ -2,6 +2,7 @@ import { UdsConfig } from "../../config/dist/createConfig.js";
2
2
  import * as _$_uds_types0 from "@uds/types";
3
3
 
4
4
  //#region ../foundational-presets/dist/newspaper.d.ts
5
+ //#region src/newspaper.d.ts
5
6
  declare const newspaperFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
6
7
  [x: string]: Record<string, string>;
7
8
  }, {}, {}, {}, "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
@@ -2,6 +2,7 @@ import { UdsConfig } from "../../config/dist/createConfig.js";
2
2
  import * as _$_uds_types0 from "@uds/types";
3
3
 
4
4
  //#region ../foundational-presets/dist/ocean.d.ts
5
+ //#region src/ocean.d.ts
5
6
  declare const oceanFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
6
7
  [x: string]: Record<string, string>;
7
8
  }, {}, {}, {}, "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
@@ -2,6 +2,7 @@ import { UdsConfig } from "../../config/dist/createConfig.js";
2
2
  import * as _$_uds_types0 from "@uds/types";
3
3
 
4
4
  //#region ../foundational-presets/dist/slate.d.ts
5
+ //#region src/slate.d.ts
5
6
  declare const slateFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
6
7
  [x: string]: Record<string, string>;
7
8
  }, {}, {}, {}, "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
@@ -2,6 +2,7 @@ import { UdsConfig } from "../../config/dist/createConfig.js";
2
2
  import * as _$_uds_types0 from "@uds/types";
3
3
 
4
4
  //#region ../foundational-presets/dist/sunset.d.ts
5
+ //#region src/sunset.d.ts
5
6
  declare const sunsetFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
6
7
  [x: string]: Record<string, string>;
7
8
  }, {}, {}, {}, "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
@@ -2,6 +2,7 @@ import { UdsConfig } from "../../config/dist/createConfig.js";
2
2
  import * as _$_uds_types0 from "@uds/types";
3
3
 
4
4
  //#region ../foundational-presets/dist/terminal.d.ts
5
+ //#region src/terminal.d.ts
5
6
  declare const terminalFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
6
7
  [x: string]: Record<string, string>;
7
8
  }, {}, {}, {}, "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
@@ -2,6 +2,7 @@ import { UdsConfig } from "../../config/dist/createConfig.js";
2
2
  import * as _$_uds_types0 from "@uds/types";
3
3
 
4
4
  //#region ../foundational-presets/dist/warmOrganic.d.ts
5
+ //#region src/warmOrganic.d.ts
5
6
  declare const warmOrganicFoundationPreset: UdsConfig<_$_uds_types0.ModifierProp | "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {
6
7
  [x: string]: Record<string, string>;
7
8
  }, {}, {}, {}, "_light" | "_dark" | "_sm" | "_md" | "_lg" | "_xl" | "_2xl", {