@cdx-ui/components 0.0.1-alpha.9 → 0.0.1-beta.2
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/README.md +53 -2
- package/lib/commonjs/components/AlertDialog/index.js +117 -0
- package/lib/commonjs/components/AlertDialog/index.js.map +1 -0
- package/lib/commonjs/components/Avatar/index.js +156 -0
- package/lib/commonjs/components/Avatar/index.js.map +1 -0
- package/lib/commonjs/components/Avatar/styles.js +80 -0
- package/lib/commonjs/components/Avatar/styles.js.map +1 -0
- package/lib/commonjs/components/BottomSheet/index.js +248 -0
- package/lib/commonjs/components/BottomSheet/index.js.map +1 -0
- package/lib/commonjs/components/BottomSheet/styles.js +61 -0
- package/lib/commonjs/components/BottomSheet/styles.js.map +1 -0
- package/lib/commonjs/components/Box/Box.js +1 -0
- package/lib/commonjs/components/Box/Box.js.map +1 -1
- package/lib/commonjs/components/Button/index.js +20 -9
- package/lib/commonjs/components/Button/index.js.map +1 -1
- package/lib/commonjs/components/Button/styles.js +182 -163
- package/lib/commonjs/components/Button/styles.js.map +1 -1
- package/lib/commonjs/components/Card/index.js +104 -0
- package/lib/commonjs/components/Card/index.js.map +1 -0
- package/lib/commonjs/components/Card/styles.js +28 -0
- package/lib/commonjs/components/Card/styles.js.map +1 -0
- package/lib/commonjs/components/Checkbox/index.js +18 -11
- package/lib/commonjs/components/Checkbox/index.js.map +1 -1
- package/lib/commonjs/components/Checkbox/styles.js +17 -16
- package/lib/commonjs/components/Checkbox/styles.js.map +1 -1
- package/lib/commonjs/components/Chip/index.js +103 -0
- package/lib/commonjs/components/Chip/index.js.map +1 -0
- package/lib/commonjs/components/Chip/styles.js +52 -0
- package/lib/commonjs/components/Chip/styles.js.map +1 -0
- package/lib/commonjs/components/Dialog/index.js +275 -0
- package/lib/commonjs/components/Dialog/index.js.map +1 -0
- package/lib/commonjs/components/Dialog/styles.js +63 -0
- package/lib/commonjs/components/Dialog/styles.js.map +1 -0
- package/lib/commonjs/components/Field/FieldLabel.js +33 -0
- package/lib/commonjs/components/Field/FieldLabel.js.map +1 -0
- package/lib/commonjs/components/Field/FieldLabel.web.js +22 -0
- package/lib/commonjs/components/Field/FieldLabel.web.js.map +1 -0
- package/lib/commonjs/components/Field/index.js +158 -0
- package/lib/commonjs/components/Field/index.js.map +1 -0
- package/lib/commonjs/components/Field/styles.js +16 -0
- package/lib/commonjs/components/Field/styles.js.map +1 -0
- package/lib/commonjs/components/Form/FormRoot.js +25 -0
- package/lib/commonjs/components/Form/FormRoot.js.map +1 -0
- package/lib/commonjs/components/Form/FormRoot.web.js +17 -0
- package/lib/commonjs/components/Form/FormRoot.web.js.map +1 -0
- package/lib/commonjs/components/Form/index.js +48 -0
- package/lib/commonjs/components/Form/index.js.map +1 -0
- package/lib/commonjs/components/Form/styles.js +9 -0
- package/lib/commonjs/components/Form/styles.js.map +1 -0
- package/lib/commonjs/components/Heading/index.js +35 -0
- package/lib/commonjs/components/Heading/index.js.map +1 -0
- package/lib/commonjs/components/Heading/styles.js +23 -0
- package/lib/commonjs/components/Heading/styles.js.map +1 -0
- package/lib/commonjs/components/Icon/index.js +61 -0
- package/lib/commonjs/components/Icon/index.js.map +1 -0
- package/lib/commonjs/components/IconButton/index.js +75 -0
- package/lib/commonjs/components/IconButton/index.js.map +1 -0
- package/lib/commonjs/components/IconButton/styles.js +44 -0
- package/lib/commonjs/components/IconButton/styles.js.map +1 -0
- package/lib/commonjs/components/Image/Image.js +69 -0
- package/lib/commonjs/components/Image/Image.js.map +1 -0
- package/lib/commonjs/components/Image/index.js +13 -0
- package/lib/commonjs/components/Image/index.js.map +1 -0
- package/lib/commonjs/components/Input/BaseInput.android.js +20 -0
- package/lib/commonjs/components/Input/BaseInput.android.js.map +1 -0
- package/lib/commonjs/components/Input/index.js +10 -16
- package/lib/commonjs/components/Input/index.js.map +1 -1
- package/lib/commonjs/components/Input/styles.js +17 -30
- package/lib/commonjs/components/Input/styles.js.map +1 -1
- package/lib/commonjs/components/Link/index.js +94 -0
- package/lib/commonjs/components/Link/index.js.map +1 -0
- package/lib/commonjs/components/Link/styles.js +14 -0
- package/lib/commonjs/components/Link/styles.js.map +1 -0
- package/lib/commonjs/components/OtpInput/index.js +83 -0
- package/lib/commonjs/components/OtpInput/index.js.map +1 -0
- package/lib/commonjs/components/OtpInput/styles.js +48 -0
- package/lib/commonjs/components/OtpInput/styles.js.map +1 -0
- package/lib/commonjs/components/ProgressBar/index.js +45 -0
- package/lib/commonjs/components/ProgressBar/index.js.map +1 -0
- package/lib/commonjs/components/ProgressBar/styles.js +10 -0
- package/lib/commonjs/components/ProgressBar/styles.js.map +1 -0
- package/lib/commonjs/components/ProgressSegmented/index.js +62 -0
- package/lib/commonjs/components/ProgressSegmented/index.js.map +1 -0
- package/lib/commonjs/components/ProgressSegmented/styles.js +21 -0
- package/lib/commonjs/components/ProgressSegmented/styles.js.map +1 -0
- package/lib/commonjs/components/Select/SelectTriggerHost.js +10 -0
- package/lib/commonjs/components/Select/SelectTriggerHost.js.map +1 -0
- package/lib/commonjs/components/Select/SelectTriggerHost.web.js +98 -0
- package/lib/commonjs/components/Select/SelectTriggerHost.web.js.map +1 -0
- package/lib/commonjs/components/Select/index.js +13 -13
- package/lib/commonjs/components/Select/index.js.map +1 -1
- package/lib/commonjs/components/Select/styles.js +29 -53
- package/lib/commonjs/components/Select/styles.js.map +1 -1
- package/lib/commonjs/components/Stack/HStack.js +8 -21
- package/lib/commonjs/components/Stack/HStack.js.map +1 -1
- package/lib/commonjs/components/Stack/VStack.js +8 -21
- package/lib/commonjs/components/Stack/VStack.js.map +1 -1
- package/lib/commonjs/components/Stack/styles.js +44 -0
- package/lib/commonjs/components/Stack/styles.js.map +1 -0
- package/lib/commonjs/components/Text/index.js +18 -9
- package/lib/commonjs/components/Text/index.js.map +1 -1
- package/lib/commonjs/components/Text/styles.js +23 -0
- package/lib/commonjs/components/Text/styles.js.map +1 -0
- package/lib/commonjs/components/VirtualizedList/index.js +19 -0
- package/lib/commonjs/components/VirtualizedList/index.js.map +1 -0
- package/lib/commonjs/components/index.js +204 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/index.js +40 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/styles/index.js +17 -0
- package/lib/commonjs/styles/index.js.map +1 -0
- package/lib/commonjs/styles/primitives.js +123 -0
- package/lib/commonjs/styles/primitives.js.map +1 -0
- package/lib/module/components/AlertDialog/index.js +112 -0
- package/lib/module/components/AlertDialog/index.js.map +1 -0
- package/lib/module/components/Avatar/index.js +152 -0
- package/lib/module/components/Avatar/index.js.map +1 -0
- package/lib/module/components/Avatar/styles.js +77 -0
- package/lib/module/components/Avatar/styles.js.map +1 -0
- package/lib/module/components/BottomSheet/index.js +242 -0
- package/lib/module/components/BottomSheet/index.js.map +1 -0
- package/lib/module/components/BottomSheet/styles.js +58 -0
- package/lib/module/components/BottomSheet/styles.js.map +1 -0
- package/lib/module/components/Box/Box.js +1 -0
- package/lib/module/components/Box/Box.js.map +1 -1
- package/lib/module/components/Button/index.js +21 -10
- package/lib/module/components/Button/index.js.map +1 -1
- package/lib/module/components/Button/styles.js +181 -162
- package/lib/module/components/Button/styles.js.map +1 -1
- package/lib/module/components/Card/index.js +100 -0
- package/lib/module/components/Card/index.js.map +1 -0
- package/lib/module/components/Card/styles.js +25 -0
- package/lib/module/components/Card/styles.js.map +1 -0
- package/lib/module/components/Checkbox/index.js +19 -12
- package/lib/module/components/Checkbox/index.js.map +1 -1
- package/lib/module/components/Checkbox/styles.js +17 -16
- package/lib/module/components/Checkbox/styles.js.map +1 -1
- package/lib/module/components/Chip/index.js +99 -0
- package/lib/module/components/Chip/index.js.map +1 -0
- package/lib/module/components/Chip/styles.js +48 -0
- package/lib/module/components/Chip/styles.js.map +1 -0
- package/lib/module/components/Dialog/index.js +267 -0
- package/lib/module/components/Dialog/index.js.map +1 -0
- package/lib/module/components/Dialog/styles.js +60 -0
- package/lib/module/components/Dialog/styles.js.map +1 -0
- package/lib/module/components/Field/FieldLabel.js +29 -0
- package/lib/module/components/Field/FieldLabel.js.map +1 -0
- package/lib/module/components/Field/FieldLabel.web.js +17 -0
- package/lib/module/components/Field/FieldLabel.web.js.map +1 -0
- package/lib/module/components/Field/index.js +155 -0
- package/lib/module/components/Field/index.js.map +1 -0
- package/lib/module/components/Field/styles.js +12 -0
- package/lib/module/components/Field/styles.js.map +1 -0
- package/lib/module/components/Form/FormRoot.js +21 -0
- package/lib/module/components/Form/FormRoot.js.map +1 -0
- package/lib/module/components/Form/FormRoot.web.js +12 -0
- package/lib/module/components/Form/FormRoot.web.js.map +1 -0
- package/lib/module/components/Form/index.js +44 -0
- package/lib/module/components/Form/index.js.map +1 -0
- package/lib/module/components/Form/styles.js +5 -0
- package/lib/module/components/Form/styles.js.map +1 -0
- package/lib/module/components/Heading/index.js +31 -0
- package/lib/module/components/Heading/index.js.map +1 -0
- package/lib/module/components/Heading/styles.js +19 -0
- package/lib/module/components/Heading/styles.js.map +1 -0
- package/lib/module/components/Icon/index.js +57 -0
- package/lib/module/components/Icon/index.js.map +1 -0
- package/lib/module/components/IconButton/index.js +71 -0
- package/lib/module/components/IconButton/index.js.map +1 -0
- package/lib/module/components/IconButton/styles.js +40 -0
- package/lib/module/components/IconButton/styles.js.map +1 -0
- package/lib/module/components/Image/Image.js +67 -0
- package/lib/module/components/Image/Image.js.map +1 -0
- package/lib/module/components/Image/index.js +4 -0
- package/lib/module/components/Image/index.js.map +1 -0
- package/lib/module/components/Input/BaseInput.android.js +16 -0
- package/lib/module/components/Input/BaseInput.android.js.map +1 -0
- package/lib/module/components/Input/index.js +10 -16
- package/lib/module/components/Input/index.js.map +1 -1
- package/lib/module/components/Input/styles.js +17 -30
- package/lib/module/components/Input/styles.js.map +1 -1
- package/lib/module/components/Link/index.js +85 -0
- package/lib/module/components/Link/index.js.map +1 -0
- package/lib/module/components/Link/styles.js +11 -0
- package/lib/module/components/Link/styles.js.map +1 -0
- package/lib/module/components/OtpInput/index.js +79 -0
- package/lib/module/components/OtpInput/index.js.map +1 -0
- package/lib/module/components/OtpInput/styles.js +44 -0
- package/lib/module/components/OtpInput/styles.js.map +1 -0
- package/lib/module/components/ProgressBar/index.js +41 -0
- package/lib/module/components/ProgressBar/index.js.map +1 -0
- package/lib/module/components/ProgressBar/styles.js +6 -0
- package/lib/module/components/ProgressBar/styles.js.map +1 -0
- package/lib/module/components/ProgressSegmented/index.js +58 -0
- package/lib/module/components/ProgressSegmented/index.js.map +1 -0
- package/lib/module/components/ProgressSegmented/styles.js +17 -0
- package/lib/module/components/ProgressSegmented/styles.js.map +1 -0
- package/lib/module/components/Select/SelectTriggerHost.js +7 -0
- package/lib/module/components/Select/SelectTriggerHost.js.map +1 -0
- package/lib/module/components/Select/SelectTriggerHost.web.js +93 -0
- package/lib/module/components/Select/SelectTriggerHost.web.js.map +1 -0
- package/lib/module/components/Select/index.js +14 -14
- package/lib/module/components/Select/index.js.map +1 -1
- package/lib/module/components/Select/styles.js +29 -53
- package/lib/module/components/Select/styles.js.map +1 -1
- package/lib/module/components/Stack/HStack.js +8 -21
- package/lib/module/components/Stack/HStack.js.map +1 -1
- package/lib/module/components/Stack/VStack.js +8 -21
- package/lib/module/components/Stack/VStack.js.map +1 -1
- package/lib/module/components/Stack/styles.js +40 -0
- package/lib/module/components/Stack/styles.js.map +1 -0
- package/lib/module/components/Text/index.js +19 -1
- package/lib/module/components/Text/index.js.map +1 -1
- package/lib/module/components/Text/styles.js +19 -0
- package/lib/module/components/Text/styles.js.map +1 -0
- package/lib/module/components/VirtualizedList/index.js +15 -0
- package/lib/module/components/VirtualizedList/index.js.map +1 -0
- package/lib/module/components/index.js +17 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/index.js +3 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/styles/index.js +4 -0
- package/lib/module/styles/index.js.map +1 -0
- package/lib/module/styles/primitives.js +119 -0
- package/lib/module/styles/primitives.js.map +1 -0
- package/lib/typescript/components/AlertDialog/index.d.ts +30 -0
- package/lib/typescript/components/AlertDialog/index.d.ts.map +1 -0
- package/lib/typescript/components/Avatar/index.d.ts +40 -0
- package/lib/typescript/components/Avatar/index.d.ts.map +1 -0
- package/lib/typescript/components/Avatar/styles.d.ts +16 -0
- package/lib/typescript/components/Avatar/styles.d.ts.map +1 -0
- package/lib/typescript/components/BottomSheet/index.d.ts +61 -0
- package/lib/typescript/components/BottomSheet/index.d.ts.map +1 -0
- package/lib/typescript/components/BottomSheet/styles.d.ts +16 -0
- package/lib/typescript/components/BottomSheet/styles.d.ts.map +1 -0
- package/lib/typescript/components/Box/Box.d.ts +1 -0
- package/lib/typescript/components/Box/Box.d.ts.map +1 -1
- package/lib/typescript/components/Button/index.d.ts +6 -3
- package/lib/typescript/components/Button/index.d.ts.map +1 -1
- package/lib/typescript/components/Button/styles.d.ts +11 -8
- package/lib/typescript/components/Button/styles.d.ts.map +1 -1
- package/lib/typescript/components/Card/index.d.ts +30 -0
- package/lib/typescript/components/Card/index.d.ts.map +1 -0
- package/lib/typescript/components/Card/styles.d.ts +6 -0
- package/lib/typescript/components/Card/styles.d.ts.map +1 -0
- package/lib/typescript/components/Checkbox/index.d.ts +7 -5
- package/lib/typescript/components/Checkbox/index.d.ts.map +1 -1
- package/lib/typescript/components/Checkbox/styles.d.ts +4 -4
- package/lib/typescript/components/Checkbox/styles.d.ts.map +1 -1
- package/lib/typescript/components/Chip/index.d.ts +27 -0
- package/lib/typescript/components/Chip/index.d.ts.map +1 -0
- package/lib/typescript/components/Chip/styles.d.ts +12 -0
- package/lib/typescript/components/Chip/styles.d.ts.map +1 -0
- package/lib/typescript/components/Dialog/index.d.ts +61 -0
- package/lib/typescript/components/Dialog/index.d.ts.map +1 -0
- package/lib/typescript/components/Dialog/styles.d.ts +14 -0
- package/lib/typescript/components/Dialog/styles.d.ts.map +1 -0
- package/lib/typescript/components/Field/FieldLabel.d.ts +18 -0
- package/lib/typescript/components/Field/FieldLabel.d.ts.map +1 -0
- package/lib/typescript/components/Field/FieldLabel.web.d.ts +16 -0
- package/lib/typescript/components/Field/FieldLabel.web.d.ts.map +1 -0
- package/lib/typescript/components/Field/index.d.ts +26 -0
- package/lib/typescript/components/Field/index.d.ts.map +1 -0
- package/lib/typescript/components/Field/styles.d.ts +16 -0
- package/lib/typescript/components/Field/styles.d.ts.map +1 -0
- package/lib/typescript/components/Form/FormRoot.d.ts +14 -0
- package/lib/typescript/components/Form/FormRoot.d.ts.map +1 -0
- package/lib/typescript/components/Form/FormRoot.web.d.ts +10 -0
- package/lib/typescript/components/Form/FormRoot.web.d.ts.map +1 -0
- package/lib/typescript/components/Form/index.d.ts +7 -0
- package/lib/typescript/components/Form/index.d.ts.map +1 -0
- package/lib/typescript/components/Form/styles.d.ts +2 -0
- package/lib/typescript/components/Form/styles.d.ts.map +1 -0
- package/lib/typescript/components/Heading/index.d.ts +10 -0
- package/lib/typescript/components/Heading/index.d.ts.map +1 -0
- package/lib/typescript/components/Heading/styles.d.ts +6 -0
- package/lib/typescript/components/Heading/styles.d.ts.map +1 -0
- package/lib/typescript/components/Icon/index.d.ts +27 -0
- package/lib/typescript/components/Icon/index.d.ts.map +1 -0
- package/lib/typescript/components/IconButton/index.d.ts +15 -0
- package/lib/typescript/components/IconButton/index.d.ts.map +1 -0
- package/lib/typescript/components/IconButton/styles.d.ts +11 -0
- package/lib/typescript/components/IconButton/styles.d.ts.map +1 -0
- package/lib/typescript/components/Image/Image.d.ts +47 -0
- package/lib/typescript/components/Image/Image.d.ts.map +1 -0
- package/lib/typescript/components/Image/index.d.ts +2 -0
- package/lib/typescript/components/Image/index.d.ts.map +1 -0
- package/lib/typescript/components/Input/BaseInput.android.d.ts +3 -0
- package/lib/typescript/components/Input/BaseInput.android.d.ts.map +1 -0
- package/lib/typescript/components/Input/index.d.ts +7 -5
- package/lib/typescript/components/Input/index.d.ts.map +1 -1
- package/lib/typescript/components/Input/styles.d.ts +5 -7
- package/lib/typescript/components/Input/styles.d.ts.map +1 -1
- package/lib/typescript/components/Link/index.d.ts +26 -0
- package/lib/typescript/components/Link/index.d.ts.map +1 -0
- package/lib/typescript/components/Link/styles.d.ts +6 -0
- package/lib/typescript/components/Link/styles.d.ts.map +1 -0
- package/lib/typescript/components/OtpInput/index.d.ts +11 -0
- package/lib/typescript/components/OtpInput/index.d.ts.map +1 -0
- package/lib/typescript/components/OtpInput/styles.d.ts +14 -0
- package/lib/typescript/components/OtpInput/styles.d.ts.map +1 -0
- package/lib/typescript/components/ProgressBar/index.d.ts +17 -0
- package/lib/typescript/components/ProgressBar/index.d.ts.map +1 -0
- package/lib/typescript/components/ProgressBar/styles.d.ts +5 -0
- package/lib/typescript/components/ProgressBar/styles.d.ts.map +1 -0
- package/lib/typescript/components/ProgressSegmented/index.d.ts +15 -0
- package/lib/typescript/components/ProgressSegmented/index.d.ts.map +1 -0
- package/lib/typescript/components/ProgressSegmented/styles.d.ts +8 -0
- package/lib/typescript/components/ProgressSegmented/styles.d.ts.map +1 -0
- package/lib/typescript/components/Select/SelectTriggerHost.d.ts +3 -0
- package/lib/typescript/components/Select/SelectTriggerHost.d.ts.map +1 -0
- package/lib/typescript/components/Select/SelectTriggerHost.web.d.ts +13 -0
- package/lib/typescript/components/Select/SelectTriggerHost.web.d.ts.map +1 -0
- package/lib/typescript/components/Select/index.d.ts +7 -4
- package/lib/typescript/components/Select/index.d.ts.map +1 -1
- package/lib/typescript/components/Select/styles.d.ts +6 -8
- package/lib/typescript/components/Select/styles.d.ts.map +1 -1
- package/lib/typescript/components/Stack/HStack.d.ts +1 -12
- package/lib/typescript/components/Stack/HStack.d.ts.map +1 -1
- package/lib/typescript/components/Stack/VStack.d.ts +1 -12
- package/lib/typescript/components/Stack/VStack.d.ts.map +1 -1
- package/lib/typescript/components/Stack/styles.d.ts +23 -0
- package/lib/typescript/components/Stack/styles.d.ts.map +1 -0
- package/lib/typescript/components/Switch/index.d.ts +0 -1
- package/lib/typescript/components/Switch/index.d.ts.map +1 -1
- package/lib/typescript/components/Text/index.d.ts +9 -1
- package/lib/typescript/components/Text/index.d.ts.map +1 -1
- package/lib/typescript/components/Text/styles.d.ts +6 -0
- package/lib/typescript/components/Text/styles.d.ts.map +1 -0
- package/lib/typescript/components/VirtualizedList/index.d.ts +8 -0
- package/lib/typescript/components/VirtualizedList/index.d.ts.map +1 -0
- package/lib/typescript/components/index.d.ts +17 -0
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +3 -0
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/styles/index.d.ts +2 -0
- package/lib/typescript/styles/index.d.ts.map +1 -0
- package/lib/typescript/styles/primitives.d.ts +85 -0
- package/lib/typescript/styles/primitives.d.ts.map +1 -0
- package/package.json +15 -6
- package/src/components/AlertDialog/index.tsx +124 -0
- package/src/components/Avatar/index.tsx +172 -0
- package/src/components/Avatar/styles.ts +83 -0
- package/src/components/BottomSheet/index.tsx +316 -0
- package/src/components/BottomSheet/styles.ts +79 -0
- package/src/components/Box/Box.tsx +1 -0
- package/src/components/Button/index.tsx +14 -9
- package/src/components/Button/styles.ts +159 -209
- package/src/components/Card/index.tsx +115 -0
- package/src/components/Card/styles.ts +41 -0
- package/src/components/Checkbox/index.tsx +15 -23
- package/src/components/Checkbox/styles.ts +33 -24
- package/src/components/Chip/index.tsx +91 -0
- package/src/components/Chip/styles.ts +52 -0
- package/src/components/Dialog/index.tsx +304 -0
- package/src/components/Dialog/styles.ts +88 -0
- package/src/components/Field/FieldLabel.tsx +33 -0
- package/src/components/Field/FieldLabel.web.tsx +25 -0
- package/src/components/Field/index.tsx +171 -0
- package/src/components/Field/styles.ts +32 -0
- package/src/components/Form/FormRoot.tsx +20 -0
- package/src/components/Form/FormRoot.web.tsx +12 -0
- package/src/components/Form/index.tsx +38 -0
- package/src/components/Form/styles.ts +3 -0
- package/src/components/Heading/index.tsx +36 -0
- package/src/components/Heading/styles.tsx +25 -0
- package/src/components/Icon/index.tsx +54 -0
- package/src/components/IconButton/index.tsx +92 -0
- package/src/components/IconButton/styles.ts +59 -0
- package/src/components/Image/Image.tsx +77 -0
- package/src/components/Image/index.ts +1 -0
- package/src/components/Input/BaseInput.android.tsx +13 -0
- package/src/components/Input/index.tsx +9 -22
- package/src/components/Input/styles.ts +36 -40
- package/src/components/Link/index.tsx +83 -0
- package/src/components/Link/styles.ts +21 -0
- package/src/components/OtpInput/index.tsx +79 -0
- package/src/components/OtpInput/styles.ts +45 -0
- package/src/components/ProgressBar/index.tsx +53 -0
- package/src/components/ProgressBar/styles.ts +9 -0
- package/src/components/ProgressSegmented/index.tsx +81 -0
- package/src/components/ProgressSegmented/styles.ts +20 -0
- package/src/components/Select/SelectTriggerHost.tsx +4 -0
- package/src/components/Select/SelectTriggerHost.web.tsx +136 -0
- package/src/components/Select/index.tsx +14 -14
- package/src/components/Select/styles.ts +68 -75
- package/src/components/Stack/HStack.tsx +8 -19
- package/src/components/Stack/VStack.tsx +8 -23
- package/src/components/Stack/styles.ts +42 -0
- package/src/components/Switch/index.tsx +0 -2
- package/src/components/Text/index.tsx +16 -0
- package/src/components/Text/styles.tsx +25 -0
- package/src/components/VirtualizedList/index.tsx +19 -0
- package/src/components/index.ts +17 -0
- package/src/index.ts +3 -0
- package/src/styles/index.ts +1 -0
- package/src/styles/primitives.ts +107 -0
- package/lib/commonjs/components/Text/Text.js +0 -30
- package/lib/commonjs/components/Text/Text.js.map +0 -1
- package/lib/module/components/Text/Text.js +0 -26
- package/lib/module/components/Text/Text.js.map +0 -1
- package/lib/typescript/components/Text/Text.d.ts +0 -11
- package/lib/typescript/components/Text/Text.d.ts.map +0 -1
- package/src/components/Text/Text.tsx +0 -58
- package/src/components/Text/index.ts +0 -1
|
@@ -3,280 +3,288 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.buttonTextVariants = exports.buttonSpinnerVariants = exports.buttonRootVariants = exports.buttonGroupVariants = void 0;
|
|
6
|
+
exports.buttonTextVariants = exports.buttonSpinnerVariants = exports.buttonRootVariants = exports.buttonIconVariants = exports.buttonGroupVariants = void 0;
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
8
|
var _classVarianceAuthority = require("class-variance-authority");
|
|
9
|
-
|
|
10
|
-
// TODO:
|
|
9
|
+
var _primitives = require("../../styles/primitives");
|
|
10
|
+
// TODO: Validate that `dark:` syntax works with Uniwind `ScopedTheme`
|
|
11
11
|
|
|
12
|
-
const buttonRootVariants = exports.buttonRootVariants = (0, _classVarianceAuthority.cva)(['flex-row items-center justify-center', 'rounded-
|
|
13
|
-
// TODO: Transition not working on mobile
|
|
14
|
-
'data-[disabled=true]:opacity-60 data-[disabled=true]:cursor-not-allowed data-[disabled=true]:pointer-events-none', 'web:data-[focus-visible=true]:ring-3'], {
|
|
12
|
+
const buttonRootVariants = exports.buttonRootVariants = (0, _classVarianceAuthority.cva)(['flex-row items-center justify-center', 'rounded-[var(--border-radius-button)]', 'web:outline-none web:focus:outline-none web:focus-visible:outline-none', _primitives.TRANSITION_COLORS, 'data-[disabled=true]:opacity-[--opacity-disabled]', _primitives.DISABLED_CURSOR, 'web:data-[focus-visible=true]:ring-2 web:data-[focus-visible=true]:ring-[--color-stroke-focus] web:data-[focus-visible=true]:ring-offset-2'], {
|
|
15
13
|
variants: {
|
|
16
14
|
variant: {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
outline: ['bg-transparent
|
|
20
|
-
ghost: ['bg-transparent'
|
|
15
|
+
strong: ['border-b-1 border-black/75'],
|
|
16
|
+
// TODO: Replace with token
|
|
17
|
+
outline: ['bg-transparent', 'border border-stroke-primary'],
|
|
18
|
+
ghost: ['bg-transparent']
|
|
21
19
|
},
|
|
22
20
|
color: {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
action: [],
|
|
22
|
+
danger: [],
|
|
23
|
+
warning: [],
|
|
24
|
+
success: [],
|
|
25
|
+
info: []
|
|
27
26
|
},
|
|
28
27
|
size: {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
lg: 'h-12 px-6 gap-2.5'
|
|
28
|
+
default: 'h-10 px-4 gap-2',
|
|
29
|
+
small: 'h-8 px-3 gap-1.5'
|
|
32
30
|
},
|
|
33
31
|
fullWidth: {
|
|
34
32
|
true: 'w-full',
|
|
35
33
|
false: ''
|
|
36
34
|
}
|
|
37
35
|
},
|
|
38
|
-
compoundVariants: [
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
variant: 'solid',
|
|
47
|
-
color: 'secondary',
|
|
48
|
-
className: ['bg-amber-500', _reactNative.Platform.select({
|
|
49
|
-
default: 'data-[active=true]:bg-amber-700',
|
|
50
|
-
web: 'data-[hover=true]:bg-amber-600 data-[active=true]:data-[hover=true]:bg-amber-700'
|
|
51
|
-
})]
|
|
52
|
-
}, {
|
|
53
|
-
variant: 'solid',
|
|
54
|
-
color: 'success',
|
|
55
|
-
className: ['bg-green-500', _reactNative.Platform.select({
|
|
56
|
-
default: 'data-[active=true]:bg-green-700',
|
|
57
|
-
web: 'data-[hover=true]:bg-green-600 data-[active=true]:data-[hover=true]:bg-green-700'
|
|
36
|
+
compoundVariants: [
|
|
37
|
+
// ── strong × color (filled surface) ──────────────────────────────
|
|
38
|
+
{
|
|
39
|
+
variant: 'strong',
|
|
40
|
+
color: 'action',
|
|
41
|
+
className: ['bg-surface-action-strong', _reactNative.Platform.select({
|
|
42
|
+
default: 'data-[active=true]:bg-surface-action-strong-active',
|
|
43
|
+
web: 'data-[hover=true]:bg-surface-action-strong-hover data-[active=true]:data-[hover=true]:bg-surface-action-strong-active'
|
|
58
44
|
})]
|
|
59
45
|
}, {
|
|
60
|
-
variant: '
|
|
46
|
+
variant: 'strong',
|
|
61
47
|
color: 'danger',
|
|
62
|
-
className: ['bg-
|
|
63
|
-
default: 'data-[active=true]:bg-
|
|
64
|
-
web: 'data-[hover=true]:bg-
|
|
48
|
+
className: ['bg-surface-danger-strong', _reactNative.Platform.select({
|
|
49
|
+
default: 'data-[active=true]:bg-surface-danger-strong-active',
|
|
50
|
+
web: 'data-[hover=true]:bg-surface-danger-strong-hover data-[active=true]:data-[hover=true]:bg-surface-danger-strong-active'
|
|
65
51
|
})]
|
|
66
52
|
}, {
|
|
67
|
-
variant: '
|
|
68
|
-
color: '
|
|
69
|
-
className: ['bg-
|
|
70
|
-
default: 'data-[active=true]:bg-
|
|
71
|
-
web: 'data-[hover=true]:bg-
|
|
53
|
+
variant: 'strong',
|
|
54
|
+
color: 'warning',
|
|
55
|
+
className: ['bg-surface-warning-strong', _reactNative.Platform.select({
|
|
56
|
+
default: 'data-[active=true]:bg-amber-600',
|
|
57
|
+
web: 'data-[hover=true]:bg-amber-500 data-[active=true]:data-[hover=true]:bg-amber-600'
|
|
72
58
|
})]
|
|
73
59
|
}, {
|
|
74
|
-
variant: '
|
|
75
|
-
color: 'secondary',
|
|
76
|
-
className: ['bg-amber-200', _reactNative.Platform.select({
|
|
77
|
-
default: 'data-[active=true]:bg-amber-300',
|
|
78
|
-
web: 'data-[hover=true]:bg-amber-300 data-[active=true]:data-[hover=true]:bg-amber-400'
|
|
79
|
-
})]
|
|
80
|
-
}, {
|
|
81
|
-
variant: 'subtle',
|
|
60
|
+
variant: 'strong',
|
|
82
61
|
color: 'success',
|
|
83
|
-
className: ['bg-
|
|
84
|
-
default: 'data-[active=true]:bg-green-
|
|
85
|
-
web: 'data-[hover=true]:bg-green-
|
|
62
|
+
className: ['bg-surface-success-strong', _reactNative.Platform.select({
|
|
63
|
+
default: 'data-[active=true]:bg-green-800',
|
|
64
|
+
web: 'data-[hover=true]:bg-green-700 data-[active=true]:data-[hover=true]:bg-green-800'
|
|
86
65
|
})]
|
|
87
66
|
}, {
|
|
88
|
-
variant: '
|
|
89
|
-
color: '
|
|
90
|
-
className: ['bg-
|
|
91
|
-
default: 'data-[active=true]:bg-
|
|
92
|
-
web: 'data-[hover=true]:bg-
|
|
67
|
+
variant: 'strong',
|
|
68
|
+
color: 'info',
|
|
69
|
+
className: ['bg-surface-info-strong', _reactNative.Platform.select({
|
|
70
|
+
default: 'data-[active=true]:bg-sky-700',
|
|
71
|
+
web: 'data-[hover=true]:bg-sky-600 data-[active=true]:data-[hover=true]:bg-sky-700'
|
|
72
|
+
})]
|
|
73
|
+
},
|
|
74
|
+
// ── outline × color (border + hover/active surface) ─────────────
|
|
75
|
+
{
|
|
76
|
+
variant: 'outline',
|
|
77
|
+
color: 'action',
|
|
78
|
+
className: ['border-stroke-action', _reactNative.Platform.select({
|
|
79
|
+
default: 'data-[active=true]:bg-surface-action-subtle-active',
|
|
80
|
+
web: 'data-[hover=true]:bg-surface-action-tint-hover data-[active=true]:data-[hover=true]:bg-surface-action-subtle-active'
|
|
93
81
|
})]
|
|
94
82
|
}, {
|
|
95
83
|
variant: 'outline',
|
|
96
|
-
color: '
|
|
97
|
-
className: ['border-
|
|
98
|
-
default: 'data-[active=true]:
|
|
99
|
-
web: 'data-[hover=true]:
|
|
84
|
+
color: 'danger',
|
|
85
|
+
className: ['border-stroke-danger', _reactNative.Platform.select({
|
|
86
|
+
default: 'data-[active=true]:bg-surface-danger-subtle-active',
|
|
87
|
+
web: 'data-[hover=true]:bg-surface-danger-tint-hover data-[active=true]:data-[hover=true]:bg-surface-danger-subtle-active'
|
|
100
88
|
})]
|
|
101
89
|
}, {
|
|
102
90
|
variant: 'outline',
|
|
103
|
-
color: '
|
|
104
|
-
className: ['border-
|
|
105
|
-
default: 'data-[active=true]:
|
|
106
|
-
web: 'data-[hover=true]:
|
|
91
|
+
color: 'warning',
|
|
92
|
+
className: ['border-stroke-warning', _reactNative.Platform.select({
|
|
93
|
+
default: 'data-[active=true]:bg-surface-warning-subtle',
|
|
94
|
+
web: 'data-[hover=true]:bg-surface-warning-tint data-[active=true]:data-[hover=true]:bg-surface-warning-subtle'
|
|
107
95
|
})]
|
|
108
96
|
}, {
|
|
109
97
|
variant: 'outline',
|
|
110
98
|
color: 'success',
|
|
111
|
-
className: ['border-
|
|
112
|
-
default: 'data-[active=true]:
|
|
113
|
-
web: 'data-[hover=true]:
|
|
99
|
+
className: ['border-stroke-success', _reactNative.Platform.select({
|
|
100
|
+
default: 'data-[active=true]:bg-surface-success-subtle',
|
|
101
|
+
web: 'data-[hover=true]:bg-surface-success-tint data-[active=true]:data-[hover=true]:bg-surface-success-subtle'
|
|
114
102
|
})]
|
|
115
103
|
}, {
|
|
116
104
|
variant: 'outline',
|
|
117
|
-
color: '
|
|
118
|
-
className: ['border-
|
|
119
|
-
default: 'data-[active=true]:
|
|
120
|
-
web: 'data-[hover=true]:
|
|
105
|
+
color: 'info',
|
|
106
|
+
className: ['border-stroke-info', _reactNative.Platform.select({
|
|
107
|
+
default: 'data-[active=true]:bg-surface-info-subtle',
|
|
108
|
+
web: 'data-[hover=true]:bg-surface-info-tint data-[active=true]:data-[hover=true]:bg-surface-info-subtle'
|
|
109
|
+
})]
|
|
110
|
+
},
|
|
111
|
+
// ── ghost × color (hover/active surface fills) ──────────────────
|
|
112
|
+
{
|
|
113
|
+
variant: 'ghost',
|
|
114
|
+
color: 'action',
|
|
115
|
+
className: [_reactNative.Platform.select({
|
|
116
|
+
default: 'data-[active=true]:bg-surface-action-subtle-active',
|
|
117
|
+
web: 'data-[hover=true]:bg-surface-action-tint-hover data-[active=true]:data-[hover=true]:bg-surface-action-subtle-active'
|
|
121
118
|
})]
|
|
122
119
|
}, {
|
|
123
120
|
variant: 'ghost',
|
|
124
|
-
color: '
|
|
125
|
-
className: [
|
|
126
|
-
default: 'data-[active=true]:bg-
|
|
127
|
-
web: 'data-[hover=true]:bg-
|
|
121
|
+
color: 'danger',
|
|
122
|
+
className: [_reactNative.Platform.select({
|
|
123
|
+
default: 'data-[active=true]:bg-surface-danger-subtle-active',
|
|
124
|
+
web: 'data-[hover=true]:bg-surface-danger-tint-hover data-[active=true]:data-[hover=true]:bg-surface-danger-subtle-active'
|
|
128
125
|
})]
|
|
129
126
|
}, {
|
|
130
127
|
variant: 'ghost',
|
|
131
|
-
color: '
|
|
132
|
-
className: [
|
|
133
|
-
default: 'data-[active=true]:bg-
|
|
134
|
-
web: 'data-[hover=true]:bg-
|
|
128
|
+
color: 'warning',
|
|
129
|
+
className: [_reactNative.Platform.select({
|
|
130
|
+
default: 'data-[active=true]:bg-surface-warning-subtle',
|
|
131
|
+
web: 'data-[hover=true]:bg-surface-warning-tint data-[active=true]:data-[hover=true]:bg-surface-warning-subtle'
|
|
135
132
|
})]
|
|
136
133
|
}, {
|
|
137
134
|
variant: 'ghost',
|
|
138
135
|
color: 'success',
|
|
139
|
-
className: [
|
|
140
|
-
default: 'data-[active=true]:bg-
|
|
141
|
-
web: 'data-[hover=true]:bg-
|
|
136
|
+
className: [_reactNative.Platform.select({
|
|
137
|
+
default: 'data-[active=true]:bg-surface-success-subtle',
|
|
138
|
+
web: 'data-[hover=true]:bg-surface-success-tint data-[active=true]:data-[hover=true]:bg-surface-success-subtle'
|
|
142
139
|
})]
|
|
143
140
|
}, {
|
|
144
141
|
variant: 'ghost',
|
|
145
|
-
color: '
|
|
146
|
-
className: [
|
|
147
|
-
default: 'data-[active=true]:bg-
|
|
148
|
-
web: 'data-[hover=true]:bg-
|
|
142
|
+
color: 'info',
|
|
143
|
+
className: [_reactNative.Platform.select({
|
|
144
|
+
default: 'data-[active=true]:bg-surface-info-subtle',
|
|
145
|
+
web: 'data-[hover=true]:bg-surface-info-tint data-[active=true]:data-[hover=true]:bg-surface-info-subtle'
|
|
149
146
|
})]
|
|
150
147
|
}],
|
|
151
148
|
defaultVariants: {
|
|
152
|
-
variant: '
|
|
153
|
-
color: '
|
|
154
|
-
size: '
|
|
149
|
+
variant: 'strong',
|
|
150
|
+
color: 'action',
|
|
151
|
+
size: 'default',
|
|
155
152
|
fullWidth: false
|
|
156
153
|
}
|
|
157
154
|
});
|
|
158
155
|
const buttonTextVariants = exports.buttonTextVariants = (0, _classVarianceAuthority.cva)(['font-medium', 'text-center'], {
|
|
159
156
|
variants: {
|
|
160
157
|
variant: {
|
|
161
|
-
|
|
162
|
-
subtle: [],
|
|
158
|
+
strong: [],
|
|
163
159
|
outline: [],
|
|
164
160
|
ghost: []
|
|
165
161
|
},
|
|
166
162
|
color: {
|
|
167
|
-
|
|
168
|
-
|
|
163
|
+
action: [],
|
|
164
|
+
danger: [],
|
|
165
|
+
warning: [],
|
|
169
166
|
success: [],
|
|
170
|
-
|
|
167
|
+
info: []
|
|
171
168
|
},
|
|
172
169
|
size: {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
lg: 'text-lg'
|
|
170
|
+
default: 'text-base',
|
|
171
|
+
small: 'text-sm'
|
|
176
172
|
}
|
|
177
173
|
},
|
|
178
|
-
compoundVariants: [
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
174
|
+
compoundVariants: [
|
|
175
|
+
// ── strong × color (filled foreground text) ──────────────────────
|
|
176
|
+
{
|
|
177
|
+
variant: 'strong',
|
|
178
|
+
color: 'action',
|
|
179
|
+
className: 'text-content-action-on-strong'
|
|
182
180
|
}, {
|
|
183
|
-
variant: '
|
|
184
|
-
color: '
|
|
185
|
-
className: 'text-
|
|
181
|
+
variant: 'strong',
|
|
182
|
+
color: 'danger',
|
|
183
|
+
className: 'text-content-danger-on-strong'
|
|
186
184
|
}, {
|
|
187
|
-
variant: '
|
|
185
|
+
variant: 'strong',
|
|
186
|
+
color: 'warning',
|
|
187
|
+
className: 'text-content-warning-on-strong'
|
|
188
|
+
}, {
|
|
189
|
+
variant: 'strong',
|
|
188
190
|
color: 'success',
|
|
189
|
-
className: 'text-
|
|
191
|
+
className: 'text-content-success-on-strong'
|
|
190
192
|
}, {
|
|
191
|
-
variant: '
|
|
192
|
-
color: '
|
|
193
|
-
className: 'text-
|
|
193
|
+
variant: 'strong',
|
|
194
|
+
color: 'info',
|
|
195
|
+
className: 'text-content-info-on-strong'
|
|
196
|
+
},
|
|
197
|
+
// ── outline/ghost × color (transparent foreground text) ──────────
|
|
198
|
+
{
|
|
199
|
+
variant: ['outline', 'ghost'],
|
|
200
|
+
color: 'action',
|
|
201
|
+
className: 'text-content-action'
|
|
194
202
|
}, {
|
|
195
203
|
variant: ['outline', 'ghost'],
|
|
196
|
-
color: '
|
|
197
|
-
className:
|
|
198
|
-
default: 'data-[active=true]:text-blue-700',
|
|
199
|
-
web: 'data-[hover=true]:text-blue-600 data-[active=true]:data-[hover=true]:text-blue-700'
|
|
200
|
-
})]
|
|
204
|
+
color: 'danger',
|
|
205
|
+
className: 'text-content-danger'
|
|
201
206
|
}, {
|
|
202
207
|
variant: ['outline', 'ghost'],
|
|
203
|
-
color: '
|
|
204
|
-
className:
|
|
205
|
-
default: 'data-[active=true]:text-amber-800',
|
|
206
|
-
web: 'data-[hover=true]:text-amber-700 data-[active=true]:data-[hover=true]:text-amber-800'
|
|
207
|
-
})]
|
|
208
|
+
color: 'warning',
|
|
209
|
+
className: 'text-content-warning'
|
|
208
210
|
}, {
|
|
209
211
|
variant: ['outline', 'ghost'],
|
|
210
212
|
color: 'success',
|
|
211
|
-
className:
|
|
212
|
-
default: 'data-[active=true]:text-green-800',
|
|
213
|
-
web: 'data-[hover=true]:text-green-700 data-[active=true]:data-[hover=true]:text-green-800'
|
|
214
|
-
})]
|
|
213
|
+
className: 'text-content-success'
|
|
215
214
|
}, {
|
|
216
215
|
variant: ['outline', 'ghost'],
|
|
217
|
-
color: '
|
|
218
|
-
className:
|
|
219
|
-
default: 'data-[active=true]:text-red-700',
|
|
220
|
-
web: 'data-[hover=true]:text-red-600 data-[active=true]:data-[hover=true]:text-red-700'
|
|
221
|
-
})]
|
|
216
|
+
color: 'info',
|
|
217
|
+
className: 'text-content-info'
|
|
222
218
|
}],
|
|
223
219
|
defaultVariants: {
|
|
224
|
-
variant: '
|
|
225
|
-
color: '
|
|
226
|
-
size: '
|
|
220
|
+
variant: 'strong',
|
|
221
|
+
color: 'action',
|
|
222
|
+
size: 'default'
|
|
227
223
|
}
|
|
228
224
|
});
|
|
229
225
|
const buttonSpinnerVariants = exports.buttonSpinnerVariants = (0, _classVarianceAuthority.cva)([], {
|
|
230
226
|
variants: {
|
|
231
227
|
variant: {
|
|
232
|
-
|
|
233
|
-
subtle: [],
|
|
228
|
+
strong: [],
|
|
234
229
|
outline: [],
|
|
235
230
|
ghost: []
|
|
236
231
|
},
|
|
237
232
|
color: {
|
|
238
|
-
|
|
239
|
-
|
|
233
|
+
action: [],
|
|
234
|
+
danger: [],
|
|
235
|
+
warning: [],
|
|
240
236
|
success: [],
|
|
241
|
-
|
|
237
|
+
info: []
|
|
242
238
|
}
|
|
243
239
|
},
|
|
244
|
-
compoundVariants: [
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
240
|
+
compoundVariants: [
|
|
241
|
+
// ── strong × color ───────────────────────────────────────────────
|
|
242
|
+
{
|
|
243
|
+
variant: 'strong',
|
|
244
|
+
color: 'action',
|
|
245
|
+
className: 'accent-[var(--color-content-action-on-strong)]'
|
|
248
246
|
}, {
|
|
249
|
-
variant: '
|
|
250
|
-
color: '
|
|
251
|
-
className: 'accent-
|
|
247
|
+
variant: 'strong',
|
|
248
|
+
color: 'danger',
|
|
249
|
+
className: 'accent-[var(--color-content-danger-on-strong)]'
|
|
252
250
|
}, {
|
|
253
|
-
variant: '
|
|
251
|
+
variant: 'strong',
|
|
252
|
+
color: 'warning',
|
|
253
|
+
className: 'accent-[var(--color-content-warning-on-strong)]'
|
|
254
|
+
}, {
|
|
255
|
+
variant: 'strong',
|
|
254
256
|
color: 'success',
|
|
255
|
-
className: 'accent-
|
|
257
|
+
className: 'accent-[var(--color-content-success-on-strong)]'
|
|
256
258
|
}, {
|
|
257
|
-
variant: '
|
|
258
|
-
color: '
|
|
259
|
-
className: 'accent-
|
|
259
|
+
variant: 'strong',
|
|
260
|
+
color: 'info',
|
|
261
|
+
className: 'accent-[var(--color-content-info-on-strong)]'
|
|
262
|
+
},
|
|
263
|
+
// ── outline/ghost × color ────────────────────────────────────────
|
|
264
|
+
{
|
|
265
|
+
variant: ['outline', 'ghost'],
|
|
266
|
+
color: 'action',
|
|
267
|
+
className: 'accent-[var(--color-content-action)]'
|
|
260
268
|
}, {
|
|
261
269
|
variant: ['outline', 'ghost'],
|
|
262
|
-
color: '
|
|
263
|
-
className: 'accent-
|
|
270
|
+
color: 'danger',
|
|
271
|
+
className: 'accent-[var(--color-content-danger)]'
|
|
264
272
|
}, {
|
|
265
273
|
variant: ['outline', 'ghost'],
|
|
266
|
-
color: '
|
|
267
|
-
className: 'accent-
|
|
274
|
+
color: 'warning',
|
|
275
|
+
className: 'accent-[var(--color-content-warning)]'
|
|
268
276
|
}, {
|
|
269
277
|
variant: ['outline', 'ghost'],
|
|
270
278
|
color: 'success',
|
|
271
|
-
className: 'accent-
|
|
279
|
+
className: 'accent-[var(--color-content-success)]'
|
|
272
280
|
}, {
|
|
273
281
|
variant: ['outline', 'ghost'],
|
|
274
|
-
color: '
|
|
275
|
-
className: 'accent-
|
|
282
|
+
color: 'info',
|
|
283
|
+
className: 'accent-[var(--color-content-info)]'
|
|
276
284
|
}],
|
|
277
285
|
defaultVariants: {
|
|
278
|
-
variant: '
|
|
279
|
-
color: '
|
|
286
|
+
variant: 'strong',
|
|
287
|
+
color: 'action'
|
|
280
288
|
}
|
|
281
289
|
});
|
|
282
290
|
const buttonGroupVariants = exports.buttonGroupVariants = (0, _classVarianceAuthority.cva)([], {
|
|
@@ -309,4 +317,15 @@ const buttonGroupVariants = exports.buttonGroupVariants = (0, _classVarianceAuth
|
|
|
309
317
|
isAttached: false
|
|
310
318
|
}
|
|
311
319
|
});
|
|
320
|
+
const buttonIconVariants = exports.buttonIconVariants = (0, _classVarianceAuthority.cva)([], {
|
|
321
|
+
variants: {
|
|
322
|
+
size: {
|
|
323
|
+
default: 'size-5',
|
|
324
|
+
small: 'size-4'
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
defaultVariants: {
|
|
328
|
+
size: 'default'
|
|
329
|
+
}
|
|
330
|
+
});
|
|
312
331
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_classVarianceAuthority","buttonRootVariants","exports","cva","
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_classVarianceAuthority","_primitives","buttonRootVariants","exports","cva","TRANSITION_COLORS","DISABLED_CURSOR","variants","variant","strong","outline","ghost","color","action","danger","warning","success","info","size","default","small","fullWidth","true","false","compoundVariants","className","Platform","select","web","defaultVariants","buttonTextVariants","buttonSpinnerVariants","buttonGroupVariants","flexDirection","row","column","isAttached","buttonIconVariants"],"sourceRoot":"../../../../src","sources":["components/Button/styles.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,uBAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AAEA;;AAEO,MAAMG,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,GAAG,IAAAE,2BAAG,EACnC,CACE,sCAAsC,EACtC,uCAAuC,EACvC,wEAAwE,EACxEC,6BAAiB,EACjB,mDAAmD,EACnDC,2BAAe,EACf,4IAA4I,CAC7I,EACD;EACEC,QAAQ,EAAE;IACRC,OAAO,EAAE;MACPC,MAAM,EAAE,CAAC,4BAA4B,CAAC;MAAE;MACxCC,OAAO,EAAE,CAAC,gBAAgB,EAAE,8BAA8B,CAAC;MAC3DC,KAAK,EAAE,CAAC,gBAAgB;IAC1B,CAAC;IACDC,KAAK,EAAE;MACLC,MAAM,EAAE,EAAE;MACVC,MAAM,EAAE,EAAE;MACVC,OAAO,EAAE,EAAE;MACXC,OAAO,EAAE,EAAE;MACXC,IAAI,EAAE;IACR,CAAC;IACDC,IAAI,EAAE;MACJC,OAAO,EAAE,iBAAiB;MAC1BC,KAAK,EAAE;IACT,CAAC;IACDC,SAAS,EAAE;MACTC,IAAI,EAAE,QAAQ;MACdC,KAAK,EAAE;IACT;EACF,CAAC;EACDC,gBAAgB,EAAE;EAChB;EACA;IACEhB,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AA,GAAG,IAAA5B,2BAAG,EAAC,EAAE,EAAE;EACzCG,QAAQ,EAAE;IACR0B,aAAa,EAAE;MACbC,GAAG,EAAER,qBAAQ,CAACC,MAAM,CAAC;QAAEC,GAAG,EAAE,UAAU;QAAET,OAAO,EAAE;MAAG,CAAC,CAAC;MACtDgB,MAAM,EAAET,qBAAQ,CAACC,MAAM,CAAC;QAAEC,GAAG,EAAE,UAAU;QAAET,OAAO,EAAE;MAAG,CAAC,CAAC;MACzD,aAAa,EAAEO,qBAAQ,CAACC,MAAM,CAAC;QAAEC,GAAG,EAAE,kBAAkB;QAAET,OAAO,EAAE;MAAG,CAAC,CAAC;MACxE,gBAAgB,EAAEO,qBAAQ,CAACC,MAAM,CAAC;QAAEC,GAAG,EAAE,kBAAkB;QAAET,OAAO,EAAE;MAAG,CAAC;IAC5E,CAAC;IACDiB,UAAU,EAAE;MACVd,IAAI,EAAE,OAAO;MACbC,KAAK,EAAE;IACT;EACF,CAAC;EACDM,eAAe,EAAE;IACfI,aAAa,EAAE,KAAK;IACpBG,UAAU,EAAE;EACd;AACF,CAAC,CAAC;AAEK,MAAMC,kBAAkB,GAAAlC,OAAA,CAAAkC,kBAAA,GAAG,IAAAjC,2BAAG,EAAC,EAAE,EAAE;EACxCG,QAAQ,EAAE;IACRW,IAAI,EAAE;MACJC,OAAO,EAAE,QAAQ;MACjBC,KAAK,EAAE;IACT;EACF,CAAC;EACDS,eAAe,EAAE;IACfX,IAAI,EAAE;EACR;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Card = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _utils = require("@cdx-ui/utils");
|
|
10
|
+
var _styles = require("./styles");
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
// =============================================================================
|
|
13
|
+
// STYLED ROOT COMPONENT
|
|
14
|
+
// =============================================================================
|
|
15
|
+
|
|
16
|
+
const CardRoot = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
17
|
+
className,
|
|
18
|
+
children,
|
|
19
|
+
style,
|
|
20
|
+
...props
|
|
21
|
+
}, ref) => {
|
|
22
|
+
const computedClassName = (0, _utils.cn)((0, _styles.cardRootVariants)(), className);
|
|
23
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
24
|
+
ref: ref,
|
|
25
|
+
className: computedClassName,
|
|
26
|
+
style: style,
|
|
27
|
+
...props,
|
|
28
|
+
children: children
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
CardRoot.displayName = 'Card';
|
|
32
|
+
|
|
33
|
+
// =============================================================================
|
|
34
|
+
// STYLED HEADER COMPONENT
|
|
35
|
+
// =============================================================================
|
|
36
|
+
|
|
37
|
+
const CardHeader = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
38
|
+
className,
|
|
39
|
+
children,
|
|
40
|
+
style,
|
|
41
|
+
...props
|
|
42
|
+
}, ref) => {
|
|
43
|
+
const computedClassName = (0, _utils.cn)((0, _styles.cardHeaderVariants)(), className);
|
|
44
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
45
|
+
ref: ref,
|
|
46
|
+
className: computedClassName,
|
|
47
|
+
style: style,
|
|
48
|
+
...props,
|
|
49
|
+
children: children
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
CardHeader.displayName = 'Card.Header';
|
|
53
|
+
|
|
54
|
+
// =============================================================================
|
|
55
|
+
// STYLED CONTENT COMPONENT
|
|
56
|
+
// =============================================================================
|
|
57
|
+
|
|
58
|
+
const CardContent = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
59
|
+
className,
|
|
60
|
+
children,
|
|
61
|
+
style,
|
|
62
|
+
...props
|
|
63
|
+
}, ref) => {
|
|
64
|
+
const computedClassName = (0, _utils.cn)((0, _styles.cardContentVariants)(), className);
|
|
65
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
66
|
+
ref: ref,
|
|
67
|
+
className: computedClassName,
|
|
68
|
+
style: style,
|
|
69
|
+
...props,
|
|
70
|
+
children: children
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
CardContent.displayName = 'Card.Content';
|
|
74
|
+
|
|
75
|
+
// =============================================================================
|
|
76
|
+
// STYLED FOOTER COMPONENT
|
|
77
|
+
// =============================================================================
|
|
78
|
+
|
|
79
|
+
const CardFooter = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
80
|
+
className,
|
|
81
|
+
children,
|
|
82
|
+
style,
|
|
83
|
+
...props
|
|
84
|
+
}, ref) => {
|
|
85
|
+
const computedClassName = (0, _utils.cn)((0, _styles.cardFooterVariants)(), className);
|
|
86
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
87
|
+
ref: ref,
|
|
88
|
+
className: computedClassName,
|
|
89
|
+
style: style,
|
|
90
|
+
...props,
|
|
91
|
+
children: children
|
|
92
|
+
});
|
|
93
|
+
});
|
|
94
|
+
CardFooter.displayName = 'Card.Footer';
|
|
95
|
+
|
|
96
|
+
// =============================================================================
|
|
97
|
+
// COMPOUND COMPONENT
|
|
98
|
+
// =============================================================================
|
|
99
|
+
|
|
100
|
+
const Card = exports.Card = CardRoot;
|
|
101
|
+
Card.Header = CardHeader;
|
|
102
|
+
Card.Content = CardContent;
|
|
103
|
+
Card.Footer = CardFooter;
|
|
104
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_utils","_styles","_jsxRuntime","CardRoot","forwardRef","className","children","style","props","ref","computedClassName","cn","cardRootVariants","jsx","View","displayName","CardHeader","cardHeaderVariants","CardContent","cardContentVariants","CardFooter","cardF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