@nine-lab/nine-ux 0.1.202 → 0.1.203
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/css/ninePanel2.css +139 -0
- package/dist/{few_shot-4Sdw0f37.js → few_shot-CFU-7nWy.js} +1 -1
- package/dist/{index-Dg8-yXir.js → index-BHIfpIzJ.js} +4996 -4922
- package/dist/nine-ux.js +1 -1
- package/dist/nine-ux.umd.js +258 -229
- package/package.json +1 -1
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
:host(nine-panel) {
|
|
2
|
+
font-size: var(--font-size);
|
|
3
|
+
font-family: var(--font-family);
|
|
4
|
+
color: var(--color);
|
|
5
|
+
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
min-width: 0;
|
|
9
|
+
min-height: 0;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
flex: 1 1 0;
|
|
12
|
+
|
|
13
|
+
*, *::before, *::after {
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.head::before {
|
|
18
|
+
content: '';
|
|
19
|
+
display: inline-block;
|
|
20
|
+
width: 6px;
|
|
21
|
+
height: 6px;
|
|
22
|
+
border-radius: 50%;
|
|
23
|
+
background-repeat: no-repeat;
|
|
24
|
+
background-color: green; /* 구의 기본 색상 */
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.head.hide {
|
|
28
|
+
display: none;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.head {
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: row;
|
|
34
|
+
align-items: center;
|
|
35
|
+
padding: 0 4px;
|
|
36
|
+
width: 100%;
|
|
37
|
+
|
|
38
|
+
.caption {
|
|
39
|
+
display: flex;
|
|
40
|
+
margin-left: 4px;
|
|
41
|
+
|
|
42
|
+
span {
|
|
43
|
+
font-weight: bold;
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
white-space: nowrap;
|
|
46
|
+
text-overflow: ellipsis;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.body {
|
|
52
|
+
border: 1px solid #ccc;
|
|
53
|
+
border-radius: 4px;
|
|
54
|
+
width: 100%;
|
|
55
|
+
height: 100%;
|
|
56
|
+
padding: 8px;
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
input {
|
|
62
|
+
color: var(--input-color);
|
|
63
|
+
background-color: 1px solid var(--input-background-color);
|
|
64
|
+
border: 1px solid var(--input-border-color);
|
|
65
|
+
outline: none;
|
|
66
|
+
padding: var(--input-padding);
|
|
67
|
+
border-radius: 2px;
|
|
68
|
+
font-size: var(--input-font-size);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
input:hover {
|
|
72
|
+
border: 1px solid var(--input-hover-border-color);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
input:focus {
|
|
76
|
+
border: 1px solid var(--input-focus-border-color);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
nine-layout {
|
|
80
|
+
display: grid;
|
|
81
|
+
--flex-direction: column;
|
|
82
|
+
width: 100%;
|
|
83
|
+
text-align: left;
|
|
84
|
+
gap: 8px;
|
|
85
|
+
height: 100%;
|
|
86
|
+
/* 너비 초과 방지 핵심 */
|
|
87
|
+
min-width: 0;
|
|
88
|
+
overflow: hidden;
|
|
89
|
+
|
|
90
|
+
grid-template-rows: var(--rows-template, repeat(auto-fill, minmax(32px, 1fr)));
|
|
91
|
+
|
|
92
|
+
label {
|
|
93
|
+
--margin: 0 8px 0 16px;
|
|
94
|
+
gap: 8px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
input[type="text"] {
|
|
98
|
+
width: 100%;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.row {
|
|
102
|
+
display: flex;
|
|
103
|
+
--flex: 1 1 0;
|
|
104
|
+
width: 100%;
|
|
105
|
+
gap: 16px;
|
|
106
|
+
overflow: hidden;
|
|
107
|
+
--height: 32px;
|
|
108
|
+
|
|
109
|
+
span {
|
|
110
|
+
width: fit-content;
|
|
111
|
+
display: block;
|
|
112
|
+
flex-shrink: 0;
|
|
113
|
+
max-width: 100%; /* 🎯 화면이 극단적으로 좁아지면 부모 크기에 맞춰 줄어듦 */
|
|
114
|
+
min-width: 0; /* 🎯 flex item이 유연하게 수축할 수 있도록 최소 너비 제한을 해제 */
|
|
115
|
+
box-sizing: border-box;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.row > * {
|
|
120
|
+
display: flex;
|
|
121
|
+
flex: 1 1 0;
|
|
122
|
+
align-items: center;
|
|
123
|
+
gap: 4px;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.row * {
|
|
127
|
+
min-width: 0;
|
|
128
|
+
overflow: hidden;
|
|
129
|
+
--white-space: nowrap;
|
|
130
|
+
text-overflow: ellipsis;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&:host(.theme-1) {
|
|
135
|
+
.body {
|
|
136
|
+
border: none;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|