@yahoo/uds 3.145.0 → 3.147.0-beta.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 (155) hide show
  1. package/dist/automated-config/dist/generated/autoVariants.cjs +34 -0
  2. package/dist/automated-config/dist/generated/autoVariants.d.cts +5 -0
  3. package/dist/automated-config/dist/generated/autoVariants.d.ts +5 -0
  4. package/dist/automated-config/dist/generated/autoVariants.js +34 -0
  5. package/dist/automated-config/dist/generated/generatedConfigs.cjs +1457 -0
  6. package/dist/automated-config/dist/generated/generatedConfigs.d.cts +161 -1
  7. package/dist/automated-config/dist/generated/generatedConfigs.d.ts +161 -1
  8. package/dist/automated-config/dist/generated/generatedConfigs.js +1457 -1
  9. package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +385 -0
  10. package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.cts +2 -1
  11. package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.ts +2 -1
  12. package/dist/automated-config/dist/generated/universalTokensConfigAuto.js +385 -0
  13. package/dist/automated-config/dist/utils/buildConfigSchema.cjs +9 -5
  14. package/dist/automated-config/dist/utils/buildConfigSchema.d.cts +3 -1
  15. package/dist/automated-config/dist/utils/buildConfigSchema.d.ts +3 -1
  16. package/dist/automated-config/dist/utils/buildConfigSchema.js +9 -6
  17. package/dist/automated-config/dist/utils/index.cjs +14 -3
  18. package/dist/automated-config/dist/utils/index.d.cts +1 -1
  19. package/dist/automated-config/dist/utils/index.d.ts +1 -1
  20. package/dist/automated-config/dist/utils/index.js +14 -3
  21. package/dist/cli/runner.cjs +6 -2
  22. package/dist/cli/runner.js +6 -2
  23. package/dist/components/Banner/Banner.cjs +2 -1
  24. package/dist/components/Banner/Banner.js +2 -1
  25. package/dist/components/Banner/utils.cjs +3 -12
  26. package/dist/components/Banner/utils.d.cts +1 -6
  27. package/dist/components/Banner/utils.d.ts +1 -6
  28. package/dist/components/Banner/utils.js +2 -11
  29. package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +1 -1
  30. package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +1 -1
  31. package/dist/components/client/PaddleNav/PaddleButton.cjs +51 -0
  32. package/dist/components/client/PaddleNav/PaddleButton.d.cts +16 -0
  33. package/dist/components/client/PaddleNav/PaddleButton.d.ts +17 -0
  34. package/dist/components/client/PaddleNav/PaddleButton.js +49 -0
  35. package/dist/components/client/PaddleNav/PaddleButtonNext.cjs +18 -0
  36. package/dist/components/client/PaddleNav/PaddleButtonNext.d.cts +11 -0
  37. package/dist/components/client/PaddleNav/PaddleButtonNext.d.ts +12 -0
  38. package/dist/components/client/PaddleNav/PaddleButtonNext.js +16 -0
  39. package/dist/components/client/PaddleNav/PaddleButtonPrevious.cjs +18 -0
  40. package/dist/components/client/PaddleNav/PaddleButtonPrevious.d.cts +11 -0
  41. package/dist/components/client/PaddleNav/PaddleButtonPrevious.d.ts +12 -0
  42. package/dist/components/client/PaddleNav/PaddleButtonPrevious.js +16 -0
  43. package/dist/components/client/PaddleNav/PaddleNav.cjs +193 -0
  44. package/dist/components/client/PaddleNav/PaddleNav.d.cts +11 -0
  45. package/dist/components/client/PaddleNav/PaddleNav.d.ts +12 -0
  46. package/dist/components/client/PaddleNav/PaddleNav.js +191 -0
  47. package/dist/components/client/PaddleNav/PaddleNavContent.cjs +29 -0
  48. package/dist/components/client/PaddleNav/PaddleNavContent.d.cts +11 -0
  49. package/dist/components/client/PaddleNav/PaddleNavContent.d.ts +12 -0
  50. package/dist/components/client/PaddleNav/PaddleNavContent.js +27 -0
  51. package/dist/components/client/PaddleNav/index.cjs +11 -0
  52. package/dist/components/client/PaddleNav/index.d.cts +6 -0
  53. package/dist/components/client/PaddleNav/index.d.ts +7 -0
  54. package/dist/components/client/PaddleNav/index.js +7 -0
  55. package/dist/components/client/PaddleNav/paddleButtonIcons.cjs +12 -0
  56. package/dist/components/client/PaddleNav/paddleButtonIcons.d.cts +22 -0
  57. package/dist/components/client/PaddleNav/paddleButtonIcons.d.ts +23 -0
  58. package/dist/components/client/PaddleNav/paddleButtonIcons.js +10 -0
  59. package/dist/components/client/PaddleNav/paddleNavContext.cjs +20 -0
  60. package/dist/components/client/PaddleNav/paddleNavContext.d.cts +20 -0
  61. package/dist/components/client/PaddleNav/paddleNavContext.d.ts +21 -0
  62. package/dist/components/client/PaddleNav/paddleNavContext.js +16 -0
  63. package/dist/components/client/PaddleNav/utils/resolvePaddleNavCornerOrientation.cjs +25 -0
  64. package/dist/components/client/PaddleNav/utils/resolvePaddleNavCornerOrientation.d.cts +16 -0
  65. package/dist/components/client/PaddleNav/utils/resolvePaddleNavCornerOrientation.d.ts +17 -0
  66. package/dist/components/client/PaddleNav/utils/resolvePaddleNavCornerOrientation.js +24 -0
  67. package/dist/components/client/Popover/UDSPopoverConfigProvider.d.cts +1 -1
  68. package/dist/components/client/Popover/UDSPopoverConfigProvider.d.ts +1 -1
  69. package/dist/components/client/index.cjs +8 -0
  70. package/dist/components/client/index.d.cts +5 -1
  71. package/dist/components/client/index.d.ts +5 -1
  72. package/dist/components/client/index.js +5 -1
  73. package/dist/components/index.cjs +8 -0
  74. package/dist/components/index.d.cts +5 -1
  75. package/dist/components/index.d.ts +5 -1
  76. package/dist/components/index.js +5 -1
  77. package/dist/config/dist/index.cjs +399 -14
  78. package/dist/config/dist/index.js +399 -14
  79. package/dist/css/dist/packages/config/dist/index.cjs +399 -14
  80. package/dist/css/dist/packages/config/dist/index.js +399 -14
  81. package/dist/icons/dist/types.d.cts +1 -1
  82. package/dist/icons/dist/types.d.ts +1 -1
  83. package/dist/index.cjs +11 -1
  84. package/dist/index.d.cts +9 -5
  85. package/dist/index.d.ts +9 -5
  86. package/dist/index.js +8 -4
  87. package/dist/styles/styler.d.cts +31 -26
  88. package/dist/styles/styler.d.ts +31 -26
  89. package/dist/styles/variants.d.cts +34 -0
  90. package/dist/styles/variants.d.ts +34 -0
  91. package/dist/tailwind/utils/index.d.cts +2 -2
  92. package/dist/tailwind/utils/index.d.ts +2 -2
  93. package/dist/tailwind-internal/dist/base/addFontFaceDeclarations.cjs +2 -2
  94. package/dist/tailwind-internal/dist/base/addFontFaceDeclarations.js +2 -2
  95. package/dist/tailwind-internal/dist/base/addFontVars.cjs +2 -2
  96. package/dist/tailwind-internal/dist/base/addFontVars.js +2 -2
  97. package/dist/tailwind-internal/dist/index.d.cts +1 -1
  98. package/dist/tailwind-internal/dist/index.d.ts +1 -1
  99. package/dist/tailwind-internal/dist/packages/automated-config/dist/generated/generatedConfigs.cjs +1457 -0
  100. package/dist/tailwind-internal/dist/packages/automated-config/dist/generated/generatedConfigs.js +1457 -1
  101. package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/buildConfigSchema.cjs +15 -0
  102. package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/buildConfigSchema.js +15 -0
  103. package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/index.cjs +14 -2
  104. package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/index.js +14 -2
  105. package/dist/tailwind-internal/dist/packages/config/dist/index.cjs +399 -14
  106. package/dist/tailwind-internal/dist/packages/config/dist/index.js +399 -14
  107. package/dist/tailwind-internal/dist/plugins/components.cjs +1 -0
  108. package/dist/tailwind-internal/dist/plugins/components.js +2 -1
  109. package/dist/tailwind-internal/dist/plugins/typography.cjs +3 -3
  110. package/dist/tailwind-internal/dist/plugins/typography.js +3 -3
  111. package/dist/tailwind-internal/dist/utils/addFontsPlugin.cjs +2 -2
  112. package/dist/tailwind-internal/dist/utils/addFontsPlugin.d.cts +6 -0
  113. package/dist/tailwind-internal/dist/utils/addFontsPlugin.d.ts +6 -0
  114. package/dist/tailwind-internal/dist/utils/addFontsPlugin.js +2 -2
  115. package/dist/tailwind-internal/dist/utils/composeTailwindPlugins.d.cts +7 -0
  116. package/dist/tailwind-internal/dist/utils/composeTailwindPlugins.d.ts +7 -0
  117. package/dist/tailwind-internal/dist/utils/getFontFaceDeclarations.cjs +3 -2
  118. package/dist/tailwind-internal/dist/utils/getFontFaceDeclarations.d.cts +59 -58
  119. package/dist/tailwind-internal/dist/utils/getFontFaceDeclarations.d.ts +59 -58
  120. package/dist/tailwind-internal/dist/utils/getFontFaceDeclarations.js +3 -2
  121. package/dist/tailwind-internal/dist/utils/getFontStyles.cjs +2 -2
  122. package/dist/tailwind-internal/dist/utils/getFontStyles.d.cts +2 -1
  123. package/dist/tailwind-internal/dist/utils/getFontStyles.d.ts +2 -1
  124. package/dist/tailwind-internal/dist/utils/getFontStyles.js +2 -2
  125. package/dist/tailwind-internal/dist/utils/getNestedBorderRadiusUtilities.cjs +6 -0
  126. package/dist/tailwind-internal/dist/utils/getNestedBorderRadiusUtilities.js +6 -0
  127. package/dist/tailwind-internal/dist/utils/getShadowStyles.d.cts +2 -2
  128. package/dist/tailwind-internal/dist/utils/getShadowStyles.d.ts +2 -2
  129. package/dist/tokens/automation/configs/index.cjs +1 -0
  130. package/dist/tokens/automation/configs/index.d.cts +2 -2
  131. package/dist/tokens/automation/configs/index.d.ts +2 -2
  132. package/dist/tokens/automation/configs/index.js +2 -2
  133. package/dist/tokens/automation/index.cjs +3 -1
  134. package/dist/tokens/automation/index.d.cts +3 -3
  135. package/dist/tokens/automation/index.d.ts +3 -3
  136. package/dist/tokens/automation/index.js +4 -4
  137. package/dist/tokens/index.cjs +3 -1
  138. package/dist/tokens/index.d.cts +5 -5
  139. package/dist/tokens/index.d.ts +5 -5
  140. package/dist/tokens/index.js +4 -4
  141. package/dist/tokens/types.d.cts +6 -2
  142. package/dist/tokens/types.d.ts +6 -2
  143. package/dist/types/dist/index.d.cts +50 -1
  144. package/dist/types/dist/index.d.ts +50 -1
  145. package/dist/uds/generated/componentData.cjs +2779 -3271
  146. package/dist/uds/generated/componentData.js +2778 -2712
  147. package/dist/uds/generated/tailwindPurge.cjs +22 -0
  148. package/dist/uds/generated/tailwindPurge.js +22 -0
  149. package/dist/utils/hasDisplayName.cjs +17 -0
  150. package/dist/utils/hasDisplayName.d.cts +12 -0
  151. package/dist/utils/hasDisplayName.d.ts +12 -0
  152. package/dist/utils/hasDisplayName.js +15 -0
  153. package/generated/componentData.json +863 -658
  154. package/generated/tailwindPurge.ts +4 -4
  155. package/package.json +1 -1
