@nurihaus/web-design-system 1.2.14 → 1.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/check-box/check-box.d.ts +2 -1
- package/dist/components/check-box/check-box.stories.d.ts +1 -1
- package/package.json +2 -3
- package/styles/align-items.css +0 -19
- package/styles/display.css +0 -31
- package/styles/flex-direction.css +0 -15
- package/styles/justify-content.css +0 -23
- package/styles/overflow.css +0 -47
- package/styles/position.css +0 -19
- package/styles/reset.css +0 -47
- package/styles/token/color.css +0 -38
- package/styles/token/colors.ts +0 -30
- package/styles/token/cursor.css +0 -5
- package/styles/token/font.css +0 -38
- package/styles/token/radius.css +0 -6
- package/styles/token/space.css +0 -13
|
@@ -2,8 +2,9 @@ import "./check-box-style.css";
|
|
|
2
2
|
import "../../styles/token/color.css";
|
|
3
3
|
import "../../styles/token/font.css";
|
|
4
4
|
import { CheckBoxProps } from "./check-box-type";
|
|
5
|
+
import { ReactNode } from "react";
|
|
5
6
|
declare const CheckBox: (props: CheckBoxProps & {
|
|
6
|
-
label: string;
|
|
7
|
+
label: string | ReactNode;
|
|
7
8
|
iconSize?: number;
|
|
8
9
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export default CheckBox;
|
|
@@ -3,7 +3,7 @@ import CheckBox from "./check-box";
|
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
5
|
component: (props: import("./check-box-type").CheckBoxProps & {
|
|
6
|
-
label: string;
|
|
6
|
+
label: string | import("react").ReactNode;
|
|
7
7
|
iconSize?: number;
|
|
8
8
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
};
|
package/package.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nurihaus/web-design-system",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.16",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "nurilounge-admin-design-system",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"files": [
|
|
9
9
|
"dist",
|
|
10
|
-
"README.md"
|
|
11
|
-
"styles"
|
|
10
|
+
"README.md"
|
|
12
11
|
],
|
|
13
12
|
"author": "nuri",
|
|
14
13
|
"license": "MIT",
|
package/styles/align-items.css
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
.nuri-ai-start {
|
|
2
|
-
align-items: flex-start;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.nuri-ai-center {
|
|
6
|
-
align-items: center;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.nuri-ai-end {
|
|
10
|
-
align-items: flex-end;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.nuri-ai-stretch {
|
|
14
|
-
align-items: stretch;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.nuri-ai-baseline {
|
|
18
|
-
align-items: baseline;
|
|
19
|
-
}
|
package/styles/display.css
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
.nuri-display-flex {
|
|
2
|
-
display: flex;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.nuri-display-inline-flex {
|
|
6
|
-
display: inline-flex;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.nuri-display-block {
|
|
10
|
-
display: block;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.nuri-display-inline-block {
|
|
14
|
-
display: inline-block;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.nuri-display-grid {
|
|
18
|
-
display: grid;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.nuri-display-inline-grid {
|
|
22
|
-
display: inline-grid;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.nuri-display-contents {
|
|
26
|
-
display: contents;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.nuri-display-none {
|
|
30
|
-
display: none;
|
|
31
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
.nuri-justify-content-start {
|
|
2
|
-
justify-content: flex-start;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.nuri-justify-content-center {
|
|
6
|
-
justify-content: center;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.nuri-justify-content-end {
|
|
10
|
-
justify-content: flex-end;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.nuri-justify-content-between {
|
|
14
|
-
justify-content: space-between;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.nuri-justify-content-around {
|
|
18
|
-
justify-content: space-around;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.nuri-justify-content-evenly {
|
|
22
|
-
justify-content: space-evenly;
|
|
23
|
-
}
|
package/styles/overflow.css
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
.nuri-overflow-visible {
|
|
2
|
-
overflow: visible;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.nuri-overflow-hidden {
|
|
6
|
-
overflow: hidden;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.nuri-overflow-scroll {
|
|
10
|
-
overflow: scroll;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.nuri-overflow-auto {
|
|
14
|
-
overflow: auto;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.nuri-overflow-x-visible {
|
|
18
|
-
overflow-x: visible;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.nuri-overflow-x-hidden {
|
|
22
|
-
overflow-x: hidden;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.nuri-overflow-x-scroll {
|
|
26
|
-
overflow-x: scroll;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.nuri-overflow-x-auto {
|
|
30
|
-
overflow-x: auto;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.nuri-overflow-y-visible {
|
|
34
|
-
overflow-y: visible;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.nuri-overflow-y-hidden {
|
|
38
|
-
overflow-y: hidden;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.nuri-overflow-y-scroll {
|
|
42
|
-
overflow-y: scroll;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.nuri-overflow-y-auto {
|
|
46
|
-
overflow-y: auto;
|
|
47
|
-
}
|
package/styles/position.css
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
.nuri-position-static {
|
|
2
|
-
position: static;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.nuri-position-relative {
|
|
6
|
-
position: relative;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.nuri-position-absolute {
|
|
10
|
-
position: absolute;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.nuri-position-fixed {
|
|
14
|
-
position: fixed;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.nuri-position-sticky {
|
|
18
|
-
position: sticky;
|
|
19
|
-
}
|
package/styles/reset.css
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/* 모든 요소의 마진과 패딩 제거 */
|
|
2
|
-
* {
|
|
3
|
-
margin: 0;
|
|
4
|
-
padding: 0;
|
|
5
|
-
box-sizing: border-box;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
/* 기본 폰트 설정 및 텍스트 렌더링 최적화 */
|
|
9
|
-
html {
|
|
10
|
-
-webkit-text-size-adjust: 100%;
|
|
11
|
-
-webkit-font-smoothing: antialiased;
|
|
12
|
-
-moz-osx-font-smoothing: grayscale;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/* 리스트 스타일 제거 */
|
|
16
|
-
ul,
|
|
17
|
-
ol {
|
|
18
|
-
list-style: none;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
/* 링크 스타일 초기화 */
|
|
22
|
-
a {
|
|
23
|
-
text-decoration: none;
|
|
24
|
-
color: inherit;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/* 버튼 스타일 초기화 */
|
|
28
|
-
button {
|
|
29
|
-
border: none;
|
|
30
|
-
background: none;
|
|
31
|
-
cursor: pointer;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/* 이미지 관련 설정 */
|
|
35
|
-
img {
|
|
36
|
-
max-width: 100%;
|
|
37
|
-
height: auto;
|
|
38
|
-
display: block;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
/* 폼 요소 스타일 초기화 */
|
|
42
|
-
input,
|
|
43
|
-
textarea,
|
|
44
|
-
select {
|
|
45
|
-
font-family: inherit;
|
|
46
|
-
font-size: inherit;
|
|
47
|
-
}
|
package/styles/token/color.css
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
.nuri-theme {
|
|
2
|
-
--color-primary-black: #000000;
|
|
3
|
-
--color-primary-white: #ffffff;
|
|
4
|
-
--color-primary-gray-fa: #fafafa;
|
|
5
|
-
--color-primary-gray-f4: #f4f4f5;
|
|
6
|
-
--color-primary-gray-e4: #e4e4e7;
|
|
7
|
-
--color-primary-gray-d4: #d4d4d8;
|
|
8
|
-
--color-primary-gray-a1: #a1a1aa;
|
|
9
|
-
--color-primary-gray-71: #71717a;
|
|
10
|
-
--color-primary-gray-52: #52525b;
|
|
11
|
-
--color-primary-gray-3f: #3f3f46;
|
|
12
|
-
--color-primary-gray-27: #27272a;
|
|
13
|
-
--color-primary-gray-18: #18181b;
|
|
14
|
-
|
|
15
|
-
--color-point-purple-39: #391d5d;
|
|
16
|
-
--color-point-purple-4c: #4c277c;
|
|
17
|
-
--color-point-purple-dd: #ddd1f0;
|
|
18
|
-
--color-point-purple-e9: #e9e0f5;
|
|
19
|
-
--color-point-purple-f4: #f4effa;
|
|
20
|
-
--color-point-purple-41: #4c1d88;
|
|
21
|
-
--color-point-purple-95: #957eb4;
|
|
22
|
-
|
|
23
|
-
--color-accent-red-df: #df535c;
|
|
24
|
-
--color-accent-red-c8: #c8424b;
|
|
25
|
-
--color-accent-magenta-b0: #b02e4c;
|
|
26
|
-
--color-accent-green-28: #289a3a;
|
|
27
|
-
--color-accent-blue-01: #01ece1;
|
|
28
|
-
--color-accent-blue-25: #2563eb;
|
|
29
|
-
--color-accent-pink-ec: #ec5cef;
|
|
30
|
-
--color-accent-green-41: #41c483;
|
|
31
|
-
--color-accent-yellow-ff: #ffb800;
|
|
32
|
-
|
|
33
|
-
--color-etc-skeleton-e4: #e4e4e7;
|
|
34
|
-
--color-etc-skeleton-f7: #f7f7f8;
|
|
35
|
-
--color-etc-skeleton-ff: #ffffff;
|
|
36
|
-
|
|
37
|
-
--color-etc-hover-ee: #eeeeee;
|
|
38
|
-
}
|
package/styles/token/colors.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export const colors = {
|
|
2
|
-
black: '#000000',
|
|
3
|
-
white: '#ffffff',
|
|
4
|
-
grayFa: '#fafafa',
|
|
5
|
-
grayF4: '#f4f4f5',
|
|
6
|
-
grayE4: '#e4e4e7',
|
|
7
|
-
grayD4: '#d4d4d8',
|
|
8
|
-
grayA1: '#a1a1aa',
|
|
9
|
-
gray71: '#71717a',
|
|
10
|
-
gray52: '#52525b',
|
|
11
|
-
gray3f: '#3f3f46',
|
|
12
|
-
gray27: '#27272a',
|
|
13
|
-
gray18: '#18181b',
|
|
14
|
-
purple39: '#391d5d',
|
|
15
|
-
purple4c: '#4c277c',
|
|
16
|
-
purpleDd: '#ddd1f0',
|
|
17
|
-
purpleE9: '#e9e0f5',
|
|
18
|
-
purpleF4: '#f4effa',
|
|
19
|
-
purple41: '#4c1d88',
|
|
20
|
-
purple95: '#957eb4',
|
|
21
|
-
accentRedDf: '#df535c',
|
|
22
|
-
accentRedC8: '#c8424b',
|
|
23
|
-
accentMagentaB0: '#b02e4c',
|
|
24
|
-
accentGreen28: '#289a3a',
|
|
25
|
-
accentBlue01: '#01ece1',
|
|
26
|
-
accentBlue25: '#2563eb',
|
|
27
|
-
accentPinkEc: '#ec5cef',
|
|
28
|
-
accentGreen41: '#41c483',
|
|
29
|
-
accentYellowFf: '#ffb800',
|
|
30
|
-
} as const;
|
package/styles/token/cursor.css
DELETED
package/styles/token/font.css
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/static/pretendard.css");
|
|
2
|
-
@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap");
|
|
3
|
-
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");
|
|
4
|
-
|
|
5
|
-
.nuri-theme {
|
|
6
|
-
--font-size-xsm: 12px;
|
|
7
|
-
--font-size-sm: 14px;
|
|
8
|
-
--font-size-base: 16px;
|
|
9
|
-
--font-size-lg: 18px;
|
|
10
|
-
--font-size-xl: 20px;
|
|
11
|
-
--font-size-2xl: 24px;
|
|
12
|
-
--font-size-3xl: 30px;
|
|
13
|
-
--font-size-4xl: 36px;
|
|
14
|
-
--font-size-5xl: 48px;
|
|
15
|
-
--font-size-6xl: 60px;
|
|
16
|
-
|
|
17
|
-
--line-height-xsm: 18px;
|
|
18
|
-
--line-height-sm: 18px;
|
|
19
|
-
--line-height-base: 22px;
|
|
20
|
-
--line-height-lg: 24px;
|
|
21
|
-
--line-height-xl: 28px;
|
|
22
|
-
--line-height-2xl: 32px;
|
|
23
|
-
--line-height-3xl: 36px;
|
|
24
|
-
--line-height-4xl: 43px;
|
|
25
|
-
--line-height-5xl: 66px;
|
|
26
|
-
--line-height-6xl: 82px;
|
|
27
|
-
|
|
28
|
-
--font-weight-regular: 400;
|
|
29
|
-
--font-weight-medium: 500;
|
|
30
|
-
--font-weight-semibold: 600;
|
|
31
|
-
--font-weight-bold: 700;
|
|
32
|
-
--font-weight-extrabold: 800;
|
|
33
|
-
|
|
34
|
-
font-family: "Twemoji Country Flags", "Pretendard", Pretendard, -apple-system,
|
|
35
|
-
BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI",
|
|
36
|
-
"Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji",
|
|
37
|
-
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
|
|
38
|
-
}
|
package/styles/token/radius.css
DELETED
package/styles/token/space.css
DELETED