@youngonesworks/ui 1.0.8 → 1.0.9
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/components/badge/index.d.ts +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
interface IBadgeProps {
|
|
2
|
-
styleVariant?: 'primary' | 'green-light' | 'red' | 'accent-blue' | 'warning' | 'gray' | 'black' | 'dark-gray' | 'purple' | 'secondary' | 'secondary-light' | 'gray' | 'white';
|
|
2
|
+
styleVariant?: 'primary' | 'green-light' | 'red' | 'accent-blue' | 'warning' | 'gray' | 'black' | 'dark-gray' | 'purple' | 'purple-light' | 'secondary' | 'secondary-light' | 'gray' | 'white';
|
|
3
3
|
color?: 'dark' | 'gray' | 'red' | 'secondary' | 'grape' | 'violet' | 'indigo' | 'blue' | 'cyan' | 'green' | 'lime' | 'yellow' | 'orange' | 'teal';
|
|
4
4
|
favorite?: boolean;
|
|
5
5
|
children?: React.ReactNode;
|
package/dist/index.cjs
CHANGED
|
@@ -753,6 +753,7 @@ const Badge = ({ styleVariant = COLOR.ACCENT_BLUE, className, favorite, children
|
|
|
753
753
|
"bg-green-light text-green": styleVariant === COLOR.GREEN_LIGHT,
|
|
754
754
|
"bg-red-50 text-red-500": styleVariant === COLOR.RED,
|
|
755
755
|
"bg-purple-light text-black border border-purple": styleVariant === COLOR.PURPLE,
|
|
756
|
+
"bg-purple-light text-purple": styleVariant === COLOR.PURPLE_LIGHT,
|
|
756
757
|
"bg-warning-light text-warning": styleVariant === COLOR.WARNING,
|
|
757
758
|
"bg-gray-50 text-black": styleVariant === COLOR.DARK_GRAY,
|
|
758
759
|
"bg-black text-white": styleVariant === COLOR.BLACK,
|