@deepnoid/ui 1.0.11 → 1.0.13
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/.turbo/turbo-build.log +290 -290
- package/README.md +46 -17
- package/dist/{chunk-2HYBU7NH.mjs → chunk-37BZALDV.mjs} +1 -1
- package/dist/{chunk-P4GNXDMO.mjs → chunk-5RJYESLP.mjs} +1 -1
- package/dist/{chunk-NJWXYTBQ.mjs → chunk-62M6VPFS.mjs} +1 -1
- package/dist/{chunk-47FA6TWG.mjs → chunk-6F6HERZF.mjs} +1 -1
- package/dist/{chunk-5K5HG64H.mjs → chunk-6ZVFACPA.mjs} +3 -3
- package/dist/{chunk-HKF5BNPX.mjs → chunk-7CTICAGW.mjs} +1 -1
- package/dist/{chunk-MTEVJZPH.mjs → chunk-7MMUS5ER.mjs} +1 -1
- package/dist/{chunk-KXR5SJQT.mjs → chunk-7U7FM6I6.mjs} +2 -2
- package/dist/{chunk-FFKXQUER.mjs → chunk-AO6LNH3D.mjs} +1 -1
- package/dist/{chunk-XNDDHEW6.mjs → chunk-AYTOWECM.mjs} +2 -2
- package/dist/{chunk-2KKZXS5A.mjs → chunk-AZT7MLD2.mjs} +2 -2
- package/dist/{chunk-3JKORA4G.mjs → chunk-CXVDES22.mjs} +1 -1
- package/dist/{chunk-3N442F6I.mjs → chunk-D3DKXTTY.mjs} +1 -1
- package/dist/{chunk-EIVSXVP5.mjs → chunk-D7DDV4UN.mjs} +3 -3
- package/dist/{chunk-ZRYYG7T6.mjs → chunk-FNES52QP.mjs} +3 -3
- package/dist/{chunk-3WTJDGIC.mjs → chunk-G45IQ6PX.mjs} +3 -3
- package/dist/{chunk-DI7QXTYZ.mjs → chunk-G6SZN3EK.mjs} +2 -2
- package/dist/{chunk-JXCOQOOE.mjs → chunk-H7D5EBLL.mjs} +3 -3
- package/dist/{chunk-4V5D237Z.mjs → chunk-HXBZB7CW.mjs} +1 -1
- package/dist/{chunk-VUO5J2OK.mjs → chunk-KE26ONWZ.mjs} +1 -1
- package/dist/{chunk-OK34FKBQ.mjs → chunk-LCEFG5IY.mjs} +3 -3
- package/dist/{chunk-67DEFPS6.mjs → chunk-LHWHM4LQ.mjs} +1 -1
- package/dist/{chunk-LJSGQO4B.mjs → chunk-MC7SI5Q7.mjs} +1 -1
- package/dist/{chunk-GSOTTSR4.mjs → chunk-MT7AFUKT.mjs} +1 -1
- package/dist/{chunk-M7V5YMM2.mjs → chunk-O2KC4CDE.mjs} +2 -2
- package/dist/{chunk-3QZPVRM5.mjs → chunk-PIUOU6LS.mjs} +1 -1
- package/dist/{chunk-44Z6L7FL.mjs → chunk-PRLKKUBY.mjs} +2 -2
- package/dist/{chunk-MYFMT2ZT.mjs → chunk-Q5T3XRA3.mjs} +8 -8
- package/dist/{chunk-ZXKXTIPE.mjs → chunk-QUWWLVCI.mjs} +1 -1
- package/dist/{chunk-6CNPC722.mjs → chunk-R32BQ3NV.mjs} +1 -1
- package/dist/{chunk-NKYNCXOU.mjs → chunk-SLKXMIWY.mjs} +3 -2
- package/dist/{chunk-W3AO4G35.mjs → chunk-SNNSEK5T.mjs} +10 -10
- package/dist/{chunk-RMWLYCNN.mjs → chunk-TGXYSXEN.mjs} +5 -5
- package/dist/chunk-UP6RPQDX.mjs +46 -0
- package/dist/{chunk-KPOXK7NN.mjs → chunk-USZSQXHS.mjs} +1 -1
- package/dist/{chunk-VO2ZIGIK.mjs → chunk-WTBRXQFT.mjs} +1 -1
- package/dist/{chunk-UJCQCSQ5.mjs → chunk-X7SYBDST.mjs} +8 -8
- package/dist/{chunk-EWS3FESG.mjs → chunk-XS32UZI3.mjs} +12 -14
- package/dist/{chunk-DJZHJNYH.mjs → chunk-XTMOAGLY.mjs} +4 -4
- package/dist/{chunk-BBCJTXGU.mjs → chunk-Y3A7PN4Q.mjs} +1 -1
- package/dist/{chunk-HJ2RUGGG.mjs → chunk-Y6EIO72X.mjs} +1 -1
- package/dist/{chunk-JUKILR6X.mjs → chunk-ZCJPPLYH.mjs} +1 -1
- package/dist/{chunk-O3E6E4QS.mjs → chunk-ZDZKGGK3.mjs} +2 -2
- package/dist/{chunk-XOR6NQTS.mjs → chunk-ZPMS2CYP.mjs} +2 -2
- package/dist/{chunk-RKHH3CUS.mjs → chunk-ZUNOPH7C.mjs} +2 -2
- package/dist/components/accordion/accordion.js +31 -680
- package/dist/components/accordion/accordion.mjs +2 -3
- package/dist/components/accordion/accordionItem.js +33 -681
- package/dist/components/accordion/accordionItem.mjs +2 -3
- package/dist/components/accordion/index.js +33 -681
- package/dist/components/accordion/index.mjs +3 -4
- package/dist/components/avatar/avatar.js +31 -680
- package/dist/components/avatar/avatar.mjs +2 -3
- package/dist/components/avatar/index.js +31 -680
- package/dist/components/avatar/index.mjs +2 -3
- package/dist/components/backdrop/backdrop.js +31 -680
- package/dist/components/backdrop/backdrop.mjs +2 -3
- package/dist/components/backdrop/index.js +31 -680
- package/dist/components/backdrop/index.mjs +2 -3
- package/dist/components/breadcrumb/breadcrumb.js +38 -687
- package/dist/components/breadcrumb/breadcrumb.mjs +7 -8
- package/dist/components/breadcrumb/index.js +38 -687
- package/dist/components/breadcrumb/index.mjs +7 -8
- package/dist/components/button/button-group.js +31 -670
- package/dist/components/button/button-group.mjs +2 -3
- package/dist/components/button/button.js +38 -687
- package/dist/components/button/button.mjs +3 -4
- package/dist/components/button/button.style.js +38 -687
- package/dist/components/button/button.style.mjs +2 -3
- package/dist/components/button/icon-button.js +38 -687
- package/dist/components/button/icon-button.mjs +3 -4
- package/dist/components/button/index.js +38 -677
- package/dist/components/button/index.mjs +8 -9
- package/dist/components/button/text-button.js +38 -687
- package/dist/components/button/text-button.mjs +3 -4
- package/dist/components/charts/areaChart.js +43 -694
- package/dist/components/charts/areaChart.mjs +3 -4
- package/dist/components/charts/barChart.js +36 -685
- package/dist/components/charts/barChart.mjs +2 -3
- package/dist/components/charts/circularProgress.js +31 -680
- package/dist/components/charts/circularProgress.mjs +2 -3
- package/dist/components/charts/index.js +53 -704
- package/dist/components/charts/index.mjs +9 -10
- package/dist/components/charts/radarChart.js +31 -680
- package/dist/components/charts/radarChart.mjs +2 -3
- package/dist/components/charts/simpleBarChart.js +36 -685
- package/dist/components/charts/simpleBarChart.mjs +2 -3
- package/dist/components/checkbox/checkbox.js +31 -680
- package/dist/components/checkbox/checkbox.mjs +2 -3
- package/dist/components/checkbox/index.js +31 -680
- package/dist/components/checkbox/index.mjs +2 -3
- package/dist/components/chip/chip.js +31 -680
- package/dist/components/chip/chip.mjs +2 -3
- package/dist/components/chip/index.js +31 -680
- package/dist/components/chip/index.mjs +2 -3
- package/dist/components/drawer/drawer.js +31 -680
- package/dist/components/drawer/drawer.mjs +2 -3
- package/dist/components/drawer/index.js +31 -680
- package/dist/components/drawer/index.mjs +2 -3
- package/dist/components/fileUpload/fileUpload.d.mts +3 -3
- package/dist/components/fileUpload/fileUpload.d.ts +3 -3
- package/dist/components/fileUpload/fileUpload.js +38 -687
- package/dist/components/fileUpload/fileUpload.mjs +9 -10
- package/dist/components/fileUpload/index.js +38 -687
- package/dist/components/fileUpload/index.mjs +9 -10
- package/dist/components/icon/Icon.mjs +0 -1
- package/dist/components/icon/index.mjs +0 -1
- package/dist/components/icon/template.mjs +0 -1
- package/dist/components/input/index.js +31 -680
- package/dist/components/input/index.mjs +2 -3
- package/dist/components/input/input.js +31 -680
- package/dist/components/input/input.mjs +2 -3
- package/dist/components/list/index.js +31 -680
- package/dist/components/list/index.mjs +4 -5
- package/dist/components/list/list.js +31 -680
- package/dist/components/list/list.mjs +2 -3
- package/dist/components/list/listItem.js +31 -680
- package/dist/components/list/listItem.mjs +3 -4
- package/dist/components/modal/GlobalModalProvider.js +38 -687
- package/dist/components/modal/GlobalModalProvider.mjs +10 -11
- package/dist/components/modal/index.js +38 -687
- package/dist/components/modal/index.mjs +11 -12
- package/dist/components/modal/modal.js +38 -687
- package/dist/components/modal/modal.mjs +9 -10
- package/dist/components/modal/useGlobalModal.mjs +11 -12
- package/dist/components/pagination/index.js +31 -680
- package/dist/components/pagination/index.mjs +3 -4
- package/dist/components/pagination/pagination.js +31 -680
- package/dist/components/pagination/pagination.mjs +3 -4
- package/dist/components/pagination/usePagination.mjs +0 -1
- package/dist/components/picker/datePicker.js +39 -688
- package/dist/components/picker/datePicker.mjs +9 -10
- package/dist/components/picker/day.js +32 -681
- package/dist/components/picker/day.mjs +2 -3
- package/dist/components/picker/index.js +41 -690
- package/dist/components/picker/index.mjs +12 -13
- package/dist/components/picker/timePicker/Panel.js +40 -689
- package/dist/components/picker/timePicker/Panel.mjs +8 -9
- package/dist/components/picker/timePicker/WheelColumn.js +2 -2
- package/dist/components/picker/timePicker/WheelColumn.mjs +1 -2
- package/dist/components/picker/timePicker/index.js +40 -689
- package/dist/components/picker/timePicker/index.mjs +10 -11
- package/dist/components/picker/utils.mjs +0 -1
- package/dist/components/progress/index.js +31 -680
- package/dist/components/progress/index.mjs +2 -3
- package/dist/components/progress/progress.js +31 -680
- package/dist/components/progress/progress.mjs +2 -3
- package/dist/components/radio/index.js +31 -680
- package/dist/components/radio/index.mjs +2 -3
- package/dist/components/radio/radio.js +31 -680
- package/dist/components/radio/radio.mjs +2 -3
- package/dist/components/ripple/index.mjs +0 -1
- package/dist/components/ripple/ripple.mjs +0 -1
- package/dist/components/ripple/useRipple.mjs +0 -1
- package/dist/components/scroll/index.js +12 -14
- package/dist/components/scroll/index.mjs +1 -2
- package/dist/components/scroll/scrollArea.d.mts +2 -1
- package/dist/components/scroll/scrollArea.d.ts +2 -1
- package/dist/components/scroll/scrollArea.js +12 -14
- package/dist/components/scroll/scrollArea.mjs +1 -2
- package/dist/components/select/index.js +46 -695
- package/dist/components/select/index.mjs +7 -8
- package/dist/components/select/select.js +46 -695
- package/dist/components/select/select.mjs +7 -8
- package/dist/components/skeleton/index.mjs +0 -1
- package/dist/components/skeleton/skeleton.mjs +0 -1
- package/dist/components/slider/index.js +33 -682
- package/dist/components/slider/index.mjs +2 -3
- package/dist/components/slider/slider.js +33 -682
- package/dist/components/slider/slider.mjs +2 -3
- package/dist/components/starRating/index.js +33 -682
- package/dist/components/starRating/index.mjs +2 -3
- package/dist/components/starRating/starRating.js +33 -682
- package/dist/components/starRating/starRating.mjs +2 -3
- package/dist/components/switch/index.mjs +0 -1
- package/dist/components/switch/switch.mjs +0 -1
- package/dist/components/table/definition-table.js +31 -680
- package/dist/components/table/definition-table.mjs +2 -3
- package/dist/components/table/form-table.js +31 -680
- package/dist/components/table/form-table.mjs +1 -2
- package/dist/components/table/index.js +43 -694
- package/dist/components/table/index.mjs +10 -11
- package/dist/components/table/table-body.js +43 -694
- package/dist/components/table/table-body.mjs +7 -8
- package/dist/components/table/table-head.js +43 -694
- package/dist/components/table/table-head.mjs +7 -8
- package/dist/components/table/table.js +43 -694
- package/dist/components/table/table.mjs +7 -8
- package/dist/components/tabs/index.js +31 -680
- package/dist/components/tabs/index.mjs +2 -3
- package/dist/components/tabs/tabs.js +31 -680
- package/dist/components/tabs/tabs.mjs +2 -3
- package/dist/components/textarea/index.mjs +0 -1
- package/dist/components/textarea/textarea.mjs +0 -1
- package/dist/components/timePicker/calendar.js +31 -670
- package/dist/components/timePicker/calendar.mjs +1 -2
- package/dist/components/timePicker/useDateTimePicker.mjs +0 -1
- package/dist/components/toast/index.js +31 -680
- package/dist/components/toast/index.mjs +4 -5
- package/dist/components/toast/toast-utils.mjs +0 -1
- package/dist/components/toast/toast.js +31 -680
- package/dist/components/toast/toast.mjs +2 -3
- package/dist/components/toast/use-toast.js +31 -680
- package/dist/components/toast/use-toast.mjs +3 -4
- package/dist/components/tooltip/index.js +31 -680
- package/dist/components/tooltip/index.mjs +2 -3
- package/dist/components/tooltip/tooltip-utils.mjs +0 -1
- package/dist/components/tooltip/tooltip.js +31 -680
- package/dist/components/tooltip/tooltip.mjs +2 -3
- package/dist/components/tooltip/useTooltip.mjs +0 -1
- package/dist/components/tree/index.js +31 -680
- package/dist/components/tree/index.mjs +2 -3
- package/dist/components/tree/tree.d.mts +3 -3
- package/dist/components/tree/tree.d.ts +3 -3
- package/dist/components/tree/tree.js +31 -680
- package/dist/components/tree/tree.mjs +2 -3
- package/dist/fonts/NanumSquare_acB.mjs +0 -1
- package/dist/fonts/NanumSquare_acEB.mjs +0 -1
- package/dist/fonts/NanumSquare_acL.mjs +0 -1
- package/dist/fonts/NanumSquare_acR.mjs +0 -1
- package/dist/hooks/useIsMounted.mjs +0 -1
- package/dist/index.d.mts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +77 -964
- package/dist/index.mjs +86 -89
- package/dist/style.css +372 -0
- package/dist/style.d.mts +2 -0
- package/dist/style.d.ts +2 -0
- package/dist/utils/clsx.mjs +0 -1
- package/dist/utils/props.mjs +0 -1
- package/dist/utils/tailwind-variants.js +31 -680
- package/dist/utils/tailwind-variants.mjs +1 -2
- package/package.json +3 -3
- package/dist/chunk-AC6TWLRT.mjs +0 -31
- package/dist/chunk-DPWUIAVC.mjs +0 -932
- package/postcss.config.js +0 -6
- package/tailwind.config.ts +0 -4
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @deepnoid-ui
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
본부 내 프로젝트에서 공통으로 사용하는 TailwindCSS 기반 UI 컴포넌트 라이브러리입니다.
|
|
4
4
|
|
|
5
|
-
모노레포 구조로 구성되어 있으며,
|
|
5
|
+
모노레포 구조로 구성되어 있으며, Storybook을 통해 컴포넌트 문서화 및 테스트를 수행합니다.
|
|
6
6
|
|
|
7
7
|
- Storybook 앱 위치: [`./apps/docs`](../../apps/docs)
|
|
8
8
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
공통 ESLint 규칙 정의
|
|
15
15
|
|
|
16
16
|
- [`./packages/tailwind-config`](../../packages/tailwind-config)
|
|
17
|
-
Tailwind
|
|
17
|
+
Tailwind CSS v4 마이그레이션 적용 (CSS-First 기반 디자인 토큰 및 모듈화된 프리셋 제공)
|
|
18
18
|
|
|
19
19
|
- [`./packages/typescript-config`](../../packages/typescript-config)
|
|
20
20
|
공통 TypeScript 설정 정의
|
|
@@ -29,24 +29,53 @@
|
|
|
29
29
|
yarn add @deepnoid/ui
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
## Tailwind 설정
|
|
32
|
+
## Tailwind CSS v4 설정
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
import { deepnoidUi } from "@deepnoid/ui";
|
|
34
|
+
`@deepnoid/ui`는 Tailwind CSS v4의 **CSS-First** 아키텍처를 도입하여 플러그인(`plugin.ts`)과 `tailwind.config.ts`를 완전히 제거했습니다.
|
|
35
|
+
설정을 적용하려면 앱의 엔트리 CSS 파일(예: `global.css`)에 다음과 같이 import 해야 합니다.
|
|
37
36
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
],
|
|
43
|
-
darkMode: "selector",
|
|
44
|
-
plugins: [deepnoidUi()],
|
|
45
|
-
};
|
|
37
|
+
```css
|
|
38
|
+
/* global.css */
|
|
39
|
+
@import "tailwindcss";
|
|
40
|
+
@import "@deepnoid/tailwind-config/src/preset.css";
|
|
46
41
|
|
|
47
|
-
|
|
42
|
+
/* UI 패키지와 앱의 소스 파일 경로를 스캔하도록 추가합니다. */
|
|
43
|
+
@source "../stories/**/*.{ts,tsx}";
|
|
44
|
+
@source "../../packages/ui/src/**/*.{ts,tsx,js,jsx}";
|
|
45
|
+
|
|
46
|
+
/* 특정 프로젝트 전용 커스텀 색상(테마) 덮어쓰기 */
|
|
47
|
+
:root, .light, [data-theme="light"],
|
|
48
|
+
.dark, [data-theme="dark"] {
|
|
49
|
+
--color-primary-soft: #EFF8FF;
|
|
50
|
+
/* 동적 CSS 색상 매핑을 위해 --color- 접두사를 사용합니다. */
|
|
51
|
+
}
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Tailwind CSS v4 아키텍처 및 확장 관리
|
|
55
|
+
|
|
56
|
+
유지보수와 확장을 쉽게 하기 위해 설정들을 여러 CSS 파일로 분리하여 관리합니다.
|
|
57
|
+
|
|
58
|
+
```text
|
|
59
|
+
packages/tailwind-config/
|
|
60
|
+
├── scripts/
|
|
61
|
+
│ └── generate-border.ts # border 유틸리티 자동 생성 스크립트 (build-time)
|
|
62
|
+
├── src/
|
|
63
|
+
│ ├── preset.css # 모든 CSS를 하나로 묶는 @import 진입점 (최상위 설정)
|
|
64
|
+
│ └── styles/
|
|
65
|
+
│ ├── generated/
|
|
66
|
+
│ │ └── border.css # 스크립트 실행으로 자동 생성된 파일
|
|
67
|
+
│ ├── tokens/
|
|
68
|
+
│ │ ├── theme.css # 폰트, Radius, Shadow, Spacing 등
|
|
69
|
+
│ │ └── colors.css # 원시(Primitive) 기본 색상 및 시맨틱 매핑
|
|
70
|
+
│ ├── utilities/
|
|
71
|
+
│ │ └── scrollbar.css # 브라우저 스크롤바 커스텀 유틸리티 (@utility)
|
|
72
|
+
│ └── animation.css # 타이밍, Keyframes, 애니메이션 테마 변수
|
|
48
73
|
```
|
|
49
74
|
|
|
75
|
+
**참고 사항:**
|
|
76
|
+
- 더 이상 `tailwind.config.ts`에서 하드코딩으로 컴포넌트나 테마를 생성하지 않습니다.
|
|
77
|
+
- 유틸리티 클래스가 반복되는 경우(예: `border-t-sm`, `border-x-md`), JS 플러그인을 다시 부활시키지 않고 `scripts/` 폴더 내에 TS/JS **코드 생성기(Generator)** 를 작성하여 빌드 타임에 정적인 CSS 객체를 뽑아냅니다.
|
|
78
|
+
|
|
50
79
|
## 개발 환경
|
|
51
80
|
|
|
52
81
|
```bash
|
|
@@ -58,7 +87,7 @@ yarn@1.22.22
|
|
|
58
87
|
## Storybook
|
|
59
88
|
|
|
60
89
|
- 개발 환경: http://localhost:6006
|
|
61
|
-
-
|
|
90
|
+
- ~~테스트 서버: http://172.30.10.148:6006~~
|
|
62
91
|
|
|
63
92
|
```bash
|
|
64
93
|
yarn install
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
pagination_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AYTOWECM.mjs";
|
|
5
5
|
import {
|
|
6
6
|
checkbox_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-37BZALDV.mjs";
|
|
8
8
|
import {
|
|
9
9
|
scrollArea_default
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XS32UZI3.mjs";
|
|
11
11
|
import {
|
|
12
12
|
clsx
|
|
13
13
|
} from "./chunk-27Y6K5NK.mjs";
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
} from "./chunk-A6UUVHC6.mjs";
|
|
11
11
|
import {
|
|
12
12
|
buttonBaseStyle
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-Q5T3XRA3.mjs";
|
|
14
14
|
import {
|
|
15
15
|
mapPropsVariants
|
|
16
16
|
} from "./chunk-E3G5QXSH.mjs";
|
|
17
17
|
import {
|
|
18
18
|
tv
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UP6RPQDX.mjs";
|
|
20
20
|
|
|
21
21
|
// src/components/button/button.tsx
|
|
22
22
|
import {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-F3HENRVM.mjs";
|
|
5
5
|
import {
|
|
6
6
|
input_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Y6EIO72X.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Icon_default
|
|
10
10
|
} from "./chunk-A6UUVHC6.mjs";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-E3G5QXSH.mjs";
|
|
17
17
|
import {
|
|
18
18
|
tv
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UP6RPQDX.mjs";
|
|
20
20
|
|
|
21
21
|
// src/components/pagination/pagination.tsx
|
|
22
22
|
import { forwardRef, useMemo, useState } from "react";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
text_button_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZDZKGGK3.mjs";
|
|
5
5
|
import {
|
|
6
6
|
Icon_default
|
|
7
7
|
} from "./chunk-A6UUVHC6.mjs";
|
|
8
8
|
import {
|
|
9
9
|
tv
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UP6RPQDX.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/breadcrumb/breadcrumb.tsx
|
|
13
13
|
import { forwardRef, useMemo } from "react";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
8
|
import {
|
|
9
9
|
tv
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UP6RPQDX.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/starRating/starRating.tsx
|
|
13
13
|
import { forwardRef, useMemo, useState } from "react";
|
|
@@ -85,9 +85,9 @@ var StarRating = forwardRef((originalProps, ref) => {
|
|
|
85
85
|
/* @__PURE__ */ jsx(
|
|
86
86
|
"div",
|
|
87
87
|
{
|
|
88
|
-
className: "absolute
|
|
88
|
+
className: "absolute top-0 left-0 h-full w-full",
|
|
89
89
|
style: {
|
|
90
|
-
|
|
90
|
+
clipPath: isFull ? "none" : `inset(0 ${100 - fillPercentage}% 0 0)`
|
|
91
91
|
},
|
|
92
92
|
children: /* @__PURE__ */ jsx(Icon_default, { name: "star", fill: true, className: filledColor, size })
|
|
93
93
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
progress_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KE26ONWZ.mjs";
|
|
5
5
|
import {
|
|
6
6
|
input_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Y6EIO72X.mjs";
|
|
8
8
|
import {
|
|
9
9
|
button_default
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7U7FM6I6.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/fileUpload/fileUpload.tsx
|
|
13
13
|
import { useRef, useState, useEffect } from "react";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Panel_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZPMS2CYP.mjs";
|
|
5
5
|
import {
|
|
6
6
|
convert24To12
|
|
7
7
|
} from "./chunk-3IBJXQTJ.mjs";
|
|
8
8
|
import {
|
|
9
9
|
input_default
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Y6EIO72X.mjs";
|
|
11
11
|
import {
|
|
12
12
|
Icon_default
|
|
13
13
|
} from "./chunk-A6UUVHC6.mjs";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-E3G5QXSH.mjs";
|
|
17
17
|
import {
|
|
18
18
|
tv
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UP6RPQDX.mjs";
|
|
20
20
|
|
|
21
21
|
// src/components/picker/timePicker/index.tsx
|
|
22
22
|
import { forwardRef, useCallback, useMemo, useState, useRef, useEffect } from "react";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-E3G5QXSH.mjs";
|
|
5
5
|
import {
|
|
6
6
|
tv
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UP6RPQDX.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/picker/day.tsx
|
|
10
10
|
import { forwardRef, useMemo } from "react";
|
|
@@ -39,7 +39,7 @@ var dayStyle = tv({
|
|
|
39
39
|
selected: { base: ["bg-primary-main", "text-common-white"] },
|
|
40
40
|
disabled: { base: ["pointer-events-none", "bg-common-transparent", "text-neutral-light"] },
|
|
41
41
|
period: { base: ["bg-primary-soft", "rounded-none"] },
|
|
42
|
-
today: { base: ["shadow-[inset_0_0_0_2px_var(--
|
|
42
|
+
today: { base: ["shadow-[inset_0_0_0_2px_var(--color-primary-light)]", "hover:bg-trans-soft"] },
|
|
43
43
|
text: { base: ["text-md"] }
|
|
44
44
|
}
|
|
45
45
|
},
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
toast_default
|
|
4
|
-
} from "./chunk-JUKILR6X.mjs";
|
|
5
2
|
import {
|
|
6
3
|
getToastPosition
|
|
7
4
|
} from "./chunk-ZOTHPHXA.mjs";
|
|
5
|
+
import {
|
|
6
|
+
toast_default
|
|
7
|
+
} from "./chunk-ZCJPPLYH.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/toast/use-toast.tsx
|
|
10
10
|
import { createContext, useContext, useState, useCallback, useEffect, useRef, useMemo } from "react";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-E3G5QXSH.mjs";
|
|
5
5
|
import {
|
|
6
6
|
tv
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UP6RPQDX.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/slider/slider.tsx
|
|
10
10
|
import { forwardRef, useCallback, useRef, useState, useMemo } from "react";
|
|
@@ -175,11 +175,11 @@ var sliderStyle = tv({
|
|
|
175
175
|
color: {
|
|
176
176
|
primary: {
|
|
177
177
|
indicator: ["bg-primary-light"],
|
|
178
|
-
thumb: ["bg-primary-main", "ring-[color-mix(in_srgb,var(--
|
|
178
|
+
thumb: ["bg-primary-main", "ring-[color-mix(in_srgb,var(--color-primary-main)_20%,transparent)]"]
|
|
179
179
|
},
|
|
180
180
|
secondary: {
|
|
181
181
|
indicator: ["bg-secondary-light"],
|
|
182
|
-
thumb: ["bg-secondary-main", "ring-[color-mix(in_srgb,var(--
|
|
182
|
+
thumb: ["bg-secondary-main", "ring-[color-mix(in_srgb,var(--color-secondary-main)_20%,transparent)]"]
|
|
183
183
|
}
|
|
184
184
|
},
|
|
185
185
|
size: {
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-E3G5QXSH.mjs";
|
|
12
12
|
import {
|
|
13
13
|
tv
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-UP6RPQDX.mjs";
|
|
15
15
|
|
|
16
16
|
// src/components/tooltip/tooltip.tsx
|
|
17
17
|
import { forwardRef, useCallback, useMemo, useRef, useState, useEffect } from "react";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
scrollArea_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XS32UZI3.mjs";
|
|
5
5
|
import {
|
|
6
6
|
mapPropsVariants
|
|
7
7
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
8
|
import {
|
|
9
9
|
tv
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UP6RPQDX.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/charts/areaChart.tsx
|
|
13
13
|
import { forwardRef, useMemo, useState, useRef, useEffect, useId } from "react";
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
} from "./chunk-A6UUVHC6.mjs";
|
|
11
11
|
import {
|
|
12
12
|
buttonBaseStyle
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-Q5T3XRA3.mjs";
|
|
14
14
|
import {
|
|
15
15
|
mapPropsVariants
|
|
16
16
|
} from "./chunk-E3G5QXSH.mjs";
|
|
17
17
|
import {
|
|
18
18
|
tv
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UP6RPQDX.mjs";
|
|
20
20
|
|
|
21
21
|
// src/components/button/icon-button.tsx
|
|
22
22
|
import { forwardRef, useMemo, useCallback } from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
tv
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UP6RPQDX.mjs";
|
|
5
5
|
|
|
6
6
|
// src/components/button/button.style.ts
|
|
7
7
|
var buttonBaseStyle = tv({
|
|
@@ -57,7 +57,7 @@ var buttonBaseStyle = tv({
|
|
|
57
57
|
base: [
|
|
58
58
|
"text-white",
|
|
59
59
|
"bg-primary-main",
|
|
60
|
-
"hover:[background:linear-gradient(0deg,var(--
|
|
60
|
+
"hover:[background:linear-gradient(0deg,var(--color-trans-light)_0%,var(--color-trans-light)_100%),var(--color-primary-main)]",
|
|
61
61
|
"active:bg-primary-dark"
|
|
62
62
|
]
|
|
63
63
|
}
|
|
@@ -69,7 +69,7 @@ var buttonBaseStyle = tv({
|
|
|
69
69
|
base: [
|
|
70
70
|
"text-white",
|
|
71
71
|
"bg-secondary-main",
|
|
72
|
-
"hover:[background:linear-gradient(0deg,var(--
|
|
72
|
+
"hover:[background:linear-gradient(0deg,var(--color-trans-light)_0%,var(--color-trans-light)_100%),var(--color-secondary-main)]",
|
|
73
73
|
"active:bg-secondary-dark"
|
|
74
74
|
]
|
|
75
75
|
}
|
|
@@ -81,7 +81,7 @@ var buttonBaseStyle = tv({
|
|
|
81
81
|
base: [
|
|
82
82
|
"text-white",
|
|
83
83
|
"bg-neutral-main",
|
|
84
|
-
"hover:[background:linear-gradient(0deg,var(--
|
|
84
|
+
"hover:[background:linear-gradient(0deg,var(--color-trans-light)_0%,var(--color-trans-light)_100%),var(--color-neutral-main)]",
|
|
85
85
|
"active:bg-neutral-dark"
|
|
86
86
|
]
|
|
87
87
|
}
|
|
@@ -93,7 +93,7 @@ var buttonBaseStyle = tv({
|
|
|
93
93
|
base: [
|
|
94
94
|
"text-white",
|
|
95
95
|
"bg-info-main",
|
|
96
|
-
"hover:[background:linear-gradient(0deg,var(--
|
|
96
|
+
"hover:[background:linear-gradient(0deg,var(--color-trans-light)_0%,var(--color-trans-light)_100%),var(--color-info-main)]",
|
|
97
97
|
"active:bg-info-dark"
|
|
98
98
|
]
|
|
99
99
|
}
|
|
@@ -105,7 +105,7 @@ var buttonBaseStyle = tv({
|
|
|
105
105
|
base: [
|
|
106
106
|
"text-white",
|
|
107
107
|
"bg-success-main",
|
|
108
|
-
"hover:[background:linear-gradient(0deg,var(--
|
|
108
|
+
"hover:[background:linear-gradient(0deg,var(--color-trans-light)_0%,var(--color-trans-light)_100%),var(--color-success-main)]",
|
|
109
109
|
"active:bg-success-dark"
|
|
110
110
|
]
|
|
111
111
|
}
|
|
@@ -117,7 +117,7 @@ var buttonBaseStyle = tv({
|
|
|
117
117
|
base: [
|
|
118
118
|
"text-white",
|
|
119
119
|
"bg-warning-main",
|
|
120
|
-
"hover:[background:linear-gradient(0deg,var(--
|
|
120
|
+
"hover:[background:linear-gradient(0deg,var(--color-trans-light)_0%,var(--color-trans-light)_100%),var(--color-warning-main)]",
|
|
121
121
|
"active:bg-warning-dark"
|
|
122
122
|
]
|
|
123
123
|
}
|
|
@@ -129,7 +129,7 @@ var buttonBaseStyle = tv({
|
|
|
129
129
|
base: [
|
|
130
130
|
"text-white",
|
|
131
131
|
"bg-danger-main",
|
|
132
|
-
"hover:[background:linear-gradient(0deg,var(--
|
|
132
|
+
"hover:[background:linear-gradient(0deg,var(--color-trans-light)_0%,var(--color-trans-light)_100%),var(--color-danger-main)]",
|
|
133
133
|
"active:bg-danger-dark"
|
|
134
134
|
]
|
|
135
135
|
}
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-E3G5QXSH.mjs";
|
|
5
5
|
import {
|
|
6
6
|
tv
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UP6RPQDX.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/accordion/accordionItem.tsx
|
|
10
10
|
import {
|
|
@@ -101,7 +101,8 @@ var accordionItem = tv({
|
|
|
101
101
|
"p-[12px]",
|
|
102
102
|
"bg-transparent",
|
|
103
103
|
"cursor-pointer",
|
|
104
|
-
"select-none"
|
|
104
|
+
"select-none",
|
|
105
|
+
"border-neutral-light"
|
|
105
106
|
],
|
|
106
107
|
header: ["flex", "justify-between", "items-center", "text-foreground", "gap-[8px]"],
|
|
107
108
|
headerTitle: ["w-full", "font-bold", "text-body-foreground"],
|