@causw/core 0.0.16 → 0.0.18
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 +123 -0
- package/dist/components/Avatar/Avatar.d.cts +2 -2
- package/dist/components/Avatar/Avatar.d.mts +2 -2
- package/dist/components/Avatar/Avatar.styles.d.cts +3 -3
- package/dist/components/Avatar/Avatar.styles.d.cts.map +1 -1
- package/dist/components/Avatar/Avatar.styles.d.mts +3 -3
- package/dist/components/BottomNavigation/BottomNavigation.d.cts +5 -5
- package/dist/components/BottomNavigation/BottomNavigation.d.mts +5 -5
- package/dist/components/BottomNavigation/BottomNavigation.styles.d.cts +3 -3
- package/dist/components/BottomNavigation/BottomNavigation.styles.d.mts +3 -3
- package/dist/components/BottomSheet/BottomSheet.d.cts +6 -6
- package/dist/components/BottomSheet/BottomSheet.d.mts +6 -6
- package/dist/components/BottomSheet/BottomSheet.styles.d.cts +3 -3
- package/dist/components/BottomSheet/BottomSheet.styles.d.mts +3 -3
- package/dist/components/Box/Box.styles.d.cts +3 -3
- package/dist/components/Button/Button.d.cts +2 -2
- package/dist/components/Button/Button.d.cts.map +1 -1
- package/dist/components/Button/Button.d.mts +2 -2
- package/dist/components/Button/Button.styles.d.cts +3 -3
- package/dist/components/Button/Button.styles.d.mts +3 -3
- package/dist/components/CTAButton/CTAButton.d.cts +2 -2
- package/dist/components/CTAButton/CTAButton.d.cts.map +1 -1
- package/dist/components/CTAButton/CTAButton.d.mts +2 -2
- package/dist/components/CTAButton/CTAButton.styles.d.cts +3 -3
- package/dist/components/CTAButton/CTAButton.styles.d.mts +3 -3
- package/dist/components/Calendar/Calendar.cjs +2 -2
- package/dist/components/Calendar/Calendar.d.cts +4 -2
- package/dist/components/Calendar/Calendar.d.cts.map +1 -1
- package/dist/components/Calendar/Calendar.d.mts +4 -2
- package/dist/components/Calendar/Calendar.d.mts.map +1 -1
- package/dist/components/Calendar/Calendar.mjs +2 -2
- package/dist/components/Calendar/Calendar.mjs.map +1 -1
- package/dist/components/Calendar/Calendar.styles.d.mts +3 -3
- package/dist/components/Checkbox/Checkbox.d.cts +4 -4
- package/dist/components/Checkbox/Checkbox.d.cts.map +1 -1
- package/dist/components/Checkbox/Checkbox.d.mts +4 -4
- package/dist/components/Checkbox/Checkbox.d.mts.map +1 -1
- package/dist/components/Checkbox/Checkbox.styles.d.cts +3 -3
- package/dist/components/Checkbox/Checkbox.styles.d.mts +3 -3
- package/dist/components/Chip/Chip.d.cts +2 -2
- package/dist/components/Chip/Chip.d.mts +2 -2
- package/dist/components/Chip/Chip.styles.d.cts +3 -3
- package/dist/components/Chip/Chip.styles.d.cts.map +1 -1
- package/dist/components/Chip/Chip.styles.d.mts +3 -3
- package/dist/components/DatePicker/DatePicker.cjs +93 -0
- package/dist/components/DatePicker/DatePicker.d.cts +40 -0
- package/dist/components/DatePicker/DatePicker.d.cts.map +1 -0
- package/dist/components/DatePicker/DatePicker.d.mts +41 -0
- package/dist/components/DatePicker/DatePicker.d.mts.map +1 -0
- package/dist/components/DatePicker/DatePicker.mjs +92 -0
- package/dist/components/DatePicker/DatePicker.mjs.map +1 -0
- package/dist/components/DatePicker/DatePicker.styles.cjs +33 -0
- package/dist/components/DatePicker/DatePicker.styles.d.cts +84 -0
- package/dist/components/DatePicker/DatePicker.styles.d.cts.map +1 -0
- package/dist/components/DatePicker/DatePicker.styles.d.mts +84 -0
- package/dist/components/DatePicker/DatePicker.styles.d.mts.map +1 -0
- package/dist/components/DatePicker/DatePicker.styles.mjs +33 -0
- package/dist/components/DatePicker/DatePicker.styles.mjs.map +1 -0
- package/dist/components/DatePicker/index.d.cts +2 -0
- package/dist/components/DatePicker/index.d.mts +2 -0
- package/dist/components/Dialog/Dialog.d.cts +13 -13
- package/dist/components/Dialog/Dialog.d.cts.map +1 -1
- package/dist/components/Dialog/Dialog.d.mts +5 -5
- package/dist/components/Dialog/Dialog.styles.d.cts +3 -3
- package/dist/components/Dialog/Dialog.styles.d.mts +3 -3
- package/dist/components/Drawer/Drawer.d.cts +11 -11
- package/dist/components/Drawer/Drawer.d.cts.map +1 -1
- package/dist/components/Drawer/Drawer.d.mts +3 -3
- package/dist/components/Drawer/Drawer.styles.d.cts +3 -3
- package/dist/components/Dropdown/Dropdown.d.cts +3 -3
- package/dist/components/Dropdown/Dropdown.d.mts +3 -3
- package/dist/components/Dropdown/Dropdown.styles.d.cts +3 -3
- package/dist/components/Dropdown/Dropdown.styles.d.cts.map +1 -1
- package/dist/components/Dropdown/Dropdown.styles.d.mts +3 -3
- package/dist/components/Field/Field.d.cts +5 -5
- package/dist/components/Field/Field.d.cts.map +1 -1
- package/dist/components/Float/Float.styles.d.cts +3 -3
- package/dist/components/Float/Float.styles.d.mts +3 -3
- package/dist/components/FloatingActionButton/FloatingActionButton.d.cts +2 -2
- package/dist/components/FloatingActionButton/FloatingActionButton.styles.d.cts +3 -3
- package/dist/components/FloatingActionButton/FloatingActionButton.styles.d.mts +3 -3
- package/dist/components/Grid/Grid.styles.d.cts +3 -3
- package/dist/components/Grid/Grid.styles.d.mts +3 -3
- package/dist/components/HStack/HStack.d.cts +2 -2
- package/dist/components/HStack/HStack.d.mts +2 -2
- package/dist/components/Modal/Modal.d.cts +10 -10
- package/dist/components/Modal/Modal.styles.d.cts +3 -3
- package/dist/components/Primitive/Primitive.d.cts +16 -16
- package/dist/components/PullToRefresh/PullToRefresh.d.cts +2 -2
- package/dist/components/PullToRefresh/PullToRefresh.d.mts +2 -2
- package/dist/components/PullToRefresh/PullToRefresh.styles.d.cts +3 -3
- package/dist/components/PullToRefresh/PullToRefresh.styles.d.mts +3 -3
- package/dist/components/Radio/Radio.d.cts +3 -3
- package/dist/components/RatioChart/RatioChart.d.cts +5 -5
- package/dist/components/RatioChart/RatioChart.d.mts +5 -5
- package/dist/components/RatioChart/RatioChartEditor.d.cts +2 -2
- package/dist/components/RatioChart/RatioChartEditor.d.mts +2 -2
- package/dist/components/Select/Select.d.cts +5 -5
- package/dist/components/Select/Select.d.mts +5 -5
- package/dist/components/Select/Select.styles.d.cts +3 -3
- package/dist/components/Select/Select.styles.d.mts +3 -3
- package/dist/components/Select/Select.styles.d.mts.map +1 -1
- package/dist/components/Separator/Separator.styles.cjs +1 -1
- package/dist/components/Separator/Separator.styles.d.cts +3 -3
- package/dist/components/Separator/Separator.styles.d.cts.map +1 -1
- package/dist/components/Separator/Separator.styles.d.mts +3 -3
- package/dist/components/Separator/Separator.styles.mjs +1 -1
- package/dist/components/Separator/Separator.styles.mjs.map +1 -1
- package/dist/components/Sidebar/Sidebar.d.cts +8 -8
- package/dist/components/Sidebar/Sidebar.d.mts +8 -8
- package/dist/components/Sidebar/Sidebar.styles.d.cts +3 -3
- package/dist/components/Skeleton/Skeleton.d.cts +2 -2
- package/dist/components/Skeleton/Skeleton.d.mts +2 -2
- package/dist/components/Skeleton/Skeleton.styles.d.cts +3 -3
- package/dist/components/Skeleton/Skeleton.styles.d.mts +3 -3
- package/dist/components/Spacer/Spacer.styles.d.cts +3 -3
- package/dist/components/Spacer/Spacer.styles.d.cts.map +1 -1
- package/dist/components/Spacer/Spacer.styles.d.mts +3 -3
- package/dist/components/Spacer/Spacer.styles.d.mts.map +1 -1
- package/dist/components/Spinner/Spinner.d.cts +2 -2
- package/dist/components/Spinner/Spinner.d.mts +2 -2
- package/dist/components/Spinner/Spinner.styles.d.mts +3 -3
- package/dist/components/Stack/Stack.styles.d.cts +3 -3
- package/dist/components/Stack/Stack.styles.d.cts.map +1 -1
- package/dist/components/Tab/Tab.d.cts +6 -6
- package/dist/components/Tab/Tab.d.mts +6 -6
- package/dist/components/Tab/Tab.styles.d.cts +3 -3
- package/dist/components/Tab/Tab.styles.d.cts.map +1 -1
- package/dist/components/Tab/Tab.styles.d.mts +3 -3
- package/dist/components/Text/Text.d.cts +3 -3
- package/dist/components/Text/Text.d.mts +1 -1
- package/dist/components/Text/Text.styles.cjs +1 -0
- package/dist/components/Text/Text.styles.d.cts +6 -3
- package/dist/components/Text/Text.styles.d.cts.map +1 -1
- package/dist/components/Text/Text.styles.d.mts +3 -0
- package/dist/components/Text/Text.styles.d.mts.map +1 -1
- package/dist/components/Text/Text.styles.mjs +1 -0
- package/dist/components/Text/Text.styles.mjs.map +1 -1
- package/dist/components/TextArea/TextArea.d.cts +4 -4
- package/dist/components/TextArea/TextArea.styles.d.cts +3 -3
- package/dist/components/TextArea/TextArea.styles.d.mts +3 -3
- package/dist/components/TextInput/TextInput.d.cts +2 -2
- package/dist/components/TextInput/TextInput.d.mts +2 -2
- package/dist/components/TextInput/TextInput.styles.d.cts +3 -3
- package/dist/components/Toast/Toast.d.cts +5 -5
- package/dist/components/Toast/Toast.d.cts.map +1 -1
- package/dist/components/Toast/Toast.d.mts +3 -3
- package/dist/components/Toast/Toast.styles.d.cts +3 -3
- package/dist/components/Toast/Toast.styles.d.mts +3 -3
- package/dist/components/Toggle/Toggle.d.cts +4 -4
- package/dist/components/Toggle/Toggle.d.cts.map +1 -1
- package/dist/components/Toggle/Toggle.d.mts +4 -4
- package/dist/components/Toggle/Toggle.d.mts.map +1 -1
- package/dist/components/Toggle/Toggle.styles.d.cts +3 -3
- package/dist/components/Toggle/Toggle.styles.d.mts +3 -3
- package/dist/components/VStack/VStack.d.cts +2 -2
- package/dist/components/VStack/VStack.d.mts +2 -2
- package/dist/components/index.d.cts +4 -1
- package/dist/components/index.d.mts +4 -1
- package/dist/index.cjs +2 -0
- package/dist/index.d.cts +3 -1
- package/dist/index.d.mts +3 -1
- package/dist/index.mjs +2 -1
- package/package.json +2 -2
- package/src/styles/global.css +4 -0
package/README.md
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# @causw/core
|
|
2
|
+
|
|
3
|
+
CAUSW Design System의 코어 컴포넌트 패키지입니다.
|
|
4
|
+
|
|
5
|
+
## 디렉토리 구조
|
|
6
|
+
|
|
7
|
+
`src` 기준 기본 구조:
|
|
8
|
+
|
|
9
|
+
- `components/<ComponentName>/<ComponentName>.tsx`
|
|
10
|
+
- `components/<ComponentName>/<ComponentName>.styles.ts`
|
|
11
|
+
- `components/<ComponentName>/<ComponentName>.stories.tsx`
|
|
12
|
+
- `components/<ComponentName>/index.ts`
|
|
13
|
+
- `components/index.ts` (컴포넌트 배럴 export)
|
|
14
|
+
- `utils/*` (컴포넌트 공용 유틸)
|
|
15
|
+
- `hooks/*` (컴포넌트 공용 훅)
|
|
16
|
+
|
|
17
|
+
## 코드 작성 컨벤션
|
|
18
|
+
|
|
19
|
+
### 1) 컴포넌트 파일 분리
|
|
20
|
+
|
|
21
|
+
- 로직/마크업: `*.tsx`
|
|
22
|
+
- 클래스 규칙: `*.styles.ts` (`tailwind-variants`의 `tv`)
|
|
23
|
+
- 문서/샘플: `*.stories.tsx`
|
|
24
|
+
- 외부 공개: `index.ts`
|
|
25
|
+
|
|
26
|
+
### 2) 스타일 작성 방식
|
|
27
|
+
|
|
28
|
+
- `tailwind-variants` 기반으로 슬롯/variants 분리
|
|
29
|
+
- tv 객체명의 네이밍은 컴포넌트명과 동일한 소문자로 통일 (ex) button, input, select 등)
|
|
30
|
+
- 공통 클래스 병합은 `mergeStyles` 사용
|
|
31
|
+
- 숫자 기반 사이즈 값이 필요한 경우 `convertPxToRem` 사용
|
|
32
|
+
|
|
33
|
+
예시:
|
|
34
|
+
|
|
35
|
+
```ts
|
|
36
|
+
import { convertPxToRem } from '../../utils';
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### 3) Props 설계 원칙
|
|
40
|
+
|
|
41
|
+
- 기본 HTML props를 최대한 수용 (`React.ComponentProps<'button'>` 등)
|
|
42
|
+
- 공용 variant 타입은 `VariantProps<typeof stylesFn>`로 추론
|
|
43
|
+
- 제어/비제어 둘 다 필요한 컴포넌트는 둘 다 지원
|
|
44
|
+
- Field 내부 사용 컴포넌트는 `useFieldContext`를 통한 `id/disabled/error` 연동 우선
|
|
45
|
+
|
|
46
|
+
### 4) 접근성(A11y)
|
|
47
|
+
|
|
48
|
+
- 인터랙션 요소는 적절한 role/aria 속성 명시
|
|
49
|
+
- orientation 등 상태는 `aria-*`로 반영
|
|
50
|
+
- 키보드 포커스 동작을 깨지 않도록 기본 HTML 동작을 우선
|
|
51
|
+
|
|
52
|
+
### 5) Export 규칙
|
|
53
|
+
|
|
54
|
+
- 각 컴포넌트 폴더 `index.ts`에서 컴포넌트/타입 export
|
|
55
|
+
- `src/components/index.ts`에서 재-export
|
|
56
|
+
- 패키지 최상위는 `src/index.ts`를 통해 `components`, `utils`를 노출
|
|
57
|
+
|
|
58
|
+
### 6) Storybook 규칙
|
|
59
|
+
|
|
60
|
+
- 최소 `Default` 스토리 제공
|
|
61
|
+
- 주요 variant/상태(`error`, `disabled`, `controlled`) 스토리 추가
|
|
62
|
+
- `argTypes`에 실제 제어 가능한 props 노출
|
|
63
|
+
|
|
64
|
+
### 7) 네이밍/포맷
|
|
65
|
+
|
|
66
|
+
- 파일/폴더명: PascalCase 컴포넌트명 기반
|
|
67
|
+
- `displayName` 명시
|
|
68
|
+
- 타입 이름은 `ComponentProps`, `ComponentVariants` 형태 유지
|
|
69
|
+
|
|
70
|
+
## Polymorphic 패턴 (`as`, `asChild`)
|
|
71
|
+
|
|
72
|
+
`@causw/core`는 두 가지 polymorphic 패턴을 사용합니다.
|
|
73
|
+
|
|
74
|
+
### 1) `as` 패턴
|
|
75
|
+
|
|
76
|
+
- 컴포넌트가 실제 렌더 태그를 바꿔야 할 때 사용
|
|
77
|
+
- `PolymorphicProps`를 사용해 element별 props 타입을 유지
|
|
78
|
+
|
|
79
|
+
기본 형태:
|
|
80
|
+
|
|
81
|
+
```tsx
|
|
82
|
+
import React, { type ElementType } from 'react';
|
|
83
|
+
import type { PolymorphicProps } from '../../utils/polymorphic';
|
|
84
|
+
|
|
85
|
+
type MyComponentProps<E extends ElementType = 'div'> = PolymorphicProps<
|
|
86
|
+
E,
|
|
87
|
+
{
|
|
88
|
+
// custom props
|
|
89
|
+
}
|
|
90
|
+
>;
|
|
91
|
+
|
|
92
|
+
export const MyComponent = <E extends ElementType = 'div'>({
|
|
93
|
+
as,
|
|
94
|
+
...props
|
|
95
|
+
}: MyComponentProps<E>) => {
|
|
96
|
+
const Component = as || 'div';
|
|
97
|
+
return <Component {...props} />;
|
|
98
|
+
};
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### 2) `asChild` 패턴
|
|
102
|
+
|
|
103
|
+
- 부모 컴포넌트의 동작/스타일을 자식 요소에 위임할 때 사용
|
|
104
|
+
- Radix `Slot` 기반 `Primitive` 컴포넌트 패턴을 우선 사용
|
|
105
|
+
- 버튼, 트리거, 링크 래핑 같이 DOM 중첩을 줄여야 하는 경우에 적합
|
|
106
|
+
|
|
107
|
+
권장 기준:
|
|
108
|
+
|
|
109
|
+
- 태그 교체 목적이면 `as`
|
|
110
|
+
- 자식 요소에 props/스타일 merge가 목적이면 `asChild`
|
|
111
|
+
|
|
112
|
+
주의사항:
|
|
113
|
+
|
|
114
|
+
- `asChild` 사용 시 자식은 반드시 단일 element여야 함
|
|
115
|
+
- 이벤트 핸들러/`className` 충돌 가능성을 고려해 `mergeStyles`로 병합
|
|
116
|
+
- 접근성 속성(`role`, `aria-*`)은 상위 컴포넌트 책임 범위를 명확히 유지
|
|
117
|
+
|
|
118
|
+
## 체크리스트 (컴포넌트 추가 시)
|
|
119
|
+
|
|
120
|
+
1. `*.tsx`, `*.styles.ts`, `*.stories.tsx`, `index.ts` 생성
|
|
121
|
+
2. `src/components/index.ts` export 추가
|
|
122
|
+
3. `pnpm build` 통과 확인
|
|
123
|
+
4. Storybook에서 기본/상태 스토리 렌더 확인
|
|
@@ -2,7 +2,7 @@ import { PrimitiveProps } from "../Primitive/Primitive.cjs";
|
|
|
2
2
|
import "../Primitive/index.cjs";
|
|
3
3
|
import { AvatarVariants } from "./Avatar.styles.cjs";
|
|
4
4
|
import * as React$1 from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime15 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/Avatar/Avatar.d.ts
|
|
8
8
|
interface AvatarProps extends Omit<React$1.ComponentPropsWithoutRef<'span'>, 'alt'>, PrimitiveProps, AvatarVariants {
|
|
@@ -18,7 +18,7 @@ declare const Avatar: {
|
|
|
18
18
|
className,
|
|
19
19
|
fallback,
|
|
20
20
|
...props
|
|
21
|
-
}: AvatarProps):
|
|
21
|
+
}: AvatarProps): react_jsx_runtime15.JSX.Element;
|
|
22
22
|
displayName: string;
|
|
23
23
|
};
|
|
24
24
|
//#endregion
|
|
@@ -2,7 +2,7 @@ import { PrimitiveProps } from "../Primitive/Primitive.mjs";
|
|
|
2
2
|
import "../Primitive/index.mjs";
|
|
3
3
|
import { AvatarVariants } from "./Avatar.styles.mjs";
|
|
4
4
|
import * as React$1 from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime34 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/Avatar/Avatar.d.ts
|
|
8
8
|
interface AvatarProps extends Omit<React$1.ComponentPropsWithoutRef<'span'>, 'alt'>, PrimitiveProps, AvatarVariants {
|
|
@@ -18,7 +18,7 @@ declare const Avatar: {
|
|
|
18
18
|
className,
|
|
19
19
|
fallback,
|
|
20
20
|
...props
|
|
21
|
-
}: AvatarProps):
|
|
21
|
+
}: AvatarProps): react_jsx_runtime34.JSX.Element;
|
|
22
22
|
displayName: string;
|
|
23
23
|
};
|
|
24
24
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants5 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Avatar/Avatar.styles.d.ts
|
|
5
|
-
declare const avatar:
|
|
5
|
+
declare const avatar: tailwind_variants5.TVReturnType<{
|
|
6
6
|
size: {
|
|
7
7
|
xs: {
|
|
8
8
|
root: string;
|
|
@@ -46,7 +46,7 @@ declare const avatar: tailwind_variants17.TVReturnType<{
|
|
|
46
46
|
root: string;
|
|
47
47
|
image: string;
|
|
48
48
|
fallback: string;
|
|
49
|
-
},
|
|
49
|
+
}, tailwind_variants5.TVReturnType<{
|
|
50
50
|
size: {
|
|
51
51
|
xs: {
|
|
52
52
|
root: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.styles.d.cts","names":[],"sources":["../../../src/components/Avatar/Avatar.styles.ts"],"mappings":";;;;cAEa,MAAA,EA6BX,
|
|
1
|
+
{"version":3,"file":"Avatar.styles.d.cts","names":[],"sources":["../../../src/components/Avatar/Avatar.styles.ts"],"mappings":";;;;cAEa,MAAA,EA6BX,kBAAA,CA7BiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BjB,kBAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;;KAEU,cAAA,GAAiB,YAAA,QAAoB,MAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants17 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Avatar/Avatar.styles.d.ts
|
|
5
|
-
declare const avatar:
|
|
5
|
+
declare const avatar: tailwind_variants17.TVReturnType<{
|
|
6
6
|
size: {
|
|
7
7
|
xs: {
|
|
8
8
|
root: string;
|
|
@@ -46,7 +46,7 @@ declare const avatar: tailwind_variants21.TVReturnType<{
|
|
|
46
46
|
root: string;
|
|
47
47
|
image: string;
|
|
48
48
|
fallback: string;
|
|
49
|
-
},
|
|
49
|
+
}, tailwind_variants17.TVReturnType<{
|
|
50
50
|
size: {
|
|
51
51
|
xs: {
|
|
52
52
|
root: string;
|
|
@@ -2,7 +2,7 @@ import { PrimitiveProps } from "../Primitive/Primitive.cjs";
|
|
|
2
2
|
import "../Primitive/index.cjs";
|
|
3
3
|
import { BottomNavigationVariants } from "./BottomNavigation.styles.cjs";
|
|
4
4
|
import { ComponentProps, SVGProps } from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime65 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/BottomNavigation/BottomNavigation.d.ts
|
|
8
8
|
interface BottomNavigationRootProps extends ComponentProps<'nav'>, PrimitiveProps {
|
|
@@ -25,24 +25,24 @@ declare const BottomNavigation: (({
|
|
|
25
25
|
selected,
|
|
26
26
|
onSelectChange,
|
|
27
27
|
...props
|
|
28
|
-
}: BottomNavigationRootProps) =>
|
|
28
|
+
}: BottomNavigationRootProps) => react_jsx_runtime65.JSX.Element) & {
|
|
29
29
|
Item: ({
|
|
30
30
|
selected,
|
|
31
31
|
value,
|
|
32
32
|
children,
|
|
33
33
|
onClick,
|
|
34
34
|
...props
|
|
35
|
-
}: BottomNavigationItemProps) =>
|
|
35
|
+
}: BottomNavigationItemProps) => react_jsx_runtime65.JSX.Element;
|
|
36
36
|
Icon: ({
|
|
37
37
|
children,
|
|
38
38
|
selected,
|
|
39
39
|
...props
|
|
40
|
-
}: BottomNavigationIconProps) =>
|
|
40
|
+
}: BottomNavigationIconProps) => react_jsx_runtime65.JSX.Element;
|
|
41
41
|
Label: ({
|
|
42
42
|
children,
|
|
43
43
|
selected,
|
|
44
44
|
...props
|
|
45
|
-
}: BottomNavigationLabelProps) =>
|
|
45
|
+
}: BottomNavigationLabelProps) => react_jsx_runtime65.JSX.Element;
|
|
46
46
|
};
|
|
47
47
|
//#endregion
|
|
48
48
|
export { BottomNavigation };
|
|
@@ -2,7 +2,7 @@ import { PrimitiveProps } from "../Primitive/Primitive.mjs";
|
|
|
2
2
|
import "../Primitive/index.mjs";
|
|
3
3
|
import { BottomNavigationVariants } from "./BottomNavigation.styles.mjs";
|
|
4
4
|
import { ComponentProps, SVGProps } from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime65 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/BottomNavigation/BottomNavigation.d.ts
|
|
8
8
|
interface BottomNavigationRootProps extends ComponentProps<'nav'>, PrimitiveProps {
|
|
@@ -25,24 +25,24 @@ declare const BottomNavigation: (({
|
|
|
25
25
|
selected,
|
|
26
26
|
onSelectChange,
|
|
27
27
|
...props
|
|
28
|
-
}: BottomNavigationRootProps) =>
|
|
28
|
+
}: BottomNavigationRootProps) => react_jsx_runtime65.JSX.Element) & {
|
|
29
29
|
Item: ({
|
|
30
30
|
selected,
|
|
31
31
|
value,
|
|
32
32
|
children,
|
|
33
33
|
onClick,
|
|
34
34
|
...props
|
|
35
|
-
}: BottomNavigationItemProps) =>
|
|
35
|
+
}: BottomNavigationItemProps) => react_jsx_runtime65.JSX.Element;
|
|
36
36
|
Icon: ({
|
|
37
37
|
children,
|
|
38
38
|
selected,
|
|
39
39
|
...props
|
|
40
|
-
}: BottomNavigationIconProps) =>
|
|
40
|
+
}: BottomNavigationIconProps) => react_jsx_runtime65.JSX.Element;
|
|
41
41
|
Label: ({
|
|
42
42
|
children,
|
|
43
43
|
selected,
|
|
44
44
|
...props
|
|
45
|
-
}: BottomNavigationLabelProps) =>
|
|
45
|
+
}: BottomNavigationLabelProps) => react_jsx_runtime65.JSX.Element;
|
|
46
46
|
};
|
|
47
47
|
//#endregion
|
|
48
48
|
export { BottomNavigation };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants47 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/BottomNavigation/BottomNavigation.styles.d.ts
|
|
5
|
-
declare const bottomNavigation:
|
|
5
|
+
declare const bottomNavigation: tailwind_variants47.TVReturnType<{
|
|
6
6
|
selected: {
|
|
7
7
|
true: {
|
|
8
8
|
icon: string;
|
|
@@ -34,7 +34,7 @@ declare const bottomNavigation: tailwind_variants45.TVReturnType<{
|
|
|
34
34
|
item: string;
|
|
35
35
|
icon: string;
|
|
36
36
|
label: string;
|
|
37
|
-
},
|
|
37
|
+
}, tailwind_variants47.TVReturnType<{
|
|
38
38
|
selected: {
|
|
39
39
|
true: {
|
|
40
40
|
icon: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants47 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/BottomNavigation/BottomNavigation.styles.d.ts
|
|
5
|
-
declare const bottomNavigation:
|
|
5
|
+
declare const bottomNavigation: tailwind_variants47.TVReturnType<{
|
|
6
6
|
selected: {
|
|
7
7
|
true: {
|
|
8
8
|
icon: string;
|
|
@@ -34,7 +34,7 @@ declare const bottomNavigation: tailwind_variants57.TVReturnType<{
|
|
|
34
34
|
item: string;
|
|
35
35
|
icon: string;
|
|
36
36
|
label: string;
|
|
37
|
-
},
|
|
37
|
+
}, tailwind_variants47.TVReturnType<{
|
|
38
38
|
selected: {
|
|
39
39
|
true: {
|
|
40
40
|
icon: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Drawer } from "../Drawer/Drawer.cjs";
|
|
2
2
|
import { HeaderAlign } from "./BottomSheet.styles.cjs";
|
|
3
3
|
import React from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
5
5
|
import * as _radix_ui_react_dialog0 from "@radix-ui/react-dialog";
|
|
6
6
|
|
|
7
7
|
//#region src/components/BottomSheet/BottomSheet.d.ts
|
|
@@ -19,7 +19,7 @@ declare const BottomSheet: {
|
|
|
19
19
|
defaultOpen,
|
|
20
20
|
onOpenChange,
|
|
21
21
|
headerAlign
|
|
22
|
-
}: BottomSheetRootProps):
|
|
22
|
+
}: BottomSheetRootProps): react_jsx_runtime31.JSX.Element;
|
|
23
23
|
displayName: string;
|
|
24
24
|
} & {
|
|
25
25
|
Trigger: React.ForwardRefExoticComponent<_radix_ui_react_dialog0.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -28,7 +28,7 @@ declare const BottomSheet: {
|
|
|
28
28
|
children,
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof Drawer.Content>):
|
|
31
|
+
}: React.ComponentProps<typeof Drawer.Content>): react_jsx_runtime31.JSX.Element;
|
|
32
32
|
displayName: string;
|
|
33
33
|
};
|
|
34
34
|
Header: {
|
|
@@ -38,7 +38,7 @@ declare const BottomSheet: {
|
|
|
38
38
|
}: {
|
|
39
39
|
title?: string;
|
|
40
40
|
className?: string;
|
|
41
|
-
}):
|
|
41
|
+
}): react_jsx_runtime31.JSX.Element;
|
|
42
42
|
displayName: string;
|
|
43
43
|
};
|
|
44
44
|
Body: {
|
|
@@ -50,7 +50,7 @@ declare const BottomSheet: {
|
|
|
50
50
|
children: React.ReactNode;
|
|
51
51
|
className?: string;
|
|
52
52
|
maxHeight?: string | number;
|
|
53
|
-
}):
|
|
53
|
+
}): react_jsx_runtime31.JSX.Element;
|
|
54
54
|
displayName: string;
|
|
55
55
|
};
|
|
56
56
|
Footer: {
|
|
@@ -60,7 +60,7 @@ declare const BottomSheet: {
|
|
|
60
60
|
}: {
|
|
61
61
|
children: React.ReactNode;
|
|
62
62
|
className?: string;
|
|
63
|
-
}):
|
|
63
|
+
}): react_jsx_runtime31.JSX.Element;
|
|
64
64
|
displayName: string;
|
|
65
65
|
};
|
|
66
66
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Drawer } from "../Drawer/Drawer.mjs";
|
|
2
2
|
import { HeaderAlign } from "./BottomSheet.styles.mjs";
|
|
3
3
|
import React from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime77 from "react/jsx-runtime";
|
|
5
5
|
import * as _radix_ui_react_dialog0 from "@radix-ui/react-dialog";
|
|
6
6
|
|
|
7
7
|
//#region src/components/BottomSheet/BottomSheet.d.ts
|
|
@@ -19,7 +19,7 @@ declare const BottomSheet: {
|
|
|
19
19
|
defaultOpen,
|
|
20
20
|
onOpenChange,
|
|
21
21
|
headerAlign
|
|
22
|
-
}: BottomSheetRootProps):
|
|
22
|
+
}: BottomSheetRootProps): react_jsx_runtime77.JSX.Element;
|
|
23
23
|
displayName: string;
|
|
24
24
|
} & {
|
|
25
25
|
Trigger: React.ForwardRefExoticComponent<_radix_ui_react_dialog0.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -28,7 +28,7 @@ declare const BottomSheet: {
|
|
|
28
28
|
children,
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof Drawer.Content>):
|
|
31
|
+
}: React.ComponentProps<typeof Drawer.Content>): react_jsx_runtime77.JSX.Element;
|
|
32
32
|
displayName: string;
|
|
33
33
|
};
|
|
34
34
|
Header: {
|
|
@@ -38,7 +38,7 @@ declare const BottomSheet: {
|
|
|
38
38
|
}: {
|
|
39
39
|
title?: string;
|
|
40
40
|
className?: string;
|
|
41
|
-
}):
|
|
41
|
+
}): react_jsx_runtime77.JSX.Element;
|
|
42
42
|
displayName: string;
|
|
43
43
|
};
|
|
44
44
|
Body: {
|
|
@@ -50,7 +50,7 @@ declare const BottomSheet: {
|
|
|
50
50
|
children: React.ReactNode;
|
|
51
51
|
className?: string;
|
|
52
52
|
maxHeight?: string | number;
|
|
53
|
-
}):
|
|
53
|
+
}): react_jsx_runtime77.JSX.Element;
|
|
54
54
|
displayName: string;
|
|
55
55
|
};
|
|
56
56
|
Footer: {
|
|
@@ -60,7 +60,7 @@ declare const BottomSheet: {
|
|
|
60
60
|
}: {
|
|
61
61
|
children: React.ReactNode;
|
|
62
62
|
className?: string;
|
|
63
|
-
}):
|
|
63
|
+
}): react_jsx_runtime77.JSX.Element;
|
|
64
64
|
displayName: string;
|
|
65
65
|
};
|
|
66
66
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants45 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/BottomSheet/BottomSheet.styles.d.ts
|
|
5
|
-
declare const bottomSheet:
|
|
5
|
+
declare const bottomSheet: tailwind_variants45.TVReturnType<{
|
|
6
6
|
headerAlign: {
|
|
7
7
|
left: {
|
|
8
8
|
header: string;
|
|
@@ -32,7 +32,7 @@ declare const bottomSheet: tailwind_variants47.TVReturnType<{
|
|
|
32
32
|
header: string;
|
|
33
33
|
body: string;
|
|
34
34
|
footer: string;
|
|
35
|
-
},
|
|
35
|
+
}, tailwind_variants45.TVReturnType<{
|
|
36
36
|
headerAlign: {
|
|
37
37
|
left: {
|
|
38
38
|
header: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants51 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/BottomSheet/BottomSheet.styles.d.ts
|
|
5
|
-
declare const bottomSheet:
|
|
5
|
+
declare const bottomSheet: tailwind_variants51.TVReturnType<{
|
|
6
6
|
headerAlign: {
|
|
7
7
|
left: {
|
|
8
8
|
header: string;
|
|
@@ -32,7 +32,7 @@ declare const bottomSheet: tailwind_variants45.TVReturnType<{
|
|
|
32
32
|
header: string;
|
|
33
33
|
body: string;
|
|
34
34
|
footer: string;
|
|
35
|
-
},
|
|
35
|
+
}, tailwind_variants51.TVReturnType<{
|
|
36
36
|
headerAlign: {
|
|
37
37
|
left: {
|
|
38
38
|
header: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants9 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Box/Box.styles.d.ts
|
|
5
|
-
declare const box:
|
|
5
|
+
declare const box: tailwind_variants9.TVReturnType<{
|
|
6
6
|
padding: {
|
|
7
7
|
none: string;
|
|
8
8
|
xs: string;
|
|
@@ -66,7 +66,7 @@ declare const box: tailwind_variants3.TVReturnType<{
|
|
|
66
66
|
inverse: string;
|
|
67
67
|
transparent: string;
|
|
68
68
|
};
|
|
69
|
-
}, undefined,
|
|
69
|
+
}, undefined, tailwind_variants9.TVReturnType<{
|
|
70
70
|
padding: {
|
|
71
71
|
none: string;
|
|
72
72
|
xs: string;
|
|
@@ -2,7 +2,7 @@ import { PrimitiveProps } from "../Primitive/Primitive.cjs";
|
|
|
2
2
|
import "../Primitive/index.cjs";
|
|
3
3
|
import { ButtonVariants } from "./Button.styles.cjs";
|
|
4
4
|
import { ComponentProps } from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/Button/Button.d.ts
|
|
8
8
|
interface ButtonProps extends Omit<ComponentProps<'button'>, 'color'>, ButtonVariants, PrimitiveProps {}
|
|
@@ -14,7 +14,7 @@ declare function Button({
|
|
|
14
14
|
className,
|
|
15
15
|
children,
|
|
16
16
|
...props
|
|
17
|
-
}: ButtonProps):
|
|
17
|
+
}: ButtonProps): react_jsx_runtime12.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { Button, ButtonProps };
|
|
20
20
|
//# sourceMappingURL=Button.d.cts.map
|
|
@@ -1 +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,
|
|
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"}
|
|
@@ -2,7 +2,7 @@ import { PrimitiveProps } from "../Primitive/Primitive.mjs";
|
|
|
2
2
|
import "../Primitive/index.mjs";
|
|
3
3
|
import { ButtonVariants } from "./Button.styles.mjs";
|
|
4
4
|
import { ComponentProps } from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/Button/Button.d.ts
|
|
8
8
|
interface ButtonProps extends Omit<ComponentProps<'button'>, 'color'>, ButtonVariants, PrimitiveProps {}
|
|
@@ -14,7 +14,7 @@ declare function Button({
|
|
|
14
14
|
className,
|
|
15
15
|
children,
|
|
16
16
|
...props
|
|
17
|
-
}: ButtonProps):
|
|
17
|
+
}: ButtonProps): react_jsx_runtime16.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { Button, ButtonProps };
|
|
20
20
|
//# sourceMappingURL=Button.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants39 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Button/Button.styles.d.ts
|
|
5
|
-
declare const button:
|
|
5
|
+
declare const button: tailwind_variants39.TVReturnType<{
|
|
6
6
|
size: {
|
|
7
7
|
sm: string;
|
|
8
8
|
md: string;
|
|
@@ -38,7 +38,7 @@ declare const button: tailwind_variants35.TVReturnType<{
|
|
|
38
38
|
true: string;
|
|
39
39
|
false: string;
|
|
40
40
|
};
|
|
41
|
-
}, undefined,
|
|
41
|
+
}, undefined, tailwind_variants39.TVReturnType<{
|
|
42
42
|
size: {
|
|
43
43
|
sm: string;
|
|
44
44
|
md: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants39 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Button/Button.styles.d.ts
|
|
5
|
-
declare const button:
|
|
5
|
+
declare const button: tailwind_variants39.TVReturnType<{
|
|
6
6
|
size: {
|
|
7
7
|
sm: string;
|
|
8
8
|
md: string;
|
|
@@ -38,7 +38,7 @@ declare const button: tailwind_variants33.TVReturnType<{
|
|
|
38
38
|
true: string;
|
|
39
39
|
false: string;
|
|
40
40
|
};
|
|
41
|
-
}, undefined,
|
|
41
|
+
}, undefined, tailwind_variants39.TVReturnType<{
|
|
42
42
|
size: {
|
|
43
43
|
sm: string;
|
|
44
44
|
md: string;
|
|
@@ -2,7 +2,7 @@ import { PrimitiveProps } from "../Primitive/Primitive.cjs";
|
|
|
2
2
|
import "../Primitive/index.cjs";
|
|
3
3
|
import { CTAButtonVariants } from "./CTAButton.styles.cjs";
|
|
4
4
|
import { ComponentProps } from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/CTAButton/CTAButton.d.ts
|
|
8
8
|
interface CTAButtonProps extends Omit<ComponentProps<'button'>, 'color'>, PrimitiveProps, CTAButtonVariants {}
|
|
@@ -13,7 +13,7 @@ declare function CTAButton({
|
|
|
13
13
|
className,
|
|
14
14
|
children,
|
|
15
15
|
...props
|
|
16
|
-
}: CTAButtonProps):
|
|
16
|
+
}: CTAButtonProps): react_jsx_runtime13.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { CTAButton, CTAButtonProps };
|
|
19
19
|
//# sourceMappingURL=CTAButton.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CTAButton.d.cts","names":[],"sources":["../../../src/components/CTAButton/CTAButton.tsx"],"mappings":";;;;;;;UAKiB,cAAA,SAEb,IAAA,CAAK,cAAA,sBACL,cAAA,EACA,iBAAA;AAAA,iBAEY,SAAA,CAAA;EACd,KAAA;EACA,SAAA;EACA,QAAA;EACA,SAAA;EACA,QAAA;EAAA,GACG;AAAA,GACF,cAAA,GAAc,
|
|
1
|
+
{"version":3,"file":"CTAButton.d.cts","names":[],"sources":["../../../src/components/CTAButton/CTAButton.tsx"],"mappings":";;;;;;;UAKiB,cAAA,SAEb,IAAA,CAAK,cAAA,sBACL,cAAA,EACA,iBAAA;AAAA,iBAEY,SAAA,CAAA;EACd,KAAA;EACA,SAAA;EACA,QAAA;EACA,SAAA;EACA,QAAA;EAAA,GACG;AAAA,GACF,cAAA,GAAc,mBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -2,7 +2,7 @@ import { PrimitiveProps } from "../Primitive/Primitive.mjs";
|
|
|
2
2
|
import "../Primitive/index.mjs";
|
|
3
3
|
import { CTAButtonVariants } from "./CTAButton.styles.mjs";
|
|
4
4
|
import { ComponentProps } from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime15 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/CTAButton/CTAButton.d.ts
|
|
8
8
|
interface CTAButtonProps extends Omit<ComponentProps<'button'>, 'color'>, PrimitiveProps, CTAButtonVariants {}
|
|
@@ -13,7 +13,7 @@ declare function CTAButton({
|
|
|
13
13
|
className,
|
|
14
14
|
children,
|
|
15
15
|
...props
|
|
16
|
-
}: CTAButtonProps):
|
|
16
|
+
}: CTAButtonProps): react_jsx_runtime15.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { CTAButton, CTAButtonProps };
|
|
19
19
|
//# sourceMappingURL=CTAButton.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants41 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/CTAButton/CTAButton.styles.d.ts
|
|
5
|
-
declare const ctaButton:
|
|
5
|
+
declare const ctaButton: tailwind_variants41.TVReturnType<{
|
|
6
6
|
color: {
|
|
7
7
|
blue: string;
|
|
8
8
|
red: string;
|
|
@@ -34,7 +34,7 @@ declare const ctaButton: tailwind_variants31.TVReturnType<{
|
|
|
34
34
|
true: string;
|
|
35
35
|
false: string;
|
|
36
36
|
};
|
|
37
|
-
}, undefined,
|
|
37
|
+
}, undefined, tailwind_variants41.TVReturnType<{
|
|
38
38
|
color: {
|
|
39
39
|
blue: string;
|
|
40
40
|
red: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as tailwind_variants37 from "tailwind-variants";
|
|
2
2
|
import { VariantProps } from "tailwind-variants";
|
|
3
3
|
|
|
4
4
|
//#region src/components/CTAButton/CTAButton.styles.d.ts
|
|
5
|
-
declare const ctaButton:
|
|
5
|
+
declare const ctaButton: tailwind_variants37.TVReturnType<{
|
|
6
6
|
color: {
|
|
7
7
|
blue: string;
|
|
8
8
|
red: string;
|
|
@@ -34,7 +34,7 @@ declare const ctaButton: tailwind_variants35.TVReturnType<{
|
|
|
34
34
|
true: string;
|
|
35
35
|
false: string;
|
|
36
36
|
};
|
|
37
|
-
}, undefined,
|
|
37
|
+
}, undefined, tailwind_variants37.TVReturnType<{
|
|
38
38
|
color: {
|
|
39
39
|
blue: string;
|
|
40
40
|
red: string;
|