@yahoo/uds 3.161.0 → 3.162.1

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 (115) hide show
  1. package/dist/cli/commands/purge.cjs +8 -1
  2. package/dist/cli/commands/purge.helpers.cjs +7 -0
  3. package/dist/cli/commands/purge.helpers.d.cts +3 -0
  4. package/dist/cli/commands/purge.helpers.d.ts +3 -0
  5. package/dist/cli/commands/purge.helpers.js +7 -0
  6. package/dist/cli/commands/purge.js +8 -1
  7. package/dist/components/client/Checkbox/Checkbox.cjs +118 -0
  8. package/dist/components/client/{Checkbox.d.cts → Checkbox/Checkbox.d.cts} +5 -18
  9. package/dist/components/client/{Checkbox.d.ts → Checkbox/Checkbox.d.ts} +5 -18
  10. package/dist/components/client/Checkbox/Checkbox.js +113 -0
  11. package/dist/components/client/Checkbox/CheckboxBase.cjs +141 -0
  12. package/dist/components/client/Checkbox/CheckboxBase.d.cts +48 -0
  13. package/dist/components/client/Checkbox/CheckboxBase.d.ts +49 -0
  14. package/dist/components/client/Checkbox/CheckboxBase.js +138 -0
  15. package/dist/components/client/Checkbox/checkboxConstants.cjs +23 -0
  16. package/dist/components/client/Checkbox/checkboxConstants.d.cts +25 -0
  17. package/dist/components/client/Checkbox/checkboxConstants.d.ts +26 -0
  18. package/dist/components/client/Checkbox/checkboxConstants.js +17 -0
  19. package/dist/components/client/Checkbox/index.cjs +10 -0
  20. package/dist/components/client/Checkbox/index.d.cts +6 -0
  21. package/dist/components/client/Checkbox/index.d.ts +7 -0
  22. package/dist/components/client/Checkbox/index.js +6 -0
  23. package/dist/components/client/Checkbox/types.cjs +2 -0
  24. package/dist/components/client/Checkbox/types.d.cts +22 -0
  25. package/dist/components/client/Checkbox/types.d.ts +23 -0
  26. package/dist/components/client/Checkbox/types.js +2 -0
  27. package/dist/components/client/Popover/UDSPopoverConfigProvider.d.cts +1 -1
  28. package/dist/components/client/Popover/UDSPopoverConfigProvider.d.ts +1 -1
  29. package/dist/components/client/Radio/Radio.cjs +67 -164
  30. package/dist/components/client/Radio/Radio.d.cts +4 -17
  31. package/dist/components/client/Radio/Radio.d.ts +4 -17
  32. package/dist/components/client/Radio/Radio.js +66 -163
  33. package/dist/components/client/Radio/RadioBase.cjs +133 -0
  34. package/dist/components/client/Radio/RadioBase.d.cts +45 -0
  35. package/dist/components/client/Radio/RadioBase.d.ts +46 -0
  36. package/dist/components/client/Radio/RadioBase.js +130 -0
  37. package/dist/components/client/Radio/radioConstants.cjs +14 -0
  38. package/dist/components/client/Radio/radioConstants.d.cts +8 -0
  39. package/dist/components/client/Radio/radioConstants.d.ts +9 -0
  40. package/dist/components/client/Radio/radioConstants.js +11 -0
  41. package/dist/components/client/Radio/types.cjs +2 -0
  42. package/dist/components/client/Radio/types.d.cts +20 -0
  43. package/dist/components/client/Radio/types.d.ts +21 -0
  44. package/dist/components/client/Radio/types.js +2 -0
  45. package/dist/components/client/Toast/UDSToastConfigProvider.d.cts +1 -1
  46. package/dist/components/client/Toast/UDSToastConfigProvider.d.ts +1 -1
  47. package/dist/components/client/index.cjs +2 -2
  48. package/dist/components/client/index.d.cts +1 -1
  49. package/dist/components/client/index.d.ts +1 -1
  50. package/dist/components/client/index.js +1 -1
  51. package/dist/components/index.cjs +2 -2
  52. package/dist/components/index.d.cts +1 -1
  53. package/dist/components/index.d.ts +1 -1
  54. package/dist/components/index.js +1 -1
  55. package/dist/css/dist/commands/css.cjs +2 -0
  56. package/dist/css/dist/commands/css.helpers.cjs +2 -0
  57. package/dist/css/dist/commands/css.helpers.js +2 -0
  58. package/dist/css/dist/commands/css.js +2 -0
  59. package/dist/css/dist/css/nodeUtils.cjs +28 -11
  60. package/dist/css/dist/css/nodeUtils.js +29 -12
  61. package/dist/css/dist/css/runner.cjs +8 -3
  62. package/dist/css/dist/css/runner.js +8 -3
  63. package/dist/css/dist/css/theme.d.cts +16 -0
  64. package/dist/css/dist/css/theme.d.ts +16 -0
  65. package/dist/css/dist/css/workerPool.cjs +2 -1
  66. package/dist/css/dist/css/workerPool.js +2 -1
  67. package/dist/css/dist/purger/optimized/ast/expressions.cjs +104 -11
  68. package/dist/css/dist/purger/optimized/ast/expressions.js +104 -11
  69. package/dist/css/dist/purger/optimized/ast/jsx.cjs +74 -0
  70. package/dist/css/dist/purger/optimized/ast/jsx.js +73 -0
  71. package/dist/css/dist/purger/optimized/ast/props.cjs +47 -0
  72. package/dist/css/dist/purger/optimized/ast/props.js +46 -0
  73. package/dist/css/dist/purger/optimized/ast/spread.cjs +87 -0
  74. package/dist/css/dist/purger/optimized/ast/spread.js +86 -0
  75. package/dist/css/dist/purger/optimized/purge.cjs +14 -8
  76. package/dist/css/dist/purger/optimized/purge.js +15 -9
  77. package/dist/css/dist/purger/optimized/purgeFromCode.cjs +176 -18
  78. package/dist/css/dist/purger/optimized/purgeFromCode.js +176 -19
  79. package/dist/css/dist/purger/optimized/utils/files.cjs +22 -2
  80. package/dist/css/dist/purger/optimized/utils/files.js +21 -3
  81. package/dist/css-animation/Checkbox/Checkbox.cjs +75 -0
  82. package/dist/css-animation/Checkbox/Checkbox.d.cts +22 -0
  83. package/dist/css-animation/Checkbox/Checkbox.d.ts +23 -0
  84. package/dist/css-animation/Checkbox/Checkbox.js +72 -0
  85. package/dist/css-animation/Checkbox/index.cjs +5 -0
  86. package/dist/css-animation/Checkbox/index.d.cts +3 -0
  87. package/dist/css-animation/Checkbox/index.d.ts +4 -0
  88. package/dist/css-animation/Checkbox/index.js +4 -0
  89. package/dist/css-animation/Radio/Radio.cjs +92 -0
  90. package/dist/css-animation/Radio/Radio.d.cts +22 -0
  91. package/dist/css-animation/Radio/Radio.d.ts +23 -0
  92. package/dist/css-animation/Radio/Radio.js +89 -0
  93. package/dist/css-animation/Radio/index.cjs +5 -0
  94. package/dist/css-animation/Radio/index.d.cts +3 -0
  95. package/dist/css-animation/Radio/index.d.ts +4 -0
  96. package/dist/css-animation/Radio/index.js +4 -0
  97. package/dist/css-animation/index.cjs +4 -0
  98. package/dist/css-animation/index.d.cts +3 -1
  99. package/dist/css-animation/index.d.ts +3 -1
  100. package/dist/css-animation/index.js +3 -1
  101. package/dist/index.cjs +2 -2
  102. package/dist/index.d.cts +1 -1
  103. package/dist/index.d.ts +1 -1
  104. package/dist/index.js +1 -1
  105. package/dist/styles/styler.d.cts +26 -26
  106. package/dist/styles/styler.d.ts +26 -26
  107. package/dist/uds/generated/componentData.cjs +343 -293
  108. package/dist/uds/generated/componentData.js +343 -293
  109. package/dist/uds/generated/tailwindPurge.cjs +12 -12
  110. package/dist/uds/generated/tailwindPurge.js +12 -12
  111. package/generated/componentData.json +471 -382
  112. package/generated/tailwindPurge.ts +2 -2
  113. package/package.json +1 -1
  114. package/dist/components/client/Checkbox.cjs +0 -224
  115. package/dist/components/client/Checkbox.js +0 -219