@@ -11707,6 +11707,391 @@ const defaultUniversalTokensConfigAuto = {
11707
11707
  } } }
11708
11708
  }
11709
11709
  },
11710
+ paddleNav: {
11711
+ defaults: {
11712
+ size: "md",
11713
+ variant: "primary"
11714
+ },
11715
+ variables: {
11716
+ "size/lg/icon": { size: { rest: {
11717
+ type: "iconSizes",
11718
+ value: "md",
11719
+ valueType: "alias"
11720
+ } } },
11721
+ "size/lg/root": {
11722
+ borderRadius: { rest: {
11723
+ type: "borderRadii",
11724
+ value: "full",
11725
+ valueType: "alias"
11726
+ } },
11727
+ borderWidth: { rest: {
11728
+ type: "borderWidths",
11729
+ value: "thin",
11730
+ valueType: "alias"
11731
+ } },
11732
+ spacing: { rest: {
11733
+ type: "spacingAliases",
11734
+ value: "3.5",
11735
+ valueType: "alias"
11736
+ } }
11737
+ },
11738
+ "size/md/icon": { size: { rest: {
11739
+ type: "iconSizes",
11740
+ value: "sm",
11741
+ valueType: "alias"
11742
+ } } },
11743
+ "size/md/root": {
11744
+ borderRadius: { rest: {
11745
+ type: "borderRadii",
11746
+ value: "full",
11747
+ valueType: "alias"
11748
+ } },
11749
+ borderWidth: { rest: {
11750
+ type: "borderWidths",
11751
+ value: "thin",
11752
+ valueType: "alias"
11753
+ } },
11754
+ spacing: { rest: {
11755
+ type: "spacingAliases",
11756
+ value: "3",
11757
+ valueType: "alias"
11758
+ } }
11759
+ },
11760
+ "size/sm/icon": { size: { rest: {
11761
+ type: "iconSizes",
11762
+ value: "sm",
11763
+ valueType: "alias"
11764
+ } } },
11765
+ "size/sm/root": {
11766
+ borderRadius: { rest: {
11767
+ type: "borderRadii",
11768
+ value: "full",
11769
+ valueType: "alias"
11770
+ } },
11771
+ borderWidth: { rest: {
11772
+ type: "borderWidths",
11773
+ value: "thin",
11774
+ valueType: "alias"
11775
+ } },
11776
+ spacing: { rest: {
11777
+ type: "spacingAliases",
11778
+ value: "2",
11779
+ valueType: "alias"
11780
+ } }
11781
+ },
11782
+ "size/xl/icon": { size: { rest: {
11783
+ type: "iconSizes",
11784
+ value: "lg",
11785
+ valueType: "alias"
11786
+ } } },
11787
+ "size/xl/root": {
11788
+ borderRadius: { rest: {
11789
+ type: "borderRadii",
11790
+ value: "full",
11791
+ valueType: "alias"
11792
+ } },
11793
+ borderWidth: { rest: {
11794
+ type: "borderWidths",
11795
+ value: "thin",
11796
+ valueType: "alias"
11797
+ } },
11798
+ spacing: { rest: {
11799
+ type: "spacingAliases",
11800
+ value: "4",
11801
+ valueType: "alias"
11802
+ } }
11803
+ },
11804
+ "size/xs/icon": { size: { rest: {
11805
+ type: "iconSizes",
11806
+ value: "xs",
11807
+ valueType: "alias"
11808
+ } } },
11809
+ "size/xs/root": {
11810
+ borderRadius: { rest: {
11811
+ type: "borderRadii",
11812
+ value: "full",
11813
+ valueType: "alias"
11814
+ } },
11815
+ borderWidth: { rest: {
11816
+ type: "borderWidths",
11817
+ value: "thin",
11818
+ valueType: "alias"
11819
+ } },
11820
+ spacing: { rest: {
11821
+ type: "spacingAliases",
11822
+ value: "2",
11823
+ valueType: "alias"
11824
+ } }
11825
+ },
11826
+ "variant/primary/background": {
11827
+ backgroundColor: {
11828
+ hover: {
11829
+ type: "backgroundPaletteColors",
11830
+ value: "primary",
11831
+ valueType: "alias"
11832
+ },
11833
+ pressed: {
11834
+ type: "backgroundPaletteColors",
11835
+ value: "primary",
11836
+ valueType: "alias"
11837
+ },
11838
+ rest: {
11839
+ type: "backgroundPaletteColors",
11840
+ value: "primary",
11841
+ valueType: "alias"
11842
+ }
11843
+ },
11844
+ opacity: {
11845
+ hover: {
11846
+ type: "opacitySteps",
11847
+ value: "100",
11848
+ valueType: "alias"
11849
+ },
11850
+ pressed: {
11851
+ type: "opacitySteps",
11852
+ value: "100",
11853
+ valueType: "alias"
11854
+ },
11855
+ rest: {
11856
+ type: "opacitySteps",
11857
+ value: "100",
11858
+ valueType: "alias"
11859
+ }
11860
+ }
11861
+ },
11862
+ "variant/primary/icon": { color: {
11863
+ hover: {
11864
+ type: "foregroundPaletteColors",
11865
+ value: "primary",
11866
+ valueType: "alias"
11867
+ },
11868
+ pressed: {
11869
+ type: "foregroundPaletteColors",
11870
+ value: "primary",
11871
+ valueType: "alias"
11872
+ },
11873
+ rest: {
11874
+ type: "foregroundPaletteColors",
11875
+ value: "primary",
11876
+ valueType: "alias"
11877
+ }
11878
+ } },
11879
+ "variant/primary/root": {
11880
+ borderColor: {
11881
+ hover: {
11882
+ type: "linePaletteColors",
11883
+ value: "tertiary",
11884
+ valueType: "alias"
11885
+ },
11886
+ pressed: {
11887
+ type: "linePaletteColors",
11888
+ value: "tertiary",
11889
+ valueType: "alias"
11890
+ },
11891
+ rest: {
11892
+ type: "linePaletteColors",
11893
+ value: "tertiary",
11894
+ valueType: "alias"
11895
+ }
11896
+ },
11897
+ shadow: {
11898
+ hover: {
11899
+ type: "shadowVariants",
11900
+ value: "none",
11901
+ valueType: "alias"
11902
+ },
11903
+ pressed: {
11904
+ type: "shadowVariants",
11905
+ value: "none",
11906
+ valueType: "alias"
11907
+ },
11908
+ rest: {
11909
+ type: "shadowVariants",
11910
+ value: "none",
11911
+ valueType: "alias"
11912
+ }
11913
+ }
11914
+ },
11915
+ "variant/secondary/background": {
11916
+ backgroundColor: {
11917
+ hover: {
11918
+ type: "spectrumColors",
11919
+ value: "carbon-1",
11920
+ valueType: "alias"
11921
+ },
11922
+ pressed: {
11923
+ type: "spectrumColors",
11924
+ value: "carbon-1",
11925
+ valueType: "alias"
11926
+ },
11927
+ rest: {
11928
+ type: "spectrumColors",
11929
+ value: "carbon-1",
11930
+ valueType: "alias"
11931
+ }
11932
+ },
11933
+ opacity: {
11934
+ hover: {
11935
+ type: "opacitySteps",
11936
+ value: "100",
11937
+ valueType: "alias"
11938
+ },
11939
+ pressed: {
11940
+ type: "opacitySteps",
11941
+ value: "100",
11942
+ valueType: "alias"
11943
+ },
11944
+ rest: {
11945
+ type: "opacitySteps",
11946
+ value: "100",
11947
+ valueType: "alias"
11948
+ }
11949
+ }
11950
+ },
11951
+ "variant/secondary/icon": { color: {
11952
+ hover: {
11953
+ type: "foregroundPaletteColors",
11954
+ value: "primary",
11955
+ valueType: "alias"
11956
+ },
11957
+ pressed: {
11958
+ type: "foregroundPaletteColors",
11959
+ value: "primary",
11960
+ valueType: "alias"
11961
+ },
11962
+ rest: {
11963
+ type: "foregroundPaletteColors",
11964
+ value: "primary",
11965
+ valueType: "alias"
11966
+ }
11967
+ } },
11968
+ "variant/secondary/root": {
11969
+ borderColor: {
11970
+ hover: {
11971
+ type: "linePaletteColors",
11972
+ value: "tertiary",
11973
+ valueType: "alias"
11974
+ },
11975
+ pressed: {
11976
+ type: "linePaletteColors",
11977
+ value: "tertiary",
11978
+ valueType: "alias"
11979
+ },
11980
+ rest: {
11981
+ type: "linePaletteColors",
11982
+ value: "tertiary",
11983
+ valueType: "alias"
11984
+ }
11985
+ },
11986
+ shadow: {
11987
+ hover: {
11988
+ type: "shadowVariants",
11989
+ value: "none",
11990
+ valueType: "alias"
11991
+ },
11992
+ pressed: {
11993
+ type: "shadowVariants",
11994
+ value: "none",
11995
+ valueType: "alias"
11996
+ },
11997
+ rest: {
11998
+ type: "shadowVariants",
11999
+ value: "none",
12000
+ valueType: "alias"
12001
+ }
12002
+ }
12003
+ },
12004
+ "variant/tertiary/background": {
12005
+ backgroundColor: {
12006
+ hover: {
12007
+ type: "backgroundPaletteColors",
12008
+ value: "primary",
12009
+ valueType: "alias"
12010
+ },
12011
+ pressed: {
12012
+ type: "backgroundPaletteColors",
12013
+ value: "primary",
12014
+ valueType: "alias"
12015
+ },
12016
+ rest: {
12017
+ type: "backgroundPaletteColors",
12018
+ value: "primary",
12019
+ valueType: "alias"
12020
+ }
12021
+ },
12022
+ opacity: {
12023
+ hover: {
12024
+ type: "opacitySteps",
12025
+ value: "30",
12026
+ valueType: "alias"
12027
+ },
12028
+ pressed: {
12029
+ type: "opacitySteps",
12030
+ value: "30",
12031
+ valueType: "alias"
12032
+ },
12033
+ rest: {
12034
+ type: "opacitySteps",
12035
+ value: "30",
12036
+ valueType: "alias"
12037
+ }
12038
+ }
12039
+ },
12040
+ "variant/tertiary/icon": { color: {
12041
+ hover: {
12042
+ type: "foregroundPaletteColors",
12043
+ value: "primary",
12044
+ valueType: "alias"
12045
+ },
12046
+ pressed: {
12047
+ type: "foregroundPaletteColors",
12048
+ value: "primary",
12049
+ valueType: "alias"
12050
+ },
12051
+ rest: {
12052
+ type: "foregroundPaletteColors",
12053
+ value: "primary",
12054
+ valueType: "alias"
12055
+ }
12056
+ } },
12057
+ "variant/tertiary/root": {
12058
+ borderColor: {
12059
+ hover: {
12060
+ type: "alwaysPaletteAliases",
12061
+ value: "always/transparent",
12062
+ valueType: "alias"
12063
+ },
12064
+ pressed: {
12065
+ type: "alwaysPaletteAliases",
12066
+ value: "always/transparent",
12067
+ valueType: "alias"
12068
+ },
12069
+ rest: {
12070
+ type: "alwaysPaletteAliases",
12071
+ value: "always/transparent",
12072
+ valueType: "alias"
12073
+ }
12074
+ },
12075
+ shadow: {
12076
+ hover: {
12077
+ type: "shadowVariants",
12078
+ value: "none",
12079
+ valueType: "alias"
12080
+ },
12081
+ pressed: {
12082
+ type: "shadowVariants",
12083
+ value: "none",
12084
+ valueType: "alias"
12085
+ },
12086
+ rest: {
12087
+ type: "shadowVariants",
12088
+ value: "none",
12089
+ valueType: "alias"
12090
+ }
12091
+ }
12092
+ }
12093
+ }
12094
+ },
11710
12095
  popover: {
11711
12096
  defaults: {
11712
12097
  size: "default",
@@ -4,15 +4,18 @@ const require_variantConfigGuards = require("./variantConfigGuards.cjs");
4
4
  const require_util = require("../../../fixtures/src/util.cjs");
5
5
  //#region ../automated-config/dist/utils/buildConfigSchema.js
6
6
  /*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
7
- /** Resolves the fixture type for a property's variant by finding which value set contains the default value */
8
- function findFixtureType(property, variantKey) {
9
- const defaultValue = property.defaults[variantKey];
10
- const index = property.values.findIndex((arr) => arr.includes(defaultValue));
7
+ /** Resolves the fixture type by finding which value set contains the given value */
8
+ function findFixtureTypeForValue(property, value) {
9
+ const index = property.values.findIndex((arr) => arr.includes(value));
11
10
  const fixtureType = property.typeOfFixture[index === -1 ? 0 : index];
12
11
  const arbitraryFixture = require_util.getArbitraryFixture(fixtureType);
13
- if (arbitraryFixture && !require_util.validateArbitraryValue(arbitraryFixture, defaultValue)) throw new Error(`Invalid default value "${defaultValue}" for property "${property.name}" (variant "${variantKey}"): does not satisfy ${fixtureType} constraints`);
12
+ if (arbitraryFixture && !require_util.validateArbitraryValue(arbitraryFixture, value)) throw new Error(`Invalid value "${value}" for property "${property.name}": does not satisfy ${fixtureType} constraints`);
14
13
  return fixtureType;
15
14
  }
15
+ /** Resolves the fixture type for a property's variant by finding which value set contains the default value */
16
+ function findFixtureType(property, variantKey) {
17
+ return findFixtureTypeForValue(property, property.defaults[variantKey]);
18
+ }
16
19
  /** Builds component schema from ComponentConfig at runtime */
17
20
  function buildConfigSchema(config) {
18
21
  const result = {};
@@ -165,3 +168,4 @@ function buildConfigSchema(config) {
165
168
  //#endregion
166
169
  exports.buildConfigSchema = buildConfigSchema;
167
170
  exports.findFixtureType = findFixtureType;
171
+ exports.findFixtureTypeForValue = findFixtureTypeForValue;
@@ -37,9 +37,11 @@ type ComponentSchema<C extends ComponentConfig> = SimplifyDeep<WritableDeep<{
37
37
  defaults: InferredDefaults<C>;
38
38
  variables: InferredVariables<C>;
39
39
  }>>;
40
+ /** Resolves the fixture type by finding which value set contains the given value */
41
+ declare function findFixtureTypeForValue(property: SelectedConfigurableProperty<ConfigurablePropertiesName, string>, value: string | number): AllPossibleProperties;
40
42
  /** Resolves the fixture type for a property's variant by finding which value set contains the default value */
41
43
  declare function findFixtureType(property: SelectedConfigurableProperty<ConfigurablePropertiesName, string>, variantKey: string): AllPossibleProperties;
42
44
  /** Builds component schema from ComponentConfig at runtime */
43
45
  declare function buildConfigSchema<C extends ComponentConfig>(config: C): ComponentSchema<C>; //#endregion
44
46
  //#endregion
45
- export { type ComponentSchema, buildConfigSchema, findFixtureType };
47
+ export { type ComponentSchema, buildConfigSchema, findFixtureType, findFixtureTypeForValue };
@@ -37,9 +37,11 @@ type ComponentSchema<C extends ComponentConfig> = SimplifyDeep<WritableDeep<{
37
37
  defaults: InferredDefaults<C>;
38
38
  variables: InferredVariables<C>;
39
39
  }>>;
40
+ /** Resolves the fixture type by finding which value set contains the given value */
41
+ declare function findFixtureTypeForValue(property: SelectedConfigurableProperty<ConfigurablePropertiesName, string>, value: string | number): AllPossibleProperties;
40
42
  /** Resolves the fixture type for a property's variant by finding which value set contains the default value */
41
43
  declare function findFixtureType(property: SelectedConfigurableProperty<ConfigurablePropertiesName, string>, variantKey: string): AllPossibleProperties;
42
44
  /** Builds component schema from ComponentConfig at runtime */
43
45
  declare function buildConfigSchema<C extends ComponentConfig>(config: C): ComponentSchema<C>; //#endregion
44
46
  //#endregion
45
- export { type ComponentSchema, buildConfigSchema, findFixtureType };
47
+ export { type ComponentSchema, buildConfigSchema, findFixtureType, findFixtureTypeForValue };
@@ -4,15 +4,18 @@ import { isVariantConfigWithComponentStates, isVariantConfigWithProperties } fro
4
4
  import { getArbitraryFixture, validateArbitraryValue } from "../../../fixtures/src/util.js";
5
5
  //#region ../automated-config/dist/utils/buildConfigSchema.js
6
6
  /*! © 2026 Yahoo, Inc. UDS Default Config v0.0.0-development */
7
- /** Resolves the fixture type for a property's variant by finding which value set contains the default value */
8
- function findFixtureType(property, variantKey) {
9
- const defaultValue = property.defaults[variantKey];
10
- const index = property.values.findIndex((arr) => arr.includes(defaultValue));
7
+ /** Resolves the fixture type by finding which value set contains the given value */
8
+ function findFixtureTypeForValue(property, value) {
9
+ const index = property.values.findIndex((arr) => arr.includes(value));
11
10
  const fixtureType = property.typeOfFixture[index === -1 ? 0 : index];
12
11
  const arbitraryFixture = getArbitraryFixture(fixtureType);
13
- if (arbitraryFixture && !validateArbitraryValue(arbitraryFixture, defaultValue)) throw new Error(`Invalid default value "${defaultValue}" for property "${property.name}" (variant "${variantKey}"): does not satisfy ${fixtureType} constraints`);
12
+ if (arbitraryFixture && !validateArbitraryValue(arbitraryFixture, value)) throw new Error(`Invalid value "${value}" for property "${property.name}": does not satisfy ${fixtureType} constraints`);
14
13
  return fixtureType;
15
14
  }
15
+ /** Resolves the fixture type for a property's variant by finding which value set contains the default value */
16
+ function findFixtureType(property, variantKey) {
17
+ return findFixtureTypeForValue(property, property.defaults[variantKey]);
18
+ }
16
19
  /** Builds component schema from ComponentConfig at runtime */
17
20
  function buildConfigSchema(config) {
18
21
  const result = {};
@@ -163,4 +166,4 @@ function buildConfigSchema(config) {
163
166
  return result;
164
167
  }
165
168
  //#endregion
166
- export { buildConfigSchema, findFixtureType };
169
+ export { buildConfigSchema, findFixtureType, findFixtureTypeForValue };
@@ -2,10 +2,10 @@
2
2
  require("../../../_virtual/_rolldown/runtime.cjs");
3
3
  const require_index = require("../../../css-tokens/dist/index.cjs");
4
4
  const require_properties = require("../properties.cjs");
5
- const require_generateDefaultClassName = require("./generateDefaultClassName.cjs");
6
5
  const require_generateSchemaKey = require("./generateSchemaKey.cjs");
7
6
  const require_variantConfigGuards = require("./variantConfigGuards.cjs");
8
- require("./buildConfigSchema.cjs");
7
+ const require_buildConfigSchema = require("./buildConfigSchema.cjs");
8
+ const require_generateDefaultClassName = require("./generateDefaultClassName.cjs");
9
9
  require("./cartesianProduct.cjs");
10
10
  require("./subcomponents.cjs");
11
11
  require("./coalesceConfigVariant.cjs");
@@ -21,7 +21,10 @@ let lodash_es = require("lodash-es");
21
21
  const CSS_GAP = "gap";
22
22
  const CSS_LINE_HEIGHT = "line-height";
23
23
  const CSS_BORDER_WIDTH = "border-width";
24
+ const CSS_BORDER_RADIUS = "border-radius";
24
25
  const CSS_BORDER_COLOR = "border-color";
26
+ const NESTED_BORDER_RADIUS_SIZE_VAR = "--uds-nested-border-radius-size";
27
+ const NESTED_BORDER_RADIUS_WIDTH_VAR = "--uds-nested-border-radius-width";
25
28
  const CSS_BOX_SHADOW = "box-shadow";
26
29
  const CSS_BORDER_TOP_WIDTH = "border-top-width";
27
30
  const CSS_BORDER_RIGHT_WIDTH = "border-right-width";
@@ -177,7 +180,7 @@ const getTheCssPropertyValue = (schema, theme, propertyName, schemaStateValue, e
177
180
  if (propertyConfig.customValueRenderer) newValue = propertyConfig.customValueRenderer(schemaStateValue, schema, theme, originalPropertyDefinition);
178
181
  else {
179
182
  const safeTwThemePath = propertyConfig.twThemePath;
180
- newValue = theme(safeTwThemePath(type, String(value)));
183
+ newValue = theme(safeTwThemePath(originalPropertyDefinition ? require_buildConfigSchema.findFixtureTypeForValue(originalPropertyDefinition, value) : type, String(value)));
181
184
  }
182
185
  if (propertyConfig.concatenate && existingValue) return `${existingValue}${propertyConfig.concatenationDelimiter || ", "}${newValue}`;
183
186
  return newValue;
@@ -203,7 +206,11 @@ function generateDeclaration({ componentName, subComponentName, variantKey, vari
203
206
  const propertyStateMap = schema.variables?.[schemaKey]?.[propertyKey];
204
207
  if (!propertyStateMap) throw new Error(`Prop definition (${componentName} - ${schemaKey} - ${propertyKey}) not found, this is not expected, please report the bug to the UDS team`);
205
208
  const styles = {};
209
+ const skipRestForProperty = originalPropertyDefinition.skipRestState === true;
210
+ const declaredPseudoStates = originalPropertyDefinition.pseudoStates ?? [];
211
+ const declaredPropertyStates = new Set([...skipRestForProperty ? [] : ["rest"], ...declaredPseudoStates]);
206
212
  for (const propStateStr in propertyStateMap) {
213
+ if (!declaredPropertyStates.has(propStateStr)) continue;
207
214
  const propertyState = propStateStr;
208
215
  const propertyStateSelector = statePseudoMap[propertyState] ?? "";
209
216
  const schemaValueForState = propertyStateMap[propertyState];
@@ -312,6 +319,10 @@ function generateDeclaration({ componentName, subComponentName, variantKey, vari
312
319
  });
313
320
  }
314
321
  }
322
+ if (componentName === "paddlenav" && layer === "root") {
323
+ if (propertyKey === "borderRadius" && cssDeclarations[CSS_BORDER_RADIUS]) cssDeclarations[NESTED_BORDER_RADIUS_SIZE_VAR] = cssDeclarations[CSS_BORDER_RADIUS];
324
+ if (propertyKey === "borderWidth" && cssDeclarations[CSS_BORDER_WIDTH]) cssDeclarations[NESTED_BORDER_RADIUS_WIDTH_VAR] = cssDeclarations[CSS_BORDER_WIDTH];
325
+ }
315
326
  if ((componentName === "tabs" || componentName === "tab") && layer === "root") {
316
327
  const schemaVariablesForKey = schema?.variables?.[schemaKey];
317
328
  if (propertyKey === "borderWidth" && schemaVariablesForKey?.underlineWidth) {
@@ -2,7 +2,7 @@
2
2
  import { ArbitraryFixtures, InferArbitraryType } from "../../../fixtures/dist/index.cjs";
3
3
  import { ComponentConfig, ComponentStateConfig, LayerConfig, PossibleStates, PossibleStatesWithRest, SubComponentConfig, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties } from "../types/ComponentConfig.cjs";
4
4
  import { ConfigurablePropertiesName, SelectedConfigurableProperty, configurableProperties } from "../properties.cjs";
5
- import { ComponentSchema, buildConfigSchema, findFixtureType } from "./buildConfigSchema.cjs";
5
+ import { ComponentSchema, buildConfigSchema, findFixtureType, findFixtureTypeForValue } from "./buildConfigSchema.cjs";
6
6
  import { cartesianProduct } from "./cartesianProduct.cjs";
7
7
  import { coalesceConfigVariant } from "./coalesceConfigVariant.cjs";
8
8
  import { getConfigDefaultValue, isConfigDefaultValue } from "./defaults.cjs";
@@ -2,7 +2,7 @@
2
2
  import { ArbitraryFixtures, InferArbitraryType } from "../../../fixtures/dist/index.js";
3
3
  import { ComponentConfig, ComponentStateConfig, LayerConfig, PossibleStates, PossibleStatesWithRest, SubComponentConfig, VariantConfig, VariantConfigWithComponentStates, VariantConfigWithProperties } from "../types/ComponentConfig.js";
4
4
  import { ConfigurablePropertiesName, SelectedConfigurableProperty, configurableProperties } from "../properties.js";
5
- import { ComponentSchema, buildConfigSchema, findFixtureType } from "./buildConfigSchema.js";
5
+ import { ComponentSchema, buildConfigSchema, findFixtureType, findFixtureTypeForValue } from "./buildConfigSchema.js";
6
6
  import { cartesianProduct } from "./cartesianProduct.js";
7
7
  import { coalesceConfigVariant } from "./coalesceConfigVariant.js";
8
8
  import { getConfigDefaultValue, isConfigDefaultValue } from "./defaults.js";
@@ -1,10 +1,10 @@
1
1
  /*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
2
2
  import { BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST } from "../../../css-tokens/dist/index.js";
3
3
  import { configurableProperties } from "../properties.js";
4
- import { generateDefaultClassName } from "./generateDefaultClassName.js";
5
4
  import { generateSchemaKey } from "./generateSchemaKey.js";
6
5
  import { isVariantConfigWithComponentStates, isVariantConfigWithProperties } from "./variantConfigGuards.js";
7
- import "./buildConfigSchema.js";
6
+ import { findFixtureTypeForValue } from "./buildConfigSchema.js";
7
+ import { generateDefaultClassName } from "./generateDefaultClassName.js";
8
8
  import "./cartesianProduct.js";
9
9
  import "./subcomponents.js";
10
10
  import "./coalesceConfigVariant.js";
@@ -20,7 +20,10 @@ import { isFunction, mergeWith } from "lodash-es";
20
20
  const CSS_GAP = "gap";
21
21
  const CSS_LINE_HEIGHT = "line-height";
22
22
  const CSS_BORDER_WIDTH = "border-width";
23
+ const CSS_BORDER_RADIUS = "border-radius";
23
24
  const CSS_BORDER_COLOR = "border-color";
25
+ const NESTED_BORDER_RADIUS_SIZE_VAR = "--uds-nested-border-radius-size";
26
+ const NESTED_BORDER_RADIUS_WIDTH_VAR = "--uds-nested-border-radius-width";
24
27
  const CSS_BOX_SHADOW = "box-shadow";
25
28
  const CSS_BORDER_TOP_WIDTH = "border-top-width";
26
29
  const CSS_BORDER_RIGHT_WIDTH = "border-right-width";
@@ -176,7 +179,7 @@ const getTheCssPropertyValue = (schema, theme, propertyName, schemaStateValue, e
176
179
  if (propertyConfig.customValueRenderer) newValue = propertyConfig.customValueRenderer(schemaStateValue, schema, theme, originalPropertyDefinition);
177
180
  else {
178
181
  const safeTwThemePath = propertyConfig.twThemePath;
179
- newValue = theme(safeTwThemePath(type, String(value)));
182
+ newValue = theme(safeTwThemePath(originalPropertyDefinition ? findFixtureTypeForValue(originalPropertyDefinition, value) : type, String(value)));
180
183
  }
181
184
  if (propertyConfig.concatenate && existingValue) return `${existingValue}${propertyConfig.concatenationDelimiter || ", "}${newValue}`;
182
185
  return newValue;
@@ -202,7 +205,11 @@ function generateDeclaration({ componentName, subComponentName, variantKey, vari
202
205
  const propertyStateMap = schema.variables?.[schemaKey]?.[propertyKey];
203
206
  if (!propertyStateMap) throw new Error(`Prop definition (${componentName} - ${schemaKey} - ${propertyKey}) not found, this is not expected, please report the bug to the UDS team`);
204
207
  const styles = {};
208
+ const skipRestForProperty = originalPropertyDefinition.skipRestState === true;
209
+ const declaredPseudoStates = originalPropertyDefinition.pseudoStates ?? [];
210
+ const declaredPropertyStates = new Set([...skipRestForProperty ? [] : ["rest"], ...declaredPseudoStates]);
205
211
  for (const propStateStr in propertyStateMap) {
212
+ if (!declaredPropertyStates.has(propStateStr)) continue;
206
213
  const propertyState = propStateStr;
207
214
  const propertyStateSelector = statePseudoMap[propertyState] ?? "";
208
215
  const schemaValueForState = propertyStateMap[propertyState];
@@ -311,6 +318,10 @@ function generateDeclaration({ componentName, subComponentName, variantKey, vari
311
318
  });
312
319
  }
313
320
  }
321
+ if (componentName === "paddlenav" && layer === "root") {
322
+ if (propertyKey === "borderRadius" && cssDeclarations[CSS_BORDER_RADIUS]) cssDeclarations[NESTED_BORDER_RADIUS_SIZE_VAR] = cssDeclarations[CSS_BORDER_RADIUS];
323
+ if (propertyKey === "borderWidth" && cssDeclarations[CSS_BORDER_WIDTH]) cssDeclarations[NESTED_BORDER_RADIUS_WIDTH_VAR] = cssDeclarations[CSS_BORDER_WIDTH];
324
+ }
314
325
  if ((componentName === "tabs" || componentName === "tab") && layer === "root") {
315
326
  const schemaVariablesForKey = schema?.variables?.[schemaKey];
316
327
  if (propertyKey === "borderWidth" && schemaVariablesForKey?.underlineWidth) {
@@ -13,8 +13,12 @@ let node_path = require("node:path");
13
13
  node_path = require_runtime.__toESM(node_path, 1);
14
14
  let node_url = require("node:url");
15
15
  //#region src/cli/runner.ts
16
+ const loadComponentData = async () => {
17
+ const { default: componentData } = await import("../../generated/componentData.json", { with: { type: "json" } });
18
+ return componentData;
19
+ };
16
20
  const getPurgeContext = async () => {
17
- const componentData = await Promise.resolve().then(() => require("../uds/generated/componentData.cjs"));
21
+ const componentData = await loadComponentData();
18
22
  return {
19
23
  variants: require_styles_variants.variants,
20
24
  packageJson: require_package.default,
@@ -31,7 +35,7 @@ const purgeCommand = {
31
35
  }
32
36
  };
33
37
  const cssCommand = require_css.makeCSSCommand(async () => {
34
- const componentData = await Promise.resolve().then(() => require("../uds/generated/componentData.cjs"));
38
+ const componentData = await loadComponentData();
35
39
  return {
36
40
  variants: require_styles_variants.variants,
37
41
  autoVariants: (await Promise.resolve().then(() => require("../automated-config/dist/generated/autoVariants.cjs"))).autoVariants,
@@ -11,8 +11,12 @@ import { versionCommand } from "./commands/version.js";
11
11
  import path from "node:path";
12
12
  import { pathToFileURL } from "node:url";
13
13
  //#region src/cli/runner.ts
14
+ const loadComponentData = async () => {
15
+ const { default: componentData } = await import("../../generated/componentData.json", { with: { type: "json" } });
16
+ return componentData;
17
+ };
14
18
  const getPurgeContext = async () => {
15
- const componentData = await import("../uds/generated/componentData.js");
19
+ const componentData = await loadComponentData();
16
20
  return {
17
21
  variants,
18
22
  packageJson: package_default,
@@ -29,7 +33,7 @@ const purgeCommand = {
29
33
  }
30
34
  };
31
35
  const cssCommand = makeCSSCommand(async () => {
32
- const componentData = await import("../uds/generated/componentData.js");
36
+ const componentData = await loadComponentData();
33
37
  return {
34
38
  variants,
35
39
  autoVariants: (await import("../automated-config/dist/generated/autoVariants.js")).autoVariants,
@@ -5,6 +5,7 @@ const require_styles_styler = require("../../styles/styler.cjs");
5
5
  const require_components_client_Pressable = require("../client/Pressable.cjs");
6
6
  const require_components_IconSlot = require("../IconSlot.cjs");
7
7
  const require_components_Text = require("../Text.cjs");
8
+ const require_utils_hasDisplayName = require("../../utils/hasDisplayName.cjs");
8
9
  const require_components_Banner_utils = require("./utils.cjs");
9
10
  let _yahoo_uds_icons = require("@yahoo/uds-icons");
10
11
  let react = require("react");
@@ -21,7 +22,7 @@ function bindActionVariants(actions, bannerVariant) {
21
22
  const primaryVariant = require_components_Banner_utils.BANNER_TO_BUTTON_VARIANT[bannerVariant];
22
23
  const unsetIndices = [];
23
24
  actions.forEach((child, i) => {
24
- if (require_components_Banner_utils.hasDisplayName(child, "Button") && (0, react.isValidElement)(child) && child.props.variant === void 0) unsetIndices.push(i);
25
+ if (require_utils_hasDisplayName.hasDisplayName(child, "Button") && (0, react.isValidElement)(child) && child.props.variant === void 0) unsetIndices.push(i);
25
26
  });
26
27
  return actions.map((child, i) => {
27
28
  if (!unsetIndices.includes(i)) return child;