@pimolu/web-styles 0.1.0-beta.1 → 0.1.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.fr.md +24 -14
- package/README.md +24 -14
- package/dist/app-shell.css +87 -22
- package/dist/carousel.css +9 -0
- package/dist/chart.css +99 -2
- package/dist/circular-progress.css +23 -1
- package/dist/dashboard-layout.css +92 -28
- package/dist/docs-layout.css +9 -0
- package/dist/gantt.css +19 -1
- package/dist/input-group.css +3 -1
- package/dist/input.css +3 -1
- package/dist/kanban.css +27 -2
- package/dist/layered.css +22700 -0
- package/dist/navbar.css +16 -0
- package/dist/page-header.css +29 -1
- package/dist/password-input.css +3 -1
- package/dist/pimolu.css +539 -69
- package/dist/pimolu.min.css +1 -1
- package/dist/range-slider.css +8 -1
- package/dist/scheduler.css +19 -2
- package/dist/select.css +2 -0
- package/dist/sidebar.css +71 -6
- package/dist/slider.css +8 -1
- package/dist/tags-input.css +8 -1
- package/dist/tree-table.css +10 -0
- package/package.json +170 -164
- package/LICENSE +0 -21
package/dist/range-slider.css
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* src/range-slider.css */
|
|
2
2
|
.pimolu-range-slider {
|
|
3
|
+
--pimolu-range-slider-direction: var(--pimolu-range-slider-inherited-direction, to right);
|
|
3
4
|
--pimolu-range-slider-track-height: 6px;
|
|
4
5
|
--pimolu-range-slider-thumb-size: 18px;
|
|
5
6
|
--pimolu-range-slider-gap: 8px;
|
|
@@ -13,6 +14,12 @@
|
|
|
13
14
|
font-family: var(--pimolu-font-body, inherit);
|
|
14
15
|
color: var(--pimolu-foreground, currentColor);
|
|
15
16
|
}
|
|
17
|
+
[dir=rtl] {
|
|
18
|
+
--pimolu-range-slider-inherited-direction: to left;
|
|
19
|
+
}
|
|
20
|
+
[dir=ltr] {
|
|
21
|
+
--pimolu-range-slider-inherited-direction: to right;
|
|
22
|
+
}
|
|
16
23
|
.pimolu-range-slider--sm {
|
|
17
24
|
--pimolu-range-slider-track-height: 4px;
|
|
18
25
|
--pimolu-range-slider-thumb-size: 14px;
|
|
@@ -68,7 +75,7 @@
|
|
|
68
75
|
pointer-events: none;
|
|
69
76
|
background:
|
|
70
77
|
linear-gradient(
|
|
71
|
-
to right,
|
|
78
|
+
var(--pimolu-range-slider-direction, to right),
|
|
72
79
|
var(--pimolu-range-slider-track) 0,
|
|
73
80
|
var(--pimolu-range-slider-track) var(--pimolu-range-slider-start),
|
|
74
81
|
var(--pimolu-range-slider-tone) var(--pimolu-range-slider-start),
|
package/dist/scheduler.css
CHANGED
|
@@ -58,9 +58,11 @@
|
|
|
58
58
|
font-size: 0.8125rem;
|
|
59
59
|
}
|
|
60
60
|
.pimolu-scheduler__scroll {
|
|
61
|
+
position: relative;
|
|
61
62
|
width: 100%;
|
|
62
63
|
min-width: 0;
|
|
63
|
-
overflow
|
|
64
|
+
overflow: auto;
|
|
65
|
+
border-radius: var(--pimolu-scheduler-radius);
|
|
64
66
|
overscroll-behavior-x: contain;
|
|
65
67
|
}
|
|
66
68
|
.pimolu-scheduler__board {
|
|
@@ -72,7 +74,7 @@
|
|
|
72
74
|
background: var(--pimolu-scheduler-surface);
|
|
73
75
|
border: 1px solid var(--pimolu-scheduler-border);
|
|
74
76
|
border-radius: var(--pimolu-scheduler-radius);
|
|
75
|
-
overflow:
|
|
77
|
+
overflow: clip;
|
|
76
78
|
}
|
|
77
79
|
.pimolu-scheduler__grid {
|
|
78
80
|
display: flex;
|
|
@@ -85,6 +87,10 @@
|
|
|
85
87
|
grid-template-columns: var(--pimolu-scheduler-time-width) repeat(var(--pimolu-scheduler-day-count, 7), minmax(0, 1fr));
|
|
86
88
|
}
|
|
87
89
|
.pimolu-scheduler__header-row {
|
|
90
|
+
position: sticky;
|
|
91
|
+
top: 0;
|
|
92
|
+
z-index: 5;
|
|
93
|
+
background: var(--pimolu-scheduler-surface);
|
|
88
94
|
height: var(--pimolu-scheduler-header-height);
|
|
89
95
|
border-bottom: 1px solid var(--pimolu-scheduler-border);
|
|
90
96
|
}
|
|
@@ -209,6 +215,7 @@
|
|
|
209
215
|
border-top: 1px solid var(--pimolu-scheduler-border);
|
|
210
216
|
}
|
|
211
217
|
.pimolu-scheduler__slot {
|
|
218
|
+
scroll-margin-block-start: calc(var(--pimolu-scheduler-header-height) + 8px);
|
|
212
219
|
display: block;
|
|
213
220
|
box-sizing: border-box;
|
|
214
221
|
width: 100%;
|
|
@@ -285,6 +292,16 @@
|
|
|
285
292
|
text-overflow: ellipsis;
|
|
286
293
|
white-space: nowrap;
|
|
287
294
|
}
|
|
295
|
+
.pimolu-scheduler__event[data-compact=true] {
|
|
296
|
+
padding: 1px 6px;
|
|
297
|
+
justify-content: center;
|
|
298
|
+
}
|
|
299
|
+
.pimolu-scheduler__event[data-compact=true] .pimolu-scheduler__event-time {
|
|
300
|
+
display: none;
|
|
301
|
+
}
|
|
302
|
+
.pimolu-scheduler__event[data-compact=true] .pimolu-scheduler__event-title {
|
|
303
|
+
font-size: 0.6875rem;
|
|
304
|
+
}
|
|
288
305
|
.pimolu-scheduler__now {
|
|
289
306
|
position: absolute;
|
|
290
307
|
right: 0;
|
package/dist/select.css
CHANGED
package/dist/sidebar.css
CHANGED
|
@@ -19,10 +19,35 @@
|
|
|
19
19
|
padding: 12px 6px;
|
|
20
20
|
gap: 16px;
|
|
21
21
|
}
|
|
22
|
-
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header,
|
|
23
|
-
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__footer {
|
|
22
|
+
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header:not([data-has-collapsed-content]),
|
|
23
|
+
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__footer:not([data-has-collapsed-content]) {
|
|
24
24
|
display: none;
|
|
25
25
|
}
|
|
26
|
+
.pimolu-sidebar__expanded {
|
|
27
|
+
display: contents;
|
|
28
|
+
}
|
|
29
|
+
.pimolu-sidebar__compact {
|
|
30
|
+
display: none;
|
|
31
|
+
}
|
|
32
|
+
.pimolu-sidebar[data-collapsed=true] .pimolu-sidebar__expanded {
|
|
33
|
+
display: none;
|
|
34
|
+
}
|
|
35
|
+
.pimolu-sidebar[data-collapsed=true] .pimolu-sidebar__compact {
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
}
|
|
40
|
+
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header[data-has-collapsed-content] {
|
|
41
|
+
display: flex;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
order: -2;
|
|
44
|
+
padding: 0;
|
|
45
|
+
}
|
|
46
|
+
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__footer[data-has-collapsed-content] {
|
|
47
|
+
display: flex;
|
|
48
|
+
justify-content: center;
|
|
49
|
+
padding: 12px 0 0;
|
|
50
|
+
}
|
|
26
51
|
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__content {
|
|
27
52
|
flex: 1 1 auto;
|
|
28
53
|
gap: 16px;
|
|
@@ -57,8 +82,8 @@
|
|
|
57
82
|
inset-inline-end: 12px;
|
|
58
83
|
display: grid;
|
|
59
84
|
place-items: center;
|
|
60
|
-
width:
|
|
61
|
-
height:
|
|
85
|
+
width: 40px;
|
|
86
|
+
height: 40px;
|
|
62
87
|
z-index: 1;
|
|
63
88
|
padding: 0;
|
|
64
89
|
border: 1px solid var(--pimolu-border);
|
|
@@ -84,7 +109,8 @@
|
|
|
84
109
|
display: flex;
|
|
85
110
|
align-items: center;
|
|
86
111
|
gap: 10px;
|
|
87
|
-
padding: 8px
|
|
112
|
+
padding-block: 8px 16px;
|
|
113
|
+
padding-inline: 8px 52px;
|
|
88
114
|
min-width: 0;
|
|
89
115
|
}
|
|
90
116
|
.pimolu-sidebar__content {
|
|
@@ -115,11 +141,12 @@
|
|
|
115
141
|
text-transform: uppercase;
|
|
116
142
|
}
|
|
117
143
|
.pimolu-sidebar__item {
|
|
144
|
+
position: relative;
|
|
118
145
|
display: flex;
|
|
119
146
|
align-items: center;
|
|
120
147
|
gap: 8px;
|
|
121
148
|
box-sizing: border-box;
|
|
122
|
-
min-height:
|
|
149
|
+
min-height: 40px;
|
|
123
150
|
padding: 7px 8px;
|
|
124
151
|
border-radius: var(--pimolu-radius-sm, 4px);
|
|
125
152
|
color: var(--pimolu-muted-foreground);
|
|
@@ -137,6 +164,16 @@
|
|
|
137
164
|
.pimolu-sidebar__item[aria-current=page] {
|
|
138
165
|
background: var(--pimolu-muted);
|
|
139
166
|
color: var(--pimolu-foreground);
|
|
167
|
+
font-weight: 600;
|
|
168
|
+
}
|
|
169
|
+
.pimolu-sidebar__item[aria-current=page]::before {
|
|
170
|
+
content: "";
|
|
171
|
+
position: absolute;
|
|
172
|
+
inset-inline-start: 0;
|
|
173
|
+
inset-block: 25%;
|
|
174
|
+
width: 3px;
|
|
175
|
+
border-radius: 999px;
|
|
176
|
+
background: var(--pimolu-primary, currentColor);
|
|
140
177
|
}
|
|
141
178
|
.pimolu-sidebar__item[aria-disabled=true] {
|
|
142
179
|
opacity: 0.5;
|
|
@@ -169,6 +206,34 @@
|
|
|
169
206
|
white-space: nowrap;
|
|
170
207
|
}
|
|
171
208
|
@media (max-width: 720px) {
|
|
209
|
+
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header .pimolu-sidebar__expanded {
|
|
210
|
+
display: contents;
|
|
211
|
+
}
|
|
212
|
+
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header .pimolu-sidebar__compact {
|
|
213
|
+
display: none;
|
|
214
|
+
}
|
|
215
|
+
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header[data-has-collapsed-content] {
|
|
216
|
+
justify-content: flex-start;
|
|
217
|
+
padding-inline: 8px 100px;
|
|
218
|
+
}
|
|
219
|
+
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__footer[data-has-collapsed-content] {
|
|
220
|
+
position: absolute;
|
|
221
|
+
inset-inline-end: 64px;
|
|
222
|
+
inset-block-start: 12px;
|
|
223
|
+
margin: 0;
|
|
224
|
+
padding: 0;
|
|
225
|
+
border: 0;
|
|
226
|
+
height: 40px;
|
|
227
|
+
align-items: center;
|
|
228
|
+
}
|
|
229
|
+
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header {
|
|
230
|
+
display: flex;
|
|
231
|
+
min-height: 40px;
|
|
232
|
+
padding-block: 0;
|
|
233
|
+
}
|
|
234
|
+
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__toggle {
|
|
235
|
+
position: absolute;
|
|
236
|
+
}
|
|
172
237
|
.pimolu-sidebar[data-collapsed=true] {
|
|
173
238
|
width: 100%;
|
|
174
239
|
min-height: 60px;
|
package/dist/slider.css
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* src/slider.css */
|
|
2
2
|
.pimolu-slider {
|
|
3
|
+
--pimolu-slider-direction: var(--pimolu-slider-inherited-direction, to right);
|
|
3
4
|
--pimolu-slider-track-height: 6px;
|
|
4
5
|
--pimolu-slider-thumb-size: 18px;
|
|
5
6
|
--pimolu-slider-gap: 8px;
|
|
@@ -14,6 +15,12 @@
|
|
|
14
15
|
font-family: var(--pimolu-font-body, inherit);
|
|
15
16
|
color: var(--pimolu-foreground, currentColor);
|
|
16
17
|
}
|
|
18
|
+
[dir=rtl] {
|
|
19
|
+
--pimolu-slider-inherited-direction: to left;
|
|
20
|
+
}
|
|
21
|
+
[dir=ltr] {
|
|
22
|
+
--pimolu-slider-inherited-direction: to right;
|
|
23
|
+
}
|
|
17
24
|
.pimolu-slider--sm {
|
|
18
25
|
--pimolu-slider-track-height: 4px;
|
|
19
26
|
--pimolu-slider-thumb-size: 14px;
|
|
@@ -71,7 +78,7 @@
|
|
|
71
78
|
border-radius: 9999px;
|
|
72
79
|
background:
|
|
73
80
|
linear-gradient(
|
|
74
|
-
to right,
|
|
81
|
+
var(--pimolu-slider-direction, to right),
|
|
75
82
|
var(--pimolu-slider-tone) 0,
|
|
76
83
|
var(--pimolu-slider-tone) var(--pimolu-slider-progress, 0%),
|
|
77
84
|
var(--pimolu-slider-track) var(--pimolu-slider-progress, 0%),
|
package/dist/tags-input.css
CHANGED
|
@@ -55,12 +55,17 @@
|
|
|
55
55
|
margin: 0;
|
|
56
56
|
padding: 0;
|
|
57
57
|
list-style: none;
|
|
58
|
+
max-width: 100%;
|
|
59
|
+
min-width: 0;
|
|
58
60
|
}
|
|
59
61
|
.pimolu-tags-input__tag {
|
|
60
62
|
display: inline-flex;
|
|
61
63
|
align-items: center;
|
|
62
64
|
gap: 2px;
|
|
63
65
|
max-width: 100%;
|
|
66
|
+
margin: 0;
|
|
67
|
+
box-sizing: border-box;
|
|
68
|
+
min-height: 26px;
|
|
64
69
|
padding: 2px 3px 2px 8px;
|
|
65
70
|
background: var(--pimolu-muted, #f1f5f9);
|
|
66
71
|
border: 1px solid color-mix(in srgb, var(--pimolu-border, #e2e8f0) 70%, transparent);
|
|
@@ -106,7 +111,7 @@
|
|
|
106
111
|
cursor: not-allowed;
|
|
107
112
|
}
|
|
108
113
|
.pimolu-tags-input__input {
|
|
109
|
-
flex: 1;
|
|
114
|
+
flex: 1 1 120px;
|
|
110
115
|
box-sizing: border-box;
|
|
111
116
|
min-width: 96px;
|
|
112
117
|
height: 26px;
|
|
@@ -157,6 +162,7 @@
|
|
|
157
162
|
height: 22px;
|
|
158
163
|
}
|
|
159
164
|
.pimolu-tags-input--sm .pimolu-tags-input__tag {
|
|
165
|
+
min-height: 22px;
|
|
160
166
|
padding-block: 1px;
|
|
161
167
|
font-size: 0.75rem;
|
|
162
168
|
}
|
|
@@ -174,6 +180,7 @@
|
|
|
174
180
|
height: 30px;
|
|
175
181
|
}
|
|
176
182
|
.pimolu-tags-input--lg .pimolu-tags-input__tag {
|
|
183
|
+
min-height: 30px;
|
|
177
184
|
padding-block: 3px;
|
|
178
185
|
font-size: 0.875rem;
|
|
179
186
|
}
|
package/dist/tree-table.css
CHANGED
|
@@ -24,6 +24,16 @@
|
|
|
24
24
|
.pimolu-tree-table__table {
|
|
25
25
|
width: 100%;
|
|
26
26
|
}
|
|
27
|
+
.pimolu-tree-table__table > caption {
|
|
28
|
+
caption-side: top;
|
|
29
|
+
padding: 12px 16px;
|
|
30
|
+
border-block-end: 1px solid var(--pimolu-border);
|
|
31
|
+
background: var(--pimolu-surface, var(--pimolu-background));
|
|
32
|
+
color: var(--pimolu-foreground);
|
|
33
|
+
font-size: 0.8125rem;
|
|
34
|
+
font-weight: 600;
|
|
35
|
+
text-align: start;
|
|
36
|
+
}
|
|
27
37
|
.pimolu-tree-table__head,
|
|
28
38
|
.pimolu-tree-table__cell {
|
|
29
39
|
white-space: nowrap;
|