@wishket/design-system 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Components/Atoms/Box/Box.d.ts +6 -5
- package/dist/Components/Atoms/Button/Button.d.ts +3 -0
- package/dist/Components/Atoms/Button/Button.parts.d.ts +2 -0
- package/dist/Components/Atoms/Button/Button.stories.d.ts +6 -0
- package/dist/Components/Atoms/Button/Button.types.d.ts +9 -0
- package/dist/Components/Atoms/Button/index.d.ts +2 -0
- package/dist/Components/Atoms/Checkbox/Checkbox.types.d.ts +6 -2
- package/dist/Components/Atoms/Typography/Typography.d.ts +1 -1
- package/dist/Components/Atoms/Typography/Typography.types.d.ts +3 -16
- package/dist/Components/Atoms/index.d.ts +1 -0
- package/dist/Components/Molecules/CheckboxCard/CheckboxCard.d.ts +2 -1
- package/dist/Components/Molecules/CheckboxCard/CheckboxCard.parts.d.ts +5 -0
- package/dist/Components/Molecules/CheckboxCard/CheckboxCard.types.d.ts +20 -1
- package/dist/Components/Molecules/CheckboxCard/index.d.ts +2 -0
- package/dist/Components/Molecules/CheckboxCard/useCheckboxCard.d.ts +14 -0
- package/dist/Components/Molecules/CheckboxList/CheckboxList.d.ts +1 -1
- package/dist/Components/Molecules/GridLayout/GridLayout.d.ts +1 -1
- package/dist/Components/Molecules/GridLayout/GridLayout.types.d.ts +2 -7
- package/dist/Components/Molecules/index.d.ts +1 -0
- package/dist/config/tailwind.config.js +168 -0
- package/dist/index.d.ts +0 -6
- package/dist/index.es.js +1 -0
- package/dist/index.js +1 -2
- package/package.json +10 -4
- package/dist/Components/Atoms/Box/Box.js +0 -1
- package/dist/Components/Atoms/Box/index.js +0 -1
- package/dist/Components/Atoms/Checkbox/Checkbox.js +0 -2
- package/dist/Components/Atoms/Checkbox/index.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/Bookmark.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/BubbleStar.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/BubbleStars.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/Building.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/Calendar.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/CardConfirm.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/CardWrite.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/Congrats.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/Credit.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/Database.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/Design.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/Discount.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/DocumentCloud.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/DocumentSuccess.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/Email.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/HandShake.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/HandThumb.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/Idea.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/Lock.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/Logout.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/MemoWrite.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/MobileConfirm.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/PaperCertify.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/PaperClip.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/PaperClock.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/PaperConfirm.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/PaperContract.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/PaperHold.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/PaperOverlap.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/PaperProject.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/PaperSecurity.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/PersonFreelancer.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/PersonOffice.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/PersonSmile.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/Receipt.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/Repair.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/Search.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/SearchConfirm.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/ShieldConfirm.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/ShieldWon.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/Shopping.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/WebDevelopment.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/WebDomain.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/WebPayment.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/WebSecurity.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/WidePaperConfirm.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/WidePaperPayment.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/WidePaperPlan.js +0 -1
- package/dist/Components/Atoms/ProductIcon/Icons/WidePaperStructure.js +0 -1
- package/dist/Components/Atoms/ProductIcon/ProductIcon.js +0 -1
- package/dist/Components/Atoms/ProductIcon/index.js +0 -1
- package/dist/Components/Atoms/Typography/Typography.js +0 -2
- package/dist/Components/Atoms/Typography/Typography.types.js +0 -1
- package/dist/Components/Atoms/Typography/index.js +0 -1
- package/dist/Components/Common/DesignSystemProvider.d.ts +0 -3
- package/dist/Components/Common/DesignSystemProvider.js +0 -2
- package/dist/Components/Common/index.d.ts +0 -1
- package/dist/Components/Molecules/CheckboxCard/CheckboxCard.styles.d.ts +0 -26
- package/dist/Components/Molecules/CheckboxList/CheckboxList.js +0 -2
- package/dist/Components/Molecules/CheckboxList/CheckboxListItem.js +0 -2
- package/dist/Components/Molecules/CheckboxList/index.js +0 -1
- package/dist/Components/Molecules/GridLayout/GridLayout.js +0 -2
- package/dist/Components/Molecules/GridLayout/index.js +0 -1
- package/dist/_virtual/_tslib.js +0 -1
- package/dist/styles/globals.d.ts +0 -2
- package/dist/styles/globals.js +0 -2
- package/dist/styles/index.d.ts +0 -1
- package/dist/variants/breakpoints.d.ts +0 -13
- package/dist/variants/breakpoints.js +0 -1
- package/dist/variants/colors.d.ts +0 -114
- package/dist/variants/colors.js +0 -1
- package/dist/variants/gradients.d.ts +0 -4
- package/dist/variants/gradients.js +0 -1
- package/dist/variants/index.d.ts +0 -3
- package/dist/variants/theme.d.ts +0 -16
- package/dist/variants/theme.js +0 -1
- package/dist/variants/typographies.d.ts +0 -5
- package/dist/variants/typographies.js +0 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
interface BoxProps extends PropsWithChildren {
|
|
3
|
+
className?: string;
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}
|
|
6
|
+
declare const Box: <T>({ children, className, ...rest }: BoxProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export default Box;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ComponentPropsWithRef } from 'react';
|
|
2
|
+
type ButtonSizeType = 'sm' | 'md' | 'lg';
|
|
3
|
+
type ButtonVariantType = 'default' | 'solid' | 'outlined';
|
|
4
|
+
export interface ButtonProps extends ComponentPropsWithRef<'button'> {
|
|
5
|
+
size?: ButtonSizeType;
|
|
6
|
+
variant?: ButtonVariantType;
|
|
7
|
+
rounded?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export {};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { ChangeEvent } from 'react';
|
|
2
2
|
import { CheckboxStatus } from '../../../types';
|
|
3
|
-
export interface
|
|
3
|
+
export interface CheckboxButtonProps extends CheckboxStatus {
|
|
4
4
|
type?: 'box' | 'circle';
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface CheckMarkProps {
|
|
8
|
+
checked: boolean;
|
|
5
9
|
}
|
|
6
|
-
export interface CheckboxProps extends
|
|
10
|
+
export interface CheckboxProps extends CheckboxButtonProps {
|
|
7
11
|
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
8
12
|
className?: string;
|
|
9
13
|
[key: string]: any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TypographyProps } from './Typography.types';
|
|
2
|
-
declare const Typography: ({ children, variant,
|
|
2
|
+
declare const Typography: ({ children, variant, className, ...rest }: TypographyProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Typography;
|
|
@@ -1,20 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
export type Weights = 'bold' | 'medium' | 'regular' | 'light';
|
|
5
|
-
export declare enum WeightsEnum {
|
|
6
|
-
bold = 700,
|
|
7
|
-
medium = 500,
|
|
8
|
-
regular = 400,
|
|
9
|
-
light = 300
|
|
10
|
-
}
|
|
11
|
-
export interface TypographyProps {
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
export type TypographyVariants = 'title1' | 'title2' | 'title3' | 'subTitle1' | 'subTitle2' | 'body1' | 'body2' | 'body3' | 'caption1' | 'caption2';
|
|
3
|
+
export interface TypographyProps extends PropsWithChildren {
|
|
12
4
|
variant: TypographyVariants;
|
|
13
|
-
children: ReactNode;
|
|
14
|
-
weight?: Weights;
|
|
15
|
-
align?: Aligns;
|
|
16
|
-
color?: ThemeColors;
|
|
17
|
-
testId?: string;
|
|
18
5
|
className?: string;
|
|
19
6
|
[key: string]: any;
|
|
20
7
|
}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { CheckboxCardProps } from './CheckboxCard.types';
|
|
2
|
-
|
|
2
|
+
declare const CheckboxCard: ({ disabled, checked, isError, onChange, isWide, className, iconName, title, description, testId, }: CheckboxCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default CheckboxCard;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { CheckboxCardContainerProps, CheckboxCardIconProps, StyledCheckboxProps, TitleContainerProps } from './CheckboxCard.types';
|
|
2
|
+
export declare const CheckboxCardContainer: ({ children, isWide, checked, isError, isHover, disabled, className, ...rest }: CheckboxCardContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const TitleContainer: ({ isWide, children }: TitleContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const StyledCheckbox: ({ isWide, className, ...rest }: StyledCheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const CheckboxCardIcon: ({ iconName, disabled, }: CheckboxCardIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ChangeEvent } from 'react';
|
|
1
|
+
import { ChangeEvent, PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
import { CheckboxStatus } from '../../../types';
|
|
3
3
|
import { ProductIconName } from '../../Atoms/ProductIcon/ProductIcon.types';
|
|
4
|
+
import { CheckboxProps } from '../../Atoms/Checkbox/Checkbox.types';
|
|
4
5
|
export interface CheckboxCardProps extends CheckboxStatus {
|
|
5
6
|
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
6
7
|
className?: string;
|
|
@@ -8,4 +9,22 @@ export interface CheckboxCardProps extends CheckboxStatus {
|
|
|
8
9
|
isWide?: boolean;
|
|
9
10
|
title: string;
|
|
10
11
|
description?: string;
|
|
12
|
+
testId?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface CheckboxCardContainerProps extends CheckboxStatus {
|
|
15
|
+
isWide?: boolean;
|
|
16
|
+
className?: string;
|
|
17
|
+
children: ReactNode;
|
|
18
|
+
onMouseOver: () => void;
|
|
19
|
+
onMouseOut: () => void;
|
|
20
|
+
}
|
|
21
|
+
export interface CheckboxCardIconProps {
|
|
22
|
+
iconName: ProductIconName;
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
}
|
|
25
|
+
export interface StyledCheckboxProps extends CheckboxProps {
|
|
26
|
+
isWide: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface TitleContainerProps extends PropsWithChildren {
|
|
29
|
+
isWide: boolean;
|
|
11
30
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ChangeEvent } from 'react';
|
|
2
|
+
interface useCheckboxCardProps {
|
|
3
|
+
checked: boolean;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const useCheckboxCard: ({ checked, disabled, onChange, }: useCheckboxCardProps) => {
|
|
8
|
+
isHover: boolean;
|
|
9
|
+
isChecked: boolean;
|
|
10
|
+
handleChange: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
11
|
+
hoverListItemContainer: () => void;
|
|
12
|
+
unhoverListItemContainer: () => void;
|
|
13
|
+
};
|
|
14
|
+
export default useCheckboxCard;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CheckboxListProps } from './CheckboxList.types';
|
|
2
|
-
declare const CheckboxList: ({ data, className,
|
|
2
|
+
declare const CheckboxList: ({ data, className, testId }: CheckboxListProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default CheckboxList;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { GridLayoutProps } from './GridLayout.types';
|
|
2
|
-
declare const GridLayout: ({ children,
|
|
2
|
+
declare const GridLayout: ({ children, gridTemplateAreaClass, testId, }: GridLayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default GridLayout;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
export interface GridLayoutProps extends PropsWithChildren {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
tablet: string;
|
|
6
|
-
desktop: string;
|
|
7
|
-
};
|
|
8
|
-
className?: string;
|
|
9
|
-
[key: string]: any;
|
|
3
|
+
gridTemplateAreaClass?: string;
|
|
4
|
+
testId?: string;
|
|
10
5
|
}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
/** @type {import('tailwindcss').Config} */
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
content: [
|
|
5
|
+
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
|
|
6
|
+
'./src/Components/**/*.{js,ts,jsx,tsx,mdx}',
|
|
7
|
+
'./src/styles/**/*.{js,ts,jsx,tsx,mdx}',
|
|
8
|
+
],
|
|
9
|
+
theme: {
|
|
10
|
+
screens: {
|
|
11
|
+
'mobile': '360px',
|
|
12
|
+
'tablet': '720px',
|
|
13
|
+
'desktop': '980px',
|
|
14
|
+
},
|
|
15
|
+
extend: {
|
|
16
|
+
gridAutoColumns: {
|
|
17
|
+
'1fr': '1fr',
|
|
18
|
+
},
|
|
19
|
+
spacing: {
|
|
20
|
+
'container':'1200px',
|
|
21
|
+
},
|
|
22
|
+
colors: {
|
|
23
|
+
'w-cyan-10': '#F2FCFF',
|
|
24
|
+
'w-cyan-50': '#E8FAFF',
|
|
25
|
+
'w-cyan-100': '#BFEDFA',
|
|
26
|
+
'w-cyan-200': '#ABE3F2',
|
|
27
|
+
'w-cyan-300': '#80C7DE',
|
|
28
|
+
'w-cyan-400': '#5DB6D4',
|
|
29
|
+
'w-cyan-500': '#3BA3C7',
|
|
30
|
+
'w-cyan-600': '#369CC2',
|
|
31
|
+
'w-cyan-700': '#3391BA',
|
|
32
|
+
'w-cyan-800': '#308AB3',
|
|
33
|
+
'w-cyan-900': '#2E82AB',
|
|
34
|
+
'w-indigo-10': '#F5F9FF',
|
|
35
|
+
'w-indigo-50': '#E3EDFA',
|
|
36
|
+
'w-indigo-100': '#CCDBED',
|
|
37
|
+
'w-indigo-200': '#A6BFDE',
|
|
38
|
+
'w-indigo-300': '#7DA3CC',
|
|
39
|
+
'w-indigo-400': '#5487BA',
|
|
40
|
+
'w-indigo-500': '#2E6BAA',
|
|
41
|
+
'w-indigo-600': '#26619E',
|
|
42
|
+
'w-indigo-700': '#1F578C',
|
|
43
|
+
'w-indigo-800': '#1A4D80',
|
|
44
|
+
'w-indigo-900': '#144570',
|
|
45
|
+
'w-red-10': '#FFF5F5',
|
|
46
|
+
'w-red-50': '#FFE8E8',
|
|
47
|
+
'w-red-100': '#FFC9C9',
|
|
48
|
+
'w-red-200': '#ED9191',
|
|
49
|
+
'w-red-300': '#ED6666',
|
|
50
|
+
'w-red-400': '#EB3F3F',
|
|
51
|
+
'w-red-500': '#E52929',
|
|
52
|
+
'w-red-600': '#DB2121',
|
|
53
|
+
'w-red-700': '#D11519',
|
|
54
|
+
'w-red-800': '#C70006',
|
|
55
|
+
'w-red-900': '#BF0006',
|
|
56
|
+
'w-orange-10': '#FFF9F5',
|
|
57
|
+
'w-orange-50': '#FFF0E8',
|
|
58
|
+
'w-orange-100': '#FFD6BF',
|
|
59
|
+
'w-orange-200': '#FFBB99',
|
|
60
|
+
'w-orange-300': '#FFA070',
|
|
61
|
+
'w-orange-400': '#FF8547',
|
|
62
|
+
'w-orange-500': '#FF6B21',
|
|
63
|
+
'w-orange-600': '#F4611D',
|
|
64
|
+
'w-orange-700': '#E65918',
|
|
65
|
+
'w-orange-800': '#DB5314',
|
|
66
|
+
'w-orange-900': '#D14B0F',
|
|
67
|
+
'w-yellow-10': '#FFFDF5',
|
|
68
|
+
'w-yellow-50': '#FFF9E0',
|
|
69
|
+
'w-yellow-100': '#FFEEB8',
|
|
70
|
+
'w-yellow-200': '#FFE491',
|
|
71
|
+
'w-yellow-300': '#FFDA6A',
|
|
72
|
+
'w-yellow-400': '#FFD043',
|
|
73
|
+
'w-yellow-500': '#FFC61C',
|
|
74
|
+
'w-yellow-600': '#FFB012',
|
|
75
|
+
'w-yellow-700': '#F79E0F',
|
|
76
|
+
'w-yellow-800': '#F79205',
|
|
77
|
+
'w-yellow-900': '#F28A05',
|
|
78
|
+
'w-green-10': '#F5FFFC',
|
|
79
|
+
'w-green-50': '#EBFFF9',
|
|
80
|
+
'w-green-100': '#C4EDE1',
|
|
81
|
+
'w-green-200': '#93DBC6',
|
|
82
|
+
'w-green-300': '#63C9AB',
|
|
83
|
+
'w-green-400': '#30B891',
|
|
84
|
+
'w-green-500': '#00A878',
|
|
85
|
+
'w-green-600': '#009C6F',
|
|
86
|
+
'w-green-700': '#009168',
|
|
87
|
+
'w-green-800': '#008761',
|
|
88
|
+
'w-green-900': '#007D59',
|
|
89
|
+
'w-bluegray-10': '#F7FAFC',
|
|
90
|
+
'w-bluegray-50': '#E6EBF0',
|
|
91
|
+
'w-bluegray-100': '#CCD1D6',
|
|
92
|
+
'w-bluegray-200': '#A1A6AD',
|
|
93
|
+
'w-bluegray-300': '#787D85',
|
|
94
|
+
'w-bluegray-400': '#4D525C',
|
|
95
|
+
'w-bluegray-500': '#383D47',
|
|
96
|
+
'w-bluegray-600': '#242933',
|
|
97
|
+
'w-bluegray-700': '#1C2029',
|
|
98
|
+
'w-bluegray-800': '#14171F',
|
|
99
|
+
'w-bluegray-900': '#0D0F14',
|
|
100
|
+
'w-gray-10': '#FAFAFA',
|
|
101
|
+
'w-gray-50': '#F5F5F5',
|
|
102
|
+
'w-gray-100': '#EEEEEE',
|
|
103
|
+
'w-gray-200': '#E0E0E0',
|
|
104
|
+
'w-gray-300': '#BDBDBD',
|
|
105
|
+
'w-gray-400': '#9E9E9E',
|
|
106
|
+
'w-gray-500': '#757575',
|
|
107
|
+
'w-gray-600': '#616161',
|
|
108
|
+
'w-gray-700': '#424242',
|
|
109
|
+
'w-gray-800': '#313131',
|
|
110
|
+
'w-gray-900': '#212121',
|
|
111
|
+
'w-violet-10': '#FAF6FF',
|
|
112
|
+
'w-violet-50': '#F2E8FC',
|
|
113
|
+
'w-violet-100': '#D6C1FA',
|
|
114
|
+
'w-violet-200': '#BB98F7',
|
|
115
|
+
'w-violet-300': '#9E6BF5',
|
|
116
|
+
'w-violet-400': '#8646F2',
|
|
117
|
+
'w-violet-500': '#6B16EE',
|
|
118
|
+
'w-violet-600': '#5A00DB',
|
|
119
|
+
'w-violet-700': '#400EC0',
|
|
120
|
+
'w-violet-800': '#3200AC',
|
|
121
|
+
'w-violet-900': '#110394',
|
|
122
|
+
'w-black': '#000000',
|
|
123
|
+
'w-white': '#ffffff',
|
|
124
|
+
'w-primary': '#3BA3C7',
|
|
125
|
+
'w-secondary': '#2E6BAA',
|
|
126
|
+
'y-primary': '#6B16EE',
|
|
127
|
+
},
|
|
128
|
+
backgroundImage: {
|
|
129
|
+
'gradient-cyan-0': "linear-gradient(0deg, #5db6d4 0%, #369cc2 100%)",
|
|
130
|
+
'gradient-violet-0': "linear-gradient(0deg, #8e2de2 0%, #5a00db 100%)",
|
|
131
|
+
'gradient-indigo-0': "linear-gradient(0deg, #5487ba 0%, #26619e 100%)",
|
|
132
|
+
'gradient-cyan-30': "linear-gradient(30deg, #5db6d4 0%, #369cc2 100%)",
|
|
133
|
+
'gradient-violet-30': "linear-gradient(30deg, #8e2de2 0%, #5a00db 100%)",
|
|
134
|
+
'gradient-indigo-30': "linear-gradient(30deg, #5487ba 0%, #26619e 100%)",
|
|
135
|
+
'gradient-cyan-45': "linear-gradient(45deg, #5db6d4 0%, #369cc2 100%)",
|
|
136
|
+
'gradient-violet-45': "linear-gradient(45deg, #8e2de2 0%, #5a00db 100%)",
|
|
137
|
+
'gradient-indigo-45': "linear-gradient(45deg, #5487ba 0%, #26619e 100%)",
|
|
138
|
+
'gradient-cyan-60': "linear-gradient(60deg, #5db6d4 0%, #369cc2 100%)",
|
|
139
|
+
'gradient-violet-60': "linear-gradient(60deg, #8e2de2 0%, #5a00db 100%)",
|
|
140
|
+
'gradient-indigo-60': "linear-gradient(60deg, #5487ba 0%, #26619e 100%)",
|
|
141
|
+
'gradient-cyan-90': "linear-gradient(90deg, #5db6d4 0%, #369cc2 100%)",
|
|
142
|
+
'gradient-violet-90': "linear-gradient(90deg, #8e2de2 0%, #5a00db 100%)",
|
|
143
|
+
'gradient-indigo-90': "linear-gradient(90deg, #5487ba 0%, #26619e 100%)",
|
|
144
|
+
},
|
|
145
|
+
gridTemplateAreas: {
|
|
146
|
+
'default-mobile': ['content content content content'],
|
|
147
|
+
'default-tablet': [
|
|
148
|
+
'content content content content content content content content',
|
|
149
|
+
],
|
|
150
|
+
'default-desktop': [
|
|
151
|
+
'content content content content content content content content content content content content',
|
|
152
|
+
],
|
|
153
|
+
'checkbox-list-item-container':['checkbox label',' . description']
|
|
154
|
+
},
|
|
155
|
+
gridTemplateRows: {
|
|
156
|
+
'checkbox-list-item-container': 'min-content min-content',
|
|
157
|
+
},
|
|
158
|
+
gridTemplateColumns: {
|
|
159
|
+
'checkbox-list-item-container': '18px min-content',
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
plugins: [require('@savvywombat/tailwindcss-grid-areas')],
|
|
164
|
+
variants: {
|
|
165
|
+
gridTemplateAreas: ['responsive'],
|
|
166
|
+
},
|
|
167
|
+
}
|
|
168
|
+
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
1
|
export * from './Components/Atoms';
|
|
2
2
|
export * from './Components/Molecules';
|
|
3
|
-
export * from './Components/Common';
|
|
4
|
-
export * from './styles';
|
|
5
|
-
export * from './variants';
|
|
6
|
-
export { css, keyframes, useTheme } from '@emotion/react';
|
|
7
|
-
export type { Theme } from '@emotion/react';
|
|
8
|
-
export { default as styled } from '@emotion/styled';
|