@yahoo/uds 3.117.6 → 3.118.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/automated-config/dist/generated/autoVariants.cjs +1 -0
- package/dist/automated-config/dist/generated/autoVariants.d.cts +1 -0
- package/dist/automated-config/dist/generated/autoVariants.d.ts +1 -0
- package/dist/automated-config/dist/generated/autoVariants.js +1 -0
- package/dist/automated-config/dist/generated/generatedConfigs.cjs +370 -1
- package/dist/automated-config/dist/generated/generatedConfigs.d.cts +16 -2
- package/dist/automated-config/dist/generated/generatedConfigs.d.ts +16 -2
- package/dist/automated-config/dist/generated/generatedConfigs.js +370 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +5 -0
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.js +5 -0
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.cts +2 -2
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.ts +2 -2
- package/dist/components/client/BottomSheet/BottomSheet.cjs +2 -1
- package/dist/components/client/BottomSheet/BottomSheet.js +2 -1
- package/dist/components/client/BottomSheet/BottomSheetHandle.cjs +3 -2
- package/dist/components/client/BottomSheet/BottomSheetHandle.d.cts +4 -1
- package/dist/components/client/BottomSheet/BottomSheetHandle.d.ts +4 -1
- package/dist/components/client/BottomSheet/BottomSheetHandle.js +4 -3
- package/dist/components/client/Toast/UDSToastConfigProvider.d.cts +1 -1
- package/dist/components/client/Toast/UDSToastConfigProvider.d.ts +1 -1
- package/dist/config/dist/index.cjs +7 -2
- package/dist/config/dist/index.js +7 -2
- package/dist/styles/styler.d.cts +10 -9
- package/dist/styles/styler.d.ts +10 -9
- package/dist/styles/variants.d.cts +3 -0
- package/dist/styles/variants.d.ts +3 -0
- package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.cjs +1 -0
- package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.js +1 -0
- package/dist/tailwind/dist/automated-config/dist/generated/autoVariants.js.map +1 -1
- package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.cjs +370 -1
- package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.js +370 -1
- package/dist/tailwind/dist/automated-config/dist/generated/generatedConfigs.js.map +1 -1
- package/dist/tailwind/dist/config/dist/index.cjs +7 -2
- package/dist/tailwind/dist/config/dist/index.js +7 -2
- package/dist/tailwind/dist/config/dist/index.js.map +1 -1
- package/dist/uds/generated/componentData.cjs +1209 -1210
- package/dist/uds/generated/componentData.js +1209 -1210
- package/dist/uds/generated/tailwindPurge.cjs +7 -6
- package/dist/uds/generated/tailwindPurge.js +7 -6
- package/generated/componentData.json +1685 -1680
- package/generated/tailwindPurge.ts +2 -2
- package/package.json +1 -1
|
@@ -4749,6 +4749,366 @@ const BottomSheetConfig = {
|
|
|
4749
4749
|
description: "Bottom sheet styling.",
|
|
4750
4750
|
label: "Variant",
|
|
4751
4751
|
layers: {
|
|
4752
|
+
handleIndicator: {
|
|
4753
|
+
label: "handle indicator",
|
|
4754
|
+
properties: { backgroundColor: {
|
|
4755
|
+
defaults: { default: "accent" },
|
|
4756
|
+
label: "Handle indicator color",
|
|
4757
|
+
name: "backgroundColor",
|
|
4758
|
+
typeOfFixture: [
|
|
4759
|
+
"spectrumColors",
|
|
4760
|
+
"backgroundPaletteColors",
|
|
4761
|
+
"alwaysPaletteAliases"
|
|
4762
|
+
],
|
|
4763
|
+
values: [
|
|
4764
|
+
[
|
|
4765
|
+
"gray-0",
|
|
4766
|
+
"gray-1",
|
|
4767
|
+
"gray-2",
|
|
4768
|
+
"gray-3",
|
|
4769
|
+
"gray-4",
|
|
4770
|
+
"gray-5",
|
|
4771
|
+
"gray-6",
|
|
4772
|
+
"gray-7",
|
|
4773
|
+
"gray-8",
|
|
4774
|
+
"gray-9",
|
|
4775
|
+
"gray-10",
|
|
4776
|
+
"gray-11",
|
|
4777
|
+
"gray-12",
|
|
4778
|
+
"gray-13",
|
|
4779
|
+
"gray-14",
|
|
4780
|
+
"gray-15",
|
|
4781
|
+
"purple-0",
|
|
4782
|
+
"purple-1",
|
|
4783
|
+
"purple-2",
|
|
4784
|
+
"purple-3",
|
|
4785
|
+
"purple-4",
|
|
4786
|
+
"purple-5",
|
|
4787
|
+
"purple-6",
|
|
4788
|
+
"purple-7",
|
|
4789
|
+
"purple-8",
|
|
4790
|
+
"purple-9",
|
|
4791
|
+
"purple-10",
|
|
4792
|
+
"purple-11",
|
|
4793
|
+
"purple-12",
|
|
4794
|
+
"purple-13",
|
|
4795
|
+
"purple-14",
|
|
4796
|
+
"purple-15",
|
|
4797
|
+
"indigo-0",
|
|
4798
|
+
"indigo-1",
|
|
4799
|
+
"indigo-2",
|
|
4800
|
+
"indigo-3",
|
|
4801
|
+
"indigo-4",
|
|
4802
|
+
"indigo-5",
|
|
4803
|
+
"indigo-6",
|
|
4804
|
+
"indigo-7",
|
|
4805
|
+
"indigo-8",
|
|
4806
|
+
"indigo-9",
|
|
4807
|
+
"indigo-10",
|
|
4808
|
+
"indigo-11",
|
|
4809
|
+
"indigo-12",
|
|
4810
|
+
"indigo-13",
|
|
4811
|
+
"indigo-14",
|
|
4812
|
+
"indigo-15",
|
|
4813
|
+
"blue-0",
|
|
4814
|
+
"blue-1",
|
|
4815
|
+
"blue-2",
|
|
4816
|
+
"blue-3",
|
|
4817
|
+
"blue-4",
|
|
4818
|
+
"blue-5",
|
|
4819
|
+
"blue-6",
|
|
4820
|
+
"blue-7",
|
|
4821
|
+
"blue-8",
|
|
4822
|
+
"blue-9",
|
|
4823
|
+
"blue-10",
|
|
4824
|
+
"blue-11",
|
|
4825
|
+
"blue-12",
|
|
4826
|
+
"blue-13",
|
|
4827
|
+
"blue-14",
|
|
4828
|
+
"blue-15",
|
|
4829
|
+
"cyan-0",
|
|
4830
|
+
"cyan-1",
|
|
4831
|
+
"cyan-2",
|
|
4832
|
+
"cyan-3",
|
|
4833
|
+
"cyan-4",
|
|
4834
|
+
"cyan-5",
|
|
4835
|
+
"cyan-6",
|
|
4836
|
+
"cyan-7",
|
|
4837
|
+
"cyan-8",
|
|
4838
|
+
"cyan-9",
|
|
4839
|
+
"cyan-10",
|
|
4840
|
+
"cyan-11",
|
|
4841
|
+
"cyan-12",
|
|
4842
|
+
"cyan-13",
|
|
4843
|
+
"cyan-14",
|
|
4844
|
+
"cyan-15",
|
|
4845
|
+
"teal-0",
|
|
4846
|
+
"teal-1",
|
|
4847
|
+
"teal-2",
|
|
4848
|
+
"teal-3",
|
|
4849
|
+
"teal-4",
|
|
4850
|
+
"teal-5",
|
|
4851
|
+
"teal-6",
|
|
4852
|
+
"teal-7",
|
|
4853
|
+
"teal-8",
|
|
4854
|
+
"teal-9",
|
|
4855
|
+
"teal-10",
|
|
4856
|
+
"teal-11",
|
|
4857
|
+
"teal-12",
|
|
4858
|
+
"teal-13",
|
|
4859
|
+
"teal-14",
|
|
4860
|
+
"teal-15",
|
|
4861
|
+
"mint-0",
|
|
4862
|
+
"mint-1",
|
|
4863
|
+
"mint-2",
|
|
4864
|
+
"mint-3",
|
|
4865
|
+
"mint-4",
|
|
4866
|
+
"mint-5",
|
|
4867
|
+
"mint-6",
|
|
4868
|
+
"mint-7",
|
|
4869
|
+
"mint-8",
|
|
4870
|
+
"mint-9",
|
|
4871
|
+
"mint-10",
|
|
4872
|
+
"mint-11",
|
|
4873
|
+
"mint-12",
|
|
4874
|
+
"mint-13",
|
|
4875
|
+
"mint-14",
|
|
4876
|
+
"mint-15",
|
|
4877
|
+
"green-0",
|
|
4878
|
+
"green-1",
|
|
4879
|
+
"green-2",
|
|
4880
|
+
"green-3",
|
|
4881
|
+
"green-4",
|
|
4882
|
+
"green-5",
|
|
4883
|
+
"green-6",
|
|
4884
|
+
"green-7",
|
|
4885
|
+
"green-8",
|
|
4886
|
+
"green-9",
|
|
4887
|
+
"green-10",
|
|
4888
|
+
"green-11",
|
|
4889
|
+
"green-12",
|
|
4890
|
+
"green-13",
|
|
4891
|
+
"green-14",
|
|
4892
|
+
"green-15",
|
|
4893
|
+
"lime-0",
|
|
4894
|
+
"lime-1",
|
|
4895
|
+
"lime-2",
|
|
4896
|
+
"lime-3",
|
|
4897
|
+
"lime-4",
|
|
4898
|
+
"lime-5",
|
|
4899
|
+
"lime-6",
|
|
4900
|
+
"lime-7",
|
|
4901
|
+
"lime-8",
|
|
4902
|
+
"lime-9",
|
|
4903
|
+
"lime-10",
|
|
4904
|
+
"lime-11",
|
|
4905
|
+
"lime-12",
|
|
4906
|
+
"lime-13",
|
|
4907
|
+
"lime-14",
|
|
4908
|
+
"lime-15",
|
|
4909
|
+
"citron-0",
|
|
4910
|
+
"citron-1",
|
|
4911
|
+
"citron-2",
|
|
4912
|
+
"citron-3",
|
|
4913
|
+
"citron-4",
|
|
4914
|
+
"citron-5",
|
|
4915
|
+
"citron-6",
|
|
4916
|
+
"citron-7",
|
|
4917
|
+
"citron-8",
|
|
4918
|
+
"citron-9",
|
|
4919
|
+
"citron-10",
|
|
4920
|
+
"citron-11",
|
|
4921
|
+
"citron-12",
|
|
4922
|
+
"citron-13",
|
|
4923
|
+
"citron-14",
|
|
4924
|
+
"citron-15",
|
|
4925
|
+
"yellow-0",
|
|
4926
|
+
"yellow-1",
|
|
4927
|
+
"yellow-2",
|
|
4928
|
+
"yellow-3",
|
|
4929
|
+
"yellow-4",
|
|
4930
|
+
"yellow-5",
|
|
4931
|
+
"yellow-6",
|
|
4932
|
+
"yellow-7",
|
|
4933
|
+
"yellow-8",
|
|
4934
|
+
"yellow-9",
|
|
4935
|
+
"yellow-10",
|
|
4936
|
+
"yellow-11",
|
|
4937
|
+
"yellow-12",
|
|
4938
|
+
"yellow-13",
|
|
4939
|
+
"yellow-14",
|
|
4940
|
+
"yellow-15",
|
|
4941
|
+
"brown-0",
|
|
4942
|
+
"brown-1",
|
|
4943
|
+
"brown-2",
|
|
4944
|
+
"brown-3",
|
|
4945
|
+
"brown-4",
|
|
4946
|
+
"brown-5",
|
|
4947
|
+
"brown-6",
|
|
4948
|
+
"brown-7",
|
|
4949
|
+
"brown-8",
|
|
4950
|
+
"brown-9",
|
|
4951
|
+
"brown-10",
|
|
4952
|
+
"brown-11",
|
|
4953
|
+
"brown-12",
|
|
4954
|
+
"brown-13",
|
|
4955
|
+
"brown-14",
|
|
4956
|
+
"brown-15",
|
|
4957
|
+
"nude-0",
|
|
4958
|
+
"nude-1",
|
|
4959
|
+
"nude-2",
|
|
4960
|
+
"nude-3",
|
|
4961
|
+
"nude-4",
|
|
4962
|
+
"nude-5",
|
|
4963
|
+
"nude-6",
|
|
4964
|
+
"nude-7",
|
|
4965
|
+
"nude-8",
|
|
4966
|
+
"nude-9",
|
|
4967
|
+
"nude-10",
|
|
4968
|
+
"nude-11",
|
|
4969
|
+
"nude-12",
|
|
4970
|
+
"nude-13",
|
|
4971
|
+
"nude-14",
|
|
4972
|
+
"nude-15",
|
|
4973
|
+
"orange-0",
|
|
4974
|
+
"orange-1",
|
|
4975
|
+
"orange-2",
|
|
4976
|
+
"orange-3",
|
|
4977
|
+
"orange-4",
|
|
4978
|
+
"orange-5",
|
|
4979
|
+
"orange-6",
|
|
4980
|
+
"orange-7",
|
|
4981
|
+
"orange-8",
|
|
4982
|
+
"orange-9",
|
|
4983
|
+
"orange-10",
|
|
4984
|
+
"orange-11",
|
|
4985
|
+
"orange-12",
|
|
4986
|
+
"orange-13",
|
|
4987
|
+
"orange-14",
|
|
4988
|
+
"orange-15",
|
|
4989
|
+
"sunset-0",
|
|
4990
|
+
"sunset-1",
|
|
4991
|
+
"sunset-2",
|
|
4992
|
+
"sunset-3",
|
|
4993
|
+
"sunset-4",
|
|
4994
|
+
"sunset-5",
|
|
4995
|
+
"sunset-6",
|
|
4996
|
+
"sunset-7",
|
|
4997
|
+
"sunset-8",
|
|
4998
|
+
"sunset-9",
|
|
4999
|
+
"sunset-10",
|
|
5000
|
+
"sunset-11",
|
|
5001
|
+
"sunset-12",
|
|
5002
|
+
"sunset-13",
|
|
5003
|
+
"sunset-14",
|
|
5004
|
+
"sunset-15",
|
|
5005
|
+
"red-0",
|
|
5006
|
+
"red-1",
|
|
5007
|
+
"red-2",
|
|
5008
|
+
"red-3",
|
|
5009
|
+
"red-4",
|
|
5010
|
+
"red-5",
|
|
5011
|
+
"red-6",
|
|
5012
|
+
"red-7",
|
|
5013
|
+
"red-8",
|
|
5014
|
+
"red-9",
|
|
5015
|
+
"red-10",
|
|
5016
|
+
"red-11",
|
|
5017
|
+
"red-12",
|
|
5018
|
+
"red-13",
|
|
5019
|
+
"red-14",
|
|
5020
|
+
"red-15",
|
|
5021
|
+
"rose-0",
|
|
5022
|
+
"rose-1",
|
|
5023
|
+
"rose-2",
|
|
5024
|
+
"rose-3",
|
|
5025
|
+
"rose-4",
|
|
5026
|
+
"rose-5",
|
|
5027
|
+
"rose-6",
|
|
5028
|
+
"rose-7",
|
|
5029
|
+
"rose-8",
|
|
5030
|
+
"rose-9",
|
|
5031
|
+
"rose-10",
|
|
5032
|
+
"rose-11",
|
|
5033
|
+
"rose-12",
|
|
5034
|
+
"rose-13",
|
|
5035
|
+
"rose-14",
|
|
5036
|
+
"rose-15",
|
|
5037
|
+
"pink-0",
|
|
5038
|
+
"pink-1",
|
|
5039
|
+
"pink-2",
|
|
5040
|
+
"pink-3",
|
|
5041
|
+
"pink-4",
|
|
5042
|
+
"pink-5",
|
|
5043
|
+
"pink-6",
|
|
5044
|
+
"pink-7",
|
|
5045
|
+
"pink-8",
|
|
5046
|
+
"pink-9",
|
|
5047
|
+
"pink-10",
|
|
5048
|
+
"pink-11",
|
|
5049
|
+
"pink-12",
|
|
5050
|
+
"pink-13",
|
|
5051
|
+
"pink-14",
|
|
5052
|
+
"pink-15",
|
|
5053
|
+
"magenta-0",
|
|
5054
|
+
"magenta-1",
|
|
5055
|
+
"magenta-2",
|
|
5056
|
+
"magenta-3",
|
|
5057
|
+
"magenta-4",
|
|
5058
|
+
"magenta-5",
|
|
5059
|
+
"magenta-6",
|
|
5060
|
+
"magenta-7",
|
|
5061
|
+
"magenta-8",
|
|
5062
|
+
"magenta-9",
|
|
5063
|
+
"magenta-10",
|
|
5064
|
+
"magenta-11",
|
|
5065
|
+
"magenta-12",
|
|
5066
|
+
"magenta-13",
|
|
5067
|
+
"magenta-14",
|
|
5068
|
+
"magenta-15",
|
|
5069
|
+
"carbon-0",
|
|
5070
|
+
"carbon-1",
|
|
5071
|
+
"carbon-2",
|
|
5072
|
+
"carbon-3",
|
|
5073
|
+
"carbon-4",
|
|
5074
|
+
"carbon-5",
|
|
5075
|
+
"carbon-6",
|
|
5076
|
+
"carbon-7",
|
|
5077
|
+
"carbon-8",
|
|
5078
|
+
"carbon-9",
|
|
5079
|
+
"carbon-10",
|
|
5080
|
+
"carbon-11",
|
|
5081
|
+
"carbon-12",
|
|
5082
|
+
"carbon-13",
|
|
5083
|
+
"carbon-14",
|
|
5084
|
+
"carbon-15"
|
|
5085
|
+
],
|
|
5086
|
+
[
|
|
5087
|
+
"primary",
|
|
5088
|
+
"secondary",
|
|
5089
|
+
"accent",
|
|
5090
|
+
"brand",
|
|
5091
|
+
"alert",
|
|
5092
|
+
"positive",
|
|
5093
|
+
"warning",
|
|
5094
|
+
"info",
|
|
5095
|
+
"brand-secondary",
|
|
5096
|
+
"alert-secondary",
|
|
5097
|
+
"positive-secondary",
|
|
5098
|
+
"warning-secondary",
|
|
5099
|
+
"info-secondary"
|
|
5100
|
+
],
|
|
5101
|
+
[
|
|
5102
|
+
"always/white",
|
|
5103
|
+
"always/black",
|
|
5104
|
+
"always/transparent",
|
|
5105
|
+
"always/current",
|
|
5106
|
+
"always/brand",
|
|
5107
|
+
"always/accent"
|
|
5108
|
+
]
|
|
5109
|
+
]
|
|
5110
|
+
} }
|
|
5111
|
+
},
|
|
4752
5112
|
header: {
|
|
4753
5113
|
label: "header",
|
|
4754
5114
|
properties: {
|
|
@@ -5542,7 +5902,8 @@ const BottomSheetConfig = {
|
|
|
5542
5902
|
typeOfFixture: [
|
|
5543
5903
|
"spectrumColors",
|
|
5544
5904
|
"linePaletteColors",
|
|
5545
|
-
"alwaysPaletteAliases"
|
|
5905
|
+
"alwaysPaletteAliases",
|
|
5906
|
+
"elevationAliases"
|
|
5546
5907
|
],
|
|
5547
5908
|
values: [
|
|
5548
5909
|
[
|
|
@@ -5891,6 +6252,14 @@ const BottomSheetConfig = {
|
|
|
5891
6252
|
"always/current",
|
|
5892
6253
|
"always/brand",
|
|
5893
6254
|
"always/accent"
|
|
6255
|
+
],
|
|
6256
|
+
[
|
|
6257
|
+
"elevation-0",
|
|
6258
|
+
"elevation-1",
|
|
6259
|
+
"elevation-2",
|
|
6260
|
+
"elevation-3",
|
|
6261
|
+
"elevation-4",
|
|
6262
|
+
"elevation-5"
|
|
5894
6263
|
]
|
|
5895
6264
|
]
|
|
5896
6265
|
},
|
|
@@ -885,6 +885,11 @@ const defaultUniversalTokensConfigAuto = {
|
|
|
885
885
|
bottomSheet: {
|
|
886
886
|
defaults: { variant: "default" },
|
|
887
887
|
variables: {
|
|
888
|
+
"variant/default/handleIndicator": { backgroundColor: { rest: {
|
|
889
|
+
type: "backgroundPaletteColors",
|
|
890
|
+
value: "accent",
|
|
891
|
+
valueType: "alias"
|
|
892
|
+
} } },
|
|
888
893
|
"variant/default/header": {
|
|
889
894
|
color: { rest: {
|
|
890
895
|
type: "foregroundPaletteColors",
|
|
@@ -884,6 +884,11 @@ const defaultUniversalTokensConfigAuto = {
|
|
|
884
884
|
bottomSheet: {
|
|
885
885
|
defaults: { variant: "default" },
|
|
886
886
|
variables: {
|
|
887
|
+
"variant/default/handleIndicator": { backgroundColor: { rest: {
|
|
888
|
+
type: "backgroundPaletteColors",
|
|
889
|
+
value: "accent",
|
|
890
|
+
valueType: "alias"
|
|
891
|
+
} } },
|
|
887
892
|
"variant/default/header": {
|
|
888
893
|
color: { rest: {
|
|
889
894
|
type: "foregroundPaletteColors",
|
|
@@ -11,8 +11,8 @@ import { SelectedConfigurableProperty } from "../properties.cjs";
|
|
|
11
11
|
* @returns A Record of layer names to their properties, or null if no properties are found
|
|
12
12
|
*/
|
|
13
13
|
declare function getConfigVariantProperties(variant?: VariantConfig): {
|
|
14
|
-
[x: string]: Readonly<Record<string, SelectedConfigurableProperty<"
|
|
15
|
-
root: Readonly<Record<string, SelectedConfigurableProperty<"
|
|
14
|
+
[x: string]: Readonly<Record<string, SelectedConfigurableProperty<"textTransform" | "fontSize" | "fontWeight" | "lineHeight" | "fontFamily" | "letterSpacing" | "backgroundColor" | "borderWidth" | "strokeWidth" | "borderRadius" | "borderRadiusVar" | "borderColor" | "stroke" | "buttonSize" | "buttonVariant" | "fontVariationSettings" | "gap" | "color" | "opacity" | "fillOpacity" | "iconSize" | "spacing" | "iconVariant" | "horizontalMargin" | "bottomMargin" | "spacingHorizontal" | "spacingVertical" | "textVariant" | "textDecorationLine" | "shadow" | "shadowVar" | "insetShadow" | "height" | "width" | "scaleEffect" | "backdropBlur" | "blurBackgroundColor" | "blurBackgroundColorFallback" | "scrimBackgroundColor" | "scrimOpacity", string, readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases")[] | readonly ("elevationAliases" | "borderWidths" | "spacingAliases")[] | readonly "borderRadii"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "elevationAliases" | "linePaletteColors")[] | readonly "buttonSizes"[] | readonly "buttonVariantsFlat"[] | readonly "textVariants"[] | readonly "spacingAliases"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "foregroundPaletteColors")[] | readonly "opacitySteps"[] | readonly "iconSizes"[] | readonly "iconVariants"[] | readonly "textDecorationLines"[] | readonly ("elevationAliases" | "shadowVariants" | "shadowVariantConfig")[] | readonly ("shadowVariantConfig" | "shadowVariantsWithInvert")[] | readonly "scaleEffects"[] | readonly "positiveIntegers"[] | readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[], readonly (readonly unknown[])[]>>>;
|
|
15
|
+
root: Readonly<Record<string, SelectedConfigurableProperty<"textTransform" | "fontSize" | "fontWeight" | "lineHeight" | "fontFamily" | "letterSpacing" | "backgroundColor" | "borderWidth" | "strokeWidth" | "borderRadius" | "borderRadiusVar" | "borderColor" | "stroke" | "buttonSize" | "buttonVariant" | "fontVariationSettings" | "gap" | "color" | "opacity" | "fillOpacity" | "iconSize" | "spacing" | "iconVariant" | "horizontalMargin" | "bottomMargin" | "spacingHorizontal" | "spacingVertical" | "textVariant" | "textDecorationLine" | "shadow" | "shadowVar" | "insetShadow" | "height" | "width" | "scaleEffect" | "backdropBlur" | "blurBackgroundColor" | "blurBackgroundColorFallback" | "scrimBackgroundColor" | "scrimOpacity", string, readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases")[] | readonly ("elevationAliases" | "borderWidths" | "spacingAliases")[] | readonly "borderRadii"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "elevationAliases" | "linePaletteColors")[] | readonly "buttonSizes"[] | readonly "buttonVariantsFlat"[] | readonly "textVariants"[] | readonly "spacingAliases"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "foregroundPaletteColors")[] | readonly "opacitySteps"[] | readonly "iconSizes"[] | readonly "iconVariants"[] | readonly "textDecorationLines"[] | readonly ("elevationAliases" | "shadowVariants" | "shadowVariantConfig")[] | readonly ("shadowVariantConfig" | "shadowVariantsWithInvert")[] | readonly "scaleEffects"[] | readonly "positiveIntegers"[] | readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[], readonly (readonly unknown[])[]>>>;
|
|
16
16
|
} | null; //#endregion
|
|
17
17
|
//#endregion
|
|
18
18
|
export { getConfigVariantProperties };
|
|
@@ -11,8 +11,8 @@ import { SelectedConfigurableProperty } from "../properties.js";
|
|
|
11
11
|
* @returns A Record of layer names to their properties, or null if no properties are found
|
|
12
12
|
*/
|
|
13
13
|
declare function getConfigVariantProperties(variant?: VariantConfig): {
|
|
14
|
-
[x: string]: Readonly<Record<string, SelectedConfigurableProperty<"
|
|
15
|
-
root: Readonly<Record<string, SelectedConfigurableProperty<"
|
|
14
|
+
[x: string]: Readonly<Record<string, SelectedConfigurableProperty<"textTransform" | "fontSize" | "fontWeight" | "lineHeight" | "fontFamily" | "letterSpacing" | "backgroundColor" | "borderWidth" | "strokeWidth" | "borderRadius" | "borderRadiusVar" | "borderColor" | "stroke" | "buttonSize" | "buttonVariant" | "fontVariationSettings" | "gap" | "color" | "opacity" | "fillOpacity" | "iconSize" | "spacing" | "iconVariant" | "horizontalMargin" | "bottomMargin" | "spacingHorizontal" | "spacingVertical" | "textVariant" | "textDecorationLine" | "shadow" | "shadowVar" | "insetShadow" | "height" | "width" | "scaleEffect" | "backdropBlur" | "blurBackgroundColor" | "blurBackgroundColorFallback" | "scrimBackgroundColor" | "scrimOpacity", string, readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases")[] | readonly ("elevationAliases" | "borderWidths" | "spacingAliases")[] | readonly "borderRadii"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "elevationAliases" | "linePaletteColors")[] | readonly "buttonSizes"[] | readonly "buttonVariantsFlat"[] | readonly "textVariants"[] | readonly "spacingAliases"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "foregroundPaletteColors")[] | readonly "opacitySteps"[] | readonly "iconSizes"[] | readonly "iconVariants"[] | readonly "textDecorationLines"[] | readonly ("elevationAliases" | "shadowVariants" | "shadowVariantConfig")[] | readonly ("shadowVariantConfig" | "shadowVariantsWithInvert")[] | readonly "scaleEffects"[] | readonly "positiveIntegers"[] | readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[], readonly (readonly unknown[])[]>>>;
|
|
15
|
+
root: Readonly<Record<string, SelectedConfigurableProperty<"textTransform" | "fontSize" | "fontWeight" | "lineHeight" | "fontFamily" | "letterSpacing" | "backgroundColor" | "borderWidth" | "strokeWidth" | "borderRadius" | "borderRadiusVar" | "borderColor" | "stroke" | "buttonSize" | "buttonVariant" | "fontVariationSettings" | "gap" | "color" | "opacity" | "fillOpacity" | "iconSize" | "spacing" | "iconVariant" | "horizontalMargin" | "bottomMargin" | "spacingHorizontal" | "spacingVertical" | "textVariant" | "textDecorationLine" | "shadow" | "shadowVar" | "insetShadow" | "height" | "width" | "scaleEffect" | "backdropBlur" | "blurBackgroundColor" | "blurBackgroundColorFallback" | "scrimBackgroundColor" | "scrimOpacity", string, readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases" | "elevationAliases")[] | readonly ("elevationAliases" | "borderWidths" | "spacingAliases")[] | readonly "borderRadii"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "elevationAliases" | "linePaletteColors")[] | readonly "buttonSizes"[] | readonly "buttonVariantsFlat"[] | readonly "textVariants"[] | readonly "spacingAliases"[] | readonly ("spectrumColors" | "alwaysPaletteAliases" | "foregroundPaletteColors")[] | readonly "opacitySteps"[] | readonly "iconSizes"[] | readonly "iconVariants"[] | readonly "textDecorationLines"[] | readonly ("elevationAliases" | "shadowVariants" | "shadowVariantConfig")[] | readonly ("shadowVariantConfig" | "shadowVariantsWithInvert")[] | readonly "scaleEffects"[] | readonly "positiveIntegers"[] | readonly ("backgroundPaletteColors" | "spectrumColors" | "alwaysPaletteAliases")[], readonly (readonly unknown[])[]>>>;
|
|
16
16
|
} | null; //#endregion
|
|
17
17
|
//#endregion
|
|
18
18
|
export { getConfigVariantProperties };
|
|
@@ -219,7 +219,8 @@ function BottomSheet({ children, className: sheetClassName, controller: controll
|
|
|
219
219
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_client_BottomSheet_BottomSheetHandle.BottomSheetHandle, {
|
|
220
220
|
onKeyDown: handleHandleIndicatorKeyDown,
|
|
221
221
|
ariaLabel: "Resize sheet",
|
|
222
|
-
className: slotProps?.handleIndicator?.className
|
|
222
|
+
className: slotProps?.handleIndicator?.className,
|
|
223
|
+
variant
|
|
223
224
|
})
|
|
224
225
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_client_BottomSheet_BottomSheetInternalContext.BottomSheetInternalContext.Provider, {
|
|
225
226
|
value: internalContextValue,
|
|
@@ -217,7 +217,8 @@ function BottomSheet({ children, className: sheetClassName, controller: controll
|
|
|
217
217
|
children: /* @__PURE__ */ jsx(BottomSheetHandle, {
|
|
218
218
|
onKeyDown: handleHandleIndicatorKeyDown,
|
|
219
219
|
ariaLabel: "Resize sheet",
|
|
220
|
-
className: slotProps?.handleIndicator?.className
|
|
220
|
+
className: slotProps?.handleIndicator?.className,
|
|
221
|
+
variant
|
|
221
222
|
})
|
|
222
223
|
}), /* @__PURE__ */ jsx(BottomSheetInternalContext.Provider, {
|
|
223
224
|
value: internalContextValue,
|
|
@@ -7,7 +7,8 @@ const require_components_Box = require('../../Box.cjs');
|
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
|
|
9
9
|
//#region src/components/client/BottomSheet/BottomSheetHandle.tsx
|
|
10
|
-
function BottomSheetHandle({ className, onKeyDown, ariaLabel }) {
|
|
10
|
+
function BottomSheetHandle({ className, onKeyDown, ariaLabel, variant = "default" }) {
|
|
11
|
+
const handleIndicatorVariantClass = require_styles_styler.getStyles({ bottomsheetVariantHandleIndicator: variant });
|
|
11
12
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_Box.Box, {
|
|
12
13
|
display: "flex",
|
|
13
14
|
justifyContent: "center",
|
|
@@ -19,7 +20,7 @@ function BottomSheetHandle({ className, onKeyDown, ariaLabel }) {
|
|
|
19
20
|
className: require_styles_styler.cx("relative", "h-5 w-16", "outline-none focus-visible:outline-none", "[touch-action:pan-y]"),
|
|
20
21
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_Box.Box, {
|
|
21
22
|
display: "block",
|
|
22
|
-
className: require_styles_styler.cx("absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2", "h-1 w-8 rounded-full
|
|
23
|
+
className: require_styles_styler.cx("absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2", "h-1 w-8 rounded-full", handleIndicatorVariantClass)
|
|
23
24
|
})
|
|
24
25
|
})
|
|
25
26
|
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
|
|
2
|
+
import { BottomSheetVariant } from "../../../types/dist/index.cjs";
|
|
2
3
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
4
|
|
|
4
5
|
//#region src/components/client/BottomSheet/BottomSheetHandle.d.ts
|
|
@@ -6,11 +7,13 @@ interface BottomSheetHandleProps {
|
|
|
6
7
|
className?: string;
|
|
7
8
|
onKeyDown?: (event: React.KeyboardEvent) => void;
|
|
8
9
|
ariaLabel?: string;
|
|
10
|
+
variant?: BottomSheetVariant;
|
|
9
11
|
}
|
|
10
12
|
declare function BottomSheetHandle({
|
|
11
13
|
className,
|
|
12
14
|
onKeyDown,
|
|
13
|
-
ariaLabel
|
|
15
|
+
ariaLabel,
|
|
16
|
+
variant
|
|
14
17
|
}: BottomSheetHandleProps): react_jsx_runtime0.JSX.Element;
|
|
15
18
|
declare namespace BottomSheetHandle {
|
|
16
19
|
var displayName: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
|
|
2
|
+
import { BottomSheetVariant } from "../../../types/dist/index.js";
|
|
2
3
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
4
|
|
|
4
5
|
//#region src/components/client/BottomSheet/BottomSheetHandle.d.ts
|
|
@@ -6,11 +7,13 @@ interface BottomSheetHandleProps {
|
|
|
6
7
|
className?: string;
|
|
7
8
|
onKeyDown?: (event: React.KeyboardEvent) => void;
|
|
8
9
|
ariaLabel?: string;
|
|
10
|
+
variant?: BottomSheetVariant;
|
|
9
11
|
}
|
|
10
12
|
declare function BottomSheetHandle({
|
|
11
13
|
className,
|
|
12
14
|
onKeyDown,
|
|
13
|
-
ariaLabel
|
|
15
|
+
ariaLabel,
|
|
16
|
+
variant
|
|
14
17
|
}: BottomSheetHandleProps): react_jsx_runtime0.JSX.Element;
|
|
15
18
|
declare namespace BottomSheetHandle {
|
|
16
19
|
var displayName: string;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
3
|
-
import { cx } from "../../../styles/styler.js";
|
|
3
|
+
import { cx, getStyles } from "../../../styles/styler.js";
|
|
4
4
|
import { Box } from "../../Box.js";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/client/BottomSheet/BottomSheetHandle.tsx
|
|
8
|
-
function BottomSheetHandle({ className, onKeyDown, ariaLabel }) {
|
|
8
|
+
function BottomSheetHandle({ className, onKeyDown, ariaLabel, variant = "default" }) {
|
|
9
|
+
const handleIndicatorVariantClass = getStyles({ bottomsheetVariantHandleIndicator: variant });
|
|
9
10
|
return /* @__PURE__ */ jsx(Box, {
|
|
10
11
|
display: "flex",
|
|
11
12
|
justifyContent: "center",
|
|
@@ -17,7 +18,7 @@ function BottomSheetHandle({ className, onKeyDown, ariaLabel }) {
|
|
|
17
18
|
className: cx("relative", "h-5 w-16", "outline-none focus-visible:outline-none", "[touch-action:pan-y]"),
|
|
18
19
|
children: /* @__PURE__ */ jsx(Box, {
|
|
19
20
|
display: "block",
|
|
20
|
-
className: cx("absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2", "h-1 w-8 rounded-full
|
|
21
|
+
className: cx("absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2", "h-1 w-8 rounded-full", handleIndicatorVariantClass)
|
|
21
22
|
})
|
|
22
23
|
})
|
|
23
24
|
});
|