@yahoo/uds 3.152.0 → 3.153.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 +25 -0
- package/dist/automated-config/dist/generated/autoVariants.d.cts +6 -0
- package/dist/automated-config/dist/generated/autoVariants.d.ts +6 -0
- package/dist/automated-config/dist/generated/autoVariants.js +25 -0
- package/dist/automated-config/dist/generated/generatedConfigs.cjs +1368 -0
- package/dist/automated-config/dist/generated/generatedConfigs.d.cts +169 -1
- package/dist/automated-config/dist/generated/generatedConfigs.d.ts +169 -1
- package/dist/automated-config/dist/generated/generatedConfigs.js +1368 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.cjs +198 -0
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.cts +2 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.d.ts +2 -1
- package/dist/automated-config/dist/generated/universalTokensConfigAuto.js +198 -0
- package/dist/automated-config/dist/types/ComponentConfig.d.cts +2 -0
- package/dist/automated-config/dist/types/ComponentConfig.d.ts +2 -0
- package/dist/automated-config/dist/utils/buildConfigSchema.cjs +13 -20
- package/dist/automated-config/dist/utils/buildConfigSchema.d.cts +14 -2
- package/dist/automated-config/dist/utils/buildConfigSchema.d.ts +14 -2
- package/dist/automated-config/dist/utils/buildConfigSchema.js +13 -20
- package/dist/automated-config/dist/utils/componentStatePseudoStates.cjs +15 -0
- package/dist/automated-config/dist/utils/componentStatePseudoStates.js +14 -0
- package/dist/automated-config/dist/utils/getConfigVariantPseudoStates.cjs +4 -2
- package/dist/automated-config/dist/utils/getConfigVariantPseudoStates.d.cts +1 -1
- package/dist/automated-config/dist/utils/getConfigVariantPseudoStates.d.ts +1 -1
- package/dist/automated-config/dist/utils/getConfigVariantPseudoStates.js +4 -2
- package/dist/automated-config/dist/utils/index.cjs +114 -48
- package/dist/automated-config/dist/utils/index.d.cts +25 -2
- package/dist/automated-config/dist/utils/index.d.ts +25 -2
- package/dist/automated-config/dist/utils/index.js +114 -49
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +1 -1
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +1 -1
- package/dist/components/client/Pagination/Pagination.cjs +62 -0
- package/dist/components/client/Pagination/Pagination.d.cts +28 -0
- package/dist/components/client/Pagination/Pagination.d.ts +29 -0
- package/dist/components/client/Pagination/Pagination.js +60 -0
- package/dist/components/client/Pagination/PaginationEllipsis.cjs +24 -0
- package/dist/components/client/Pagination/PaginationEllipsis.d.cts +10 -0
- package/dist/components/client/Pagination/PaginationEllipsis.d.ts +11 -0
- package/dist/components/client/Pagination/PaginationEllipsis.js +22 -0
- package/dist/components/client/Pagination/PaginationItem.cjs +52 -0
- package/dist/components/client/Pagination/PaginationItem.d.cts +10 -0
- package/dist/components/client/Pagination/PaginationItem.d.ts +11 -0
- package/dist/components/client/Pagination/PaginationItem.js +50 -0
- package/dist/components/client/Pagination/PaginationLink.cjs +53 -0
- package/dist/components/client/Pagination/PaginationLink.d.cts +9 -0
- package/dist/components/client/Pagination/PaginationLink.d.ts +10 -0
- package/dist/components/client/Pagination/PaginationLink.js +51 -0
- package/dist/components/client/Pagination/PaginationNext.cjs +56 -0
- package/dist/components/client/Pagination/PaginationNext.d.cts +9 -0
- package/dist/components/client/Pagination/PaginationNext.d.ts +10 -0
- package/dist/components/client/Pagination/PaginationNext.js +54 -0
- package/dist/components/client/Pagination/PaginationNumbers.cjs +52 -0
- package/dist/components/client/Pagination/PaginationNumbers.d.cts +9 -0
- package/dist/components/client/Pagination/PaginationNumbers.d.ts +10 -0
- package/dist/components/client/Pagination/PaginationNumbers.js +50 -0
- package/dist/components/client/Pagination/PaginationPrev.cjs +56 -0
- package/dist/components/client/Pagination/PaginationPrev.d.cts +9 -0
- package/dist/components/client/Pagination/PaginationPrev.d.ts +10 -0
- package/dist/components/client/Pagination/PaginationPrev.js +54 -0
- package/dist/components/client/Pagination/computeVisiblePages.cjs +22 -0
- package/dist/components/client/Pagination/computeVisiblePages.d.cts +18 -0
- package/dist/components/client/Pagination/computeVisiblePages.d.ts +19 -0
- package/dist/components/client/Pagination/computeVisiblePages.js +21 -0
- package/dist/components/client/Pagination/ellipsisDefault.cjs +33 -0
- package/dist/components/client/Pagination/ellipsisDefault.d.cts +10 -0
- package/dist/components/client/Pagination/ellipsisDefault.d.ts +11 -0
- package/dist/components/client/Pagination/ellipsisDefault.js +32 -0
- package/dist/components/client/Pagination/ellipsisNone.cjs +29 -0
- package/dist/components/client/Pagination/ellipsisNone.d.cts +10 -0
- package/dist/components/client/Pagination/ellipsisNone.d.ts +11 -0
- package/dist/components/client/Pagination/ellipsisNone.js +28 -0
- package/dist/components/client/Pagination/index.cjs +19 -0
- package/dist/components/client/Pagination/index.d.cts +10 -0
- package/dist/components/client/Pagination/index.d.ts +11 -0
- package/dist/components/client/Pagination/index.js +11 -0
- package/dist/components/client/Pagination/paginationContext.cjs +44 -0
- package/dist/components/client/Pagination/paginationContext.d.cts +34 -0
- package/dist/components/client/Pagination/paginationContext.d.ts +35 -0
- package/dist/components/client/Pagination/paginationContext.js +38 -0
- package/dist/components/client/Pagination/paginationStyles.cjs +72 -0
- package/dist/components/client/Pagination/paginationStyles.d.cts +14 -0
- package/dist/components/client/Pagination/paginationStyles.d.ts +15 -0
- package/dist/components/client/Pagination/paginationStyles.js +63 -0
- package/dist/components/client/index.cjs +14 -0
- package/dist/components/client/index.d.cts +8 -1
- package/dist/components/client/index.d.ts +8 -1
- package/dist/components/client/index.js +8 -1
- package/dist/components/index.cjs +14 -0
- package/dist/components/index.d.cts +8 -1
- package/dist/components/index.d.ts +8 -1
- package/dist/components/index.js +8 -1
- package/dist/config/dist/index.cjs +272 -2
- package/dist/config/dist/index.js +272 -2
- package/dist/css/dist/css/utils.cjs +5 -1
- package/dist/css/dist/css/utils.js +5 -1
- package/dist/css/dist/packages/config/dist/index.cjs +272 -2
- package/dist/css/dist/packages/config/dist/index.js +272 -2
- package/dist/css/dist/purger/optimized/purgeFromCode.cjs +6 -4
- package/dist/css/dist/purger/optimized/purgeFromCode.js +6 -4
- package/dist/index.cjs +16 -0
- package/dist/index.d.cts +11 -4
- package/dist/index.d.ts +11 -4
- package/dist/index.js +10 -3
- package/dist/styles/styler.d.cts +13 -7
- package/dist/styles/styler.d.ts +13 -7
- package/dist/styles/variants.d.cts +27 -0
- package/dist/styles/variants.d.ts +27 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/generated/generatedConfigs.cjs +1368 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/generated/generatedConfigs.js +1368 -1
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/componentStatePseudoStates.cjs +16 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/componentStatePseudoStates.js +15 -0
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/index.cjs +113 -48
- package/dist/tailwind-internal/dist/packages/automated-config/dist/utils/index.js +113 -48
- package/dist/tailwind-internal/dist/packages/config/dist/index.cjs +272 -2
- package/dist/tailwind-internal/dist/packages/config/dist/index.js +272 -2
- package/dist/tailwind-internal/dist/plugins/components.cjs +1 -0
- package/dist/tailwind-internal/dist/plugins/components.js +2 -1
- package/dist/tailwind-internal/dist/utils/getShadowStyles.d.cts +2 -2
- package/dist/tailwind-internal/dist/utils/getShadowStyles.d.ts +2 -2
- package/dist/tailwind-v3/dist/purger/legacy/purgeCSS.cjs +3 -2
- package/dist/tailwind-v3/dist/purger/legacy/purgeCSS.js +3 -2
- package/dist/tokens/automation/configs/index.cjs +1 -0
- package/dist/tokens/automation/configs/index.d.cts +2 -2
- package/dist/tokens/automation/configs/index.d.ts +2 -2
- package/dist/tokens/automation/configs/index.js +2 -2
- package/dist/tokens/automation/index.cjs +2 -0
- package/dist/tokens/automation/index.d.cts +3 -3
- package/dist/tokens/automation/index.d.ts +3 -3
- package/dist/tokens/automation/index.js +3 -3
- package/dist/tokens/index.cjs +2 -0
- package/dist/tokens/index.d.cts +4 -4
- package/dist/tokens/index.d.ts +4 -4
- package/dist/tokens/index.js +3 -3
- package/dist/tokens/types.d.cts +2 -2
- package/dist/tokens/types.d.ts +2 -2
- package/dist/types/dist/index.d.cts +83 -1
- package/dist/types/dist/index.d.ts +83 -1
- package/dist/uds/generated/componentData.cjs +2159 -1772
- package/dist/uds/generated/componentData.js +2159 -1772
- package/dist/uds/generated/tailwindPurge.cjs +73 -5
- package/dist/uds/generated/tailwindPurge.js +73 -5
- package/generated/componentData.json +2751 -2284
- package/generated/tailwindPurge.ts +4 -4
- package/package.json +1 -1
|
@@ -132,7 +132,11 @@ const getConfigurableCssVariables = () => {
|
|
|
132
132
|
if (Array.isArray(cssProperties)) return cssProperties.filter((cssProperty) => typeof cssProperty === "string" && cssProperty.startsWith(udsVarPrefix));
|
|
133
133
|
return [];
|
|
134
134
|
});
|
|
135
|
-
return [...new Set([
|
|
135
|
+
return [...new Set([
|
|
136
|
+
"--uds-button-gap",
|
|
137
|
+
"--uds-pagination-control-size",
|
|
138
|
+
...cssVars
|
|
139
|
+
])];
|
|
136
140
|
};
|
|
137
141
|
//#endregion
|
|
138
142
|
exports.extractRuntimeConfigValues = extractRuntimeConfigValues;
|
|
@@ -132,7 +132,11 @@ const getConfigurableCssVariables = () => {
|
|
|
132
132
|
if (Array.isArray(cssProperties)) return cssProperties.filter((cssProperty) => typeof cssProperty === "string" && cssProperty.startsWith(udsVarPrefix));
|
|
133
133
|
return [];
|
|
134
134
|
});
|
|
135
|
-
return [...new Set([
|
|
135
|
+
return [...new Set([
|
|
136
|
+
"--uds-button-gap",
|
|
137
|
+
"--uds-pagination-control-size",
|
|
138
|
+
...cssVars
|
|
139
|
+
])];
|
|
136
140
|
};
|
|
137
141
|
//#endregion
|
|
138
142
|
export { extractRuntimeConfigValues, extractVariantDefaults, formatBytes, getConfigurableCssVariables, getMotionVarPrefixes };
|
|
@@ -28948,8 +28948,278 @@ const defaultTokensConfig = {
|
|
|
28948
28948
|
}
|
|
28949
28949
|
}
|
|
28950
28950
|
},
|
|
28951
|
-
version: "v0.
|
|
28952
|
-
|
|
28951
|
+
version: "v0.95.0",
|
|
28952
|
+
pagination: {
|
|
28953
|
+
defaults: {
|
|
28954
|
+
size: "md",
|
|
28955
|
+
variant: "default"
|
|
28956
|
+
},
|
|
28957
|
+
variables: {
|
|
28958
|
+
"size/md/icon": { size: { rest: {
|
|
28959
|
+
type: "iconSizes",
|
|
28960
|
+
value: "sm",
|
|
28961
|
+
valueType: "alias"
|
|
28962
|
+
} } },
|
|
28963
|
+
"size/md/item": {
|
|
28964
|
+
borderRadius: { rest: {
|
|
28965
|
+
type: "borderRadii",
|
|
28966
|
+
value: "full",
|
|
28967
|
+
valueType: "alias"
|
|
28968
|
+
} },
|
|
28969
|
+
spacing: { rest: {
|
|
28970
|
+
type: "spacingAliases",
|
|
28971
|
+
value: "2",
|
|
28972
|
+
valueType: "alias"
|
|
28973
|
+
} }
|
|
28974
|
+
},
|
|
28975
|
+
"size/md/root": { gap: { rest: {
|
|
28976
|
+
type: "spacingAliases",
|
|
28977
|
+
value: "0",
|
|
28978
|
+
valueType: "alias"
|
|
28979
|
+
} } },
|
|
28980
|
+
"size/md/text": { textVariant: { rest: {
|
|
28981
|
+
type: "textVariants",
|
|
28982
|
+
value: "ui2",
|
|
28983
|
+
valueType: "alias"
|
|
28984
|
+
} } },
|
|
28985
|
+
"size/sm/icon": { size: { rest: {
|
|
28986
|
+
type: "iconSizes",
|
|
28987
|
+
value: "sm",
|
|
28988
|
+
valueType: "alias"
|
|
28989
|
+
} } },
|
|
28990
|
+
"size/sm/item": {
|
|
28991
|
+
borderRadius: { rest: {
|
|
28992
|
+
type: "borderRadii",
|
|
28993
|
+
value: "full",
|
|
28994
|
+
valueType: "alias"
|
|
28995
|
+
} },
|
|
28996
|
+
spacing: { rest: {
|
|
28997
|
+
type: "spacingAliases",
|
|
28998
|
+
value: "1.5",
|
|
28999
|
+
valueType: "alias"
|
|
29000
|
+
} }
|
|
29001
|
+
},
|
|
29002
|
+
"size/sm/root": { gap: { rest: {
|
|
29003
|
+
type: "spacingAliases",
|
|
29004
|
+
value: "0",
|
|
29005
|
+
valueType: "alias"
|
|
29006
|
+
} } },
|
|
29007
|
+
"size/sm/text": { textVariant: { rest: {
|
|
29008
|
+
type: "textVariants",
|
|
29009
|
+
value: "ui2",
|
|
29010
|
+
valueType: "alias"
|
|
29011
|
+
} } },
|
|
29012
|
+
"variant/default/active/off/root": {
|
|
29013
|
+
backgroundColor: {
|
|
29014
|
+
hover: {
|
|
29015
|
+
type: "backgroundPaletteColors",
|
|
29016
|
+
value: "brand-secondary",
|
|
29017
|
+
valueType: "alias"
|
|
29018
|
+
},
|
|
29019
|
+
pressed: {
|
|
29020
|
+
type: "spectrumColors",
|
|
29021
|
+
value: "purple-2",
|
|
29022
|
+
valueType: "alias"
|
|
29023
|
+
},
|
|
29024
|
+
rest: {
|
|
29025
|
+
type: "alwaysPaletteAliases",
|
|
29026
|
+
value: "always/transparent",
|
|
29027
|
+
valueType: "alias"
|
|
29028
|
+
}
|
|
29029
|
+
},
|
|
29030
|
+
color: {
|
|
29031
|
+
hover: {
|
|
29032
|
+
type: "foregroundPaletteColors",
|
|
29033
|
+
value: "secondary",
|
|
29034
|
+
valueType: "alias"
|
|
29035
|
+
},
|
|
29036
|
+
pressed: {
|
|
29037
|
+
type: "foregroundPaletteColors",
|
|
29038
|
+
value: "secondary",
|
|
29039
|
+
valueType: "alias"
|
|
29040
|
+
},
|
|
29041
|
+
rest: {
|
|
29042
|
+
type: "foregroundPaletteColors",
|
|
29043
|
+
value: "secondary",
|
|
29044
|
+
valueType: "alias"
|
|
29045
|
+
}
|
|
29046
|
+
},
|
|
29047
|
+
borderColor: {
|
|
29048
|
+
hover: {
|
|
29049
|
+
type: "alwaysPaletteAliases",
|
|
29050
|
+
value: "always/transparent",
|
|
29051
|
+
valueType: "alias"
|
|
29052
|
+
},
|
|
29053
|
+
pressed: {
|
|
29054
|
+
type: "alwaysPaletteAliases",
|
|
29055
|
+
value: "always/transparent",
|
|
29056
|
+
valueType: "alias"
|
|
29057
|
+
},
|
|
29058
|
+
rest: {
|
|
29059
|
+
type: "alwaysPaletteAliases",
|
|
29060
|
+
value: "always/transparent",
|
|
29061
|
+
valueType: "alias"
|
|
29062
|
+
}
|
|
29063
|
+
},
|
|
29064
|
+
borderWidth: {
|
|
29065
|
+
hover: {
|
|
29066
|
+
type: "borderWidths",
|
|
29067
|
+
value: "none",
|
|
29068
|
+
valueType: "alias"
|
|
29069
|
+
},
|
|
29070
|
+
pressed: {
|
|
29071
|
+
type: "borderWidths",
|
|
29072
|
+
value: "none",
|
|
29073
|
+
valueType: "alias"
|
|
29074
|
+
},
|
|
29075
|
+
rest: {
|
|
29076
|
+
type: "borderWidths",
|
|
29077
|
+
value: "none",
|
|
29078
|
+
valueType: "alias"
|
|
29079
|
+
}
|
|
29080
|
+
},
|
|
29081
|
+
shadow: {
|
|
29082
|
+
hover: {
|
|
29083
|
+
type: "shadowVariants",
|
|
29084
|
+
value: "none",
|
|
29085
|
+
valueType: "alias"
|
|
29086
|
+
},
|
|
29087
|
+
pressed: {
|
|
29088
|
+
type: "shadowVariants",
|
|
29089
|
+
value: "none",
|
|
29090
|
+
valueType: "alias"
|
|
29091
|
+
},
|
|
29092
|
+
rest: {
|
|
29093
|
+
type: "shadowVariants",
|
|
29094
|
+
value: "none",
|
|
29095
|
+
valueType: "alias"
|
|
29096
|
+
}
|
|
29097
|
+
},
|
|
29098
|
+
insetShadow: {
|
|
29099
|
+
hover: {
|
|
29100
|
+
type: "shadowVariantsWithInvert",
|
|
29101
|
+
value: "none",
|
|
29102
|
+
valueType: "alias"
|
|
29103
|
+
},
|
|
29104
|
+
pressed: {
|
|
29105
|
+
type: "shadowVariantsWithInvert",
|
|
29106
|
+
value: "sm",
|
|
29107
|
+
valueType: "alias"
|
|
29108
|
+
},
|
|
29109
|
+
rest: {
|
|
29110
|
+
type: "shadowVariantsWithInvert",
|
|
29111
|
+
value: "none",
|
|
29112
|
+
valueType: "alias"
|
|
29113
|
+
}
|
|
29114
|
+
}
|
|
29115
|
+
},
|
|
29116
|
+
"variant/default/active/on/root": {
|
|
29117
|
+
backgroundColor: {
|
|
29118
|
+
hover: {
|
|
29119
|
+
type: "backgroundPaletteColors",
|
|
29120
|
+
value: "brand",
|
|
29121
|
+
valueType: "alias"
|
|
29122
|
+
},
|
|
29123
|
+
pressed: {
|
|
29124
|
+
type: "backgroundPaletteColors",
|
|
29125
|
+
value: "brand",
|
|
29126
|
+
valueType: "alias"
|
|
29127
|
+
},
|
|
29128
|
+
rest: {
|
|
29129
|
+
type: "backgroundPaletteColors",
|
|
29130
|
+
value: "brand",
|
|
29131
|
+
valueType: "alias"
|
|
29132
|
+
}
|
|
29133
|
+
},
|
|
29134
|
+
color: {
|
|
29135
|
+
hover: {
|
|
29136
|
+
type: "foregroundPaletteColors",
|
|
29137
|
+
value: "on-color",
|
|
29138
|
+
valueType: "alias"
|
|
29139
|
+
},
|
|
29140
|
+
pressed: {
|
|
29141
|
+
type: "foregroundPaletteColors",
|
|
29142
|
+
value: "on-color",
|
|
29143
|
+
valueType: "alias"
|
|
29144
|
+
},
|
|
29145
|
+
rest: {
|
|
29146
|
+
type: "foregroundPaletteColors",
|
|
29147
|
+
value: "on-color",
|
|
29148
|
+
valueType: "alias"
|
|
29149
|
+
}
|
|
29150
|
+
},
|
|
29151
|
+
borderColor: {
|
|
29152
|
+
hover: {
|
|
29153
|
+
type: "alwaysPaletteAliases",
|
|
29154
|
+
value: "always/transparent",
|
|
29155
|
+
valueType: "alias"
|
|
29156
|
+
},
|
|
29157
|
+
pressed: {
|
|
29158
|
+
type: "alwaysPaletteAliases",
|
|
29159
|
+
value: "always/transparent",
|
|
29160
|
+
valueType: "alias"
|
|
29161
|
+
},
|
|
29162
|
+
rest: {
|
|
29163
|
+
type: "alwaysPaletteAliases",
|
|
29164
|
+
value: "always/transparent",
|
|
29165
|
+
valueType: "alias"
|
|
29166
|
+
}
|
|
29167
|
+
},
|
|
29168
|
+
borderWidth: {
|
|
29169
|
+
hover: {
|
|
29170
|
+
type: "borderWidths",
|
|
29171
|
+
value: "none",
|
|
29172
|
+
valueType: "alias"
|
|
29173
|
+
},
|
|
29174
|
+
pressed: {
|
|
29175
|
+
type: "borderWidths",
|
|
29176
|
+
value: "none",
|
|
29177
|
+
valueType: "alias"
|
|
29178
|
+
},
|
|
29179
|
+
rest: {
|
|
29180
|
+
type: "borderWidths",
|
|
29181
|
+
value: "none",
|
|
29182
|
+
valueType: "alias"
|
|
29183
|
+
}
|
|
29184
|
+
},
|
|
29185
|
+
shadow: {
|
|
29186
|
+
hover: {
|
|
29187
|
+
type: "shadowVariants",
|
|
29188
|
+
value: "none",
|
|
29189
|
+
valueType: "alias"
|
|
29190
|
+
},
|
|
29191
|
+
pressed: {
|
|
29192
|
+
type: "shadowVariants",
|
|
29193
|
+
value: "none",
|
|
29194
|
+
valueType: "alias"
|
|
29195
|
+
},
|
|
29196
|
+
rest: {
|
|
29197
|
+
type: "shadowVariants",
|
|
29198
|
+
value: "none",
|
|
29199
|
+
valueType: "alias"
|
|
29200
|
+
}
|
|
29201
|
+
},
|
|
29202
|
+
insetShadow: {
|
|
29203
|
+
hover: {
|
|
29204
|
+
type: "shadowVariantsWithInvert",
|
|
29205
|
+
value: "none",
|
|
29206
|
+
valueType: "alias"
|
|
29207
|
+
},
|
|
29208
|
+
pressed: {
|
|
29209
|
+
type: "shadowVariantsWithInvert",
|
|
29210
|
+
value: "none",
|
|
29211
|
+
valueType: "alias"
|
|
29212
|
+
},
|
|
29213
|
+
rest: {
|
|
29214
|
+
type: "shadowVariantsWithInvert",
|
|
29215
|
+
value: "none",
|
|
29216
|
+
valueType: "alias"
|
|
29217
|
+
}
|
|
29218
|
+
}
|
|
29219
|
+
}
|
|
29220
|
+
}
|
|
29221
|
+
},
|
|
29222
|
+
version: "v0.95.0"
|
|
28953
29223
|
};
|
|
28954
29224
|
//#endregion
|
|
28955
29225
|
exports.defaultTokensConfig = defaultTokensConfig;
|
|
@@ -28948,8 +28948,278 @@ const defaultTokensConfig = {
|
|
|
28948
28948
|
}
|
|
28949
28949
|
}
|
|
28950
28950
|
},
|
|
28951
|
-
version: "v0.
|
|
28952
|
-
|
|
28951
|
+
version: "v0.95.0",
|
|
28952
|
+
pagination: {
|
|
28953
|
+
defaults: {
|
|
28954
|
+
size: "md",
|
|
28955
|
+
variant: "default"
|
|
28956
|
+
},
|
|
28957
|
+
variables: {
|
|
28958
|
+
"size/md/icon": { size: { rest: {
|
|
28959
|
+
type: "iconSizes",
|
|
28960
|
+
value: "sm",
|
|
28961
|
+
valueType: "alias"
|
|
28962
|
+
} } },
|
|
28963
|
+
"size/md/item": {
|
|
28964
|
+
borderRadius: { rest: {
|
|
28965
|
+
type: "borderRadii",
|
|
28966
|
+
value: "full",
|
|
28967
|
+
valueType: "alias"
|
|
28968
|
+
} },
|
|
28969
|
+
spacing: { rest: {
|
|
28970
|
+
type: "spacingAliases",
|
|
28971
|
+
value: "2",
|
|
28972
|
+
valueType: "alias"
|
|
28973
|
+
} }
|
|
28974
|
+
},
|
|
28975
|
+
"size/md/root": { gap: { rest: {
|
|
28976
|
+
type: "spacingAliases",
|
|
28977
|
+
value: "0",
|
|
28978
|
+
valueType: "alias"
|
|
28979
|
+
} } },
|
|
28980
|
+
"size/md/text": { textVariant: { rest: {
|
|
28981
|
+
type: "textVariants",
|
|
28982
|
+
value: "ui2",
|
|
28983
|
+
valueType: "alias"
|
|
28984
|
+
} } },
|
|
28985
|
+
"size/sm/icon": { size: { rest: {
|
|
28986
|
+
type: "iconSizes",
|
|
28987
|
+
value: "sm",
|
|
28988
|
+
valueType: "alias"
|
|
28989
|
+
} } },
|
|
28990
|
+
"size/sm/item": {
|
|
28991
|
+
borderRadius: { rest: {
|
|
28992
|
+
type: "borderRadii",
|
|
28993
|
+
value: "full",
|
|
28994
|
+
valueType: "alias"
|
|
28995
|
+
} },
|
|
28996
|
+
spacing: { rest: {
|
|
28997
|
+
type: "spacingAliases",
|
|
28998
|
+
value: "1.5",
|
|
28999
|
+
valueType: "alias"
|
|
29000
|
+
} }
|
|
29001
|
+
},
|
|
29002
|
+
"size/sm/root": { gap: { rest: {
|
|
29003
|
+
type: "spacingAliases",
|
|
29004
|
+
value: "0",
|
|
29005
|
+
valueType: "alias"
|
|
29006
|
+
} } },
|
|
29007
|
+
"size/sm/text": { textVariant: { rest: {
|
|
29008
|
+
type: "textVariants",
|
|
29009
|
+
value: "ui2",
|
|
29010
|
+
valueType: "alias"
|
|
29011
|
+
} } },
|
|
29012
|
+
"variant/default/active/off/root": {
|
|
29013
|
+
backgroundColor: {
|
|
29014
|
+
hover: {
|
|
29015
|
+
type: "backgroundPaletteColors",
|
|
29016
|
+
value: "brand-secondary",
|
|
29017
|
+
valueType: "alias"
|
|
29018
|
+
},
|
|
29019
|
+
pressed: {
|
|
29020
|
+
type: "spectrumColors",
|
|
29021
|
+
value: "purple-2",
|
|
29022
|
+
valueType: "alias"
|
|
29023
|
+
},
|
|
29024
|
+
rest: {
|
|
29025
|
+
type: "alwaysPaletteAliases",
|
|
29026
|
+
value: "always/transparent",
|
|
29027
|
+
valueType: "alias"
|
|
29028
|
+
}
|
|
29029
|
+
},
|
|
29030
|
+
color: {
|
|
29031
|
+
hover: {
|
|
29032
|
+
type: "foregroundPaletteColors",
|
|
29033
|
+
value: "secondary",
|
|
29034
|
+
valueType: "alias"
|
|
29035
|
+
},
|
|
29036
|
+
pressed: {
|
|
29037
|
+
type: "foregroundPaletteColors",
|
|
29038
|
+
value: "secondary",
|
|
29039
|
+
valueType: "alias"
|
|
29040
|
+
},
|
|
29041
|
+
rest: {
|
|
29042
|
+
type: "foregroundPaletteColors",
|
|
29043
|
+
value: "secondary",
|
|
29044
|
+
valueType: "alias"
|
|
29045
|
+
}
|
|
29046
|
+
},
|
|
29047
|
+
borderColor: {
|
|
29048
|
+
hover: {
|
|
29049
|
+
type: "alwaysPaletteAliases",
|
|
29050
|
+
value: "always/transparent",
|
|
29051
|
+
valueType: "alias"
|
|
29052
|
+
},
|
|
29053
|
+
pressed: {
|
|
29054
|
+
type: "alwaysPaletteAliases",
|
|
29055
|
+
value: "always/transparent",
|
|
29056
|
+
valueType: "alias"
|
|
29057
|
+
},
|
|
29058
|
+
rest: {
|
|
29059
|
+
type: "alwaysPaletteAliases",
|
|
29060
|
+
value: "always/transparent",
|
|
29061
|
+
valueType: "alias"
|
|
29062
|
+
}
|
|
29063
|
+
},
|
|
29064
|
+
borderWidth: {
|
|
29065
|
+
hover: {
|
|
29066
|
+
type: "borderWidths",
|
|
29067
|
+
value: "none",
|
|
29068
|
+
valueType: "alias"
|
|
29069
|
+
},
|
|
29070
|
+
pressed: {
|
|
29071
|
+
type: "borderWidths",
|
|
29072
|
+
value: "none",
|
|
29073
|
+
valueType: "alias"
|
|
29074
|
+
},
|
|
29075
|
+
rest: {
|
|
29076
|
+
type: "borderWidths",
|
|
29077
|
+
value: "none",
|
|
29078
|
+
valueType: "alias"
|
|
29079
|
+
}
|
|
29080
|
+
},
|
|
29081
|
+
shadow: {
|
|
29082
|
+
hover: {
|
|
29083
|
+
type: "shadowVariants",
|
|
29084
|
+
value: "none",
|
|
29085
|
+
valueType: "alias"
|
|
29086
|
+
},
|
|
29087
|
+
pressed: {
|
|
29088
|
+
type: "shadowVariants",
|
|
29089
|
+
value: "none",
|
|
29090
|
+
valueType: "alias"
|
|
29091
|
+
},
|
|
29092
|
+
rest: {
|
|
29093
|
+
type: "shadowVariants",
|
|
29094
|
+
value: "none",
|
|
29095
|
+
valueType: "alias"
|
|
29096
|
+
}
|
|
29097
|
+
},
|
|
29098
|
+
insetShadow: {
|
|
29099
|
+
hover: {
|
|
29100
|
+
type: "shadowVariantsWithInvert",
|
|
29101
|
+
value: "none",
|
|
29102
|
+
valueType: "alias"
|
|
29103
|
+
},
|
|
29104
|
+
pressed: {
|
|
29105
|
+
type: "shadowVariantsWithInvert",
|
|
29106
|
+
value: "sm",
|
|
29107
|
+
valueType: "alias"
|
|
29108
|
+
},
|
|
29109
|
+
rest: {
|
|
29110
|
+
type: "shadowVariantsWithInvert",
|
|
29111
|
+
value: "none",
|
|
29112
|
+
valueType: "alias"
|
|
29113
|
+
}
|
|
29114
|
+
}
|
|
29115
|
+
},
|
|
29116
|
+
"variant/default/active/on/root": {
|
|
29117
|
+
backgroundColor: {
|
|
29118
|
+
hover: {
|
|
29119
|
+
type: "backgroundPaletteColors",
|
|
29120
|
+
value: "brand",
|
|
29121
|
+
valueType: "alias"
|
|
29122
|
+
},
|
|
29123
|
+
pressed: {
|
|
29124
|
+
type: "backgroundPaletteColors",
|
|
29125
|
+
value: "brand",
|
|
29126
|
+
valueType: "alias"
|
|
29127
|
+
},
|
|
29128
|
+
rest: {
|
|
29129
|
+
type: "backgroundPaletteColors",
|
|
29130
|
+
value: "brand",
|
|
29131
|
+
valueType: "alias"
|
|
29132
|
+
}
|
|
29133
|
+
},
|
|
29134
|
+
color: {
|
|
29135
|
+
hover: {
|
|
29136
|
+
type: "foregroundPaletteColors",
|
|
29137
|
+
value: "on-color",
|
|
29138
|
+
valueType: "alias"
|
|
29139
|
+
},
|
|
29140
|
+
pressed: {
|
|
29141
|
+
type: "foregroundPaletteColors",
|
|
29142
|
+
value: "on-color",
|
|
29143
|
+
valueType: "alias"
|
|
29144
|
+
},
|
|
29145
|
+
rest: {
|
|
29146
|
+
type: "foregroundPaletteColors",
|
|
29147
|
+
value: "on-color",
|
|
29148
|
+
valueType: "alias"
|
|
29149
|
+
}
|
|
29150
|
+
},
|
|
29151
|
+
borderColor: {
|
|
29152
|
+
hover: {
|
|
29153
|
+
type: "alwaysPaletteAliases",
|
|
29154
|
+
value: "always/transparent",
|
|
29155
|
+
valueType: "alias"
|
|
29156
|
+
},
|
|
29157
|
+
pressed: {
|
|
29158
|
+
type: "alwaysPaletteAliases",
|
|
29159
|
+
value: "always/transparent",
|
|
29160
|
+
valueType: "alias"
|
|
29161
|
+
},
|
|
29162
|
+
rest: {
|
|
29163
|
+
type: "alwaysPaletteAliases",
|
|
29164
|
+
value: "always/transparent",
|
|
29165
|
+
valueType: "alias"
|
|
29166
|
+
}
|
|
29167
|
+
},
|
|
29168
|
+
borderWidth: {
|
|
29169
|
+
hover: {
|
|
29170
|
+
type: "borderWidths",
|
|
29171
|
+
value: "none",
|
|
29172
|
+
valueType: "alias"
|
|
29173
|
+
},
|
|
29174
|
+
pressed: {
|
|
29175
|
+
type: "borderWidths",
|
|
29176
|
+
value: "none",
|
|
29177
|
+
valueType: "alias"
|
|
29178
|
+
},
|
|
29179
|
+
rest: {
|
|
29180
|
+
type: "borderWidths",
|
|
29181
|
+
value: "none",
|
|
29182
|
+
valueType: "alias"
|
|
29183
|
+
}
|
|
29184
|
+
},
|
|
29185
|
+
shadow: {
|
|
29186
|
+
hover: {
|
|
29187
|
+
type: "shadowVariants",
|
|
29188
|
+
value: "none",
|
|
29189
|
+
valueType: "alias"
|
|
29190
|
+
},
|
|
29191
|
+
pressed: {
|
|
29192
|
+
type: "shadowVariants",
|
|
29193
|
+
value: "none",
|
|
29194
|
+
valueType: "alias"
|
|
29195
|
+
},
|
|
29196
|
+
rest: {
|
|
29197
|
+
type: "shadowVariants",
|
|
29198
|
+
value: "none",
|
|
29199
|
+
valueType: "alias"
|
|
29200
|
+
}
|
|
29201
|
+
},
|
|
29202
|
+
insetShadow: {
|
|
29203
|
+
hover: {
|
|
29204
|
+
type: "shadowVariantsWithInvert",
|
|
29205
|
+
value: "none",
|
|
29206
|
+
valueType: "alias"
|
|
29207
|
+
},
|
|
29208
|
+
pressed: {
|
|
29209
|
+
type: "shadowVariantsWithInvert",
|
|
29210
|
+
value: "none",
|
|
29211
|
+
valueType: "alias"
|
|
29212
|
+
},
|
|
29213
|
+
rest: {
|
|
29214
|
+
type: "shadowVariantsWithInvert",
|
|
29215
|
+
value: "none",
|
|
29216
|
+
valueType: "alias"
|
|
29217
|
+
}
|
|
29218
|
+
}
|
|
29219
|
+
}
|
|
29220
|
+
}
|
|
29221
|
+
},
|
|
29222
|
+
version: "v0.95.0"
|
|
28953
29223
|
};
|
|
28954
29224
|
//#endregion
|
|
28955
29225
|
export { defaultTokensConfig };
|
|
@@ -62,11 +62,13 @@ const isUdsComponentModule = (moduleSpecifier) => {
|
|
|
62
62
|
return cleaned === "@yahoo/uds" || cleaned.startsWith("@yahoo/uds/");
|
|
63
63
|
};
|
|
64
64
|
/**
|
|
65
|
-
* Normalize component name to match autoVariants keys (
|
|
65
|
+
* Normalize component name to match autoVariants keys (fully lowercase, no
|
|
66
|
+
* punctuation). autoVariants keys lowercase the entire component label (e.g.
|
|
67
|
+
* `menucontentSizeRoot`), so full lowercasing keeps the normalized prefix
|
|
68
|
+
* aligned with those keys and makes namespace/flat aliases resolve consistently.
|
|
66
69
|
*/
|
|
67
70
|
const normalizeComponentName = (name) => {
|
|
68
|
-
|
|
69
|
-
return cleaned.charAt(0).toLowerCase() + cleaned.slice(1);
|
|
71
|
+
return name.replace(/\W/g, "").toLowerCase();
|
|
70
72
|
};
|
|
71
73
|
/**
|
|
72
74
|
* Fallback: infer prop -> variant key mapping from autoVariants when the
|
|
@@ -350,7 +352,7 @@ const purgeFromCodeOptimized = async (code, options) => {
|
|
|
350
352
|
});
|
|
351
353
|
});
|
|
352
354
|
if (options.includeAllClassNamePrimitives) safelist.push(...extractClassNamePrimitives(sourceFile));
|
|
353
|
-
const finalSafelist = [...new Set(safelist)];
|
|
355
|
+
const finalSafelist = [...new Set(safelist)].sort();
|
|
354
356
|
const safelistGenerationMs = performance.now() - safelistGenStart;
|
|
355
357
|
stats.timeMs = Math.round(performance.now() - startTime);
|
|
356
358
|
stats.classesGenerated = finalSafelist.length;
|
|
@@ -61,11 +61,13 @@ const isUdsComponentModule = (moduleSpecifier) => {
|
|
|
61
61
|
return cleaned === "@yahoo/uds" || cleaned.startsWith("@yahoo/uds/");
|
|
62
62
|
};
|
|
63
63
|
/**
|
|
64
|
-
* Normalize component name to match autoVariants keys (
|
|
64
|
+
* Normalize component name to match autoVariants keys (fully lowercase, no
|
|
65
|
+
* punctuation). autoVariants keys lowercase the entire component label (e.g.
|
|
66
|
+
* `menucontentSizeRoot`), so full lowercasing keeps the normalized prefix
|
|
67
|
+
* aligned with those keys and makes namespace/flat aliases resolve consistently.
|
|
65
68
|
*/
|
|
66
69
|
const normalizeComponentName = (name) => {
|
|
67
|
-
|
|
68
|
-
return cleaned.charAt(0).toLowerCase() + cleaned.slice(1);
|
|
70
|
+
return name.replace(/\W/g, "").toLowerCase();
|
|
69
71
|
};
|
|
70
72
|
/**
|
|
71
73
|
* Fallback: infer prop -> variant key mapping from autoVariants when the
|
|
@@ -349,7 +351,7 @@ const purgeFromCodeOptimized = async (code, options) => {
|
|
|
349
351
|
});
|
|
350
352
|
});
|
|
351
353
|
if (options.includeAllClassNamePrimitives) safelist.push(...extractClassNamePrimitives(sourceFile));
|
|
352
|
-
const finalSafelist = [...new Set(safelist)];
|
|
354
|
+
const finalSafelist = [...new Set(safelist)].sort();
|
|
353
355
|
const safelistGenerationMs = performance.now() - safelistGenStart;
|
|
354
356
|
stats.timeMs = Math.round(performance.now() - startTime);
|
|
355
357
|
stats.classesGenerated = finalSafelist.length;
|
package/dist/index.cjs
CHANGED
|
@@ -73,6 +73,13 @@ const require_components_client_PaddleNav_PaddleButtonNext = require("./componen
|
|
|
73
73
|
const require_components_client_PaddleNav_PaddleButtonPrevious = require("./components/client/PaddleNav/PaddleButtonPrevious.cjs");
|
|
74
74
|
const require_components_client_PaddleNav_PaddleNavContent = require("./components/client/PaddleNav/PaddleNavContent.cjs");
|
|
75
75
|
const require_components_client_PaddleNav_PaddleNav = require("./components/client/PaddleNav/PaddleNav.cjs");
|
|
76
|
+
const require_components_client_Pagination_Pagination = require("./components/client/Pagination/Pagination.cjs");
|
|
77
|
+
const require_components_client_Pagination_PaginationEllipsis = require("./components/client/Pagination/PaginationEllipsis.cjs");
|
|
78
|
+
const require_components_client_Pagination_PaginationItem = require("./components/client/Pagination/PaginationItem.cjs");
|
|
79
|
+
const require_components_client_Pagination_PaginationLink = require("./components/client/Pagination/PaginationLink.cjs");
|
|
80
|
+
const require_components_client_Pagination_PaginationNext = require("./components/client/Pagination/PaginationNext.cjs");
|
|
81
|
+
const require_components_client_Pagination_PaginationNumbers = require("./components/client/Pagination/PaginationNumbers.cjs");
|
|
82
|
+
const require_components_client_Pagination_PaginationPrev = require("./components/client/Pagination/PaginationPrev.cjs");
|
|
76
83
|
const require_components_client_Popover_UDSPopoverConfigProvider = require("./components/client/Popover/UDSPopoverConfigProvider.cjs");
|
|
77
84
|
const require_components_client_Popover_Popover = require("./components/client/Popover/Popover.cjs");
|
|
78
85
|
const require_generatedConfigs = require("./automated-config/dist/generated/generatedConfigs.cjs");
|
|
@@ -216,6 +223,14 @@ exports.PaddleButtonPrevious = require_components_client_PaddleNav_PaddleButtonP
|
|
|
216
223
|
exports.PaddleNav = require_components_client_PaddleNav_PaddleNav.PaddleNav;
|
|
217
224
|
exports.PaddleNavConfig = require_generatedConfigs.PaddleNavConfig;
|
|
218
225
|
exports.PaddleNavContent = require_components_client_PaddleNav_PaddleNavContent.PaddleNavContent;
|
|
226
|
+
exports.Pagination = require_components_client_Pagination_Pagination.Pagination;
|
|
227
|
+
exports.PaginationConfig = require_generatedConfigs.PaginationConfig;
|
|
228
|
+
exports.PaginationEllipsis = require_components_client_Pagination_PaginationEllipsis.PaginationEllipsis;
|
|
229
|
+
exports.PaginationItem = require_components_client_Pagination_PaginationItem.PaginationItem;
|
|
230
|
+
exports.PaginationLink = require_components_client_Pagination_PaginationLink.PaginationLink;
|
|
231
|
+
exports.PaginationNext = require_components_client_Pagination_PaginationNext.PaginationNext;
|
|
232
|
+
exports.PaginationNumbers = require_components_client_Pagination_PaginationNumbers.PaginationNumbers;
|
|
233
|
+
exports.PaginationPrev = require_components_client_Pagination_PaginationPrev.PaginationPrev;
|
|
219
234
|
exports.Popover = require_components_client_Popover_Popover.Popover;
|
|
220
235
|
exports.PopoverConfig = require_generatedConfigs.PopoverConfig;
|
|
221
236
|
exports.PopoverContent = require_components_client_Popover_PopoverContent.PopoverContent;
|
|
@@ -263,6 +278,7 @@ exports.XSMALL_SCALE_MODE_CLASSNAME = require_index$1.XSMALL_SCALE_MODE_CLASSNAM
|
|
|
263
278
|
exports.XXLARGE_SCALE_MODE_CLASSNAME = require_index$1.XXLARGE_SCALE_MODE_CLASSNAME;
|
|
264
279
|
exports.XXXLARGE_SCALE_MODE_CLASSNAME = require_index$1.XXXLARGE_SCALE_MODE_CLASSNAME;
|
|
265
280
|
exports.alwaysPalette = require_index.alwaysPalette;
|
|
281
|
+
exports.applyBoxShadowBorder = require_index$2.applyBoxShadowBorder;
|
|
266
282
|
exports.buildConfigSchema = require_buildConfigSchema.buildConfigSchema;
|
|
267
283
|
exports.cartesianProduct = require_cartesianProduct.cartesianProduct;
|
|
268
284
|
exports.coalesceConfigVariant = require_coalesceConfigVariant.coalesceConfigVariant;
|