@yahoo/uds 3.134.2 → 3.135.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/properties.d.cts +1 -1
- package/dist/automated-config/dist/properties.d.ts +1 -1
- package/dist/automated-config/dist/utils/buildConfigSchema.d.cts +1 -1
- package/dist/automated-config/dist/utils/buildConfigSchema.d.ts +1 -1
- package/dist/cli/runner.cjs +40 -0
- package/dist/cli/runner.js +40 -0
- package/dist/components/{client/Avatar → Avatar}/Avatar.cjs +21 -6
- package/dist/components/{client/Avatar → Avatar}/Avatar.d.cts +3 -3
- package/dist/components/{client/Avatar → Avatar}/Avatar.d.ts +3 -4
- package/dist/components/{client/Avatar → Avatar}/Avatar.js +20 -5
- package/dist/components/{client/Avatar → Avatar}/AvatarIcon.cjs +11 -12
- package/dist/components/{client/Avatar → Avatar}/AvatarIcon.d.cts +4 -3
- package/dist/components/{client/Avatar → Avatar}/AvatarIcon.d.ts +4 -4
- package/dist/components/{client/Avatar → Avatar}/AvatarIcon.js +6 -7
- package/dist/components/Avatar/AvatarImage.types.cjs +1 -0
- package/dist/components/Avatar/AvatarImage.types.d.cts +18 -0
- package/dist/components/Avatar/AvatarImage.types.d.ts +18 -0
- package/dist/components/Avatar/AvatarImage.types.js +1 -0
- package/dist/components/Avatar/AvatarImageNoFallback.cjs +51 -0
- package/dist/components/Avatar/AvatarImageNoFallback.d.cts +18 -0
- package/dist/components/Avatar/AvatarImageNoFallback.d.ts +18 -0
- package/dist/components/Avatar/AvatarImageNoFallback.js +49 -0
- package/dist/components/{client/Avatar → Avatar}/AvatarText.cjs +11 -11
- package/dist/components/{client/Avatar → Avatar}/AvatarText.d.cts +4 -3
- package/dist/components/{client/Avatar → Avatar}/AvatarText.d.ts +4 -4
- package/dist/components/{client/Avatar → Avatar}/AvatarText.js +5 -5
- package/dist/components/Avatar/index.cjs +10 -0
- package/dist/components/Avatar/index.d.cts +6 -0
- package/dist/components/Avatar/index.d.ts +6 -0
- package/dist/components/Avatar/index.js +6 -0
- package/dist/components/{client/Avatar → Avatar}/utils.cjs +3 -4
- package/dist/components/{client/Avatar → Avatar}/utils.d.cts +3 -3
- package/dist/components/{client/Avatar → Avatar}/utils.d.ts +3 -4
- package/dist/components/{client/Avatar → Avatar}/utils.js +2 -3
- package/dist/components/Banner/Banner.cjs +2 -2
- package/dist/components/Banner/Banner.d.cts +1 -1
- package/dist/components/Banner/Banner.d.ts +1 -1
- package/dist/components/Banner/Banner.js +2 -2
- package/dist/components/Banner/utils.d.cts +1 -1
- package/dist/components/Banner/utils.d.ts +1 -1
- package/dist/components/Box.d.cts +1 -1
- package/dist/components/Box.d.ts +1 -1
- package/dist/components/Divider/DividerCore.cjs +1 -1
- package/dist/components/Divider/DividerCore.d.cts +2 -2
- package/dist/components/Divider/DividerCore.d.ts +2 -2
- package/dist/components/Divider/DividerCore.js +1 -1
- package/dist/components/Divider/DividerInternal.d.cts +1 -1
- package/dist/components/Divider/DividerInternal.d.ts +1 -1
- package/dist/components/FormLabel.d.cts +1 -1
- package/dist/components/FormLabel.d.ts +1 -1
- package/dist/components/HStack.d.cts +1 -1
- package/dist/components/HStack.d.ts +1 -1
- package/dist/components/Icon.cjs +15 -6
- package/dist/components/Icon.d.cts +0 -1
- package/dist/components/Icon.d.ts +0 -1
- package/dist/components/Icon.js +16 -7
- package/dist/components/IconSlot.cjs +25 -6
- package/dist/components/IconSlot.d.cts +3 -2
- package/dist/components/IconSlot.d.ts +3 -2
- package/dist/components/IconSlot.js +26 -6
- package/dist/components/Image.d.cts +1 -1
- package/dist/components/Image.d.ts +1 -1
- package/dist/components/Link.d.cts +1 -1
- package/dist/components/Link.d.ts +1 -1
- package/dist/components/Text.d.cts +1 -1
- package/dist/components/Text.d.ts +1 -1
- package/dist/components/VStack.d.cts +1 -1
- package/dist/components/VStack.d.ts +1 -1
- package/dist/components/client/Avatar/AvatarImage.cjs +37 -58
- package/dist/components/client/Avatar/AvatarImage.d.cts +2 -15
- package/dist/components/client/Avatar/AvatarImage.d.ts +2 -15
- package/dist/components/client/Avatar/AvatarImage.js +36 -57
- package/dist/components/client/Avatar/index.cjs +0 -6
- package/dist/components/client/Avatar/index.d.cts +3 -5
- package/dist/components/client/Avatar/index.d.ts +3 -5
- package/dist/components/client/Avatar/index.js +1 -4
- package/dist/components/client/Badge.d.cts +1 -1
- package/dist/components/client/Badge.d.ts +1 -1
- package/dist/components/client/BottomSheet/BottomSheet.d.cts +1 -1
- package/dist/components/client/BottomSheet/BottomSheet.d.ts +1 -1
- package/dist/components/client/BottomSheet/BottomSheetContent.d.cts +1 -1
- package/dist/components/client/BottomSheet/BottomSheetContent.d.ts +1 -1
- package/dist/components/client/BottomSheet/BottomSheetHandle.d.cts +1 -1
- package/dist/components/client/BottomSheet/BottomSheetHandle.d.ts +1 -1
- package/dist/components/client/BottomSheet/BottomSheetHeader.cjs +1 -1
- package/dist/components/client/BottomSheet/BottomSheetHeader.d.cts +1 -1
- package/dist/components/client/BottomSheet/BottomSheetHeader.d.ts +1 -1
- package/dist/components/client/BottomSheet/BottomSheetHeader.js +1 -1
- package/dist/components/client/BottomSheet/useBottomSheetSnapModel.d.cts +1 -1
- package/dist/components/client/BottomSheet/useBottomSheetSnapModel.d.ts +1 -1
- package/dist/components/client/BottomSheet/utils.d.cts +1 -1
- package/dist/components/client/BottomSheet/utils.d.ts +1 -1
- package/dist/components/client/Button.cjs +1 -1
- package/dist/components/client/Button.d.cts +1 -1
- package/dist/components/client/Button.d.ts +1 -1
- package/dist/components/client/Button.js +1 -1
- package/dist/components/client/Checkbox.cjs +2 -2
- package/dist/components/client/Checkbox.d.cts +1 -1
- package/dist/components/client/Checkbox.d.ts +1 -1
- package/dist/components/client/Checkbox.js +2 -2
- package/dist/components/client/Chip/ChipBase.d.cts +1 -1
- package/dist/components/client/Chip/ChipBase.d.ts +1 -1
- package/dist/components/client/Chip/ChipButton.d.cts +1 -1
- package/dist/components/client/Chip/ChipButton.d.ts +1 -1
- package/dist/components/client/Chip/ChipDismissible.cjs +2 -2
- package/dist/components/client/Chip/ChipDismissible.d.cts +1 -1
- package/dist/components/client/Chip/ChipDismissible.d.ts +1 -1
- package/dist/components/client/Chip/ChipDismissible.js +2 -2
- package/dist/components/client/Chip/ChipLink.d.cts +1 -1
- package/dist/components/client/Chip/ChipLink.d.ts +1 -1
- package/dist/components/client/Chip/ChipToggle.d.cts +1 -1
- package/dist/components/client/Chip/ChipToggle.d.ts +1 -1
- package/dist/components/client/IconButton.cjs +7 -2
- package/dist/components/client/IconButton.js +7 -2
- package/dist/components/client/Input/Input.cjs +1 -1
- package/dist/components/client/Input/Input.d.cts +1 -1
- package/dist/components/client/Input/Input.d.ts +1 -1
- package/dist/components/client/Input/Input.js +1 -1
- package/dist/components/client/Input/InputHelpTextInternal.d.cts +1 -1
- package/dist/components/client/Input/InputHelpTextInternal.d.ts +1 -1
- package/dist/components/client/Menu/Menu.Content.d.cts +1 -1
- package/dist/components/client/Menu/Menu.Content.d.ts +1 -1
- package/dist/components/client/Menu/Menu.Item.d.cts +1 -1
- package/dist/components/client/Menu/Menu.Item.d.ts +1 -1
- package/dist/components/client/Menu/Menu.ItemBase.cjs +1 -1
- package/dist/components/client/Menu/Menu.ItemBase.d.cts +1 -1
- package/dist/components/client/Menu/Menu.ItemBase.d.ts +1 -1
- package/dist/components/client/Menu/Menu.ItemBase.js +1 -1
- package/dist/components/client/Menu/Menu.ItemCheckbox.cjs +1 -1
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +2 -2
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +2 -2
- package/dist/components/client/Menu/Menu.ItemCheckbox.js +1 -1
- package/dist/components/client/Modal/Modal.cjs +3 -3
- package/dist/components/client/Modal/Modal.d.cts +1 -1
- package/dist/components/client/Modal/Modal.d.ts +1 -1
- package/dist/components/client/Modal/Modal.js +3 -3
- package/dist/components/client/Modal/ModalActions.d.cts +1 -1
- package/dist/components/client/Modal/ModalActions.d.ts +1 -1
- package/dist/components/client/Modal/ModalContent.d.cts +1 -1
- package/dist/components/client/Modal/ModalContent.d.ts +1 -1
- package/dist/components/client/Modal/ModalContext.d.cts +1 -1
- package/dist/components/client/Modal/ModalContext.d.ts +1 -1
- package/dist/components/client/Modal/ModalDescription.d.cts +1 -1
- package/dist/components/client/Modal/ModalDescription.d.ts +1 -1
- package/dist/components/client/Modal/ModalTitle.d.cts +1 -1
- package/dist/components/client/Modal/ModalTitle.d.ts +1 -1
- package/dist/components/client/Modal/UDSModalConfigProvider.d.cts +1 -1
- package/dist/components/client/Modal/UDSModalConfigProvider.d.ts +1 -1
- package/dist/components/client/Popover/Popover.d.cts +1 -1
- package/dist/components/client/Popover/Popover.d.ts +1 -1
- package/dist/components/client/Popover/PopoverContent.cjs +3 -3
- package/dist/components/client/Popover/PopoverContent.d.cts +1 -1
- package/dist/components/client/Popover/PopoverContent.d.ts +1 -1
- package/dist/components/client/Popover/PopoverContent.js +3 -3
- package/dist/components/client/Popover/PopoverTrigger.d.cts +1 -1
- package/dist/components/client/Popover/PopoverTrigger.d.ts +1 -1
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.cts +1 -1
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.ts +1 -1
- package/dist/components/client/Popover/index.d.cts +1 -1
- package/dist/components/client/Popover/index.d.ts +1 -1
- package/dist/components/client/Pressable.d.cts +1 -1
- package/dist/components/client/Pressable.d.ts +1 -1
- package/dist/components/client/Radio/Radio.d.cts +1 -1
- package/dist/components/client/Radio/Radio.d.ts +1 -1
- package/dist/components/client/Radio/RadioGroupProvider.d.cts +1 -1
- package/dist/components/client/Radio/RadioGroupProvider.d.ts +1 -1
- package/dist/components/client/SpringMotionConfig.d.cts +1 -1
- package/dist/components/client/SpringMotionConfig.d.ts +1 -1
- package/dist/components/client/Switch.cjs +1 -1
- package/dist/components/client/Switch.d.cts +1 -1
- package/dist/components/client/Switch.d.ts +1 -1
- package/dist/components/client/Switch.js +1 -1
- package/dist/components/client/Tabs/Tab.d.cts +1 -1
- package/dist/components/client/Tabs/Tab.d.ts +1 -1
- package/dist/components/client/Tabs/TabList.d.cts +1 -1
- package/dist/components/client/Tabs/TabList.d.ts +1 -1
- package/dist/components/client/Tabs/TabPanel.d.cts +1 -1
- package/dist/components/client/Tabs/TabPanel.d.ts +1 -1
- package/dist/components/client/Tabs/Tabs.d.cts +1 -1
- package/dist/components/client/Tabs/Tabs.d.ts +1 -1
- package/dist/components/client/Tabs/tabsContext.d.cts +1 -1
- package/dist/components/client/Tabs/tabsContext.d.ts +1 -1
- package/dist/components/client/Toast/Toast.cjs +1 -1
- package/dist/components/client/Toast/Toast.d.cts +1 -1
- package/dist/components/client/Toast/Toast.d.ts +1 -1
- package/dist/components/client/Toast/Toast.js +1 -1
- package/dist/components/client/Toast/ToastContainer.d.cts +1 -1
- package/dist/components/client/Toast/ToastContainer.d.ts +1 -1
- package/dist/components/client/Toast/UDSToastConfigProvider.d.cts +2 -2
- package/dist/components/client/Toast/UDSToastConfigProvider.d.ts +2 -2
- package/dist/components/client/Toast/createToast.d.cts +1 -1
- package/dist/components/client/Toast/createToast.d.ts +1 -1
- package/dist/components/client/Tooltip/Tooltip.d.cts +1 -1
- package/dist/components/client/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/client/Tooltip/TooltipContent.cjs +1 -1
- package/dist/components/client/Tooltip/TooltipContent.d.cts +2 -2
- package/dist/components/client/Tooltip/TooltipContent.d.ts +2 -2
- package/dist/components/client/Tooltip/TooltipContent.js +1 -1
- package/dist/components/client/Tooltip/TooltipTrigger.d.cts +1 -1
- package/dist/components/client/Tooltip/TooltipTrigger.d.ts +1 -1
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.d.cts +1 -1
- package/dist/components/client/Tooltip/UDSTooltipConfigProvider.d.ts +1 -1
- package/dist/components/client/Tooltip/index.d.cts +1 -1
- package/dist/components/client/Tooltip/index.d.ts +1 -1
- package/dist/components/client/buttonConstants.d.cts +1 -1
- package/dist/components/client/buttonConstants.d.ts +1 -1
- package/dist/components/client/index.cjs +1 -7
- package/dist/components/client/index.d.cts +4 -6
- package/dist/components/client/index.d.ts +4 -6
- package/dist/components/client/index.js +2 -5
- package/dist/components/client/providers/UDSBreakpointsConfigProvider.d.cts +1 -1
- package/dist/components/client/providers/UDSBreakpointsConfigProvider.d.ts +1 -1
- package/dist/components/experimental/Table.cjs +1 -1
- package/dist/components/experimental/Table.d.cts +2 -2
- package/dist/components/experimental/Table.d.ts +2 -2
- package/dist/components/experimental/Table.js +1 -1
- package/dist/components/experimental/client/Accordion.cjs +1 -1
- package/dist/components/experimental/client/Accordion.js +1 -1
- package/dist/components/experimental/client/SegmentedControl.cjs +1 -1
- package/dist/components/experimental/client/SegmentedControl.js +1 -1
- package/dist/components/experimental/client/SwitchV2.cjs +1 -1
- package/dist/components/experimental/client/SwitchV2.d.cts +1 -1
- package/dist/components/experimental/client/SwitchV2.d.ts +1 -1
- package/dist/components/experimental/client/SwitchV2.js +1 -1
- package/dist/components/index.cjs +16 -13
- package/dist/components/index.d.cts +9 -7
- package/dist/components/index.d.ts +9 -7
- package/dist/components/index.js +10 -8
- package/dist/config/dist/index.d.cts +1 -1
- package/dist/config/dist/index.d.ts +1 -1
- package/dist/css-tokens/dist/index.d.cts +1 -1
- package/dist/css-tokens/dist/index.d.ts +1 -1
- package/dist/fixtures/dist/index.d.cts +1 -1
- package/dist/fixtures/dist/index.d.ts +1 -1
- package/dist/fixtures/index.d.cts +1 -1
- package/dist/fixtures/index.d.ts +1 -1
- package/dist/fonts/dist/index.d.cts +1 -1
- package/dist/fonts/dist/index.d.ts +1 -1
- package/dist/index.cjs +12 -10
- package/dist/index.d.cts +10 -8
- package/dist/index.d.ts +10 -8
- package/dist/index.js +9 -8
- package/dist/modes/dist/index.d.cts +1 -1
- package/dist/modes/dist/index.d.ts +1 -1
- package/dist/motion-tokens/dist/index.d.cts +1 -1
- package/dist/motion-tokens/dist/index.d.ts +1 -1
- package/dist/providers/ColorModeProvider.d.cts +1 -1
- package/dist/providers/ColorModeProvider.d.ts +1 -1
- package/dist/providers/ScaleModeProvider.d.cts +1 -1
- package/dist/providers/ScaleModeProvider.d.ts +1 -1
- package/dist/providers/ThemeProvider.d.cts +1 -1
- package/dist/providers/ThemeProvider.d.ts +1 -1
- package/dist/runtime/bottomSheetConfig.d.cts +1 -1
- package/dist/runtime/bottomSheetConfig.d.ts +1 -1
- package/dist/runtime/breakpointsConfig.d.cts +1 -1
- package/dist/runtime/breakpointsConfig.d.ts +1 -1
- package/dist/runtime/modalConfig.d.cts +1 -1
- package/dist/runtime/modalConfig.d.ts +1 -1
- package/dist/runtime/popoverConfig.d.cts +1 -1
- package/dist/runtime/popoverConfig.d.ts +1 -1
- package/dist/runtime/toastConfig.d.cts +1 -1
- package/dist/runtime/toastConfig.d.ts +1 -1
- package/dist/runtime/tooltipConfig.d.cts +1 -1
- package/dist/runtime/tooltipConfig.d.ts +1 -1
- package/dist/styles/styler.d.cts +22 -22
- package/dist/styles/styler.d.ts +22 -22
- package/dist/styles/stylerTypes.d.cts +1 -1
- package/dist/styles/stylerTypes.d.ts +1 -1
- package/dist/tailwind/dist/commands/generatePurgeCSSData.cjs +6 -2
- package/dist/tailwind/dist/commands/generatePurgeCSSData.d.cts.map +1 -1
- package/dist/tailwind/dist/commands/generatePurgeCSSData.d.ts.map +1 -1
- package/dist/tailwind/dist/commands/generatePurgeCSSData.js +5 -2
- package/dist/tailwind/dist/commands/generatePurgeCSSData.js.map +1 -1
- package/dist/tailwind/dist/tailwind/utils/getShadowStyles.d.cts +4 -4
- package/dist/tailwind/dist/tailwind/utils/getShadowStyles.d.ts +4 -4
- package/dist/tailwind/dist/types/dist/index.d.cts.map +1 -1
- package/dist/tailwind/dist/types/dist/index.d.ts.map +1 -1
- package/dist/tokens/configs/borderRadius.d.cts +1 -1
- package/dist/tokens/configs/borderRadius.d.ts +1 -1
- package/dist/tokens/configs/borderWidth.d.cts +1 -1
- package/dist/tokens/configs/borderWidth.d.ts +1 -1
- package/dist/tokens/configs/font.d.cts +1 -1
- package/dist/tokens/configs/font.d.ts +1 -1
- package/dist/tokens/configs/scaleMode.d.cts +1 -1
- package/dist/tokens/configs/scaleMode.d.ts +1 -1
- package/dist/tokens/configs/shadow.d.cts +1 -1
- package/dist/tokens/configs/shadow.d.ts +1 -1
- package/dist/tokens/configs/sizes.d.cts +1 -1
- package/dist/tokens/configs/sizes.d.ts +1 -1
- package/dist/tokens/configs/typography.d.cts +1 -1
- package/dist/tokens/configs/typography.d.ts +1 -1
- package/dist/tokens/index.d.cts +2 -2
- package/dist/tokens/index.d.ts +2 -2
- package/dist/tokens/parseButtonVariants.d.cts +1 -1
- package/dist/tokens/parseButtonVariants.d.ts +1 -1
- package/dist/tokens/types.d.cts +7 -7
- package/dist/tokens/types.d.ts +7 -7
- package/dist/tokens/utils/spectrum.d.cts +1 -1
- package/dist/tokens/utils/spectrum.d.ts +1 -1
- package/dist/types/{dist → src}/index.d.cts +35 -23
- package/dist/types/{dist → src}/index.d.ts +35 -23
- package/dist/uds/generated/componentData.cjs +504 -484
- package/dist/uds/generated/componentData.js +499 -485
- package/dist/uds/generated/tailwindPurge.cjs +128 -104
- package/dist/uds/generated/tailwindPurge.js +128 -104
- package/dist/utils/isElevationAlias.d.cts +1 -1
- package/dist/utils/isElevationAlias.d.ts +1 -1
- package/generated/componentData.json +769 -761
- package/generated/tailwindPurge.ts +3 -3
- package/package.json +1 -1
- package/dist/icons/dist/types.d.cts +0 -30
- package/dist/icons/dist/types.d.ts +0 -30
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { BreakpointsConfig } from "../types/
|
|
2
|
+
import { BreakpointsConfig } from "../types/src/index.cjs";
|
|
3
3
|
import { UniversalTokensConfig } from "../config/dist/index.cjs";
|
|
4
4
|
//#region src/runtime/breakpointsConfig.d.ts
|
|
5
5
|
interface UDSBreakpointsConfigContextType {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { BreakpointsConfig } from "../types/
|
|
2
|
+
import { BreakpointsConfig } from "../types/src/index.js";
|
|
3
3
|
import { UniversalTokensConfig } from "../config/dist/index.js";
|
|
4
4
|
//#region src/runtime/breakpointsConfig.d.ts
|
|
5
5
|
interface UDSBreakpointsConfigContextType {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { ModalSize, ModalVariant, SpacingAlias } from "../types/
|
|
2
|
+
import { ModalSize, ModalVariant, SpacingAlias } from "../types/src/index.cjs";
|
|
3
3
|
import { UniversalTokensConfig } from "../config/dist/index.cjs";
|
|
4
4
|
//#region src/runtime/modalConfig.d.ts
|
|
5
5
|
interface UDSModalConfigContextType {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { ModalSize, ModalVariant, SpacingAlias } from "../types/
|
|
2
|
+
import { ModalSize, ModalVariant, SpacingAlias } from "../types/src/index.js";
|
|
3
3
|
import { UniversalTokensConfig } from "../config/dist/index.js";
|
|
4
4
|
//#region src/runtime/modalConfig.d.ts
|
|
5
5
|
interface UDSModalConfigContextType {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { PopoverPlacement, PopoverSize, PopoverVariant, SpacingAlias } from "../types/
|
|
2
|
+
import { PopoverPlacement, PopoverSize, PopoverVariant, SpacingAlias } from "../types/src/index.cjs";
|
|
3
3
|
import { UniversalTokensConfig } from "../config/dist/index.cjs";
|
|
4
4
|
import { PopoverProviderProps } from "@ariakit/react";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { PopoverPlacement, PopoverSize, PopoverVariant, SpacingAlias } from "../types/
|
|
2
|
+
import { PopoverPlacement, PopoverSize, PopoverVariant, SpacingAlias } from "../types/src/index.js";
|
|
3
3
|
import { UniversalTokensConfig } from "../config/dist/index.js";
|
|
4
4
|
import { PopoverProviderProps } from "@ariakit/react";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { ButtonSize, ButtonVariant, IconSize, IconVariant, TextVariant, ToastPosition, ToastSize, ToastVariant, UniversalTextProps } from "../types/
|
|
2
|
+
import { ButtonSize, ButtonVariant, IconSize, IconVariant, TextVariant, ToastPosition, ToastSize, ToastVariant, UniversalTextProps } from "../types/src/index.cjs";
|
|
3
3
|
import { UniversalTokensConfig } from "../config/dist/index.cjs";
|
|
4
4
|
//#region src/runtime/toastConfig.d.ts
|
|
5
5
|
type ToastVariantRoot = UniversalTokensConfig['toast']['variables'][`variant/${ToastVariant}/root`];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { ButtonSize, ButtonVariant, IconSize, IconVariant, TextVariant, ToastPosition, ToastSize, ToastVariant, UniversalTextProps } from "../types/
|
|
2
|
+
import { ButtonSize, ButtonVariant, IconSize, IconVariant, TextVariant, ToastPosition, ToastSize, ToastVariant, UniversalTextProps } from "../types/src/index.js";
|
|
3
3
|
import { UniversalTokensConfig } from "../config/dist/index.js";
|
|
4
4
|
//#region src/runtime/toastConfig.d.ts
|
|
5
5
|
type ToastVariantRoot = UniversalTokensConfig['toast']['variables'][`variant/${ToastVariant}/root`];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { TooltipPlacement, TooltipSize } from "../types/
|
|
2
|
+
import { TooltipPlacement, TooltipSize } from "../types/src/index.cjs";
|
|
3
3
|
import { UniversalTokensConfig } from "../config/dist/index.cjs";
|
|
4
4
|
import { TooltipProviderProps } from "@ariakit/react";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { TooltipPlacement, TooltipSize } from "../types/
|
|
2
|
+
import { TooltipPlacement, TooltipSize } from "../types/src/index.js";
|
|
3
3
|
import { UniversalTokensConfig } from "../config/dist/index.js";
|
|
4
4
|
import { TooltipProviderProps } from "@ariakit/react";
|
|
5
5
|
|
package/dist/styles/styler.d.cts
CHANGED
|
@@ -171,10 +171,10 @@ declare const getStylesInternal: (props?: ({
|
|
|
171
171
|
toastSizeIcon?: "default" | undefined;
|
|
172
172
|
toastSizeLabel?: "default" | undefined;
|
|
173
173
|
toastSizeRoot?: "default" | undefined;
|
|
174
|
-
toastVariantActionButton?: "
|
|
175
|
-
toastVariantCloseIcon?: "
|
|
176
|
-
toastVariantIcon?: "
|
|
177
|
-
toastVariantRoot?: "
|
|
174
|
+
toastVariantActionButton?: "warning" | "info" | "default" | "loading" | "success" | "error" | undefined;
|
|
175
|
+
toastVariantCloseIcon?: "warning" | "info" | "default" | "loading" | "success" | "error" | undefined;
|
|
176
|
+
toastVariantIcon?: "warning" | "info" | "default" | "loading" | "success" | "error" | undefined;
|
|
177
|
+
toastVariantRoot?: "warning" | "info" | "default" | "loading" | "success" | "error" | undefined;
|
|
178
178
|
tooltipSizeBody?: "default" | undefined;
|
|
179
179
|
tooltipSizeEndContent?: "default" | undefined;
|
|
180
180
|
tooltipSizeIcon?: "default" | undefined;
|
|
@@ -189,7 +189,7 @@ declare const getStylesInternal: (props?: ({
|
|
|
189
189
|
placeholderColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "tertiary" | "muted" | "on-color" | undefined;
|
|
190
190
|
fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "sans" | "sans-alt" | "serif" | "serif-alt" | "mono" | undefined;
|
|
191
191
|
fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
192
|
-
fontWeight?: "black" | "thin" | "medium" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "
|
|
192
|
+
fontWeight?: "black" | "thin" | "medium" | "bold" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "extralight" | "light" | "regular" | "semibold" | "extrabold" | undefined;
|
|
193
193
|
lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
194
194
|
letterSpacing?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
195
195
|
textAlign?: "center" | "justify" | "start" | "end" | undefined;
|
|
@@ -221,39 +221,39 @@ declare const getStylesInternal: (props?: ({
|
|
|
221
221
|
borderTopEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
222
222
|
borderBottomStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
223
223
|
borderBottomEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
224
|
-
borderWidth?: "
|
|
225
|
-
borderVerticalWidth?: "
|
|
226
|
-
borderHorizontalWidth?: "
|
|
227
|
-
borderStartWidth?: "
|
|
228
|
-
borderEndWidth?: "
|
|
229
|
-
borderTopWidth?: "
|
|
230
|
-
borderBottomWidth?: "
|
|
224
|
+
borderWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
225
|
+
borderVerticalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
226
|
+
borderHorizontalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
227
|
+
borderStartWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
228
|
+
borderEndWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
229
|
+
borderTopWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
230
|
+
borderBottomWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
231
231
|
avatarSize?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | undefined;
|
|
232
232
|
iconSize?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
233
|
-
alignContent?: "
|
|
234
|
-
alignItems?: "
|
|
235
|
-
alignSelf?: "
|
|
236
|
-
flex?: "
|
|
233
|
+
alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
|
|
234
|
+
alignItems?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | undefined;
|
|
235
|
+
alignSelf?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | "auto" | undefined;
|
|
236
|
+
flex?: "1" | "none" | "auto" | "initial" | undefined;
|
|
237
237
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
238
238
|
flexGrow?: "0" | "1" | "2" | "3" | undefined;
|
|
239
239
|
flexShrink?: "0" | "1" | undefined;
|
|
240
240
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
241
|
-
justifyContent?: "
|
|
241
|
+
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
242
242
|
flexBasis?: "min-content" | undefined;
|
|
243
|
-
display?: "flex" | "none" | "block" | "inline-block" | "inline" | "inline-flex" | "
|
|
243
|
+
display?: "flex" | "table" | "none" | "block" | "inline-block" | "inline" | "inline-flex" | "inline-table" | "table-caption" | "table-cell" | "table-column" | "table-column-group" | "table-footer-group" | "table-header-group" | "table-row-group" | "table-row" | "flow-root" | "grid" | "contents" | undefined;
|
|
244
244
|
overflow?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
245
245
|
overflowX?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
246
246
|
overflowY?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
247
247
|
position?: "static" | "fixed" | "absolute" | "relative" | "sticky" | undefined;
|
|
248
|
-
contentFit?: "
|
|
248
|
+
contentFit?: "none" | "fill" | "cover" | "contain" | "scale-down" | undefined;
|
|
249
249
|
colorMode?: "light" | "dark" | undefined;
|
|
250
|
-
scaleMode?: "
|
|
250
|
+
scaleMode?: "small" | "medium" | "xSmall" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
|
|
251
251
|
width?: "full" | "fit" | "screen" | undefined;
|
|
252
252
|
height?: "full" | "fit" | "screen" | undefined;
|
|
253
|
-
dropShadow?: "
|
|
253
|
+
dropShadow?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
254
254
|
insetShadow?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "xs-invert" | "sm-invert" | "md-invert" | "lg-invert" | "xl-invert" | "2xl-invert" | undefined;
|
|
255
255
|
nestedBorderRadiusSize?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
256
|
-
nestedBorderRadiusWidth?: "
|
|
256
|
+
nestedBorderRadiusWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
257
257
|
nestedBorderRadiusSpacing?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
258
258
|
nestedBorderRadius?: boolean | "first" | "last" | undefined;
|
|
259
259
|
} & {
|
package/dist/styles/styler.d.ts
CHANGED
|
@@ -171,10 +171,10 @@ declare const getStylesInternal: (props?: ({
|
|
|
171
171
|
toastSizeIcon?: "default" | undefined;
|
|
172
172
|
toastSizeLabel?: "default" | undefined;
|
|
173
173
|
toastSizeRoot?: "default" | undefined;
|
|
174
|
-
toastVariantActionButton?: "
|
|
175
|
-
toastVariantCloseIcon?: "
|
|
176
|
-
toastVariantIcon?: "
|
|
177
|
-
toastVariantRoot?: "
|
|
174
|
+
toastVariantActionButton?: "warning" | "info" | "default" | "loading" | "success" | "error" | undefined;
|
|
175
|
+
toastVariantCloseIcon?: "warning" | "info" | "default" | "loading" | "success" | "error" | undefined;
|
|
176
|
+
toastVariantIcon?: "warning" | "info" | "default" | "loading" | "success" | "error" | undefined;
|
|
177
|
+
toastVariantRoot?: "warning" | "info" | "default" | "loading" | "success" | "error" | undefined;
|
|
178
178
|
tooltipSizeBody?: "default" | undefined;
|
|
179
179
|
tooltipSizeEndContent?: "default" | undefined;
|
|
180
180
|
tooltipSizeIcon?: "default" | undefined;
|
|
@@ -189,7 +189,7 @@ declare const getStylesInternal: (props?: ({
|
|
|
189
189
|
placeholderColor?: "primary" | "secondary" | "accent" | "brand" | "alert" | "positive" | "warning" | "info" | "brand-secondary" | "alert-secondary" | "positive-secondary" | "warning-secondary" | "info-secondary" | "white" | "black" | "transparent" | "current" | "always/white" | "always/black" | "always/transparent" | "always/current" | "always/brand" | "always/accent" | "tertiary" | "muted" | "on-color" | undefined;
|
|
190
190
|
fontFamily?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "sans" | "sans-alt" | "serif" | "serif-alt" | "mono" | undefined;
|
|
191
191
|
fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
192
|
-
fontWeight?: "black" | "thin" | "medium" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "
|
|
192
|
+
fontWeight?: "black" | "thin" | "medium" | "bold" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | "extralight" | "light" | "regular" | "semibold" | "extrabold" | undefined;
|
|
193
193
|
lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
194
194
|
letterSpacing?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2" | "legal1" | "ui1" | "ui2" | "ui3" | "ui4" | "ui5" | "ui6" | "display1/emphasized" | "display2/emphasized" | "display3/emphasized" | "title1/emphasized" | "title2/emphasized" | "title3/emphasized" | "title4/emphasized" | "headline1/emphasized" | "body1/emphasized" | "label1/emphasized" | "label2/emphasized" | "label3/emphasized" | "label4/emphasized" | "caption1/emphasized" | "caption2/emphasized" | "legal1/emphasized" | "ui1/emphasized" | "ui2/emphasized" | "ui3/emphasized" | "ui4/emphasized" | "ui5/emphasized" | "ui6/emphasized" | undefined;
|
|
195
195
|
textAlign?: "center" | "justify" | "start" | "end" | undefined;
|
|
@@ -221,39 +221,39 @@ declare const getStylesInternal: (props?: ({
|
|
|
221
221
|
borderTopEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
222
222
|
borderBottomStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
223
223
|
borderBottomEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
224
|
-
borderWidth?: "
|
|
225
|
-
borderVerticalWidth?: "
|
|
226
|
-
borderHorizontalWidth?: "
|
|
227
|
-
borderStartWidth?: "
|
|
228
|
-
borderEndWidth?: "
|
|
229
|
-
borderTopWidth?: "
|
|
230
|
-
borderBottomWidth?: "
|
|
224
|
+
borderWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
225
|
+
borderVerticalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
226
|
+
borderHorizontalWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
227
|
+
borderStartWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
228
|
+
borderEndWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
229
|
+
borderTopWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
230
|
+
borderBottomWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
231
231
|
avatarSize?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | undefined;
|
|
232
232
|
iconSize?: "xs" | "sm" | "md" | "lg" | undefined;
|
|
233
|
-
alignContent?: "
|
|
234
|
-
alignItems?: "
|
|
235
|
-
alignSelf?: "
|
|
236
|
-
flex?: "
|
|
233
|
+
alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
|
|
234
|
+
alignItems?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | undefined;
|
|
235
|
+
alignSelf?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | "auto" | undefined;
|
|
236
|
+
flex?: "1" | "none" | "auto" | "initial" | undefined;
|
|
237
237
|
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
238
238
|
flexGrow?: "0" | "1" | "2" | "3" | undefined;
|
|
239
239
|
flexShrink?: "0" | "1" | undefined;
|
|
240
240
|
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
241
|
-
justifyContent?: "
|
|
241
|
+
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
242
242
|
flexBasis?: "min-content" | undefined;
|
|
243
|
-
display?: "flex" | "none" | "block" | "inline-block" | "inline" | "inline-flex" | "
|
|
243
|
+
display?: "flex" | "table" | "none" | "block" | "inline-block" | "inline" | "inline-flex" | "inline-table" | "table-caption" | "table-cell" | "table-column" | "table-column-group" | "table-footer-group" | "table-header-group" | "table-row-group" | "table-row" | "flow-root" | "grid" | "contents" | undefined;
|
|
244
244
|
overflow?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
245
245
|
overflowX?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
246
246
|
overflowY?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
|
|
247
247
|
position?: "static" | "fixed" | "absolute" | "relative" | "sticky" | undefined;
|
|
248
|
-
contentFit?: "
|
|
248
|
+
contentFit?: "none" | "fill" | "cover" | "contain" | "scale-down" | undefined;
|
|
249
249
|
colorMode?: "light" | "dark" | undefined;
|
|
250
|
-
scaleMode?: "
|
|
250
|
+
scaleMode?: "small" | "medium" | "xSmall" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
|
|
251
251
|
width?: "full" | "fit" | "screen" | undefined;
|
|
252
252
|
height?: "full" | "fit" | "screen" | undefined;
|
|
253
|
-
dropShadow?: "
|
|
253
|
+
dropShadow?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | undefined;
|
|
254
254
|
insetShadow?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "xs-invert" | "sm-invert" | "md-invert" | "lg-invert" | "xl-invert" | "2xl-invert" | undefined;
|
|
255
255
|
nestedBorderRadiusSize?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
256
|
-
nestedBorderRadiusWidth?: "
|
|
256
|
+
nestedBorderRadiusWidth?: "elevation-0" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-4" | "elevation-5" | "none" | "thin" | "medium" | "thick" | undefined;
|
|
257
257
|
nestedBorderRadiusSpacing?: "0" | "1" | "2" | "3" | "4" | "5" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
|
|
258
258
|
nestedBorderRadius?: boolean | "first" | "last" | undefined;
|
|
259
259
|
} & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { ColorMode, ScaleMode, StyleProps } from "../types/
|
|
2
|
+
import { ColorMode, ScaleMode, StyleProps } from "../types/src/index.cjs";
|
|
3
3
|
import { StylePropsVariantsAuto } from "../automated-config/dist/generated/autoVariants.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/styles/stylerTypes.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { ColorMode, ScaleMode, StyleProps } from "../types/
|
|
2
|
+
import { ColorMode, ScaleMode, StyleProps } from "../types/src/index.js";
|
|
3
3
|
import { StylePropsVariantsAuto } from "../automated-config/dist/generated/autoVariants.js";
|
|
4
4
|
|
|
5
5
|
//#region src/styles/stylerTypes.d.ts
|
|
@@ -3,6 +3,8 @@ const require_runtime = require("../_virtual/_rolldown/runtime.cjs");
|
|
|
3
3
|
const require_colors = require("../cli/dist/lib/colors.cjs");
|
|
4
4
|
const require_print = require("../cli/dist/lib/print.cjs");
|
|
5
5
|
const require_generatePurgeCSSData = require("../utils/generatePurgeCSSData.cjs");
|
|
6
|
+
let node_fs = require("node:fs");
|
|
7
|
+
node_fs = require_runtime.__toESM(node_fs, 1);
|
|
6
8
|
let node_path = require("node:path");
|
|
7
9
|
node_path = require_runtime.__toESM(node_path, 1);
|
|
8
10
|
//#region src/commands/generatePurgeCSSData.ts
|
|
@@ -36,8 +38,10 @@ export const componentToVariants: ComponentToVariants = ${JSON.stringify(compone
|
|
|
36
38
|
export const componentToTwClasses: ComponentToTwClasses = ${JSON.stringify(componentToTwClasses)};
|
|
37
39
|
export const componentsDependencies: ComponentDependencies = ${JSON.stringify(componentsDependencies)};
|
|
38
40
|
`;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
+
node_fs.default.mkdirSync(node_path.default.dirname(outputFilePath), { recursive: true });
|
|
42
|
+
node_fs.default.writeFileSync(outputFilePath, fileContent);
|
|
43
|
+
if (node_fs.default.existsSync(outputFilePath)) require_print.print(require_colors.green(`✅ Purge CSS Data saved ${outputFilePath}`));
|
|
44
|
+
else require_print.print(require_colors.green(`❌ Failed to generate Purge CSS Data at ${outputFilePath}`));
|
|
41
45
|
}
|
|
42
46
|
});
|
|
43
47
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatePurgeCSSData.d.cts","names":[],"sources":["../../src/commands/generatePurgeCSSData.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"generatePurgeCSSData.d.cts","names":[],"sources":["../../src/commands/generatePurgeCSSData.ts"],"mappings":";;;;;KAsBK,OAAA;EACH,OAAA,EAAS,OAAA;EAET,QAAA,EAAU,MAAA,SAAe,MAAA;EAEzB,GAAA,EAAK,MAAA;EAEL,gBAAA,EAAkB,MAAA;AAAA;AAAA,cAGP,+BAAA,GAAmC,UAAA,QAAkB,OAAA,CAAQ,OAAA,MAAW,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatePurgeCSSData.d.ts","names":[],"sources":["../../src/commands/generatePurgeCSSData.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"generatePurgeCSSData.d.ts","names":[],"sources":["../../src/commands/generatePurgeCSSData.ts"],"mappings":";;;;;KAsBK,OAAA;EACH,OAAA,EAAS,OAAA;EAET,QAAA,EAAU,MAAA,SAAe,MAAA;EAEzB,GAAA,EAAK,MAAA;EAEL,gBAAA,EAAkB,MAAA;AAAA;AAAA,cAGP,+BAAA,GAAmC,UAAA,QAAkB,OAAA,CAAQ,OAAA,MAAW,OAAA"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { green } from "../cli/dist/lib/colors.js";
|
|
3
3
|
import { print } from "../cli/dist/lib/print.js";
|
|
4
4
|
import { addAutoVariantsToComponentClasses, convertVariantsIntoTailwindClass, getComponentsDependencies, getComponentsProps, getExportedComponents, getExportsToFilePath, getTwClassesInComponent } from "../utils/generatePurgeCSSData.js";
|
|
5
|
+
import fs from "node:fs";
|
|
5
6
|
import path from "node:path";
|
|
6
7
|
//#region src/commands/generatePurgeCSSData.ts
|
|
7
8
|
const makeGeneratePurgeCSSDataCommand = (getContext) => ({
|
|
@@ -34,8 +35,10 @@ export const componentToVariants: ComponentToVariants = ${JSON.stringify(compone
|
|
|
34
35
|
export const componentToTwClasses: ComponentToTwClasses = ${JSON.stringify(componentToTwClasses)};
|
|
35
36
|
export const componentsDependencies: ComponentDependencies = ${JSON.stringify(componentsDependencies)};
|
|
36
37
|
`;
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
fs.mkdirSync(path.dirname(outputFilePath), { recursive: true });
|
|
39
|
+
fs.writeFileSync(outputFilePath, fileContent);
|
|
40
|
+
if (fs.existsSync(outputFilePath)) print(green(`✅ Purge CSS Data saved ${outputFilePath}`));
|
|
41
|
+
else print(green(`❌ Failed to generate Purge CSS Data at ${outputFilePath}`));
|
|
39
42
|
}
|
|
40
43
|
});
|
|
41
44
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatePurgeCSSData.js","names":[],"sources":["../../src/commands/generatePurgeCSSData.ts"],"sourcesContent":["import path from 'node:path';\n\nimport type { Command, Props } from '@yahoo/uds-cli/lib';\nimport { green, print } from '@yahoo/uds-cli/lib';\nimport type { Project } from 'ts-morph';\n\nimport {\n addAutoVariantsToComponentClasses,\n convertVariantsIntoTailwindClass,\n getComponentsDependencies,\n getComponentsProps,\n getExportedComponents,\n getExportsToFilePath,\n getTwClassesInComponent,\n} from '../utils/generatePurgeCSSData';\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\ninterface GeneratePurgeCSSDataProps extends Props {\n // options: PurgeOptions;\n}\n\ntype Context = {\n project: Project;\n\n variants: Record<string, Record<string, string>>;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n UDS: Record<string, any>;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n UDS_EXPERIMENTAL: Record<string, any>;\n};\n\nexport const makeGeneratePurgeCSSDataCommand = (getContext: () => Promise<Context>): Command => ({\n name: 'generatePurgeCSSData',\n description: `Generates purge CSS data for UDS components. This is an internal command used to generate the data needed to purge unused CSS in UDS. It should not be used directly by users.`,\n tag: 'hidden',\n\n run: async (_props: GeneratePurgeCSSDataProps) => {\n const { project, variants, UDS, UDS_EXPERIMENTAL } = await getContext();\n\n // 1. Get all the exported components form UDS as a list\n const exportedComponents = getExportedComponents(UDS, UDS_EXPERIMENTAL);\n const exportsToFilePath = getExportsToFilePath(project);\n // 2. Convert the CVA variants list into something we can easily work with\n const variantsList = convertVariantsIntoTailwindClass(variants);\n // 3. Get the styling props for each component\n const componentToVariants = getComponentsProps(\n project,\n exportedComponents,\n variants,\n variantsList,\n exportsToFilePath,\n );\n // 4. Get components dependencies\n const componentsDependencies = getComponentsDependencies(\n project,\n exportedComponents,\n exportsToFilePath,\n );\n // 5. Get the inline TW classes per component\n let componentToTwClasses = await getTwClassesInComponent(exportedComponents, exportsToFilePath);\n // 6. Add auto variants to component classes\n // NOTE: this is temporary while we work on a proper solution to purge the YOS components\n componentToTwClasses = addAutoVariantsToComponentClasses(componentToTwClasses);\n // 7. Save everything under UDS\n const outputFilePath = path.resolve(process.cwd(), './generated/tailwindPurge.ts');\n const fileContent = `\n//! This file is generated by \\`uds purge\\` from @yahoo/uds\n//! Do not edit directly\n//! If there is issue with this file please report to #ask-uds\n\nexport type PropToUsedOptions = [string, string[]];\nexport type ComponentToVariants = { [key: string]: PropToUsedOptions[] };\nexport type VariantsList = string[];\nexport type ComponentDependencies = { [key: string]: string[] };\nexport type ComponentToTwClasses = { [key: string]: string };\n\nexport const variantsList: VariantsList = ${JSON.stringify(variantsList)};\nexport const componentToVariants: ComponentToVariants = ${JSON.stringify(componentToVariants)};\nexport const componentToTwClasses: ComponentToTwClasses = ${JSON.stringify(componentToTwClasses)};\nexport const componentsDependencies: ComponentDependencies = ${JSON.stringify(componentsDependencies)};\n`;\n\n
|
|
1
|
+
{"version":3,"file":"generatePurgeCSSData.js","names":[],"sources":["../../src/commands/generatePurgeCSSData.ts"],"sourcesContent":["import fs from 'node:fs';\nimport path from 'node:path';\n\nimport type { Command, Props } from '@yahoo/uds-cli/lib';\nimport { green, print } from '@yahoo/uds-cli/lib';\nimport type { Project } from 'ts-morph';\n\nimport {\n addAutoVariantsToComponentClasses,\n convertVariantsIntoTailwindClass,\n getComponentsDependencies,\n getComponentsProps,\n getExportedComponents,\n getExportsToFilePath,\n getTwClassesInComponent,\n} from '../utils/generatePurgeCSSData';\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\ninterface GeneratePurgeCSSDataProps extends Props {\n // options: PurgeOptions;\n}\n\ntype Context = {\n project: Project;\n\n variants: Record<string, Record<string, string>>;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n UDS: Record<string, any>;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n UDS_EXPERIMENTAL: Record<string, any>;\n};\n\nexport const makeGeneratePurgeCSSDataCommand = (getContext: () => Promise<Context>): Command => ({\n name: 'generatePurgeCSSData',\n description: `Generates purge CSS data for UDS components. This is an internal command used to generate the data needed to purge unused CSS in UDS. It should not be used directly by users.`,\n tag: 'hidden',\n\n run: async (_props: GeneratePurgeCSSDataProps) => {\n const { project, variants, UDS, UDS_EXPERIMENTAL } = await getContext();\n\n // 1. Get all the exported components form UDS as a list\n const exportedComponents = getExportedComponents(UDS, UDS_EXPERIMENTAL);\n const exportsToFilePath = getExportsToFilePath(project);\n // 2. Convert the CVA variants list into something we can easily work with\n const variantsList = convertVariantsIntoTailwindClass(variants);\n // 3. Get the styling props for each component\n const componentToVariants = getComponentsProps(\n project,\n exportedComponents,\n variants,\n variantsList,\n exportsToFilePath,\n );\n // 4. Get components dependencies\n const componentsDependencies = getComponentsDependencies(\n project,\n exportedComponents,\n exportsToFilePath,\n );\n // 5. Get the inline TW classes per component\n let componentToTwClasses = await getTwClassesInComponent(exportedComponents, exportsToFilePath);\n // 6. Add auto variants to component classes\n // NOTE: this is temporary while we work on a proper solution to purge the YOS components\n componentToTwClasses = addAutoVariantsToComponentClasses(componentToTwClasses);\n // 7. Save everything under UDS\n const outputFilePath = path.resolve(process.cwd(), './generated/tailwindPurge.ts');\n const fileContent = `\n//! This file is generated by \\`uds purge\\` from @yahoo/uds\n//! Do not edit directly\n//! If there is issue with this file please report to #ask-uds\n\nexport type PropToUsedOptions = [string, string[]];\nexport type ComponentToVariants = { [key: string]: PropToUsedOptions[] };\nexport type VariantsList = string[];\nexport type ComponentDependencies = { [key: string]: string[] };\nexport type ComponentToTwClasses = { [key: string]: string };\n\nexport const variantsList: VariantsList = ${JSON.stringify(variantsList)};\nexport const componentToVariants: ComponentToVariants = ${JSON.stringify(componentToVariants)};\nexport const componentToTwClasses: ComponentToTwClasses = ${JSON.stringify(componentToTwClasses)};\nexport const componentsDependencies: ComponentDependencies = ${JSON.stringify(componentsDependencies)};\n`;\n\n fs.mkdirSync(path.dirname(outputFilePath), { recursive: true });\n fs.writeFileSync(outputFilePath, fileContent);\n\n if (fs.existsSync(outputFilePath)) {\n print(green(`✅ Purge CSS Data saved ${outputFilePath}`));\n } else {\n print(green(`❌ Failed to generate Purge CSS Data at ${outputFilePath}`));\n }\n },\n});\n"],"mappings":";;;;;;;AAgCA,MAAa,mCAAmC,gBAAiD;CAC/F,MAAM;CACN,aAAa;CACb,KAAK;CAEL,KAAK,OAAO,WAAsC;EAChD,MAAM,EAAE,SAAS,UAAU,KAAK,qBAAqB,MAAM,YAAY;EAGvE,MAAM,qBAAqB,sBAAsB,KAAK,iBAAiB;EACvE,MAAM,oBAAoB,qBAAqB,QAAQ;EAEvD,MAAM,eAAe,iCAAiC,SAAS;EAE/D,MAAM,sBAAsB,mBAC1B,SACA,oBACA,UACA,cACA,kBACD;EAED,MAAM,yBAAyB,0BAC7B,SACA,oBACA,kBACD;EAED,IAAI,uBAAuB,MAAM,wBAAwB,oBAAoB,kBAAkB;AAG/F,yBAAuB,kCAAkC,qBAAqB;EAE9E,MAAM,iBAAiB,KAAK,QAAQ,QAAQ,KAAK,EAAE,+BAA+B;EAClF,MAAM,cAAc;;;;;;;;;;;4CAWoB,KAAK,UAAU,aAAa,CAAC;0DACf,KAAK,UAAU,oBAAoB,CAAC;4DAClC,KAAK,UAAU,qBAAqB,CAAC;+DAClC,KAAK,UAAU,uBAAuB,CAAC;;AAGlG,KAAG,UAAU,KAAK,QAAQ,eAAe,EAAE,EAAE,WAAW,MAAM,CAAC;AAC/D,KAAG,cAAc,gBAAgB,YAAY;AAE7C,MAAI,GAAG,WAAW,eAAe,CAC/B,OAAM,MAAM,0BAA0B,iBAAiB,CAAC;MAExD,OAAM,MAAM,0CAA0C,iBAAiB,CAAC;;CAG7E"}
|
|
@@ -3,8 +3,8 @@ import { ElevationAlias, ShadowType, ShadowVariant } from "../../types/dist/inde
|
|
|
3
3
|
import { UniversalTokensConfig } from "../../config/dist/index.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/tailwind/utils/getShadowStyles.d.ts
|
|
6
|
-
declare const shadowVariantToCSS: (shadowType: ShadowType, shadowVariant: ShadowVariant | ElevationAlias) => readonly [".uds-inset-shadow-
|
|
7
|
-
readonly [x: string]: "var(--uds-inset-shadow-
|
|
6
|
+
declare const shadowVariantToCSS: (shadowType: ShadowType, shadowVariant: ShadowVariant | ElevationAlias) => readonly [".uds-inset-shadow-sm" | ".uds-inset-shadow-md" | ".uds-inset-shadow-lg" | ".uds-inset-shadow-xl" | ".uds-inset-shadow-2xl" | ".uds-inset-shadow-none" | ".uds-inset-shadow-xs" | ".uds-inset-shadow-elevation-0" | ".uds-inset-shadow-elevation-1" | ".uds-inset-shadow-elevation-2" | ".uds-inset-shadow-elevation-3" | ".uds-inset-shadow-elevation-4" | ".uds-inset-shadow-elevation-5" | ".uds-drop-shadow-sm" | ".uds-drop-shadow-md" | ".uds-drop-shadow-lg" | ".uds-drop-shadow-xl" | ".uds-drop-shadow-2xl" | ".uds-drop-shadow-none" | ".uds-drop-shadow-xs" | ".uds-drop-shadow-elevation-0" | ".uds-drop-shadow-elevation-1" | ".uds-drop-shadow-elevation-2" | ".uds-drop-shadow-elevation-3" | ".uds-drop-shadow-elevation-4" | ".uds-drop-shadow-elevation-5", {
|
|
7
|
+
readonly [x: string]: "var(--uds-inset-shadow-sm)" | "var(--uds-inset-shadow-md)" | "var(--uds-inset-shadow-lg)" | "var(--uds-inset-shadow-xl)" | "var(--uds-inset-shadow-2xl)" | "var(--uds-inset-shadow-none)" | "var(--uds-inset-shadow-xs)" | "var(--uds-inset-shadow-elevation-0)" | "var(--uds-inset-shadow-elevation-1)" | "var(--uds-inset-shadow-elevation-2)" | "var(--uds-inset-shadow-elevation-3)" | "var(--uds-inset-shadow-elevation-4)" | "var(--uds-inset-shadow-elevation-5)" | "var(--uds-drop-shadow-sm)" | "var(--uds-drop-shadow-md)" | "var(--uds-drop-shadow-lg)" | "var(--uds-drop-shadow-xl)" | "var(--uds-drop-shadow-2xl)" | "var(--uds-drop-shadow-none)" | "var(--uds-drop-shadow-xs)" | "var(--uds-drop-shadow-elevation-0)" | "var(--uds-drop-shadow-elevation-1)" | "var(--uds-drop-shadow-elevation-2)" | "var(--uds-drop-shadow-elevation-3)" | "var(--uds-drop-shadow-elevation-4)" | "var(--uds-drop-shadow-elevation-5)" | "var(--uds-drop-shadow, 0 0 transparent), var(--uds-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)";
|
|
8
8
|
readonly boxShadow: "var(--uds-drop-shadow, 0 0 transparent), var(--uds-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)";
|
|
9
9
|
}];
|
|
10
10
|
declare function getShadowStyles({
|
|
@@ -13,8 +13,8 @@ declare function getShadowStyles({
|
|
|
13
13
|
}: {
|
|
14
14
|
config: UniversalTokensConfig;
|
|
15
15
|
shadowType: ShadowType;
|
|
16
|
-
}): Record<".uds-inset-shadow-
|
|
17
|
-
readonly [x: string]: "var(--uds-inset-shadow-
|
|
16
|
+
}): Record<".uds-inset-shadow-sm" | ".uds-inset-shadow-md" | ".uds-inset-shadow-lg" | ".uds-inset-shadow-xl" | ".uds-inset-shadow-2xl" | ".uds-inset-shadow-none" | ".uds-inset-shadow-xs" | ".uds-inset-shadow-elevation-0" | ".uds-inset-shadow-elevation-1" | ".uds-inset-shadow-elevation-2" | ".uds-inset-shadow-elevation-3" | ".uds-inset-shadow-elevation-4" | ".uds-inset-shadow-elevation-5" | ".uds-drop-shadow-sm" | ".uds-drop-shadow-md" | ".uds-drop-shadow-lg" | ".uds-drop-shadow-xl" | ".uds-drop-shadow-2xl" | ".uds-drop-shadow-none" | ".uds-drop-shadow-xs" | ".uds-drop-shadow-elevation-0" | ".uds-drop-shadow-elevation-1" | ".uds-drop-shadow-elevation-2" | ".uds-drop-shadow-elevation-3" | ".uds-drop-shadow-elevation-4" | ".uds-drop-shadow-elevation-5", {
|
|
17
|
+
readonly [x: string]: "var(--uds-inset-shadow-sm)" | "var(--uds-inset-shadow-md)" | "var(--uds-inset-shadow-lg)" | "var(--uds-inset-shadow-xl)" | "var(--uds-inset-shadow-2xl)" | "var(--uds-inset-shadow-none)" | "var(--uds-inset-shadow-xs)" | "var(--uds-inset-shadow-elevation-0)" | "var(--uds-inset-shadow-elevation-1)" | "var(--uds-inset-shadow-elevation-2)" | "var(--uds-inset-shadow-elevation-3)" | "var(--uds-inset-shadow-elevation-4)" | "var(--uds-inset-shadow-elevation-5)" | "var(--uds-drop-shadow-sm)" | "var(--uds-drop-shadow-md)" | "var(--uds-drop-shadow-lg)" | "var(--uds-drop-shadow-xl)" | "var(--uds-drop-shadow-2xl)" | "var(--uds-drop-shadow-none)" | "var(--uds-drop-shadow-xs)" | "var(--uds-drop-shadow-elevation-0)" | "var(--uds-drop-shadow-elevation-1)" | "var(--uds-drop-shadow-elevation-2)" | "var(--uds-drop-shadow-elevation-3)" | "var(--uds-drop-shadow-elevation-4)" | "var(--uds-drop-shadow-elevation-5)" | "var(--uds-drop-shadow, 0 0 transparent), var(--uds-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)";
|
|
18
18
|
readonly boxShadow: "var(--uds-drop-shadow, 0 0 transparent), var(--uds-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)";
|
|
19
19
|
}>;
|
|
20
20
|
//#endregion
|
|
@@ -3,8 +3,8 @@ import { ElevationAlias, ShadowType, ShadowVariant } from "../../types/dist/inde
|
|
|
3
3
|
import { UniversalTokensConfig } from "../../config/dist/index.js";
|
|
4
4
|
|
|
5
5
|
//#region src/tailwind/utils/getShadowStyles.d.ts
|
|
6
|
-
declare const shadowVariantToCSS: (shadowType: ShadowType, shadowVariant: ShadowVariant | ElevationAlias) => readonly [".uds-inset-shadow-
|
|
7
|
-
readonly [x: string]: "var(--uds-inset-shadow-
|
|
6
|
+
declare const shadowVariantToCSS: (shadowType: ShadowType, shadowVariant: ShadowVariant | ElevationAlias) => readonly [".uds-inset-shadow-sm" | ".uds-inset-shadow-md" | ".uds-inset-shadow-lg" | ".uds-inset-shadow-xl" | ".uds-inset-shadow-2xl" | ".uds-inset-shadow-none" | ".uds-inset-shadow-xs" | ".uds-inset-shadow-elevation-0" | ".uds-inset-shadow-elevation-1" | ".uds-inset-shadow-elevation-2" | ".uds-inset-shadow-elevation-3" | ".uds-inset-shadow-elevation-4" | ".uds-inset-shadow-elevation-5" | ".uds-drop-shadow-sm" | ".uds-drop-shadow-md" | ".uds-drop-shadow-lg" | ".uds-drop-shadow-xl" | ".uds-drop-shadow-2xl" | ".uds-drop-shadow-none" | ".uds-drop-shadow-xs" | ".uds-drop-shadow-elevation-0" | ".uds-drop-shadow-elevation-1" | ".uds-drop-shadow-elevation-2" | ".uds-drop-shadow-elevation-3" | ".uds-drop-shadow-elevation-4" | ".uds-drop-shadow-elevation-5", {
|
|
7
|
+
readonly [x: string]: "var(--uds-inset-shadow-sm)" | "var(--uds-inset-shadow-md)" | "var(--uds-inset-shadow-lg)" | "var(--uds-inset-shadow-xl)" | "var(--uds-inset-shadow-2xl)" | "var(--uds-inset-shadow-none)" | "var(--uds-inset-shadow-xs)" | "var(--uds-inset-shadow-elevation-0)" | "var(--uds-inset-shadow-elevation-1)" | "var(--uds-inset-shadow-elevation-2)" | "var(--uds-inset-shadow-elevation-3)" | "var(--uds-inset-shadow-elevation-4)" | "var(--uds-inset-shadow-elevation-5)" | "var(--uds-drop-shadow-sm)" | "var(--uds-drop-shadow-md)" | "var(--uds-drop-shadow-lg)" | "var(--uds-drop-shadow-xl)" | "var(--uds-drop-shadow-2xl)" | "var(--uds-drop-shadow-none)" | "var(--uds-drop-shadow-xs)" | "var(--uds-drop-shadow-elevation-0)" | "var(--uds-drop-shadow-elevation-1)" | "var(--uds-drop-shadow-elevation-2)" | "var(--uds-drop-shadow-elevation-3)" | "var(--uds-drop-shadow-elevation-4)" | "var(--uds-drop-shadow-elevation-5)" | "var(--uds-drop-shadow, 0 0 transparent), var(--uds-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)";
|
|
8
8
|
readonly boxShadow: "var(--uds-drop-shadow, 0 0 transparent), var(--uds-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)";
|
|
9
9
|
}];
|
|
10
10
|
declare function getShadowStyles({
|
|
@@ -13,8 +13,8 @@ declare function getShadowStyles({
|
|
|
13
13
|
}: {
|
|
14
14
|
config: UniversalTokensConfig;
|
|
15
15
|
shadowType: ShadowType;
|
|
16
|
-
}): Record<".uds-inset-shadow-
|
|
17
|
-
readonly [x: string]: "var(--uds-inset-shadow-
|
|
16
|
+
}): Record<".uds-inset-shadow-sm" | ".uds-inset-shadow-md" | ".uds-inset-shadow-lg" | ".uds-inset-shadow-xl" | ".uds-inset-shadow-2xl" | ".uds-inset-shadow-none" | ".uds-inset-shadow-xs" | ".uds-inset-shadow-elevation-0" | ".uds-inset-shadow-elevation-1" | ".uds-inset-shadow-elevation-2" | ".uds-inset-shadow-elevation-3" | ".uds-inset-shadow-elevation-4" | ".uds-inset-shadow-elevation-5" | ".uds-drop-shadow-sm" | ".uds-drop-shadow-md" | ".uds-drop-shadow-lg" | ".uds-drop-shadow-xl" | ".uds-drop-shadow-2xl" | ".uds-drop-shadow-none" | ".uds-drop-shadow-xs" | ".uds-drop-shadow-elevation-0" | ".uds-drop-shadow-elevation-1" | ".uds-drop-shadow-elevation-2" | ".uds-drop-shadow-elevation-3" | ".uds-drop-shadow-elevation-4" | ".uds-drop-shadow-elevation-5", {
|
|
17
|
+
readonly [x: string]: "var(--uds-inset-shadow-sm)" | "var(--uds-inset-shadow-md)" | "var(--uds-inset-shadow-lg)" | "var(--uds-inset-shadow-xl)" | "var(--uds-inset-shadow-2xl)" | "var(--uds-inset-shadow-none)" | "var(--uds-inset-shadow-xs)" | "var(--uds-inset-shadow-elevation-0)" | "var(--uds-inset-shadow-elevation-1)" | "var(--uds-inset-shadow-elevation-2)" | "var(--uds-inset-shadow-elevation-3)" | "var(--uds-inset-shadow-elevation-4)" | "var(--uds-inset-shadow-elevation-5)" | "var(--uds-drop-shadow-sm)" | "var(--uds-drop-shadow-md)" | "var(--uds-drop-shadow-lg)" | "var(--uds-drop-shadow-xl)" | "var(--uds-drop-shadow-2xl)" | "var(--uds-drop-shadow-none)" | "var(--uds-drop-shadow-xs)" | "var(--uds-drop-shadow-elevation-0)" | "var(--uds-drop-shadow-elevation-1)" | "var(--uds-drop-shadow-elevation-2)" | "var(--uds-drop-shadow-elevation-3)" | "var(--uds-drop-shadow-elevation-4)" | "var(--uds-drop-shadow-elevation-5)" | "var(--uds-drop-shadow, 0 0 transparent), var(--uds-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)";
|
|
18
18
|
readonly boxShadow: "var(--uds-drop-shadow, 0 0 transparent), var(--uds-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)";
|
|
19
19
|
}>;
|
|
20
20
|
//#endregion
|