@causw/core 0.0.10 → 0.0.12
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 +29 -0
- package/dist/assets/avatar/default.cjs +11 -0
- package/dist/assets/avatar/default.mjs +6 -0
- package/dist/assets/avatar/default.mjs.map +1 -0
- package/dist/components/Avatar/Avatar.cjs +46 -0
- package/dist/components/Avatar/Avatar.d.cts +25 -0
- package/dist/components/Avatar/Avatar.d.cts.map +1 -0
- package/dist/components/Avatar/Avatar.d.mts +26 -0
- package/dist/components/Avatar/Avatar.d.mts.map +1 -0
- package/dist/components/Avatar/Avatar.mjs +45 -0
- package/dist/components/Avatar/Avatar.mjs.map +1 -0
- package/dist/components/Avatar/Avatar.styles.cjs +22 -0
- package/dist/components/Avatar/Avatar.styles.d.cts +75 -0
- package/dist/components/Avatar/Avatar.styles.d.cts.map +1 -0
- package/dist/components/Avatar/Avatar.styles.d.mts +75 -0
- package/dist/components/Avatar/Avatar.styles.d.mts.map +1 -0
- package/dist/components/Avatar/Avatar.styles.mjs +22 -0
- package/dist/components/Avatar/Avatar.styles.mjs.map +1 -0
- package/dist/components/Avatar/index.d.mts +2 -0
- package/dist/components/Box/Box.cjs +24 -0
- package/dist/components/Box/Box.d.cts +22 -0
- package/dist/components/Box/Box.d.cts.map +1 -0
- package/dist/components/Box/Box.d.mts +23 -0
- package/dist/components/Box/Box.d.mts.map +1 -0
- package/dist/components/Box/Box.mjs +23 -0
- package/dist/components/Box/Box.mjs.map +1 -0
- package/dist/components/Box/Box.styles.cjs +48 -0
- package/dist/components/Box/Box.styles.d.cts +105 -0
- package/dist/components/Box/Box.styles.d.cts.map +1 -0
- package/dist/components/Box/Box.styles.d.mts +105 -0
- package/dist/components/Box/Box.styles.d.mts.map +1 -0
- package/dist/components/Box/Box.styles.mjs +48 -0
- package/dist/components/Box/Box.styles.mjs.map +1 -0
- package/dist/components/Box/index.d.mts +2 -0
- package/dist/components/Button/Button.cjs +23 -0
- package/dist/components/Button/Button.d.cts +19 -0
- package/dist/components/Button/Button.d.cts.map +1 -0
- package/dist/components/Button/Button.d.mts +20 -0
- package/dist/components/Button/Button.d.mts.map +1 -0
- package/dist/components/Button/Button.mjs +23 -0
- package/dist/components/Button/Button.mjs.map +1 -0
- package/dist/components/Button/Button.styles.cjs +35 -0
- package/dist/components/Button/Button.styles.d.cts +63 -0
- package/dist/components/Button/Button.styles.d.cts.map +1 -0
- package/dist/components/Button/Button.styles.d.mts +63 -0
- package/dist/components/Button/Button.styles.d.mts.map +1 -0
- package/dist/components/Button/Button.styles.mjs +35 -0
- package/dist/components/Button/Button.styles.mjs.map +1 -0
- package/dist/components/Button/index.d.mts +1 -0
- package/dist/components/CTAButton/CTAButton.cjs +22 -0
- package/dist/components/CTAButton/CTAButton.d.cts +18 -0
- package/dist/components/CTAButton/CTAButton.d.cts.map +1 -0
- package/dist/components/CTAButton/CTAButton.d.mts +19 -0
- package/dist/components/CTAButton/CTAButton.d.mts.map +1 -0
- package/dist/components/CTAButton/CTAButton.mjs +22 -0
- package/dist/components/CTAButton/CTAButton.mjs.map +1 -0
- package/dist/components/CTAButton/CTAButton.styles.cjs +32 -0
- package/dist/components/CTAButton/CTAButton.styles.d.cts +57 -0
- package/dist/components/CTAButton/CTAButton.styles.d.cts.map +1 -0
- package/dist/components/CTAButton/CTAButton.styles.d.mts +57 -0
- package/dist/components/CTAButton/CTAButton.styles.d.mts.map +1 -0
- package/dist/components/CTAButton/CTAButton.styles.mjs +32 -0
- package/dist/components/CTAButton/CTAButton.styles.mjs.map +1 -0
- package/dist/components/CTAButton/index.d.mts +1 -0
- package/dist/components/Checkbox/Checkbox.cjs +83 -0
- package/dist/components/Checkbox/Checkbox.d.cts +44 -0
- package/dist/components/Checkbox/Checkbox.d.cts.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.mts +46 -0
- package/dist/components/Checkbox/Checkbox.d.mts.map +1 -0
- package/dist/components/Checkbox/Checkbox.mjs +82 -0
- package/dist/components/Checkbox/Checkbox.mjs.map +1 -0
- package/dist/components/Checkbox/Checkbox.styles.cjs +31 -0
- package/dist/components/Checkbox/Checkbox.styles.d.cts +75 -0
- package/dist/components/Checkbox/Checkbox.styles.d.cts.map +1 -0
- package/dist/components/Checkbox/Checkbox.styles.d.mts +75 -0
- package/dist/components/Checkbox/Checkbox.styles.d.mts.map +1 -0
- package/dist/components/Checkbox/Checkbox.styles.mjs +31 -0
- package/dist/components/Checkbox/Checkbox.styles.mjs.map +1 -0
- package/dist/components/Checkbox/index.d.mts +1 -0
- package/dist/components/Chip/Chip.cjs +29 -0
- package/dist/components/Chip/Chip.d.cts +22 -0
- package/dist/components/Chip/Chip.d.cts.map +1 -0
- package/dist/components/Chip/Chip.d.mts +23 -0
- package/dist/components/Chip/Chip.d.mts.map +1 -0
- package/dist/components/Chip/Chip.mjs +28 -0
- package/dist/components/Chip/Chip.mjs.map +1 -0
- package/dist/components/Chip/Chip.styles.cjs +30 -0
- package/dist/components/Chip/Chip.styles.d.cts +51 -0
- package/dist/components/Chip/Chip.styles.d.cts.map +1 -0
- package/dist/components/Chip/Chip.styles.d.mts +51 -0
- package/dist/components/Chip/Chip.styles.d.mts.map +1 -0
- package/dist/components/Chip/Chip.styles.mjs +30 -0
- package/dist/components/Chip/Chip.styles.mjs.map +1 -0
- package/dist/components/Chip/index.d.mts +2 -0
- package/dist/components/Dialog/Dialog.cjs +59 -0
- package/dist/components/Dialog/Dialog.d.cts +57 -0
- package/dist/components/Dialog/Dialog.d.cts.map +1 -0
- package/dist/components/Dialog/Dialog.d.mts +58 -0
- package/dist/components/Dialog/Dialog.d.mts.map +1 -0
- package/dist/components/Dialog/Dialog.mjs +58 -0
- package/dist/components/Dialog/Dialog.mjs.map +1 -0
- package/dist/components/Dialog/Dialog.styles.cjs +35 -0
- package/dist/components/Dialog/Dialog.styles.d.cts +46 -0
- package/dist/components/Dialog/Dialog.styles.d.cts.map +1 -0
- package/dist/components/Dialog/Dialog.styles.d.mts +46 -0
- package/dist/components/Dialog/Dialog.styles.d.mts.map +1 -0
- package/dist/components/Dialog/Dialog.styles.mjs +33 -0
- package/dist/components/Dialog/Dialog.styles.mjs.map +1 -0
- package/dist/components/Dialog/index.d.mts +2 -0
- package/dist/components/Dropdown/Dropdown.cjs +39 -0
- package/dist/components/Dropdown/Dropdown.d.cts +36 -0
- package/dist/components/Dropdown/Dropdown.d.cts.map +1 -0
- package/dist/components/Dropdown/Dropdown.d.mts +36 -0
- package/dist/components/Dropdown/Dropdown.d.mts.map +1 -0
- package/dist/components/Dropdown/Dropdown.mjs +37 -0
- package/dist/components/Dropdown/Dropdown.mjs.map +1 -0
- package/dist/components/Dropdown/Dropdown.styles.cjs +19 -0
- package/dist/components/Dropdown/Dropdown.styles.d.cts +54 -0
- package/dist/components/Dropdown/Dropdown.styles.d.cts.map +1 -0
- package/dist/components/Dropdown/Dropdown.styles.d.mts +54 -0
- package/dist/components/Dropdown/Dropdown.styles.d.mts.map +1 -0
- package/dist/components/Dropdown/Dropdown.styles.mjs +19 -0
- package/dist/components/Dropdown/Dropdown.styles.mjs.map +1 -0
- package/dist/components/Dropdown/index.d.mts +2 -0
- package/dist/components/Field/Field.cjs +80 -0
- package/dist/components/Field/Field.d.cts +59 -0
- package/dist/components/Field/Field.d.cts.map +1 -0
- package/dist/components/Field/Field.d.mts +60 -0
- package/dist/components/Field/Field.d.mts.map +1 -0
- package/dist/components/Field/Field.mjs +79 -0
- package/dist/components/Field/Field.mjs.map +1 -0
- package/dist/components/Field/Field.styles.cjs +13 -0
- package/dist/components/Field/Field.styles.mjs +13 -0
- package/dist/components/Field/Field.styles.mjs.map +1 -0
- package/dist/components/Field/index.d.mts +1 -0
- package/dist/components/Flex/Flex.cjs +25 -0
- package/dist/components/Flex/Flex.d.cts +24 -0
- package/dist/components/Flex/Flex.d.cts.map +1 -0
- package/dist/components/Flex/Flex.d.mts +25 -0
- package/dist/components/Flex/Flex.d.mts.map +1 -0
- package/dist/components/Flex/Flex.mjs +24 -0
- package/dist/components/Flex/Flex.mjs.map +1 -0
- package/dist/components/Flex/Flex.styles.cjs +50 -0
- package/dist/components/Flex/Flex.styles.d.cts +16 -0
- package/dist/components/Flex/Flex.styles.d.cts.map +1 -0
- package/dist/components/Flex/Flex.styles.d.mts +16 -0
- package/dist/components/Flex/Flex.styles.d.mts.map +1 -0
- package/dist/components/Flex/Flex.styles.mjs +51 -0
- package/dist/components/Flex/Flex.styles.mjs.map +1 -0
- package/dist/components/Flex/index.d.mts +2 -0
- package/dist/components/Float/Float.cjs +32 -0
- package/dist/components/Float/Float.d.cts +25 -0
- package/dist/components/Float/Float.d.cts.map +1 -0
- package/dist/components/Float/Float.d.mts +26 -0
- package/dist/components/Float/Float.d.mts.map +1 -0
- package/dist/components/Float/Float.mjs +31 -0
- package/dist/components/Float/Float.mjs.map +1 -0
- package/dist/components/Float/Float.styles.cjs +39 -0
- package/dist/components/Float/Float.styles.d.cts +58 -0
- package/dist/components/Float/Float.styles.d.cts.map +1 -0
- package/dist/components/Float/Float.styles.d.mts +58 -0
- package/dist/components/Float/Float.styles.d.mts.map +1 -0
- package/dist/components/Float/Float.styles.mjs +38 -0
- package/dist/components/Float/Float.styles.mjs.map +1 -0
- package/dist/components/Float/index.d.mts +1 -0
- package/dist/components/FloatingActionButton/FloatingActionButton.cjs +18 -0
- package/dist/components/FloatingActionButton/FloatingActionButton.d.cts +16 -0
- package/dist/components/FloatingActionButton/FloatingActionButton.d.cts.map +1 -0
- package/dist/components/FloatingActionButton/FloatingActionButton.d.mts +17 -0
- package/dist/components/FloatingActionButton/FloatingActionButton.d.mts.map +1 -0
- package/dist/components/FloatingActionButton/FloatingActionButton.mjs +18 -0
- package/dist/components/FloatingActionButton/FloatingActionButton.mjs.map +1 -0
- package/dist/components/FloatingActionButton/FloatingActionButton.styles.cjs +15 -0
- package/dist/components/FloatingActionButton/FloatingActionButton.styles.d.cts +24 -0
- package/dist/components/FloatingActionButton/FloatingActionButton.styles.d.cts.map +1 -0
- package/dist/components/FloatingActionButton/FloatingActionButton.styles.d.mts +24 -0
- package/dist/components/FloatingActionButton/FloatingActionButton.styles.d.mts.map +1 -0
- package/dist/components/FloatingActionButton/FloatingActionButton.styles.mjs +15 -0
- package/dist/components/FloatingActionButton/FloatingActionButton.styles.mjs.map +1 -0
- package/dist/components/FloatingActionButton/index.d.mts +1 -0
- package/dist/components/Grid/Grid.cjs +24 -0
- package/dist/components/Grid/Grid.d.cts +22 -0
- package/dist/components/Grid/Grid.d.cts.map +1 -0
- package/dist/components/Grid/Grid.d.mts +23 -0
- package/dist/components/Grid/Grid.d.mts.map +1 -0
- package/dist/components/Grid/Grid.mjs +23 -0
- package/dist/components/Grid/Grid.mjs.map +1 -0
- package/dist/components/Grid/Grid.styles.cjs +56 -0
- package/dist/components/Grid/Grid.styles.d.cts +126 -0
- package/dist/components/Grid/Grid.styles.d.cts.map +1 -0
- package/dist/components/Grid/Grid.styles.d.mts +126 -0
- package/dist/components/Grid/Grid.styles.d.mts.map +1 -0
- package/dist/components/Grid/Grid.styles.mjs +56 -0
- package/dist/components/Grid/Grid.styles.mjs.map +1 -0
- package/dist/components/Grid/index.d.mts +1 -0
- package/dist/components/HStack/HStack.cjs +17 -0
- package/dist/components/HStack/HStack.d.cts +15 -0
- package/dist/components/HStack/HStack.d.cts.map +1 -0
- package/dist/components/HStack/HStack.d.mts +16 -0
- package/dist/components/HStack/HStack.d.mts.map +1 -0
- package/dist/components/HStack/HStack.mjs +16 -0
- package/dist/components/HStack/HStack.mjs.map +1 -0
- package/dist/components/HStack/index.d.mts +1 -0
- package/dist/components/Modal/Modal.cjs +81 -0
- package/dist/components/Modal/Modal.d.cts +64 -0
- package/dist/components/Modal/Modal.d.cts.map +1 -0
- package/dist/components/Modal/Modal.d.mts +65 -0
- package/dist/components/Modal/Modal.d.mts.map +1 -0
- package/dist/components/Modal/Modal.mjs +80 -0
- package/dist/components/Modal/Modal.mjs.map +1 -0
- package/dist/components/Modal/Modal.styles.cjs +49 -0
- package/dist/components/Modal/Modal.styles.d.cts +108 -0
- package/dist/components/Modal/Modal.styles.d.cts.map +1 -0
- package/dist/components/Modal/Modal.styles.d.mts +108 -0
- package/dist/components/Modal/Modal.styles.d.mts.map +1 -0
- package/dist/components/Modal/Modal.styles.mjs +49 -0
- package/dist/components/Modal/Modal.styles.mjs.map +1 -0
- package/dist/components/Modal/index.d.mts +2 -0
- package/dist/components/Primitive/Primitive.cjs +35 -0
- package/dist/components/Primitive/Primitive.d.cts +77 -0
- package/dist/components/Primitive/Primitive.d.cts.map +1 -0
- package/dist/components/Primitive/Primitive.d.mts +77 -0
- package/dist/components/Primitive/Primitive.d.mts.map +1 -0
- package/dist/components/Primitive/Primitive.mjs +34 -0
- package/dist/components/Primitive/Primitive.mjs.map +1 -0
- package/dist/components/Primitive/index.d.mts +1 -0
- package/dist/components/Radio/Radio.cjs +97 -0
- package/dist/components/Radio/Radio.d.cts +48 -0
- package/dist/components/Radio/Radio.d.cts.map +1 -0
- package/dist/components/Radio/Radio.d.mts +49 -0
- package/dist/components/Radio/Radio.d.mts.map +1 -0
- package/dist/components/Radio/Radio.mjs +94 -0
- package/dist/components/Radio/Radio.mjs.map +1 -0
- package/dist/components/Radio/Radio.styles.cjs +32 -0
- package/dist/components/Radio/Radio.styles.mjs +32 -0
- package/dist/components/Radio/Radio.styles.mjs.map +1 -0
- package/dist/components/Radio/index.d.mts +1 -0
- package/dist/components/RatioChart/RatioChart.cjs +182 -0
- package/dist/components/RatioChart/RatioChart.d.cts +66 -0
- package/dist/components/RatioChart/RatioChart.d.cts.map +1 -0
- package/dist/components/RatioChart/RatioChart.d.mts +66 -0
- package/dist/components/RatioChart/RatioChart.d.mts.map +1 -0
- package/dist/components/RatioChart/RatioChart.mjs +181 -0
- package/dist/components/RatioChart/RatioChart.mjs.map +1 -0
- package/dist/components/RatioChart/RatioChart.styles.cjs +42 -0
- package/dist/components/RatioChart/RatioChart.styles.mjs +42 -0
- package/dist/components/RatioChart/RatioChart.styles.mjs.map +1 -0
- package/dist/components/RatioChart/RatioChartEditor.cjs +121 -0
- package/dist/components/RatioChart/RatioChartEditor.d.cts +44 -0
- package/dist/components/RatioChart/RatioChartEditor.d.cts.map +1 -0
- package/dist/components/RatioChart/RatioChartEditor.d.mts +44 -0
- package/dist/components/RatioChart/RatioChartEditor.d.mts.map +1 -0
- package/dist/components/RatioChart/RatioChartEditor.mjs +120 -0
- package/dist/components/RatioChart/RatioChartEditor.mjs.map +1 -0
- package/dist/components/RatioChart/RatioChartEditor.styles.cjs +23 -0
- package/dist/components/RatioChart/RatioChartEditor.styles.mjs +23 -0
- package/dist/components/RatioChart/RatioChartEditor.styles.mjs.map +1 -0
- package/dist/components/RatioChart/index.d.mts +2 -0
- package/dist/components/Select/Select.cjs +84 -0
- package/dist/components/Select/Select.d.cts +60 -0
- package/dist/components/Select/Select.d.cts.map +1 -0
- package/dist/components/Select/Select.d.mts +60 -0
- package/dist/components/Select/Select.d.mts.map +1 -0
- package/dist/components/Select/Select.mjs +82 -0
- package/dist/components/Select/Select.mjs.map +1 -0
- package/dist/components/Select/Select.styles.cjs +44 -0
- package/dist/components/Select/Select.styles.d.cts +72 -0
- package/dist/components/Select/Select.styles.d.cts.map +1 -0
- package/dist/components/Select/Select.styles.d.mts +72 -0
- package/dist/components/Select/Select.styles.d.mts.map +1 -0
- package/dist/components/Select/Select.styles.mjs +44 -0
- package/dist/components/Select/Select.styles.mjs.map +1 -0
- package/dist/components/Select/index.d.mts +2 -0
- package/dist/components/Separator/Separator.cjs +21 -0
- package/dist/components/Separator/Separator.d.cts +18 -0
- package/dist/components/Separator/Separator.d.cts.map +1 -0
- package/dist/components/Separator/Separator.d.mts +19 -0
- package/dist/components/Separator/Separator.d.mts.map +1 -0
- package/dist/components/Separator/Separator.mjs +20 -0
- package/dist/components/Separator/Separator.mjs.map +1 -0
- package/dist/components/Separator/Separator.styles.cjs +15 -0
- package/dist/components/Separator/Separator.styles.d.cts +24 -0
- package/dist/components/Separator/Separator.styles.d.cts.map +1 -0
- package/dist/components/Separator/Separator.styles.d.mts +24 -0
- package/dist/components/Separator/Separator.styles.d.mts.map +1 -0
- package/dist/components/Separator/Separator.styles.mjs +15 -0
- package/dist/components/Separator/Separator.styles.mjs.map +1 -0
- package/dist/components/Separator/index.d.mts +2 -0
- package/dist/components/Spacer/Spacer.cjs +20 -0
- package/dist/components/Spacer/Spacer.d.cts +18 -0
- package/dist/components/Spacer/Spacer.d.cts.map +1 -0
- package/dist/components/Spacer/Spacer.d.mts +19 -0
- package/dist/components/Spacer/Spacer.d.mts.map +1 -0
- package/dist/components/Spacer/Spacer.mjs +19 -0
- package/dist/components/Spacer/Spacer.mjs.map +1 -0
- package/dist/components/Spacer/Spacer.styles.cjs +24 -0
- package/dist/components/Spacer/Spacer.styles.d.cts +51 -0
- package/dist/components/Spacer/Spacer.styles.d.cts.map +1 -0
- package/dist/components/Spacer/Spacer.styles.d.mts +51 -0
- package/dist/components/Spacer/Spacer.styles.d.mts.map +1 -0
- package/dist/components/Spacer/Spacer.styles.mjs +24 -0
- package/dist/components/Spacer/Spacer.styles.mjs.map +1 -0
- package/dist/components/Spacer/index.d.mts +2 -0
- package/dist/components/Stack/Stack.cjs +28 -0
- package/dist/components/Stack/Stack.d.cts +26 -0
- package/dist/components/Stack/Stack.d.cts.map +1 -0
- package/dist/components/Stack/Stack.d.mts +27 -0
- package/dist/components/Stack/Stack.d.mts.map +1 -0
- package/dist/components/Stack/Stack.mjs +27 -0
- package/dist/components/Stack/Stack.mjs.map +1 -0
- package/dist/components/Stack/Stack.styles.cjs +42 -0
- package/dist/components/Stack/Stack.styles.d.cts +84 -0
- package/dist/components/Stack/Stack.styles.d.cts.map +1 -0
- package/dist/components/Stack/Stack.styles.d.mts +84 -0
- package/dist/components/Stack/Stack.styles.d.mts.map +1 -0
- package/dist/components/Stack/Stack.styles.mjs +42 -0
- package/dist/components/Stack/Stack.styles.mjs.map +1 -0
- package/dist/components/Stack/index.d.mts +2 -0
- package/dist/components/Tab/Tab.cjs +103 -0
- package/dist/components/Tab/Tab.d.cts +84 -0
- package/dist/components/Tab/Tab.d.cts.map +1 -0
- package/dist/components/Tab/Tab.d.mts +85 -0
- package/dist/components/Tab/Tab.d.mts.map +1 -0
- package/dist/components/Tab/Tab.mjs +102 -0
- package/dist/components/Tab/Tab.mjs.map +1 -0
- package/dist/components/Tab/Tab.styles.cjs +35 -0
- package/dist/components/Tab/Tab.styles.d.cts +51 -0
- package/dist/components/Tab/Tab.styles.d.cts.map +1 -0
- package/dist/components/Tab/Tab.styles.d.mts +51 -0
- package/dist/components/Tab/Tab.styles.d.mts.map +1 -0
- package/dist/components/Tab/Tab.styles.mjs +35 -0
- package/dist/components/Tab/Tab.styles.mjs.map +1 -0
- package/dist/components/Tab/index.d.mts +2 -0
- package/dist/components/Text/Text.cjs +20 -0
- package/dist/components/Text/Text.d.cts +24 -0
- package/dist/components/Text/Text.d.cts.map +1 -0
- package/dist/components/Text/Text.d.mts +25 -0
- package/dist/components/Text/Text.d.mts.map +1 -0
- package/dist/components/Text/Text.mjs +20 -0
- package/dist/components/Text/Text.mjs.map +1 -0
- package/dist/components/Text/Text.styles.cjs +58 -0
- package/dist/components/Text/Text.styles.d.cts +150 -0
- package/dist/components/Text/Text.styles.d.cts.map +1 -0
- package/dist/components/Text/Text.styles.d.mts +150 -0
- package/dist/components/Text/Text.styles.d.mts.map +1 -0
- package/dist/components/Text/Text.styles.mjs +58 -0
- package/dist/components/Text/Text.styles.mjs.map +1 -0
- package/dist/components/Text/index.d.mts +2 -0
- package/dist/components/TextArea/TextArea.cjs +52 -0
- package/dist/components/TextArea/TextArea.d.cts +42 -0
- package/dist/components/TextArea/TextArea.d.cts.map +1 -0
- package/dist/components/TextArea/TextArea.d.mts +43 -0
- package/dist/components/TextArea/TextArea.d.mts.map +1 -0
- package/dist/components/TextArea/TextArea.mjs +51 -0
- package/dist/components/TextArea/TextArea.mjs.map +1 -0
- package/dist/components/TextArea/TextArea.styles.cjs +33 -0
- package/dist/components/TextArea/TextArea.styles.d.cts +84 -0
- package/dist/components/TextArea/TextArea.styles.d.cts.map +1 -0
- package/dist/components/TextArea/TextArea.styles.d.mts +84 -0
- package/dist/components/TextArea/TextArea.styles.d.mts.map +1 -0
- package/dist/components/TextArea/TextArea.styles.mjs +33 -0
- package/dist/components/TextArea/TextArea.styles.mjs.map +1 -0
- package/dist/components/TextArea/index.d.mts +1 -0
- package/dist/components/TextInput/TextInput.cjs +48 -0
- package/dist/components/TextInput/TextInput.d.cts +32 -0
- package/dist/components/TextInput/TextInput.d.cts.map +1 -0
- package/dist/components/TextInput/TextInput.d.mts +33 -0
- package/dist/components/TextInput/TextInput.d.mts.map +1 -0
- package/dist/components/TextInput/TextInput.mjs +47 -0
- package/dist/components/TextInput/TextInput.mjs.map +1 -0
- package/dist/components/TextInput/TextInput.styles.cjs +43 -0
- package/dist/components/TextInput/TextInput.styles.d.cts +81 -0
- package/dist/components/TextInput/TextInput.styles.d.cts.map +1 -0
- package/dist/components/TextInput/TextInput.styles.d.mts +81 -0
- package/dist/components/TextInput/TextInput.styles.d.mts.map +1 -0
- package/dist/components/TextInput/TextInput.styles.mjs +43 -0
- package/dist/components/TextInput/TextInput.styles.mjs.map +1 -0
- package/dist/components/TextInput/index.d.mts +2 -0
- package/dist/components/Toast/Toast.cjs +42 -0
- package/dist/components/Toast/Toast.d.cts +27 -0
- package/dist/components/Toast/Toast.d.cts.map +1 -0
- package/dist/components/Toast/Toast.d.mts +27 -0
- package/dist/components/Toast/Toast.d.mts.map +1 -0
- package/dist/components/Toast/Toast.mjs +39 -0
- package/dist/components/Toast/Toast.mjs.map +1 -0
- package/dist/components/Toast/Toast.styles.cjs +20 -0
- package/dist/components/Toast/Toast.styles.d.cts +36 -0
- package/dist/components/Toast/Toast.styles.d.cts.map +1 -0
- package/dist/components/Toast/Toast.styles.d.mts +36 -0
- package/dist/components/Toast/Toast.styles.d.mts.map +1 -0
- package/dist/components/Toast/Toast.styles.mjs +20 -0
- package/dist/components/Toast/Toast.styles.mjs.map +1 -0
- package/dist/components/Toast/index.d.mts +2 -0
- package/dist/components/Toggle/Toggle.cjs +71 -0
- package/dist/components/Toggle/Toggle.d.cts +44 -0
- package/dist/components/Toggle/Toggle.d.cts.map +1 -0
- package/dist/components/Toggle/Toggle.d.mts +46 -0
- package/dist/components/Toggle/Toggle.d.mts.map +1 -0
- package/dist/components/Toggle/Toggle.mjs +70 -0
- package/dist/components/Toggle/Toggle.mjs.map +1 -0
- package/dist/components/Toggle/Toggle.styles.cjs +31 -0
- package/dist/components/Toggle/Toggle.styles.d.cts +75 -0
- package/dist/components/Toggle/Toggle.styles.d.cts.map +1 -0
- package/dist/components/Toggle/Toggle.styles.d.mts +75 -0
- package/dist/components/Toggle/Toggle.styles.d.mts.map +1 -0
- package/dist/components/Toggle/Toggle.styles.mjs +31 -0
- package/dist/components/Toggle/Toggle.styles.mjs.map +1 -0
- package/dist/components/Toggle/index.d.mts +1 -0
- package/dist/components/VStack/VStack.cjs +17 -0
- package/dist/components/VStack/VStack.d.cts +15 -0
- package/dist/components/VStack/VStack.d.cts.map +1 -0
- package/dist/components/VStack/VStack.d.mts +16 -0
- package/dist/components/VStack/VStack.d.mts.map +1 -0
- package/dist/components/VStack/VStack.mjs +16 -0
- package/dist/components/VStack/VStack.mjs.map +1 -0
- package/dist/components/VStack/index.d.mts +1 -0
- package/dist/components/index.d.mts +74 -0
- package/dist/hooks/field/useFieldContext.cjs +18 -0
- package/dist/hooks/field/useFieldContext.mjs +17 -0
- package/dist/hooks/field/useFieldContext.mjs.map +1 -0
- package/dist/hooks/ratioChart/useRatioChartContext.cjs +14 -0
- package/dist/hooks/ratioChart/useRatioChartContext.mjs +13 -0
- package/dist/hooks/ratioChart/useRatioChartContext.mjs.map +1 -0
- package/dist/index.cjs +73 -0
- package/dist/index.d.cts +50 -0
- package/dist/index.d.mts +52 -349
- package/dist/index.mjs +36 -1220
- package/dist/utils/converter/converter.cjs +9 -0
- package/dist/utils/converter/converter.d.cts +5 -0
- package/dist/utils/converter/converter.d.cts.map +1 -0
- package/dist/utils/converter/converter.d.mts +5 -0
- package/dist/utils/converter/converter.d.mts.map +1 -0
- package/dist/utils/converter/converter.mjs +9 -0
- package/dist/utils/converter/converter.mjs.map +1 -0
- package/dist/utils/index.d.mts +6 -0
- package/dist/utils/mergeStyles/index.d.mts +1 -0
- package/dist/utils/mergeStyles/mergeStyles.cjs +18 -0
- package/dist/utils/mergeStyles/mergeStyles.d.cts +14 -0
- package/dist/utils/mergeStyles/mergeStyles.d.cts.map +1 -0
- package/dist/utils/mergeStyles/mergeStyles.d.mts +14 -0
- package/dist/utils/mergeStyles/mergeStyles.d.mts.map +1 -0
- package/dist/utils/mergeStyles/mergeStyles.mjs +18 -0
- package/dist/utils/mergeStyles/mergeStyles.mjs.map +1 -0
- package/dist/utils/polymorphic/index.d.mts +1 -0
- package/dist/utils/polymorphic/polymorphic.d.cts +24 -0
- package/dist/utils/polymorphic/polymorphic.d.cts.map +1 -0
- package/dist/utils/polymorphic/polymorphic.d.mts +24 -0
- package/dist/utils/polymorphic/polymorphic.d.mts.map +1 -0
- package/dist/utils/splitter/splitter.cjs +12 -0
- package/dist/utils/splitter/splitter.d.cts +5 -0
- package/dist/utils/splitter/splitter.d.cts.map +1 -0
- package/dist/utils/splitter/splitter.d.mts +5 -0
- package/dist/utils/splitter/splitter.d.mts.map +1 -0
- package/dist/utils/splitter/splitter.mjs +12 -0
- package/dist/utils/splitter/splitter.mjs.map +1 -0
- package/package.json +21 -11
- package/src/styles/global.css +121 -70
- package/dist/index.d.ts +0 -349
- package/dist/index.js +0 -1246
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Primitive } from "../Primitive/Primitive.mjs";
|
|
2
|
+
import { tabs } from "./Tab.styles.mjs";
|
|
3
|
+
import * as React$1 from "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/Tab/Tab.tsx
|
|
7
|
+
const TabContext = React$1.createContext(null);
|
|
8
|
+
const useTabContext = () => {
|
|
9
|
+
const ctx = React$1.useContext(TabContext);
|
|
10
|
+
if (!ctx) throw new Error("Tab.* must be used within Tab.Root");
|
|
11
|
+
return ctx;
|
|
12
|
+
};
|
|
13
|
+
const TabRoot = ({ variant, scrollAlign = "center", defaultValue = "", value: valueProp, onValueChange, id, className, children }) => {
|
|
14
|
+
const [uncontrolled, setUncontrolled] = React$1.useState(defaultValue);
|
|
15
|
+
const isControlled = valueProp !== void 0;
|
|
16
|
+
const value = (isControlled ? valueProp : uncontrolled) ?? "";
|
|
17
|
+
const setValue = (v) => {
|
|
18
|
+
if (!isControlled) setUncontrolled(v);
|
|
19
|
+
onValueChange?.(v);
|
|
20
|
+
};
|
|
21
|
+
const reactId = React$1.useId();
|
|
22
|
+
const baseId = id ?? `tab-${reactId}`;
|
|
23
|
+
const listRef = React$1.useRef(null);
|
|
24
|
+
return /* @__PURE__ */ jsx(TabContext.Provider, {
|
|
25
|
+
value: {
|
|
26
|
+
variant,
|
|
27
|
+
value,
|
|
28
|
+
setValue,
|
|
29
|
+
baseId,
|
|
30
|
+
listRef,
|
|
31
|
+
scrollAlign
|
|
32
|
+
},
|
|
33
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
34
|
+
className,
|
|
35
|
+
children
|
|
36
|
+
})
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
TabRoot.displayName = "Tab.Root";
|
|
40
|
+
const TabList = ({ className, ...props }) => {
|
|
41
|
+
const { variant, listRef } = useTabContext();
|
|
42
|
+
const { list } = tabs({ variant });
|
|
43
|
+
return /* @__PURE__ */ jsx("div", {
|
|
44
|
+
ref: listRef,
|
|
45
|
+
role: "tablist",
|
|
46
|
+
className: list({ className }),
|
|
47
|
+
...props
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
TabList.displayName = "Tab.List";
|
|
51
|
+
const TabItem = ({ value, asChild, className, onClick, ...props }) => {
|
|
52
|
+
const { variant, value: activeValue, setValue, baseId, listRef, scrollAlign } = useTabContext();
|
|
53
|
+
const active = activeValue === value;
|
|
54
|
+
const { item } = tabs({ variant });
|
|
55
|
+
const handleClick = (e) => {
|
|
56
|
+
setValue(value);
|
|
57
|
+
const list = listRef.current;
|
|
58
|
+
if (list && list.scrollWidth > list.clientWidth + 1) e.currentTarget.scrollIntoView({
|
|
59
|
+
behavior: "smooth",
|
|
60
|
+
block: "nearest",
|
|
61
|
+
inline: scrollAlign ?? "center"
|
|
62
|
+
});
|
|
63
|
+
onClick?.(e);
|
|
64
|
+
};
|
|
65
|
+
return /* @__PURE__ */ jsx(Primitive.button, {
|
|
66
|
+
asChild,
|
|
67
|
+
role: "tab",
|
|
68
|
+
"aria-selected": active,
|
|
69
|
+
id: `${baseId}-TabItem-${value}`,
|
|
70
|
+
"aria-controls": `${baseId}-content-${value}`,
|
|
71
|
+
className: item({ className }),
|
|
72
|
+
onClick: handleClick,
|
|
73
|
+
...props
|
|
74
|
+
});
|
|
75
|
+
};
|
|
76
|
+
TabItem.displayName = "Tab.Item";
|
|
77
|
+
const TabContent = ({ value, forceMount = false, asChild, className, children, ...props }) => {
|
|
78
|
+
const { value: activeValue, baseId } = useTabContext();
|
|
79
|
+
const active = activeValue === value;
|
|
80
|
+
if (!forceMount && !active) return null;
|
|
81
|
+
return /* @__PURE__ */ jsx(Primitive.div, {
|
|
82
|
+
asChild,
|
|
83
|
+
role: "tabpanel",
|
|
84
|
+
id: `${baseId}-content-${value}`,
|
|
85
|
+
"aria-labelledby": `${baseId}-TabItem-${value}`,
|
|
86
|
+
hidden: !active,
|
|
87
|
+
className,
|
|
88
|
+
...props,
|
|
89
|
+
children
|
|
90
|
+
});
|
|
91
|
+
};
|
|
92
|
+
TabContent.displayName = "Tab.Content";
|
|
93
|
+
const Tab = Object.assign(TabRoot, {
|
|
94
|
+
Root: TabRoot,
|
|
95
|
+
List: TabList,
|
|
96
|
+
TabItem,
|
|
97
|
+
Content: TabContent
|
|
98
|
+
});
|
|
99
|
+
|
|
100
|
+
//#endregion
|
|
101
|
+
export { Tab };
|
|
102
|
+
//# sourceMappingURL=Tab.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tab.mjs","names":["React"],"sources":["../../../src/components/Tab/Tab.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Primitive, PrimitiveProps } from '../Primitive';\nimport { tabs, TabVariants } from './Tab.styles';\n\ninterface TabContextValue extends TabVariants {\n value: string;\n setValue: (v: string) => void;\n baseId: string;\n listRef: React.RefObject<HTMLDivElement>;\n scrollAlign: ScrollLogicalPosition; // 'start' | 'center' | 'end' | 'nearest'\n}\n\nconst TabContext = React.createContext<TabContextValue | null>(null);\n\nconst useTabContext = () => {\n const ctx = React.useContext(TabContext);\n if (!ctx) throw new Error('Tab.* must be used within Tab.Root');\n return ctx;\n};\n\nexport interface TabRootProps extends TabVariants {\n scrollAlign?: ScrollLogicalPosition;\n defaultValue?: string;\n value?: string;\n onValueChange?: (v: string) => void;\n id?: string;\n className?: string;\n children: React.ReactNode;\n}\n\nconst TabRoot = ({\n variant,\n scrollAlign = 'center',\n defaultValue = '',\n value: valueProp,\n onValueChange,\n id,\n className,\n children,\n}: TabRootProps) => {\n const [uncontrolled, setUncontrolled] = React.useState(defaultValue);\n const isControlled = valueProp !== undefined;\n const value = (isControlled ? valueProp : uncontrolled) ?? '';\n\n const setValue = (v: string) => {\n if (!isControlled) setUncontrolled(v);\n onValueChange?.(v);\n };\n\n const reactId = React.useId();\n const baseId = id ?? `tab-${reactId}`;\n\n const listRef = React.useRef<HTMLDivElement>(null);\n\n return (\n <TabContext.Provider\n value={{\n variant,\n value,\n setValue,\n baseId,\n listRef,\n scrollAlign,\n }}\n >\n <div className={className}>{children}</div>\n </TabContext.Provider>\n );\n};\nTabRoot.displayName = 'Tab.Root';\n\nexport type TabListProps = React.ComponentPropsWithoutRef<'div'> & {\n asChild?: boolean;\n};\n\nconst TabList = ({ className, ...props }: TabListProps) => {\n const { variant, listRef } = useTabContext();\n const { list } = tabs({ variant });\n\n return (\n <div\n ref={listRef}\n role=\"tablist\"\n className={list({ className })}\n {...props}\n />\n );\n};\nTabList.displayName = 'Tab.List';\n\nexport interface TabTabItemProps\n extends React.ComponentPropsWithoutRef<'button'>, PrimitiveProps {\n value: string;\n}\nconst TabItem = ({\n value,\n asChild,\n className,\n onClick,\n ...props\n}: TabTabItemProps) => {\n const {\n variant,\n value: activeValue,\n setValue,\n baseId,\n listRef,\n scrollAlign,\n } = useTabContext();\n\n const active = activeValue === value;\n const { item } = tabs({ variant });\n\n const handleClick = (e: React.MouseEvent<HTMLButtonElement>) => {\n setValue(value);\n\n const list = listRef.current;\n if (list && list.scrollWidth > list.clientWidth + 1) {\n e.currentTarget.scrollIntoView({\n behavior: 'smooth',\n block: 'nearest',\n inline: scrollAlign ?? 'center',\n });\n }\n\n onClick?.(e);\n };\n return (\n <Primitive.button\n asChild={asChild}\n role=\"tab\"\n aria-selected={active}\n id={`${baseId}-TabItem-${value}`}\n aria-controls={`${baseId}-content-${value}`}\n className={item({ className })}\n onClick={handleClick}\n {...props}\n />\n );\n};\nTabItem.displayName = 'Tab.Item';\n\nexport type TabContentProps = React.ComponentPropsWithoutRef<'div'> & {\n value: string;\n forceMount?: boolean;\n asChild?: boolean;\n};\n\nconst TabContent = ({\n value,\n forceMount = false,\n asChild,\n className,\n children,\n ...props\n}: TabContentProps) => {\n const { value: activeValue, baseId } = useTabContext();\n const active = activeValue === value;\n\n if (!forceMount && !active) return null;\n\n return (\n <Primitive.div\n asChild={asChild}\n role=\"tabpanel\"\n id={`${baseId}-content-${value}`}\n aria-labelledby={`${baseId}-TabItem-${value}`}\n hidden={!active}\n className={className}\n {...props}\n >\n {children}\n </Primitive.div>\n );\n};\nTabContent.displayName = 'Tab.Content';\n\nexport const Tab = Object.assign(TabRoot, {\n Root: TabRoot,\n List: TabList,\n TabItem: TabItem,\n Content: TabContent,\n});\n"],"mappings":";;;;;;AAYA,MAAM,aAAaA,QAAM,cAAsC,KAAK;AAEpE,MAAM,sBAAsB;CAC1B,MAAM,MAAMA,QAAM,WAAW,WAAW;AACxC,KAAI,CAAC,IAAK,OAAM,IAAI,MAAM,qCAAqC;AAC/D,QAAO;;AAaT,MAAM,WAAW,EACf,SACA,cAAc,UACd,eAAe,IACf,OAAO,WACP,eACA,IACA,WACA,eACkB;CAClB,MAAM,CAAC,cAAc,mBAAmBA,QAAM,SAAS,aAAa;CACpE,MAAM,eAAe,cAAc;CACnC,MAAM,SAAS,eAAe,YAAY,iBAAiB;CAE3D,MAAM,YAAY,MAAc;AAC9B,MAAI,CAAC,aAAc,iBAAgB,EAAE;AACrC,kBAAgB,EAAE;;CAGpB,MAAM,UAAUA,QAAM,OAAO;CAC7B,MAAM,SAAS,MAAM,OAAO;CAE5B,MAAM,UAAUA,QAAM,OAAuB,KAAK;AAElD,QACE,oBAAC,WAAW;EACV,OAAO;GACL;GACA;GACA;GACA;GACA;GACA;GACD;YAED,oBAAC;GAAe;GAAY;IAAe;GACvB;;AAG1B,QAAQ,cAAc;AAMtB,MAAM,WAAW,EAAE,WAAW,GAAG,YAA0B;CACzD,MAAM,EAAE,SAAS,YAAY,eAAe;CAC5C,MAAM,EAAE,SAAS,KAAK,EAAE,SAAS,CAAC;AAElC,QACE,oBAAC;EACC,KAAK;EACL,MAAK;EACL,WAAW,KAAK,EAAE,WAAW,CAAC;EAC9B,GAAI;GACJ;;AAGN,QAAQ,cAAc;AAMtB,MAAM,WAAW,EACf,OACA,SACA,WACA,SACA,GAAG,YACkB;CACrB,MAAM,EACJ,SACA,OAAO,aACP,UACA,QACA,SACA,gBACE,eAAe;CAEnB,MAAM,SAAS,gBAAgB;CAC/B,MAAM,EAAE,SAAS,KAAK,EAAE,SAAS,CAAC;CAElC,MAAM,eAAe,MAA2C;AAC9D,WAAS,MAAM;EAEf,MAAM,OAAO,QAAQ;AACrB,MAAI,QAAQ,KAAK,cAAc,KAAK,cAAc,EAChD,GAAE,cAAc,eAAe;GAC7B,UAAU;GACV,OAAO;GACP,QAAQ,eAAe;GACxB,CAAC;AAGJ,YAAU,EAAE;;AAEd,QACE,oBAAC,UAAU;EACA;EACT,MAAK;EACL,iBAAe;EACf,IAAI,GAAG,OAAO,WAAW;EACzB,iBAAe,GAAG,OAAO,WAAW;EACpC,WAAW,KAAK,EAAE,WAAW,CAAC;EAC9B,SAAS;EACT,GAAI;GACJ;;AAGN,QAAQ,cAAc;AAQtB,MAAM,cAAc,EAClB,OACA,aAAa,OACb,SACA,WACA,UACA,GAAG,YACkB;CACrB,MAAM,EAAE,OAAO,aAAa,WAAW,eAAe;CACtD,MAAM,SAAS,gBAAgB;AAE/B,KAAI,CAAC,cAAc,CAAC,OAAQ,QAAO;AAEnC,QACE,oBAAC,UAAU;EACA;EACT,MAAK;EACL,IAAI,GAAG,OAAO,WAAW;EACzB,mBAAiB,GAAG,OAAO,WAAW;EACtC,QAAQ,CAAC;EACE;EACX,GAAI;EAEH;GACa;;AAGpB,WAAW,cAAc;AAEzB,MAAa,MAAM,OAAO,OAAO,SAAS;CACxC,MAAM;CACN,MAAM;CACG;CACT,SAAS;CACV,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let tailwind_variants = require("tailwind-variants");
|
|
3
|
+
|
|
4
|
+
//#region src/components/Tab/Tab.styles.ts
|
|
5
|
+
const tabs = (0, tailwind_variants.tv)({
|
|
6
|
+
slots: {
|
|
7
|
+
list: "flex items-center flex-nowrap whitespace-nowrap overflow-x-auto no-scrollbar [-webkit-overflow-scrolling:touch]",
|
|
8
|
+
item: "cursor-pointer transition-colors select-none flex-shrink-0"
|
|
9
|
+
},
|
|
10
|
+
variants: { variant: {
|
|
11
|
+
underline: {
|
|
12
|
+
list: "border-b border-gray-200",
|
|
13
|
+
item: [
|
|
14
|
+
"flex-1 min-w-fit px-3 py-3 text-center border-b-2 typo-subtitle-16-bold",
|
|
15
|
+
"hover:border-gray-500 hover:text-gray-500",
|
|
16
|
+
"aria-selected:border-gray-700 aria-selected:text-gray-700",
|
|
17
|
+
"aria-[selected=false]:border-transparent aria-[selected=false]:text-gray-300",
|
|
18
|
+
"aria-[selected=false]:hover:text-gray-400 aria-[selected=false]:active:text-gray-400"
|
|
19
|
+
].join(" ")
|
|
20
|
+
},
|
|
21
|
+
chip: {
|
|
22
|
+
list: "gap-2",
|
|
23
|
+
item: [
|
|
24
|
+
"px-3 py-2 rounded-[0.5rem] typo-body-14-medium",
|
|
25
|
+
"aria-selected:bg-gray-700 aria-selected:text-white",
|
|
26
|
+
"aria-[selected=false]:bg-white aria-[selected=false]:text-gray-600",
|
|
27
|
+
"aria-[selected=false]:hover:bg-gray-200 aria-[selected=false]:active:bg-gray-200"
|
|
28
|
+
].join(" ")
|
|
29
|
+
}
|
|
30
|
+
} },
|
|
31
|
+
defaultVariants: { variant: "underline" }
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
//#endregion
|
|
35
|
+
exports.tabs = tabs;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as tailwind_variants15 from "tailwind-variants";
|
|
2
|
+
import { VariantProps } from "tailwind-variants";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Tab/Tab.styles.d.ts
|
|
5
|
+
declare const tabs: tailwind_variants15.TVReturnType<{
|
|
6
|
+
variant: {
|
|
7
|
+
underline: {
|
|
8
|
+
list: string;
|
|
9
|
+
item: string;
|
|
10
|
+
};
|
|
11
|
+
chip: {
|
|
12
|
+
list: string;
|
|
13
|
+
item: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
}, {
|
|
17
|
+
list: string;
|
|
18
|
+
item: string;
|
|
19
|
+
}, undefined, {
|
|
20
|
+
variant: {
|
|
21
|
+
underline: {
|
|
22
|
+
list: string;
|
|
23
|
+
item: string;
|
|
24
|
+
};
|
|
25
|
+
chip: {
|
|
26
|
+
list: string;
|
|
27
|
+
item: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
}, {
|
|
31
|
+
list: string;
|
|
32
|
+
item: string;
|
|
33
|
+
}, tailwind_variants15.TVReturnType<{
|
|
34
|
+
variant: {
|
|
35
|
+
underline: {
|
|
36
|
+
list: string;
|
|
37
|
+
item: string;
|
|
38
|
+
};
|
|
39
|
+
chip: {
|
|
40
|
+
list: string;
|
|
41
|
+
item: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
}, {
|
|
45
|
+
list: string;
|
|
46
|
+
item: string;
|
|
47
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
48
|
+
type TabVariants = VariantProps<typeof tabs>;
|
|
49
|
+
//#endregion
|
|
50
|
+
export { TabVariants };
|
|
51
|
+
//# sourceMappingURL=Tab.styles.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tab.styles.d.cts","names":[],"sources":["../../../src/components/Tab/Tab.styles.ts"],"mappings":";;;;cAEa,IAAA,EA+BX,mBAAA,CA/Be,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+Bf,mBAAA,CAAA,YAAA;;;;;;;;;;;;;;;KAEU,WAAA,GAAc,YAAA,QAAoB,IAAA"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as tailwind_variants21 from "tailwind-variants";
|
|
2
|
+
import { VariantProps } from "tailwind-variants";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Tab/Tab.styles.d.ts
|
|
5
|
+
declare const tabs: tailwind_variants21.TVReturnType<{
|
|
6
|
+
variant: {
|
|
7
|
+
underline: {
|
|
8
|
+
list: string;
|
|
9
|
+
item: string;
|
|
10
|
+
};
|
|
11
|
+
chip: {
|
|
12
|
+
list: string;
|
|
13
|
+
item: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
}, {
|
|
17
|
+
list: string;
|
|
18
|
+
item: string;
|
|
19
|
+
}, undefined, {
|
|
20
|
+
variant: {
|
|
21
|
+
underline: {
|
|
22
|
+
list: string;
|
|
23
|
+
item: string;
|
|
24
|
+
};
|
|
25
|
+
chip: {
|
|
26
|
+
list: string;
|
|
27
|
+
item: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
}, {
|
|
31
|
+
list: string;
|
|
32
|
+
item: string;
|
|
33
|
+
}, tailwind_variants21.TVReturnType<{
|
|
34
|
+
variant: {
|
|
35
|
+
underline: {
|
|
36
|
+
list: string;
|
|
37
|
+
item: string;
|
|
38
|
+
};
|
|
39
|
+
chip: {
|
|
40
|
+
list: string;
|
|
41
|
+
item: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
}, {
|
|
45
|
+
list: string;
|
|
46
|
+
item: string;
|
|
47
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
48
|
+
type TabVariants = VariantProps<typeof tabs>;
|
|
49
|
+
//#endregion
|
|
50
|
+
export { TabVariants };
|
|
51
|
+
//# sourceMappingURL=Tab.styles.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tab.styles.d.mts","names":[],"sources":["../../../src/components/Tab/Tab.styles.ts"],"mappings":";;;;cAEa,IAAA,EA+BX,mBAAA,CA/Be,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+Bf,mBAAA,CAAA,YAAA;;;;;;;;;;;;;;;KAEU,WAAA,GAAc,YAAA,QAAoB,IAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { tv } from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
//#region src/components/Tab/Tab.styles.ts
|
|
4
|
+
const tabs = tv({
|
|
5
|
+
slots: {
|
|
6
|
+
list: "flex items-center flex-nowrap whitespace-nowrap overflow-x-auto no-scrollbar [-webkit-overflow-scrolling:touch]",
|
|
7
|
+
item: "cursor-pointer transition-colors select-none flex-shrink-0"
|
|
8
|
+
},
|
|
9
|
+
variants: { variant: {
|
|
10
|
+
underline: {
|
|
11
|
+
list: "border-b border-gray-200",
|
|
12
|
+
item: [
|
|
13
|
+
"flex-1 min-w-fit px-3 py-3 text-center border-b-2 typo-subtitle-16-bold",
|
|
14
|
+
"hover:border-gray-500 hover:text-gray-500",
|
|
15
|
+
"aria-selected:border-gray-700 aria-selected:text-gray-700",
|
|
16
|
+
"aria-[selected=false]:border-transparent aria-[selected=false]:text-gray-300",
|
|
17
|
+
"aria-[selected=false]:hover:text-gray-400 aria-[selected=false]:active:text-gray-400"
|
|
18
|
+
].join(" ")
|
|
19
|
+
},
|
|
20
|
+
chip: {
|
|
21
|
+
list: "gap-2",
|
|
22
|
+
item: [
|
|
23
|
+
"px-3 py-2 rounded-[0.5rem] typo-body-14-medium",
|
|
24
|
+
"aria-selected:bg-gray-700 aria-selected:text-white",
|
|
25
|
+
"aria-[selected=false]:bg-white aria-[selected=false]:text-gray-600",
|
|
26
|
+
"aria-[selected=false]:hover:bg-gray-200 aria-[selected=false]:active:bg-gray-200"
|
|
27
|
+
].join(" ")
|
|
28
|
+
}
|
|
29
|
+
} },
|
|
30
|
+
defaultVariants: { variant: "underline" }
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
//#endregion
|
|
34
|
+
export { tabs };
|
|
35
|
+
//# sourceMappingURL=Tab.styles.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tab.styles.mjs","names":[],"sources":["../../../src/components/Tab/Tab.styles.ts"],"sourcesContent":["import { tv, type VariantProps } from 'tailwind-variants';\n\nexport const tabs = tv({\n slots: {\n list: 'flex items-center flex-nowrap whitespace-nowrap overflow-x-auto no-scrollbar [-webkit-overflow-scrolling:touch]',\n item: 'cursor-pointer transition-colors select-none flex-shrink-0',\n },\n variants: {\n variant: {\n underline: {\n list: 'border-b border-gray-200',\n item: [\n 'flex-1 min-w-fit px-3 py-3 text-center border-b-2 typo-subtitle-16-bold',\n 'hover:border-gray-500 hover:text-gray-500',\n 'aria-selected:border-gray-700 aria-selected:text-gray-700',\n 'aria-[selected=false]:border-transparent aria-[selected=false]:text-gray-300',\n 'aria-[selected=false]:hover:text-gray-400 aria-[selected=false]:active:text-gray-400',\n ].join(' '),\n },\n chip: {\n list: 'gap-2',\n item: [\n 'px-3 py-2 rounded-[0.5rem] typo-body-14-medium',\n 'aria-selected:bg-gray-700 aria-selected:text-white',\n 'aria-[selected=false]:bg-white aria-[selected=false]:text-gray-600',\n 'aria-[selected=false]:hover:bg-gray-200 aria-[selected=false]:active:bg-gray-200',\n ].join(' '),\n },\n },\n },\n defaultVariants: {\n variant: 'underline',\n },\n});\n\nexport type TabVariants = VariantProps<typeof tabs>;\n"],"mappings":";;;AAEA,MAAa,OAAO,GAAG;CACrB,OAAO;EACL,MAAM;EACN,MAAM;EACP;CACD,UAAU,EACR,SAAS;EACP,WAAW;GACT,MAAM;GACN,MAAM;IACJ;IACA;IACA;IACA;IACA;IACD,CAAC,KAAK,IAAI;GACZ;EACD,MAAM;GACJ,MAAM;GACN,MAAM;IACJ;IACA;IACA;IACA;IACD,CAAC,KAAK,IAAI;GACZ;EACF,EACF;CACD,iBAAiB,EACf,SAAS,aACV;CACF,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_Text_styles = require('./Text.styles.cjs');
|
|
3
|
+
let react = require("react");
|
|
4
|
+
|
|
5
|
+
//#region src/components/Text/Text.tsx
|
|
6
|
+
const Text = ({ children, typography = "body-16-regular", textColor = "gray-700", align, as, className, ...props }) => {
|
|
7
|
+
return (0, react.createElement)(as || "span", {
|
|
8
|
+
className: require_Text_styles.text({
|
|
9
|
+
typography,
|
|
10
|
+
align,
|
|
11
|
+
textColor,
|
|
12
|
+
className
|
|
13
|
+
}),
|
|
14
|
+
...props
|
|
15
|
+
}, children);
|
|
16
|
+
};
|
|
17
|
+
Text.displayName = "Text";
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
exports.Text = Text;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { TextVariants } from "./Text.styles.cjs";
|
|
2
|
+
import { PolymorphicProps } from "../../utils/polymorphic/polymorphic.cjs";
|
|
3
|
+
import * as react0 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/Text/Text.d.ts
|
|
6
|
+
type TextElement = 'span' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div' | 'label' | 'a';
|
|
7
|
+
type TextProps<E extends TextElement> = PolymorphicProps<E, TextVariants>;
|
|
8
|
+
declare const Text: {
|
|
9
|
+
<E extends TextElement = "span">({
|
|
10
|
+
children,
|
|
11
|
+
typography,
|
|
12
|
+
textColor,
|
|
13
|
+
align,
|
|
14
|
+
as,
|
|
15
|
+
className,
|
|
16
|
+
...props
|
|
17
|
+
}: TextProps<E>): react0.DetailedReactHTMLElement<{
|
|
18
|
+
className: string;
|
|
19
|
+
} & Omit<TextProps<E>, "typography" | "textColor" | "align" | "as" | "className" | "children">, HTMLSpanElement>;
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
23
|
+
export { Text, TextElement, TextProps };
|
|
24
|
+
//# sourceMappingURL=Text.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.d.cts","names":[],"sources":["../../../src/components/Text/Text.tsx"],"mappings":";;;;;KAKY,WAAA;AAAA,KAaA,SAAA,WAAoB,WAAA,IAAe,gBAAA,CAC7C,CAAA,EACA,YAAA;AAAA,cAGW,IAAA;EAAA,WAAkB,WAAA;IAAW,QAAA;IAAA,UAAA;IAAA,SAAA;IAAA,KAAA;IAAA,EAAA;IAAA,SAAA;IAAA,GAAA;EAAA,GAQvC,SAAA,CAAU,CAAA,WAAE,wBAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TextVariants } from "./Text.styles.mjs";
|
|
2
|
+
import { PolymorphicProps } from "../../utils/polymorphic/polymorphic.mjs";
|
|
3
|
+
import "../../utils/polymorphic/index.mjs";
|
|
4
|
+
import * as react0 from "react";
|
|
5
|
+
|
|
6
|
+
//#region src/components/Text/Text.d.ts
|
|
7
|
+
type TextElement = 'span' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div' | 'label' | 'a';
|
|
8
|
+
type TextProps<E extends TextElement> = PolymorphicProps<E, TextVariants>;
|
|
9
|
+
declare const Text: {
|
|
10
|
+
<E extends TextElement = "span">({
|
|
11
|
+
children,
|
|
12
|
+
typography,
|
|
13
|
+
textColor,
|
|
14
|
+
align,
|
|
15
|
+
as,
|
|
16
|
+
className,
|
|
17
|
+
...props
|
|
18
|
+
}: TextProps<E>): react0.DetailedReactHTMLElement<{
|
|
19
|
+
className: string;
|
|
20
|
+
} & Omit<TextProps<E>, "typography" | "textColor" | "align" | "as" | "className" | "children">, HTMLSpanElement>;
|
|
21
|
+
displayName: string;
|
|
22
|
+
};
|
|
23
|
+
//#endregion
|
|
24
|
+
export { Text, TextElement, TextProps };
|
|
25
|
+
//# sourceMappingURL=Text.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.d.mts","names":[],"sources":["../../../src/components/Text/Text.tsx"],"mappings":";;;;;;KAKY,WAAA;AAAA,KAaA,SAAA,WAAoB,WAAA,IAAe,gBAAA,CAC7C,CAAA,EACA,YAAA;AAAA,cAGW,IAAA;EAAA,WAAkB,WAAA;IAAW,QAAA;IAAA,UAAA;IAAA,SAAA;IAAA,KAAA;IAAA,EAAA;IAAA,SAAA;IAAA,GAAA;EAAA,GAQvC,SAAA,CAAU,CAAA,WAAE,wBAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { text } from "./Text.styles.mjs";
|
|
2
|
+
import { createElement } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Text/Text.tsx
|
|
5
|
+
const Text = ({ children, typography = "body-16-regular", textColor = "gray-700", align, as, className, ...props }) => {
|
|
6
|
+
return createElement(as || "span", {
|
|
7
|
+
className: text({
|
|
8
|
+
typography,
|
|
9
|
+
align,
|
|
10
|
+
textColor,
|
|
11
|
+
className
|
|
12
|
+
}),
|
|
13
|
+
...props
|
|
14
|
+
}, children);
|
|
15
|
+
};
|
|
16
|
+
Text.displayName = "Text";
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Text };
|
|
20
|
+
//# sourceMappingURL=Text.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.mjs","names":[],"sources":["../../../src/components/Text/Text.tsx"],"sourcesContent":["import { text } from './Text.styles';\nimport type { TextVariants } from './Text.styles';\nimport type { PolymorphicProps } from '../../utils/polymorphic';\nimport { createElement } from 'react';\n\nexport type TextElement =\n | 'span'\n | 'p'\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'\n | 'div'\n | 'label'\n | 'a';\n\nexport type TextProps<E extends TextElement> = PolymorphicProps<\n E,\n TextVariants\n>;\n\nexport const Text = <E extends TextElement = 'span'>({\n children,\n typography = 'body-16-regular',\n textColor = 'gray-700',\n align,\n as,\n className,\n ...props\n}: TextProps<E>) => {\n const Component = as || 'span';\n const styles = text({\n typography,\n align,\n textColor,\n className,\n });\n\n return createElement(\n Component,\n {\n className: styles,\n ...props,\n },\n children,\n );\n};\n\nText.displayName = 'Text';\n"],"mappings":";;;;AAuBA,MAAa,QAAwC,EACnD,UACA,aAAa,mBACb,YAAY,YACZ,OACA,IACA,WACA,GAAG,YACe;AASlB,QAAO,cARW,MAAM,QAUtB;EACE,WAVW,KAAK;GAClB;GACA;GACA;GACA;GACD,CAAC;EAME,GAAG;EACJ,EACD,SACD;;AAGH,KAAK,cAAc"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let tailwind_variants = require("tailwind-variants");
|
|
3
|
+
|
|
4
|
+
//#region src/components/Text/Text.styles.ts
|
|
5
|
+
const text = (0, tailwind_variants.tv)({
|
|
6
|
+
base: "font-sans",
|
|
7
|
+
variants: {
|
|
8
|
+
typography: {
|
|
9
|
+
"title-48-bold": "typo-title-48-bold",
|
|
10
|
+
"title-32-bold": "typo-title-32-bold",
|
|
11
|
+
"title-30-bold": "typo-title-30-bold",
|
|
12
|
+
"title-24-bold": "typo-title-24-bold",
|
|
13
|
+
"title-22-bold": "typo-title-22-bold",
|
|
14
|
+
"subtitle-20-bold": "typo-subtitle-20-bold",
|
|
15
|
+
"subtitle-18-bold": "typo-subtitle-18-bold",
|
|
16
|
+
"subtitle-16-bold": "typo-subtitle-16-bold",
|
|
17
|
+
"body-18-medium": "typo-body-18-medium",
|
|
18
|
+
"body-16-medium": "typo-body-16-medium",
|
|
19
|
+
"body-16-regular": "typo-body-16-regular",
|
|
20
|
+
"body-15-semibold": "typo-body-15-semibold",
|
|
21
|
+
"body-15-medium": "typo-body-15-medium",
|
|
22
|
+
"body-14-semibold": "typo-body-14-semibold",
|
|
23
|
+
"body-14-medium": "typo-body-14-medium",
|
|
24
|
+
"body-14-regular": "typo-body-14-regular",
|
|
25
|
+
"caption-12-semibold": "typo-caption-12-semibold",
|
|
26
|
+
"caption-12-medium": "typo-caption-12-medium",
|
|
27
|
+
"caption-12-regular": "typo-caption-12-regular"
|
|
28
|
+
},
|
|
29
|
+
textColor: {
|
|
30
|
+
"gray-50": "text-gray-50",
|
|
31
|
+
"gray-100": "text-gray-100",
|
|
32
|
+
"gray-200": "text-gray-200",
|
|
33
|
+
"gray-300": "text-gray-300",
|
|
34
|
+
"gray-400": "text-gray-400",
|
|
35
|
+
"gray-500": "text-gray-500",
|
|
36
|
+
"gray-600": "text-gray-600",
|
|
37
|
+
"gray-700": "text-gray-700",
|
|
38
|
+
"gray-800": "text-gray-800",
|
|
39
|
+
"gray-900": "text-gray-900",
|
|
40
|
+
"blue-100": "text-blue-100",
|
|
41
|
+
"blue-500": "text-blue-500",
|
|
42
|
+
"blue-700": "text-blue-700",
|
|
43
|
+
"red-100": "text-red-100",
|
|
44
|
+
"red-400": "text-red-400",
|
|
45
|
+
white: "text-white-main",
|
|
46
|
+
black: "text-black-main"
|
|
47
|
+
},
|
|
48
|
+
align: {
|
|
49
|
+
left: "text-left",
|
|
50
|
+
center: "text-center",
|
|
51
|
+
right: "text-right",
|
|
52
|
+
justify: "text-justify"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
//#endregion
|
|
58
|
+
exports.text = text;
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import * as tailwind_variants0 from "tailwind-variants";
|
|
2
|
+
import { VariantProps } from "tailwind-variants";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Text/Text.styles.d.ts
|
|
5
|
+
declare const text: tailwind_variants0.TVReturnType<{
|
|
6
|
+
typography: {
|
|
7
|
+
'title-48-bold': string;
|
|
8
|
+
'title-32-bold': string;
|
|
9
|
+
'title-30-bold': string;
|
|
10
|
+
'title-24-bold': string;
|
|
11
|
+
'title-22-bold': string;
|
|
12
|
+
'subtitle-20-bold': string;
|
|
13
|
+
'subtitle-18-bold': string;
|
|
14
|
+
'subtitle-16-bold': string;
|
|
15
|
+
'body-18-medium': string;
|
|
16
|
+
'body-16-medium': string;
|
|
17
|
+
'body-16-regular': string;
|
|
18
|
+
'body-15-semibold': string;
|
|
19
|
+
'body-15-medium': string;
|
|
20
|
+
'body-14-semibold': string;
|
|
21
|
+
'body-14-medium': string;
|
|
22
|
+
'body-14-regular': string;
|
|
23
|
+
'caption-12-semibold': string;
|
|
24
|
+
'caption-12-medium': string;
|
|
25
|
+
'caption-12-regular': string;
|
|
26
|
+
};
|
|
27
|
+
textColor: {
|
|
28
|
+
'gray-50': string;
|
|
29
|
+
'gray-100': string;
|
|
30
|
+
'gray-200': string;
|
|
31
|
+
'gray-300': string;
|
|
32
|
+
'gray-400': string;
|
|
33
|
+
'gray-500': string;
|
|
34
|
+
'gray-600': string;
|
|
35
|
+
'gray-700': string;
|
|
36
|
+
'gray-800': string;
|
|
37
|
+
'gray-900': string;
|
|
38
|
+
'blue-100': string;
|
|
39
|
+
'blue-500': string;
|
|
40
|
+
'blue-700': string;
|
|
41
|
+
'red-100': string;
|
|
42
|
+
'red-400': string;
|
|
43
|
+
white: string;
|
|
44
|
+
black: string;
|
|
45
|
+
};
|
|
46
|
+
align: {
|
|
47
|
+
left: string;
|
|
48
|
+
center: string;
|
|
49
|
+
right: string;
|
|
50
|
+
justify: string;
|
|
51
|
+
};
|
|
52
|
+
}, undefined, "font-sans", {
|
|
53
|
+
typography: {
|
|
54
|
+
'title-48-bold': string;
|
|
55
|
+
'title-32-bold': string;
|
|
56
|
+
'title-30-bold': string;
|
|
57
|
+
'title-24-bold': string;
|
|
58
|
+
'title-22-bold': string;
|
|
59
|
+
'subtitle-20-bold': string;
|
|
60
|
+
'subtitle-18-bold': string;
|
|
61
|
+
'subtitle-16-bold': string;
|
|
62
|
+
'body-18-medium': string;
|
|
63
|
+
'body-16-medium': string;
|
|
64
|
+
'body-16-regular': string;
|
|
65
|
+
'body-15-semibold': string;
|
|
66
|
+
'body-15-medium': string;
|
|
67
|
+
'body-14-semibold': string;
|
|
68
|
+
'body-14-medium': string;
|
|
69
|
+
'body-14-regular': string;
|
|
70
|
+
'caption-12-semibold': string;
|
|
71
|
+
'caption-12-medium': string;
|
|
72
|
+
'caption-12-regular': string;
|
|
73
|
+
};
|
|
74
|
+
textColor: {
|
|
75
|
+
'gray-50': string;
|
|
76
|
+
'gray-100': string;
|
|
77
|
+
'gray-200': string;
|
|
78
|
+
'gray-300': string;
|
|
79
|
+
'gray-400': string;
|
|
80
|
+
'gray-500': string;
|
|
81
|
+
'gray-600': string;
|
|
82
|
+
'gray-700': string;
|
|
83
|
+
'gray-800': string;
|
|
84
|
+
'gray-900': string;
|
|
85
|
+
'blue-100': string;
|
|
86
|
+
'blue-500': string;
|
|
87
|
+
'blue-700': string;
|
|
88
|
+
'red-100': string;
|
|
89
|
+
'red-400': string;
|
|
90
|
+
white: string;
|
|
91
|
+
black: string;
|
|
92
|
+
};
|
|
93
|
+
align: {
|
|
94
|
+
left: string;
|
|
95
|
+
center: string;
|
|
96
|
+
right: string;
|
|
97
|
+
justify: string;
|
|
98
|
+
};
|
|
99
|
+
}, undefined, tailwind_variants0.TVReturnType<{
|
|
100
|
+
typography: {
|
|
101
|
+
'title-48-bold': string;
|
|
102
|
+
'title-32-bold': string;
|
|
103
|
+
'title-30-bold': string;
|
|
104
|
+
'title-24-bold': string;
|
|
105
|
+
'title-22-bold': string;
|
|
106
|
+
'subtitle-20-bold': string;
|
|
107
|
+
'subtitle-18-bold': string;
|
|
108
|
+
'subtitle-16-bold': string;
|
|
109
|
+
'body-18-medium': string;
|
|
110
|
+
'body-16-medium': string;
|
|
111
|
+
'body-16-regular': string;
|
|
112
|
+
'body-15-semibold': string;
|
|
113
|
+
'body-15-medium': string;
|
|
114
|
+
'body-14-semibold': string;
|
|
115
|
+
'body-14-medium': string;
|
|
116
|
+
'body-14-regular': string;
|
|
117
|
+
'caption-12-semibold': string;
|
|
118
|
+
'caption-12-medium': string;
|
|
119
|
+
'caption-12-regular': string;
|
|
120
|
+
};
|
|
121
|
+
textColor: {
|
|
122
|
+
'gray-50': string;
|
|
123
|
+
'gray-100': string;
|
|
124
|
+
'gray-200': string;
|
|
125
|
+
'gray-300': string;
|
|
126
|
+
'gray-400': string;
|
|
127
|
+
'gray-500': string;
|
|
128
|
+
'gray-600': string;
|
|
129
|
+
'gray-700': string;
|
|
130
|
+
'gray-800': string;
|
|
131
|
+
'gray-900': string;
|
|
132
|
+
'blue-100': string;
|
|
133
|
+
'blue-500': string;
|
|
134
|
+
'blue-700': string;
|
|
135
|
+
'red-100': string;
|
|
136
|
+
'red-400': string;
|
|
137
|
+
white: string;
|
|
138
|
+
black: string;
|
|
139
|
+
};
|
|
140
|
+
align: {
|
|
141
|
+
left: string;
|
|
142
|
+
center: string;
|
|
143
|
+
right: string;
|
|
144
|
+
justify: string;
|
|
145
|
+
};
|
|
146
|
+
}, undefined, "font-sans", unknown, unknown, undefined>>;
|
|
147
|
+
type TextVariants = VariantProps<typeof text>;
|
|
148
|
+
//#endregion
|
|
149
|
+
export { TextVariants };
|
|
150
|
+
//# sourceMappingURL=Text.styles.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.styles.d.cts","names":[],"sources":["../../../src/components/Text/Text.styles.ts"],"mappings":";;;;cAEa,IAAA,EAkDX,kBAAA,CAlDe,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkDf,kBAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEU,YAAA,GAAe,YAAA,QAAoB,IAAA"}
|