@yahoo/uds 3.174.1 → 3.175.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.
@@ -131,6 +131,6 @@ interface MenuItemCheckboxProps extends Omit<PressableProps, 'asChild'>, HtmlBut
131
131
  *
132
132
  * @related [Menu](https://uds.build/docs/components/menu), [Menu.Item](https://uds.build/docs/components/menu-item)
133
133
  **/
134
- declare const MenuItemCheckbox: _$react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "hideEndIcon" | "rootProps" | "active"> & _$react.RefAttributes<HTMLDivElement>>;
134
+ declare const MenuItemCheckbox: _$react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "active" | "hideEndIcon" | "rootProps"> & _$react.RefAttributes<HTMLDivElement>>;
135
135
  //#endregion
136
136
  export { MenuItemCheckbox, type MenuItemCheckboxProps };
@@ -132,6 +132,6 @@ interface MenuItemCheckboxProps extends Omit<PressableProps, 'asChild'>, HtmlBut
132
132
  *
133
133
  * @related [Menu](https://uds.build/docs/components/menu), [Menu.Item](https://uds.build/docs/components/menu-item)
134
134
  **/
135
- declare const MenuItemCheckbox: _$react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "hideEndIcon" | "rootProps" | "active"> & _$react.RefAttributes<HTMLDivElement>>;
135
+ declare const MenuItemCheckbox: _$react.ForwardRefExoticComponent<Omit<MenuItemCheckboxProps, "active" | "hideEndIcon" | "rootProps"> & _$react.RefAttributes<HTMLDivElement>>;
136
136
  //#endregion
137
137
  export { MenuItemCheckbox, type MenuItemCheckboxProps };
@@ -27,6 +27,7 @@ const showHelp = () => {
27
27
  require_print.print(` ${require_colors.cyan("--verbose, -v")} List every scanned file used for purging`);
28
28
  require_print.print(` ${require_colors.cyan("--workers <n>")} Number of parallel workers (default: auto = CPU count - 1)`);
29
29
  require_print.print(` ${require_colors.cyan("--emit <mode>")} Emission mode: exhaustive (default) | selective`);
30
+ require_print.print(` ${require_colors.cyan("--utilities <mode>")} Utility ownership: emit (default) | app-sheet (omit app utilities; requires an onlyTheme app sheet with the same config)`);
30
31
  require_print.print(` ${require_colors.cyan("--include-dev-files")} Also scan test/spec/story files (excluded by default)`);
31
32
  require_print.print(` ${require_colors.cyan("--include-stories")} Also scan story files, keeping test/spec excluded`);
32
33
  require_print.print(` ${require_colors.cyan("--force")} Overwrite existing uds.theme.ts (for init)`);
@@ -26,6 +26,11 @@ const parseEmitOption = (value) => {
26
26
  if (value === "exhaustive" || value === "selective") return value;
27
27
  throw new Error(`Invalid --emit "${String(value)}". Expected 'exhaustive' or 'selective'.`);
28
28
  };
29
+ const parseUtilitiesOption = (value) => {
30
+ if (value === void 0 || value === null) return;
31
+ if (value === "emit" || value === "app-sheet") return value;
32
+ throw new Error(`Invalid --utilities "${String(value)}". Expected 'emit' or 'app-sheet'.`);
33
+ };
29
34
  const getCssRunOptions = (workspaceDir, options) => {
30
35
  return {
31
36
  workspaceDir,
@@ -35,6 +40,7 @@ const getCssRunOptions = (workspaceDir, options) => {
35
40
  entryOption: entryOption(options.entry),
36
41
  configOption: stringOption(options.config),
37
42
  emit: parseEmitOption(options.emit),
43
+ utilities: parseUtilitiesOption(options.utilities),
38
44
  includeDevFiles: isTruthyFlag(options["include-dev-files"]) || isTruthyFlag(options.includeDevFiles) ? true : void 0,
39
45
  includeStories: isTruthyFlag(options["include-stories"]) || isTruthyFlag(options.includeStories) ? true : void 0,
40
46
  watch: isTruthyFlag(options.watch) || isTruthyFlag(options.w),
@@ -26,6 +26,11 @@ const parseEmitOption = (value) => {
26
26
  if (value === "exhaustive" || value === "selective") return value;
27
27
  throw new Error(`Invalid --emit "${String(value)}". Expected 'exhaustive' or 'selective'.`);
28
28
  };
29
+ const parseUtilitiesOption = (value) => {
30
+ if (value === void 0 || value === null) return;
31
+ if (value === "emit" || value === "app-sheet") return value;
32
+ throw new Error(`Invalid --utilities "${String(value)}". Expected 'emit' or 'app-sheet'.`);
33
+ };
29
34
  const getCssRunOptions = (workspaceDir, options) => {
30
35
  return {
31
36
  workspaceDir,
@@ -35,6 +40,7 @@ const getCssRunOptions = (workspaceDir, options) => {
35
40
  entryOption: entryOption(options.entry),
36
41
  configOption: stringOption(options.config),
37
42
  emit: parseEmitOption(options.emit),
43
+ utilities: parseUtilitiesOption(options.utilities),
38
44
  includeDevFiles: isTruthyFlag(options["include-dev-files"]) || isTruthyFlag(options.includeDevFiles) ? true : void 0,
39
45
  includeStories: isTruthyFlag(options["include-stories"]) || isTruthyFlag(options.includeStories) ? true : void 0,
40
46
  watch: isTruthyFlag(options.watch) || isTruthyFlag(options.w),
@@ -27,6 +27,7 @@ const showHelp = () => {
27
27
  print(` ${cyan("--verbose, -v")} List every scanned file used for purging`);
28
28
  print(` ${cyan("--workers <n>")} Number of parallel workers (default: auto = CPU count - 1)`);
29
29
  print(` ${cyan("--emit <mode>")} Emission mode: exhaustive (default) | selective`);
30
+ print(` ${cyan("--utilities <mode>")} Utility ownership: emit (default) | app-sheet (omit app utilities; requires an onlyTheme app sheet with the same config)`);
30
31
  print(` ${cyan("--include-dev-files")} Also scan test/spec/story files (excluded by default)`);
31
32
  print(` ${cyan("--include-stories")} Also scan story files, keeping test/spec excluded`);
32
33
  print(` ${cyan("--force")} Overwrite existing uds.theme.ts (for init)`);
@@ -49,7 +49,8 @@ const generateCSS = async (safelist, config, options) => {
49
49
  config,
50
50
  enablePreflight: cssFlags.enablePreflight,
51
51
  enableFontFaceDeclarations: cssFlags.enableFontFaceDeclarations,
52
- emit: options?.cssOptions?.emit
52
+ emit: options?.cssOptions?.emit,
53
+ utilities: options?.cssOptions?.utilities
53
54
  }),
54
55
  shouldPruneVars: cssFlags.shouldPruneVars,
55
56
  safeVarPrefixes: options?.safeVarPrefixes ?? [],
@@ -109,6 +110,7 @@ const generateSimpleModeCSS = async (options) => {
109
110
  scope: options.scope,
110
111
  contentDir: entryDirs,
111
112
  variantClassMaps: [options.variants, options.autoVariants],
113
+ cssOptions: { utilities: options.utilities },
112
114
  safeVarPrefixes: [...require_utils.getMotionVarPrefixes(options.componentData, [...allComponents]), ...require_utils.getConfigurableCssVariables()]
113
115
  });
114
116
  const outputPath = node_path.default.isAbsolute(options.outFile) ? options.outFile : node_path.default.join(options.workspaceDir, options.outFile);
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { EmitMode } from "../packages/automated-config/dist/utils/index.cjs";
3
- import { TailwindSafelistConfig } from "./generate.helpers.cjs";
3
+ import { TailwindSafelistConfig, UtilitiesMode } from "./generate.helpers.cjs";
4
4
  import { UDSCSSOptimizationOptions } from "./theme.cjs";
5
5
 
6
6
  //#region ../css/dist/css/generate.d.mts
@@ -27,6 +27,26 @@ interface UDSCSSOptions {
27
27
  * (`scoped` / `excludeBoundaries`) + the isolation fence for coexistence safety.
28
28
  */
29
29
  emit?: EmitMode;
30
+ /**
31
+ * Who owns utility (non-component) CSS in this bundle.
32
+ *
33
+ * - `'emit'` (default): compile utilities from the entry content scan into
34
+ * this file using THIS theme's uds.config tokens — prefixed with `scope`
35
+ * when set, so this theme's values win inside the scope even if the app
36
+ * sheet's theme differs. Required when this file is the app's only
37
+ * stylesheet, or when the root Tailwind config diverges from uds.config.
38
+ *
39
+ * - `'app-sheet'`: omit them — the app's root Tailwind sheet owns all
40
+ * utilities, including inside `scope`. Only valid in the two-sheet
41
+ * architecture where the root config uses
42
+ * `tailwindPlugin({ onlyTheme: true })` with the SAME uds.config, so
43
+ * utility values are identical and only specificity changes. Explicit
44
+ * `css.safelist` entries are still emitted.
45
+ *
46
+ * Ignored (forced to `'emit'`, with a warning) for `scoped:` package
47
+ * bundles — their sources aren't part of any app sheet's content scan.
48
+ */
49
+ utilities?: UtilitiesMode;
30
50
  /**
31
51
  * Additional selectors whose subtrees this theme's bundles must not match.
32
52
  * Every emitted bundle (main and each `scoped:` entry) gets a
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { EmitMode } from "../packages/automated-config/dist/utils/index.js";
3
- import { TailwindSafelistConfig } from "./generate.helpers.js";
3
+ import { TailwindSafelistConfig, UtilitiesMode } from "./generate.helpers.js";
4
4
  import { UDSCSSOptimizationOptions } from "./theme.js";
5
5
 
6
6
  //#region ../css/dist/css/generate.d.mts
@@ -27,6 +27,26 @@ interface UDSCSSOptions {
27
27
  * (`scoped` / `excludeBoundaries`) + the isolation fence for coexistence safety.
28
28
  */
29
29
  emit?: EmitMode;
30
+ /**
31
+ * Who owns utility (non-component) CSS in this bundle.
32
+ *
33
+ * - `'emit'` (default): compile utilities from the entry content scan into
34
+ * this file using THIS theme's uds.config tokens — prefixed with `scope`
35
+ * when set, so this theme's values win inside the scope even if the app
36
+ * sheet's theme differs. Required when this file is the app's only
37
+ * stylesheet, or when the root Tailwind config diverges from uds.config.
38
+ *
39
+ * - `'app-sheet'`: omit them — the app's root Tailwind sheet owns all
40
+ * utilities, including inside `scope`. Only valid in the two-sheet
41
+ * architecture where the root config uses
42
+ * `tailwindPlugin({ onlyTheme: true })` with the SAME uds.config, so
43
+ * utility values are identical and only specificity changes. Explicit
44
+ * `css.safelist` entries are still emitted.
45
+ *
46
+ * Ignored (forced to `'emit'`, with a warning) for `scoped:` package
47
+ * bundles — their sources aren't part of any app sheet's content scan.
48
+ */
49
+ utilities?: UtilitiesMode;
30
50
  /**
31
51
  * Additional selectors whose subtrees this theme's bundles must not match.
32
52
  * Every emitted bundle (main and each `scoped:` entry) gets a
@@ -47,6 +47,10 @@ const getRawContentEntries = (rawContents) => rawContents.map((rawContent) => ({
47
47
  raw: rawContent,
48
48
  extension: "html"
49
49
  }));
50
+ const getTailwindContentSources = (options) => {
51
+ const sources = [...options.utilities === "app-sheet" ? [] : getContentGlobs(options.contentDir), ...getRawContentEntries(options.rawContents)];
52
+ return sources.length > 0 ? sources : getRawContentEntries([""]);
53
+ };
50
54
  const getTailwindEntrypointCandidates = () => [new URL("../../../tailwind-internal/dist/vendor/tailwindcss/lib/index.js", require("url").pathToFileURL(__filename).href), new URL("../vendor/tailwindcss/lib/index.js", require("url").pathToFileURL(__filename).href)];
51
55
  const loadTailwindcss = async () => {
52
56
  for (const candidate of getTailwindEntrypointCandidates()) {
@@ -70,11 +74,11 @@ const getInternalIconModeCss = (scopeClass) => {
70
74
  };
71
75
  const createTailwindPlugin = async (options) => {
72
76
  return (await loadTailwindcss())({
73
- content: [
74
- ...getContentGlobs(options.contentDir),
75
- ...getRawContentEntries(getInternalSafelistRawContent(options.safelist)),
76
- ...getRawContentEntries(options.rawContents ?? [])
77
- ],
77
+ content: getTailwindContentSources({
78
+ contentDir: options.contentDir,
79
+ utilities: options.utilities,
80
+ rawContents: [...getInternalSafelistRawContent(options.safelist), ...options.rawContents ?? []]
81
+ }),
78
82
  safelist: options.safelist,
79
83
  corePlugins: { preflight: options.enablePreflight },
80
84
  plugins: [require_tailwindPlugin.tailwindPlugin({
@@ -5,5 +5,11 @@ type TailwindSafelistConfig = string | {
5
5
  pattern: RegExp;
6
6
  variants?: string[];
7
7
  };
8
+ /**
9
+ * Who owns utility (non-component) CSS in a generated bundle. `'emit'`
10
+ * compiles utilities from the entry content scan into the bundle;
11
+ * `'app-sheet'` omits them because the app's own Tailwind sheet supplies them.
12
+ */
13
+ type UtilitiesMode = 'emit' | 'app-sheet';
8
14
  //#endregion
9
- export { TailwindSafelistConfig };
15
+ export { TailwindSafelistConfig, UtilitiesMode };
@@ -7,5 +7,11 @@ type TailwindSafelistConfig = string | {
7
7
  pattern: RegExp;
8
8
  variants?: string[];
9
9
  };
10
+ /**
11
+ * Who owns utility (non-component) CSS in a generated bundle. `'emit'`
12
+ * compiles utilities from the entry content scan into the bundle;
13
+ * `'app-sheet'` omits them because the app's own Tailwind sheet supplies them.
14
+ */
15
+ type UtilitiesMode = 'emit' | 'app-sheet';
10
16
  //#endregion
11
- export { TailwindSafelistConfig };
17
+ export { TailwindSafelistConfig, UtilitiesMode };
@@ -41,6 +41,10 @@ const getRawContentEntries = (rawContents) => rawContents.map((rawContent) => ({
41
41
  raw: rawContent,
42
42
  extension: "html"
43
43
  }));
44
+ const getTailwindContentSources = (options) => {
45
+ const sources = [...options.utilities === "app-sheet" ? [] : getContentGlobs(options.contentDir), ...getRawContentEntries(options.rawContents)];
46
+ return sources.length > 0 ? sources : getRawContentEntries([""]);
47
+ };
44
48
  const getTailwindEntrypointCandidates = () => [new URL("../../../tailwind-internal/dist/vendor/tailwindcss/lib/index.js", import.meta.url), new URL("../vendor/tailwindcss/lib/index.js", import.meta.url)];
45
49
  const loadTailwindcss = async () => {
46
50
  for (const candidate of getTailwindEntrypointCandidates()) {
@@ -64,11 +68,11 @@ const getInternalIconModeCss = (scopeClass) => {
64
68
  };
65
69
  const createTailwindPlugin = async (options) => {
66
70
  return (await loadTailwindcss())({
67
- content: [
68
- ...getContentGlobs(options.contentDir),
69
- ...getRawContentEntries(getInternalSafelistRawContent(options.safelist)),
70
- ...getRawContentEntries(options.rawContents ?? [])
71
- ],
71
+ content: getTailwindContentSources({
72
+ contentDir: options.contentDir,
73
+ utilities: options.utilities,
74
+ rawContents: [...getInternalSafelistRawContent(options.safelist), ...options.rawContents ?? []]
75
+ }),
72
76
  safelist: options.safelist,
73
77
  corePlugins: { preflight: options.enablePreflight },
74
78
  plugins: [tailwindPlugin({
@@ -45,7 +45,8 @@ const generateCSS = async (safelist, config, options) => {
45
45
  config,
46
46
  enablePreflight: cssFlags.enablePreflight,
47
47
  enableFontFaceDeclarations: cssFlags.enableFontFaceDeclarations,
48
- emit: options?.cssOptions?.emit
48
+ emit: options?.cssOptions?.emit,
49
+ utilities: options?.cssOptions?.utilities
49
50
  }),
50
51
  shouldPruneVars: cssFlags.shouldPruneVars,
51
52
  safeVarPrefixes: options?.safeVarPrefixes ?? [],
@@ -105,6 +106,7 @@ const generateSimpleModeCSS = async (options) => {
105
106
  scope: options.scope,
106
107
  contentDir: entryDirs,
107
108
  variantClassMaps: [options.variants, options.autoVariants],
109
+ cssOptions: { utilities: options.utilities },
108
110
  safeVarPrefixes: [...getMotionVarPrefixes(options.componentData, [...allComponents]), ...getConfigurableCssVariables()]
109
111
  });
110
112
  const outputPath = path.isAbsolute(options.outFile) ? options.outFile : path.join(options.workspaceDir, options.outFile);
@@ -151,6 +151,7 @@ const runSimpleMode = async (options, context) => {
151
151
  autoVariants: context.autoVariants,
152
152
  componentData: context.componentData,
153
153
  scope: options.scope,
154
+ utilities: options.utilities,
154
155
  configPath,
155
156
  isWatch: options.watch,
156
157
  silent: options.silent,
@@ -348,6 +349,8 @@ const runThemeMode = async (options, context) => {
348
349
  ]);
349
350
  const allMotionComponents = [...inheritedComponents];
350
351
  const emit = options.emit ?? themeConfig.css?.emit ?? "exhaustive";
352
+ const utilities = options.utilities ?? themeConfig.css?.utilities ?? "emit";
353
+ if (utilities === "app-sheet" && scopedPackageTargets.length > 0) genLog.warn(`css.utilities 'app-sheet' ignored for scoped bundles (${scopedPackageTargets.map((target) => target.packageName).join(", ")}): package sources aren't in any app sheet's content scan; utilities still emitted (scoped).`);
351
354
  const allBoundarySelectors = [...emit === "selective" ? scopedPackageTargets.map((target) => target.scopeClass) : [], ...themeConfig.css?.excludeBoundaries ?? []];
352
355
  require_perf.captureMemory("before-gen");
353
356
  const mainCssResult = await require_perf.measureAsync("gen", () => require_generate.generateCSS([...themeConfig.css?.safelist ?? [], ...mainSafelist], appConfig, {
@@ -355,7 +358,8 @@ const runThemeMode = async (options, context) => {
355
358
  contentDir: entryDirs,
356
359
  cssOptions: {
357
360
  ...themeConfig.css,
358
- emit
361
+ emit,
362
+ utilities
359
363
  },
360
364
  otherBoundaryScopes: allBoundarySelectors,
361
365
  variantClassMaps: [context.variants, context.autoVariants],
@@ -391,7 +395,8 @@ const runThemeMode = async (options, context) => {
391
395
  contentDir: scopedPackageTarget.entryDirs,
392
396
  cssOptions: {
393
397
  ...themeConfig.css,
394
- emit
398
+ emit,
399
+ utilities: "emit"
395
400
  },
396
401
  otherBoundaryScopes: allBoundarySelectors.filter((selector) => selector !== scopedPackageTarget.scopeClass),
397
402
  variantClassMaps: [context.variants, context.autoVariants],
@@ -149,6 +149,7 @@ const runSimpleMode = async (options, context) => {
149
149
  autoVariants: context.autoVariants,
150
150
  componentData: context.componentData,
151
151
  scope: options.scope,
152
+ utilities: options.utilities,
152
153
  configPath,
153
154
  isWatch: options.watch,
154
155
  silent: options.silent,
@@ -346,6 +347,8 @@ const runThemeMode = async (options, context) => {
346
347
  ]);
347
348
  const allMotionComponents = [...inheritedComponents];
348
349
  const emit = options.emit ?? themeConfig.css?.emit ?? "exhaustive";
350
+ const utilities = options.utilities ?? themeConfig.css?.utilities ?? "emit";
351
+ if (utilities === "app-sheet" && scopedPackageTargets.length > 0) genLog.warn(`css.utilities 'app-sheet' ignored for scoped bundles (${scopedPackageTargets.map((target) => target.packageName).join(", ")}): package sources aren't in any app sheet's content scan; utilities still emitted (scoped).`);
349
352
  const allBoundarySelectors = [...emit === "selective" ? scopedPackageTargets.map((target) => target.scopeClass) : [], ...themeConfig.css?.excludeBoundaries ?? []];
350
353
  captureMemory("before-gen");
351
354
  const mainCssResult = await measureAsync("gen", () => generateCSS([...themeConfig.css?.safelist ?? [], ...mainSafelist], appConfig, {
@@ -353,7 +356,8 @@ const runThemeMode = async (options, context) => {
353
356
  contentDir: entryDirs,
354
357
  cssOptions: {
355
358
  ...themeConfig.css,
356
- emit
359
+ emit,
360
+ utilities
357
361
  },
358
362
  otherBoundaryScopes: allBoundarySelectors,
359
363
  variantClassMaps: [context.variants, context.autoVariants],
@@ -389,7 +393,8 @@ const runThemeMode = async (options, context) => {
389
393
  contentDir: scopedPackageTarget.entryDirs,
390
394
  cssOptions: {
391
395
  ...themeConfig.css,
392
- emit
396
+ emit,
397
+ utilities: "emit"
393
398
  },
394
399
  otherBoundaryScopes: allBoundarySelectors.filter((selector) => selector !== scopedPackageTarget.scopeClass),
395
400
  variantClassMaps: [context.variants, context.autoVariants],
@@ -367,70 +367,6 @@ var componentData_default = {
367
367
  "runtimeConfigInternalComponentProps": {},
368
368
  "motionVarPrefixes": []
369
369
  },
370
- DividerLabel: {
371
- "name": "DividerLabel",
372
- "defaultProps": {
373
- "variant": "primary",
374
- "textVariant": "inherit",
375
- "color": "inherit",
376
- "as": "span"
377
- },
378
- "getStylesLiterals": {},
379
- "cxLiterals": ["inherit"],
380
- "internalComponents": ["Text"],
381
- "internalComponentProps": {},
382
- "propToVariantKeys": {
383
- "variant": ["dividerVariantLabel"],
384
- "textVariant": ["variant"]
385
- },
386
- "runtimeConfigDefaultProps": {},
387
- "runtimeConfigGetStyles": {},
388
- "runtimeConfigInternalComponentProps": {},
389
- "motionVarPrefixes": []
390
- },
391
- DividerLine: {
392
- "name": "DividerLine",
393
- "defaultProps": { "variant": "primary" },
394
- "getStylesLiterals": {},
395
- "cxLiterals": ["inherit"],
396
- "internalComponents": ["Box"],
397
- "internalComponentProps": { "Box": { "flex": ["1"] } },
398
- "propToVariantKeys": { "variant": ["dividerVariantLine"] },
399
- "runtimeConfigDefaultProps": {},
400
- "runtimeConfigGetStyles": {},
401
- "runtimeConfigInternalComponentProps": {},
402
- "motionVarPrefixes": []
403
- },
404
- Divider: {
405
- "name": "Divider",
406
- "defaultProps": {
407
- "variant": "primary",
408
- "contentPosition": "center"
409
- },
410
- "getStylesLiterals": {},
411
- "cxLiterals": ["inherit"],
412
- "internalComponents": [
413
- "DividerLine",
414
- "DividerLabel",
415
- "InternalComponent",
416
- "Box"
417
- ],
418
- "internalComponentProps": {
419
- "InternalComponent": {
420
- "alignItems": ["center"],
421
- "flex": ["1"]
422
- },
423
- "Box": {
424
- "display": ["flex"],
425
- "flex": ["none"]
426
- }
427
- },
428
- "propToVariantKeys": { "variant": ["dividerVariantRoot"] },
429
- "runtimeConfigDefaultProps": {},
430
- "runtimeConfigGetStyles": {},
431
- "runtimeConfigInternalComponentProps": {},
432
- "motionVarPrefixes": []
433
- },
434
370
  "Table.mocks": {
435
371
  "name": "Table.mocks",
436
372
  "defaultProps": {},
@@ -499,6 +435,70 @@ var componentData_default = {
499
435
  "runtimeConfigInternalComponentProps": {},
500
436
  "motionVarPrefixes": []
501
437
  },
438
+ DividerLabel: {
439
+ "name": "DividerLabel",
440
+ "defaultProps": {
441
+ "variant": "primary",
442
+ "textVariant": "inherit",
443
+ "color": "inherit",
444
+ "as": "span"
445
+ },
446
+ "getStylesLiterals": {},
447
+ "cxLiterals": ["inherit"],
448
+ "internalComponents": ["Text"],
449
+ "internalComponentProps": {},
450
+ "propToVariantKeys": {
451
+ "variant": ["dividerVariantLabel"],
452
+ "textVariant": ["variant"]
453
+ },
454
+ "runtimeConfigDefaultProps": {},
455
+ "runtimeConfigGetStyles": {},
456
+ "runtimeConfigInternalComponentProps": {},
457
+ "motionVarPrefixes": []
458
+ },
459
+ DividerLine: {
460
+ "name": "DividerLine",
461
+ "defaultProps": { "variant": "primary" },
462
+ "getStylesLiterals": {},
463
+ "cxLiterals": ["inherit"],
464
+ "internalComponents": ["Box"],
465
+ "internalComponentProps": { "Box": { "flex": ["1"] } },
466
+ "propToVariantKeys": { "variant": ["dividerVariantLine"] },
467
+ "runtimeConfigDefaultProps": {},
468
+ "runtimeConfigGetStyles": {},
469
+ "runtimeConfigInternalComponentProps": {},
470
+ "motionVarPrefixes": []
471
+ },
472
+ Divider: {
473
+ "name": "Divider",
474
+ "defaultProps": {
475
+ "variant": "primary",
476
+ "contentPosition": "center"
477
+ },
478
+ "getStylesLiterals": {},
479
+ "cxLiterals": ["inherit"],
480
+ "internalComponents": [
481
+ "DividerLine",
482
+ "DividerLabel",
483
+ "InternalComponent",
484
+ "Box"
485
+ ],
486
+ "internalComponentProps": {
487
+ "InternalComponent": {
488
+ "alignItems": ["center"],
489
+ "flex": ["1"]
490
+ },
491
+ "Box": {
492
+ "display": ["flex"],
493
+ "flex": ["none"]
494
+ }
495
+ },
496
+ "propToVariantKeys": { "variant": ["dividerVariantRoot"] },
497
+ "runtimeConfigDefaultProps": {},
498
+ "runtimeConfigGetStyles": {},
499
+ "runtimeConfigInternalComponentProps": {},
500
+ "motionVarPrefixes": []
501
+ },
502
502
  Badge: {
503
503
  "name": "Badge",
504
504
  "defaultProps": {
@@ -367,70 +367,6 @@ var componentData_default = {
367
367
  "runtimeConfigInternalComponentProps": {},
368
368
  "motionVarPrefixes": []
369
369
  },
370
- DividerLabel: {
371
- "name": "DividerLabel",
372
- "defaultProps": {
373
- "variant": "primary",
374
- "textVariant": "inherit",
375
- "color": "inherit",
376
- "as": "span"
377
- },
378
- "getStylesLiterals": {},
379
- "cxLiterals": ["inherit"],
380
- "internalComponents": ["Text"],
381
- "internalComponentProps": {},
382
- "propToVariantKeys": {
383
- "variant": ["dividerVariantLabel"],
384
- "textVariant": ["variant"]
385
- },
386
- "runtimeConfigDefaultProps": {},
387
- "runtimeConfigGetStyles": {},
388
- "runtimeConfigInternalComponentProps": {},
389
- "motionVarPrefixes": []
390
- },
391
- DividerLine: {
392
- "name": "DividerLine",
393
- "defaultProps": { "variant": "primary" },
394
- "getStylesLiterals": {},
395
- "cxLiterals": ["inherit"],
396
- "internalComponents": ["Box"],
397
- "internalComponentProps": { "Box": { "flex": ["1"] } },
398
- "propToVariantKeys": { "variant": ["dividerVariantLine"] },
399
- "runtimeConfigDefaultProps": {},
400
- "runtimeConfigGetStyles": {},
401
- "runtimeConfigInternalComponentProps": {},
402
- "motionVarPrefixes": []
403
- },
404
- Divider: {
405
- "name": "Divider",
406
- "defaultProps": {
407
- "variant": "primary",
408
- "contentPosition": "center"
409
- },
410
- "getStylesLiterals": {},
411
- "cxLiterals": ["inherit"],
412
- "internalComponents": [
413
- "DividerLine",
414
- "DividerLabel",
415
- "InternalComponent",
416
- "Box"
417
- ],
418
- "internalComponentProps": {
419
- "InternalComponent": {
420
- "alignItems": ["center"],
421
- "flex": ["1"]
422
- },
423
- "Box": {
424
- "display": ["flex"],
425
- "flex": ["none"]
426
- }
427
- },
428
- "propToVariantKeys": { "variant": ["dividerVariantRoot"] },
429
- "runtimeConfigDefaultProps": {},
430
- "runtimeConfigGetStyles": {},
431
- "runtimeConfigInternalComponentProps": {},
432
- "motionVarPrefixes": []
433
- },
434
370
  "Table.mocks": {
435
371
  "name": "Table.mocks",
436
372
  "defaultProps": {},
@@ -499,6 +435,70 @@ var componentData_default = {
499
435
  "runtimeConfigInternalComponentProps": {},
500
436
  "motionVarPrefixes": []
501
437
  },
438
+ DividerLabel: {
439
+ "name": "DividerLabel",
440
+ "defaultProps": {
441
+ "variant": "primary",
442
+ "textVariant": "inherit",
443
+ "color": "inherit",
444
+ "as": "span"
445
+ },
446
+ "getStylesLiterals": {},
447
+ "cxLiterals": ["inherit"],
448
+ "internalComponents": ["Text"],
449
+ "internalComponentProps": {},
450
+ "propToVariantKeys": {
451
+ "variant": ["dividerVariantLabel"],
452
+ "textVariant": ["variant"]
453
+ },
454
+ "runtimeConfigDefaultProps": {},
455
+ "runtimeConfigGetStyles": {},
456
+ "runtimeConfigInternalComponentProps": {},
457
+ "motionVarPrefixes": []
458
+ },
459
+ DividerLine: {
460
+ "name": "DividerLine",
461
+ "defaultProps": { "variant": "primary" },
462
+ "getStylesLiterals": {},
463
+ "cxLiterals": ["inherit"],
464
+ "internalComponents": ["Box"],
465
+ "internalComponentProps": { "Box": { "flex": ["1"] } },
466
+ "propToVariantKeys": { "variant": ["dividerVariantLine"] },
467
+ "runtimeConfigDefaultProps": {},
468
+ "runtimeConfigGetStyles": {},
469
+ "runtimeConfigInternalComponentProps": {},
470
+ "motionVarPrefixes": []
471
+ },
472
+ Divider: {
473
+ "name": "Divider",
474
+ "defaultProps": {
475
+ "variant": "primary",
476
+ "contentPosition": "center"
477
+ },
478
+ "getStylesLiterals": {},
479
+ "cxLiterals": ["inherit"],
480
+ "internalComponents": [
481
+ "DividerLine",
482
+ "DividerLabel",
483
+ "InternalComponent",
484
+ "Box"
485
+ ],
486
+ "internalComponentProps": {
487
+ "InternalComponent": {
488
+ "alignItems": ["center"],
489
+ "flex": ["1"]
490
+ },
491
+ "Box": {
492
+ "display": ["flex"],
493
+ "flex": ["none"]
494
+ }
495
+ },
496
+ "propToVariantKeys": { "variant": ["dividerVariantRoot"] },
497
+ "runtimeConfigDefaultProps": {},
498
+ "runtimeConfigGetStyles": {},
499
+ "runtimeConfigInternalComponentProps": {},
500
+ "motionVarPrefixes": []
501
+ },
502
502
  Badge: {
503
503
  "name": "Badge",
504
504
  "defaultProps": {
@@ -491,6 +491,92 @@
491
491
  "runtimeConfigInternalComponentProps": {},
492
492
  "motionVarPrefixes": []
493
493
  },
494
+ "Table.mocks": {
495
+ "name": "Table.mocks",
496
+ "defaultProps": {},
497
+ "getStylesLiterals": {},
498
+ "cxLiterals": [],
499
+ "internalComponents": [],
500
+ "internalComponentProps": {},
501
+ "propToVariantKeys": {},
502
+ "runtimeConfigDefaultProps": {},
503
+ "runtimeConfigGetStyles": {},
504
+ "runtimeConfigInternalComponentProps": {},
505
+ "motionVarPrefixes": []
506
+ },
507
+ "Spinner": {
508
+ "name": "Spinner",
509
+ "defaultProps": {
510
+ "color": "primary",
511
+ "size": "lg"
512
+ },
513
+ "getStylesLiterals": {},
514
+ "cxLiterals": [
515
+ "self-center",
516
+ "relative",
517
+ "sr-only"
518
+ ],
519
+ "internalComponents": [
520
+ "Icon"
521
+ ],
522
+ "internalComponentProps": {
523
+ "Icon": {
524
+ "role": [
525
+ "img"
526
+ ],
527
+ "className": [
528
+ "animate-spin"
529
+ ],
530
+ "aria-hidden": [
531
+ "true"
532
+ ]
533
+ }
534
+ },
535
+ "propToVariantKeys": {},
536
+ "runtimeConfigDefaultProps": {},
537
+ "runtimeConfigGetStyles": {},
538
+ "runtimeConfigInternalComponentProps": {},
539
+ "motionVarPrefixes": []
540
+ },
541
+ "Table": {
542
+ "name": "Table",
543
+ "defaultProps": {
544
+ "display": "table-cell",
545
+ "overflow": "hidden",
546
+ "borderColor": "muted",
547
+ "borderRadius": "md",
548
+ "spacing": "3",
549
+ "borderBottomColor": "muted",
550
+ "borderBottomWidth": "thin",
551
+ "color": "primary"
552
+ },
553
+ "getStylesLiterals": {
554
+ "textAlign": "start"
555
+ },
556
+ "cxLiterals": [],
557
+ "internalComponents": [
558
+ "CellComponent",
559
+ "Box",
560
+ "Text",
561
+ "Table.Root",
562
+ "Table.Header",
563
+ "Table.Row",
564
+ "Table.Cell",
565
+ "Table.Body"
566
+ ],
567
+ "internalComponentProps": {
568
+ "Table.Cell": {
569
+ "asHeaderCell": [
570
+ "column"
571
+ ]
572
+ }
573
+ },
574
+ "propToVariantKeys": {},
575
+ "runtimeConfigDefaultProps": {},
576
+ "runtimeConfigGetStyles": {},
577
+ "runtimeConfigInternalComponentProps": {},
578
+ "motionVarPrefixes": []
579
+ },
494
580
  "DividerLabel": {
495
581
  "name": "DividerLabel",
496
582
  "defaultProps": {
@@ -593,92 +679,6 @@
593
679
  "runtimeConfigInternalComponentProps": {},
594
680
  "motionVarPrefixes": []
595
681
  },
596
- "Table.mocks": {
597
- "name": "Table.mocks",
598
- "defaultProps": {},
599
- "getStylesLiterals": {},
600
- "cxLiterals": [],
601
- "internalComponents": [],
602
- "internalComponentProps": {},
603
- "propToVariantKeys": {},
604
- "runtimeConfigDefaultProps": {},
605
- "runtimeConfigGetStyles": {},
606
- "runtimeConfigInternalComponentProps": {},
607
- "motionVarPrefixes": []
608
- },
609
- "Spinner": {
610
- "name": "Spinner",
611
- "defaultProps": {
612
- "color": "primary",
613
- "size": "lg"
614
- },
615
- "getStylesLiterals": {},
616
- "cxLiterals": [
617
- "self-center",
618
- "relative",
619
- "sr-only"
620
- ],
621
- "internalComponents": [
622
- "Icon"
623
- ],
624
- "internalComponentProps": {
625
- "Icon": {
626
- "role": [
627
- "img"
628
- ],
629
- "className": [
630
- "animate-spin"
631
- ],
632
- "aria-hidden": [
633
- "true"
634
- ]
635
- }
636
- },
637
- "propToVariantKeys": {},
638
- "runtimeConfigDefaultProps": {},
639
- "runtimeConfigGetStyles": {},
640
- "runtimeConfigInternalComponentProps": {},
641
- "motionVarPrefixes": []
642
- },
643
- "Table": {
644
- "name": "Table",
645
- "defaultProps": {
646
- "display": "table-cell",
647
- "overflow": "hidden",
648
- "borderColor": "muted",
649
- "borderRadius": "md",
650
- "spacing": "3",
651
- "borderBottomColor": "muted",
652
- "borderBottomWidth": "thin",
653
- "color": "primary"
654
- },
655
- "getStylesLiterals": {
656
- "textAlign": "start"
657
- },
658
- "cxLiterals": [],
659
- "internalComponents": [
660
- "CellComponent",
661
- "Box",
662
- "Text",
663
- "Table.Root",
664
- "Table.Header",
665
- "Table.Row",
666
- "Table.Cell",
667
- "Table.Body"
668
- ],
669
- "internalComponentProps": {
670
- "Table.Cell": {
671
- "asHeaderCell": [
672
- "column"
673
- ]
674
- }
675
- },
676
- "propToVariantKeys": {},
677
- "runtimeConfigDefaultProps": {},
678
- "runtimeConfigGetStyles": {},
679
- "runtimeConfigInternalComponentProps": {},
680
- "motionVarPrefixes": []
681
- },
682
682
  "Badge": {
683
683
  "name": "Badge",
684
684
  "defaultProps": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yahoo/uds",
3
3
  "description": "Yahoo Universal System",
4
- "version": "3.174.1",
4
+ "version": "3.175.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",