@traefik-labs/faency 12.3.9 → 13.0.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/_virtual/_rolldown/runtime.cjs +2 -3
- package/dist/_virtual/_rolldown/runtime.js +1 -2
- package/dist/colors/deepBlue.cjs +1 -2
- package/dist/colors/deepBlue.js +1 -2
- package/dist/colors/elevation.cjs +1 -2
- package/dist/colors/elevation.js +1 -2
- package/dist/colors/grayBlue.cjs +1 -2
- package/dist/colors/grayBlue.js +1 -2
- package/dist/colors/index.cjs +1 -2
- package/dist/colors/index.cjs.map +1 -1
- package/dist/colors/index.js +1 -2
- package/dist/colors/index.js.map +1 -1
- package/dist/colors/neon.cjs +1 -2
- package/dist/colors/neon.js +1 -2
- package/dist/colors/orange.cjs +1 -2
- package/dist/colors/orange.js +1 -2
- package/dist/colors/red.cjs +1 -2
- package/dist/colors/red.js +1 -2
- package/dist/components/AccessibleIcon/AccessibleIcon.cjs +1 -2
- package/dist/components/AccessibleIcon/AccessibleIcon.cjs.map +1 -1
- package/dist/components/AccessibleIcon/AccessibleIcon.js +1 -2
- package/dist/components/AccessibleIcon/AccessibleIcon.vanilla.cjs +1 -2
- package/dist/components/AccessibleIcon/AccessibleIcon.vanilla.cjs.map +1 -1
- package/dist/components/AccessibleIcon/AccessibleIcon.vanilla.js +1 -2
- package/dist/components/Accordion/Accordion.cjs +1 -2
- package/dist/components/Accordion/Accordion.cjs.map +1 -1
- package/dist/components/Accordion/Accordion.js +1 -2
- package/dist/components/Accordion/Accordion.js.map +1 -1
- package/dist/components/Accordion/Accordion.themes.cjs +1 -2
- package/dist/components/Accordion/Accordion.themes.cjs.map +1 -1
- package/dist/components/Accordion/Accordion.themes.js +1 -2
- package/dist/components/Accordion/Accordion.themes.js.map +1 -1
- package/dist/components/Alert/Alert.cjs +1 -2
- package/dist/components/Alert/Alert.cjs.map +1 -1
- package/dist/components/Alert/Alert.js +1 -2
- package/dist/components/AriaTable/AriaTable.cjs +1 -2
- package/dist/components/AriaTable/AriaTable.cjs.map +1 -1
- package/dist/components/AriaTable/AriaTable.js +1 -2
- package/dist/components/AriaTable/AriaTable.js.map +1 -1
- package/dist/components/Avatar/Avatar.cjs +1 -2
- package/dist/components/Avatar/Avatar.cjs.map +1 -1
- package/dist/components/Avatar/Avatar.js +1 -2
- package/dist/components/Avatar/Avatar.js.map +1 -1
- package/dist/components/Avatar/Avatar.vanilla.cjs +8 -8
- package/dist/components/Avatar/Avatar.vanilla.cjs.map +1 -1
- package/dist/components/Avatar/Avatar.vanilla.css.cjs +1 -2
- package/dist/components/Avatar/Avatar.vanilla.css.cjs.map +1 -1
- package/dist/components/Avatar/Avatar.vanilla.css.js +1 -2
- package/dist/components/Avatar/Avatar.vanilla.css.js.map +1 -1
- package/dist/components/Avatar/Avatar.vanilla.js +8 -8
- package/dist/components/Avatar/Avatar.vanilla.js.map +1 -1
- package/dist/components/Badge/Badge.cjs +4 -4
- package/dist/components/Badge/Badge.cjs.map +1 -1
- package/dist/components/Badge/Badge.js +4 -4
- package/dist/components/Badge/Badge.js.map +1 -1
- package/dist/components/Badge/Badge.theme.cjs +1 -2
- package/dist/components/Badge/Badge.theme.js +1 -2
- package/dist/components/Badge/Badge.themes.cjs +1 -2
- package/dist/components/Badge/Badge.themes.cjs.map +1 -1
- package/dist/components/Badge/Badge.themes.js +1 -2
- package/dist/components/Badge/Badge.themes.js.map +1 -1
- package/dist/components/Badge/Badge.vanilla.cjs +8 -8
- package/dist/components/Badge/Badge.vanilla.cjs.map +1 -1
- package/dist/components/Badge/Badge.vanilla.css.cjs +1 -2
- package/dist/components/Badge/Badge.vanilla.css.cjs.map +1 -1
- package/dist/components/Badge/Badge.vanilla.css.js +1 -2
- package/dist/components/Badge/Badge.vanilla.css.js.map +1 -1
- package/dist/components/Badge/Badge.vanilla.js +8 -8
- package/dist/components/Badge/Badge.vanilla.js.map +1 -1
- package/dist/components/Blockquote/Blockquote.cjs +1 -2
- package/dist/components/Blockquote/Blockquote.cjs.map +1 -1
- package/dist/components/Blockquote/Blockquote.js +1 -2
- package/dist/components/Blockquote/Blockquote.vanilla.cjs +10 -10
- package/dist/components/Blockquote/Blockquote.vanilla.cjs.map +1 -1
- package/dist/components/Blockquote/Blockquote.vanilla.css.cjs +1 -2
- package/dist/components/Blockquote/Blockquote.vanilla.css.cjs.map +1 -1
- package/dist/components/Blockquote/Blockquote.vanilla.css.js +1 -2
- package/dist/components/Blockquote/Blockquote.vanilla.css.js.map +1 -1
- package/dist/components/Blockquote/Blockquote.vanilla.js +10 -10
- package/dist/components/Blockquote/Blockquote.vanilla.js.map +1 -1
- package/dist/components/Box/Box.cjs +1 -2
- package/dist/components/Box/Box.cjs.map +1 -1
- package/dist/components/Box/Box.js +1 -2
- package/dist/components/Box/Box.vanilla.cjs +1 -2
- package/dist/components/Box/Box.vanilla.cjs.map +1 -1
- package/dist/components/Box/Box.vanilla.css.cjs +1 -2
- package/dist/components/Box/Box.vanilla.css.js +1 -2
- package/dist/components/Box/Box.vanilla.js +1 -2
- package/dist/components/Bubble/Bubble.cjs +1 -2
- package/dist/components/Bubble/Bubble.cjs.map +1 -1
- package/dist/components/Bubble/Bubble.js +18 -17
- package/dist/components/Bubble/Bubble.js.map +1 -1
- package/dist/components/Bubble/Bubble.vanilla.cjs +7 -7
- package/dist/components/Bubble/Bubble.vanilla.cjs.map +1 -1
- package/dist/components/Bubble/Bubble.vanilla.css.cjs +1 -2
- package/dist/components/Bubble/Bubble.vanilla.css.cjs.map +1 -1
- package/dist/components/Bubble/Bubble.vanilla.css.js +1 -2
- package/dist/components/Bubble/Bubble.vanilla.css.js.map +1 -1
- package/dist/components/Bubble/Bubble.vanilla.js +7 -7
- package/dist/components/Bubble/Bubble.vanilla.js.map +1 -1
- package/dist/components/Button/Button.cjs +3 -3
- package/dist/components/Button/Button.cjs.map +1 -1
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/Button/Button.js.map +1 -1
- package/dist/components/Button/Button.themes.cjs +1 -2
- package/dist/components/Button/Button.themes.cjs.map +1 -1
- package/dist/components/Button/Button.themes.js +1 -2
- package/dist/components/Button/Button.themes.js.map +1 -1
- package/dist/components/Button/Button.vanilla.cjs +9 -9
- package/dist/components/Button/Button.vanilla.cjs.map +1 -1
- package/dist/components/Button/Button.vanilla.css.cjs +1 -2
- package/dist/components/Button/Button.vanilla.css.cjs.map +1 -1
- package/dist/components/Button/Button.vanilla.css.js +1 -2
- package/dist/components/Button/Button.vanilla.css.js.map +1 -1
- package/dist/components/Button/Button.vanilla.js +9 -9
- package/dist/components/Button/Button.vanilla.js.map +1 -1
- package/dist/components/ButtonSwitch/ButtonSwitch.cjs +1 -2
- package/dist/components/ButtonSwitch/ButtonSwitch.cjs.map +1 -1
- package/dist/components/ButtonSwitch/ButtonSwitch.js +1 -2
- package/dist/components/ButtonSwitch/ButtonSwitch.themes.cjs +1 -2
- package/dist/components/ButtonSwitch/ButtonSwitch.themes.cjs.map +1 -1
- package/dist/components/ButtonSwitch/ButtonSwitch.themes.js +1 -2
- package/dist/components/ButtonSwitch/ButtonSwitch.themes.js.map +1 -1
- package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.cjs +1 -2
- package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.cjs.map +1 -1
- package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.css.cjs +1 -2
- package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.css.js +1 -2
- package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.js +1 -2
- package/dist/components/Card/Card.cjs +1 -2
- package/dist/components/Card/Card.cjs.map +1 -1
- package/dist/components/Card/Card.js +1 -2
- package/dist/components/Card/Card.theme.cjs +1 -2
- package/dist/components/Card/Card.theme.js +1 -2
- package/dist/components/Card/Card.themes.cjs +1 -2
- package/dist/components/Card/Card.themes.cjs.map +1 -1
- package/dist/components/Card/Card.themes.js +1 -2
- package/dist/components/Card/Card.themes.js.map +1 -1
- package/dist/components/Card/Card.vanilla.cjs +1 -2
- package/dist/components/Card/Card.vanilla.cjs.map +1 -1
- package/dist/components/Card/Card.vanilla.css.cjs +1 -2
- package/dist/components/Card/Card.vanilla.css.cjs.map +1 -1
- package/dist/components/Card/Card.vanilla.css.js +1 -2
- package/dist/components/Card/Card.vanilla.css.js.map +1 -1
- package/dist/components/Card/Card.vanilla.js +1 -2
- package/dist/components/Checkbox/Checkbox.cjs +1 -2
- package/dist/components/Checkbox/Checkbox.cjs.map +1 -1
- package/dist/components/Checkbox/Checkbox.js +1 -2
- package/dist/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/components/Checkbox/Checkbox.themes.cjs +1 -2
- package/dist/components/Checkbox/Checkbox.themes.cjs.map +1 -1
- package/dist/components/Checkbox/Checkbox.themes.js +1 -2
- package/dist/components/Checkbox/Checkbox.themes.js.map +1 -1
- package/dist/components/CodeBlock/CodeBlock.cjs +1 -2
- package/dist/components/CodeBlock/CodeBlock.cjs.map +1 -1
- package/dist/components/CodeBlock/CodeBlock.js +1 -2
- package/dist/components/CodeBlock/CodeBlock.js.map +1 -1
- package/dist/components/CodeBlock/CodeBlock.themes.cjs +1 -2
- package/dist/components/CodeBlock/CodeBlock.themes.cjs.map +1 -1
- package/dist/components/CodeBlock/CodeBlock.themes.js +1 -2
- package/dist/components/CodeBlock/CodeBlock.themes.js.map +1 -1
- package/dist/components/CodeBlock/CodeBlock.vanilla.cjs +1 -2
- package/dist/components/CodeBlock/CodeBlock.vanilla.cjs.map +1 -1
- package/dist/components/CodeBlock/CodeBlock.vanilla.css.cjs +1 -2
- package/dist/components/CodeBlock/CodeBlock.vanilla.css.js +1 -2
- package/dist/components/CodeBlock/CodeBlock.vanilla.js +1 -2
- package/dist/components/CodeBlock/CodeBlock.vanilla.js.map +1 -1
- package/dist/components/CodeBlock/prism-extend.cjs +7 -3
- package/dist/components/CodeBlock/prism-extend.cjs.map +1 -1
- package/dist/components/CodeBlock/prism-extend.js +1 -2
- package/dist/components/Container/Container.cjs +1 -2
- package/dist/components/Container/Container.cjs.map +1 -1
- package/dist/components/Container/Container.js +1 -2
- package/dist/components/Container/Container.vanilla.cjs +6 -6
- package/dist/components/Container/Container.vanilla.cjs.map +1 -1
- package/dist/components/Container/Container.vanilla.css.cjs +1 -2
- package/dist/components/Container/Container.vanilla.css.cjs.map +1 -1
- package/dist/components/Container/Container.vanilla.css.js +1 -2
- package/dist/components/Container/Container.vanilla.css.js.map +1 -1
- package/dist/components/Container/Container.vanilla.js +6 -6
- package/dist/components/Container/Container.vanilla.js.map +1 -1
- package/dist/components/DateTimePicker/DateTimePicker.cjs +1 -2
- package/dist/components/DateTimePicker/DateTimePicker.cjs.map +1 -1
- package/dist/components/DateTimePicker/DateTimePicker.js +1 -2
- package/dist/components/DateTimePicker/DateTimePicker.js.map +1 -1
- package/dist/components/DateTimePickerInput/DateTimePickerInput.cjs +17 -14
- package/dist/components/DateTimePickerInput/DateTimePickerInput.cjs.map +1 -1
- package/dist/components/DateTimePickerInput/DateTimePickerInput.js +17 -14
- package/dist/components/DateTimePickerInput/DateTimePickerInput.js.map +1 -1
- package/dist/components/Dialog/Dialog.cjs +1 -2
- package/dist/components/Dialog/Dialog.cjs.map +1 -1
- package/dist/components/Dialog/Dialog.js +1 -2
- package/dist/components/Dialog/Dialog.js.map +1 -1
- package/dist/components/Dialog/Dialog.themes.cjs +1 -2
- package/dist/components/Dialog/Dialog.themes.cjs.map +1 -1
- package/dist/components/Dialog/Dialog.themes.js +1 -2
- package/dist/components/Dialog/Dialog.themes.js.map +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.cjs +1 -2
- package/dist/components/DropdownMenu/DropdownMenu.cjs.map +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.js +1 -2
- package/dist/components/DropdownMenu/DropdownMenu.js.map +1 -1
- package/dist/components/DropdownMenu/styles.cjs +1 -2
- package/dist/components/DropdownMenu/styles.cjs.map +1 -1
- package/dist/components/DropdownMenu/styles.js +1 -2
- package/dist/components/Elevation/Elevation.cjs +1 -2
- package/dist/components/Elevation/Elevation.cjs.map +1 -1
- package/dist/components/Elevation/Elevation.js +1 -2
- package/dist/components/Elevation/Elevation.vanilla.cjs +3 -3
- package/dist/components/Elevation/Elevation.vanilla.cjs.map +1 -1
- package/dist/components/Elevation/Elevation.vanilla.css.cjs +1 -2
- package/dist/components/Elevation/Elevation.vanilla.css.cjs.map +1 -1
- package/dist/components/Elevation/Elevation.vanilla.css.js +1 -2
- package/dist/components/Elevation/Elevation.vanilla.css.js.map +1 -1
- package/dist/components/Elevation/Elevation.vanilla.js +3 -3
- package/dist/components/Elevation/Elevation.vanilla.js.map +1 -1
- package/dist/components/FaencyProvider.cjs +1 -2
- package/dist/components/FaencyProvider.cjs.map +1 -1
- package/dist/components/FaencyProvider.js +1 -2
- package/dist/components/FaencyProvider.js.map +1 -1
- package/dist/components/Flex/Flex.cjs +1 -2
- package/dist/components/Flex/Flex.cjs.map +1 -1
- package/dist/components/Flex/Flex.js +1 -2
- package/dist/components/Flex/Flex.vanilla.cjs +9 -9
- package/dist/components/Flex/Flex.vanilla.cjs.map +1 -1
- package/dist/components/Flex/Flex.vanilla.css.cjs +1 -2
- package/dist/components/Flex/Flex.vanilla.css.cjs.map +1 -1
- package/dist/components/Flex/Flex.vanilla.css.js +1 -2
- package/dist/components/Flex/Flex.vanilla.css.js.map +1 -1
- package/dist/components/Flex/Flex.vanilla.js +9 -9
- package/dist/components/Flex/Flex.vanilla.js.map +1 -1
- package/dist/components/Grid/Grid.cjs +1 -2
- package/dist/components/Grid/Grid.cjs.map +1 -1
- package/dist/components/Grid/Grid.js +1 -2
- package/dist/components/Grid/Grid.vanilla.cjs +10 -10
- package/dist/components/Grid/Grid.vanilla.cjs.map +1 -1
- package/dist/components/Grid/Grid.vanilla.css.cjs +1 -2
- package/dist/components/Grid/Grid.vanilla.css.cjs.map +1 -1
- package/dist/components/Grid/Grid.vanilla.css.js +1 -2
- package/dist/components/Grid/Grid.vanilla.css.js.map +1 -1
- package/dist/components/Grid/Grid.vanilla.js +10 -10
- package/dist/components/Grid/Grid.vanilla.js.map +1 -1
- package/dist/components/Heading/Heading.cjs +1 -2
- package/dist/components/Heading/Heading.cjs.map +1 -1
- package/dist/components/Heading/Heading.js +1 -2
- package/dist/components/Heading/Heading.themes.cjs +1 -2
- package/dist/components/Heading/Heading.themes.cjs.map +1 -1
- package/dist/components/Heading/Heading.themes.js +1 -2
- package/dist/components/Heading/Heading.themes.js.map +1 -1
- package/dist/components/IconButton/IconButton.cjs +1 -2
- package/dist/components/IconButton/IconButton.cjs.map +1 -1
- package/dist/components/IconButton/IconButton.js +1 -2
- package/dist/components/IconButton/IconButton.themes.cjs +1 -2
- package/dist/components/IconButton/IconButton.themes.cjs.map +1 -1
- package/dist/components/IconButton/IconButton.themes.js +1 -2
- package/dist/components/IconButton/IconButton.themes.js.map +1 -1
- package/dist/components/IconButton/IconButton.vanilla.cjs +6 -6
- package/dist/components/IconButton/IconButton.vanilla.cjs.map +1 -1
- package/dist/components/IconButton/IconButton.vanilla.css.cjs +1 -2
- package/dist/components/IconButton/IconButton.vanilla.css.cjs.map +1 -1
- package/dist/components/IconButton/IconButton.vanilla.css.js +1 -2
- package/dist/components/IconButton/IconButton.vanilla.css.js.map +1 -1
- package/dist/components/IconButton/IconButton.vanilla.js +6 -6
- package/dist/components/IconButton/IconButton.vanilla.js.map +1 -1
- package/dist/components/Image/Image.cjs +1 -2
- package/dist/components/Image/Image.cjs.map +1 -1
- package/dist/components/Image/Image.js +1 -2
- package/dist/components/Image/Image.vanilla.cjs +1 -2
- package/dist/components/Image/Image.vanilla.cjs.map +1 -1
- package/dist/components/Image/Image.vanilla.css.cjs +1 -2
- package/dist/components/Image/Image.vanilla.css.js +1 -2
- package/dist/components/Image/Image.vanilla.js +1 -2
- package/dist/components/Input/Input.cjs +1 -2
- package/dist/components/Input/Input.cjs.map +1 -1
- package/dist/components/Input/Input.js +1 -2
- package/dist/components/Input/Input.js.map +1 -1
- package/dist/components/Input/Input.theme.cjs +1 -2
- package/dist/components/Input/Input.theme.cjs.map +1 -1
- package/dist/components/Input/Input.theme.js +1 -2
- package/dist/components/Input/Input.themes.cjs +1 -2
- package/dist/components/Input/Input.themes.cjs.map +1 -1
- package/dist/components/Input/Input.themes.js +1 -2
- package/dist/components/Input/Input.themes.js.map +1 -1
- package/dist/components/Input/Input.vanilla.cjs +1 -2
- package/dist/components/Input/Input.vanilla.cjs.map +1 -1
- package/dist/components/Input/Input.vanilla.css.cjs +1 -2
- package/dist/components/Input/Input.vanilla.css.cjs.map +1 -1
- package/dist/components/Input/Input.vanilla.css.js +1 -2
- package/dist/components/Input/Input.vanilla.css.js.map +1 -1
- package/dist/components/Input/Input.vanilla.js +1 -2
- package/dist/components/Input/Input.vanilla.js.map +1 -1
- package/dist/components/Label/Label.cjs +1 -2
- package/dist/components/Label/Label.cjs.map +1 -1
- package/dist/components/Label/Label.js +1 -2
- package/dist/components/Label/Label.vanilla.cjs +10 -10
- package/dist/components/Label/Label.vanilla.cjs.map +1 -1
- package/dist/components/Label/Label.vanilla.css.cjs +1 -2
- package/dist/components/Label/Label.vanilla.css.cjs.map +1 -1
- package/dist/components/Label/Label.vanilla.css.js +1 -2
- package/dist/components/Label/Label.vanilla.css.js.map +1 -1
- package/dist/components/Label/Label.vanilla.js +10 -10
- package/dist/components/Label/Label.vanilla.js.map +1 -1
- package/dist/components/Link/Link.cjs +0 -1
- package/dist/components/Link/Link.cjs.map +1 -1
- package/dist/components/Link/Link.js +0 -1
- package/dist/components/Link/Link.themes.cjs +1 -2
- package/dist/components/Link/Link.themes.cjs.map +1 -1
- package/dist/components/Link/Link.themes.js +1 -2
- package/dist/components/Link/Link.themes.js.map +1 -1
- package/dist/components/List/List.cjs +1 -2
- package/dist/components/List/List.cjs.map +1 -1
- package/dist/components/List/List.js +1 -2
- package/dist/components/List/List.js.map +1 -1
- package/dist/components/List/List.themes.cjs +1 -2
- package/dist/components/List/List.themes.cjs.map +1 -1
- package/dist/components/List/List.themes.js +1 -2
- package/dist/components/List/List.themes.js.map +1 -1
- package/dist/components/Navigation/Navigation.cjs +1 -2
- package/dist/components/Navigation/Navigation.cjs.map +1 -1
- package/dist/components/Navigation/Navigation.js +1 -2
- package/dist/components/Navigation/Navigation.js.map +1 -1
- package/dist/components/Navigation/Navigation.themes.cjs +1 -2
- package/dist/components/Navigation/Navigation.themes.cjs.map +1 -1
- package/dist/components/Navigation/Navigation.themes.js +1 -2
- package/dist/components/Navigation/Navigation.themes.js.map +1 -1
- package/dist/components/NavigationMenu/NavigationMenu.cjs +1 -2
- package/dist/components/NavigationMenu/NavigationMenu.cjs.map +1 -1
- package/dist/components/NavigationMenu/NavigationMenu.js +1 -2
- package/dist/components/NavigationTree/NavigationTreeContainer.cjs +17 -12
- package/dist/components/NavigationTree/NavigationTreeContainer.cjs.map +1 -1
- package/dist/components/NavigationTree/NavigationTreeContainer.js +18 -13
- package/dist/components/NavigationTree/NavigationTreeContainer.js.map +1 -1
- package/dist/components/NavigationTree/NavigationTreeContext.cjs +16 -0
- package/dist/components/NavigationTree/NavigationTreeContext.cjs.map +1 -0
- package/dist/components/NavigationTree/NavigationTreeContext.js +13 -0
- package/dist/components/NavigationTree/NavigationTreeContext.js.map +1 -0
- package/dist/components/NavigationTree/NavigationTreeDrawer.cjs +14 -9
- package/dist/components/NavigationTree/NavigationTreeDrawer.cjs.map +1 -1
- package/dist/components/NavigationTree/NavigationTreeDrawer.js +15 -10
- package/dist/components/NavigationTree/NavigationTreeDrawer.js.map +1 -1
- package/dist/components/NavigationTree/NavigationTreeItem.cjs +17 -12
- package/dist/components/NavigationTree/NavigationTreeItem.cjs.map +1 -1
- package/dist/components/NavigationTree/NavigationTreeItem.js +17 -12
- package/dist/components/NavigationTree/NavigationTreeItem.js.map +1 -1
- package/dist/components/Overlay.cjs +1 -2
- package/dist/components/Overlay.cjs.map +1 -1
- package/dist/components/Overlay.js +1 -2
- package/dist/components/Panel/Panel.cjs +1 -2
- package/dist/components/Panel/Panel.cjs.map +1 -1
- package/dist/components/Panel/Panel.js +1 -2
- package/dist/components/Panel/Panel.theme.cjs +1 -2
- package/dist/components/Panel/Panel.theme.js +1 -2
- package/dist/components/Panel/Panel.vanilla.cjs +1 -2
- package/dist/components/Panel/Panel.vanilla.cjs.map +1 -1
- package/dist/components/Panel/Panel.vanilla.css.cjs +1 -2
- package/dist/components/Panel/Panel.vanilla.css.js +1 -2
- package/dist/components/Panel/Panel.vanilla.js +1 -2
- package/dist/components/Paragraph/Paragraph.cjs +1 -2
- package/dist/components/Paragraph/Paragraph.cjs.map +1 -1
- package/dist/components/Paragraph/Paragraph.js +1 -2
- package/dist/components/Paragraph/Paragraph.vanilla.cjs +3 -3
- package/dist/components/Paragraph/Paragraph.vanilla.cjs.map +1 -1
- package/dist/components/Paragraph/Paragraph.vanilla.css.cjs +1 -2
- package/dist/components/Paragraph/Paragraph.vanilla.css.cjs.map +1 -1
- package/dist/components/Paragraph/Paragraph.vanilla.css.js +1 -2
- package/dist/components/Paragraph/Paragraph.vanilla.css.js.map +1 -1
- package/dist/components/Paragraph/Paragraph.vanilla.js +3 -3
- package/dist/components/Paragraph/Paragraph.vanilla.js.map +1 -1
- package/dist/components/Popover/Popover.cjs +1 -2
- package/dist/components/Popover/Popover.cjs.map +1 -1
- package/dist/components/Popover/Popover.js +1 -2
- package/dist/components/Popover/Popover.js.map +1 -1
- package/dist/components/Radio/Radio.cjs +1 -2
- package/dist/components/Radio/Radio.cjs.map +1 -1
- package/dist/components/Radio/Radio.js +1 -2
- package/dist/components/Radio/Radio.js.map +1 -1
- package/dist/components/Radio/Radio.themes.cjs +1 -2
- package/dist/components/Radio/Radio.themes.cjs.map +1 -1
- package/dist/components/Radio/Radio.themes.js +1 -2
- package/dist/components/Radio/Radio.themes.js.map +1 -1
- package/dist/components/RadioAccordion/RadioAccordion.cjs +1 -2
- package/dist/components/RadioAccordion/RadioAccordion.cjs.map +1 -1
- package/dist/components/RadioAccordion/RadioAccordion.js +1 -2
- package/dist/components/RadioAccordion/RadioAccordion.js.map +1 -1
- package/dist/components/Select/Select.cjs +1 -2
- package/dist/components/Select/Select.cjs.map +1 -1
- package/dist/components/Select/Select.js +1 -2
- package/dist/components/Select/Select.js.map +1 -1
- package/dist/components/Select/Select.themes.cjs +1 -2
- package/dist/components/Select/Select.themes.cjs.map +1 -1
- package/dist/components/Select/Select.themes.js +1 -2
- package/dist/components/Select/Select.themes.js.map +1 -1
- package/dist/components/SidePanel/SidePanel.cjs +1 -2
- package/dist/components/SidePanel/SidePanel.cjs.map +1 -1
- package/dist/components/SidePanel/SidePanel.js +1 -2
- package/dist/components/SidePanel/SidePanel.js.map +1 -1
- package/dist/components/SidePanel/SidePanel.themes.cjs +1 -2
- package/dist/components/SidePanel/SidePanel.themes.cjs.map +1 -1
- package/dist/components/SidePanel/SidePanel.themes.js +1 -2
- package/dist/components/SidePanel/SidePanel.themes.js.map +1 -1
- package/dist/components/Skeleton/Skeleton.cjs +1 -2
- package/dist/components/Skeleton/Skeleton.cjs.map +1 -1
- package/dist/components/Skeleton/Skeleton.js +6 -5
- package/dist/components/Skeleton/Skeleton.js.map +1 -1
- package/dist/components/Skeleton/Skeleton.themes.cjs +1 -2
- package/dist/components/Skeleton/Skeleton.themes.cjs.map +1 -1
- package/dist/components/Skeleton/Skeleton.themes.js +1 -2
- package/dist/components/Skeleton/Skeleton.themes.js.map +1 -1
- package/dist/components/Skeleton/Skeleton.vanilla.cjs +3 -3
- package/dist/components/Skeleton/Skeleton.vanilla.cjs.map +1 -1
- package/dist/components/Skeleton/Skeleton.vanilla.css.cjs +1 -2
- package/dist/components/Skeleton/Skeleton.vanilla.css.cjs.map +1 -1
- package/dist/components/Skeleton/Skeleton.vanilla.css.js +1 -2
- package/dist/components/Skeleton/Skeleton.vanilla.css.js.map +1 -1
- package/dist/components/Skeleton/Skeleton.vanilla.js +3 -3
- package/dist/components/Skeleton/Skeleton.vanilla.js.map +1 -1
- package/dist/components/Switch/Switch.cjs +3 -4
- package/dist/components/Switch/Switch.cjs.map +1 -1
- package/dist/components/Switch/Switch.js +3 -4
- package/dist/components/Switch/Switch.js.map +1 -1
- package/dist/components/Switch/Switch.themes.cjs +1 -2
- package/dist/components/Switch/Switch.themes.cjs.map +1 -1
- package/dist/components/Switch/Switch.themes.js +1 -2
- package/dist/components/Switch/Switch.themes.js.map +1 -1
- package/dist/components/Table/Table.cjs +1 -2
- package/dist/components/Table/Table.cjs.map +1 -1
- package/dist/components/Table/Table.js +15 -14
- package/dist/components/Table/Table.js.map +1 -1
- package/dist/components/Table/Table.themes.cjs +1 -2
- package/dist/components/Table/Table.themes.cjs.map +1 -1
- package/dist/components/Table/Table.themes.js +1 -2
- package/dist/components/Table/Table.themes.js.map +1 -1
- package/dist/components/Tabs/Tabs.cjs +1 -2
- package/dist/components/Tabs/Tabs.cjs.map +1 -1
- package/dist/components/Tabs/Tabs.js +1 -2
- package/dist/components/Text/Text.cjs +1 -2
- package/dist/components/Text/Text.cjs.map +1 -1
- package/dist/components/Text/Text.js +1 -2
- package/dist/components/Text/Text.themes.cjs +1 -2
- package/dist/components/Text/Text.themes.cjs.map +1 -1
- package/dist/components/Text/Text.themes.js +1 -2
- package/dist/components/Text/Text.themes.js.map +1 -1
- package/dist/components/TextField/TextField.cjs +1 -2
- package/dist/components/TextField/TextField.cjs.map +1 -1
- package/dist/components/TextField/TextField.js +1 -2
- package/dist/components/TextField/TextField.js.map +1 -1
- package/dist/components/TextField/TextField.vanilla.cjs +1 -2
- package/dist/components/TextField/TextField.vanilla.cjs.map +1 -1
- package/dist/components/TextField/TextField.vanilla.js +1 -2
- package/dist/components/TextField/TextField.vanilla.js.map +1 -1
- package/dist/components/Textarea/Textarea.cjs +1 -2
- package/dist/components/Textarea/Textarea.cjs.map +1 -1
- package/dist/components/Textarea/Textarea.js +1 -2
- package/dist/components/Textarea/Textarea.js.map +1 -1
- package/dist/components/Textarea/Textarea.theme.cjs +1 -2
- package/dist/components/Textarea/Textarea.theme.cjs.map +1 -1
- package/dist/components/Textarea/Textarea.theme.js +1 -2
- package/dist/components/Textarea/Textarea.themes.cjs +1 -2
- package/dist/components/Textarea/Textarea.themes.cjs.map +1 -1
- package/dist/components/Textarea/Textarea.themes.js +1 -2
- package/dist/components/Textarea/Textarea.themes.js.map +1 -1
- package/dist/components/Textarea/Textarea.vanilla.cjs +1 -2
- package/dist/components/Textarea/Textarea.vanilla.cjs.map +1 -1
- package/dist/components/Textarea/Textarea.vanilla.css.cjs +1 -2
- package/dist/components/Textarea/Textarea.vanilla.css.cjs.map +1 -1
- package/dist/components/Textarea/Textarea.vanilla.css.js +1 -2
- package/dist/components/Textarea/Textarea.vanilla.css.js.map +1 -1
- package/dist/components/Textarea/Textarea.vanilla.js +1 -2
- package/dist/components/Textarea/Textarea.vanilla.js.map +1 -1
- package/dist/components/Tooltip/Tooltip.cjs +1 -2
- package/dist/components/Tooltip/Tooltip.cjs.map +1 -1
- package/dist/components/Tooltip/Tooltip.js +1 -2
- package/dist/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/components/Tooltip/Tooltip.themes.cjs +1 -2
- package/dist/components/Tooltip/Tooltip.themes.cjs.map +1 -1
- package/dist/components/Tooltip/Tooltip.themes.js +1 -2
- package/dist/components/Tooltip/Tooltip.themes.js.map +1 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.cjs +1 -2
- package/dist/components/VisuallyHidden/VisuallyHidden.cjs.map +1 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.js +1 -2
- package/dist/components/VisuallyHidden/VisuallyHidden.js.map +1 -1
- package/dist/components/colorSchemeContext.cjs +1 -2
- package/dist/components/colorSchemeContext.cjs.map +1 -1
- package/dist/components/colorSchemeContext.js +1 -2
- package/dist/index.d.ts +1 -1
- package/dist/stitches.config.cjs +1 -2
- package/dist/stitches.config.cjs.map +1 -1
- package/dist/stitches.config.js +1 -2
- package/dist/stitches.config.js.map +1 -1
- package/dist/styles/cssProps.cjs +24 -27
- package/dist/styles/cssProps.cjs.map +1 -1
- package/dist/styles/cssProps.js +24 -27
- package/dist/styles/cssProps.js.map +1 -1
- package/dist/styles/themeContext.cjs +1 -2
- package/dist/styles/themeContext.cjs.map +1 -1
- package/dist/styles/themeContext.js +1 -2
- package/dist/styles/themes.css.cjs +1 -2
- package/dist/styles/themes.css.js +1 -2
- package/dist/utils/deepMerge.cjs +1 -2
- package/dist/utils/deepMerge.js +1 -2
- package/dist/utils/getPrimaryColorInfo.cjs +1 -2
- package/dist/utils/getPrimaryColorInfo.js +1 -2
- package/package.json +64 -62
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.themes.cjs","names":[],"sources":["../../../components/Badge/Badge.themes.ts"],"sourcesContent":["import { Property } from '@stitches/react/types/css';\nimport tinycolor from 'tinycolor2';\n\nimport { ColorInfo } from '../../utils/getPrimaryColorInfo';\n\nexport namespace Theme {\n type Colors = {\n badgeInteractiveBackgroundActive: Property.Color;\n badgeInteractiveBackgroundHover: Property.Color;\n };\n\n type Factory = (primaryColor: ColorInfo) => Colors;\n\n export const getLight: Factory = () => ({\n badgeInteractiveBackgroundActive: tinycolor('black').setAlpha(0.1).toHslString(),\n badgeInteractiveBackgroundHover: tinycolor('black').setAlpha(0.05).toHslString(),\n });\n\n export const getDark: Factory = () => ({\n badgeInteractiveBackgroundActive: tinycolor('black').setAlpha(0.2).toHslString(),\n badgeInteractiveBackgroundHover: tinycolor('black').setAlpha(0.1).toHslString(),\n });\n}\n"],"mappings":";;;;AAKO,
|
|
1
|
+
{"version":3,"file":"Badge.themes.cjs","names":["tinycolor"],"sources":["../../../components/Badge/Badge.themes.ts"],"sourcesContent":["import { Property } from '@stitches/react/types/css';\nimport tinycolor from 'tinycolor2';\n\nimport { ColorInfo } from '../../utils/getPrimaryColorInfo';\n\nexport namespace Theme {\n type Colors = {\n badgeInteractiveBackgroundActive: Property.Color;\n badgeInteractiveBackgroundHover: Property.Color;\n };\n\n type Factory = (primaryColor: ColorInfo) => Colors;\n\n export const getLight: Factory = () => ({\n badgeInteractiveBackgroundActive: tinycolor('black').setAlpha(0.1).toHslString(),\n badgeInteractiveBackgroundHover: tinycolor('black').setAlpha(0.05).toHslString(),\n });\n\n export const getDark: Factory = () => ({\n badgeInteractiveBackgroundActive: tinycolor('black').setAlpha(0.2).toHslString(),\n badgeInteractiveBackgroundHover: tinycolor('black').setAlpha(0.1).toHslString(),\n });\n}\n"],"mappings":";;;;AAKO,IAAU;CAAV,SAAA,QAAA;CAQQ,OAAA,kBAA2B;EACtC,mCAAA,GAAkCA,WAAAA,QAAAA,CAAU,OAAO,CAAC,CAAC,SAAS,EAAG,CAAC,CAAC,YAAY;EAC/E,kCAAA,GAAiCA,WAAAA,QAAAA,CAAU,OAAO,CAAC,CAAC,SAAS,GAAI,CAAC,CAAC,YAAY;CACjF;CAEa,OAAA,iBAA0B;EACrC,mCAAA,GAAkCA,WAAAA,QAAAA,CAAU,OAAO,CAAC,CAAC,SAAS,EAAG,CAAC,CAAC,YAAY;EAC/E,kCAAA,GAAiCA,WAAAA,QAAAA,CAAU,OAAO,CAAC,CAAC,SAAS,EAAG,CAAC,CAAC,YAAY;CAChF;AACD,EAAA,CAAA,UAAA,QAAA,CAAA,EAAD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import tinycolor from "tinycolor2";
|
|
2
|
-
|
|
2
|
+
// components/Badge/Badge.themes.ts
|
|
3
3
|
var Theme;
|
|
4
4
|
(function(_Theme) {
|
|
5
5
|
_Theme.getLight = () => ({
|
|
@@ -11,7 +11,6 @@ var Theme;
|
|
|
11
11
|
badgeInteractiveBackgroundHover: tinycolor("black").setAlpha(.1).toHslString()
|
|
12
12
|
});
|
|
13
13
|
})(Theme || (Theme = {}));
|
|
14
|
-
//#endregion
|
|
15
14
|
export { Theme };
|
|
16
15
|
|
|
17
16
|
//# sourceMappingURL=Badge.themes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.themes.js","names":[],"sources":["../../../components/Badge/Badge.themes.ts"],"sourcesContent":["import { Property } from '@stitches/react/types/css';\nimport tinycolor from 'tinycolor2';\n\nimport { ColorInfo } from '../../utils/getPrimaryColorInfo';\n\nexport namespace Theme {\n type Colors = {\n badgeInteractiveBackgroundActive: Property.Color;\n badgeInteractiveBackgroundHover: Property.Color;\n };\n\n type Factory = (primaryColor: ColorInfo) => Colors;\n\n export const getLight: Factory = () => ({\n badgeInteractiveBackgroundActive: tinycolor('black').setAlpha(0.1).toHslString(),\n badgeInteractiveBackgroundHover: tinycolor('black').setAlpha(0.05).toHslString(),\n });\n\n export const getDark: Factory = () => ({\n badgeInteractiveBackgroundActive: tinycolor('black').setAlpha(0.2).toHslString(),\n badgeInteractiveBackgroundHover: tinycolor('black').setAlpha(0.1).toHslString(),\n });\n}\n"],"mappings":";;AAKO,
|
|
1
|
+
{"version":3,"file":"Badge.themes.js","names":[],"sources":["../../../components/Badge/Badge.themes.ts"],"sourcesContent":["import { Property } from '@stitches/react/types/css';\nimport tinycolor from 'tinycolor2';\n\nimport { ColorInfo } from '../../utils/getPrimaryColorInfo';\n\nexport namespace Theme {\n type Colors = {\n badgeInteractiveBackgroundActive: Property.Color;\n badgeInteractiveBackgroundHover: Property.Color;\n };\n\n type Factory = (primaryColor: ColorInfo) => Colors;\n\n export const getLight: Factory = () => ({\n badgeInteractiveBackgroundActive: tinycolor('black').setAlpha(0.1).toHslString(),\n badgeInteractiveBackgroundHover: tinycolor('black').setAlpha(0.05).toHslString(),\n });\n\n export const getDark: Factory = () => ({\n badgeInteractiveBackgroundActive: tinycolor('black').setAlpha(0.2).toHslString(),\n badgeInteractiveBackgroundHover: tinycolor('black').setAlpha(0.1).toHslString(),\n });\n}\n"],"mappings":";;AAKO,IAAU;CAAV,SAAA,QAAA;CAQQ,OAAA,kBAA2B;EACtC,kCAAkC,UAAU,OAAO,CAAC,CAAC,SAAS,EAAG,CAAC,CAAC,YAAY;EAC/E,iCAAiC,UAAU,OAAO,CAAC,CAAC,SAAS,GAAI,CAAC,CAAC,YAAY;CACjF;CAEa,OAAA,iBAA0B;EACrC,kCAAkC,UAAU,OAAO,CAAC,CAAC,SAAS,EAAG,CAAC,CAAC,YAAY;EAC/E,iCAAiC,UAAU,OAAO,CAAC,CAAC,SAAS,EAAG,CAAC,CAAC,YAAY;CAChF;AACD,EAAA,CAAA,UAAA,QAAA,CAAA,EAAD"}
|
|
@@ -4,7 +4,7 @@ const require_Badge_vanilla_css = require("./Badge.vanilla.css.cjs");
|
|
|
4
4
|
let react = require("react");
|
|
5
5
|
let _vanilla_extract_dynamic = require("@vanilla-extract/dynamic");
|
|
6
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
-
|
|
7
|
+
// components/Badge/Badge.vanilla.tsx
|
|
8
8
|
var COLORS = [
|
|
9
9
|
"gray",
|
|
10
10
|
"red",
|
|
@@ -23,21 +23,21 @@ var BadgeVanillaComponentImpl = (0, react.forwardRef)(({ as, interactive, classN
|
|
|
23
23
|
...style,
|
|
24
24
|
...(0, _vanilla_extract_dynamic.assignInlineVars)(vars)
|
|
25
25
|
};
|
|
26
|
+
const recipeClass = (interactive ? require_Badge_vanilla_css.interactiveBadgeRecipe : require_Badge_vanilla_css.badgeRecipe)({
|
|
27
|
+
size,
|
|
28
|
+
variant,
|
|
29
|
+
alphaBg,
|
|
30
|
+
borderless
|
|
31
|
+
});
|
|
26
32
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Component, {
|
|
27
33
|
ref,
|
|
28
|
-
className: `${
|
|
29
|
-
size,
|
|
30
|
-
variant,
|
|
31
|
-
alphaBg,
|
|
32
|
-
borderless
|
|
33
|
-
})} ${className || ""}`.trim(),
|
|
34
|
+
className: `${recipeClass} ${className || ""}`.trim(),
|
|
34
35
|
style: mergedStyles,
|
|
35
36
|
...props
|
|
36
37
|
});
|
|
37
38
|
});
|
|
38
39
|
BadgeVanillaComponentImpl.displayName = "BadgeVanilla";
|
|
39
40
|
var BadgeVanilla = BadgeVanillaComponentImpl;
|
|
40
|
-
//#endregion
|
|
41
41
|
exports.BadgeVanilla = BadgeVanilla;
|
|
42
42
|
exports.COLORS = COLORS;
|
|
43
43
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.vanilla.cjs","names":[],"sources":["../../../components/Badge/Badge.vanilla.tsx"],"sourcesContent":["import { assignInlineVars } from '@vanilla-extract/dynamic';\nimport { RecipeVariants } from '@vanilla-extract/recipes';\nimport { ElementType, forwardRef } from 'react';\n\nimport { CSSProps, processCSSProp } from '../../styles/cssProps';\nimport {\n PolymorphicComponent,\n PolymorphicComponentProps,\n PolymorphicRef,\n} from '../../styles/polymorphic';\nimport { useVanillaExtractTheme } from '../../styles/themeContext';\nimport { badgeRecipe, interactiveBadgeRecipe } from './Badge.vanilla.css';\n\nexport const COLORS = ['gray', 'red', 'blue', 'green', 'neon', 'orange', 'purple'] as const;\n\ntype BadgeRecipeVariants = RecipeVariants<typeof badgeRecipe>;\n\ninterface BadgeOwnProps extends Omit<BadgeRecipeVariants, 'color'>, CSSProps {\n interactive?: boolean;\n}\n\nexport type BadgeVanillaProps<C extends ElementType = 'span'> = PolymorphicComponentProps<\n C,\n BadgeOwnProps\n>;\n\ntype BadgeVanillaComponent = PolymorphicComponent<'span', BadgeVanillaProps<ElementType>>;\n\nconst BadgeVanillaComponentImpl = forwardRef(\n <C extends ElementType = 'span'>(\n {\n as,\n interactive,\n className,\n css,\n style,\n size,\n variant,\n alphaBg,\n borderless,\n ...props\n }: BadgeVanillaProps<C>,\n ref?: PolymorphicRef<C>,\n ) => {\n const Component = as || (interactive ? 'button' : 'span');\n\n const { colors } = useVanillaExtractTheme();\n\n const { style: cssStyles, vars } = processCSSProp(css, colors);\n\n const mergedStyles = {\n ...cssStyles,\n ...style,\n ...assignInlineVars(vars),\n };\n\n const recipe = interactive ? interactiveBadgeRecipe : badgeRecipe;\n const recipeClass = recipe({ size, variant, alphaBg, borderless });\n\n return (\n <Component\n ref={ref}\n className={`${recipeClass} ${className || ''}`.trim()}\n style={mergedStyles}\n {...props}\n />\n );\n },\n);\n\nBadgeVanillaComponentImpl.displayName = 'BadgeVanilla';\n\nexport const BadgeVanilla = BadgeVanillaComponentImpl as BadgeVanillaComponent;\n"],"mappings":";;;;;;;AAaA,IAAa,SAAS;CAAC;CAAQ;CAAO;CAAQ;CAAS;CAAQ;CAAU;AAAQ;AAejF,IAAM,6BAAA,
|
|
1
|
+
{"version":3,"file":"Badge.vanilla.cjs","names":["forwardRef","useVanillaExtractTheme","processCSSProp","assignInlineVars","interactiveBadgeRecipe","badgeRecipe"],"sources":["../../../components/Badge/Badge.vanilla.tsx"],"sourcesContent":["import { assignInlineVars } from '@vanilla-extract/dynamic';\nimport { RecipeVariants } from '@vanilla-extract/recipes';\nimport { ElementType, forwardRef } from 'react';\n\nimport { CSSProps, processCSSProp } from '../../styles/cssProps';\nimport {\n PolymorphicComponent,\n PolymorphicComponentProps,\n PolymorphicRef,\n} from '../../styles/polymorphic';\nimport { useVanillaExtractTheme } from '../../styles/themeContext';\nimport { badgeRecipe, interactiveBadgeRecipe } from './Badge.vanilla.css';\n\nexport const COLORS = ['gray', 'red', 'blue', 'green', 'neon', 'orange', 'purple'] as const;\n\ntype BadgeRecipeVariants = RecipeVariants<typeof badgeRecipe>;\n\ninterface BadgeOwnProps extends Omit<BadgeRecipeVariants, 'color'>, CSSProps {\n interactive?: boolean;\n}\n\nexport type BadgeVanillaProps<C extends ElementType = 'span'> = PolymorphicComponentProps<\n C,\n BadgeOwnProps\n>;\n\ntype BadgeVanillaComponent = PolymorphicComponent<'span', BadgeVanillaProps<ElementType>>;\n\nconst BadgeVanillaComponentImpl = forwardRef(\n <C extends ElementType = 'span'>(\n {\n as,\n interactive,\n className,\n css,\n style,\n size,\n variant,\n alphaBg,\n borderless,\n ...props\n }: BadgeVanillaProps<C>,\n ref?: PolymorphicRef<C>,\n ) => {\n const Component = as || (interactive ? 'button' : 'span');\n\n const { colors } = useVanillaExtractTheme();\n\n const { style: cssStyles, vars } = processCSSProp(css, colors);\n\n const mergedStyles = {\n ...cssStyles,\n ...style,\n ...assignInlineVars(vars),\n };\n\n const recipe = interactive ? interactiveBadgeRecipe : badgeRecipe;\n const recipeClass = recipe({ size, variant, alphaBg, borderless });\n\n return (\n <Component\n ref={ref}\n className={`${recipeClass} ${className || ''}`.trim()}\n style={mergedStyles}\n {...props}\n />\n );\n },\n);\n\nBadgeVanillaComponentImpl.displayName = 'BadgeVanilla';\n\nexport const BadgeVanilla = BadgeVanillaComponentImpl as BadgeVanillaComponent;\n"],"mappings":";;;;;;;AAaA,IAAa,SAAS;CAAC;CAAQ;CAAO;CAAQ;CAAS;CAAQ;CAAU;AAAQ;AAejF,IAAM,6BAAA,GAA4BA,MAAAA,WAAAA,EAE9B,EACE,IACA,aACA,WACA,KACA,OACA,MACA,SACA,SACA,YACA,GAAG,SAEL,QACG;CACH,MAAM,YAAY,OAAO,cAAc,WAAW;CAElD,MAAM,EAAE,WAAWC,qBAAAA,uBAAuB;CAE1C,MAAM,EAAE,OAAO,WAAW,SAASC,iBAAAA,eAAe,KAAK,MAAM;CAE7D,MAAM,eAAe;EACnB,GAAG;EACH,GAAG;EACH,IAAA,GAAGC,yBAAAA,iBAAAA,CAAiB,IAAI;CAC1B;CAGA,MAAM,eADS,cAAcC,0BAAAA,yBAAyBC,0BAAAA,YAAAA,CAC3B;EAAE;EAAM;EAAS;EAAS;CAAW,CAAC;CAEjE,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,WAAD;EACO;EACL,WAAW,GAAG,YAAY,GAAG,aAAa,KAAK,KAAK;EACpD,OAAO;EACP,GAAI;CACL,CAAA;AAEL,CACF;AAEA,0BAA0B,cAAc;AAExC,IAAa,eAAe"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
;/* empty css */
|
|
2
2
|
let _vanilla_extract_recipes_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
|
|
3
|
-
|
|
3
|
+
// components/Badge/Badge.vanilla.css.ts
|
|
4
4
|
var badgeRecipe = (0, _vanilla_extract_recipes_createRuntimeFn.createRuntimeFn)({
|
|
5
5
|
defaultClassName: "_16nnnz62 _16nnnz60",
|
|
6
6
|
variantClassNames: {
|
|
@@ -111,7 +111,6 @@ var interactiveBadgeRecipe = (0, _vanilla_extract_recipes_createRuntimeFn.create
|
|
|
111
111
|
}, "_16nnnz613"]
|
|
112
112
|
]
|
|
113
113
|
});
|
|
114
|
-
//#endregion
|
|
115
114
|
exports.badgeRecipe = badgeRecipe;
|
|
116
115
|
exports.interactiveBadgeRecipe = interactiveBadgeRecipe;
|
|
117
116
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.vanilla.css.cjs","names":[],"sources":["../../../components/Badge/Badge.vanilla.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\nimport { recipe } from '@vanilla-extract/recipes';\n\nimport { tokens } from '../../styles/tokens.css';\n\nconst baseBadge = style({\n alignItems: 'center',\n appearance: 'none',\n border: 'none',\n boxSizing: 'border-box',\n display: 'inline-flex',\n flexShrink: 0,\n fontFamily: tokens.fonts.rubik,\n fontWeight: tokens.fontWeights.medium,\n justifyContent: 'center',\n lineHeight: '1',\n verticalAlign: 'middle',\n outline: 'none',\n padding: '0',\n textDecoration: 'none',\n userSelect: 'none',\n WebkitTapHighlightColor: 'rgba(0,0,0,0)',\n borderRadius: tokens.radii.pill,\n whiteSpace: 'nowrap',\n fontVariantNumeric: 'tabular-nums',\n position: 'relative',\n\n selectors: {\n '&:disabled': {\n backgroundColor: tokens.colors.slate['3'],\n pointerEvents: 'none',\n color: tokens.colors.slate['8'],\n },\n },\n});\n\nconst interactiveBadge = style([\n baseBadge,\n {\n selectors: {\n '&::before': {\n boxSizing: 'border-box',\n content: '\"\"',\n position: 'absolute',\n inset: 0,\n borderRadius: 'inherit',\n },\n '&:focus-visible': {\n outline: `2px solid ${tokens.colors.primary}`,\n },\n '&:hover': {\n cursor: 'pointer',\n },\n '&:hover::before': {\n backgroundColor: tokens.colors.badgeInteractiveBackgroundHover,\n },\n '&:active::before': {\n backgroundColor: tokens.colors.badgeInteractiveBackgroundActive,\n },\n },\n },\n]);\n\nexport const badgeRecipe = recipe({\n base: baseBadge,\n\n variants: {\n size: {\n small: {\n height: tokens.sizes['4'],\n paddingLeft: tokens.space['2'],\n paddingRight: tokens.space['2'],\n fontSize: tokens.fontSizes['2'],\n },\n large: {\n height: tokens.sizes['5'],\n paddingLeft: tokens.space['3'],\n paddingRight: tokens.space['3'],\n fontSize: tokens.fontSizes['3'],\n },\n },\n variant: {\n gray: {\n backgroundColor: tokens.colors.gray['6'],\n color: tokens.colors.gray['10'],\n border: `1px solid ${tokens.colors.gray['10']}`,\n },\n red: {\n backgroundColor: tokens.colors.red['6'],\n color: tokens.colors.red['10'],\n border: `1px solid ${tokens.colors.red['10']}`,\n },\n blue: {\n backgroundColor: tokens.colors.blue['6'],\n color: tokens.colors.blue['10'],\n border: `1px solid ${tokens.colors.blue['10']}`,\n },\n green: {\n backgroundColor: tokens.colors.green['6'],\n color: tokens.colors.green['10'],\n border: `1px solid ${tokens.colors.green['10']}`,\n },\n neon: {\n backgroundColor: tokens.colors.neon['6'],\n color: tokens.colors.neon['10'],\n border: `1px solid ${tokens.colors.neon['10']}`,\n },\n orange: {\n backgroundColor: tokens.colors.orange['6'],\n color: tokens.colors.orange['10'],\n border: `1px solid ${tokens.colors.orange['10']}`,\n },\n purple: {\n backgroundColor: tokens.colors.purple['6'],\n color: tokens.colors.purple['10'],\n border: `1px solid ${tokens.colors.purple['10']}`,\n },\n },\n alphaBg: {\n true: {},\n },\n borderless: {\n true: {\n border: 'none',\n },\n },\n },\n\n compoundVariants: [\n {\n variants: { alphaBg: true, variant: 'gray' },\n style: { backgroundColor: tokens.colors.gray.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'red' },\n style: { backgroundColor: tokens.colors.red.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'blue' },\n style: { backgroundColor: tokens.colors.blue.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'green' },\n style: { backgroundColor: tokens.colors.green.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'neon' },\n style: { backgroundColor: tokens.colors.neon.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'orange' },\n style: { backgroundColor: tokens.colors.orange.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'purple' },\n style: { backgroundColor: tokens.colors.purple.A6 },\n },\n ],\n\n defaultVariants: {\n size: 'small',\n variant: 'gray',\n borderless: false,\n },\n});\n\nexport const interactiveBadgeRecipe = recipe({\n base: interactiveBadge,\n\n variants: {\n size: {\n small: {\n height: tokens.sizes['4'],\n paddingLeft: tokens.space['2'],\n paddingRight: tokens.space['2'],\n fontSize: tokens.fontSizes['2'],\n },\n large: {\n height: tokens.sizes['5'],\n paddingLeft: tokens.space['3'],\n paddingRight: tokens.space['3'],\n fontSize: tokens.fontSizes['3'],\n },\n },\n variant: {\n gray: {\n backgroundColor: tokens.colors.gray['6'],\n color: tokens.colors.gray['10'],\n border: `1px solid ${tokens.colors.gray['10']}`,\n },\n red: {\n backgroundColor: tokens.colors.red['6'],\n color: tokens.colors.red['10'],\n border: `1px solid ${tokens.colors.red['10']}`,\n },\n blue: {\n backgroundColor: tokens.colors.blue['6'],\n color: tokens.colors.blue['10'],\n border: `1px solid ${tokens.colors.blue['10']}`,\n },\n green: {\n backgroundColor: tokens.colors.green['6'],\n color: tokens.colors.green['10'],\n border: `1px solid ${tokens.colors.green['10']}`,\n },\n neon: {\n backgroundColor: tokens.colors.neon['6'],\n color: tokens.colors.neon['10'],\n border: `1px solid ${tokens.colors.neon['10']}`,\n },\n orange: {\n backgroundColor: tokens.colors.orange['6'],\n color: tokens.colors.orange['10'],\n border: `1px solid ${tokens.colors.orange['10']}`,\n },\n purple: {\n backgroundColor: tokens.colors.purple['6'],\n color: tokens.colors.purple['10'],\n border: `1px solid ${tokens.colors.purple['10']}`,\n },\n },\n alphaBg: {\n true: {},\n },\n borderless: {\n true: {\n border: 'none',\n },\n },\n },\n\n compoundVariants: [\n {\n variants: { alphaBg: true, variant: 'gray' },\n style: { backgroundColor: tokens.colors.gray.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'red' },\n style: { backgroundColor: tokens.colors.red.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'blue' },\n style: { backgroundColor: tokens.colors.blue.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'green' },\n style: { backgroundColor: tokens.colors.green.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'neon' },\n style: { backgroundColor: tokens.colors.neon.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'orange' },\n style: { backgroundColor: tokens.colors.orange.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'purple' },\n style: { backgroundColor: tokens.colors.purple.A6 },\n },\n ],\n\n defaultVariants: {\n size: 'small',\n variant: 'gray',\n borderless: false,\n },\n});\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"Badge.vanilla.css.cjs","names":["_7a468"],"sources":["../../../components/Badge/Badge.vanilla.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\nimport { recipe } from '@vanilla-extract/recipes';\n\nimport { tokens } from '../../styles/tokens.css';\n\nconst baseBadge = style({\n alignItems: 'center',\n appearance: 'none',\n border: 'none',\n boxSizing: 'border-box',\n display: 'inline-flex',\n flexShrink: 0,\n fontFamily: tokens.fonts.rubik,\n fontWeight: tokens.fontWeights.medium,\n justifyContent: 'center',\n lineHeight: '1',\n verticalAlign: 'middle',\n outline: 'none',\n padding: '0',\n textDecoration: 'none',\n userSelect: 'none',\n WebkitTapHighlightColor: 'rgba(0,0,0,0)',\n borderRadius: tokens.radii.pill,\n whiteSpace: 'nowrap',\n fontVariantNumeric: 'tabular-nums',\n position: 'relative',\n\n selectors: {\n '&:disabled': {\n backgroundColor: tokens.colors.slate['3'],\n pointerEvents: 'none',\n color: tokens.colors.slate['8'],\n },\n },\n});\n\nconst interactiveBadge = style([\n baseBadge,\n {\n selectors: {\n '&::before': {\n boxSizing: 'border-box',\n content: '\"\"',\n position: 'absolute',\n inset: 0,\n borderRadius: 'inherit',\n },\n '&:focus-visible': {\n outline: `2px solid ${tokens.colors.primary}`,\n },\n '&:hover': {\n cursor: 'pointer',\n },\n '&:hover::before': {\n backgroundColor: tokens.colors.badgeInteractiveBackgroundHover,\n },\n '&:active::before': {\n backgroundColor: tokens.colors.badgeInteractiveBackgroundActive,\n },\n },\n },\n]);\n\nexport const badgeRecipe = recipe({\n base: baseBadge,\n\n variants: {\n size: {\n small: {\n height: tokens.sizes['4'],\n paddingLeft: tokens.space['2'],\n paddingRight: tokens.space['2'],\n fontSize: tokens.fontSizes['2'],\n },\n large: {\n height: tokens.sizes['5'],\n paddingLeft: tokens.space['3'],\n paddingRight: tokens.space['3'],\n fontSize: tokens.fontSizes['3'],\n },\n },\n variant: {\n gray: {\n backgroundColor: tokens.colors.gray['6'],\n color: tokens.colors.gray['10'],\n border: `1px solid ${tokens.colors.gray['10']}`,\n },\n red: {\n backgroundColor: tokens.colors.red['6'],\n color: tokens.colors.red['10'],\n border: `1px solid ${tokens.colors.red['10']}`,\n },\n blue: {\n backgroundColor: tokens.colors.blue['6'],\n color: tokens.colors.blue['10'],\n border: `1px solid ${tokens.colors.blue['10']}`,\n },\n green: {\n backgroundColor: tokens.colors.green['6'],\n color: tokens.colors.green['10'],\n border: `1px solid ${tokens.colors.green['10']}`,\n },\n neon: {\n backgroundColor: tokens.colors.neon['6'],\n color: tokens.colors.neon['10'],\n border: `1px solid ${tokens.colors.neon['10']}`,\n },\n orange: {\n backgroundColor: tokens.colors.orange['6'],\n color: tokens.colors.orange['10'],\n border: `1px solid ${tokens.colors.orange['10']}`,\n },\n purple: {\n backgroundColor: tokens.colors.purple['6'],\n color: tokens.colors.purple['10'],\n border: `1px solid ${tokens.colors.purple['10']}`,\n },\n },\n alphaBg: {\n true: {},\n },\n borderless: {\n true: {\n border: 'none',\n },\n },\n },\n\n compoundVariants: [\n {\n variants: { alphaBg: true, variant: 'gray' },\n style: { backgroundColor: tokens.colors.gray.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'red' },\n style: { backgroundColor: tokens.colors.red.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'blue' },\n style: { backgroundColor: tokens.colors.blue.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'green' },\n style: { backgroundColor: tokens.colors.green.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'neon' },\n style: { backgroundColor: tokens.colors.neon.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'orange' },\n style: { backgroundColor: tokens.colors.orange.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'purple' },\n style: { backgroundColor: tokens.colors.purple.A6 },\n },\n ],\n\n defaultVariants: {\n size: 'small',\n variant: 'gray',\n borderless: false,\n },\n});\n\nexport const interactiveBadgeRecipe = recipe({\n base: interactiveBadge,\n\n variants: {\n size: {\n small: {\n height: tokens.sizes['4'],\n paddingLeft: tokens.space['2'],\n paddingRight: tokens.space['2'],\n fontSize: tokens.fontSizes['2'],\n },\n large: {\n height: tokens.sizes['5'],\n paddingLeft: tokens.space['3'],\n paddingRight: tokens.space['3'],\n fontSize: tokens.fontSizes['3'],\n },\n },\n variant: {\n gray: {\n backgroundColor: tokens.colors.gray['6'],\n color: tokens.colors.gray['10'],\n border: `1px solid ${tokens.colors.gray['10']}`,\n },\n red: {\n backgroundColor: tokens.colors.red['6'],\n color: tokens.colors.red['10'],\n border: `1px solid ${tokens.colors.red['10']}`,\n },\n blue: {\n backgroundColor: tokens.colors.blue['6'],\n color: tokens.colors.blue['10'],\n border: `1px solid ${tokens.colors.blue['10']}`,\n },\n green: {\n backgroundColor: tokens.colors.green['6'],\n color: tokens.colors.green['10'],\n border: `1px solid ${tokens.colors.green['10']}`,\n },\n neon: {\n backgroundColor: tokens.colors.neon['6'],\n color: tokens.colors.neon['10'],\n border: `1px solid ${tokens.colors.neon['10']}`,\n },\n orange: {\n backgroundColor: tokens.colors.orange['6'],\n color: tokens.colors.orange['10'],\n border: `1px solid ${tokens.colors.orange['10']}`,\n },\n purple: {\n backgroundColor: tokens.colors.purple['6'],\n color: tokens.colors.purple['10'],\n border: `1px solid ${tokens.colors.purple['10']}`,\n },\n },\n alphaBg: {\n true: {},\n },\n borderless: {\n true: {\n border: 'none',\n },\n },\n },\n\n compoundVariants: [\n {\n variants: { alphaBg: true, variant: 'gray' },\n style: { backgroundColor: tokens.colors.gray.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'red' },\n style: { backgroundColor: tokens.colors.red.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'blue' },\n style: { backgroundColor: tokens.colors.blue.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'green' },\n style: { backgroundColor: tokens.colors.green.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'neon' },\n style: { backgroundColor: tokens.colors.neon.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'orange' },\n style: { backgroundColor: tokens.colors.orange.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'purple' },\n style: { backgroundColor: tokens.colors.purple.A6 },\n },\n ],\n\n defaultVariants: {\n size: 'small',\n variant: 'gray',\n borderless: false,\n },\n});\n"],"mappings":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
3
|
-
|
|
3
|
+
// components/Badge/Badge.vanilla.css.ts
|
|
4
4
|
var badgeRecipe = createRuntimeFn({
|
|
5
5
|
defaultClassName: "_16nnnz62 _16nnnz60",
|
|
6
6
|
variantClassNames: {
|
|
@@ -111,7 +111,6 @@ var interactiveBadgeRecipe = createRuntimeFn({
|
|
|
111
111
|
}, "_16nnnz613"]
|
|
112
112
|
]
|
|
113
113
|
});
|
|
114
|
-
//#endregion
|
|
115
114
|
export { badgeRecipe, interactiveBadgeRecipe };
|
|
116
115
|
|
|
117
116
|
//# sourceMappingURL=Badge.vanilla.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.vanilla.css.js","names":[],"sources":["../../../components/Badge/Badge.vanilla.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\nimport { recipe } from '@vanilla-extract/recipes';\n\nimport { tokens } from '../../styles/tokens.css';\n\nconst baseBadge = style({\n alignItems: 'center',\n appearance: 'none',\n border: 'none',\n boxSizing: 'border-box',\n display: 'inline-flex',\n flexShrink: 0,\n fontFamily: tokens.fonts.rubik,\n fontWeight: tokens.fontWeights.medium,\n justifyContent: 'center',\n lineHeight: '1',\n verticalAlign: 'middle',\n outline: 'none',\n padding: '0',\n textDecoration: 'none',\n userSelect: 'none',\n WebkitTapHighlightColor: 'rgba(0,0,0,0)',\n borderRadius: tokens.radii.pill,\n whiteSpace: 'nowrap',\n fontVariantNumeric: 'tabular-nums',\n position: 'relative',\n\n selectors: {\n '&:disabled': {\n backgroundColor: tokens.colors.slate['3'],\n pointerEvents: 'none',\n color: tokens.colors.slate['8'],\n },\n },\n});\n\nconst interactiveBadge = style([\n baseBadge,\n {\n selectors: {\n '&::before': {\n boxSizing: 'border-box',\n content: '\"\"',\n position: 'absolute',\n inset: 0,\n borderRadius: 'inherit',\n },\n '&:focus-visible': {\n outline: `2px solid ${tokens.colors.primary}`,\n },\n '&:hover': {\n cursor: 'pointer',\n },\n '&:hover::before': {\n backgroundColor: tokens.colors.badgeInteractiveBackgroundHover,\n },\n '&:active::before': {\n backgroundColor: tokens.colors.badgeInteractiveBackgroundActive,\n },\n },\n },\n]);\n\nexport const badgeRecipe = recipe({\n base: baseBadge,\n\n variants: {\n size: {\n small: {\n height: tokens.sizes['4'],\n paddingLeft: tokens.space['2'],\n paddingRight: tokens.space['2'],\n fontSize: tokens.fontSizes['2'],\n },\n large: {\n height: tokens.sizes['5'],\n paddingLeft: tokens.space['3'],\n paddingRight: tokens.space['3'],\n fontSize: tokens.fontSizes['3'],\n },\n },\n variant: {\n gray: {\n backgroundColor: tokens.colors.gray['6'],\n color: tokens.colors.gray['10'],\n border: `1px solid ${tokens.colors.gray['10']}`,\n },\n red: {\n backgroundColor: tokens.colors.red['6'],\n color: tokens.colors.red['10'],\n border: `1px solid ${tokens.colors.red['10']}`,\n },\n blue: {\n backgroundColor: tokens.colors.blue['6'],\n color: tokens.colors.blue['10'],\n border: `1px solid ${tokens.colors.blue['10']}`,\n },\n green: {\n backgroundColor: tokens.colors.green['6'],\n color: tokens.colors.green['10'],\n border: `1px solid ${tokens.colors.green['10']}`,\n },\n neon: {\n backgroundColor: tokens.colors.neon['6'],\n color: tokens.colors.neon['10'],\n border: `1px solid ${tokens.colors.neon['10']}`,\n },\n orange: {\n backgroundColor: tokens.colors.orange['6'],\n color: tokens.colors.orange['10'],\n border: `1px solid ${tokens.colors.orange['10']}`,\n },\n purple: {\n backgroundColor: tokens.colors.purple['6'],\n color: tokens.colors.purple['10'],\n border: `1px solid ${tokens.colors.purple['10']}`,\n },\n },\n alphaBg: {\n true: {},\n },\n borderless: {\n true: {\n border: 'none',\n },\n },\n },\n\n compoundVariants: [\n {\n variants: { alphaBg: true, variant: 'gray' },\n style: { backgroundColor: tokens.colors.gray.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'red' },\n style: { backgroundColor: tokens.colors.red.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'blue' },\n style: { backgroundColor: tokens.colors.blue.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'green' },\n style: { backgroundColor: tokens.colors.green.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'neon' },\n style: { backgroundColor: tokens.colors.neon.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'orange' },\n style: { backgroundColor: tokens.colors.orange.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'purple' },\n style: { backgroundColor: tokens.colors.purple.A6 },\n },\n ],\n\n defaultVariants: {\n size: 'small',\n variant: 'gray',\n borderless: false,\n },\n});\n\nexport const interactiveBadgeRecipe = recipe({\n base: interactiveBadge,\n\n variants: {\n size: {\n small: {\n height: tokens.sizes['4'],\n paddingLeft: tokens.space['2'],\n paddingRight: tokens.space['2'],\n fontSize: tokens.fontSizes['2'],\n },\n large: {\n height: tokens.sizes['5'],\n paddingLeft: tokens.space['3'],\n paddingRight: tokens.space['3'],\n fontSize: tokens.fontSizes['3'],\n },\n },\n variant: {\n gray: {\n backgroundColor: tokens.colors.gray['6'],\n color: tokens.colors.gray['10'],\n border: `1px solid ${tokens.colors.gray['10']}`,\n },\n red: {\n backgroundColor: tokens.colors.red['6'],\n color: tokens.colors.red['10'],\n border: `1px solid ${tokens.colors.red['10']}`,\n },\n blue: {\n backgroundColor: tokens.colors.blue['6'],\n color: tokens.colors.blue['10'],\n border: `1px solid ${tokens.colors.blue['10']}`,\n },\n green: {\n backgroundColor: tokens.colors.green['6'],\n color: tokens.colors.green['10'],\n border: `1px solid ${tokens.colors.green['10']}`,\n },\n neon: {\n backgroundColor: tokens.colors.neon['6'],\n color: tokens.colors.neon['10'],\n border: `1px solid ${tokens.colors.neon['10']}`,\n },\n orange: {\n backgroundColor: tokens.colors.orange['6'],\n color: tokens.colors.orange['10'],\n border: `1px solid ${tokens.colors.orange['10']}`,\n },\n purple: {\n backgroundColor: tokens.colors.purple['6'],\n color: tokens.colors.purple['10'],\n border: `1px solid ${tokens.colors.purple['10']}`,\n },\n },\n alphaBg: {\n true: {},\n },\n borderless: {\n true: {\n border: 'none',\n },\n },\n },\n\n compoundVariants: [\n {\n variants: { alphaBg: true, variant: 'gray' },\n style: { backgroundColor: tokens.colors.gray.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'red' },\n style: { backgroundColor: tokens.colors.red.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'blue' },\n style: { backgroundColor: tokens.colors.blue.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'green' },\n style: { backgroundColor: tokens.colors.green.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'neon' },\n style: { backgroundColor: tokens.colors.neon.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'orange' },\n style: { backgroundColor: tokens.colors.orange.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'purple' },\n style: { backgroundColor: tokens.colors.purple.A6 },\n },\n ],\n\n defaultVariants: {\n size: 'small',\n variant: 'gray',\n borderless: false,\n },\n});\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"Badge.vanilla.css.js","names":["_7a468"],"sources":["../../../components/Badge/Badge.vanilla.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\nimport { recipe } from '@vanilla-extract/recipes';\n\nimport { tokens } from '../../styles/tokens.css';\n\nconst baseBadge = style({\n alignItems: 'center',\n appearance: 'none',\n border: 'none',\n boxSizing: 'border-box',\n display: 'inline-flex',\n flexShrink: 0,\n fontFamily: tokens.fonts.rubik,\n fontWeight: tokens.fontWeights.medium,\n justifyContent: 'center',\n lineHeight: '1',\n verticalAlign: 'middle',\n outline: 'none',\n padding: '0',\n textDecoration: 'none',\n userSelect: 'none',\n WebkitTapHighlightColor: 'rgba(0,0,0,0)',\n borderRadius: tokens.radii.pill,\n whiteSpace: 'nowrap',\n fontVariantNumeric: 'tabular-nums',\n position: 'relative',\n\n selectors: {\n '&:disabled': {\n backgroundColor: tokens.colors.slate['3'],\n pointerEvents: 'none',\n color: tokens.colors.slate['8'],\n },\n },\n});\n\nconst interactiveBadge = style([\n baseBadge,\n {\n selectors: {\n '&::before': {\n boxSizing: 'border-box',\n content: '\"\"',\n position: 'absolute',\n inset: 0,\n borderRadius: 'inherit',\n },\n '&:focus-visible': {\n outline: `2px solid ${tokens.colors.primary}`,\n },\n '&:hover': {\n cursor: 'pointer',\n },\n '&:hover::before': {\n backgroundColor: tokens.colors.badgeInteractiveBackgroundHover,\n },\n '&:active::before': {\n backgroundColor: tokens.colors.badgeInteractiveBackgroundActive,\n },\n },\n },\n]);\n\nexport const badgeRecipe = recipe({\n base: baseBadge,\n\n variants: {\n size: {\n small: {\n height: tokens.sizes['4'],\n paddingLeft: tokens.space['2'],\n paddingRight: tokens.space['2'],\n fontSize: tokens.fontSizes['2'],\n },\n large: {\n height: tokens.sizes['5'],\n paddingLeft: tokens.space['3'],\n paddingRight: tokens.space['3'],\n fontSize: tokens.fontSizes['3'],\n },\n },\n variant: {\n gray: {\n backgroundColor: tokens.colors.gray['6'],\n color: tokens.colors.gray['10'],\n border: `1px solid ${tokens.colors.gray['10']}`,\n },\n red: {\n backgroundColor: tokens.colors.red['6'],\n color: tokens.colors.red['10'],\n border: `1px solid ${tokens.colors.red['10']}`,\n },\n blue: {\n backgroundColor: tokens.colors.blue['6'],\n color: tokens.colors.blue['10'],\n border: `1px solid ${tokens.colors.blue['10']}`,\n },\n green: {\n backgroundColor: tokens.colors.green['6'],\n color: tokens.colors.green['10'],\n border: `1px solid ${tokens.colors.green['10']}`,\n },\n neon: {\n backgroundColor: tokens.colors.neon['6'],\n color: tokens.colors.neon['10'],\n border: `1px solid ${tokens.colors.neon['10']}`,\n },\n orange: {\n backgroundColor: tokens.colors.orange['6'],\n color: tokens.colors.orange['10'],\n border: `1px solid ${tokens.colors.orange['10']}`,\n },\n purple: {\n backgroundColor: tokens.colors.purple['6'],\n color: tokens.colors.purple['10'],\n border: `1px solid ${tokens.colors.purple['10']}`,\n },\n },\n alphaBg: {\n true: {},\n },\n borderless: {\n true: {\n border: 'none',\n },\n },\n },\n\n compoundVariants: [\n {\n variants: { alphaBg: true, variant: 'gray' },\n style: { backgroundColor: tokens.colors.gray.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'red' },\n style: { backgroundColor: tokens.colors.red.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'blue' },\n style: { backgroundColor: tokens.colors.blue.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'green' },\n style: { backgroundColor: tokens.colors.green.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'neon' },\n style: { backgroundColor: tokens.colors.neon.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'orange' },\n style: { backgroundColor: tokens.colors.orange.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'purple' },\n style: { backgroundColor: tokens.colors.purple.A6 },\n },\n ],\n\n defaultVariants: {\n size: 'small',\n variant: 'gray',\n borderless: false,\n },\n});\n\nexport const interactiveBadgeRecipe = recipe({\n base: interactiveBadge,\n\n variants: {\n size: {\n small: {\n height: tokens.sizes['4'],\n paddingLeft: tokens.space['2'],\n paddingRight: tokens.space['2'],\n fontSize: tokens.fontSizes['2'],\n },\n large: {\n height: tokens.sizes['5'],\n paddingLeft: tokens.space['3'],\n paddingRight: tokens.space['3'],\n fontSize: tokens.fontSizes['3'],\n },\n },\n variant: {\n gray: {\n backgroundColor: tokens.colors.gray['6'],\n color: tokens.colors.gray['10'],\n border: `1px solid ${tokens.colors.gray['10']}`,\n },\n red: {\n backgroundColor: tokens.colors.red['6'],\n color: tokens.colors.red['10'],\n border: `1px solid ${tokens.colors.red['10']}`,\n },\n blue: {\n backgroundColor: tokens.colors.blue['6'],\n color: tokens.colors.blue['10'],\n border: `1px solid ${tokens.colors.blue['10']}`,\n },\n green: {\n backgroundColor: tokens.colors.green['6'],\n color: tokens.colors.green['10'],\n border: `1px solid ${tokens.colors.green['10']}`,\n },\n neon: {\n backgroundColor: tokens.colors.neon['6'],\n color: tokens.colors.neon['10'],\n border: `1px solid ${tokens.colors.neon['10']}`,\n },\n orange: {\n backgroundColor: tokens.colors.orange['6'],\n color: tokens.colors.orange['10'],\n border: `1px solid ${tokens.colors.orange['10']}`,\n },\n purple: {\n backgroundColor: tokens.colors.purple['6'],\n color: tokens.colors.purple['10'],\n border: `1px solid ${tokens.colors.purple['10']}`,\n },\n },\n alphaBg: {\n true: {},\n },\n borderless: {\n true: {\n border: 'none',\n },\n },\n },\n\n compoundVariants: [\n {\n variants: { alphaBg: true, variant: 'gray' },\n style: { backgroundColor: tokens.colors.gray.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'red' },\n style: { backgroundColor: tokens.colors.red.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'blue' },\n style: { backgroundColor: tokens.colors.blue.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'green' },\n style: { backgroundColor: tokens.colors.green.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'neon' },\n style: { backgroundColor: tokens.colors.neon.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'orange' },\n style: { backgroundColor: tokens.colors.orange.A6 },\n },\n {\n variants: { alphaBg: true, variant: 'purple' },\n style: { backgroundColor: tokens.colors.purple.A6 },\n },\n ],\n\n defaultVariants: {\n size: 'small',\n variant: 'gray',\n borderless: false,\n },\n});\n"],"mappings":""}
|
|
@@ -4,7 +4,7 @@ import { badgeRecipe, interactiveBadgeRecipe } from "./Badge.vanilla.css.js";
|
|
|
4
4
|
import { forwardRef } from "react";
|
|
5
5
|
import { assignInlineVars } from "@vanilla-extract/dynamic";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// components/Badge/Badge.vanilla.tsx
|
|
8
8
|
var COLORS = [
|
|
9
9
|
"gray",
|
|
10
10
|
"red",
|
|
@@ -23,21 +23,21 @@ var BadgeVanillaComponentImpl = forwardRef(({ as, interactive, className, css, s
|
|
|
23
23
|
...style,
|
|
24
24
|
...assignInlineVars(vars)
|
|
25
25
|
};
|
|
26
|
+
const recipeClass = (interactive ? interactiveBadgeRecipe : badgeRecipe)({
|
|
27
|
+
size,
|
|
28
|
+
variant,
|
|
29
|
+
alphaBg,
|
|
30
|
+
borderless
|
|
31
|
+
});
|
|
26
32
|
return /* @__PURE__ */ jsx(Component, {
|
|
27
33
|
ref,
|
|
28
|
-
className: `${
|
|
29
|
-
size,
|
|
30
|
-
variant,
|
|
31
|
-
alphaBg,
|
|
32
|
-
borderless
|
|
33
|
-
})} ${className || ""}`.trim(),
|
|
34
|
+
className: `${recipeClass} ${className || ""}`.trim(),
|
|
34
35
|
style: mergedStyles,
|
|
35
36
|
...props
|
|
36
37
|
});
|
|
37
38
|
});
|
|
38
39
|
BadgeVanillaComponentImpl.displayName = "BadgeVanilla";
|
|
39
40
|
var BadgeVanilla = BadgeVanillaComponentImpl;
|
|
40
|
-
//#endregion
|
|
41
41
|
export { BadgeVanilla, COLORS };
|
|
42
42
|
|
|
43
43
|
//# sourceMappingURL=Badge.vanilla.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.vanilla.js","names":[],"sources":["../../../components/Badge/Badge.vanilla.tsx"],"sourcesContent":["import { assignInlineVars } from '@vanilla-extract/dynamic';\nimport { RecipeVariants } from '@vanilla-extract/recipes';\nimport { ElementType, forwardRef } from 'react';\n\nimport { CSSProps, processCSSProp } from '../../styles/cssProps';\nimport {\n PolymorphicComponent,\n PolymorphicComponentProps,\n PolymorphicRef,\n} from '../../styles/polymorphic';\nimport { useVanillaExtractTheme } from '../../styles/themeContext';\nimport { badgeRecipe, interactiveBadgeRecipe } from './Badge.vanilla.css';\n\nexport const COLORS = ['gray', 'red', 'blue', 'green', 'neon', 'orange', 'purple'] as const;\n\ntype BadgeRecipeVariants = RecipeVariants<typeof badgeRecipe>;\n\ninterface BadgeOwnProps extends Omit<BadgeRecipeVariants, 'color'>, CSSProps {\n interactive?: boolean;\n}\n\nexport type BadgeVanillaProps<C extends ElementType = 'span'> = PolymorphicComponentProps<\n C,\n BadgeOwnProps\n>;\n\ntype BadgeVanillaComponent = PolymorphicComponent<'span', BadgeVanillaProps<ElementType>>;\n\nconst BadgeVanillaComponentImpl = forwardRef(\n <C extends ElementType = 'span'>(\n {\n as,\n interactive,\n className,\n css,\n style,\n size,\n variant,\n alphaBg,\n borderless,\n ...props\n }: BadgeVanillaProps<C>,\n ref?: PolymorphicRef<C>,\n ) => {\n const Component = as || (interactive ? 'button' : 'span');\n\n const { colors } = useVanillaExtractTheme();\n\n const { style: cssStyles, vars } = processCSSProp(css, colors);\n\n const mergedStyles = {\n ...cssStyles,\n ...style,\n ...assignInlineVars(vars),\n };\n\n const recipe = interactive ? interactiveBadgeRecipe : badgeRecipe;\n const recipeClass = recipe({ size, variant, alphaBg, borderless });\n\n return (\n <Component\n ref={ref}\n className={`${recipeClass} ${className || ''}`.trim()}\n style={mergedStyles}\n {...props}\n />\n );\n },\n);\n\nBadgeVanillaComponentImpl.displayName = 'BadgeVanilla';\n\nexport const BadgeVanilla = BadgeVanillaComponentImpl as BadgeVanillaComponent;\n"],"mappings":";;;;;;;AAaA,IAAa,SAAS;CAAC;CAAQ;CAAO;CAAQ;CAAS;CAAQ;CAAU;AAAQ;AAejF,IAAM,4BAA4B,YAE9B,EACE,IACA,aACA,WACA,KACA,OACA,MACA,SACA,SACA,YACA,GAAG,SAEL,QACG;CACH,MAAM,YAAY,OAAO,cAAc,WAAW;CAElD,MAAM,EAAE,WAAW,uBAAuB;CAE1C,MAAM,EAAE,OAAO,WAAW,SAAS,eAAe,KAAK,MAAM;CAE7D,MAAM,eAAe;EACnB,GAAG;EACH,GAAG;EACH,GAAG,iBAAiB,IAAI;CAC1B;
|
|
1
|
+
{"version":3,"file":"Badge.vanilla.js","names":[],"sources":["../../../components/Badge/Badge.vanilla.tsx"],"sourcesContent":["import { assignInlineVars } from '@vanilla-extract/dynamic';\nimport { RecipeVariants } from '@vanilla-extract/recipes';\nimport { ElementType, forwardRef } from 'react';\n\nimport { CSSProps, processCSSProp } from '../../styles/cssProps';\nimport {\n PolymorphicComponent,\n PolymorphicComponentProps,\n PolymorphicRef,\n} from '../../styles/polymorphic';\nimport { useVanillaExtractTheme } from '../../styles/themeContext';\nimport { badgeRecipe, interactiveBadgeRecipe } from './Badge.vanilla.css';\n\nexport const COLORS = ['gray', 'red', 'blue', 'green', 'neon', 'orange', 'purple'] as const;\n\ntype BadgeRecipeVariants = RecipeVariants<typeof badgeRecipe>;\n\ninterface BadgeOwnProps extends Omit<BadgeRecipeVariants, 'color'>, CSSProps {\n interactive?: boolean;\n}\n\nexport type BadgeVanillaProps<C extends ElementType = 'span'> = PolymorphicComponentProps<\n C,\n BadgeOwnProps\n>;\n\ntype BadgeVanillaComponent = PolymorphicComponent<'span', BadgeVanillaProps<ElementType>>;\n\nconst BadgeVanillaComponentImpl = forwardRef(\n <C extends ElementType = 'span'>(\n {\n as,\n interactive,\n className,\n css,\n style,\n size,\n variant,\n alphaBg,\n borderless,\n ...props\n }: BadgeVanillaProps<C>,\n ref?: PolymorphicRef<C>,\n ) => {\n const Component = as || (interactive ? 'button' : 'span');\n\n const { colors } = useVanillaExtractTheme();\n\n const { style: cssStyles, vars } = processCSSProp(css, colors);\n\n const mergedStyles = {\n ...cssStyles,\n ...style,\n ...assignInlineVars(vars),\n };\n\n const recipe = interactive ? interactiveBadgeRecipe : badgeRecipe;\n const recipeClass = recipe({ size, variant, alphaBg, borderless });\n\n return (\n <Component\n ref={ref}\n className={`${recipeClass} ${className || ''}`.trim()}\n style={mergedStyles}\n {...props}\n />\n );\n },\n);\n\nBadgeVanillaComponentImpl.displayName = 'BadgeVanilla';\n\nexport const BadgeVanilla = BadgeVanillaComponentImpl as BadgeVanillaComponent;\n"],"mappings":";;;;;;;AAaA,IAAa,SAAS;CAAC;CAAQ;CAAO;CAAQ;CAAS;CAAQ;CAAU;AAAQ;AAejF,IAAM,4BAA4B,YAE9B,EACE,IACA,aACA,WACA,KACA,OACA,MACA,SACA,SACA,YACA,GAAG,SAEL,QACG;CACH,MAAM,YAAY,OAAO,cAAc,WAAW;CAElD,MAAM,EAAE,WAAW,uBAAuB;CAE1C,MAAM,EAAE,OAAO,WAAW,SAAS,eAAe,KAAK,MAAM;CAE7D,MAAM,eAAe;EACnB,GAAG;EACH,GAAG;EACH,GAAG,iBAAiB,IAAI;CAC1B;CAGA,MAAM,eADS,cAAc,yBAAyB,YAAA,CAC3B;EAAE;EAAM;EAAS;EAAS;CAAW,CAAC;CAEjE,OACE,oBAAC,WAAD;EACO;EACL,WAAW,GAAG,YAAY,GAAG,aAAa,KAAK,KAAK;EACpD,OAAO;EACP,GAAI;CACL,CAAA;AAEL,CACF;AAEA,0BAA0B,cAAc;AAExC,IAAa,eAAe"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
const require_stitches_config = require("../../stitches.config.cjs");
|
|
2
2
|
const require_Text = require("../Text/Text.cjs");
|
|
3
|
-
|
|
3
|
+
// components/Blockquote/Blockquote.tsx
|
|
4
4
|
var Blockquote = require_stitches_config.styled(require_Text.Text, {
|
|
5
5
|
borderLeft: "2px solid $textDefault",
|
|
6
6
|
p: "$2 $3"
|
|
7
7
|
});
|
|
8
|
-
//#endregion
|
|
9
8
|
exports.Blockquote = Blockquote;
|
|
10
9
|
|
|
11
10
|
//# sourceMappingURL=Blockquote.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blockquote.cjs","names":[],"sources":["../../../components/Blockquote/Blockquote.tsx"],"sourcesContent":["import { CSS, styled, VariantProps } from '../../stitches.config';\nimport { Text } from '../Text';\n\nexport const Blockquote = styled(Text, {\n borderLeft: '2px solid $textDefault',\n p: '$2 $3',\n});\n\nexport type BlockquoteVariants = VariantProps<typeof Blockquote>;\nexport type BlockquoteProps = BlockquoteVariants & { css?: CSS };\n"],"mappings":";;;AAGA,IAAa,
|
|
1
|
+
{"version":3,"file":"Blockquote.cjs","names":["styled","Text"],"sources":["../../../components/Blockquote/Blockquote.tsx"],"sourcesContent":["import { CSS, styled, VariantProps } from '../../stitches.config';\nimport { Text } from '../Text';\n\nexport const Blockquote = styled(Text, {\n borderLeft: '2px solid $textDefault',\n p: '$2 $3',\n});\n\nexport type BlockquoteVariants = VariantProps<typeof Blockquote>;\nexport type BlockquoteProps = BlockquoteVariants & { css?: CSS };\n"],"mappings":";;;AAGA,IAAa,aAAaA,wBAAAA,OAAOC,aAAAA,MAAM;CACrC,YAAY;CACZ,GAAG;AACL,CAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { styled } from "../../stitches.config.js";
|
|
2
2
|
import { Text } from "../Text/Text.js";
|
|
3
|
-
|
|
3
|
+
// components/Blockquote/Blockquote.tsx
|
|
4
4
|
var Blockquote = styled(Text, {
|
|
5
5
|
borderLeft: "2px solid $textDefault",
|
|
6
6
|
p: "$2 $3"
|
|
7
7
|
});
|
|
8
|
-
//#endregion
|
|
9
8
|
export { Blockquote };
|
|
10
9
|
|
|
11
10
|
//# sourceMappingURL=Blockquote.js.map
|
|
@@ -4,7 +4,7 @@ const require_Blockquote_vanilla_css = require("./Blockquote.vanilla.css.cjs");
|
|
|
4
4
|
let react = require("react");
|
|
5
5
|
let _vanilla_extract_dynamic = require("@vanilla-extract/dynamic");
|
|
6
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
-
|
|
7
|
+
// components/Blockquote/Blockquote.vanilla.tsx
|
|
8
8
|
var BlockquoteVanillaComponentImpl = (0, react.forwardRef)(({ as, className, css, style, size, weight, variant, gradient, transform, noWrap, ...props }, ref) => {
|
|
9
9
|
const Component = as || "blockquote";
|
|
10
10
|
const { colors } = require_themeContext.useVanillaExtractTheme();
|
|
@@ -14,23 +14,23 @@ var BlockquoteVanillaComponentImpl = (0, react.forwardRef)(({ as, className, css
|
|
|
14
14
|
...style,
|
|
15
15
|
...(0, _vanilla_extract_dynamic.assignInlineVars)(vars)
|
|
16
16
|
};
|
|
17
|
+
const recipeClass = require_Blockquote_vanilla_css.blockquoteRecipe({
|
|
18
|
+
size,
|
|
19
|
+
weight,
|
|
20
|
+
variant,
|
|
21
|
+
gradient,
|
|
22
|
+
transform,
|
|
23
|
+
noWrap
|
|
24
|
+
});
|
|
17
25
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Component, {
|
|
18
26
|
ref,
|
|
19
|
-
className: `${
|
|
20
|
-
size,
|
|
21
|
-
weight,
|
|
22
|
-
variant,
|
|
23
|
-
gradient,
|
|
24
|
-
transform,
|
|
25
|
-
noWrap
|
|
26
|
-
})} ${className || ""}`.trim(),
|
|
27
|
+
className: `${recipeClass} ${className || ""}`.trim(),
|
|
27
28
|
style: mergedStyles,
|
|
28
29
|
...props
|
|
29
30
|
});
|
|
30
31
|
});
|
|
31
32
|
BlockquoteVanillaComponentImpl.displayName = "BlockquoteVanilla";
|
|
32
33
|
var BlockquoteVanilla = BlockquoteVanillaComponentImpl;
|
|
33
|
-
//#endregion
|
|
34
34
|
exports.BlockquoteVanilla = BlockquoteVanilla;
|
|
35
35
|
|
|
36
36
|
//# sourceMappingURL=Blockquote.vanilla.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blockquote.vanilla.cjs","names":[],"sources":["../../../components/Blockquote/Blockquote.vanilla.tsx"],"sourcesContent":["import { assignInlineVars } from '@vanilla-extract/dynamic';\nimport { RecipeVariants } from '@vanilla-extract/recipes';\nimport { ElementType, forwardRef } from 'react';\n\nimport { CSSProps, processCSSProp } from '../../styles/cssProps';\nimport {\n PolymorphicComponent,\n PolymorphicComponentProps,\n PolymorphicRef,\n} from '../../styles/polymorphic';\nimport { useVanillaExtractTheme } from '../../styles/themeContext';\nimport { blockquoteRecipe } from './Blockquote.vanilla.css';\n\ntype BlockquoteRecipeVariants = RecipeVariants<typeof blockquoteRecipe>;\n\ninterface BlockquoteOwnProps extends Omit<BlockquoteRecipeVariants, never>, CSSProps {}\n\nexport type BlockquoteVanillaProps<C extends ElementType = 'blockquote'> =\n PolymorphicComponentProps<C, BlockquoteOwnProps>;\n\ntype BlockquoteComponent = PolymorphicComponent<'blockquote', BlockquoteVanillaProps<ElementType>>;\n\nconst BlockquoteVanillaComponentImpl = forwardRef(\n <C extends ElementType = 'blockquote'>(\n {\n as,\n className,\n css,\n style,\n size,\n weight,\n variant,\n gradient,\n transform,\n noWrap,\n ...props\n }: BlockquoteVanillaProps<C>,\n ref?: PolymorphicRef<C>,\n ) => {\n const Component = (as || 'blockquote') as ElementType;\n const { colors } = useVanillaExtractTheme();\n\n const { style: cssStyles, vars } = processCSSProp(css, colors);\n\n const mergedStyles = {\n ...cssStyles,\n ...style,\n ...assignInlineVars(vars),\n };\n\n const recipeClass = blockquoteRecipe({ size, weight, variant, gradient, transform, noWrap });\n\n return (\n <Component\n ref={ref}\n className={`${recipeClass} ${className || ''}`.trim()}\n style={mergedStyles}\n {...props}\n />\n );\n },\n);\n\nBlockquoteVanillaComponentImpl.displayName = 'BlockquoteVanilla';\n\nexport const BlockquoteVanilla = BlockquoteVanillaComponentImpl as BlockquoteComponent;\n"],"mappings":";;;;;;;AAsBA,IAAM,kCAAA,
|
|
1
|
+
{"version":3,"file":"Blockquote.vanilla.cjs","names":["forwardRef","useVanillaExtractTheme","processCSSProp","assignInlineVars","blockquoteRecipe"],"sources":["../../../components/Blockquote/Blockquote.vanilla.tsx"],"sourcesContent":["import { assignInlineVars } from '@vanilla-extract/dynamic';\nimport { RecipeVariants } from '@vanilla-extract/recipes';\nimport { ElementType, forwardRef } from 'react';\n\nimport { CSSProps, processCSSProp } from '../../styles/cssProps';\nimport {\n PolymorphicComponent,\n PolymorphicComponentProps,\n PolymorphicRef,\n} from '../../styles/polymorphic';\nimport { useVanillaExtractTheme } from '../../styles/themeContext';\nimport { blockquoteRecipe } from './Blockquote.vanilla.css';\n\ntype BlockquoteRecipeVariants = RecipeVariants<typeof blockquoteRecipe>;\n\ninterface BlockquoteOwnProps extends Omit<BlockquoteRecipeVariants, never>, CSSProps {}\n\nexport type BlockquoteVanillaProps<C extends ElementType = 'blockquote'> =\n PolymorphicComponentProps<C, BlockquoteOwnProps>;\n\ntype BlockquoteComponent = PolymorphicComponent<'blockquote', BlockquoteVanillaProps<ElementType>>;\n\nconst BlockquoteVanillaComponentImpl = forwardRef(\n <C extends ElementType = 'blockquote'>(\n {\n as,\n className,\n css,\n style,\n size,\n weight,\n variant,\n gradient,\n transform,\n noWrap,\n ...props\n }: BlockquoteVanillaProps<C>,\n ref?: PolymorphicRef<C>,\n ) => {\n const Component = (as || 'blockquote') as ElementType;\n const { colors } = useVanillaExtractTheme();\n\n const { style: cssStyles, vars } = processCSSProp(css, colors);\n\n const mergedStyles = {\n ...cssStyles,\n ...style,\n ...assignInlineVars(vars),\n };\n\n const recipeClass = blockquoteRecipe({ size, weight, variant, gradient, transform, noWrap });\n\n return (\n <Component\n ref={ref}\n className={`${recipeClass} ${className || ''}`.trim()}\n style={mergedStyles}\n {...props}\n />\n );\n },\n);\n\nBlockquoteVanillaComponentImpl.displayName = 'BlockquoteVanilla';\n\nexport const BlockquoteVanilla = BlockquoteVanillaComponentImpl as BlockquoteComponent;\n"],"mappings":";;;;;;;AAsBA,IAAM,kCAAA,GAAiCA,MAAAA,WAAAA,EAEnC,EACE,IACA,WACA,KACA,OACA,MACA,QACA,SACA,UACA,WACA,QACA,GAAG,SAEL,QACG;CACH,MAAM,YAAa,MAAM;CACzB,MAAM,EAAE,WAAWC,qBAAAA,uBAAuB;CAE1C,MAAM,EAAE,OAAO,WAAW,SAASC,iBAAAA,eAAe,KAAK,MAAM;CAE7D,MAAM,eAAe;EACnB,GAAG;EACH,GAAG;EACH,IAAA,GAAGC,yBAAAA,iBAAAA,CAAiB,IAAI;CAC1B;CAEA,MAAM,cAAcC,+BAAAA,iBAAiB;EAAE;EAAM;EAAQ;EAAS;EAAU;EAAW;CAAO,CAAC;CAE3F,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,WAAD;EACO;EACL,WAAW,GAAG,YAAY,GAAG,aAAa,KAAK,KAAK;EACpD,OAAO;EACP,GAAI;CACL,CAAA;AAEL,CACF;AAEA,+BAA+B,cAAc;AAE7C,IAAa,oBAAoB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
;/* empty css */
|
|
2
|
-
|
|
2
|
+
// components/Blockquote/Blockquote.vanilla.css.ts
|
|
3
3
|
var blockquoteRecipe = (0, require("@vanilla-extract/recipes/createRuntimeFn").createRuntimeFn)({
|
|
4
4
|
defaultClassName: "kyxdzh1 kyxdzh0",
|
|
5
5
|
variantClassNames: {
|
|
@@ -48,7 +48,6 @@ var blockquoteRecipe = (0, require("@vanilla-extract/recipes/createRuntimeFn").c
|
|
|
48
48
|
},
|
|
49
49
|
compoundVariants: []
|
|
50
50
|
});
|
|
51
|
-
//#endregion
|
|
52
51
|
exports.blockquoteRecipe = blockquoteRecipe;
|
|
53
52
|
|
|
54
53
|
//# sourceMappingURL=Blockquote.vanilla.css.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blockquote.vanilla.css.cjs","names":[],"sources":["../../../components/Blockquote/Blockquote.vanilla.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\nimport { recipe } from '@vanilla-extract/recipes';\n\nimport {\n colorVariants,\n gradientVariants,\n noWrapVariants,\n sizeVariants,\n transformVariants,\n weightVariants,\n} from '../../styles/textVariants.css';\nimport { tokens } from '../../styles/tokens.css';\n\n// Base blockquote styles (inherits from Text component with blockquote-specific overrides)\nconst blockquoteBase = style({\n lineHeight: '1',\n margin: '0',\n fontFamily: tokens.fonts.rubik,\n fontVariantNumeric: 'tabular-nums',\n display: 'inline-block',\n borderLeft: `2px solid ${tokens.colors.textDefault}`,\n padding: `${tokens.space['2']} ${tokens.space['3']}`,\n});\n\nexport const blockquoteRecipe = recipe({\n base: blockquoteBase,\n\n variants: {\n size: sizeVariants,\n weight: weightVariants,\n variant: colorVariants,\n gradient: gradientVariants,\n transform: transformVariants,\n noWrap: noWrapVariants,\n },\n\n defaultVariants: {\n size: '3',\n variant: 'default',\n },\n});\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"Blockquote.vanilla.css.cjs","names":["_7a468"],"sources":["../../../components/Blockquote/Blockquote.vanilla.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\nimport { recipe } from '@vanilla-extract/recipes';\n\nimport {\n colorVariants,\n gradientVariants,\n noWrapVariants,\n sizeVariants,\n transformVariants,\n weightVariants,\n} from '../../styles/textVariants.css';\nimport { tokens } from '../../styles/tokens.css';\n\n// Base blockquote styles (inherits from Text component with blockquote-specific overrides)\nconst blockquoteBase = style({\n lineHeight: '1',\n margin: '0',\n fontFamily: tokens.fonts.rubik,\n fontVariantNumeric: 'tabular-nums',\n display: 'inline-block',\n borderLeft: `2px solid ${tokens.colors.textDefault}`,\n padding: `${tokens.space['2']} ${tokens.space['3']}`,\n});\n\nexport const blockquoteRecipe = recipe({\n base: blockquoteBase,\n\n variants: {\n size: sizeVariants,\n weight: weightVariants,\n variant: colorVariants,\n gradient: gradientVariants,\n transform: transformVariants,\n noWrap: noWrapVariants,\n },\n\n defaultVariants: {\n size: '3',\n variant: 'default',\n },\n});\n"],"mappings":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
3
|
-
|
|
3
|
+
// components/Blockquote/Blockquote.vanilla.css.ts
|
|
4
4
|
var blockquoteRecipe = createRuntimeFn({
|
|
5
5
|
defaultClassName: "kyxdzh1 kyxdzh0",
|
|
6
6
|
variantClassNames: {
|
|
@@ -49,7 +49,6 @@ var blockquoteRecipe = createRuntimeFn({
|
|
|
49
49
|
},
|
|
50
50
|
compoundVariants: []
|
|
51
51
|
});
|
|
52
|
-
//#endregion
|
|
53
52
|
export { blockquoteRecipe };
|
|
54
53
|
|
|
55
54
|
//# sourceMappingURL=Blockquote.vanilla.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blockquote.vanilla.css.js","names":[],"sources":["../../../components/Blockquote/Blockquote.vanilla.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\nimport { recipe } from '@vanilla-extract/recipes';\n\nimport {\n colorVariants,\n gradientVariants,\n noWrapVariants,\n sizeVariants,\n transformVariants,\n weightVariants,\n} from '../../styles/textVariants.css';\nimport { tokens } from '../../styles/tokens.css';\n\n// Base blockquote styles (inherits from Text component with blockquote-specific overrides)\nconst blockquoteBase = style({\n lineHeight: '1',\n margin: '0',\n fontFamily: tokens.fonts.rubik,\n fontVariantNumeric: 'tabular-nums',\n display: 'inline-block',\n borderLeft: `2px solid ${tokens.colors.textDefault}`,\n padding: `${tokens.space['2']} ${tokens.space['3']}`,\n});\n\nexport const blockquoteRecipe = recipe({\n base: blockquoteBase,\n\n variants: {\n size: sizeVariants,\n weight: weightVariants,\n variant: colorVariants,\n gradient: gradientVariants,\n transform: transformVariants,\n noWrap: noWrapVariants,\n },\n\n defaultVariants: {\n size: '3',\n variant: 'default',\n },\n});\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"Blockquote.vanilla.css.js","names":["_7a468"],"sources":["../../../components/Blockquote/Blockquote.vanilla.css.ts"],"sourcesContent":["import { style } from '@vanilla-extract/css';\nimport { recipe } from '@vanilla-extract/recipes';\n\nimport {\n colorVariants,\n gradientVariants,\n noWrapVariants,\n sizeVariants,\n transformVariants,\n weightVariants,\n} from '../../styles/textVariants.css';\nimport { tokens } from '../../styles/tokens.css';\n\n// Base blockquote styles (inherits from Text component with blockquote-specific overrides)\nconst blockquoteBase = style({\n lineHeight: '1',\n margin: '0',\n fontFamily: tokens.fonts.rubik,\n fontVariantNumeric: 'tabular-nums',\n display: 'inline-block',\n borderLeft: `2px solid ${tokens.colors.textDefault}`,\n padding: `${tokens.space['2']} ${tokens.space['3']}`,\n});\n\nexport const blockquoteRecipe = recipe({\n base: blockquoteBase,\n\n variants: {\n size: sizeVariants,\n weight: weightVariants,\n variant: colorVariants,\n gradient: gradientVariants,\n transform: transformVariants,\n noWrap: noWrapVariants,\n },\n\n defaultVariants: {\n size: '3',\n variant: 'default',\n },\n});\n"],"mappings":""}
|
|
@@ -4,7 +4,7 @@ import { blockquoteRecipe } from "./Blockquote.vanilla.css.js";
|
|
|
4
4
|
import { forwardRef } from "react";
|
|
5
5
|
import { assignInlineVars } from "@vanilla-extract/dynamic";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// components/Blockquote/Blockquote.vanilla.tsx
|
|
8
8
|
var BlockquoteVanillaComponentImpl = forwardRef(({ as, className, css, style, size, weight, variant, gradient, transform, noWrap, ...props }, ref) => {
|
|
9
9
|
const Component = as || "blockquote";
|
|
10
10
|
const { colors } = useVanillaExtractTheme();
|
|
@@ -14,23 +14,23 @@ var BlockquoteVanillaComponentImpl = forwardRef(({ as, className, css, style, si
|
|
|
14
14
|
...style,
|
|
15
15
|
...assignInlineVars(vars)
|
|
16
16
|
};
|
|
17
|
+
const recipeClass = blockquoteRecipe({
|
|
18
|
+
size,
|
|
19
|
+
weight,
|
|
20
|
+
variant,
|
|
21
|
+
gradient,
|
|
22
|
+
transform,
|
|
23
|
+
noWrap
|
|
24
|
+
});
|
|
17
25
|
return /* @__PURE__ */ jsx(Component, {
|
|
18
26
|
ref,
|
|
19
|
-
className: `${
|
|
20
|
-
size,
|
|
21
|
-
weight,
|
|
22
|
-
variant,
|
|
23
|
-
gradient,
|
|
24
|
-
transform,
|
|
25
|
-
noWrap
|
|
26
|
-
})} ${className || ""}`.trim(),
|
|
27
|
+
className: `${recipeClass} ${className || ""}`.trim(),
|
|
27
28
|
style: mergedStyles,
|
|
28
29
|
...props
|
|
29
30
|
});
|
|
30
31
|
});
|
|
31
32
|
BlockquoteVanillaComponentImpl.displayName = "BlockquoteVanilla";
|
|
32
33
|
var BlockquoteVanilla = BlockquoteVanillaComponentImpl;
|
|
33
|
-
//#endregion
|
|
34
34
|
export { BlockquoteVanilla };
|
|
35
35
|
|
|
36
36
|
//# sourceMappingURL=Blockquote.vanilla.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blockquote.vanilla.js","names":[],"sources":["../../../components/Blockquote/Blockquote.vanilla.tsx"],"sourcesContent":["import { assignInlineVars } from '@vanilla-extract/dynamic';\nimport { RecipeVariants } from '@vanilla-extract/recipes';\nimport { ElementType, forwardRef } from 'react';\n\nimport { CSSProps, processCSSProp } from '../../styles/cssProps';\nimport {\n PolymorphicComponent,\n PolymorphicComponentProps,\n PolymorphicRef,\n} from '../../styles/polymorphic';\nimport { useVanillaExtractTheme } from '../../styles/themeContext';\nimport { blockquoteRecipe } from './Blockquote.vanilla.css';\n\ntype BlockquoteRecipeVariants = RecipeVariants<typeof blockquoteRecipe>;\n\ninterface BlockquoteOwnProps extends Omit<BlockquoteRecipeVariants, never>, CSSProps {}\n\nexport type BlockquoteVanillaProps<C extends ElementType = 'blockquote'> =\n PolymorphicComponentProps<C, BlockquoteOwnProps>;\n\ntype BlockquoteComponent = PolymorphicComponent<'blockquote', BlockquoteVanillaProps<ElementType>>;\n\nconst BlockquoteVanillaComponentImpl = forwardRef(\n <C extends ElementType = 'blockquote'>(\n {\n as,\n className,\n css,\n style,\n size,\n weight,\n variant,\n gradient,\n transform,\n noWrap,\n ...props\n }: BlockquoteVanillaProps<C>,\n ref?: PolymorphicRef<C>,\n ) => {\n const Component = (as || 'blockquote') as ElementType;\n const { colors } = useVanillaExtractTheme();\n\n const { style: cssStyles, vars } = processCSSProp(css, colors);\n\n const mergedStyles = {\n ...cssStyles,\n ...style,\n ...assignInlineVars(vars),\n };\n\n const recipeClass = blockquoteRecipe({ size, weight, variant, gradient, transform, noWrap });\n\n return (\n <Component\n ref={ref}\n className={`${recipeClass} ${className || ''}`.trim()}\n style={mergedStyles}\n {...props}\n />\n );\n },\n);\n\nBlockquoteVanillaComponentImpl.displayName = 'BlockquoteVanilla';\n\nexport const BlockquoteVanilla = BlockquoteVanillaComponentImpl as BlockquoteComponent;\n"],"mappings":";;;;;;;AAsBA,IAAM,iCAAiC,YAEnC,EACE,IACA,WACA,KACA,OACA,MACA,QACA,SACA,UACA,WACA,QACA,GAAG,SAEL,QACG;CACH,MAAM,YAAa,MAAM;CACzB,MAAM,EAAE,WAAW,uBAAuB;CAE1C,MAAM,EAAE,OAAO,WAAW,SAAS,eAAe,KAAK,MAAM;CAE7D,MAAM,eAAe;EACnB,GAAG;EACH,GAAG;EACH,GAAG,iBAAiB,IAAI;CAC1B;
|
|
1
|
+
{"version":3,"file":"Blockquote.vanilla.js","names":[],"sources":["../../../components/Blockquote/Blockquote.vanilla.tsx"],"sourcesContent":["import { assignInlineVars } from '@vanilla-extract/dynamic';\nimport { RecipeVariants } from '@vanilla-extract/recipes';\nimport { ElementType, forwardRef } from 'react';\n\nimport { CSSProps, processCSSProp } from '../../styles/cssProps';\nimport {\n PolymorphicComponent,\n PolymorphicComponentProps,\n PolymorphicRef,\n} from '../../styles/polymorphic';\nimport { useVanillaExtractTheme } from '../../styles/themeContext';\nimport { blockquoteRecipe } from './Blockquote.vanilla.css';\n\ntype BlockquoteRecipeVariants = RecipeVariants<typeof blockquoteRecipe>;\n\ninterface BlockquoteOwnProps extends Omit<BlockquoteRecipeVariants, never>, CSSProps {}\n\nexport type BlockquoteVanillaProps<C extends ElementType = 'blockquote'> =\n PolymorphicComponentProps<C, BlockquoteOwnProps>;\n\ntype BlockquoteComponent = PolymorphicComponent<'blockquote', BlockquoteVanillaProps<ElementType>>;\n\nconst BlockquoteVanillaComponentImpl = forwardRef(\n <C extends ElementType = 'blockquote'>(\n {\n as,\n className,\n css,\n style,\n size,\n weight,\n variant,\n gradient,\n transform,\n noWrap,\n ...props\n }: BlockquoteVanillaProps<C>,\n ref?: PolymorphicRef<C>,\n ) => {\n const Component = (as || 'blockquote') as ElementType;\n const { colors } = useVanillaExtractTheme();\n\n const { style: cssStyles, vars } = processCSSProp(css, colors);\n\n const mergedStyles = {\n ...cssStyles,\n ...style,\n ...assignInlineVars(vars),\n };\n\n const recipeClass = blockquoteRecipe({ size, weight, variant, gradient, transform, noWrap });\n\n return (\n <Component\n ref={ref}\n className={`${recipeClass} ${className || ''}`.trim()}\n style={mergedStyles}\n {...props}\n />\n );\n },\n);\n\nBlockquoteVanillaComponentImpl.displayName = 'BlockquoteVanilla';\n\nexport const BlockquoteVanilla = BlockquoteVanillaComponentImpl as BlockquoteComponent;\n"],"mappings":";;;;;;;AAsBA,IAAM,iCAAiC,YAEnC,EACE,IACA,WACA,KACA,OACA,MACA,QACA,SACA,UACA,WACA,QACA,GAAG,SAEL,QACG;CACH,MAAM,YAAa,MAAM;CACzB,MAAM,EAAE,WAAW,uBAAuB;CAE1C,MAAM,EAAE,OAAO,WAAW,SAAS,eAAe,KAAK,MAAM;CAE7D,MAAM,eAAe;EACnB,GAAG;EACH,GAAG;EACH,GAAG,iBAAiB,IAAI;CAC1B;CAEA,MAAM,cAAc,iBAAiB;EAAE;EAAM;EAAQ;EAAS;EAAU;EAAW;CAAO,CAAC;CAE3F,OACE,oBAAC,WAAD;EACO;EACL,WAAW,GAAG,YAAY,GAAG,aAAa,KAAK,KAAK;EACpD,OAAO;EACP,GAAI;CACL,CAAA;AAEL,CACF;AAEA,+BAA+B,cAAc;AAE7C,IAAa,oBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box.cjs","names":[],"sources":["../../../components/Box/Box.tsx"],"sourcesContent":["import { styled } from '../../stitches.config';\n\nexport const Box = styled('div', {\n // Reset\n boxSizing: 'border-box',\n});\n"],"mappings":";AAEA,IAAa,
|
|
1
|
+
{"version":3,"file":"Box.cjs","names":["styled"],"sources":["../../../components/Box/Box.tsx"],"sourcesContent":["import { styled } from '../../stitches.config';\n\nexport const Box = styled('div', {\n // Reset\n boxSizing: 'border-box',\n});\n"],"mappings":";AAEA,IAAa,M,mCAAMA,CAAAA,CAAAA,OAAO,OAAO,EAE/B,WAAW,aACb,CAAC"}
|
|
@@ -4,7 +4,7 @@ const require_Box_vanilla_css = require("./Box.vanilla.css.cjs");
|
|
|
4
4
|
let react = require("react");
|
|
5
5
|
let _vanilla_extract_dynamic = require("@vanilla-extract/dynamic");
|
|
6
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
|
-
|
|
7
|
+
// components/Box/Box.vanilla.tsx
|
|
8
8
|
var BoxVanillaComponent = (0, react.forwardRef)(({ as, className, css, style, ...props }, ref) => {
|
|
9
9
|
const Component = as || "div";
|
|
10
10
|
const { colors } = require_themeContext.useVanillaExtractTheme();
|
|
@@ -23,7 +23,6 @@ var BoxVanillaComponent = (0, react.forwardRef)(({ as, className, css, style, ..
|
|
|
23
23
|
});
|
|
24
24
|
BoxVanillaComponent.displayName = "BoxVanilla";
|
|
25
25
|
var BoxVanilla = BoxVanillaComponent;
|
|
26
|
-
//#endregion
|
|
27
26
|
exports.BoxVanilla = BoxVanilla;
|
|
28
27
|
|
|
29
28
|
//# sourceMappingURL=Box.vanilla.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box.vanilla.cjs","names":[],"sources":["../../../components/Box/Box.vanilla.tsx"],"sourcesContent":["import { assignInlineVars } from '@vanilla-extract/dynamic';\nimport { ElementType, forwardRef } from 'react';\n\nimport { CSSProps, processCSSProp } from '../../styles/cssProps';\nimport {\n PolymorphicComponent,\n PolymorphicComponentProps,\n PolymorphicRef,\n} from '../../styles/polymorphic';\nimport { useVanillaExtractTheme } from '../../styles/themeContext';\nimport { box } from './Box.vanilla.css';\n\nexport type BoxProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, CSSProps>;\n\ntype BoxComponent = PolymorphicComponent<'div', BoxProps<ElementType>>;\n\nconst BoxVanillaComponent = forwardRef(\n <C extends ElementType = 'div'>(\n { as, className, css, style, ...props }: BoxProps<C>,\n ref?: PolymorphicRef<C>,\n ) => {\n const Component = as || 'div';\n\n const { colors } = useVanillaExtractTheme();\n\n const { style: cssStyles, vars } = processCSSProp(css, colors);\n\n const mergedStyles = {\n ...cssStyles,\n ...style,\n ...assignInlineVars(vars),\n };\n\n return (\n <Component\n ref={ref}\n className={`${box} ${className || ''}`.trim()}\n style={mergedStyles}\n {...props}\n />\n );\n },\n);\n\nBoxVanillaComponent.displayName = 'BoxVanilla';\n\nexport const BoxVanilla = BoxVanillaComponent as BoxComponent;\n"],"mappings":";;;;;;;AAgBA,IAAM,uBAAA,
|
|
1
|
+
{"version":3,"file":"Box.vanilla.cjs","names":["forwardRef","useVanillaExtractTheme","processCSSProp","assignInlineVars","box"],"sources":["../../../components/Box/Box.vanilla.tsx"],"sourcesContent":["import { assignInlineVars } from '@vanilla-extract/dynamic';\nimport { ElementType, forwardRef } from 'react';\n\nimport { CSSProps, processCSSProp } from '../../styles/cssProps';\nimport {\n PolymorphicComponent,\n PolymorphicComponentProps,\n PolymorphicRef,\n} from '../../styles/polymorphic';\nimport { useVanillaExtractTheme } from '../../styles/themeContext';\nimport { box } from './Box.vanilla.css';\n\nexport type BoxProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, CSSProps>;\n\ntype BoxComponent = PolymorphicComponent<'div', BoxProps<ElementType>>;\n\nconst BoxVanillaComponent = forwardRef(\n <C extends ElementType = 'div'>(\n { as, className, css, style, ...props }: BoxProps<C>,\n ref?: PolymorphicRef<C>,\n ) => {\n const Component = as || 'div';\n\n const { colors } = useVanillaExtractTheme();\n\n const { style: cssStyles, vars } = processCSSProp(css, colors);\n\n const mergedStyles = {\n ...cssStyles,\n ...style,\n ...assignInlineVars(vars),\n };\n\n return (\n <Component\n ref={ref}\n className={`${box} ${className || ''}`.trim()}\n style={mergedStyles}\n {...props}\n />\n );\n },\n);\n\nBoxVanillaComponent.displayName = 'BoxVanilla';\n\nexport const BoxVanilla = BoxVanillaComponent as BoxComponent;\n"],"mappings":";;;;;;;AAgBA,IAAM,uBAAA,GAAsBA,MAAAA,WAAAA,EAExB,EAAE,IAAI,WAAW,KAAK,OAAO,GAAG,SAChC,QACG;CACH,MAAM,YAAY,MAAM;CAExB,MAAM,EAAE,WAAWC,qBAAAA,uBAAuB;CAE1C,MAAM,EAAE,OAAO,WAAW,SAASC,iBAAAA,eAAe,KAAK,MAAM;CAE7D,MAAM,eAAe;EACnB,GAAG;EACH,GAAG;EACH,IAAA,GAAGC,yBAAAA,iBAAAA,CAAiB,IAAI;CAC1B;CAEA,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,WAAD;EACO;EACL,WAAW,GAAGC,wBAAAA,IAAI,GAAG,aAAa,KAAK,KAAK;EAC5C,OAAO;EACP,GAAI;CACL,CAAA;AAEL,CACF;AAEA,oBAAoB,cAAc;AAElC,IAAa,aAAa"}
|
|
@@ -4,7 +4,7 @@ import { box } from "./Box.vanilla.css.js";
|
|
|
4
4
|
import { forwardRef } from "react";
|
|
5
5
|
import { assignInlineVars } from "@vanilla-extract/dynamic";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// components/Box/Box.vanilla.tsx
|
|
8
8
|
var BoxVanillaComponent = forwardRef(({ as, className, css, style, ...props }, ref) => {
|
|
9
9
|
const Component = as || "div";
|
|
10
10
|
const { colors } = useVanillaExtractTheme();
|
|
@@ -23,7 +23,6 @@ var BoxVanillaComponent = forwardRef(({ as, className, css, style, ...props }, r
|
|
|
23
23
|
});
|
|
24
24
|
BoxVanillaComponent.displayName = "BoxVanilla";
|
|
25
25
|
var BoxVanilla = BoxVanillaComponent;
|
|
26
|
-
//#endregion
|
|
27
26
|
export { BoxVanilla };
|
|
28
27
|
|
|
29
28
|
//# sourceMappingURL=Box.vanilla.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_stitches_config = require("../../stitches.config.cjs");
|
|
2
|
-
|
|
2
|
+
// components/Bubble/Bubble.tsx
|
|
3
3
|
var bip = require_stitches_config.keyframes({
|
|
4
4
|
"0%": {
|
|
5
5
|
top: 0,
|
|
@@ -93,7 +93,6 @@ var Bubble = require_stitches_config.styled("div", {
|
|
|
93
93
|
noAnimation: false
|
|
94
94
|
}
|
|
95
95
|
});
|
|
96
|
-
//#endregion
|
|
97
96
|
exports.Bubble = Bubble;
|
|
98
97
|
|
|
99
98
|
//# sourceMappingURL=Bubble.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Bubble.cjs","names":[],"sources":["../../../components/Bubble/Bubble.tsx"],"sourcesContent":["import { keyframes, styled } from '../../stitches.config';\n\nconst bip = keyframes({\n '0%': {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n opacity: 1,\n },\n '100%': {\n top: -8,\n right: -8,\n bottom: -8,\n left: -8,\n opacity: 0,\n },\n});\n\nexport const Bubble = styled('div', {\n display: 'inline-block',\n size: '$4',\n bc: '$red8',\n borderRadius: '50%',\n position: 'relative',\n\n '&::before': {\n animation: `${bip} 1s ease infinite`,\n boxSizing: 'border-box',\n content: '\"\"',\n position: 'absolute',\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n boxShadow: 'inset 0 0 0 1px rgba(255,255,255,.5)',\n borderRadius: '50%',\n pointerEvents: 'none',\n zIndex: -1,\n },\n\n '&::after': {\n boxSizing: 'border-box',\n content: '\"\"',\n position: 'absolute',\n top: 5,\n right: 5,\n bottom: 5,\n left: 5,\n bc: 'rgba(255,255,255,.1)',\n borderRadius: '50%',\n pointerEvents: 'none',\n },\n\n variants: {\n variant: {\n red: { bc: '$red8', '&::before': { bc: '$red8' } },\n green: { bc: '$green8', '&::before': { bc: '$green8' } },\n orange: { bc: '$orange8', '&::before': { bc: '$orange8' } },\n blue: { bc: '$blue8', '&::before': { bc: '$blue8' } },\n yellow: { bc: '$neon8', '&::before': { bc: '$neon8' } },\n purple: { bc: '$purple8', '&::before': { bc: '$purple8' } },\n gray: { bc: '$slate8', '&::before': { bc: '$slate8' } },\n },\n size: {\n 'x-small': { size: '$1' },\n small: { size: '$2' },\n medium: { size: '$3' },\n large: { size: '$4' },\n 'x-large': { size: '$5' },\n },\n noAnimation: {\n true: {\n '&::before': { content: 'none' },\n },\n },\n },\n\n defaultVariants: {\n size: 'small',\n noAnimation: false,\n },\n});\n"],"mappings":";;AAEA,IAAM,
|
|
1
|
+
{"version":3,"file":"Bubble.cjs","names":["keyframes","styled"],"sources":["../../../components/Bubble/Bubble.tsx"],"sourcesContent":["import { keyframes, styled } from '../../stitches.config';\n\nconst bip = keyframes({\n '0%': {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n opacity: 1,\n },\n '100%': {\n top: -8,\n right: -8,\n bottom: -8,\n left: -8,\n opacity: 0,\n },\n});\n\nexport const Bubble = styled('div', {\n display: 'inline-block',\n size: '$4',\n bc: '$red8',\n borderRadius: '50%',\n position: 'relative',\n\n '&::before': {\n animation: `${bip} 1s ease infinite`,\n boxSizing: 'border-box',\n content: '\"\"',\n position: 'absolute',\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n boxShadow: 'inset 0 0 0 1px rgba(255,255,255,.5)',\n borderRadius: '50%',\n pointerEvents: 'none',\n zIndex: -1,\n },\n\n '&::after': {\n boxSizing: 'border-box',\n content: '\"\"',\n position: 'absolute',\n top: 5,\n right: 5,\n bottom: 5,\n left: 5,\n bc: 'rgba(255,255,255,.1)',\n borderRadius: '50%',\n pointerEvents: 'none',\n },\n\n variants: {\n variant: {\n red: { bc: '$red8', '&::before': { bc: '$red8' } },\n green: { bc: '$green8', '&::before': { bc: '$green8' } },\n orange: { bc: '$orange8', '&::before': { bc: '$orange8' } },\n blue: { bc: '$blue8', '&::before': { bc: '$blue8' } },\n yellow: { bc: '$neon8', '&::before': { bc: '$neon8' } },\n purple: { bc: '$purple8', '&::before': { bc: '$purple8' } },\n gray: { bc: '$slate8', '&::before': { bc: '$slate8' } },\n },\n size: {\n 'x-small': { size: '$1' },\n small: { size: '$2' },\n medium: { size: '$3' },\n large: { size: '$4' },\n 'x-large': { size: '$5' },\n },\n noAnimation: {\n true: {\n '&::before': { content: 'none' },\n },\n },\n },\n\n defaultVariants: {\n size: 'small',\n noAnimation: false,\n },\n});\n"],"mappings":";;AAEA,IAAM,MAAMA,wBAAAA,UAAU;CACpB,MAAM;EACJ,KAAK;EACL,OAAO;EACP,QAAQ;EACR,MAAM;EACN,SAAS;CACX;CACA,QAAQ;EACN,KAAK;EACL,OAAO;EACP,QAAQ;EACR,MAAM;EACN,SAAS;CACX;AACF,CAAC;AAED,IAAa,SAASC,wBAAAA,OAAO,OAAO;CAClC,SAAS;CACT,MAAM;CACN,IAAI;CACJ,cAAc;CACd,UAAU;CAEV,aAAa;EACX,WAAW,GAAG,IAAI;EAClB,WAAW;EACX,SAAS;EACT,UAAU;EACV,KAAK;EACL,OAAO;EACP,QAAQ;EACR,MAAM;EACN,WAAW;EACX,cAAc;EACd,eAAe;EACf,QAAQ;CACV;CAEA,YAAY;EACV,WAAW;EACX,SAAS;EACT,UAAU;EACV,KAAK;EACL,OAAO;EACP,QAAQ;EACR,MAAM;EACN,IAAI;EACJ,cAAc;EACd,eAAe;CACjB;CAEA,UAAU;EACR,SAAS;GACP,KAAK;IAAE,IAAI;IAAS,aAAa,EAAE,IAAI,QAAQ;GAAE;GACjD,OAAO;IAAE,IAAI;IAAW,aAAa,EAAE,IAAI,UAAU;GAAE;GACvD,QAAQ;IAAE,IAAI;IAAY,aAAa,EAAE,IAAI,WAAW;GAAE;GAC1D,MAAM;IAAE,IAAI;IAAU,aAAa,EAAE,IAAI,SAAS;GAAE;GACpD,QAAQ;IAAE,IAAI;IAAU,aAAa,EAAE,IAAI,SAAS;GAAE;GACtD,QAAQ;IAAE,IAAI;IAAY,aAAa,EAAE,IAAI,WAAW;GAAE;GAC1D,MAAM;IAAE,IAAI;IAAW,aAAa,EAAE,IAAI,UAAU;GAAE;EACxD;EACA,MAAM;GACJ,WAAW,EAAE,MAAM,KAAK;GACxB,OAAO,EAAE,MAAM,KAAK;GACpB,QAAQ,EAAE,MAAM,KAAK;GACrB,OAAO,EAAE,MAAM,KAAK;GACpB,WAAW,EAAE,MAAM,KAAK;EAC1B;EACA,aAAa,EACX,MAAM,EACJ,aAAa,EAAE,SAAS,OAAO,EACjC,EACF;CACF;CAEA,iBAAiB;EACf,MAAM;EACN,aAAa;CACf;AACF,CAAC"}
|