@@ -31,9 +31,9 @@ declare const useToastConfig: (sizeProp?: ToastSize | undefined, variantProp?: T
31
31
  autoClose: number | false;
32
32
  position: ToastPosition;
33
33
  backgroundColor: {
34
- loading: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "gray-0" | "gray-1" | "gray-2" | "gray-3" | "gray-4" | "gray-5" | "gray-6" | "gray-7" | "gray-8" | "gray-9" | "gray-10" | "gray-11" | "gray-12" | "gray-13" | "gray-14" | "gray-15" | "purple-0" | "purple-1" | "purple-2" | "purple-3" | "purple-4" | "purple-5" | "purple-6" | "purple-7" | "purple-8" | "purple-9" | "purple-10" | "purple-11" | "purple-12" | "purple-13" | "purple-14" | "purple-15" | "indigo-0" | "indigo-1" | "indigo-2" | "indigo-3" | "indigo-4" | "indigo-5" | "indigo-6" | "indigo-7" | "indigo-8" | "indigo-9" | "indigo-10" | "indigo-11" | "indigo-12" | "indigo-13" | "indigo-14" | "indigo-15" | "blue-0" | "blue-1" | "blue-2" | "blue-3" | "blue-4" | "blue-5" | "blue-6" | "blue-7" | "blue-8" | "blue-9" | "blue-10" | "blue-11" | "blue-12" | "blue-13" | "blue-14" | "blue-15" | "cyan-0" | "cyan-1" | "cyan-2" | "cyan-3" | "cyan-4" | "cyan-5" | "cyan-6" | "cyan-7" | "cyan-8" | "cyan-9" | "cyan-10" | "cyan-11" | "cyan-12" | "cyan-13" | "cyan-14" | "cyan-15" | "teal-0" | "teal-1" | "teal-2" | "teal-3" | "teal-4" | "teal-5" | "teal-6" | "teal-7" | "teal-8" | "teal-9" | "teal-10" | "teal-11" | "teal-12" | "teal-13" | "teal-14" | "teal-15" | "mint-0" | "mint-1" | "mint-2" | "mint-3" | "mint-4" | "mint-5" | "mint-6" | "mint-7" | "mint-8" | "mint-9" | "mint-10" | "mint-11" | "mint-12" | "mint-13" | "mint-14" | "mint-15" | "green-0" | "green-1" | "green-2" | "green-3" | "green-4" | "green-5" | "green-6" | "green-7" | "green-8" | "green-9" | "green-10" | "green-11" | "green-12" | "green-13" | "green-14" | "green-15" | "lime-0" | "lime-1" | "lime-2" | "lime-3" | "lime-4" | "lime-5" | "lime-6" | "lime-7" | "lime-8" | "lime-9" | "lime-10" | "lime-11" | "lime-12" | "lime-13" | "lime-14" | "lime-15" | "citron-0" | "citron-1" | "citron-2" | "citron-3" | "citron-4" | "citron-5" | "citron-6" | "citron-7" | "citron-8" | "citron-9" | "citron-10" | "citron-11" | "citron-12" | "citron-13" | "citron-14" | "citron-15" | "yellow-0" | "yellow-1" | "yellow-2" | "yellow-3" | "yellow-4" | "yellow-5" | "yellow-6" | "yellow-7" | "yellow-8" | "yellow-9" | "yellow-10" | "yellow-11" | "yellow-12" | "yellow-13" | "yellow-14" | "yellow-15" | "brown-0" | "brown-1" | "brown-2" | "brown-3" | "brown-4" | "brown-5" | "brown-6" | "brown-7" | "brown-8" | "brown-9" | "brown-10" | "brown-11" | "brown-12" | "brown-13" | "brown-14" | "brown-15" | "nude-0" | "nude-1" | "nude-2" | "nude-3" | "nude-4" | "nude-5" | "nude-6" | "nude-7" | "nude-8" | "nude-9" | "nude-10" | "nude-11" | "nude-12" | "nude-13" | "nude-14" | "nude-15" | "orange-0" | "orange-1" | "orange-2" | "orange-3" | "orange-4" | "orange-5" | "orange-6" | "orange-7" | "orange-8" | "orange-9" | "orange-10" | "orange-11" | "orange-12" | "orange-13" | "orange-14" | "orange-15" | "sunset-0" | "sunset-1" | "sunset-2" | "sunset-3" | "sunset-4" | "sunset-5" | "sunset-6" | "sunset-7" | "sunset-8" | "sunset-9" | "sunset-10" | "sunset-11" | "sunset-12" | "sunset-13" | "sunset-14" | "sunset-15" | "red-0" | "red-1" | "red-2" | "red-3" | "red-4" | "red-5" | "red-6" | "red-7" | "red-8" | "red-9" | "red-10" | "red-11" | "red-12" | "red-13" | "red-14" | "red-15" | "rose-0" | "rose-1" | "rose-2" | "rose-3" | "rose-4" | "rose-5" | "rose-6" | "rose-7" | "rose-8" | "rose-9" | "rose-10" | "rose-11" | "rose-12" | "rose-13" | "rose-14" | "rose-15" | "pink-0" | "pink-1" | "pink-2" | "pink-3" | "pink-4" | "pink-5" | "pink-6" | "pink-7" | "pink-8" | "pink-9" | "pink-10" | "pink-11" | "pink-12" | "pink-13" | "pink-14" | "pink-15" | "magenta-0" | "magenta-1" | "magenta-2" | "magenta-3" | "magenta-4" | "magenta-5" | "magenta-6" | "magenta-7" | "magenta-8" | "magenta-9" | "magenta-10" | "magenta-11" | "magenta-12" | "magenta-13" | "magenta-14" | "magenta-15" | "carbon-0" | "carbon-1" | "carbon-2" | "carbon-3" | "carbon-4" | "carbon-5" | "carbon-6" | "carbon-7" | "carbon-8" | "carbon-9" | "carbon-10" | "carbon-11" | "carbon-12" | "carbon-13" | "carbon-14" | "carbon-15";
35
34
  warning: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "gray-0" | "gray-1" | "gray-2" | "gray-3" | "gray-4" | "gray-5" | "gray-6" | "gray-7" | "gray-8" | "gray-9" | "gray-10" | "gray-11" | "gray-12" | "gray-13" | "gray-14" | "gray-15" | "purple-0" | "purple-1" | "purple-2" | "purple-3" | "purple-4" | "purple-5" | "purple-6" | "purple-7" | "purple-8" | "purple-9" | "purple-10" | "purple-11" | "purple-12" | "purple-13" | "purple-14" | "purple-15" | "indigo-0" | "indigo-1" | "indigo-2" | "indigo-3" | "indigo-4" | "indigo-5" | "indigo-6" | "indigo-7" | "indigo-8" | "indigo-9" | "indigo-10" | "indigo-11" | "indigo-12" | "indigo-13" | "indigo-14" | "indigo-15" | "blue-0" | "blue-1" | "blue-2" | "blue-3" | "blue-4" | "blue-5" | "blue-6" | "blue-7" | "blue-8" | "blue-9" | "blue-10" | "blue-11" | "blue-12" | "blue-13" | "blue-14" | "blue-15" | "cyan-0" | "cyan-1" | "cyan-2" | "cyan-3" | "cyan-4" | "cyan-5" | "cyan-6" | "cyan-7" | "cyan-8" | "cyan-9" | "cyan-10" | "cyan-11" | "cyan-12" | "cyan-13" | "cyan-14" | "cyan-15" | "teal-0" | "teal-1" | "teal-2" | "teal-3" | "teal-4" | "teal-5" | "teal-6" | "teal-7" | "teal-8" | "teal-9" | "teal-10" | "teal-11" | "teal-12" | "teal-13" | "teal-14" | "teal-15" | "mint-0" | "mint-1" | "mint-2" | "mint-3" | "mint-4" | "mint-5" | "mint-6" | "mint-7" | "mint-8" | "mint-9" | "mint-10" | "mint-11" | "mint-12" | "mint-13" | "mint-14" | "mint-15" | "green-0" | "green-1" | "green-2" | "green-3" | "green-4" | "green-5" | "green-6" | "green-7" | "green-8" | "green-9" | "green-10" | "green-11" | "green-12" | "green-13" | "green-14" | "green-15" | "lime-0" | "lime-1" | "lime-2" | "lime-3" | "lime-4" | "lime-5" | "lime-6" | "lime-7" | "lime-8" | "lime-9" | "lime-10" | "lime-11" | "lime-12" | "lime-13" | "lime-14" | "lime-15" | "citron-0" | "citron-1" | "citron-2" | "citron-3" | "citron-4" | "citron-5" | "citron-6" | "citron-7" | "citron-8" | "citron-9" | "citron-10" | "citron-11" | "citron-12" | "citron-13" | "citron-14" | "citron-15" | "yellow-0" | "yellow-1" | "yellow-2" | "yellow-3" | "yellow-4" | "yellow-5" | "yellow-6" | "yellow-7" | "yellow-8" | "yellow-9" | "yellow-10" | "yellow-11" | "yellow-12" | "yellow-13" | "yellow-14" | "yellow-15" | "brown-0" | "brown-1" | "brown-2" | "brown-3" | "brown-4" | "brown-5" | "brown-6" | "brown-7" | "brown-8" | "brown-9" | "brown-10" | "brown-11" | "brown-12" | "brown-13" | "brown-14" | "brown-15" | "nude-0" | "nude-1" | "nude-2" | "nude-3" | "nude-4" | "nude-5" | "nude-6" | "nude-7" | "nude-8" | "nude-9" | "nude-10" | "nude-11" | "nude-12" | "nude-13" | "nude-14" | "nude-15" | "orange-0" | "orange-1" | "orange-2" | "orange-3" | "orange-4" | "orange-5" | "orange-6" | "orange-7" | "orange-8" | "orange-9" | "orange-10" | "orange-11" | "orange-12" | "orange-13" | "orange-14" | "orange-15" | "sunset-0" | "sunset-1" | "sunset-2" | "sunset-3" | "sunset-4" | "sunset-5" | "sunset-6" | "sunset-7" | "sunset-8" | "sunset-9" | "sunset-10" | "sunset-11" | "sunset-12" | "sunset-13" | "sunset-14" | "sunset-15" | "red-0" | "red-1" | "red-2" | "red-3" | "red-4" | "red-5" | "red-6" | "red-7" | "red-8" | "red-9" | "red-10" | "red-11" | "red-12" | "red-13" | "red-14" | "red-15" | "rose-0" | "rose-1" | "rose-2" | "rose-3" | "rose-4" | "rose-5" | "rose-6" | "rose-7" | "rose-8" | "rose-9" | "rose-10" | "rose-11" | "rose-12" | "rose-13" | "rose-14" | "rose-15" | "pink-0" | "pink-1" | "pink-2" | "pink-3" | "pink-4" | "pink-5" | "pink-6" | "pink-7" | "pink-8" | "pink-9" | "pink-10" | "pink-11" | "pink-12" | "pink-13" | "pink-14" | "pink-15" | "magenta-0" | "magenta-1" | "magenta-2" | "magenta-3" | "magenta-4" | "magenta-5" | "magenta-6" | "magenta-7" | "magenta-8" | "magenta-9" | "magenta-10" | "magenta-11" | "magenta-12" | "magenta-13" | "magenta-14" | "magenta-15" | "carbon-0" | "carbon-1" | "carbon-2" | "carbon-3" | "carbon-4" | "carbon-5" | "carbon-6" | "carbon-7" | "carbon-8" | "carbon-9" | "carbon-10" | "carbon-11" | "carbon-12" | "carbon-13" | "carbon-14" | "carbon-15";
36
35
  info: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "gray-0" | "gray-1" | "gray-2" | "gray-3" | "gray-4" | "gray-5" | "gray-6" | "gray-7" | "gray-8" | "gray-9" | "gray-10" | "gray-11" | "gray-12" | "gray-13" | "gray-14" | "gray-15" | "purple-0" | "purple-1" | "purple-2" | "purple-3" | "purple-4" | "purple-5" | "purple-6" | "purple-7" | "purple-8" | "purple-9" | "purple-10" | "purple-11" | "purple-12" | "purple-13" | "purple-14" | "purple-15" | "indigo-0" | "indigo-1" | "indigo-2" | "indigo-3" | "indigo-4" | "indigo-5" | "indigo-6" | "indigo-7" | "indigo-8" | "indigo-9" | "indigo-10" | "indigo-11" | "indigo-12" | "indigo-13" | "indigo-14" | "indigo-15" | "blue-0" | "blue-1" | "blue-2" | "blue-3" | "blue-4" | "blue-5" | "blue-6" | "blue-7" | "blue-8" | "blue-9" | "blue-10" | "blue-11" | "blue-12" | "blue-13" | "blue-14" | "blue-15" | "cyan-0" | "cyan-1" | "cyan-2" | "cyan-3" | "cyan-4" | "cyan-5" | "cyan-6" | "cyan-7" | "cyan-8" | "cyan-9" | "cyan-10" | "cyan-11" | "cyan-12" | "cyan-13" | "cyan-14" | "cyan-15" | "teal-0" | "teal-1" | "teal-2" | "teal-3" | "teal-4" | "teal-5" | "teal-6" | "teal-7" | "teal-8" | "teal-9" | "teal-10" | "teal-11" | "teal-12" | "teal-13" | "teal-14" | "teal-15" | "mint-0" | "mint-1" | "mint-2" | "mint-3" | "mint-4" | "mint-5" | "mint-6" | "mint-7" | "mint-8" | "mint-9" | "mint-10" | "mint-11" | "mint-12" | "mint-13" | "mint-14" | "mint-15" | "green-0" | "green-1" | "green-2" | "green-3" | "green-4" | "green-5" | "green-6" | "green-7" | "green-8" | "green-9" | "green-10" | "green-11" | "green-12" | "green-13" | "green-14" | "green-15" | "lime-0" | "lime-1" | "lime-2" | "lime-3" | "lime-4" | "lime-5" | "lime-6" | "lime-7" | "lime-8" | "lime-9" | "lime-10" | "lime-11" | "lime-12" | "lime-13" | "lime-14" | "lime-15" | "citron-0" | "citron-1" | "citron-2" | "citron-3" | "citron-4" | "citron-5" | "citron-6" | "citron-7" | "citron-8" | "citron-9" | "citron-10" | "citron-11" | "citron-12" | "citron-13" | "citron-14" | "citron-15" | "yellow-0" | "yellow-1" | "yellow-2" | "yellow-3" | "yellow-4" | "yellow-5" | "yellow-6" | "yellow-7" | "yellow-8" | "yellow-9" | "yellow-10" | "yellow-11" | "yellow-12" | "yellow-13" | "yellow-14" | "yellow-15" | "brown-0" | "brown-1" | "brown-2" | "brown-3" | "brown-4" | "brown-5" | "brown-6" | "brown-7" | "brown-8" | "brown-9" | "brown-10" | "brown-11" | "brown-12" | "brown-13" | "brown-14" | "brown-15" | "nude-0" | "nude-1" | "nude-2" | "nude-3" | "nude-4" | "nude-5" | "nude-6" | "nude-7" | "nude-8" | "nude-9" | "nude-10" | "nude-11" | "nude-12" | "nude-13" | "nude-14" | "nude-15" | "orange-0" | "orange-1" | "orange-2" | "orange-3" | "orange-4" | "orange-5" | "orange-6" | "orange-7" | "orange-8" | "orange-9" | "orange-10" | "orange-11" | "orange-12" | "orange-13" | "orange-14" | "orange-15" | "sunset-0" | "sunset-1" | "sunset-2" | "sunset-3" | "sunset-4" | "sunset-5" | "sunset-6" | "sunset-7" | "sunset-8" | "sunset-9" | "sunset-10" | "sunset-11" | "sunset-12" | "sunset-13" | "sunset-14" | "sunset-15" | "red-0" | "red-1" | "red-2" | "red-3" | "red-4" | "red-5" | "red-6" | "red-7" | "red-8" | "red-9" | "red-10" | "red-11" | "red-12" | "red-13" | "red-14" | "red-15" | "rose-0" | "rose-1" | "rose-2" | "rose-3" | "rose-4" | "rose-5" | "rose-6" | "rose-7" | "rose-8" | "rose-9" | "rose-10" | "rose-11" | "rose-12" | "rose-13" | "rose-14" | "rose-15" | "pink-0" | "pink-1" | "pink-2" | "pink-3" | "pink-4" | "pink-5" | "pink-6" | "pink-7" | "pink-8" | "pink-9" | "pink-10" | "pink-11" | "pink-12" | "pink-13" | "pink-14" | "pink-15" | "magenta-0" | "magenta-1" | "magenta-2" | "magenta-3" | "magenta-4" | "magenta-5" | "magenta-6" | "magenta-7" | "magenta-8" | "magenta-9" | "magenta-10" | "magenta-11" | "magenta-12" | "magenta-13" | "magenta-14" | "magenta-15" | "carbon-0" | "carbon-1" | "carbon-2" | "carbon-3" | "carbon-4" | "carbon-5" | "carbon-6" | "carbon-7" | "carbon-8" | "carbon-9" | "carbon-10" | "carbon-11" | "carbon-12" | "carbon-13" | "carbon-14" | "carbon-15";
36
+ loading: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "gray-0" | "gray-1" | "gray-2" | "gray-3" | "gray-4" | "gray-5" | "gray-6" | "gray-7" | "gray-8" | "gray-9" | "gray-10" | "gray-11" | "gray-12" | "gray-13" | "gray-14" | "gray-15" | "purple-0" | "purple-1" | "purple-2" | "purple-3" | "purple-4" | "purple-5" | "purple-6" | "purple-7" | "purple-8" | "purple-9" | "purple-10" | "purple-11" | "purple-12" | "purple-13" | "purple-14" | "purple-15" | "indigo-0" | "indigo-1" | "indigo-2" | "indigo-3" | "indigo-4" | "indigo-5" | "indigo-6" | "indigo-7" | "indigo-8" | "indigo-9" | "indigo-10" | "indigo-11" | "indigo-12" | "indigo-13" | "indigo-14" | "indigo-15" | "blue-0" | "blue-1" | "blue-2" | "blue-3" | "blue-4" | "blue-5" | "blue-6" | "blue-7" | "blue-8" | "blue-9" | "blue-10" | "blue-11" | "blue-12" | "blue-13" | "blue-14" | "blue-15" | "cyan-0" | "cyan-1" | "cyan-2" | "cyan-3" | "cyan-4" | "cyan-5" | "cyan-6" | "cyan-7" | "cyan-8" | "cyan-9" | "cyan-10" | "cyan-11" | "cyan-12" | "cyan-13" | "cyan-14" | "cyan-15" | "teal-0" | "teal-1" | "teal-2" | "teal-3" | "teal-4" | "teal-5" | "teal-6" | "teal-7" | "teal-8" | "teal-9" | "teal-10" | "teal-11" | "teal-12" | "teal-13" | "teal-14" | "teal-15" | "mint-0" | "mint-1" | "mint-2" | "mint-3" | "mint-4" | "mint-5" | "mint-6" | "mint-7" | "mint-8" | "mint-9" | "mint-10" | "mint-11" | "mint-12" | "mint-13" | "mint-14" | "mint-15" | "green-0" | "green-1" | "green-2" | "green-3" | "green-4" | "green-5" | "green-6" | "green-7" | "green-8" | "green-9" | "green-10" | "green-11" | "green-12" | "green-13" | "green-14" | "green-15" | "lime-0" | "lime-1" | "lime-2" | "lime-3" | "lime-4" | "lime-5" | "lime-6" | "lime-7" | "lime-8" | "lime-9" | "lime-10" | "lime-11" | "lime-12" | "lime-13" | "lime-14" | "lime-15" | "citron-0" | "citron-1" | "citron-2" | "citron-3" | "citron-4" | "citron-5" | "citron-6" | "citron-7" | "citron-8" | "citron-9" | "citron-10" | "citron-11" | "citron-12" | "citron-13" | "citron-14" | "citron-15" | "yellow-0" | "yellow-1" | "yellow-2" | "yellow-3" | "yellow-4" | "yellow-5" | "yellow-6" | "yellow-7" | "yellow-8" | "yellow-9" | "yellow-10" | "yellow-11" | "yellow-12" | "yellow-13" | "yellow-14" | "yellow-15" | "brown-0" | "brown-1" | "brown-2" | "brown-3" | "brown-4" | "brown-5" | "brown-6" | "brown-7" | "brown-8" | "brown-9" | "brown-10" | "brown-11" | "brown-12" | "brown-13" | "brown-14" | "brown-15" | "nude-0" | "nude-1" | "nude-2" | "nude-3" | "nude-4" | "nude-5" | "nude-6" | "nude-7" | "nude-8" | "nude-9" | "nude-10" | "nude-11" | "nude-12" | "nude-13" | "nude-14" | "nude-15" | "orange-0" | "orange-1" | "orange-2" | "orange-3" | "orange-4" | "orange-5" | "orange-6" | "orange-7" | "orange-8" | "orange-9" | "orange-10" | "orange-11" | "orange-12" | "orange-13" | "orange-14" | "orange-15" | "sunset-0" | "sunset-1" | "sunset-2" | "sunset-3" | "sunset-4" | "sunset-5" | "sunset-6" | "sunset-7" | "sunset-8" | "sunset-9" | "sunset-10" | "sunset-11" | "sunset-12" | "sunset-13" | "sunset-14" | "sunset-15" | "red-0" | "red-1" | "red-2" | "red-3" | "red-4" | "red-5" | "red-6" | "red-7" | "red-8" | "red-9" | "red-10" | "red-11" | "red-12" | "red-13" | "red-14" | "red-15" | "rose-0" | "rose-1" | "rose-2" | "rose-3" | "rose-4" | "rose-5" | "rose-6" | "rose-7" | "rose-8" | "rose-9" | "rose-10" | "rose-11" | "rose-12" | "rose-13" | "rose-14" | "rose-15" | "pink-0" | "pink-1" | "pink-2" | "pink-3" | "pink-4" | "pink-5" | "pink-6" | "pink-7" | "pink-8" | "pink-9" | "pink-10" | "pink-11" | "pink-12" | "pink-13" | "pink-14" | "pink-15" | "magenta-0" | "magenta-1" | "magenta-2" | "magenta-3" | "magenta-4" | "magenta-5" | "magenta-6" | "magenta-7" | "magenta-8" | "magenta-9" | "magenta-10" | "magenta-11" | "magenta-12" | "magenta-13" | "magenta-14" | "magenta-15" | "carbon-0" | "carbon-1" | "carbon-2" | "carbon-3" | "carbon-4" | "carbon-5" | "carbon-6" | "carbon-7" | "carbon-8" | "carbon-9" | "carbon-10" | "carbon-11" | "carbon-12" | "carbon-13" | "carbon-14" | "carbon-15";
37
37
  success: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "gray-0" | "gray-1" | "gray-2" | "gray-3" | "gray-4" | "gray-5" | "gray-6" | "gray-7" | "gray-8" | "gray-9" | "gray-10" | "gray-11" | "gray-12" | "gray-13" | "gray-14" | "gray-15" | "purple-0" | "purple-1" | "purple-2" | "purple-3" | "purple-4" | "purple-5" | "purple-6" | "purple-7" | "purple-8" | "purple-9" | "purple-10" | "purple-11" | "purple-12" | "purple-13" | "purple-14" | "purple-15" | "indigo-0" | "indigo-1" | "indigo-2" | "indigo-3" | "indigo-4" | "indigo-5" | "indigo-6" | "indigo-7" | "indigo-8" | "indigo-9" | "indigo-10" | "indigo-11" | "indigo-12" | "indigo-13" | "indigo-14" | "indigo-15" | "blue-0" | "blue-1" | "blue-2" | "blue-3" | "blue-4" | "blue-5" | "blue-6" | "blue-7" | "blue-8" | "blue-9" | "blue-10" | "blue-11" | "blue-12" | "blue-13" | "blue-14" | "blue-15" | "cyan-0" | "cyan-1" | "cyan-2" | "cyan-3" | "cyan-4" | "cyan-5" | "cyan-6" | "cyan-7" | "cyan-8" | "cyan-9" | "cyan-10" | "cyan-11" | "cyan-12" | "cyan-13" | "cyan-14" | "cyan-15" | "teal-0" | "teal-1" | "teal-2" | "teal-3" | "teal-4" | "teal-5" | "teal-6" | "teal-7" | "teal-8" | "teal-9" | "teal-10" | "teal-11" | "teal-12" | "teal-13" | "teal-14" | "teal-15" | "mint-0" | "mint-1" | "mint-2" | "mint-3" | "mint-4" | "mint-5" | "mint-6" | "mint-7" | "mint-8" | "mint-9" | "mint-10" | "mint-11" | "mint-12" | "mint-13" | "mint-14" | "mint-15" | "green-0" | "green-1" | "green-2" | "green-3" | "green-4" | "green-5" | "green-6" | "green-7" | "green-8" | "green-9" | "green-10" | "green-11" | "green-12" | "green-13" | "green-14" | "green-15" | "lime-0" | "lime-1" | "lime-2" | "lime-3" | "lime-4" | "lime-5" | "lime-6" | "lime-7" | "lime-8" | "lime-9" | "lime-10" | "lime-11" | "lime-12" | "lime-13" | "lime-14" | "lime-15" | "citron-0" | "citron-1" | "citron-2" | "citron-3" | "citron-4" | "citron-5" | "citron-6" | "citron-7" | "citron-8" | "citron-9" | "citron-10" | "citron-11" | "citron-12" | "citron-13" | "citron-14" | "citron-15" | "yellow-0" | "yellow-1" | "yellow-2" | "yellow-3" | "yellow-4" | "yellow-5" | "yellow-6" | "yellow-7" | "yellow-8" | "yellow-9" | "yellow-10" | "yellow-11" | "yellow-12" | "yellow-13" | "yellow-14" | "yellow-15" | "brown-0" | "brown-1" | "brown-2" | "brown-3" | "brown-4" | "brown-5" | "brown-6" | "brown-7" | "brown-8" | "brown-9" | "brown-10" | "brown-11" | "brown-12" | "brown-13" | "brown-14" | "brown-15" | "nude-0" | "nude-1" | "nude-2" | "nude-3" | "nude-4" | "nude-5" | "nude-6" | "nude-7" | "nude-8" | "nude-9" | "nude-10" | "nude-11" | "nude-12" | "nude-13" | "nude-14" | "nude-15" | "orange-0" | "orange-1" | "orange-2" | "orange-3" | "orange-4" | "orange-5" | "orange-6" | "orange-7" | "orange-8" | "orange-9" | "orange-10" | "orange-11" | "orange-12" | "orange-13" | "orange-14" | "orange-15" | "sunset-0" | "sunset-1" | "sunset-2" | "sunset-3" | "sunset-4" | "sunset-5" | "sunset-6" | "sunset-7" | "sunset-8" | "sunset-9" | "sunset-10" | "sunset-11" | "sunset-12" | "sunset-13" | "sunset-14" | "sunset-15" | "red-0" | "red-1" | "red-2" | "red-3" | "red-4" | "red-5" | "red-6" | "red-7" | "red-8" | "red-9" | "red-10" | "red-11" | "red-12" | "red-13" | "red-14" | "red-15" | "rose-0" | "rose-1" | "rose-2" | "rose-3" | "rose-4" | "rose-5" | "rose-6" | "rose-7" | "rose-8" | "rose-9" | "rose-10" | "rose-11" | "rose-12" | "rose-13" | "rose-14" | "rose-15" | "pink-0" | "pink-1" | "pink-2" | "pink-3" | "pink-4" | "pink-5" | "pink-6" | "pink-7" | "pink-8" | "pink-9" | "pink-10" | "pink-11" | "pink-12" | "pink-13" | "pink-14" | "pink-15" | "magenta-0" | "magenta-1" | "magenta-2" | "magenta-3" | "magenta-4" | "magenta-5" | "magenta-6" | "magenta-7" | "magenta-8" | "magenta-9" | "magenta-10" | "magenta-11" | "magenta-12" | "magenta-13" | "magenta-14" | "magenta-15" | "carbon-0" | "carbon-1" | "carbon-2" | "carbon-3" | "carbon-4" | "carbon-5" | "carbon-6" | "carbon-7" | "carbon-8" | "carbon-9" | "carbon-10" | "carbon-11" | "carbon-12" | "carbon-13" | "carbon-14" | "carbon-15";
38
38
  error: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "gray-0" | "gray-1" | "gray-2" | "gray-3" | "gray-4" | "gray-5" | "gray-6" | "gray-7" | "gray-8" | "gray-9" | "gray-10" | "gray-11" | "gray-12" | "gray-13" | "gray-14" | "gray-15" | "purple-0" | "purple-1" | "purple-2" | "purple-3" | "purple-4" | "purple-5" | "purple-6" | "purple-7" | "purple-8" | "purple-9" | "purple-10" | "purple-11" | "purple-12" | "purple-13" | "purple-14" | "purple-15" | "indigo-0" | "indigo-1" | "indigo-2" | "indigo-3" | "indigo-4" | "indigo-5" | "indigo-6" | "indigo-7" | "indigo-8" | "indigo-9" | "indigo-10" | "indigo-11" | "indigo-12" | "indigo-13" | "indigo-14" | "indigo-15" | "blue-0" | "blue-1" | "blue-2" | "blue-3" | "blue-4" | "blue-5" | "blue-6" | "blue-7" | "blue-8" | "blue-9" | "blue-10" | "blue-11" | "blue-12" | "blue-13" | "blue-14" | "blue-15" | "cyan-0" | "cyan-1" | "cyan-2" | "cyan-3" | "cyan-4" | "cyan-5" | "cyan-6" | "cyan-7" | "cyan-8" | "cyan-9" | "cyan-10" | "cyan-11" | "cyan-12" | "cyan-13" | "cyan-14" | "cyan-15" | "teal-0" | "teal-1" | "teal-2" | "teal-3" | "teal-4" | "teal-5" | "teal-6" | "teal-7" | "teal-8" | "teal-9" | "teal-10" | "teal-11" | "teal-12" | "teal-13" | "teal-14" | "teal-15" | "mint-0" | "mint-1" | "mint-2" | "mint-3" | "mint-4" | "mint-5" | "mint-6" | "mint-7" | "mint-8" | "mint-9" | "mint-10" | "mint-11" | "mint-12" | "mint-13" | "mint-14" | "mint-15" | "green-0" | "green-1" | "green-2" | "green-3" | "green-4" | "green-5" | "green-6" | "green-7" | "green-8" | "green-9" | "green-10" | "green-11" | "green-12" | "green-13" | "green-14" | "green-15" | "lime-0" | "lime-1" | "lime-2" | "lime-3" | "lime-4" | "lime-5" | "lime-6" | "lime-7" | "lime-8" | "lime-9" | "lime-10" | "lime-11" | "lime-12" | "lime-13" | "lime-14" | "lime-15" | "citron-0" | "citron-1" | "citron-2" | "citron-3" | "citron-4" | "citron-5" | "citron-6" | "citron-7" | "citron-8" | "citron-9" | "citron-10" | "citron-11" | "citron-12" | "citron-13" | "citron-14" | "citron-15" | "yellow-0" | "yellow-1" | "yellow-2" | "yellow-3" | "yellow-4" | "yellow-5" | "yellow-6" | "yellow-7" | "yellow-8" | "yellow-9" | "yellow-10" | "yellow-11" | "yellow-12" | "yellow-13" | "yellow-14" | "yellow-15" | "brown-0" | "brown-1" | "brown-2" | "brown-3" | "brown-4" | "brown-5" | "brown-6" | "brown-7" | "brown-8" | "brown-9" | "brown-10" | "brown-11" | "brown-12" | "brown-13" | "brown-14" | "brown-15" | "nude-0" | "nude-1" | "nude-2" | "nude-3" | "nude-4" | "nude-5" | "nude-6" | "nude-7" | "nude-8" | "nude-9" | "nude-10" | "nude-11" | "nude-12" | "nude-13" | "nude-14" | "nude-15" | "orange-0" | "orange-1" | "orange-2" | "orange-3" | "orange-4" | "orange-5" | "orange-6" | "orange-7" | "orange-8" | "orange-9" | "orange-10" | "orange-11" | "orange-12" | "orange-13" | "orange-14" | "orange-15" | "sunset-0" | "sunset-1" | "sunset-2" | "sunset-3" | "sunset-4" | "sunset-5" | "sunset-6" | "sunset-7" | "sunset-8" | "sunset-9" | "sunset-10" | "sunset-11" | "sunset-12" | "sunset-13" | "sunset-14" | "sunset-15" | "red-0" | "red-1" | "red-2" | "red-3" | "red-4" | "red-5" | "red-6" | "red-7" | "red-8" | "red-9" | "red-10" | "red-11" | "red-12" | "red-13" | "red-14" | "red-15" | "rose-0" | "rose-1" | "rose-2" | "rose-3" | "rose-4" | "rose-5" | "rose-6" | "rose-7" | "rose-8" | "rose-9" | "rose-10" | "rose-11" | "rose-12" | "rose-13" | "rose-14" | "rose-15" | "pink-0" | "pink-1" | "pink-2" | "pink-3" | "pink-4" | "pink-5" | "pink-6" | "pink-7" | "pink-8" | "pink-9" | "pink-10" | "pink-11" | "pink-12" | "pink-13" | "pink-14" | "pink-15" | "magenta-0" | "magenta-1" | "magenta-2" | "magenta-3" | "magenta-4" | "magenta-5" | "magenta-6" | "magenta-7" | "magenta-8" | "magenta-9" | "magenta-10" | "magenta-11" | "magenta-12" | "magenta-13" | "magenta-14" | "magenta-15" | "carbon-0" | "carbon-1" | "carbon-2" | "carbon-3" | "carbon-4" | "carbon-5" | "carbon-6" | "carbon-7" | "carbon-8" | "carbon-9" | "carbon-10" | "carbon-11" | "carbon-12" | "carbon-13" | "carbon-14" | "carbon-15";
39
39
  };
@@ -17,7 +17,7 @@ const require_components_client_BottomSheet_BottomSheetProvider = require("./Bot
17
17
  const require_components_client_BottomSheet_BottomSheetTrigger = require("./BottomSheet/BottomSheetTrigger.cjs");
18
18
  const require_components_client_SpringMotionConfig = require("./SpringMotionConfig.cjs");
19
19
  const require_components_client_Button_Button = require("./Button/Button.cjs");
20
- const require_components_client_Checkbox = require("./Checkbox.cjs");
20
+ const require_components_client_Checkbox_Checkbox = require("./Checkbox/Checkbox.cjs");
21
21
  const require_components_client_Chip_ChipButton = require("./Chip/ChipButton.cjs");
22
22
  const require_components_client_Chip_ChipDismissible = require("./Chip/ChipDismissible.cjs");
23
23
  const require_components_client_Chip_ChipLink = require("./Chip/ChipLink.cjs");
@@ -84,7 +84,7 @@ exports.BottomSheetHeader = require_components_client_BottomSheet_BottomSheetHea
84
84
  exports.BottomSheetProvider = require_components_client_BottomSheet_BottomSheetProvider.BottomSheetProvider;
85
85
  exports.BottomSheetTrigger = require_components_client_BottomSheet_BottomSheetTrigger.BottomSheetTrigger;
86
86
  exports.Button = require_components_client_Button_Button.Button;
87
- exports.Checkbox = require_components_client_Checkbox.Checkbox;
87
+ exports.Checkbox = require_components_client_Checkbox_Checkbox.Checkbox;
88
88
  exports.Chip = require_components_client_Chip_Chip.Chip;
89
89
  exports.ChipButton = require_components_client_Chip_ChipButton.ChipButton;
90
90
  exports.ChipDismissible = require_components_client_Chip_ChipDismissible.ChipDismissible;
@@ -15,7 +15,7 @@ import { BottomSheetProvider, BottomSheetProviderProps } from "./BottomSheet/Bot
15
15
  import { BottomSheetTrigger, BottomSheetTriggerProps } from "./BottomSheet/BottomSheetTrigger.cjs";
16
16
  import { UDSBottomSheetConfigProvider, UDSBottomSheetConfigProviderProps } from "./BottomSheet/UDSBottomSheetConfigProvider.cjs";
17
17
  import { Button, ButtonProps } from "./Button/Button.cjs";
18
- import { Checkbox, CheckboxProps } from "./Checkbox.cjs";
18
+ import { Checkbox, CheckboxProps } from "./Checkbox/Checkbox.cjs";
19
19
  import { Chip, ChipProps } from "./Chip/Chip.cjs";
20
20
  import { ChipButton, ChipButtonProps } from "./Chip/ChipButton.cjs";
21
21
  import { ChipDismissible, ChipDismissibleProps } from "./Chip/ChipDismissible.cjs";
@@ -16,7 +16,7 @@ import { BottomSheetProvider, BottomSheetProviderProps } from "./BottomSheet/Bot
16
16
  import { BottomSheetTrigger, BottomSheetTriggerProps } from "./BottomSheet/BottomSheetTrigger.js";
17
17
  import { UDSBottomSheetConfigProvider, UDSBottomSheetConfigProviderProps } from "./BottomSheet/UDSBottomSheetConfigProvider.js";
18
18
  import { Button, ButtonProps } from "./Button/Button.js";
19
- import { Checkbox, CheckboxProps } from "./Checkbox.js";
19
+ import { Checkbox, CheckboxProps } from "./Checkbox/Checkbox.js";
20
20
  import { Chip, ChipProps } from "./Chip/Chip.js";
21
21
  import { ChipButton, ChipButtonProps } from "./Chip/ChipButton.js";
22
22
  import { ChipDismissible, ChipDismissibleProps } from "./Chip/ChipDismissible.js";
@@ -16,7 +16,7 @@ import { BottomSheetProvider } from "./BottomSheet/BottomSheetProvider.js";
16
16
  import { BottomSheetTrigger } from "./BottomSheet/BottomSheetTrigger.js";
17
17
  import { SpringMotionConfig } from "./SpringMotionConfig.js";
18
18
  import { Button } from "./Button/Button.js";
19
- import { Checkbox } from "./Checkbox.js";
19
+ import { Checkbox } from "./Checkbox/Checkbox.js";
20
20
  import { ChipButton } from "./Chip/ChipButton.js";
21
21
  import { ChipDismissible } from "./Chip/ChipDismissible.js";
22
22
  import { ChipLink } from "./Chip/ChipLink.js";
@@ -31,7 +31,7 @@ const require_components_client_BottomSheet_BottomSheetProvider = require("./cli
31
31
  const require_components_client_BottomSheet_BottomSheetTrigger = require("./client/BottomSheet/BottomSheetTrigger.cjs");
32
32
  const require_components_client_SpringMotionConfig = require("./client/SpringMotionConfig.cjs");
33
33
  const require_components_client_Button_Button = require("./client/Button/Button.cjs");
34
- const require_components_client_Checkbox = require("./client/Checkbox.cjs");
34
+ const require_components_client_Checkbox_Checkbox = require("./client/Checkbox/Checkbox.cjs");
35
35
  const require_components_client_Chip_ChipButton = require("./client/Chip/ChipButton.cjs");
36
36
  const require_components_client_Chip_ChipDismissible = require("./client/Chip/ChipDismissible.cjs");
37
37
  const require_components_client_Chip_ChipLink = require("./client/Chip/ChipLink.cjs");
@@ -103,7 +103,7 @@ exports.BottomSheetProvider = require_components_client_BottomSheet_BottomSheetP
103
103
  exports.BottomSheetTrigger = require_components_client_BottomSheet_BottomSheetTrigger.BottomSheetTrigger;
104
104
  exports.Box = require_components_Box.Box;
105
105
  exports.Button = require_components_client_Button_Button.Button;
106
- exports.Checkbox = require_components_client_Checkbox.Checkbox;
106
+ exports.Checkbox = require_components_client_Checkbox_Checkbox.Checkbox;
107
107
  exports.Chip = require_components_client_Chip_Chip.Chip;
108
108
  exports.ChipButton = require_components_client_Chip_ChipButton.ChipButton;
109
109
  exports.ChipDismissible = require_components_client_Chip_ChipDismissible.ChipDismissible;
@@ -30,7 +30,7 @@ import { BottomSheetHeader, BottomSheetHeaderProps } from "./client/BottomSheet/
30
30
  import { BottomSheetProvider, BottomSheetProviderProps } from "./client/BottomSheet/BottomSheetProvider.cjs";
31
31
  import { BottomSheetTrigger, BottomSheetTriggerProps } from "./client/BottomSheet/BottomSheetTrigger.cjs";
32
32
  import { Button, ButtonProps } from "./client/Button/Button.cjs";
33
- import { Checkbox, CheckboxProps } from "./client/Checkbox.cjs";
33
+ import { Checkbox, CheckboxProps } from "./client/Checkbox/Checkbox.cjs";
34
34
  import { Chip, ChipProps } from "./client/Chip/Chip.cjs";
35
35
  import { ChipButton, ChipButtonProps } from "./client/Chip/ChipButton.cjs";
36
36
  import { ChipDismissible, ChipDismissibleProps } from "./client/Chip/ChipDismissible.cjs";
@@ -30,7 +30,7 @@ import { BottomSheetHeader, BottomSheetHeaderProps } from "./client/BottomSheet/
30
30
  import { BottomSheetProvider, BottomSheetProviderProps } from "./client/BottomSheet/BottomSheetProvider.js";
31
31
  import { BottomSheetTrigger, BottomSheetTriggerProps } from "./client/BottomSheet/BottomSheetTrigger.js";
32
32
  import { Button, ButtonProps } from "./client/Button/Button.js";
33
- import { Checkbox, CheckboxProps } from "./client/Checkbox.js";
33
+ import { Checkbox, CheckboxProps } from "./client/Checkbox/Checkbox.js";
34
34
  import { Chip, ChipProps } from "./client/Chip/Chip.js";
35
35
  import { ChipButton, ChipButtonProps } from "./client/Chip/ChipButton.js";
36
36
  import { ChipDismissible, ChipDismissibleProps } from "./client/Chip/ChipDismissible.js";
@@ -30,7 +30,7 @@ import { BottomSheetProvider } from "./client/BottomSheet/BottomSheetProvider.js
30
30
  import { BottomSheetTrigger } from "./client/BottomSheet/BottomSheetTrigger.js";
31
31
  import { SpringMotionConfig } from "./client/SpringMotionConfig.js";
32
32
  import { Button } from "./client/Button/Button.js";
33
- import { Checkbox } from "./client/Checkbox.js";
33
+ import { Checkbox } from "./client/Checkbox/Checkbox.js";
34
34
  import { ChipButton } from "./client/Chip/ChipButton.js";
35
35
  import { ChipDismissible } from "./client/Chip/ChipDismissible.js";
36
36
  import { ChipLink } from "./client/Chip/ChipLink.js";
@@ -27,6 +27,8 @@ 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("--include-dev-files")} Also scan test/spec/story files (excluded by default)`);
31
+ require_print.print(` ${require_colors.cyan("--include-stories")} Also scan story files, keeping test/spec excluded`);
30
32
  require_print.print(` ${require_colors.cyan("--force")} Overwrite existing uds.theme.ts (for init)`);
31
33
  require_print.print(` ${require_colors.cyan("--help, -h")} Show this help message`);
32
34
  require_print.print("");
@@ -35,6 +35,8 @@ const getCssRunOptions = (workspaceDir, options) => {
35
35
  entryOption: entryOption(options.entry),
36
36
  configOption: stringOption(options.config),
37
37
  emit: parseEmitOption(options.emit),
38
+ includeDevFiles: isTruthyFlag(options["include-dev-files"]) || isTruthyFlag(options.includeDevFiles) ? true : void 0,
39
+ includeStories: isTruthyFlag(options["include-stories"]) || isTruthyFlag(options.includeStories) ? true : void 0,
38
40
  watch: isTruthyFlag(options.watch) || isTruthyFlag(options.w),
39
41
  silent: isTruthyFlag(options.silent) || isTruthyFlag(options.s),
40
42
  verbose: isTruthyFlag(options.verbose) || isTruthyFlag(options.v),
@@ -35,6 +35,8 @@ const getCssRunOptions = (workspaceDir, options) => {
35
35
  entryOption: entryOption(options.entry),
36
36
  configOption: stringOption(options.config),
37
37
  emit: parseEmitOption(options.emit),
38
+ includeDevFiles: isTruthyFlag(options["include-dev-files"]) || isTruthyFlag(options.includeDevFiles) ? true : void 0,
39
+ includeStories: isTruthyFlag(options["include-stories"]) || isTruthyFlag(options.includeStories) ? true : void 0,
38
40
  watch: isTruthyFlag(options.watch) || isTruthyFlag(options.w),
39
41
  silent: isTruthyFlag(options.silent) || isTruthyFlag(options.s),
40
42
  verbose: isTruthyFlag(options.verbose) || isTruthyFlag(options.v),
@@ -27,6 +27,8 @@ 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("--include-dev-files")} Also scan test/spec/story files (excluded by default)`);
31
+ print(` ${cyan("--include-stories")} Also scan story files, keeping test/spec excluded`);
30
32
  print(` ${cyan("--force")} Overwrite existing uds.theme.ts (for init)`);
31
33
  print(` ${cyan("--help, -h")} Show this help message`);
32
34
  print("");
@@ -5,13 +5,14 @@ const require_print = require("../packages/cli/dist/lib/print.cjs");
5
5
  const require_perf = require("./perf.cjs");
6
6
  const require_purgeFromCode = require("../purger/optimized/purgeFromCode.cjs");
7
7
  const require_entryPoints = require("../../../tailwind-internal/dist/utils/entryPoints.cjs");
8
+ const require_files = require("../purger/optimized/utils/files.cjs");
8
9
  let node_path = require("node:path");
9
10
  node_path = require_runtime.__toESM(node_path, 1);
10
11
  let node_fs = require("node:fs");
11
12
  node_fs = require_runtime.__toESM(node_fs, 1);
12
- let node_module = require("node:module");
13
13
  let fast_glob = require("fast-glob");
14
14
  fast_glob = require_runtime.__toESM(fast_glob, 1);
15
+ let node_module = require("node:module");
15
16
  //#region ../css/dist/css/nodeUtils.mjs
16
17
  /*! © 2026 Yahoo, Inc. UDS CSS v0.0.0-development */
17
18
  const loadConfigFile = async (configPath) => {
@@ -24,11 +25,15 @@ const loadConfigFile = async (configPath) => {
24
25
  throw new Error(`Failed to load config file: ${absolutePath}\n${error instanceof Error ? error.message : "Unknown error"}`);
25
26
  }
26
27
  };
27
- const scanDirectoryForSafelist = async (dir, colorModes, variants, autoVariants, componentData, variantDefaults, runtimeConfigValues, includeAllClassNamePrimitives = false, pool) => {
28
+ const scanDirectoryForSafelist = async (dir, colorModes, variants, autoVariants, componentData, variantDefaults, runtimeConfigValues, includeAllClassNamePrimitives = false, pool, extraIgnore = [], ignoreDevFiles = true) => {
28
29
  const files = await require_perf.measureAsync("scan:glob", () => (0, fast_glob.default)("**/*.{js,jsx,mjs,cjs,ts,tsx}", {
29
30
  cwd: dir,
30
31
  absolute: true,
31
- ignore: ["**/node_modules/**"]
32
+ ignore: [
33
+ "**/node_modules/**",
34
+ ...ignoreDevFiles ? require_files.DEV_FILE_IGNORE_GLOBS : [],
35
+ ...extraIgnore
36
+ ]
32
37
  }).then((f) => f.sort((left, right) => left.localeCompare(right))));
33
38
  const processFile = (filePath) => {
34
39
  const code = node_fs.default.readFileSync(filePath, "utf-8");
@@ -38,7 +43,8 @@ const scanDirectoryForSafelist = async (dir, colorModes, variants, autoVariants,
38
43
  colorModes,
39
44
  variantDefaults,
40
45
  runtimeConfigValues,
41
- includeAllClassNamePrimitives
46
+ includeAllClassNamePrimitives,
47
+ deferWrapperSpreadResolution: true
42
48
  });
43
49
  return require_purgeFromCode.purgeFromCodeOptimized(code, {
44
50
  colorModes,
@@ -48,6 +54,7 @@ const scanDirectoryForSafelist = async (dir, colorModes, variants, autoVariants,
48
54
  autoVariants,
49
55
  componentData,
50
56
  includeAllClassNamePrimitives,
57
+ deferWrapperSpreadResolution: true,
51
58
  filePath
52
59
  });
53
60
  };
@@ -60,7 +67,8 @@ const scanDirectoryForSafelist = async (dir, colorModes, variants, autoVariants,
60
67
  components: [...allComponents],
61
68
  filesScanned: files.length,
62
69
  filesWithComponents,
63
- filePaths: files
70
+ filePaths: files,
71
+ unresolvedWrapperSpreads: results.flatMap((result) => result.unresolvedWrapperSpreads ?? [])
64
72
  };
65
73
  };
66
74
  const scanFileForSafelist = async (filePath, colorModes, variants, autoVariants, componentData, variantDefaults, runtimeConfigValues, includeAllClassNamePrimitives = false) => {
@@ -71,27 +79,36 @@ const scanFileForSafelist = async (filePath, colorModes, variants, autoVariants,
71
79
  variants,
72
80
  autoVariants,
73
81
  componentData,
74
- includeAllClassNamePrimitives
82
+ includeAllClassNamePrimitives,
83
+ deferWrapperSpreadResolution: true
75
84
  });
76
85
  return {
77
86
  safelist: result.safelist,
78
87
  components: result.components,
79
88
  filesScanned: 1,
80
89
  filesWithComponents: result.components.length > 0 ? 1 : 0,
81
- filePaths: [filePath]
90
+ filePaths: [filePath],
91
+ unresolvedWrapperSpreads: result.unresolvedWrapperSpreads ?? []
82
92
  };
83
93
  };
84
- const scanDirectoriesForSafelist = async (dirs, colorModes, variants, autoVariants, componentData, variantDefaults, runtimeConfigValues, includeAllClassNamePrimitives = false, pool) => {
94
+ const scanDirectoriesForSafelist = async (dirs, colorModes, variants, autoVariants, componentData, variantDefaults, runtimeConfigValues, includeAllClassNamePrimitives = false, pool, extraIgnore = [], ignoreDevFiles = true) => {
85
95
  const results = await Promise.all(dirs.map((dir) => {
86
96
  if (node_fs.default.existsSync(dir) && node_fs.default.statSync(dir).isFile()) return scanFileForSafelist(dir, colorModes, variants, autoVariants, componentData, variantDefaults, runtimeConfigValues, includeAllClassNamePrimitives);
87
- return scanDirectoryForSafelist(dir, colorModes, variants, autoVariants, componentData, variantDefaults, runtimeConfigValues, includeAllClassNamePrimitives, pool);
97
+ return scanDirectoryForSafelist(dir, colorModes, variants, autoVariants, componentData, variantDefaults, runtimeConfigValues, includeAllClassNamePrimitives, pool, extraIgnore, ignoreDevFiles);
88
98
  }));
99
+ const unresolvedWrapperSpreads = results.flatMap((result) => result.unresolvedWrapperSpreads);
100
+ const safelist = results.flatMap((result) => result.safelist);
101
+ if (unresolvedWrapperSpreads.length > 0) {
102
+ const sources = results.flatMap((result) => result.filePaths).map((filePath) => node_fs.default.readFileSync(filePath, "utf-8"));
103
+ safelist.push(...require_purgeFromCode.resolveWrapperSpreadSafelist(unresolvedWrapperSpreads, sources, variants));
104
+ }
89
105
  return {
90
- safelist: results.flatMap((result) => result.safelist),
106
+ safelist,
91
107
  components: [...new Set(results.flatMap((result) => result.components))],
92
108
  filesScanned: results.reduce((total, result) => total + result.filesScanned, 0),
93
109
  filesWithComponents: results.reduce((total, result) => total + result.filesWithComponents, 0),
94
- filePaths: results.flatMap((result) => result.filePaths).sort((left, right) => left.localeCompare(right))
110
+ filePaths: results.flatMap((result) => result.filePaths).sort((left, right) => left.localeCompare(right)),
111
+ unresolvedWrapperSpreads
95
112
  };
96
113
  };
97
114
  const findMonorepoRoot = (startDir) => {
@@ -2,12 +2,13 @@
2
2
  import { cyan, green, magenta, red } from "../packages/cli/dist/lib/colors.js";
3
3
  import { print } from "../packages/cli/dist/lib/print.js";
4
4
  import { measureAsync } from "./perf.js";
5
- import { purgeFromCodeOptimized } from "../purger/optimized/purgeFromCode.js";
5
+ import { purgeFromCodeOptimized, resolveWrapperSpreadSafelist } from "../purger/optimized/purgeFromCode.js";
6
6
  import { formatEntryValue } from "../../../tailwind-internal/dist/utils/entryPoints.js";
7
+ import { DEV_FILE_IGNORE_GLOBS } from "../purger/optimized/utils/files.js";
7
8
  import path from "node:path";
8
9
  import fs from "node:fs";
9
- import { createRequire } from "node:module";
10
10
  import fg from "fast-glob";
11
+ import { createRequire } from "node:module";
11
12
  //#region ../css/dist/css/nodeUtils.mjs
12
13
  /*! © 2026 Yahoo, Inc. UDS CSS v0.0.0-development */
13
14
  const loadConfigFile = async (configPath) => {
@@ -20,11 +21,15 @@ const loadConfigFile = async (configPath) => {
20
21
  throw new Error(`Failed to load config file: ${absolutePath}\n${error instanceof Error ? error.message : "Unknown error"}`);
21
22
  }
22
23
  };
23
- const scanDirectoryForSafelist = async (dir, colorModes, variants, autoVariants, componentData, variantDefaults, runtimeConfigValues, includeAllClassNamePrimitives = false, pool) => {
24
+ const scanDirectoryForSafelist = async (dir, colorModes, variants, autoVariants, componentData, variantDefaults, runtimeConfigValues, includeAllClassNamePrimitives = false, pool, extraIgnore = [], ignoreDevFiles = true) => {
24
25
  const files = await measureAsync("scan:glob", () => fg("**/*.{js,jsx,mjs,cjs,ts,tsx}", {
25
26
  cwd: dir,
26
27
  absolute: true,
27
- ignore: ["**/node_modules/**"]
28
+ ignore: [
29
+ "**/node_modules/**",
30
+ ...ignoreDevFiles ? DEV_FILE_IGNORE_GLOBS : [],
31
+ ...extraIgnore
32
+ ]
28
33
  }).then((f) => f.sort((left, right) => left.localeCompare(right))));
29
34
  const processFile = (filePath) => {
30
35
  const code = fs.readFileSync(filePath, "utf-8");
@@ -34,7 +39,8 @@ const scanDirectoryForSafelist = async (dir, colorModes, variants, autoVariants,
34
39
  colorModes,
35
40
  variantDefaults,
36
41
  runtimeConfigValues,
37
- includeAllClassNamePrimitives
42
+ includeAllClassNamePrimitives,
43
+ deferWrapperSpreadResolution: true
38
44
  });
39
45
  return purgeFromCodeOptimized(code, {
40
46
  colorModes,
@@ -44,6 +50,7 @@ const scanDirectoryForSafelist = async (dir, colorModes, variants, autoVariants,
44
50
  autoVariants,
45
51
  componentData,
46
52
  includeAllClassNamePrimitives,
53
+ deferWrapperSpreadResolution: true,
47
54
  filePath
48
55
  });
49
56
  };
@@ -56,7 +63,8 @@ const scanDirectoryForSafelist = async (dir, colorModes, variants, autoVariants,
56
63
  components: [...allComponents],
57
64
  filesScanned: files.length,
58
65
  filesWithComponents,
59
- filePaths: files
66
+ filePaths: files,
67
+ unresolvedWrapperSpreads: results.flatMap((result) => result.unresolvedWrapperSpreads ?? [])
60
68
  };
61
69
  };
62
70
  const scanFileForSafelist = async (filePath, colorModes, variants, autoVariants, componentData, variantDefaults, runtimeConfigValues, includeAllClassNamePrimitives = false) => {
@@ -67,27 +75,36 @@ const scanFileForSafelist = async (filePath, colorModes, variants, autoVariants,
67
75
  variants,
68
76
  autoVariants,
69
77
  componentData,
70
- includeAllClassNamePrimitives
78
+ includeAllClassNamePrimitives,
79
+ deferWrapperSpreadResolution: true
71
80
  });
72
81
  return {
73
82
  safelist: result.safelist,
74
83
  components: result.components,
75
84
  filesScanned: 1,
76
85
  filesWithComponents: result.components.length > 0 ? 1 : 0,
77
- filePaths: [filePath]
86
+ filePaths: [filePath],
87
+ unresolvedWrapperSpreads: result.unresolvedWrapperSpreads ?? []
78
88
  };
79
89
  };
80
- const scanDirectoriesForSafelist = async (dirs, colorModes, variants, autoVariants, componentData, variantDefaults, runtimeConfigValues, includeAllClassNamePrimitives = false, pool) => {
90
+ const scanDirectoriesForSafelist = async (dirs, colorModes, variants, autoVariants, componentData, variantDefaults, runtimeConfigValues, includeAllClassNamePrimitives = false, pool, extraIgnore = [], ignoreDevFiles = true) => {
81
91
  const results = await Promise.all(dirs.map((dir) => {
82
92
  if (fs.existsSync(dir) && fs.statSync(dir).isFile()) return scanFileForSafelist(dir, colorModes, variants, autoVariants, componentData, variantDefaults, runtimeConfigValues, includeAllClassNamePrimitives);
83
- return scanDirectoryForSafelist(dir, colorModes, variants, autoVariants, componentData, variantDefaults, runtimeConfigValues, includeAllClassNamePrimitives, pool);
93
+ return scanDirectoryForSafelist(dir, colorModes, variants, autoVariants, componentData, variantDefaults, runtimeConfigValues, includeAllClassNamePrimitives, pool, extraIgnore, ignoreDevFiles);
84
94
  }));
95
+ const unresolvedWrapperSpreads = results.flatMap((result) => result.unresolvedWrapperSpreads);
96
+ const safelist = results.flatMap((result) => result.safelist);
97
+ if (unresolvedWrapperSpreads.length > 0) {
98
+ const sources = results.flatMap((result) => result.filePaths).map((filePath) => fs.readFileSync(filePath, "utf-8"));
99
+ safelist.push(...resolveWrapperSpreadSafelist(unresolvedWrapperSpreads, sources, variants));
100
+ }
85
101
  return {
86
- safelist: results.flatMap((result) => result.safelist),
102
+ safelist,
87
103
  components: [...new Set(results.flatMap((result) => result.components))],
88
104
  filesScanned: results.reduce((total, result) => total + result.filesScanned, 0),
89
105
  filesWithComponents: results.reduce((total, result) => total + result.filesWithComponents, 0),
90
- filePaths: results.flatMap((result) => result.filePaths).sort((left, right) => left.localeCompare(right))
106
+ filePaths: results.flatMap((result) => result.filePaths).sort((left, right) => left.localeCompare(right)),
107
+ unresolvedWrapperSpreads
91
108
  };
92
109
  };
93
110
  const findMonorepoRoot = (startDir) => {
@@ -4,6 +4,7 @@ const require_colors = require("../packages/cli/dist/lib/colors.cjs");
4
4
  const require_print = require("../packages/cli/dist/lib/print.cjs");
5
5
  const require_perf = require("./perf.cjs");
6
6
  const require_entryPoints = require("../../../tailwind-internal/dist/utils/entryPoints.cjs");
7
+ const require_files = require("../purger/optimized/utils/files.cjs");
7
8
  const require_nodeUtils = require("./nodeUtils.cjs");
8
9
  const require_spinner = require("../packages/cli/dist/lib/spinner.cjs");
9
10
  const require_logger = require("../packages/cli/dist/lib/logger.cjs");
@@ -249,6 +250,10 @@ const runThemeMode = async (options, context) => {
249
250
  effectiveSilent = setup.effectiveSilent;
250
251
  log = require_logger.createLogger({ silent: effectiveSilent });
251
252
  const entryDirs = entries.map((entry) => entry.absolutePath);
253
+ const includeDevFiles = options.includeDevFiles ?? themeConfig.includeDevFiles ?? false;
254
+ const includeStories = options.includeStories ?? themeConfig.includeStories ?? false;
255
+ const ignoreDevFiles = !includeDevFiles && !includeStories;
256
+ const scanIgnore = [...themeConfig.ignore ?? [], ...!includeDevFiles && includeStories ? require_files.TEST_FILE_IGNORE_GLOBS : []];
252
257
  if (!effectiveSilent) log.spinStop("✅", "Theme configuration loaded");
253
258
  if (themeConfig.config && appConfig === require_index.defaultTokensConfig) log.warn(`App config not found: ${themeConfig.config}, using defaults`);
254
259
  const packageDirs = [];
@@ -280,7 +285,7 @@ const runThemeMode = async (options, context) => {
280
285
  return {
281
286
  packageName,
282
287
  status: "ok",
283
- scanResult: await require_nodeUtils.scanDirectoryForSafelist(packageDir, colorModes, context.variants, context.autoVariants, context.componentData, appVariantDefaults, runtimeConfigValues, true, pool)
288
+ scanResult: await require_nodeUtils.scanDirectoryForSafelist(packageDir, colorModes, context.variants, context.autoVariants, context.componentData, appVariantDefaults, runtimeConfigValues, true, pool, scanIgnore, ignoreDevFiles)
284
289
  };
285
290
  };
286
291
  const processScopedPackage = async (packageName, scopedPackageValue) => {
@@ -304,7 +309,7 @@ const runThemeMode = async (options, context) => {
304
309
  });
305
310
  };
306
311
  const [appScanResult, inheritedResults] = await Promise.all([
307
- require_perf.measureAsync("scan", () => require_nodeUtils.scanDirectoriesForSafelist(entryDirs, colorModes, context.variants, context.autoVariants, context.componentData, appVariantDefaults, runtimeConfigValues, false, pool)),
312
+ require_perf.measureAsync("scan", () => require_nodeUtils.scanDirectoriesForSafelist(entryDirs, colorModes, context.variants, context.autoVariants, context.componentData, appVariantDefaults, runtimeConfigValues, false, pool, scanIgnore, ignoreDevFiles)),
308
313
  Promise.all((themeConfig.inherit ?? []).map((packageName) => require_perf.measureAsync(`scan:inherit:${packageName}`, () => processInheritedPackage(packageName)))),
309
314
  Promise.all(Object.entries(themeConfig.scoped ?? {}).map(([packageName, scopedPackageConfig]) => processScopedPackage(packageName, scopedPackageConfig)))
310
315
  ]);
@@ -364,7 +369,7 @@ const runThemeMode = async (options, context) => {
364
369
  const packageConfig = await require_nodeUtils.loadConfigFile(isAbsolutePath(scopedPackageTarget.config.config) ? scopedPackageTarget.config.config : joinPath(scopedPackageTarget.packageRoot, scopedPackageTarget.config.config)) ?? require_index.defaultTokensConfig;
365
370
  const packageVariantDefaults = require_utils.extractVariantDefaults(packageConfig);
366
371
  const packageRuntimeConfigValues = require_utils.extractRuntimeConfigValues(packageConfig);
367
- const packageScanResult = await require_nodeUtils.scanDirectoriesForSafelist(scopedPackageTarget.entryDirs, colorModes, context.variants, context.autoVariants, context.componentData, packageVariantDefaults, packageRuntimeConfigValues, true, pool);
372
+ const packageScanResult = await require_nodeUtils.scanDirectoriesForSafelist(scopedPackageTarget.entryDirs, colorModes, context.variants, context.autoVariants, context.componentData, packageVariantDefaults, packageRuntimeConfigValues, true, pool, scanIgnore, ignoreDevFiles);
368
373
  genLog.spinStop("✅", require_runner_helpers.getScanSummaryMessage({
369
374
  label: scopedPackageTarget.packageName,
370
375
  filesScanned: packageScanResult.filesScanned,
@@ -3,6 +3,7 @@ import { gray, green, magenta } from "../packages/cli/dist/lib/colors.js";
3
3
  import { print } from "../packages/cli/dist/lib/print.js";
4
4
  import { captureMemory, clearTimings, measureAsync, printPerfSummary } from "./perf.js";
5
5
  import { resolveEntryPaths } from "../../../tailwind-internal/dist/utils/entryPoints.js";
6
+ import { TEST_FILE_IGNORE_GLOBS } from "../purger/optimized/utils/files.js";
6
7
  import { findPackageRoot, findPackageSourceDir, getPackageUdsScope, loadConfigFile, scanDirectoriesForSafelist, scanDirectoryForSafelist } from "./nodeUtils.js";
7
8
  import { spinStart, spinStop } from "../packages/cli/dist/lib/spinner.js";
8
9
  import { createLogger } from "../packages/cli/dist/lib/logger.js";
@@ -247,6 +248,10 @@ const runThemeMode = async (options, context) => {
247
248
  effectiveSilent = setup.effectiveSilent;
248
249
  log = createLogger({ silent: effectiveSilent });
249
250
  const entryDirs = entries.map((entry) => entry.absolutePath);
251
+ const includeDevFiles = options.includeDevFiles ?? themeConfig.includeDevFiles ?? false;
252
+ const includeStories = options.includeStories ?? themeConfig.includeStories ?? false;
253
+ const ignoreDevFiles = !includeDevFiles && !includeStories;
254
+ const scanIgnore = [...themeConfig.ignore ?? [], ...!includeDevFiles && includeStories ? TEST_FILE_IGNORE_GLOBS : []];
250
255
  if (!effectiveSilent) log.spinStop("✅", "Theme configuration loaded");
251
256
  if (themeConfig.config && appConfig === defaultTokensConfig) log.warn(`App config not found: ${themeConfig.config}, using defaults`);
252
257
  const packageDirs = [];
@@ -278,7 +283,7 @@ const runThemeMode = async (options, context) => {
278
283
  return {
279
284
  packageName,
280
285
  status: "ok",
281
- scanResult: await scanDirectoryForSafelist(packageDir, colorModes, context.variants, context.autoVariants, context.componentData, appVariantDefaults, runtimeConfigValues, true, pool)
286
+ scanResult: await scanDirectoryForSafelist(packageDir, colorModes, context.variants, context.autoVariants, context.componentData, appVariantDefaults, runtimeConfigValues, true, pool, scanIgnore, ignoreDevFiles)
282
287
  };
283
288
  };
284
289
  const processScopedPackage = async (packageName, scopedPackageValue) => {
@@ -302,7 +307,7 @@ const runThemeMode = async (options, context) => {
302
307
  });
303
308
  };
304
309
  const [appScanResult, inheritedResults] = await Promise.all([
305
- measureAsync("scan", () => scanDirectoriesForSafelist(entryDirs, colorModes, context.variants, context.autoVariants, context.componentData, appVariantDefaults, runtimeConfigValues, false, pool)),
310
+ measureAsync("scan", () => scanDirectoriesForSafelist(entryDirs, colorModes, context.variants, context.autoVariants, context.componentData, appVariantDefaults, runtimeConfigValues, false, pool, scanIgnore, ignoreDevFiles)),
306
311
  Promise.all((themeConfig.inherit ?? []).map((packageName) => measureAsync(`scan:inherit:${packageName}`, () => processInheritedPackage(packageName)))),
307
312
  Promise.all(Object.entries(themeConfig.scoped ?? {}).map(([packageName, scopedPackageConfig]) => processScopedPackage(packageName, scopedPackageConfig)))
308
313
  ]);
@@ -362,7 +367,7 @@ const runThemeMode = async (options, context) => {
362
367
  const packageConfig = await loadConfigFile(isAbsolutePath(scopedPackageTarget.config.config) ? scopedPackageTarget.config.config : joinPath(scopedPackageTarget.packageRoot, scopedPackageTarget.config.config)) ?? defaultTokensConfig;
363
368
  const packageVariantDefaults = extractVariantDefaults(packageConfig);
364
369
  const packageRuntimeConfigValues = extractRuntimeConfigValues(packageConfig);
365
- const packageScanResult = await scanDirectoriesForSafelist(scopedPackageTarget.entryDirs, colorModes, context.variants, context.autoVariants, context.componentData, packageVariantDefaults, packageRuntimeConfigValues, true, pool);
370
+ const packageScanResult = await scanDirectoriesForSafelist(scopedPackageTarget.entryDirs, colorModes, context.variants, context.autoVariants, context.componentData, packageVariantDefaults, packageRuntimeConfigValues, true, pool, scanIgnore, ignoreDevFiles);
366
371
  genLog.spinStop("✅", getScanSummaryMessage({
367
372
  label: scopedPackageTarget.packageName,
368
373
  filesScanned: packageScanResult.filesScanned,
@@ -55,6 +55,22 @@ interface UDSThemeConfig {
55
55
  config?: string;
56
56
  /** Entry directory path or .tsx file path, or a list of those paths (default: './src') */
57
57
  entry?: string | string[];
58
+ /**
59
+ * Additional glob patterns to exclude from the safelist scan (e.g. dev-only
60
+ * pages not detectable by filename). Test/spec/story files and
61
+ * __tests__/__mocks__ directories are always excluded.
62
+ */
63
+ ignore?: string[];
64
+ /**
65
+ * Also scan test/spec/story files and __tests__/__mocks__ directories
66
+ * (default: false). Useful when a Storybook build shares this CSS output.
67
+ */
68
+ includeDevFiles?: boolean;
69
+ /**
70
+ * Also scan story files (default: false) while keeping test/spec files
71
+ * excluded. Use when a Storybook build consumes the generated CSS.
72
+ */
73
+ includeStories?: boolean;
58
74
  /** Suppress log output during generation (default: false) */
59
75
  silent?: boolean;
60
76
  /**
@@ -55,6 +55,22 @@ interface UDSThemeConfig {
55
55
  config?: string;
56
56
  /** Entry directory path or .tsx file path, or a list of those paths (default: './src') */
57
57
  entry?: string | string[];
58
+ /**
59
+ * Additional glob patterns to exclude from the safelist scan (e.g. dev-only
60
+ * pages not detectable by filename). Test/spec/story files and
61
+ * __tests__/__mocks__ directories are always excluded.
62
+ */
63
+ ignore?: string[];
64
+ /**
65
+ * Also scan test/spec/story files and __tests__/__mocks__ directories
66
+ * (default: false). Useful when a Storybook build shares this CSS output.
67
+ */
68
+ includeDevFiles?: boolean;
69
+ /**
70
+ * Also scan story files (default: false) while keeping test/spec files
71
+ * excluded. Use when a Storybook build consumes the generated CSS.
72
+ */
73
+ includeStories?: boolean;
58
74
  /** Suppress log output during generation (default: false) */
59
75
  silent?: boolean;
60
76
  /**
@@ -60,7 +60,8 @@ const createWorkerPool = async (config, numWorkers) => {
60
60
  colorModes: options.colorModes,
61
61
  variantDefaults: options.variantDefaults,
62
62
  runtimeConfigValues: options.runtimeConfigValues,
63
- includeAllClassNamePrimitives: options.includeAllClassNamePrimitives
63
+ includeAllClassNamePrimitives: options.includeAllClassNamePrimitives,
64
+ deferWrapperSpreadResolution: options.deferWrapperSpreadResolution
64
65
  };
65
66
  const task = {
66
67
  resolve,