@pop-ui/foundation 0.0.22
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/LICENSE.md +21 -0
- package/README.md +183 -0
- package/dist/foundation.js +388 -0
- package/dist/foundation.umd.cjs +1 -0
- package/dist/types/index.d.ts +416 -0
- package/package.json +54 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 (주)텐핑거스
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
# @pop-ui/foundation
|
|
2
|
+
|
|
3
|
+
Pop UI의 디자인 토큰, 아이콘, 이미지 등 기본 요소를 제공하는 패키지입니다.
|
|
4
|
+
|
|
5
|
+
## 설치
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @pop-ui/foundation
|
|
9
|
+
# or
|
|
10
|
+
yarn add @pop-ui/foundation
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## 구성 요소
|
|
14
|
+
|
|
15
|
+
### 1. Design Tokens
|
|
16
|
+
|
|
17
|
+
디자인 시스템의 색상, 타이포그래피 등의 토큰을 제공합니다.
|
|
18
|
+
|
|
19
|
+
```tsx
|
|
20
|
+
import { ColorGray900, ColorAqua500, ColorRed500 } from '@pop-ui/foundation';
|
|
21
|
+
|
|
22
|
+
const MyComponent = () => {
|
|
23
|
+
return <div style={{ color: ColorGray900 }}>Hello</div>;
|
|
24
|
+
};
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
#### 사용 가능한 색상 팔레트
|
|
28
|
+
|
|
29
|
+
- **Gray**: Gray0 ~ Gray1000 (11단계)
|
|
30
|
+
- **Aqua**: Aqua50 ~ Aqua900 (9단계)
|
|
31
|
+
- **Red**: Red50 ~ Red900 (9단계)
|
|
32
|
+
- **Orange**: Orange50 ~ Orange900 (9단계)
|
|
33
|
+
- **Yellow**: Yellow50 ~ Yellow900 (9단계)
|
|
34
|
+
- **Green**: Green50 ~ Green900 (9단계)
|
|
35
|
+
- **Blue**: Blue50 ~ Blue900 (9단계)
|
|
36
|
+
- **Purple**: Purple50 ~ Purple900 (9단계)
|
|
37
|
+
- **Grape**: Grape50 ~ Grape900 (9단계)
|
|
38
|
+
|
|
39
|
+
#### 시맨틱 색상
|
|
40
|
+
|
|
41
|
+
```tsx
|
|
42
|
+
import {
|
|
43
|
+
SemanticColorPrimary,
|
|
44
|
+
SemanticColorWarning,
|
|
45
|
+
BgColorButtonBgPrimaryDefault
|
|
46
|
+
} from '@pop-ui/foundation';
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### 2. 아이콘
|
|
50
|
+
|
|
51
|
+
React 컴포넌트로 제공되는 아이콘들입니다.
|
|
52
|
+
|
|
53
|
+
```tsx
|
|
54
|
+
import { IcChevronDown, IcChevronUp } from '@pop-ui/foundation';
|
|
55
|
+
|
|
56
|
+
function MyComponent() {
|
|
57
|
+
return (
|
|
58
|
+
<div>
|
|
59
|
+
<IcChevronDown size={24} color="#1971C2" />
|
|
60
|
+
<IcChevronUp size={20} />
|
|
61
|
+
</div>
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
#### 아이콘 Props
|
|
67
|
+
|
|
68
|
+
모든 아이콘은 다음 props를 지원합니다:
|
|
69
|
+
|
|
70
|
+
- `size?: number` - 아이콘 크기 (기본값: 원본 크기)
|
|
71
|
+
- `color?: string` - 아이콘 색상 (기본값: ColorGray900 = #333333)
|
|
72
|
+
- `className?: string` - CSS 클래스
|
|
73
|
+
- `style?: CSSProperties` - 인라인 스타일
|
|
74
|
+
- 기타 표준 SVG 속성들
|
|
75
|
+
|
|
76
|
+
#### 현재 제공되는 아이콘
|
|
77
|
+
|
|
78
|
+
- `IcChevronDown` - 아래 화살표 (24x24)
|
|
79
|
+
- `IcChevronUp` - 위 화살표 (24x24)
|
|
80
|
+
- `IcChevronLeft` - 왼쪽 화살표 (8x14)
|
|
81
|
+
- `IcChevronRight` - 오른쪽 화살표 (8x14)
|
|
82
|
+
|
|
83
|
+
*더 많은 아이콘이 추가될 예정입니다.*
|
|
84
|
+
|
|
85
|
+
#### 아이콘 사용 예시
|
|
86
|
+
|
|
87
|
+
```tsx
|
|
88
|
+
import { IcChevronDown, ColorGray900 } from '@pop-ui/foundation';
|
|
89
|
+
|
|
90
|
+
// 기본 사용 (기본 색상: ColorGray900)
|
|
91
|
+
<IcChevronDown />
|
|
92
|
+
|
|
93
|
+
// 크기 조정
|
|
94
|
+
<IcChevronDown size={32} />
|
|
95
|
+
|
|
96
|
+
// 색상 변경
|
|
97
|
+
<IcChevronDown color="#1971C2" />
|
|
98
|
+
|
|
99
|
+
// CSS 클래스 사용
|
|
100
|
+
<IcChevronDown className="my-icon" />
|
|
101
|
+
|
|
102
|
+
// 스타일 조합
|
|
103
|
+
<IcChevronDown
|
|
104
|
+
size={20}
|
|
105
|
+
color="#FF0000"
|
|
106
|
+
style={{ cursor: 'pointer' }}
|
|
107
|
+
onClick={() => console.log('clicked')}
|
|
108
|
+
/>
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### 3. Theme Utilities
|
|
112
|
+
|
|
113
|
+
런타임에서 색상을 조회하거나 CSS Variables를 생성하는 유틸리티를 제공합니다.
|
|
114
|
+
|
|
115
|
+
```tsx
|
|
116
|
+
import {
|
|
117
|
+
colors,
|
|
118
|
+
getColorValue,
|
|
119
|
+
getCSSVariableRef,
|
|
120
|
+
colorNames
|
|
121
|
+
} from '@pop-ui/foundation';
|
|
122
|
+
|
|
123
|
+
// 색상 팔레트 객체
|
|
124
|
+
console.log(colors.gray[900]); // "#333333"
|
|
125
|
+
console.log(colors.aqua[500]); // "#0fd3d8"
|
|
126
|
+
|
|
127
|
+
// 헬퍼 함수
|
|
128
|
+
const grayValue = getColorValue('gray', '900'); // "#333333"
|
|
129
|
+
const cssVar = getCSSVariableRef('gray', '900'); // "var(--color-gray-900)"
|
|
130
|
+
|
|
131
|
+
// 사용 가능한 모든 색상 이름
|
|
132
|
+
console.log(colorNames); // ['gray', 'aqua', 'red', ...]
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
## 개발
|
|
136
|
+
|
|
137
|
+
### Token 생성
|
|
138
|
+
|
|
139
|
+
디자인 토큰은 `token.json`에서 자동 생성됩니다:
|
|
140
|
+
|
|
141
|
+
```bash
|
|
142
|
+
# 1. token.json을 transformed-token.json으로 변환
|
|
143
|
+
yarn token-transform
|
|
144
|
+
|
|
145
|
+
# 2. style-dictionary로 TypeScript/SCSS 생성
|
|
146
|
+
yarn token-build
|
|
147
|
+
|
|
148
|
+
# 3. 패키지 빌드
|
|
149
|
+
yarn build
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
**참고**: Token 파일을 수정한 후에는 반드시 위 과정을 거쳐 재생성해야 합니다.
|
|
153
|
+
|
|
154
|
+
## 타입 정의
|
|
155
|
+
|
|
156
|
+
### IconProps
|
|
157
|
+
|
|
158
|
+
```typescript
|
|
159
|
+
import type { IconProps } from '@pop-ui/foundation';
|
|
160
|
+
|
|
161
|
+
interface IconProps extends SVGProps<SVGSVGElement> {
|
|
162
|
+
size?: number;
|
|
163
|
+
color?: string;
|
|
164
|
+
}
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
### ColorPalette
|
|
168
|
+
|
|
169
|
+
```typescript
|
|
170
|
+
import type { ColorName, ColorShade, ColorPalette } from '@pop-ui/foundation';
|
|
171
|
+
|
|
172
|
+
// ColorName: 'gray' | 'aqua' | 'red' | ...
|
|
173
|
+
// ColorShade: '0' | '25' | '50' | '100' | ...
|
|
174
|
+
// ColorPalette: { [colorName: string]: { [shade: string]: string } }
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
## 라이선스
|
|
178
|
+
|
|
179
|
+
MIT
|
|
180
|
+
|
|
181
|
+
## 관련 패키지
|
|
182
|
+
|
|
183
|
+
- [@pop-ui/core](https://www.npmjs.com/package/@pop-ui/core) - Pop UI 컴포넌트 라이브러리
|
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { useState as b } from "react";
|
|
3
|
+
import { Container as m, Stack as y, Box as g, Title as C, Text as d, Group as F, Badge as B, Grid as p, Tooltip as x, Paper as P } from "@mantine/core";
|
|
4
|
+
const L = "#0fd3d8", G = "#11badd", R = "#07a3c6", k = "#11badd", O = "#ffffff", q = "#b0b0b0", Y = "#ffffff", j = "#e7e7e7", M = "#cdcdcd", I = "#e7e7e7", V = "#ffffff", $ = "#4a4a4a", U = "#b0b0b0", X = "#fa5252", J = "#e03131", N = "#c92a2a", K = "#e03131", Q = "#9b9b9b", Z = "#808080", _ = "#666666", oo = "#808080", eo = "#0fd3d8", to = "#11badd", ro = "#07a3c6", no = "#11badd", lo = "#b0b0b0", ao = "#ffffff", io = "#e7e7e7", so = "#cdcdcd", co = "#e7e7e7", fo = "#b0b0b0", uo = "#ffffff", po = "#e7e7e7", yo = "#cdcdcd", go = "#e7e7e7", Co = "#b0b0b0", Bo = "#fa5252", vo = "#e03131", ho = "#c92a2a", bo = "#e03131", mo = "#b0b0b0", Fo = "#9b9b9b", xo = "#808080", Po = "#666666", wo = "#808080", So = "#b0b0b0", zo = "#ffffff", Do = "#ffffff", To = "#ffffff", Wo = "#ffffff", Ho = "#ffffff", Eo = "#0fd3d8", Ao = "#11badd", Lo = "#07a3c6", Go = "#11badd", Ro = "#ffffff", ko = "#4a4a4a", Oo = "#4a4a4a", qo = "#4a4a4a", Yo = "#4a4a4a", jo = "#ffffff", Mo = "#ffffff", Io = "#ffffff", Vo = "#ffffff", $o = "#ffffff", Uo = "#ffffff", Xo = "#ffffff", Jo = "#ffffff", No = "#ffffff", Ko = "#ffffff", Qo = "#ffffff", Zo = "#0fd3d8", _o = "#11badd", oe = "#07a3c6", ee = "#11badd", te = "#b0b0b0", re = "#b0b0b0", ne = "#b0b0b0", le = "#b0b0b0", ae = "#0fd3d8", ie = "#11badd", se = "#07a3c6", ce = "#11badd", fe = "#b0b0b0", ue = "#b0b0b0", de = "#b0b0b0", pe = "#b0b0b0", ye = "#ffffff", ge = "#fbfbfb", Ce = "#f6f6f6", Be = "#e7e7e7", ve = "#d8d8d8", he = "#cdcdcd", be = "#b0b0b0", me = "#9b9b9b", Fe = "#808080", xe = "#666666", Pe = "#4a4a4a", c = "#333333", we = "#000000", Se = "#edfcff", ze = "#d5f8ff", De = "#c8fdff", Te = "#98f4f6", We = "#72eef1", He = "#49e5e9", Ee = "#0fd3d8", Ae = "#11badd", Le = "#07a3c6", Ge = "#00759a", Re = "#006180", ke = "#fef3f2", Oe = "#fee4e2", qe = "#fecdca", Ye = "#fda29b", je = "#ff8a8a", Me = "#fa5252", Ie = "#f03e3e", Ve = "#e03131", $e = "#c92a2a", Ue = "#ab1313", Xe = "#fff4e6", Je = "#ffe8cc", Ne = "#ffd8a8", Ke = "#ffc078", Qe = "#ffa94d", Ze = "#ff922b", _e = "#fd7e14", ot = "#f76707", et = "#e8590c", tt = "#d9480f", rt = "#fbffbf", nt = "#ffff9f", lt = "#fdff78", at = "#fffc33", it = "#fff200", st = "#ffe500", ct = "#fcc419", ft = "#f59f00", ut = "#f08c00", dt = "#e27500", pt = "#efffef", yt = "#d1fcd3", gt = "#a5f8a9", Ct = "#8bed90", Bt = "#6de372", vt = "#30cc37", ht = "#0f8c14", bt = "#027a48", mt = "#05603a", Ft = "#054f31", xt = "#eff8ff", Pt = "#d8f0ff", wt = "#b2ddff", St = "#84caff", zt = "#53b1fd", Dt = "#2e90fa", Tt = "#1570ef", Wt = "#175cd3", Ht = "#1849a9", Et = "#194185", At = "#f3f0ff", Lt = "#e5dbff", Gt = "#d0bfff", Rt = "#b197fc", kt = "#9775fa", Ot = "#845ef7", qt = "#7248ef", Yt = "#5f36da", jt = "#5730cc", Mt = "#4827ab", It = "#f8f0fc", Vt = "#f3d9fa", $t = "#eebefa", Ut = "#e599f7", Xt = "#da77f2", Jt = "#cc5de8", Nt = "#be4bdb", Kt = "#ae3ec9", Qt = "#9c36b5", Zt = "#862e9c", _t = "#0000000a", w = /* @__PURE__ */ JSON.parse('{"color":{"gray":{"0":{"value":"#fff","type":"color"},"25":{"value":"#FBFBFB","type":"color"},"50":{"value":"#F6F6F6","type":"color"},"100":{"value":"#E7E7E7","type":"color"},"200":{"value":"#D8D8D8","type":"color"},"300":{"value":"#CDCDCD","type":"color"},"400":{"value":"#B0B0B0","type":"color"},"500":{"value":"#9B9B9B","type":"color"},"600":{"value":"#808080","type":"color"},"700":{"value":"#666666","type":"color"},"800":{"value":"#4A4A4A","type":"color"},"900":{"value":"#333333","type":"color"},"1000":{"value":"#000","type":"color"}},"aqua":{"50":{"value":"#EDFCFF","type":"color"},"75":{"value":"#D5F8FF","type":"color"},"100":{"value":"#C8FDFF","type":"color"},"200":{"value":"#98F4F6","type":"color"},"300":{"value":"#72EEF1","type":"color"},"400":{"value":"#49E5E9","type":"color"},"500":{"value":"#0fd3d8","type":"color"},"600":{"value":"#11BADD","type":"color"},"700":{"value":"#07A3C6","type":"color"},"800":{"value":"#00759A","type":"color"},"900":{"value":"#006180","type":"color"}},"red":{"50":{"value":"#FEF3F2","type":"color"},"100":{"value":"#FEE4E2","type":"color"},"200":{"value":"#FECDCA","type":"color"},"300":{"value":"#FDA29B","type":"color"},"400":{"value":"#FF8A8A","type":"color"},"500":{"value":"#FA5252","type":"color"},"600":{"value":"#F03E3E","type":"color"},"700":{"value":"#E03131","type":"color"},"800":{"value":"#C92A2A","type":"color"},"900":{"value":"#AB1313","type":"color"}},"orange":{"50":{"value":"#FFF4E6","type":"color"},"100":{"value":"#FFE8CC","type":"color"},"200":{"value":"#FFD8A8","type":"color"},"300":{"value":"#FFC078","type":"color"},"400":{"value":"#FFA94D","type":"color"},"500":{"value":"#FF922B","type":"color"},"600":{"value":"#FD7E14","type":"color"},"700":{"value":"#F76707","type":"color"},"800":{"value":"#E8590C","type":"color"},"900":{"value":"#D9480F","type":"color"}},"yellow":{"50":{"value":"#FBFFBF","type":"color"},"100":{"value":"#FFFF9F","type":"color"},"200":{"value":"#FDFF78","type":"color"},"300":{"value":"#FFFC33","type":"color"},"400":{"value":"#FFF200","type":"color"},"500":{"value":"#FFE500","type":"color"},"600":{"value":"#FCC419","type":"color"},"700":{"value":"#F59F00","type":"color"},"800":{"value":"#F08C00","type":"color"},"900":{"value":"#E27500","type":"color"}},"green":{"50":{"value":"#EFFFEF","type":"color"},"100":{"value":"#D1FCD3","type":"color"},"200":{"value":"#A5F8A9","type":"color"},"300":{"value":"#8BED90","type":"color"},"400":{"value":"#6DE372","type":"color"},"500":{"value":"#30CC37","type":"color"},"600":{"value":"#0F8C14","type":"color"},"700":{"value":"#027A48","type":"color"},"800":{"value":"#05603A","type":"color"},"900":{"value":"#054F31","type":"color"}},"blue":{"50":{"value":"#EFF8FF","type":"color"},"100":{"value":"#D8F0FF","type":"color"},"200":{"value":"#B2DDFF","type":"color"},"300":{"value":"#84CAFF","type":"color"},"400":{"value":"#53B1FD","type":"color"},"500":{"value":"#2E90FA","type":"color"},"600":{"value":"#1570EF","type":"color"},"700":{"value":"#175CD3","type":"color"},"800":{"value":"#1849A9","type":"color"},"900":{"value":"#194185","type":"color"}},"purple":{"50":{"value":"#F3F0FF","type":"color"},"100":{"value":"#E5DBFF","type":"color"},"200":{"value":"#D0BFFF","type":"color"},"300":{"value":"#B197FC","type":"color"},"400":{"value":"#9775FA","type":"color"},"500":{"value":"#845EF7","type":"color"},"600":{"value":"#7248EF","type":"color"},"700":{"value":"#5F36DA","type":"color"},"800":{"value":"#5730CC","type":"color"},"900":{"value":"#4827AB","type":"color"}},"grape":{"50":{"value":"#F8F0FC","type":"color"},"100":{"value":"#F3D9FA","type":"color"},"200":{"value":"#EEBEFA","type":"color"},"300":{"value":"#E599F7","type":"color"},"400":{"value":"#DA77F2","type":"color"},"500":{"value":"#CC5DE8","type":"color"},"600":{"value":"#BE4BDB","type":"color"},"700":{"value":"#AE3EC9","type":"color"},"800":{"value":"#9C36B5","type":"color"},"900":{"value":"#862E9C","type":"color"}}},"web":{"H1-36-bold":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-bold}","lineHeight":"{Lh-300}","fontSize":"{font-size-1100}"},"type":"typography"},"H2-32-bold":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-bold}","lineHeight":"{Lh-300}","fontSize":"{font-size-900}"},"type":"typography"},"H3-28-bold":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-bold}","lineHeight":"{Lh-300}","fontSize":"{font-size-800}"},"type":"typography"},"H4-24-bold":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-bold}","lineHeight":"{Lh-400}","fontSize":"{font-size-700}"},"type":"typography"},"H5-20-bold":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-bold}","lineHeight":"{Lh-400}","fontSize":"{font-size-600}"},"type":"typography"},"T1-16-sb":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-semibold}","lineHeight":"{Lh-500}","fontSize":"{font-size-500}"},"type":"typography"},"T2-14-sb":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-semibold}","lineHeight":"{Lh-500}","fontSize":"{font-size-450}"},"type":"typography"},"T3-12-sb":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-semibold}","lineHeight":"{Lh-500}","fontSize":"{font-size-400}"},"type":"typography"},"B1-18-sb":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-semibold}","lineHeight":"{Lh-500}","fontSize":"{font-size-550}"},"type":"typography"},"B2-18-m":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-medium}","lineHeight":"{Lh-500}","fontSize":"{font-size-550}"},"type":"typography"},"B2-16-sb":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-semibold}","lineHeight":"{Lh-500}","fontSize":"{font-size-500}"},"type":"typography"},"B2-16-m":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-medium}","lineHeight":"{Lh-500}","fontSize":"{font-size-500}"},"type":"typography"},"B3-14-sb":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-semibold}","lineHeight":"{Lh-500}","fontSize":"{font-size-450}"},"type":"typography"},"B3-14-m":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-medium}","lineHeight":"{Lh-500}","fontSize":"{font-size-450}"},"type":"typography"},"C1-12-sb":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-semibold}","lineHeight":"{Lh-500}","fontSize":"{font-size-400}"},"type":"typography"},"C1-12-m":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-medium}","lineHeight":"{Lh-500}","fontSize":"{font-size-400}"},"type":"typography"},"C2-11-m":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-medium}","lineHeight":"{Lh-500}","fontSize":"{font-size-375}"},"type":"typography"}},"spacing-100":{"value":"4","type":"spacing"},"spacing-150":{"value":"6","type":"spacing"},"spacing-200":{"value":"8","type":"spacing"},"spacing-300":{"value":"12","type":"spacing"},"spacing-400":{"value":"16","type":"spacing"},"spacing-500":{"value":"20","type":"spacing"},"spacing-600":{"value":"24","type":"spacing"},"spacing-700":{"value":"28","type":"spacing"},"spacing-800":{"value":"32","type":"spacing"},"spacing-900":{"value":"36","type":"spacing"},"spacing-1000":{"value":"40","type":"spacing"},"spacing-1100":{"value":"44","type":"spacing"},"spacing-1200":{"value":"48","type":"spacing"},"spacing-1300":{"value":"52","type":"spacing"},"spacing-1400":{"value":"56","type":"spacing"},"spacing-1500":{"value":"60","type":"spacing"},"font-family-Pretendard":{"value":"Pretendard","type":"fontFamilies"},"font-weight-thin":{"value":"Thin","type":"fontWeights"},"font-weight-extralight":{"value":"ExtraLight","type":"fontWeights"},"font-weight-light":{"value":"Light","type":"fontWeights"},"font-weight-regular":{"value":"Regular","type":"fontWeights"},"font-weight-medium":{"value":"Medium","type":"fontWeights"},"font-weight-semibold":{"value":"SemiBold","type":"fontWeights"},"font-weight-extrabold":{"value":"ExtraBold","type":"fontWeights"},"font-weight-bold":{"value":"Bold","type":"fontWeights"},"font-weight-black":{"value":"Black","type":"fontWeights"},"Lh-500":{"value":"150%","type":"lineHeights"},"Lh-400":{"value":"140%","type":"lineHeights"},"Lh-300":{"value":"130%","type":"lineHeights"},"border-radius-0":{"value":"0px","type":"borderRadius"},"border-radius-50":{"value":"2px","type":"borderRadius"},"border-radius-100":{"value":"4px","type":"borderRadius"},"border-radius-150":{"value":"6px","type":"borderRadius"},"border-radius-200":{"value":"8px","type":"borderRadius"},"border-radius-300":{"value":"12px","type":"borderRadius"},"border-radius-400":{"value":"16px","type":"borderRadius"},"border-radius-500":{"value":"20px","type":"borderRadius"},"border-width-25":{"value":"1","type":"borderWidth"},"border-width-37":{"value":"1.5","type":"borderWidth"},"border-width-50":{"value":"2","type":"borderWidth"},"border-width-100":{"value":"4","type":"borderWidth"},"border-width-200":{"value":"8","type":"borderWidth"},"font-size-375":{"value":"11","type":"fontSizes"},"font-size-400":{"value":"12","type":"fontSizes"},"font-size-450":{"value":"14","type":"fontSizes"},"font-size-500":{"value":"16","type":"fontSizes"},"font-size-550":{"value":"18","type":"fontSizes"},"font-size-600":{"value":"20","type":"fontSizes"},"font-size-700":{"value":"24","type":"fontSizes"},"font-size-800":{"value":"28","type":"fontSizes"},"font-size-900":{"value":"32","type":"fontSizes"},"font-size-1000":{"value":"36","type":"fontSizes"},"font-size-1100":{"value":"40","type":"fontSizes"},"shadow-dashboard-card":{"value":{"x":"0","y":"8","blur":"32px","spread":"0","color":"rgba(0,0,0,0.04)","type":"dropShadow"},"type":"boxShadow"},"text-deco-underline":{"value":"underline","type":"textDecoration"},"text-deco-line-through":{"value":"line-through","type":"textDecoration"},"border-radius-1000":{"value":"9999px","type":"borderRadius"},"button":{"size-button-large":{"value":"50px","type":"sizing"},"size-button-medium":{"value":"40px","type":"sizing"},"size-button-small":{"value":"30px","type":"sizing"},"typo-button-large":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-bold}","lineHeight":"{Lh-300}","fontSize":"{font-size-550}"},"type":"typography","description":"large button 폰트 속성"},"typo-button-medium":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-semibold}","lineHeight":"{Lh-300}","fontSize":"{font-size-500}"},"type":"typography","description":"medium button 폰트 속성"},"typo-button-small":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-semibold}","lineHeight":"{Lh-300}","fontSize":"{font-size-450}"},"type":"typography","description":"small button 폰트 속성"},"border-radius-large":{"value":"{border-radius-150}","type":"borderRadius"},"border-radius-medium":{"value":"{border-radius-150}","type":"borderRadius"},"border-radius-small":{"value":"{border-radius-100}","type":"borderRadius"},"spacing-button-large":{"value":"{spacing-500}","type":"spacing"},"spacing-button-medium":{"value":"{spacing-400}","type":"spacing"},"spacing-button-small":{"value":"{spacing-300}","type":"spacing"},"spacing-button-large-icon":{"value":"{spacing-200}","type":"spacing"},"spacing-button-medium-icon":{"value":"{spacing-150}","type":"spacing"},"spacing-button-small-icon":{"value":"{spacing-100}","type":"spacing"},"spacing-button-large-icon-only":{"value":"{spacing-400}","type":"spacing"},"spacing-button-medium-icon-only":{"value":"{spacing-300}","type":"spacing"},"spacing-button-small-icon-only":{"value":"{spacing-200}","type":"spacing"}}}'), S = {
|
|
5
|
+
global: w
|
|
6
|
+
}, z = S.global.color, f = Object.entries(z).reduce(
|
|
7
|
+
(o, [t, r]) => (o[t] = Object.entries(r).reduce(
|
|
8
|
+
(n, [l, u]) => (n[l] = u.value, n),
|
|
9
|
+
{}
|
|
10
|
+
), o),
|
|
11
|
+
{}
|
|
12
|
+
), D = Object.keys(f), or = (o) => f[o], er = (o, t) => f[o]?.[t], v = (o, t) => `--color-${o}-${t}`, tr = (o, t) => `var(${v(o, t)})`, T = ({ colorName: o, shade: t, value: r }) => {
|
|
13
|
+
const [n, l] = b(!1), u = v(o, t), h = async () => {
|
|
14
|
+
try {
|
|
15
|
+
await navigator.clipboard.writeText(r), l(!0), setTimeout(() => l(!1), 2e3);
|
|
16
|
+
} catch (a) {
|
|
17
|
+
console.error("Failed to copy:", a);
|
|
18
|
+
}
|
|
19
|
+
}, s = parseInt(r.replace("#", ""), 16) > 16777215 / 2;
|
|
20
|
+
return /* @__PURE__ */ e(
|
|
21
|
+
x,
|
|
22
|
+
{
|
|
23
|
+
label: n ? "Copied!" : "Click to copy HEX",
|
|
24
|
+
position: "top",
|
|
25
|
+
withArrow: !0,
|
|
26
|
+
children: /* @__PURE__ */ e(
|
|
27
|
+
P,
|
|
28
|
+
{
|
|
29
|
+
p: "md",
|
|
30
|
+
style: {
|
|
31
|
+
backgroundColor: r,
|
|
32
|
+
cursor: "pointer",
|
|
33
|
+
border: "1px solid #e0e0e0",
|
|
34
|
+
minHeight: "120px",
|
|
35
|
+
transition: "transform 0.2s, box-shadow 0.2s"
|
|
36
|
+
},
|
|
37
|
+
onClick: h,
|
|
38
|
+
onMouseEnter: (a) => {
|
|
39
|
+
a.currentTarget.style.transform = "translateY(-2px)", a.currentTarget.style.boxShadow = "0 4px 12px rgba(0,0,0,0.15)";
|
|
40
|
+
},
|
|
41
|
+
onMouseLeave: (a) => {
|
|
42
|
+
a.currentTarget.style.transform = "translateY(0)", a.currentTarget.style.boxShadow = "none";
|
|
43
|
+
},
|
|
44
|
+
children: /* @__PURE__ */ i(y, { gap: "xs", children: [
|
|
45
|
+
/* @__PURE__ */ e(
|
|
46
|
+
B,
|
|
47
|
+
{
|
|
48
|
+
size: "sm",
|
|
49
|
+
variant: "filled",
|
|
50
|
+
style: {
|
|
51
|
+
backgroundColor: s ? "#333" : "#fff",
|
|
52
|
+
color: s ? "#fff" : "#333"
|
|
53
|
+
},
|
|
54
|
+
children: t
|
|
55
|
+
}
|
|
56
|
+
),
|
|
57
|
+
/* @__PURE__ */ e(
|
|
58
|
+
d,
|
|
59
|
+
{
|
|
60
|
+
size: "xs",
|
|
61
|
+
fw: 600,
|
|
62
|
+
style: { color: s ? "#333" : "#fff" },
|
|
63
|
+
children: r.toUpperCase()
|
|
64
|
+
}
|
|
65
|
+
),
|
|
66
|
+
/* @__PURE__ */ e(
|
|
67
|
+
d,
|
|
68
|
+
{
|
|
69
|
+
size: "xs",
|
|
70
|
+
style: { color: s ? "#666" : "#ccc", fontFamily: "monospace" },
|
|
71
|
+
children: u
|
|
72
|
+
}
|
|
73
|
+
)
|
|
74
|
+
] })
|
|
75
|
+
}
|
|
76
|
+
)
|
|
77
|
+
}
|
|
78
|
+
);
|
|
79
|
+
}, W = ({ colorName: o }) => {
|
|
80
|
+
const t = f[o], r = Object.entries(t);
|
|
81
|
+
return /* @__PURE__ */ i(g, { mb: "xl", children: [
|
|
82
|
+
/* @__PURE__ */ i(F, { mb: "md", align: "center", children: [
|
|
83
|
+
/* @__PURE__ */ e(C, { order: 3, tt: "capitalize", children: o }),
|
|
84
|
+
/* @__PURE__ */ i(B, { variant: "light", children: [
|
|
85
|
+
r.length,
|
|
86
|
+
" shades"
|
|
87
|
+
] })
|
|
88
|
+
] }),
|
|
89
|
+
/* @__PURE__ */ e(p, { gutter: "md", children: r.map(([n, l]) => /* @__PURE__ */ e(p.Col, { span: { base: 12, xs: 6, sm: 4, md: 3, lg: 2 }, children: /* @__PURE__ */ e(T, { colorName: o, shade: n, value: l }) }, n)) })
|
|
90
|
+
] });
|
|
91
|
+
}, rr = () => /* @__PURE__ */ e(m, { size: "xl", py: "xl", children: /* @__PURE__ */ i(y, { gap: "xl", children: [
|
|
92
|
+
/* @__PURE__ */ i(g, { children: [
|
|
93
|
+
/* @__PURE__ */ e(C, { order: 1, mb: "xs", children: "Color Palette" }),
|
|
94
|
+
/* @__PURE__ */ e(d, { c: "dimmed", size: "sm", children: "Click on any color chip to copy its HEX code" })
|
|
95
|
+
] }),
|
|
96
|
+
D.map((o) => /* @__PURE__ */ e(W, { colorName: o }, o))
|
|
97
|
+
] }) }), nr = ({
|
|
98
|
+
size: o = 24,
|
|
99
|
+
color: t = c,
|
|
100
|
+
...r
|
|
101
|
+
}) => /* @__PURE__ */ e(
|
|
102
|
+
"svg",
|
|
103
|
+
{
|
|
104
|
+
width: o,
|
|
105
|
+
height: o,
|
|
106
|
+
viewBox: "0 0 24 24",
|
|
107
|
+
fill: "none",
|
|
108
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
109
|
+
...r,
|
|
110
|
+
children: /* @__PURE__ */ e(
|
|
111
|
+
"path",
|
|
112
|
+
{
|
|
113
|
+
d: "M18 9L12 15L6 9",
|
|
114
|
+
stroke: t,
|
|
115
|
+
strokeWidth: "1.5",
|
|
116
|
+
strokeLinecap: "round",
|
|
117
|
+
strokeLinejoin: "round"
|
|
118
|
+
}
|
|
119
|
+
)
|
|
120
|
+
}
|
|
121
|
+
), lr = ({
|
|
122
|
+
size: o = 24,
|
|
123
|
+
color: t = c,
|
|
124
|
+
...r
|
|
125
|
+
}) => /* @__PURE__ */ e(
|
|
126
|
+
"svg",
|
|
127
|
+
{
|
|
128
|
+
width: o,
|
|
129
|
+
height: o,
|
|
130
|
+
viewBox: "0 0 24 24",
|
|
131
|
+
fill: "none",
|
|
132
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
133
|
+
...r,
|
|
134
|
+
children: /* @__PURE__ */ e(
|
|
135
|
+
"path",
|
|
136
|
+
{
|
|
137
|
+
d: "M18 15L12 9L6 15",
|
|
138
|
+
stroke: t,
|
|
139
|
+
strokeWidth: "1.5",
|
|
140
|
+
strokeLinecap: "round",
|
|
141
|
+
strokeLinejoin: "round"
|
|
142
|
+
}
|
|
143
|
+
)
|
|
144
|
+
}
|
|
145
|
+
), ar = ({
|
|
146
|
+
size: o = 8,
|
|
147
|
+
color: t = c,
|
|
148
|
+
...r
|
|
149
|
+
}) => {
|
|
150
|
+
const n = o, l = o * 1.75;
|
|
151
|
+
return /* @__PURE__ */ e(
|
|
152
|
+
"svg",
|
|
153
|
+
{
|
|
154
|
+
width: n,
|
|
155
|
+
height: l,
|
|
156
|
+
viewBox: "0 0 8 14",
|
|
157
|
+
fill: "none",
|
|
158
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
159
|
+
...r,
|
|
160
|
+
children: /* @__PURE__ */ e(
|
|
161
|
+
"path",
|
|
162
|
+
{
|
|
163
|
+
d: "M7 1L1 7L7 13",
|
|
164
|
+
stroke: t
|
|
165
|
+
}
|
|
166
|
+
)
|
|
167
|
+
}
|
|
168
|
+
);
|
|
169
|
+
}, ir = ({
|
|
170
|
+
size: o = 8,
|
|
171
|
+
color: t = c,
|
|
172
|
+
...r
|
|
173
|
+
}) => {
|
|
174
|
+
const n = o, l = o * 1.75;
|
|
175
|
+
return /* @__PURE__ */ e(
|
|
176
|
+
"svg",
|
|
177
|
+
{
|
|
178
|
+
width: n,
|
|
179
|
+
height: l,
|
|
180
|
+
viewBox: "0 0 8 14",
|
|
181
|
+
fill: "none",
|
|
182
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
183
|
+
...r,
|
|
184
|
+
children: /* @__PURE__ */ e(
|
|
185
|
+
"path",
|
|
186
|
+
{
|
|
187
|
+
d: "M1 1L7 7L1 13",
|
|
188
|
+
stroke: t
|
|
189
|
+
}
|
|
190
|
+
)
|
|
191
|
+
}
|
|
192
|
+
);
|
|
193
|
+
};
|
|
194
|
+
export {
|
|
195
|
+
uo as BgColorButtonBgBasicDefault,
|
|
196
|
+
Co as BgColorButtonBgBasicDisabled,
|
|
197
|
+
go as BgColorButtonBgBasicFocused,
|
|
198
|
+
po as BgColorButtonBgBasicHover,
|
|
199
|
+
yo as BgColorButtonBgBasicPreseed,
|
|
200
|
+
eo as BgColorButtonBgPrimaryDefault,
|
|
201
|
+
lo as BgColorButtonBgPrimaryDisabled,
|
|
202
|
+
no as BgColorButtonBgPrimaryFocused,
|
|
203
|
+
to as BgColorButtonBgPrimaryHover,
|
|
204
|
+
ro as BgColorButtonBgPrimaryPressed,
|
|
205
|
+
ao as BgColorButtonBgPrimarylineDefault,
|
|
206
|
+
fo as BgColorButtonBgPrimarylineDisabled,
|
|
207
|
+
co as BgColorButtonBgPrimarylineFocused,
|
|
208
|
+
io as BgColorButtonBgPrimarylineHover,
|
|
209
|
+
so as BgColorButtonBgPrimarylinePressed,
|
|
210
|
+
Fo as BgColorButtonBgSettingDefault,
|
|
211
|
+
So as BgColorButtonBgSettingDisabled,
|
|
212
|
+
wo as BgColorButtonBgSettingFocused,
|
|
213
|
+
xo as BgColorButtonBgSettingHover,
|
|
214
|
+
Po as BgColorButtonBgSettingPressed,
|
|
215
|
+
Bo as BgColorButtonBgWarningDefault,
|
|
216
|
+
mo as BgColorButtonBgWarningDisabled,
|
|
217
|
+
bo as BgColorButtonBgWarningFocused,
|
|
218
|
+
vo as BgColorButtonBgWarningHover,
|
|
219
|
+
ho as BgColorButtonBgWarningPressed,
|
|
220
|
+
te as BorderColorButtonBorderBasicDefault,
|
|
221
|
+
le as BorderColorButtonBorderBasicFocused,
|
|
222
|
+
re as BorderColorButtonBorderBasicHover,
|
|
223
|
+
ne as BorderColorButtonBorderBasicPressed,
|
|
224
|
+
Zo as BorderColorButtonBorderPrimarylineDefault,
|
|
225
|
+
ee as BorderColorButtonBorderPrimarylineFocused,
|
|
226
|
+
_o as BorderColorButtonBorderPrimarylineHover,
|
|
227
|
+
oe as BorderColorButtonBorderPrimarylinePressed,
|
|
228
|
+
fe as ButtonBorderButtonBasicDefaultColor,
|
|
229
|
+
pe as ButtonBorderButtonBasicFocusedColor,
|
|
230
|
+
ue as ButtonBorderButtonBasicHoverColor,
|
|
231
|
+
de as ButtonBorderButtonBasicPressedColor,
|
|
232
|
+
ae as ButtonBorderButtonPrimarylineDefaultColor,
|
|
233
|
+
ce as ButtonBorderButtonPrimarylineFocusedColor,
|
|
234
|
+
ie as ButtonBorderButtonPrimarylineHoverColor,
|
|
235
|
+
se as ButtonBorderButtonPrimarylinePressedColor,
|
|
236
|
+
De as ColorAqua100,
|
|
237
|
+
Te as ColorAqua200,
|
|
238
|
+
We as ColorAqua300,
|
|
239
|
+
He as ColorAqua400,
|
|
240
|
+
Se as ColorAqua50,
|
|
241
|
+
Ee as ColorAqua500,
|
|
242
|
+
Ae as ColorAqua600,
|
|
243
|
+
Le as ColorAqua700,
|
|
244
|
+
ze as ColorAqua75,
|
|
245
|
+
Ge as ColorAqua800,
|
|
246
|
+
Re as ColorAqua900,
|
|
247
|
+
Pt as ColorBlue100,
|
|
248
|
+
wt as ColorBlue200,
|
|
249
|
+
St as ColorBlue300,
|
|
250
|
+
zt as ColorBlue400,
|
|
251
|
+
xt as ColorBlue50,
|
|
252
|
+
Dt as ColorBlue500,
|
|
253
|
+
Tt as ColorBlue600,
|
|
254
|
+
Wt as ColorBlue700,
|
|
255
|
+
Ht as ColorBlue800,
|
|
256
|
+
Et as ColorBlue900,
|
|
257
|
+
Vt as ColorGrape100,
|
|
258
|
+
$t as ColorGrape200,
|
|
259
|
+
Ut as ColorGrape300,
|
|
260
|
+
Xt as ColorGrape400,
|
|
261
|
+
It as ColorGrape50,
|
|
262
|
+
Jt as ColorGrape500,
|
|
263
|
+
Nt as ColorGrape600,
|
|
264
|
+
Kt as ColorGrape700,
|
|
265
|
+
Qt as ColorGrape800,
|
|
266
|
+
Zt as ColorGrape900,
|
|
267
|
+
ye as ColorGray0,
|
|
268
|
+
Be as ColorGray100,
|
|
269
|
+
we as ColorGray1000,
|
|
270
|
+
ve as ColorGray200,
|
|
271
|
+
ge as ColorGray25,
|
|
272
|
+
he as ColorGray300,
|
|
273
|
+
be as ColorGray400,
|
|
274
|
+
Ce as ColorGray50,
|
|
275
|
+
me as ColorGray500,
|
|
276
|
+
Fe as ColorGray600,
|
|
277
|
+
xe as ColorGray700,
|
|
278
|
+
Pe as ColorGray800,
|
|
279
|
+
c as ColorGray900,
|
|
280
|
+
yt as ColorGreen100,
|
|
281
|
+
gt as ColorGreen200,
|
|
282
|
+
Ct as ColorGreen300,
|
|
283
|
+
Bt as ColorGreen400,
|
|
284
|
+
pt as ColorGreen50,
|
|
285
|
+
vt as ColorGreen500,
|
|
286
|
+
ht as ColorGreen600,
|
|
287
|
+
bt as ColorGreen700,
|
|
288
|
+
mt as ColorGreen800,
|
|
289
|
+
Ft as ColorGreen900,
|
|
290
|
+
Je as ColorOrange100,
|
|
291
|
+
Ne as ColorOrange200,
|
|
292
|
+
Ke as ColorOrange300,
|
|
293
|
+
Qe as ColorOrange400,
|
|
294
|
+
Xe as ColorOrange50,
|
|
295
|
+
Ze as ColorOrange500,
|
|
296
|
+
_e as ColorOrange600,
|
|
297
|
+
ot as ColorOrange700,
|
|
298
|
+
et as ColorOrange800,
|
|
299
|
+
tt as ColorOrange900,
|
|
300
|
+
rr as ColorPalette,
|
|
301
|
+
Lt as ColorPurple100,
|
|
302
|
+
Gt as ColorPurple200,
|
|
303
|
+
Rt as ColorPurple300,
|
|
304
|
+
kt as ColorPurple400,
|
|
305
|
+
At as ColorPurple50,
|
|
306
|
+
Ot as ColorPurple500,
|
|
307
|
+
qt as ColorPurple600,
|
|
308
|
+
Yt as ColorPurple700,
|
|
309
|
+
jt as ColorPurple800,
|
|
310
|
+
Mt as ColorPurple900,
|
|
311
|
+
Oe as ColorRed100,
|
|
312
|
+
qe as ColorRed200,
|
|
313
|
+
Ye as ColorRed300,
|
|
314
|
+
je as ColorRed400,
|
|
315
|
+
ke as ColorRed50,
|
|
316
|
+
Me as ColorRed500,
|
|
317
|
+
Ie as ColorRed600,
|
|
318
|
+
Ve as ColorRed700,
|
|
319
|
+
$e as ColorRed800,
|
|
320
|
+
Ue as ColorRed900,
|
|
321
|
+
nt as ColorYellow100,
|
|
322
|
+
lt as ColorYellow200,
|
|
323
|
+
at as ColorYellow300,
|
|
324
|
+
it as ColorYellow400,
|
|
325
|
+
rt as ColorYellow50,
|
|
326
|
+
st as ColorYellow500,
|
|
327
|
+
ct as ColorYellow600,
|
|
328
|
+
ft as ColorYellow700,
|
|
329
|
+
ut as ColorYellow800,
|
|
330
|
+
dt as ColorYellow900,
|
|
331
|
+
nr as IcChevronDown,
|
|
332
|
+
ar as IcChevronLeft,
|
|
333
|
+
ir as IcChevronRight,
|
|
334
|
+
lr as IcChevronUp,
|
|
335
|
+
q as SemanticColorBgDisabled,
|
|
336
|
+
Y as SemanticColorBgWhite,
|
|
337
|
+
I as SemanticColorBgWhiteFocused,
|
|
338
|
+
j as SemanticColorBgWhiteHover,
|
|
339
|
+
M as SemanticColorBgWhitePressed,
|
|
340
|
+
U as SemanticColorBorderLightgray01,
|
|
341
|
+
L as SemanticColorPrimary,
|
|
342
|
+
k as SemanticColorPrimaryFocused,
|
|
343
|
+
G as SemanticColorPrimaryHover,
|
|
344
|
+
R as SemanticColorPrimaryPressed,
|
|
345
|
+
Q as SemanticColorSetting,
|
|
346
|
+
oo as SemanticColorSettingFocused,
|
|
347
|
+
Z as SemanticColorSettingHover,
|
|
348
|
+
_ as SemanticColorSettingPressed,
|
|
349
|
+
$ as SemanticColorTextDarkgray03,
|
|
350
|
+
V as SemanticColorTextDisabled,
|
|
351
|
+
O as SemanticColorTextWhite,
|
|
352
|
+
X as SemanticColorWarning,
|
|
353
|
+
K as SemanticColorWarningFocused,
|
|
354
|
+
J as SemanticColorWarningHover,
|
|
355
|
+
N as SemanticColorWarningPressed,
|
|
356
|
+
_t as ShadowDashboardCardColor,
|
|
357
|
+
ko as TextColorButtonTextBasicDefault,
|
|
358
|
+
jo as TextColorButtonTextBasicDisabled,
|
|
359
|
+
Yo as TextColorButtonTextBasicFocused,
|
|
360
|
+
Oo as TextColorButtonTextBasicHover,
|
|
361
|
+
qo as TextColorButtonTextBasicPressed,
|
|
362
|
+
zo as TextColorButtonTextPrimaryDefault,
|
|
363
|
+
Ho as TextColorButtonTextPrimaryDisabled,
|
|
364
|
+
Wo as TextColorButtonTextPrimaryFocused,
|
|
365
|
+
Do as TextColorButtonTextPrimaryHover,
|
|
366
|
+
To as TextColorButtonTextPrimaryPressed,
|
|
367
|
+
Eo as TextColorButtonTextPrimarylineDefault,
|
|
368
|
+
Ro as TextColorButtonTextPrimarylineDisabled,
|
|
369
|
+
Go as TextColorButtonTextPrimarylineFocused,
|
|
370
|
+
Ao as TextColorButtonTextPrimarylineHover,
|
|
371
|
+
Lo as TextColorButtonTextPrimarylinePressed,
|
|
372
|
+
Xo as TextColorButtonTextSettingDefault,
|
|
373
|
+
Qo as TextColorButtonTextSettingDisabled,
|
|
374
|
+
Ko as TextColorButtonTextSettingFocused,
|
|
375
|
+
Jo as TextColorButtonTextSettingHover,
|
|
376
|
+
No as TextColorButtonTextSettingPressed,
|
|
377
|
+
Mo as TextColorButtonTextWarningDefault,
|
|
378
|
+
Uo as TextColorButtonTextWarningDisabled,
|
|
379
|
+
$o as TextColorButtonTextWarningFocused,
|
|
380
|
+
Io as TextColorButtonTextWarningHover,
|
|
381
|
+
Vo as TextColorButtonTextWarningPressed,
|
|
382
|
+
D as colorNames,
|
|
383
|
+
f as colors,
|
|
384
|
+
v as getCSSVariableName,
|
|
385
|
+
tr as getCSSVariableRef,
|
|
386
|
+
or as getColorShades,
|
|
387
|
+
er as getColorValue
|
|
388
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(o,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("react/jsx-runtime"),require("react"),require("@mantine/core")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","@mantine/core"],e):(o=typeof globalThis<"u"?globalThis:o||self,e(o.Foundation={},o.jsxRuntime,o.React,o.core))})(this,function(o,e,B,l){"use strict";const y="#0fd3d8",v="#11badd",h="#07a3c6",b="#11badd",p="#ffffff",m="#b0b0b0",F="#ffffff",P="#e7e7e7",T="#cdcdcd",S="#e7e7e7",w="#ffffff",D="#4a4a4a",W="#b0b0b0",z="#fa5252",G="#e03131",H="#c92a2a",A="#e03131",E="#9b9b9b",L="#808080",q="#666666",O="#808080",k="#0fd3d8",Y="#11badd",R="#07a3c6",j="#11badd",I="#b0b0b0",M="#ffffff",V="#e7e7e7",N="#cdcdcd",U="#e7e7e7",$="#b0b0b0",X="#ffffff",J="#e7e7e7",K="#cdcdcd",Q="#e7e7e7",Z="#b0b0b0",_="#fa5252",x="#e03131",oo="#c92a2a",eo="#e03131",to="#b0b0b0",ro="#9b9b9b",lo="#808080",no="#666666",ao="#808080",io="#b0b0b0",co="#ffffff",uo="#ffffff",fo="#ffffff",so="#ffffff",Co="#ffffff",go="#0fd3d8",Bo="#11badd",yo="#07a3c6",vo="#11badd",ho="#ffffff",bo="#4a4a4a",po="#4a4a4a",mo="#4a4a4a",Fo="#4a4a4a",Po="#ffffff",To="#ffffff",So="#ffffff",wo="#ffffff",Do="#ffffff",Wo="#ffffff",zo="#ffffff",Go="#ffffff",Ho="#ffffff",Ao="#ffffff",Eo="#ffffff",Lo="#0fd3d8",qo="#11badd",Oo="#07a3c6",ko="#11badd",Yo="#b0b0b0",Ro="#b0b0b0",jo="#b0b0b0",Io="#b0b0b0",Mo="#0fd3d8",Vo="#11badd",No="#07a3c6",Uo="#11badd",$o="#b0b0b0",Xo="#b0b0b0",Jo="#b0b0b0",Ko="#b0b0b0",Qo="#ffffff",Zo="#fbfbfb",_o="#f6f6f6",xo="#e7e7e7",oe="#d8d8d8",ee="#cdcdcd",te="#b0b0b0",re="#9b9b9b",le="#808080",ne="#666666",ae="#4a4a4a",u="#333333",ie="#000000",ce="#edfcff",ue="#d5f8ff",fe="#c8fdff",de="#98f4f6",se="#72eef1",Ce="#49e5e9",ge="#0fd3d8",Be="#11badd",ye="#07a3c6",ve="#00759a",he="#006180",be="#fef3f2",pe="#fee4e2",me="#fecdca",Fe="#fda29b",Pe="#ff8a8a",Te="#fa5252",Se="#f03e3e",we="#e03131",De="#c92a2a",We="#ab1313",ze="#fff4e6",Ge="#ffe8cc",He="#ffd8a8",Ae="#ffc078",Ee="#ffa94d",Le="#ff922b",qe="#fd7e14",Oe="#f76707",ke="#e8590c",Ye="#d9480f",Re="#fbffbf",je="#ffff9f",Ie="#fdff78",Me="#fffc33",Ve="#fff200",Ne="#ffe500",Ue="#fcc419",$e="#f59f00",Xe="#f08c00",Je="#e27500",Ke="#efffef",Qe="#d1fcd3",Ze="#a5f8a9",_e="#8bed90",xe="#6de372",ot="#30cc37",et="#0f8c14",tt="#027a48",rt="#05603a",lt="#054f31",nt="#eff8ff",at="#d8f0ff",it="#b2ddff",ct="#84caff",ut="#53b1fd",ft="#2e90fa",dt="#1570ef",st="#175cd3",Ct="#1849a9",gt="#194185",Bt="#f3f0ff",yt="#e5dbff",vt="#d0bfff",ht="#b197fc",bt="#9775fa",pt="#845ef7",mt="#7248ef",Ft="#5f36da",Pt="#5730cc",Tt="#4827ab",St="#f8f0fc",wt="#f3d9fa",Dt="#eebefa",Wt="#e599f7",zt="#da77f2",Gt="#cc5de8",Ht="#be4bdb",At="#ae3ec9",Et="#9c36b5",Lt="#862e9c",qt="#0000000a",Ot={global:JSON.parse('{"color":{"gray":{"0":{"value":"#fff","type":"color"},"25":{"value":"#FBFBFB","type":"color"},"50":{"value":"#F6F6F6","type":"color"},"100":{"value":"#E7E7E7","type":"color"},"200":{"value":"#D8D8D8","type":"color"},"300":{"value":"#CDCDCD","type":"color"},"400":{"value":"#B0B0B0","type":"color"},"500":{"value":"#9B9B9B","type":"color"},"600":{"value":"#808080","type":"color"},"700":{"value":"#666666","type":"color"},"800":{"value":"#4A4A4A","type":"color"},"900":{"value":"#333333","type":"color"},"1000":{"value":"#000","type":"color"}},"aqua":{"50":{"value":"#EDFCFF","type":"color"},"75":{"value":"#D5F8FF","type":"color"},"100":{"value":"#C8FDFF","type":"color"},"200":{"value":"#98F4F6","type":"color"},"300":{"value":"#72EEF1","type":"color"},"400":{"value":"#49E5E9","type":"color"},"500":{"value":"#0fd3d8","type":"color"},"600":{"value":"#11BADD","type":"color"},"700":{"value":"#07A3C6","type":"color"},"800":{"value":"#00759A","type":"color"},"900":{"value":"#006180","type":"color"}},"red":{"50":{"value":"#FEF3F2","type":"color"},"100":{"value":"#FEE4E2","type":"color"},"200":{"value":"#FECDCA","type":"color"},"300":{"value":"#FDA29B","type":"color"},"400":{"value":"#FF8A8A","type":"color"},"500":{"value":"#FA5252","type":"color"},"600":{"value":"#F03E3E","type":"color"},"700":{"value":"#E03131","type":"color"},"800":{"value":"#C92A2A","type":"color"},"900":{"value":"#AB1313","type":"color"}},"orange":{"50":{"value":"#FFF4E6","type":"color"},"100":{"value":"#FFE8CC","type":"color"},"200":{"value":"#FFD8A8","type":"color"},"300":{"value":"#FFC078","type":"color"},"400":{"value":"#FFA94D","type":"color"},"500":{"value":"#FF922B","type":"color"},"600":{"value":"#FD7E14","type":"color"},"700":{"value":"#F76707","type":"color"},"800":{"value":"#E8590C","type":"color"},"900":{"value":"#D9480F","type":"color"}},"yellow":{"50":{"value":"#FBFFBF","type":"color"},"100":{"value":"#FFFF9F","type":"color"},"200":{"value":"#FDFF78","type":"color"},"300":{"value":"#FFFC33","type":"color"},"400":{"value":"#FFF200","type":"color"},"500":{"value":"#FFE500","type":"color"},"600":{"value":"#FCC419","type":"color"},"700":{"value":"#F59F00","type":"color"},"800":{"value":"#F08C00","type":"color"},"900":{"value":"#E27500","type":"color"}},"green":{"50":{"value":"#EFFFEF","type":"color"},"100":{"value":"#D1FCD3","type":"color"},"200":{"value":"#A5F8A9","type":"color"},"300":{"value":"#8BED90","type":"color"},"400":{"value":"#6DE372","type":"color"},"500":{"value":"#30CC37","type":"color"},"600":{"value":"#0F8C14","type":"color"},"700":{"value":"#027A48","type":"color"},"800":{"value":"#05603A","type":"color"},"900":{"value":"#054F31","type":"color"}},"blue":{"50":{"value":"#EFF8FF","type":"color"},"100":{"value":"#D8F0FF","type":"color"},"200":{"value":"#B2DDFF","type":"color"},"300":{"value":"#84CAFF","type":"color"},"400":{"value":"#53B1FD","type":"color"},"500":{"value":"#2E90FA","type":"color"},"600":{"value":"#1570EF","type":"color"},"700":{"value":"#175CD3","type":"color"},"800":{"value":"#1849A9","type":"color"},"900":{"value":"#194185","type":"color"}},"purple":{"50":{"value":"#F3F0FF","type":"color"},"100":{"value":"#E5DBFF","type":"color"},"200":{"value":"#D0BFFF","type":"color"},"300":{"value":"#B197FC","type":"color"},"400":{"value":"#9775FA","type":"color"},"500":{"value":"#845EF7","type":"color"},"600":{"value":"#7248EF","type":"color"},"700":{"value":"#5F36DA","type":"color"},"800":{"value":"#5730CC","type":"color"},"900":{"value":"#4827AB","type":"color"}},"grape":{"50":{"value":"#F8F0FC","type":"color"},"100":{"value":"#F3D9FA","type":"color"},"200":{"value":"#EEBEFA","type":"color"},"300":{"value":"#E599F7","type":"color"},"400":{"value":"#DA77F2","type":"color"},"500":{"value":"#CC5DE8","type":"color"},"600":{"value":"#BE4BDB","type":"color"},"700":{"value":"#AE3EC9","type":"color"},"800":{"value":"#9C36B5","type":"color"},"900":{"value":"#862E9C","type":"color"}}},"web":{"H1-36-bold":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-bold}","lineHeight":"{Lh-300}","fontSize":"{font-size-1100}"},"type":"typography"},"H2-32-bold":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-bold}","lineHeight":"{Lh-300}","fontSize":"{font-size-900}"},"type":"typography"},"H3-28-bold":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-bold}","lineHeight":"{Lh-300}","fontSize":"{font-size-800}"},"type":"typography"},"H4-24-bold":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-bold}","lineHeight":"{Lh-400}","fontSize":"{font-size-700}"},"type":"typography"},"H5-20-bold":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-bold}","lineHeight":"{Lh-400}","fontSize":"{font-size-600}"},"type":"typography"},"T1-16-sb":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-semibold}","lineHeight":"{Lh-500}","fontSize":"{font-size-500}"},"type":"typography"},"T2-14-sb":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-semibold}","lineHeight":"{Lh-500}","fontSize":"{font-size-450}"},"type":"typography"},"T3-12-sb":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-semibold}","lineHeight":"{Lh-500}","fontSize":"{font-size-400}"},"type":"typography"},"B1-18-sb":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-semibold}","lineHeight":"{Lh-500}","fontSize":"{font-size-550}"},"type":"typography"},"B2-18-m":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-medium}","lineHeight":"{Lh-500}","fontSize":"{font-size-550}"},"type":"typography"},"B2-16-sb":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-semibold}","lineHeight":"{Lh-500}","fontSize":"{font-size-500}"},"type":"typography"},"B2-16-m":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-medium}","lineHeight":"{Lh-500}","fontSize":"{font-size-500}"},"type":"typography"},"B3-14-sb":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-semibold}","lineHeight":"{Lh-500}","fontSize":"{font-size-450}"},"type":"typography"},"B3-14-m":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-medium}","lineHeight":"{Lh-500}","fontSize":"{font-size-450}"},"type":"typography"},"C1-12-sb":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-semibold}","lineHeight":"{Lh-500}","fontSize":"{font-size-400}"},"type":"typography"},"C1-12-m":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-medium}","lineHeight":"{Lh-500}","fontSize":"{font-size-400}"},"type":"typography"},"C2-11-m":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-medium}","lineHeight":"{Lh-500}","fontSize":"{font-size-375}"},"type":"typography"}},"spacing-100":{"value":"4","type":"spacing"},"spacing-150":{"value":"6","type":"spacing"},"spacing-200":{"value":"8","type":"spacing"},"spacing-300":{"value":"12","type":"spacing"},"spacing-400":{"value":"16","type":"spacing"},"spacing-500":{"value":"20","type":"spacing"},"spacing-600":{"value":"24","type":"spacing"},"spacing-700":{"value":"28","type":"spacing"},"spacing-800":{"value":"32","type":"spacing"},"spacing-900":{"value":"36","type":"spacing"},"spacing-1000":{"value":"40","type":"spacing"},"spacing-1100":{"value":"44","type":"spacing"},"spacing-1200":{"value":"48","type":"spacing"},"spacing-1300":{"value":"52","type":"spacing"},"spacing-1400":{"value":"56","type":"spacing"},"spacing-1500":{"value":"60","type":"spacing"},"font-family-Pretendard":{"value":"Pretendard","type":"fontFamilies"},"font-weight-thin":{"value":"Thin","type":"fontWeights"},"font-weight-extralight":{"value":"ExtraLight","type":"fontWeights"},"font-weight-light":{"value":"Light","type":"fontWeights"},"font-weight-regular":{"value":"Regular","type":"fontWeights"},"font-weight-medium":{"value":"Medium","type":"fontWeights"},"font-weight-semibold":{"value":"SemiBold","type":"fontWeights"},"font-weight-extrabold":{"value":"ExtraBold","type":"fontWeights"},"font-weight-bold":{"value":"Bold","type":"fontWeights"},"font-weight-black":{"value":"Black","type":"fontWeights"},"Lh-500":{"value":"150%","type":"lineHeights"},"Lh-400":{"value":"140%","type":"lineHeights"},"Lh-300":{"value":"130%","type":"lineHeights"},"border-radius-0":{"value":"0px","type":"borderRadius"},"border-radius-50":{"value":"2px","type":"borderRadius"},"border-radius-100":{"value":"4px","type":"borderRadius"},"border-radius-150":{"value":"6px","type":"borderRadius"},"border-radius-200":{"value":"8px","type":"borderRadius"},"border-radius-300":{"value":"12px","type":"borderRadius"},"border-radius-400":{"value":"16px","type":"borderRadius"},"border-radius-500":{"value":"20px","type":"borderRadius"},"border-width-25":{"value":"1","type":"borderWidth"},"border-width-37":{"value":"1.5","type":"borderWidth"},"border-width-50":{"value":"2","type":"borderWidth"},"border-width-100":{"value":"4","type":"borderWidth"},"border-width-200":{"value":"8","type":"borderWidth"},"font-size-375":{"value":"11","type":"fontSizes"},"font-size-400":{"value":"12","type":"fontSizes"},"font-size-450":{"value":"14","type":"fontSizes"},"font-size-500":{"value":"16","type":"fontSizes"},"font-size-550":{"value":"18","type":"fontSizes"},"font-size-600":{"value":"20","type":"fontSizes"},"font-size-700":{"value":"24","type":"fontSizes"},"font-size-800":{"value":"28","type":"fontSizes"},"font-size-900":{"value":"32","type":"fontSizes"},"font-size-1000":{"value":"36","type":"fontSizes"},"font-size-1100":{"value":"40","type":"fontSizes"},"shadow-dashboard-card":{"value":{"x":"0","y":"8","blur":"32px","spread":"0","color":"rgba(0,0,0,0.04)","type":"dropShadow"},"type":"boxShadow"},"text-deco-underline":{"value":"underline","type":"textDecoration"},"text-deco-line-through":{"value":"line-through","type":"textDecoration"},"border-radius-1000":{"value":"9999px","type":"borderRadius"},"button":{"size-button-large":{"value":"50px","type":"sizing"},"size-button-medium":{"value":"40px","type":"sizing"},"size-button-small":{"value":"30px","type":"sizing"},"typo-button-large":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-bold}","lineHeight":"{Lh-300}","fontSize":"{font-size-550}"},"type":"typography","description":"large button 폰트 속성"},"typo-button-medium":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-semibold}","lineHeight":"{Lh-300}","fontSize":"{font-size-500}"},"type":"typography","description":"medium button 폰트 속성"},"typo-button-small":{"value":{"fontFamily":"{font-family-Pretendard}","fontWeight":"{font-weight-semibold}","lineHeight":"{Lh-300}","fontSize":"{font-size-450}"},"type":"typography","description":"small button 폰트 속성"},"border-radius-large":{"value":"{border-radius-150}","type":"borderRadius"},"border-radius-medium":{"value":"{border-radius-150}","type":"borderRadius"},"border-radius-small":{"value":"{border-radius-100}","type":"borderRadius"},"spacing-button-large":{"value":"{spacing-500}","type":"spacing"},"spacing-button-medium":{"value":"{spacing-400}","type":"spacing"},"spacing-button-small":{"value":"{spacing-300}","type":"spacing"},"spacing-button-large-icon":{"value":"{spacing-200}","type":"spacing"},"spacing-button-medium-icon":{"value":"{spacing-150}","type":"spacing"},"spacing-button-small-icon":{"value":"{spacing-100}","type":"spacing"},"spacing-button-large-icon-only":{"value":"{spacing-400}","type":"spacing"},"spacing-button-medium-icon-only":{"value":"{spacing-300}","type":"spacing"},"spacing-button-small-icon-only":{"value":"{spacing-200}","type":"spacing"}}}')}.global.color,f=Object.entries(Ot).reduce((t,[r,n])=>(t[r]=Object.entries(n).reduce((a,[i,C])=>(a[i]=C.value,a),{}),t),{}),g=Object.keys(f),kt=t=>f[t],Yt=(t,r)=>f[t]?.[r],s=(t,r)=>`--color-${t}-${r}`,Rt=(t,r)=>`var(${s(t,r)})`,jt=({colorName:t,shade:r,value:n})=>{const[a,i]=B.useState(!1),C=s(t,r),Xt=async()=>{try{await navigator.clipboard.writeText(n),i(!0),setTimeout(()=>i(!1),2e3)}catch(c){console.error("Failed to copy:",c)}},d=parseInt(n.replace("#",""),16)>16777215/2;return e.jsx(l.Tooltip,{label:a?"Copied!":"Click to copy HEX",position:"top",withArrow:!0,children:e.jsx(l.Paper,{p:"md",style:{backgroundColor:n,cursor:"pointer",border:"1px solid #e0e0e0",minHeight:"120px",transition:"transform 0.2s, box-shadow 0.2s"},onClick:Xt,onMouseEnter:c=>{c.currentTarget.style.transform="translateY(-2px)",c.currentTarget.style.boxShadow="0 4px 12px rgba(0,0,0,0.15)"},onMouseLeave:c=>{c.currentTarget.style.transform="translateY(0)",c.currentTarget.style.boxShadow="none"},children:e.jsxs(l.Stack,{gap:"xs",children:[e.jsx(l.Badge,{size:"sm",variant:"filled",style:{backgroundColor:d?"#333":"#fff",color:d?"#fff":"#333"},children:r}),e.jsx(l.Text,{size:"xs",fw:600,style:{color:d?"#333":"#fff"},children:n.toUpperCase()}),e.jsx(l.Text,{size:"xs",style:{color:d?"#666":"#ccc",fontFamily:"monospace"},children:C})]})})})},It=({colorName:t})=>{const r=f[t],n=Object.entries(r);return e.jsxs(l.Box,{mb:"xl",children:[e.jsxs(l.Group,{mb:"md",align:"center",children:[e.jsx(l.Title,{order:3,tt:"capitalize",children:t}),e.jsxs(l.Badge,{variant:"light",children:[n.length," shades"]})]}),e.jsx(l.Grid,{gutter:"md",children:n.map(([a,i])=>e.jsx(l.Grid.Col,{span:{base:12,xs:6,sm:4,md:3,lg:2},children:e.jsx(jt,{colorName:t,shade:a,value:i})},a))})]})},Mt=()=>e.jsx(l.Container,{size:"xl",py:"xl",children:e.jsxs(l.Stack,{gap:"xl",children:[e.jsxs(l.Box,{children:[e.jsx(l.Title,{order:1,mb:"xs",children:"Color Palette"}),e.jsx(l.Text,{c:"dimmed",size:"sm",children:"Click on any color chip to copy its HEX code"})]}),g.map(t=>e.jsx(It,{colorName:t},t))]})}),Vt=({size:t=24,color:r=u,...n})=>e.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M18 9L12 15L6 9",stroke:r,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),Nt=({size:t=24,color:r=u,...n})=>e.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M18 15L12 9L6 15",stroke:r,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),Ut=({size:t=8,color:r=u,...n})=>{const a=t,i=t*1.75;return e.jsx("svg",{width:a,height:i,viewBox:"0 0 8 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M7 1L1 7L7 13",stroke:r})})},$t=({size:t=8,color:r=u,...n})=>{const a=t,i=t*1.75;return e.jsx("svg",{width:a,height:i,viewBox:"0 0 8 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...n,children:e.jsx("path",{d:"M1 1L7 7L1 13",stroke:r})})};o.BgColorButtonBgBasicDefault=X,o.BgColorButtonBgBasicDisabled=Z,o.BgColorButtonBgBasicFocused=Q,o.BgColorButtonBgBasicHover=J,o.BgColorButtonBgBasicPreseed=K,o.BgColorButtonBgPrimaryDefault=k,o.BgColorButtonBgPrimaryDisabled=I,o.BgColorButtonBgPrimaryFocused=j,o.BgColorButtonBgPrimaryHover=Y,o.BgColorButtonBgPrimaryPressed=R,o.BgColorButtonBgPrimarylineDefault=M,o.BgColorButtonBgPrimarylineDisabled=$,o.BgColorButtonBgPrimarylineFocused=U,o.BgColorButtonBgPrimarylineHover=V,o.BgColorButtonBgPrimarylinePressed=N,o.BgColorButtonBgSettingDefault=ro,o.BgColorButtonBgSettingDisabled=io,o.BgColorButtonBgSettingFocused=ao,o.BgColorButtonBgSettingHover=lo,o.BgColorButtonBgSettingPressed=no,o.BgColorButtonBgWarningDefault=_,o.BgColorButtonBgWarningDisabled=to,o.BgColorButtonBgWarningFocused=eo,o.BgColorButtonBgWarningHover=x,o.BgColorButtonBgWarningPressed=oo,o.BorderColorButtonBorderBasicDefault=Yo,o.BorderColorButtonBorderBasicFocused=Io,o.BorderColorButtonBorderBasicHover=Ro,o.BorderColorButtonBorderBasicPressed=jo,o.BorderColorButtonBorderPrimarylineDefault=Lo,o.BorderColorButtonBorderPrimarylineFocused=ko,o.BorderColorButtonBorderPrimarylineHover=qo,o.BorderColorButtonBorderPrimarylinePressed=Oo,o.ButtonBorderButtonBasicDefaultColor=$o,o.ButtonBorderButtonBasicFocusedColor=Ko,o.ButtonBorderButtonBasicHoverColor=Xo,o.ButtonBorderButtonBasicPressedColor=Jo,o.ButtonBorderButtonPrimarylineDefaultColor=Mo,o.ButtonBorderButtonPrimarylineFocusedColor=Uo,o.ButtonBorderButtonPrimarylineHoverColor=Vo,o.ButtonBorderButtonPrimarylinePressedColor=No,o.ColorAqua100=fe,o.ColorAqua200=de,o.ColorAqua300=se,o.ColorAqua400=Ce,o.ColorAqua50=ce,o.ColorAqua500=ge,o.ColorAqua600=Be,o.ColorAqua700=ye,o.ColorAqua75=ue,o.ColorAqua800=ve,o.ColorAqua900=he,o.ColorBlue100=at,o.ColorBlue200=it,o.ColorBlue300=ct,o.ColorBlue400=ut,o.ColorBlue50=nt,o.ColorBlue500=ft,o.ColorBlue600=dt,o.ColorBlue700=st,o.ColorBlue800=Ct,o.ColorBlue900=gt,o.ColorGrape100=wt,o.ColorGrape200=Dt,o.ColorGrape300=Wt,o.ColorGrape400=zt,o.ColorGrape50=St,o.ColorGrape500=Gt,o.ColorGrape600=Ht,o.ColorGrape700=At,o.ColorGrape800=Et,o.ColorGrape900=Lt,o.ColorGray0=Qo,o.ColorGray100=xo,o.ColorGray1000=ie,o.ColorGray200=oe,o.ColorGray25=Zo,o.ColorGray300=ee,o.ColorGray400=te,o.ColorGray50=_o,o.ColorGray500=re,o.ColorGray600=le,o.ColorGray700=ne,o.ColorGray800=ae,o.ColorGray900=u,o.ColorGreen100=Qe,o.ColorGreen200=Ze,o.ColorGreen300=_e,o.ColorGreen400=xe,o.ColorGreen50=Ke,o.ColorGreen500=ot,o.ColorGreen600=et,o.ColorGreen700=tt,o.ColorGreen800=rt,o.ColorGreen900=lt,o.ColorOrange100=Ge,o.ColorOrange200=He,o.ColorOrange300=Ae,o.ColorOrange400=Ee,o.ColorOrange50=ze,o.ColorOrange500=Le,o.ColorOrange600=qe,o.ColorOrange700=Oe,o.ColorOrange800=ke,o.ColorOrange900=Ye,o.ColorPalette=Mt,o.ColorPurple100=yt,o.ColorPurple200=vt,o.ColorPurple300=ht,o.ColorPurple400=bt,o.ColorPurple50=Bt,o.ColorPurple500=pt,o.ColorPurple600=mt,o.ColorPurple700=Ft,o.ColorPurple800=Pt,o.ColorPurple900=Tt,o.ColorRed100=pe,o.ColorRed200=me,o.ColorRed300=Fe,o.ColorRed400=Pe,o.ColorRed50=be,o.ColorRed500=Te,o.ColorRed600=Se,o.ColorRed700=we,o.ColorRed800=De,o.ColorRed900=We,o.ColorYellow100=je,o.ColorYellow200=Ie,o.ColorYellow300=Me,o.ColorYellow400=Ve,o.ColorYellow50=Re,o.ColorYellow500=Ne,o.ColorYellow600=Ue,o.ColorYellow700=$e,o.ColorYellow800=Xe,o.ColorYellow900=Je,o.IcChevronDown=Vt,o.IcChevronLeft=Ut,o.IcChevronRight=$t,o.IcChevronUp=Nt,o.SemanticColorBgDisabled=m,o.SemanticColorBgWhite=F,o.SemanticColorBgWhiteFocused=S,o.SemanticColorBgWhiteHover=P,o.SemanticColorBgWhitePressed=T,o.SemanticColorBorderLightgray01=W,o.SemanticColorPrimary=y,o.SemanticColorPrimaryFocused=b,o.SemanticColorPrimaryHover=v,o.SemanticColorPrimaryPressed=h,o.SemanticColorSetting=E,o.SemanticColorSettingFocused=O,o.SemanticColorSettingHover=L,o.SemanticColorSettingPressed=q,o.SemanticColorTextDarkgray03=D,o.SemanticColorTextDisabled=w,o.SemanticColorTextWhite=p,o.SemanticColorWarning=z,o.SemanticColorWarningFocused=A,o.SemanticColorWarningHover=G,o.SemanticColorWarningPressed=H,o.ShadowDashboardCardColor=qt,o.TextColorButtonTextBasicDefault=bo,o.TextColorButtonTextBasicDisabled=Po,o.TextColorButtonTextBasicFocused=Fo,o.TextColorButtonTextBasicHover=po,o.TextColorButtonTextBasicPressed=mo,o.TextColorButtonTextPrimaryDefault=co,o.TextColorButtonTextPrimaryDisabled=Co,o.TextColorButtonTextPrimaryFocused=so,o.TextColorButtonTextPrimaryHover=uo,o.TextColorButtonTextPrimaryPressed=fo,o.TextColorButtonTextPrimarylineDefault=go,o.TextColorButtonTextPrimarylineDisabled=ho,o.TextColorButtonTextPrimarylineFocused=vo,o.TextColorButtonTextPrimarylineHover=Bo,o.TextColorButtonTextPrimarylinePressed=yo,o.TextColorButtonTextSettingDefault=zo,o.TextColorButtonTextSettingDisabled=Eo,o.TextColorButtonTextSettingFocused=Ao,o.TextColorButtonTextSettingHover=Go,o.TextColorButtonTextSettingPressed=Ho,o.TextColorButtonTextWarningDefault=To,o.TextColorButtonTextWarningDisabled=Wo,o.TextColorButtonTextWarningFocused=Do,o.TextColorButtonTextWarningHover=So,o.TextColorButtonTextWarningPressed=wo,o.colorNames=g,o.colors=f,o.getCSSVariableName=s,o.getCSSVariableRef=Rt,o.getColorShades=kt,o.getColorValue=Yt,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
import { default as default_2 } from 'react';
|
|
2
|
+
import { SVGProps } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const BgColorButtonBgBasicDefault = "#ffffff";
|
|
5
|
+
|
|
6
|
+
export declare const BgColorButtonBgBasicDisabled = "#b0b0b0";
|
|
7
|
+
|
|
8
|
+
export declare const BgColorButtonBgBasicFocused = "#e7e7e7";
|
|
9
|
+
|
|
10
|
+
export declare const BgColorButtonBgBasicHover = "#e7e7e7";
|
|
11
|
+
|
|
12
|
+
export declare const BgColorButtonBgBasicPreseed = "#cdcdcd";
|
|
13
|
+
|
|
14
|
+
export declare const BgColorButtonBgPrimaryDefault = "#0fd3d8";
|
|
15
|
+
|
|
16
|
+
export declare const BgColorButtonBgPrimaryDisabled = "#b0b0b0";
|
|
17
|
+
|
|
18
|
+
export declare const BgColorButtonBgPrimaryFocused = "#11badd";
|
|
19
|
+
|
|
20
|
+
export declare const BgColorButtonBgPrimaryHover = "#11badd";
|
|
21
|
+
|
|
22
|
+
export declare const BgColorButtonBgPrimarylineDefault = "#ffffff";
|
|
23
|
+
|
|
24
|
+
export declare const BgColorButtonBgPrimarylineDisabled = "#b0b0b0";
|
|
25
|
+
|
|
26
|
+
export declare const BgColorButtonBgPrimarylineFocused = "#e7e7e7";
|
|
27
|
+
|
|
28
|
+
export declare const BgColorButtonBgPrimarylineHover = "#e7e7e7";
|
|
29
|
+
|
|
30
|
+
export declare const BgColorButtonBgPrimarylinePressed = "#cdcdcd";
|
|
31
|
+
|
|
32
|
+
export declare const BgColorButtonBgPrimaryPressed = "#07a3c6";
|
|
33
|
+
|
|
34
|
+
export declare const BgColorButtonBgSettingDefault = "#9b9b9b";
|
|
35
|
+
|
|
36
|
+
export declare const BgColorButtonBgSettingDisabled = "#b0b0b0";
|
|
37
|
+
|
|
38
|
+
export declare const BgColorButtonBgSettingFocused = "#808080";
|
|
39
|
+
|
|
40
|
+
export declare const BgColorButtonBgSettingHover = "#808080";
|
|
41
|
+
|
|
42
|
+
export declare const BgColorButtonBgSettingPressed = "#666666";
|
|
43
|
+
|
|
44
|
+
export declare const BgColorButtonBgWarningDefault = "#fa5252";
|
|
45
|
+
|
|
46
|
+
export declare const BgColorButtonBgWarningDisabled = "#b0b0b0";
|
|
47
|
+
|
|
48
|
+
export declare const BgColorButtonBgWarningFocused = "#e03131";
|
|
49
|
+
|
|
50
|
+
export declare const BgColorButtonBgWarningHover = "#e03131";
|
|
51
|
+
|
|
52
|
+
export declare const BgColorButtonBgWarningPressed = "#c92a2a";
|
|
53
|
+
|
|
54
|
+
export declare const BorderColorButtonBorderBasicDefault = "#b0b0b0";
|
|
55
|
+
|
|
56
|
+
export declare const BorderColorButtonBorderBasicFocused = "#b0b0b0";
|
|
57
|
+
|
|
58
|
+
export declare const BorderColorButtonBorderBasicHover = "#b0b0b0";
|
|
59
|
+
|
|
60
|
+
export declare const BorderColorButtonBorderBasicPressed = "#b0b0b0";
|
|
61
|
+
|
|
62
|
+
export declare const BorderColorButtonBorderPrimarylineDefault = "#0fd3d8";
|
|
63
|
+
|
|
64
|
+
export declare const BorderColorButtonBorderPrimarylineFocused = "#11badd";
|
|
65
|
+
|
|
66
|
+
export declare const BorderColorButtonBorderPrimarylineHover = "#11badd";
|
|
67
|
+
|
|
68
|
+
export declare const BorderColorButtonBorderPrimarylinePressed = "#07a3c6";
|
|
69
|
+
|
|
70
|
+
export declare const ButtonBorderButtonBasicDefaultColor = "#b0b0b0";
|
|
71
|
+
|
|
72
|
+
export declare const ButtonBorderButtonBasicFocusedColor = "#b0b0b0";
|
|
73
|
+
|
|
74
|
+
export declare const ButtonBorderButtonBasicHoverColor = "#b0b0b0";
|
|
75
|
+
|
|
76
|
+
export declare const ButtonBorderButtonBasicPressedColor = "#b0b0b0";
|
|
77
|
+
|
|
78
|
+
export declare const ButtonBorderButtonPrimarylineDefaultColor = "#0fd3d8";
|
|
79
|
+
|
|
80
|
+
export declare const ButtonBorderButtonPrimarylineFocusedColor = "#11badd";
|
|
81
|
+
|
|
82
|
+
export declare const ButtonBorderButtonPrimarylineHoverColor = "#11badd";
|
|
83
|
+
|
|
84
|
+
export declare const ButtonBorderButtonPrimarylinePressedColor = "#07a3c6";
|
|
85
|
+
|
|
86
|
+
export declare const ColorAqua100 = "#c8fdff";
|
|
87
|
+
|
|
88
|
+
export declare const ColorAqua200 = "#98f4f6";
|
|
89
|
+
|
|
90
|
+
export declare const ColorAqua300 = "#72eef1";
|
|
91
|
+
|
|
92
|
+
export declare const ColorAqua400 = "#49e5e9";
|
|
93
|
+
|
|
94
|
+
export declare const ColorAqua50 = "#edfcff";
|
|
95
|
+
|
|
96
|
+
export declare const ColorAqua500 = "#0fd3d8";
|
|
97
|
+
|
|
98
|
+
export declare const ColorAqua600 = "#11badd";
|
|
99
|
+
|
|
100
|
+
export declare const ColorAqua700 = "#07a3c6";
|
|
101
|
+
|
|
102
|
+
export declare const ColorAqua75 = "#d5f8ff";
|
|
103
|
+
|
|
104
|
+
export declare const ColorAqua800 = "#00759a";
|
|
105
|
+
|
|
106
|
+
export declare const ColorAqua900 = "#006180";
|
|
107
|
+
|
|
108
|
+
export declare const ColorBlue100 = "#d8f0ff";
|
|
109
|
+
|
|
110
|
+
export declare const ColorBlue200 = "#b2ddff";
|
|
111
|
+
|
|
112
|
+
export declare const ColorBlue300 = "#84caff";
|
|
113
|
+
|
|
114
|
+
export declare const ColorBlue400 = "#53b1fd";
|
|
115
|
+
|
|
116
|
+
export declare const ColorBlue50 = "#eff8ff";
|
|
117
|
+
|
|
118
|
+
export declare const ColorBlue500 = "#2e90fa";
|
|
119
|
+
|
|
120
|
+
export declare const ColorBlue600 = "#1570ef";
|
|
121
|
+
|
|
122
|
+
export declare const ColorBlue700 = "#175cd3";
|
|
123
|
+
|
|
124
|
+
export declare const ColorBlue800 = "#1849a9";
|
|
125
|
+
|
|
126
|
+
export declare const ColorBlue900 = "#194185";
|
|
127
|
+
|
|
128
|
+
export declare const ColorGrape100 = "#f3d9fa";
|
|
129
|
+
|
|
130
|
+
export declare const ColorGrape200 = "#eebefa";
|
|
131
|
+
|
|
132
|
+
export declare const ColorGrape300 = "#e599f7";
|
|
133
|
+
|
|
134
|
+
export declare const ColorGrape400 = "#da77f2";
|
|
135
|
+
|
|
136
|
+
export declare const ColorGrape50 = "#f8f0fc";
|
|
137
|
+
|
|
138
|
+
export declare const ColorGrape500 = "#cc5de8";
|
|
139
|
+
|
|
140
|
+
export declare const ColorGrape600 = "#be4bdb";
|
|
141
|
+
|
|
142
|
+
export declare const ColorGrape700 = "#ae3ec9";
|
|
143
|
+
|
|
144
|
+
export declare const ColorGrape800 = "#9c36b5";
|
|
145
|
+
|
|
146
|
+
export declare const ColorGrape900 = "#862e9c";
|
|
147
|
+
|
|
148
|
+
export declare const ColorGray0 = "#ffffff";
|
|
149
|
+
|
|
150
|
+
export declare const ColorGray100 = "#e7e7e7";
|
|
151
|
+
|
|
152
|
+
export declare const ColorGray1000 = "#000000";
|
|
153
|
+
|
|
154
|
+
export declare const ColorGray200 = "#d8d8d8";
|
|
155
|
+
|
|
156
|
+
export declare const ColorGray25 = "#fbfbfb";
|
|
157
|
+
|
|
158
|
+
export declare const ColorGray300 = "#cdcdcd";
|
|
159
|
+
|
|
160
|
+
export declare const ColorGray400 = "#b0b0b0";
|
|
161
|
+
|
|
162
|
+
export declare const ColorGray50 = "#f6f6f6";
|
|
163
|
+
|
|
164
|
+
export declare const ColorGray500 = "#9b9b9b";
|
|
165
|
+
|
|
166
|
+
export declare const ColorGray600 = "#808080";
|
|
167
|
+
|
|
168
|
+
export declare const ColorGray700 = "#666666";
|
|
169
|
+
|
|
170
|
+
export declare const ColorGray800 = "#4a4a4a";
|
|
171
|
+
|
|
172
|
+
export declare const ColorGray900 = "#333333";
|
|
173
|
+
|
|
174
|
+
export declare const ColorGreen100 = "#d1fcd3";
|
|
175
|
+
|
|
176
|
+
export declare const ColorGreen200 = "#a5f8a9";
|
|
177
|
+
|
|
178
|
+
export declare const ColorGreen300 = "#8bed90";
|
|
179
|
+
|
|
180
|
+
export declare const ColorGreen400 = "#6de372";
|
|
181
|
+
|
|
182
|
+
export declare const ColorGreen50 = "#efffef";
|
|
183
|
+
|
|
184
|
+
export declare const ColorGreen500 = "#30cc37";
|
|
185
|
+
|
|
186
|
+
export declare const ColorGreen600 = "#0f8c14";
|
|
187
|
+
|
|
188
|
+
export declare const ColorGreen700 = "#027a48";
|
|
189
|
+
|
|
190
|
+
export declare const ColorGreen800 = "#05603a";
|
|
191
|
+
|
|
192
|
+
export declare const ColorGreen900 = "#054f31";
|
|
193
|
+
|
|
194
|
+
export declare type ColorName = keyof typeof colors;
|
|
195
|
+
|
|
196
|
+
export declare const colorNames: ColorName[];
|
|
197
|
+
|
|
198
|
+
export declare const ColorOrange100 = "#ffe8cc";
|
|
199
|
+
|
|
200
|
+
export declare const ColorOrange200 = "#ffd8a8";
|
|
201
|
+
|
|
202
|
+
export declare const ColorOrange300 = "#ffc078";
|
|
203
|
+
|
|
204
|
+
export declare const ColorOrange400 = "#ffa94d";
|
|
205
|
+
|
|
206
|
+
export declare const ColorOrange50 = "#fff4e6";
|
|
207
|
+
|
|
208
|
+
export declare const ColorOrange500 = "#ff922b";
|
|
209
|
+
|
|
210
|
+
export declare const ColorOrange600 = "#fd7e14";
|
|
211
|
+
|
|
212
|
+
export declare const ColorOrange700 = "#f76707";
|
|
213
|
+
|
|
214
|
+
export declare const ColorOrange800 = "#e8590c";
|
|
215
|
+
|
|
216
|
+
export declare const ColorOrange900 = "#d9480f";
|
|
217
|
+
|
|
218
|
+
export declare const ColorPalette: default_2.FC;
|
|
219
|
+
|
|
220
|
+
export declare interface ColorPaletteType {
|
|
221
|
+
[colorName: string]: ColorShades;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export declare const ColorPurple100 = "#e5dbff";
|
|
225
|
+
|
|
226
|
+
export declare const ColorPurple200 = "#d0bfff";
|
|
227
|
+
|
|
228
|
+
export declare const ColorPurple300 = "#b197fc";
|
|
229
|
+
|
|
230
|
+
export declare const ColorPurple400 = "#9775fa";
|
|
231
|
+
|
|
232
|
+
export declare const ColorPurple50 = "#f3f0ff";
|
|
233
|
+
|
|
234
|
+
export declare const ColorPurple500 = "#845ef7";
|
|
235
|
+
|
|
236
|
+
export declare const ColorPurple600 = "#7248ef";
|
|
237
|
+
|
|
238
|
+
export declare const ColorPurple700 = "#5f36da";
|
|
239
|
+
|
|
240
|
+
export declare const ColorPurple800 = "#5730cc";
|
|
241
|
+
|
|
242
|
+
export declare const ColorPurple900 = "#4827ab";
|
|
243
|
+
|
|
244
|
+
export declare const ColorRed100 = "#fee4e2";
|
|
245
|
+
|
|
246
|
+
export declare const ColorRed200 = "#fecdca";
|
|
247
|
+
|
|
248
|
+
export declare const ColorRed300 = "#fda29b";
|
|
249
|
+
|
|
250
|
+
export declare const ColorRed400 = "#ff8a8a";
|
|
251
|
+
|
|
252
|
+
export declare const ColorRed50 = "#fef3f2";
|
|
253
|
+
|
|
254
|
+
export declare const ColorRed500 = "#fa5252";
|
|
255
|
+
|
|
256
|
+
export declare const ColorRed600 = "#f03e3e";
|
|
257
|
+
|
|
258
|
+
export declare const ColorRed700 = "#e03131";
|
|
259
|
+
|
|
260
|
+
export declare const ColorRed800 = "#c92a2a";
|
|
261
|
+
|
|
262
|
+
export declare const ColorRed900 = "#ab1313";
|
|
263
|
+
|
|
264
|
+
export declare const colors: ColorPaletteType;
|
|
265
|
+
|
|
266
|
+
export declare type ColorShade<T extends ColorName> = keyof typeof colors[T];
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Design System Color Tokens
|
|
270
|
+
*
|
|
271
|
+
* token.json에서 추출된 색상 팔레트
|
|
272
|
+
* 모든 색상은 global.color에서 정의됩니다.
|
|
273
|
+
*/
|
|
274
|
+
export declare interface ColorShades {
|
|
275
|
+
[shade: string]: string;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
export declare const ColorYellow100 = "#ffff9f";
|
|
279
|
+
|
|
280
|
+
export declare const ColorYellow200 = "#fdff78";
|
|
281
|
+
|
|
282
|
+
export declare const ColorYellow300 = "#fffc33";
|
|
283
|
+
|
|
284
|
+
export declare const ColorYellow400 = "#fff200";
|
|
285
|
+
|
|
286
|
+
export declare const ColorYellow50 = "#fbffbf";
|
|
287
|
+
|
|
288
|
+
export declare const ColorYellow500 = "#ffe500";
|
|
289
|
+
|
|
290
|
+
export declare const ColorYellow600 = "#fcc419";
|
|
291
|
+
|
|
292
|
+
export declare const ColorYellow700 = "#f59f00";
|
|
293
|
+
|
|
294
|
+
export declare const ColorYellow800 = "#f08c00";
|
|
295
|
+
|
|
296
|
+
export declare const ColorYellow900 = "#e27500";
|
|
297
|
+
|
|
298
|
+
export declare const getColorShades: (colorName: ColorName) => ColorShades;
|
|
299
|
+
|
|
300
|
+
export declare const getColorValue: (colorName: ColorName, shade: string) => string | undefined;
|
|
301
|
+
|
|
302
|
+
export declare const getCSSVariableName: (colorName: string, shade: string) => string;
|
|
303
|
+
|
|
304
|
+
export declare const getCSSVariableRef: (colorName: string, shade: string) => string;
|
|
305
|
+
|
|
306
|
+
export declare const IcChevronDown: default_2.FC<IconProps>;
|
|
307
|
+
|
|
308
|
+
export declare const IcChevronLeft: default_2.FC<IconProps>;
|
|
309
|
+
|
|
310
|
+
export declare const IcChevronRight: default_2.FC<IconProps>;
|
|
311
|
+
|
|
312
|
+
export declare const IcChevronUp: default_2.FC<IconProps>;
|
|
313
|
+
|
|
314
|
+
export declare interface IconProps extends SVGProps<SVGSVGElement> {
|
|
315
|
+
size?: number;
|
|
316
|
+
color?: string;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
export declare const SemanticColorBgDisabled = "#b0b0b0";
|
|
320
|
+
|
|
321
|
+
export declare const SemanticColorBgWhite = "#ffffff";
|
|
322
|
+
|
|
323
|
+
export declare const SemanticColorBgWhiteFocused = "#e7e7e7";
|
|
324
|
+
|
|
325
|
+
export declare const SemanticColorBgWhiteHover = "#e7e7e7";
|
|
326
|
+
|
|
327
|
+
export declare const SemanticColorBgWhitePressed = "#cdcdcd";
|
|
328
|
+
|
|
329
|
+
export declare const SemanticColorBorderLightgray01 = "#b0b0b0";
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Do not edit directly, this file was auto-generated.
|
|
333
|
+
*/
|
|
334
|
+
export declare const SemanticColorPrimary = "#0fd3d8";
|
|
335
|
+
|
|
336
|
+
export declare const SemanticColorPrimaryFocused = "#11badd";
|
|
337
|
+
|
|
338
|
+
export declare const SemanticColorPrimaryHover = "#11badd";
|
|
339
|
+
|
|
340
|
+
export declare const SemanticColorPrimaryPressed = "#07a3c6";
|
|
341
|
+
|
|
342
|
+
export declare const SemanticColorSetting = "#9b9b9b";
|
|
343
|
+
|
|
344
|
+
export declare const SemanticColorSettingFocused = "#808080";
|
|
345
|
+
|
|
346
|
+
export declare const SemanticColorSettingHover = "#808080";
|
|
347
|
+
|
|
348
|
+
export declare const SemanticColorSettingPressed = "#666666";
|
|
349
|
+
|
|
350
|
+
export declare const SemanticColorTextDarkgray03 = "#4a4a4a";
|
|
351
|
+
|
|
352
|
+
export declare const SemanticColorTextDisabled = "#ffffff";
|
|
353
|
+
|
|
354
|
+
export declare const SemanticColorTextWhite = "#ffffff";
|
|
355
|
+
|
|
356
|
+
export declare const SemanticColorWarning = "#fa5252";
|
|
357
|
+
|
|
358
|
+
export declare const SemanticColorWarningFocused = "#e03131";
|
|
359
|
+
|
|
360
|
+
export declare const SemanticColorWarningHover = "#e03131";
|
|
361
|
+
|
|
362
|
+
export declare const SemanticColorWarningPressed = "#c92a2a";
|
|
363
|
+
|
|
364
|
+
export declare const ShadowDashboardCardColor = "#0000000a";
|
|
365
|
+
|
|
366
|
+
export declare const TextColorButtonTextBasicDefault = "#4a4a4a";
|
|
367
|
+
|
|
368
|
+
export declare const TextColorButtonTextBasicDisabled = "#ffffff";
|
|
369
|
+
|
|
370
|
+
export declare const TextColorButtonTextBasicFocused = "#4a4a4a";
|
|
371
|
+
|
|
372
|
+
export declare const TextColorButtonTextBasicHover = "#4a4a4a";
|
|
373
|
+
|
|
374
|
+
export declare const TextColorButtonTextBasicPressed = "#4a4a4a";
|
|
375
|
+
|
|
376
|
+
export declare const TextColorButtonTextPrimaryDefault = "#ffffff";
|
|
377
|
+
|
|
378
|
+
export declare const TextColorButtonTextPrimaryDisabled = "#ffffff";
|
|
379
|
+
|
|
380
|
+
export declare const TextColorButtonTextPrimaryFocused = "#ffffff";
|
|
381
|
+
|
|
382
|
+
export declare const TextColorButtonTextPrimaryHover = "#ffffff";
|
|
383
|
+
|
|
384
|
+
export declare const TextColorButtonTextPrimarylineDefault = "#0fd3d8";
|
|
385
|
+
|
|
386
|
+
export declare const TextColorButtonTextPrimarylineDisabled = "#ffffff";
|
|
387
|
+
|
|
388
|
+
export declare const TextColorButtonTextPrimarylineFocused = "#11badd";
|
|
389
|
+
|
|
390
|
+
export declare const TextColorButtonTextPrimarylineHover = "#11badd";
|
|
391
|
+
|
|
392
|
+
export declare const TextColorButtonTextPrimarylinePressed = "#07a3c6";
|
|
393
|
+
|
|
394
|
+
export declare const TextColorButtonTextPrimaryPressed = "#ffffff";
|
|
395
|
+
|
|
396
|
+
export declare const TextColorButtonTextSettingDefault = "#ffffff";
|
|
397
|
+
|
|
398
|
+
export declare const TextColorButtonTextSettingDisabled = "#ffffff";
|
|
399
|
+
|
|
400
|
+
export declare const TextColorButtonTextSettingFocused = "#ffffff";
|
|
401
|
+
|
|
402
|
+
export declare const TextColorButtonTextSettingHover = "#ffffff";
|
|
403
|
+
|
|
404
|
+
export declare const TextColorButtonTextSettingPressed = "#ffffff";
|
|
405
|
+
|
|
406
|
+
export declare const TextColorButtonTextWarningDefault = "#ffffff";
|
|
407
|
+
|
|
408
|
+
export declare const TextColorButtonTextWarningDisabled = "#ffffff";
|
|
409
|
+
|
|
410
|
+
export declare const TextColorButtonTextWarningFocused = "#ffffff";
|
|
411
|
+
|
|
412
|
+
export declare const TextColorButtonTextWarningHover = "#ffffff";
|
|
413
|
+
|
|
414
|
+
export declare const TextColorButtonTextWarningPressed = "#ffffff";
|
|
415
|
+
|
|
416
|
+
export { }
|
package/package.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pop-ui/foundation",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.0.22",
|
|
5
|
+
"main": "./dist/foundation.umd.cjs",
|
|
6
|
+
"module": "./dist/foundation.js",
|
|
7
|
+
"types": "./dist/types/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": {
|
|
11
|
+
"types": "./dist/types/index.d.ts",
|
|
12
|
+
"default": "./dist/foundation.js"
|
|
13
|
+
},
|
|
14
|
+
"require": {
|
|
15
|
+
"types": "./dist/types/index.d.ts",
|
|
16
|
+
"default": "./dist/foundation.umd.cjs"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/datepop/pop-ui"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist",
|
|
26
|
+
"README.md"
|
|
27
|
+
],
|
|
28
|
+
"license": "MIT",
|
|
29
|
+
"publishConfig": {
|
|
30
|
+
"access": "public"
|
|
31
|
+
},
|
|
32
|
+
"scripts": {
|
|
33
|
+
"dev": "vite",
|
|
34
|
+
"build": "vite build",
|
|
35
|
+
"typecheck": "tsc",
|
|
36
|
+
"token-transform": "token-transformer token.json transformed-token.json --expandTypography --expandShadow --expandCompotision --expandBorder",
|
|
37
|
+
"token-build": "style-dictionary build --config config.json"
|
|
38
|
+
},
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"react": "^19.2.0"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@types/node": "^24.9.2",
|
|
44
|
+
"@types/react": "^19.2.2",
|
|
45
|
+
"@vitejs/plugin-react": "^5.1.0",
|
|
46
|
+
"react": "^19.2.0",
|
|
47
|
+
"style-dictionary": "^5.1.1",
|
|
48
|
+
"token-transformer": "^0.0.33",
|
|
49
|
+
"typescript": "^5.9.3",
|
|
50
|
+
"vite": "^7.1.12",
|
|
51
|
+
"vite-plugin-dts": "^4.5.4"
|
|
52
|
+
},
|
|
53
|
+
"gitHead": "99cfafa92cd9692fa808fe05c26510197013aa69"
|
|
54
|
+
}
|