@causw/core 0.0.9 → 0.0.11
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 -207
- package/dist/index.mjs +35 -658
- 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 +22 -10
- package/src/styles/global.css +162 -79
- package/dist/index.d.ts +0 -207
- package/dist/index.js +0 -674
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let tailwind_variants = require("tailwind-variants");
|
|
3
|
+
|
|
4
|
+
//#region src/components/Box/Box.styles.ts
|
|
5
|
+
const box = (0, tailwind_variants.tv)({
|
|
6
|
+
variants: {
|
|
7
|
+
padding: {
|
|
8
|
+
none: "p-0",
|
|
9
|
+
xs: "p-1",
|
|
10
|
+
sm: "p-2",
|
|
11
|
+
md: "p-4",
|
|
12
|
+
lg: "p-6"
|
|
13
|
+
},
|
|
14
|
+
radius: {
|
|
15
|
+
none: "rounded-none",
|
|
16
|
+
xs: "rounded-sm",
|
|
17
|
+
sm: "rounded",
|
|
18
|
+
md: "rounded-md",
|
|
19
|
+
lg: "rounded-lg",
|
|
20
|
+
xl: "rounded-xl",
|
|
21
|
+
"2xl": "rounded-2xl",
|
|
22
|
+
"3xl": "rounded-3xl"
|
|
23
|
+
},
|
|
24
|
+
display: {
|
|
25
|
+
block: "block",
|
|
26
|
+
flex: "flex",
|
|
27
|
+
grid: "grid",
|
|
28
|
+
"inline-block": "inline-block",
|
|
29
|
+
"inline-flex": "inline-flex",
|
|
30
|
+
none: "hidden"
|
|
31
|
+
},
|
|
32
|
+
background: {
|
|
33
|
+
default: "",
|
|
34
|
+
subtle: "bg-gray-50",
|
|
35
|
+
inverse: "bg-gray-900 text-white",
|
|
36
|
+
transparent: "bg-transparent"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
defaultVariants: {
|
|
40
|
+
padding: "none",
|
|
41
|
+
radius: "none",
|
|
42
|
+
display: "block",
|
|
43
|
+
background: "default"
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
//#endregion
|
|
48
|
+
exports.box = box;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import * as tailwind_variants23 from "tailwind-variants";
|
|
2
|
+
import { VariantProps } from "tailwind-variants";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Box/Box.styles.d.ts
|
|
5
|
+
declare const box: tailwind_variants23.TVReturnType<{
|
|
6
|
+
padding: {
|
|
7
|
+
none: string;
|
|
8
|
+
xs: string;
|
|
9
|
+
sm: string;
|
|
10
|
+
md: string;
|
|
11
|
+
lg: string;
|
|
12
|
+
};
|
|
13
|
+
radius: {
|
|
14
|
+
none: string;
|
|
15
|
+
xs: string;
|
|
16
|
+
sm: string;
|
|
17
|
+
md: string;
|
|
18
|
+
lg: string;
|
|
19
|
+
xl: string;
|
|
20
|
+
'2xl': string;
|
|
21
|
+
'3xl': string;
|
|
22
|
+
};
|
|
23
|
+
display: {
|
|
24
|
+
block: string;
|
|
25
|
+
flex: string;
|
|
26
|
+
grid: string;
|
|
27
|
+
'inline-block': string;
|
|
28
|
+
'inline-flex': string;
|
|
29
|
+
none: string;
|
|
30
|
+
};
|
|
31
|
+
background: {
|
|
32
|
+
default: string;
|
|
33
|
+
subtle: string;
|
|
34
|
+
inverse: string;
|
|
35
|
+
transparent: string;
|
|
36
|
+
};
|
|
37
|
+
}, undefined, undefined, {
|
|
38
|
+
padding: {
|
|
39
|
+
none: string;
|
|
40
|
+
xs: string;
|
|
41
|
+
sm: string;
|
|
42
|
+
md: string;
|
|
43
|
+
lg: string;
|
|
44
|
+
};
|
|
45
|
+
radius: {
|
|
46
|
+
none: string;
|
|
47
|
+
xs: string;
|
|
48
|
+
sm: string;
|
|
49
|
+
md: string;
|
|
50
|
+
lg: string;
|
|
51
|
+
xl: string;
|
|
52
|
+
'2xl': string;
|
|
53
|
+
'3xl': string;
|
|
54
|
+
};
|
|
55
|
+
display: {
|
|
56
|
+
block: string;
|
|
57
|
+
flex: string;
|
|
58
|
+
grid: string;
|
|
59
|
+
'inline-block': string;
|
|
60
|
+
'inline-flex': string;
|
|
61
|
+
none: string;
|
|
62
|
+
};
|
|
63
|
+
background: {
|
|
64
|
+
default: string;
|
|
65
|
+
subtle: string;
|
|
66
|
+
inverse: string;
|
|
67
|
+
transparent: string;
|
|
68
|
+
};
|
|
69
|
+
}, undefined, tailwind_variants23.TVReturnType<{
|
|
70
|
+
padding: {
|
|
71
|
+
none: string;
|
|
72
|
+
xs: string;
|
|
73
|
+
sm: string;
|
|
74
|
+
md: string;
|
|
75
|
+
lg: string;
|
|
76
|
+
};
|
|
77
|
+
radius: {
|
|
78
|
+
none: string;
|
|
79
|
+
xs: string;
|
|
80
|
+
sm: string;
|
|
81
|
+
md: string;
|
|
82
|
+
lg: string;
|
|
83
|
+
xl: string;
|
|
84
|
+
'2xl': string;
|
|
85
|
+
'3xl': string;
|
|
86
|
+
};
|
|
87
|
+
display: {
|
|
88
|
+
block: string;
|
|
89
|
+
flex: string;
|
|
90
|
+
grid: string;
|
|
91
|
+
'inline-block': string;
|
|
92
|
+
'inline-flex': string;
|
|
93
|
+
none: string;
|
|
94
|
+
};
|
|
95
|
+
background: {
|
|
96
|
+
default: string;
|
|
97
|
+
subtle: string;
|
|
98
|
+
inverse: string;
|
|
99
|
+
transparent: string;
|
|
100
|
+
};
|
|
101
|
+
}, undefined, undefined, unknown, unknown, undefined>>;
|
|
102
|
+
type BoxVariants = VariantProps<typeof box>;
|
|
103
|
+
//#endregion
|
|
104
|
+
export { BoxVariants, box };
|
|
105
|
+
//# sourceMappingURL=Box.styles.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Box.styles.d.cts","names":[],"sources":["../../../src/components/Box/Box.styles.ts"],"mappings":";;;;cAEa,GAAA,EAwCX,mBAAA,CAxCc,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwCd,mBAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEU,WAAA,GAAc,YAAA,QAAoB,GAAA"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import * as tailwind_variants3 from "tailwind-variants";
|
|
2
|
+
import { VariantProps } from "tailwind-variants";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Box/Box.styles.d.ts
|
|
5
|
+
declare const box: tailwind_variants3.TVReturnType<{
|
|
6
|
+
padding: {
|
|
7
|
+
none: string;
|
|
8
|
+
xs: string;
|
|
9
|
+
sm: string;
|
|
10
|
+
md: string;
|
|
11
|
+
lg: string;
|
|
12
|
+
};
|
|
13
|
+
radius: {
|
|
14
|
+
none: string;
|
|
15
|
+
xs: string;
|
|
16
|
+
sm: string;
|
|
17
|
+
md: string;
|
|
18
|
+
lg: string;
|
|
19
|
+
xl: string;
|
|
20
|
+
'2xl': string;
|
|
21
|
+
'3xl': string;
|
|
22
|
+
};
|
|
23
|
+
display: {
|
|
24
|
+
block: string;
|
|
25
|
+
flex: string;
|
|
26
|
+
grid: string;
|
|
27
|
+
'inline-block': string;
|
|
28
|
+
'inline-flex': string;
|
|
29
|
+
none: string;
|
|
30
|
+
};
|
|
31
|
+
background: {
|
|
32
|
+
default: string;
|
|
33
|
+
subtle: string;
|
|
34
|
+
inverse: string;
|
|
35
|
+
transparent: string;
|
|
36
|
+
};
|
|
37
|
+
}, undefined, undefined, {
|
|
38
|
+
padding: {
|
|
39
|
+
none: string;
|
|
40
|
+
xs: string;
|
|
41
|
+
sm: string;
|
|
42
|
+
md: string;
|
|
43
|
+
lg: string;
|
|
44
|
+
};
|
|
45
|
+
radius: {
|
|
46
|
+
none: string;
|
|
47
|
+
xs: string;
|
|
48
|
+
sm: string;
|
|
49
|
+
md: string;
|
|
50
|
+
lg: string;
|
|
51
|
+
xl: string;
|
|
52
|
+
'2xl': string;
|
|
53
|
+
'3xl': string;
|
|
54
|
+
};
|
|
55
|
+
display: {
|
|
56
|
+
block: string;
|
|
57
|
+
flex: string;
|
|
58
|
+
grid: string;
|
|
59
|
+
'inline-block': string;
|
|
60
|
+
'inline-flex': string;
|
|
61
|
+
none: string;
|
|
62
|
+
};
|
|
63
|
+
background: {
|
|
64
|
+
default: string;
|
|
65
|
+
subtle: string;
|
|
66
|
+
inverse: string;
|
|
67
|
+
transparent: string;
|
|
68
|
+
};
|
|
69
|
+
}, undefined, tailwind_variants3.TVReturnType<{
|
|
70
|
+
padding: {
|
|
71
|
+
none: string;
|
|
72
|
+
xs: string;
|
|
73
|
+
sm: string;
|
|
74
|
+
md: string;
|
|
75
|
+
lg: string;
|
|
76
|
+
};
|
|
77
|
+
radius: {
|
|
78
|
+
none: string;
|
|
79
|
+
xs: string;
|
|
80
|
+
sm: string;
|
|
81
|
+
md: string;
|
|
82
|
+
lg: string;
|
|
83
|
+
xl: string;
|
|
84
|
+
'2xl': string;
|
|
85
|
+
'3xl': string;
|
|
86
|
+
};
|
|
87
|
+
display: {
|
|
88
|
+
block: string;
|
|
89
|
+
flex: string;
|
|
90
|
+
grid: string;
|
|
91
|
+
'inline-block': string;
|
|
92
|
+
'inline-flex': string;
|
|
93
|
+
none: string;
|
|
94
|
+
};
|
|
95
|
+
background: {
|
|
96
|
+
default: string;
|
|
97
|
+
subtle: string;
|
|
98
|
+
inverse: string;
|
|
99
|
+
transparent: string;
|
|
100
|
+
};
|
|
101
|
+
}, undefined, undefined, unknown, unknown, undefined>>;
|
|
102
|
+
type BoxVariants = VariantProps<typeof box>;
|
|
103
|
+
//#endregion
|
|
104
|
+
export { BoxVariants, box };
|
|
105
|
+
//# sourceMappingURL=Box.styles.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Box.styles.d.mts","names":[],"sources":["../../../src/components/Box/Box.styles.ts"],"mappings":";;;;cAEa,GAAA,EAwCX,kBAAA,CAxCc,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwCd,kBAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEU,WAAA,GAAc,YAAA,QAAoB,GAAA"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { tv } from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
//#region src/components/Box/Box.styles.ts
|
|
4
|
+
const box = tv({
|
|
5
|
+
variants: {
|
|
6
|
+
padding: {
|
|
7
|
+
none: "p-0",
|
|
8
|
+
xs: "p-1",
|
|
9
|
+
sm: "p-2",
|
|
10
|
+
md: "p-4",
|
|
11
|
+
lg: "p-6"
|
|
12
|
+
},
|
|
13
|
+
radius: {
|
|
14
|
+
none: "rounded-none",
|
|
15
|
+
xs: "rounded-sm",
|
|
16
|
+
sm: "rounded",
|
|
17
|
+
md: "rounded-md",
|
|
18
|
+
lg: "rounded-lg",
|
|
19
|
+
xl: "rounded-xl",
|
|
20
|
+
"2xl": "rounded-2xl",
|
|
21
|
+
"3xl": "rounded-3xl"
|
|
22
|
+
},
|
|
23
|
+
display: {
|
|
24
|
+
block: "block",
|
|
25
|
+
flex: "flex",
|
|
26
|
+
grid: "grid",
|
|
27
|
+
"inline-block": "inline-block",
|
|
28
|
+
"inline-flex": "inline-flex",
|
|
29
|
+
none: "hidden"
|
|
30
|
+
},
|
|
31
|
+
background: {
|
|
32
|
+
default: "",
|
|
33
|
+
subtle: "bg-gray-50",
|
|
34
|
+
inverse: "bg-gray-900 text-white",
|
|
35
|
+
transparent: "bg-transparent"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
defaultVariants: {
|
|
39
|
+
padding: "none",
|
|
40
|
+
radius: "none",
|
|
41
|
+
display: "block",
|
|
42
|
+
background: "default"
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
//#endregion
|
|
47
|
+
export { box };
|
|
48
|
+
//# sourceMappingURL=Box.styles.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Box.styles.mjs","names":[],"sources":["../../../src/components/Box/Box.styles.ts"],"sourcesContent":["import { tv, type VariantProps } from 'tailwind-variants';\n\nexport const box = tv({\n variants: {\n padding: {\n none: 'p-0',\n xs: 'p-1',\n sm: 'p-2',\n md: 'p-4',\n lg: 'p-6',\n },\n radius: {\n none: 'rounded-none',\n xs: 'rounded-sm',\n sm: 'rounded',\n md: 'rounded-md',\n lg: 'rounded-lg',\n xl: 'rounded-xl',\n '2xl': 'rounded-2xl',\n '3xl': 'rounded-3xl',\n },\n display: {\n block: 'block',\n flex: 'flex',\n grid: 'grid',\n 'inline-block': 'inline-block',\n 'inline-flex': 'inline-flex',\n none: 'hidden',\n },\n background: {\n default: '',\n subtle: 'bg-gray-50',\n inverse: 'bg-gray-900 text-white',\n transparent: 'bg-transparent',\n },\n },\n defaultVariants: {\n padding: 'none',\n radius: 'none',\n display: 'block',\n background: 'default',\n },\n});\n\nexport type BoxVariants = VariantProps<typeof box>;\n"],"mappings":";;;AAEA,MAAa,MAAM,GAAG;CACpB,UAAU;EACR,SAAS;GACP,MAAM;GACN,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACL;EACD,QAAQ;GACN,MAAM;GACN,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,IAAI;GACJ,OAAO;GACP,OAAO;GACR;EACD,SAAS;GACP,OAAO;GACP,MAAM;GACN,MAAM;GACN,gBAAgB;GAChB,eAAe;GACf,MAAM;GACP;EACD,YAAY;GACV,SAAS;GACT,QAAQ;GACR,SAAS;GACT,aAAa;GACd;EACF;CACD,iBAAiB;EACf,SAAS;EACT,QAAQ;EACR,SAAS;EACT,YAAY;EACb;CACF,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_Primitive = require('../Primitive/Primitive.cjs');
|
|
3
|
+
const require_Button_styles = require('./Button.styles.cjs');
|
|
4
|
+
const require_mergeStyles = require('../../utils/mergeStyles/mergeStyles.cjs');
|
|
5
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
|
+
|
|
7
|
+
//#region src/components/Button/Button.tsx
|
|
8
|
+
function Button({ size = "md", color = "gray", fullWidth = false, disabled = false, className, children, ...props }) {
|
|
9
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Primitive.Primitive.button, {
|
|
10
|
+
disabled,
|
|
11
|
+
className: require_mergeStyles.mergeStyles(require_Button_styles.button({
|
|
12
|
+
size,
|
|
13
|
+
color,
|
|
14
|
+
fullWidth,
|
|
15
|
+
disabled
|
|
16
|
+
}), className),
|
|
17
|
+
...props,
|
|
18
|
+
children
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.Button = Button;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PrimitiveProps } from "../Primitive/Primitive.cjs";
|
|
2
|
+
import { ButtonVariants } from "./Button.styles.cjs";
|
|
3
|
+
import { ComponentProps } from "react";
|
|
4
|
+
import * as react_jsx_runtime30 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/Button/Button.d.ts
|
|
7
|
+
interface ButtonProps extends Omit<ComponentProps<'button'>, 'color'>, ButtonVariants, PrimitiveProps {}
|
|
8
|
+
declare function Button({
|
|
9
|
+
size,
|
|
10
|
+
color,
|
|
11
|
+
fullWidth,
|
|
12
|
+
disabled,
|
|
13
|
+
className,
|
|
14
|
+
children,
|
|
15
|
+
...props
|
|
16
|
+
}: ButtonProps): react_jsx_runtime30.JSX.Element;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { Button, ButtonProps };
|
|
19
|
+
//# sourceMappingURL=Button.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.cts","names":[],"sources":["../../../src/components/Button/Button.tsx"],"mappings":";;;;;;UAKiB,WAAA,SAEb,IAAA,CAAK,cAAA,sBACL,cAAA,EACA,cAAA;AAAA,iBAEY,MAAA,CAAA;EACd,IAAA;EACA,KAAA;EACA,SAAA;EACA,QAAA;EACA,SAAA;EACA,QAAA;EAAA,GACG;AAAA,GACF,WAAA,GAAW,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PrimitiveProps } from "../Primitive/Primitive.mjs";
|
|
2
|
+
import "../Primitive/index.mjs";
|
|
3
|
+
import { ButtonVariants } from "./Button.styles.mjs";
|
|
4
|
+
import { ComponentProps } from "react";
|
|
5
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/Button/Button.d.ts
|
|
8
|
+
interface ButtonProps extends Omit<ComponentProps<'button'>, 'color'>, ButtonVariants, PrimitiveProps {}
|
|
9
|
+
declare function Button({
|
|
10
|
+
size,
|
|
11
|
+
color,
|
|
12
|
+
fullWidth,
|
|
13
|
+
disabled,
|
|
14
|
+
className,
|
|
15
|
+
children,
|
|
16
|
+
...props
|
|
17
|
+
}: ButtonProps): react_jsx_runtime16.JSX.Element;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Button, ButtonProps };
|
|
20
|
+
//# sourceMappingURL=Button.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.mts","names":[],"sources":["../../../src/components/Button/Button.tsx"],"mappings":";;;;;;;UAKiB,WAAA,SAEb,IAAA,CAAK,cAAA,sBACL,cAAA,EACA,cAAA;AAAA,iBAEY,MAAA,CAAA;EACd,IAAA;EACA,KAAA;EACA,SAAA;EACA,QAAA;EACA,SAAA;EACA,QAAA;EAAA,GACG;AAAA,GACF,WAAA,GAAW,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Primitive } from "../Primitive/Primitive.mjs";
|
|
2
|
+
import { button } from "./Button.styles.mjs";
|
|
3
|
+
import { mergeStyles } from "../../utils/mergeStyles/mergeStyles.mjs";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/Button/Button.tsx
|
|
7
|
+
function Button({ size = "md", color = "gray", fullWidth = false, disabled = false, className, children, ...props }) {
|
|
8
|
+
return /* @__PURE__ */ jsx(Primitive.button, {
|
|
9
|
+
disabled,
|
|
10
|
+
className: mergeStyles(button({
|
|
11
|
+
size,
|
|
12
|
+
color,
|
|
13
|
+
fullWidth,
|
|
14
|
+
disabled
|
|
15
|
+
}), className),
|
|
16
|
+
...props,
|
|
17
|
+
children
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { Button };
|
|
23
|
+
//# sourceMappingURL=Button.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.mjs","names":[],"sources":["../../../src/components/Button/Button.tsx"],"sourcesContent":["import { ComponentProps } from 'react';\nimport { button, ButtonVariants } from './Button.styles';\nimport { mergeStyles } from '../../utils';\nimport { Primitive, PrimitiveProps } from '../Primitive';\n\nexport interface ButtonProps\n extends\n Omit<ComponentProps<'button'>, 'color'>,\n ButtonVariants,\n PrimitiveProps {}\n\nexport function Button({\n size = 'md',\n color = 'gray',\n fullWidth = false,\n disabled = false,\n className,\n children,\n ...props\n}: ButtonProps) {\n return (\n <Primitive.button\n disabled={disabled}\n className={mergeStyles(\n button({\n size,\n color,\n fullWidth,\n disabled,\n }),\n className,\n )}\n {...props}\n >\n {children}\n </Primitive.button>\n );\n}\n"],"mappings":";;;;;;AAWA,SAAgB,OAAO,EACrB,OAAO,MACP,QAAQ,QACR,YAAY,OACZ,WAAW,OACX,WACA,UACA,GAAG,SACW;AACd,QACE,oBAAC,UAAU;EACC;EACV,WAAW,YACT,OAAO;GACL;GACA;GACA;GACA;GACD,CAAC,EACF,UACD;EACD,GAAI;EAEH;GACgB"}
|
|
@@ -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/Button/Button.styles.ts
|
|
5
|
+
const button = (0, tailwind_variants.tv)({
|
|
6
|
+
base: "inline-flex items-center justify-center gap-[0.375rem] whitespace-nowrap rounded-[0.5rem] transition-colors duration-150",
|
|
7
|
+
variants: {
|
|
8
|
+
size: {
|
|
9
|
+
sm: "min-w-[3rem] h-[1.875rem] px-[0.5rem] typo-body-14-semibold",
|
|
10
|
+
md: "h-[2.375rem] px-[0.75rem] typo-body-14-semibold"
|
|
11
|
+
},
|
|
12
|
+
color: {
|
|
13
|
+
white: "bg-white text-gray-400 enabled:hover:bg-gray-100 enabled:active:bg-gray-100 enabled:data-[active]:bg-gray-100",
|
|
14
|
+
gray: "bg-gray-100 text-gray-400 enabled:hover:bg-gray-200 enabled:active:bg-gray-200 enabled:data-[active]:bg-gray-200",
|
|
15
|
+
red: "bg-red-100 text-red-400 enabled:hover:bg-red-200 enabled:active:bg-red-200 enabled:data-[active]:bg-red-200"
|
|
16
|
+
},
|
|
17
|
+
fullWidth: {
|
|
18
|
+
true: "w-full",
|
|
19
|
+
false: ""
|
|
20
|
+
},
|
|
21
|
+
disabled: {
|
|
22
|
+
true: "bg-gray-100 text-gray-400 opacity-50 cursor-not-allowed",
|
|
23
|
+
false: ""
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
defaultVariants: {
|
|
27
|
+
size: "md",
|
|
28
|
+
disabled: false,
|
|
29
|
+
color: "gray",
|
|
30
|
+
fullWidth: false
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
//#endregion
|
|
35
|
+
exports.button = button;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as tailwind_variants35 from "tailwind-variants";
|
|
2
|
+
import { VariantProps } from "tailwind-variants";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Button/Button.styles.d.ts
|
|
5
|
+
declare const button: tailwind_variants35.TVReturnType<{
|
|
6
|
+
size: {
|
|
7
|
+
sm: string;
|
|
8
|
+
md: string;
|
|
9
|
+
};
|
|
10
|
+
color: {
|
|
11
|
+
white: string;
|
|
12
|
+
gray: string;
|
|
13
|
+
red: string;
|
|
14
|
+
};
|
|
15
|
+
fullWidth: {
|
|
16
|
+
true: string;
|
|
17
|
+
false: string;
|
|
18
|
+
};
|
|
19
|
+
disabled: {
|
|
20
|
+
true: string;
|
|
21
|
+
false: string;
|
|
22
|
+
};
|
|
23
|
+
}, undefined, "inline-flex items-center justify-center gap-[0.375rem] whitespace-nowrap rounded-[0.5rem] transition-colors duration-150", {
|
|
24
|
+
size: {
|
|
25
|
+
sm: string;
|
|
26
|
+
md: string;
|
|
27
|
+
};
|
|
28
|
+
color: {
|
|
29
|
+
white: string;
|
|
30
|
+
gray: string;
|
|
31
|
+
red: string;
|
|
32
|
+
};
|
|
33
|
+
fullWidth: {
|
|
34
|
+
true: string;
|
|
35
|
+
false: string;
|
|
36
|
+
};
|
|
37
|
+
disabled: {
|
|
38
|
+
true: string;
|
|
39
|
+
false: string;
|
|
40
|
+
};
|
|
41
|
+
}, undefined, tailwind_variants35.TVReturnType<{
|
|
42
|
+
size: {
|
|
43
|
+
sm: string;
|
|
44
|
+
md: string;
|
|
45
|
+
};
|
|
46
|
+
color: {
|
|
47
|
+
white: string;
|
|
48
|
+
gray: string;
|
|
49
|
+
red: string;
|
|
50
|
+
};
|
|
51
|
+
fullWidth: {
|
|
52
|
+
true: string;
|
|
53
|
+
false: string;
|
|
54
|
+
};
|
|
55
|
+
disabled: {
|
|
56
|
+
true: string;
|
|
57
|
+
false: string;
|
|
58
|
+
};
|
|
59
|
+
}, undefined, "inline-flex items-center justify-center gap-[0.375rem] whitespace-nowrap rounded-[0.5rem] transition-colors duration-150", unknown, unknown, undefined>>;
|
|
60
|
+
type ButtonVariants = VariantProps<typeof button>;
|
|
61
|
+
//#endregion
|
|
62
|
+
export { ButtonVariants };
|
|
63
|
+
//# sourceMappingURL=Button.styles.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.styles.d.cts","names":[],"sources":["../../../src/components/Button/Button.styles.ts"],"mappings":";;;;cAEa,MAAA,EA4BX,mBAAA,CA5BiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BjB,mBAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;KAEU,cAAA,GAAiB,YAAA,QAAoB,MAAA"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as tailwind_variants33 from "tailwind-variants";
|
|
2
|
+
import { VariantProps } from "tailwind-variants";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Button/Button.styles.d.ts
|
|
5
|
+
declare const button: tailwind_variants33.TVReturnType<{
|
|
6
|
+
size: {
|
|
7
|
+
sm: string;
|
|
8
|
+
md: string;
|
|
9
|
+
};
|
|
10
|
+
color: {
|
|
11
|
+
white: string;
|
|
12
|
+
gray: string;
|
|
13
|
+
red: string;
|
|
14
|
+
};
|
|
15
|
+
fullWidth: {
|
|
16
|
+
true: string;
|
|
17
|
+
false: string;
|
|
18
|
+
};
|
|
19
|
+
disabled: {
|
|
20
|
+
true: string;
|
|
21
|
+
false: string;
|
|
22
|
+
};
|
|
23
|
+
}, undefined, "inline-flex items-center justify-center gap-[0.375rem] whitespace-nowrap rounded-[0.5rem] transition-colors duration-150", {
|
|
24
|
+
size: {
|
|
25
|
+
sm: string;
|
|
26
|
+
md: string;
|
|
27
|
+
};
|
|
28
|
+
color: {
|
|
29
|
+
white: string;
|
|
30
|
+
gray: string;
|
|
31
|
+
red: string;
|
|
32
|
+
};
|
|
33
|
+
fullWidth: {
|
|
34
|
+
true: string;
|
|
35
|
+
false: string;
|
|
36
|
+
};
|
|
37
|
+
disabled: {
|
|
38
|
+
true: string;
|
|
39
|
+
false: string;
|
|
40
|
+
};
|
|
41
|
+
}, undefined, tailwind_variants33.TVReturnType<{
|
|
42
|
+
size: {
|
|
43
|
+
sm: string;
|
|
44
|
+
md: string;
|
|
45
|
+
};
|
|
46
|
+
color: {
|
|
47
|
+
white: string;
|
|
48
|
+
gray: string;
|
|
49
|
+
red: string;
|
|
50
|
+
};
|
|
51
|
+
fullWidth: {
|
|
52
|
+
true: string;
|
|
53
|
+
false: string;
|
|
54
|
+
};
|
|
55
|
+
disabled: {
|
|
56
|
+
true: string;
|
|
57
|
+
false: string;
|
|
58
|
+
};
|
|
59
|
+
}, undefined, "inline-flex items-center justify-center gap-[0.375rem] whitespace-nowrap rounded-[0.5rem] transition-colors duration-150", unknown, unknown, undefined>>;
|
|
60
|
+
type ButtonVariants = VariantProps<typeof button>;
|
|
61
|
+
//#endregion
|
|
62
|
+
export { ButtonVariants };
|
|
63
|
+
//# sourceMappingURL=Button.styles.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.styles.d.mts","names":[],"sources":["../../../src/components/Button/Button.styles.ts"],"mappings":";;;;cAEa,MAAA,EA4BX,mBAAA,CA5BiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BjB,mBAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;KAEU,cAAA,GAAiB,YAAA,QAAoB,MAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { tv } from "tailwind-variants";
|
|
2
|
+
|
|
3
|
+
//#region src/components/Button/Button.styles.ts
|
|
4
|
+
const button = tv({
|
|
5
|
+
base: "inline-flex items-center justify-center gap-[0.375rem] whitespace-nowrap rounded-[0.5rem] transition-colors duration-150",
|
|
6
|
+
variants: {
|
|
7
|
+
size: {
|
|
8
|
+
sm: "min-w-[3rem] h-[1.875rem] px-[0.5rem] typo-body-14-semibold",
|
|
9
|
+
md: "h-[2.375rem] px-[0.75rem] typo-body-14-semibold"
|
|
10
|
+
},
|
|
11
|
+
color: {
|
|
12
|
+
white: "bg-white text-gray-400 enabled:hover:bg-gray-100 enabled:active:bg-gray-100 enabled:data-[active]:bg-gray-100",
|
|
13
|
+
gray: "bg-gray-100 text-gray-400 enabled:hover:bg-gray-200 enabled:active:bg-gray-200 enabled:data-[active]:bg-gray-200",
|
|
14
|
+
red: "bg-red-100 text-red-400 enabled:hover:bg-red-200 enabled:active:bg-red-200 enabled:data-[active]:bg-red-200"
|
|
15
|
+
},
|
|
16
|
+
fullWidth: {
|
|
17
|
+
true: "w-full",
|
|
18
|
+
false: ""
|
|
19
|
+
},
|
|
20
|
+
disabled: {
|
|
21
|
+
true: "bg-gray-100 text-gray-400 opacity-50 cursor-not-allowed",
|
|
22
|
+
false: ""
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
defaultVariants: {
|
|
26
|
+
size: "md",
|
|
27
|
+
disabled: false,
|
|
28
|
+
color: "gray",
|
|
29
|
+
fullWidth: false
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
//#endregion
|
|
34
|
+
export { button };
|
|
35
|
+
//# sourceMappingURL=Button.styles.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.styles.mjs","names":[],"sources":["../../../src/components/Button/Button.styles.ts"],"sourcesContent":["import { tv, type VariantProps } from 'tailwind-variants';\n\nexport const button = tv({\n base: 'inline-flex items-center justify-center gap-[0.375rem] whitespace-nowrap rounded-[0.5rem] transition-colors duration-150',\n variants: {\n size: {\n sm: 'min-w-[3rem] h-[1.875rem] px-[0.5rem] typo-body-14-semibold',\n md: 'h-[2.375rem] px-[0.75rem] typo-body-14-semibold',\n },\n color: {\n white:\n 'bg-white text-gray-400 enabled:hover:bg-gray-100 enabled:active:bg-gray-100 enabled:data-[active]:bg-gray-100',\n gray: 'bg-gray-100 text-gray-400 enabled:hover:bg-gray-200 enabled:active:bg-gray-200 enabled:data-[active]:bg-gray-200',\n red: 'bg-red-100 text-red-400 enabled:hover:bg-red-200 enabled:active:bg-red-200 enabled:data-[active]:bg-red-200',\n },\n fullWidth: {\n true: 'w-full',\n false: '',\n },\n disabled: {\n true: 'bg-gray-100 text-gray-400 opacity-50 cursor-not-allowed',\n false: '',\n },\n },\n defaultVariants: {\n size: 'md',\n disabled: false,\n color: 'gray',\n fullWidth: false,\n },\n});\n\nexport type ButtonVariants = VariantProps<typeof button>;\n"],"mappings":";;;AAEA,MAAa,SAAS,GAAG;CACvB,MAAM;CACN,UAAU;EACR,MAAM;GACJ,IAAI;GACJ,IAAI;GACL;EACD,OAAO;GACL,OACE;GACF,MAAM;GACN,KAAK;GACN;EACD,WAAW;GACT,MAAM;GACN,OAAO;GACR;EACD,UAAU;GACR,MAAM;GACN,OAAO;GACR;EACF;CACD,iBAAiB;EACf,MAAM;EACN,UAAU;EACV,OAAO;EACP,WAAW;EACZ;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { Button, ButtonProps } from "./Button.mjs";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_Primitive = require('../Primitive/Primitive.cjs');
|
|
3
|
+
const require_mergeStyles = require('../../utils/mergeStyles/mergeStyles.cjs');
|
|
4
|
+
const require_CTAButton_styles = require('./CTAButton.styles.cjs');
|
|
5
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
|
+
|
|
7
|
+
//#region src/components/CTAButton/CTAButton.tsx
|
|
8
|
+
function CTAButton({ color = "light", fullWidth = false, disabled = false, className, children, ...props }) {
|
|
9
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Primitive.Primitive.button, {
|
|
10
|
+
disabled,
|
|
11
|
+
className: require_mergeStyles.mergeStyles(require_CTAButton_styles.ctaButton({
|
|
12
|
+
color,
|
|
13
|
+
fullWidth,
|
|
14
|
+
disabled
|
|
15
|
+
}), className),
|
|
16
|
+
...props,
|
|
17
|
+
children
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.CTAButton = CTAButton;
|