@pimolu/web-styles 0.1.0-beta.2 → 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 +1 -1
- package/README.md +1 -1
- package/dist/app-shell.css +38 -2
- package/dist/carousel.css +9 -0
- package/dist/dashboard-layout.css +27 -5
- package/dist/input-group.css +3 -1
- package/dist/input.css +3 -1
- package/dist/layered.css +22700 -0
- package/dist/page-header.css +9 -0
- package/dist/password-input.css +3 -1
- package/dist/pimolu.css +151 -12
- package/dist/pimolu.min.css +1 -1
- package/dist/range-slider.css +8 -1
- package/dist/select.css +2 -0
- package/dist/sidebar.css +47 -2
- package/dist/slider.css +8 -1
- package/package.json +3 -2
package/dist/page-header.css
CHANGED
|
@@ -118,9 +118,14 @@
|
|
|
118
118
|
justify-content: center;
|
|
119
119
|
}
|
|
120
120
|
.pimolu-page-header--center .pimolu-page-header__body {
|
|
121
|
+
width: 100%;
|
|
122
|
+
flex-direction: column;
|
|
123
|
+
align-items: center;
|
|
121
124
|
justify-content: center;
|
|
122
125
|
}
|
|
123
126
|
.pimolu-page-header--center .pimolu-page-header__content {
|
|
127
|
+
flex: none;
|
|
128
|
+
width: 100%;
|
|
124
129
|
align-items: center;
|
|
125
130
|
margin-inline: auto;
|
|
126
131
|
text-align: center;
|
|
@@ -129,6 +134,10 @@
|
|
|
129
134
|
.pimolu-page-header--center .pimolu-page-header__actions {
|
|
130
135
|
justify-content: center;
|
|
131
136
|
}
|
|
137
|
+
.pimolu-page-header--center .pimolu-page-header__actions {
|
|
138
|
+
flex: none;
|
|
139
|
+
width: 100%;
|
|
140
|
+
}
|
|
132
141
|
@media (max-width: 640px) {
|
|
133
142
|
.pimolu-page-header__body {
|
|
134
143
|
align-items: flex-start;
|
package/dist/password-input.css
CHANGED
|
@@ -167,7 +167,9 @@
|
|
|
167
167
|
}
|
|
168
168
|
.pimolu-input__wrapper:focus-within {
|
|
169
169
|
border-color: var(--pimolu-input-tone);
|
|
170
|
-
box-shadow:
|
|
170
|
+
box-shadow: var(--pimolu-input-elevation);
|
|
171
|
+
outline: 3px solid color-mix(in srgb, var(--pimolu-input-tone) 22%, transparent);
|
|
172
|
+
outline-offset: 0;
|
|
171
173
|
}
|
|
172
174
|
.pimolu-input--invalid {
|
|
173
175
|
--pimolu-input-tone: var(--pimolu-danger, #dc2626);
|
package/dist/pimolu.css
CHANGED
|
@@ -2880,7 +2880,9 @@
|
|
|
2880
2880
|
pointer-events: none;
|
|
2881
2881
|
}
|
|
2882
2882
|
.pimolu-select__listbox {
|
|
2883
|
+
box-sizing: border-box;
|
|
2883
2884
|
overflow-y: auto;
|
|
2885
|
+
scroll-padding-block: 4px;
|
|
2884
2886
|
margin: 0;
|
|
2885
2887
|
padding: 4px;
|
|
2886
2888
|
border: 1px solid var(--pimolu-border);
|
|
@@ -3631,6 +3633,7 @@
|
|
|
3631
3633
|
|
|
3632
3634
|
/* src/slider.css */
|
|
3633
3635
|
.pimolu-slider {
|
|
3636
|
+
--pimolu-slider-direction: var(--pimolu-slider-inherited-direction, to right);
|
|
3634
3637
|
--pimolu-slider-track-height: 6px;
|
|
3635
3638
|
--pimolu-slider-thumb-size: 18px;
|
|
3636
3639
|
--pimolu-slider-gap: 8px;
|
|
@@ -3645,6 +3648,12 @@
|
|
|
3645
3648
|
font-family: var(--pimolu-font-body, inherit);
|
|
3646
3649
|
color: var(--pimolu-foreground, currentColor);
|
|
3647
3650
|
}
|
|
3651
|
+
[dir=rtl] {
|
|
3652
|
+
--pimolu-slider-inherited-direction: to left;
|
|
3653
|
+
}
|
|
3654
|
+
[dir=ltr] {
|
|
3655
|
+
--pimolu-slider-inherited-direction: to right;
|
|
3656
|
+
}
|
|
3648
3657
|
.pimolu-slider--sm {
|
|
3649
3658
|
--pimolu-slider-track-height: 4px;
|
|
3650
3659
|
--pimolu-slider-thumb-size: 14px;
|
|
@@ -3702,7 +3711,7 @@
|
|
|
3702
3711
|
border-radius: 9999px;
|
|
3703
3712
|
background:
|
|
3704
3713
|
linear-gradient(
|
|
3705
|
-
to right,
|
|
3714
|
+
var(--pimolu-slider-direction, to right),
|
|
3706
3715
|
var(--pimolu-slider-tone) 0,
|
|
3707
3716
|
var(--pimolu-slider-tone) var(--pimolu-slider-progress, 0%),
|
|
3708
3717
|
var(--pimolu-slider-track) var(--pimolu-slider-progress, 0%),
|
|
@@ -3795,6 +3804,7 @@
|
|
|
3795
3804
|
|
|
3796
3805
|
/* src/range-slider.css */
|
|
3797
3806
|
.pimolu-range-slider {
|
|
3807
|
+
--pimolu-range-slider-direction: var(--pimolu-range-slider-inherited-direction, to right);
|
|
3798
3808
|
--pimolu-range-slider-track-height: 6px;
|
|
3799
3809
|
--pimolu-range-slider-thumb-size: 18px;
|
|
3800
3810
|
--pimolu-range-slider-gap: 8px;
|
|
@@ -3808,6 +3818,12 @@
|
|
|
3808
3818
|
font-family: var(--pimolu-font-body, inherit);
|
|
3809
3819
|
color: var(--pimolu-foreground, currentColor);
|
|
3810
3820
|
}
|
|
3821
|
+
[dir=rtl] {
|
|
3822
|
+
--pimolu-range-slider-inherited-direction: to left;
|
|
3823
|
+
}
|
|
3824
|
+
[dir=ltr] {
|
|
3825
|
+
--pimolu-range-slider-inherited-direction: to right;
|
|
3826
|
+
}
|
|
3811
3827
|
.pimolu-range-slider--sm {
|
|
3812
3828
|
--pimolu-range-slider-track-height: 4px;
|
|
3813
3829
|
--pimolu-range-slider-thumb-size: 14px;
|
|
@@ -3863,7 +3879,7 @@
|
|
|
3863
3879
|
pointer-events: none;
|
|
3864
3880
|
background:
|
|
3865
3881
|
linear-gradient(
|
|
3866
|
-
to right,
|
|
3882
|
+
var(--pimolu-range-slider-direction, to right),
|
|
3867
3883
|
var(--pimolu-range-slider-track) 0,
|
|
3868
3884
|
var(--pimolu-range-slider-track) var(--pimolu-range-slider-start),
|
|
3869
3885
|
var(--pimolu-range-slider-tone) var(--pimolu-range-slider-start),
|
|
@@ -6246,10 +6262,35 @@ button.pimolu-stepper__button:hover .pimolu-stepper__marker {
|
|
|
6246
6262
|
padding: 12px 6px;
|
|
6247
6263
|
gap: 16px;
|
|
6248
6264
|
}
|
|
6249
|
-
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header,
|
|
6250
|
-
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__footer {
|
|
6265
|
+
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header:not([data-has-collapsed-content]),
|
|
6266
|
+
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__footer:not([data-has-collapsed-content]) {
|
|
6251
6267
|
display: none;
|
|
6252
6268
|
}
|
|
6269
|
+
.pimolu-sidebar__expanded {
|
|
6270
|
+
display: contents;
|
|
6271
|
+
}
|
|
6272
|
+
.pimolu-sidebar__compact {
|
|
6273
|
+
display: none;
|
|
6274
|
+
}
|
|
6275
|
+
.pimolu-sidebar[data-collapsed=true] .pimolu-sidebar__expanded {
|
|
6276
|
+
display: none;
|
|
6277
|
+
}
|
|
6278
|
+
.pimolu-sidebar[data-collapsed=true] .pimolu-sidebar__compact {
|
|
6279
|
+
display: flex;
|
|
6280
|
+
align-items: center;
|
|
6281
|
+
justify-content: center;
|
|
6282
|
+
}
|
|
6283
|
+
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header[data-has-collapsed-content] {
|
|
6284
|
+
display: flex;
|
|
6285
|
+
justify-content: center;
|
|
6286
|
+
order: -2;
|
|
6287
|
+
padding: 0;
|
|
6288
|
+
}
|
|
6289
|
+
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__footer[data-has-collapsed-content] {
|
|
6290
|
+
display: flex;
|
|
6291
|
+
justify-content: center;
|
|
6292
|
+
padding: 12px 0 0;
|
|
6293
|
+
}
|
|
6253
6294
|
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__content {
|
|
6254
6295
|
flex: 1 1 auto;
|
|
6255
6296
|
gap: 16px;
|
|
@@ -6408,6 +6449,26 @@ button.pimolu-stepper__button:hover .pimolu-stepper__marker {
|
|
|
6408
6449
|
white-space: nowrap;
|
|
6409
6450
|
}
|
|
6410
6451
|
@media (max-width: 720px) {
|
|
6452
|
+
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header .pimolu-sidebar__expanded {
|
|
6453
|
+
display: contents;
|
|
6454
|
+
}
|
|
6455
|
+
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header .pimolu-sidebar__compact {
|
|
6456
|
+
display: none;
|
|
6457
|
+
}
|
|
6458
|
+
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header[data-has-collapsed-content] {
|
|
6459
|
+
justify-content: flex-start;
|
|
6460
|
+
padding-inline: 8px 100px;
|
|
6461
|
+
}
|
|
6462
|
+
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__footer[data-has-collapsed-content] {
|
|
6463
|
+
position: absolute;
|
|
6464
|
+
inset-inline-end: 64px;
|
|
6465
|
+
inset-block-start: 12px;
|
|
6466
|
+
margin: 0;
|
|
6467
|
+
padding: 0;
|
|
6468
|
+
border: 0;
|
|
6469
|
+
height: 40px;
|
|
6470
|
+
align-items: center;
|
|
6471
|
+
}
|
|
6411
6472
|
.pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header {
|
|
6412
6473
|
display: flex;
|
|
6413
6474
|
min-height: 40px;
|
|
@@ -12034,6 +12095,15 @@ button.pimolu-list__row:focus-visible {
|
|
|
12034
12095
|
width: 1.25rem;
|
|
12035
12096
|
height: 1.25rem;
|
|
12036
12097
|
}
|
|
12098
|
+
[dir=rtl] {
|
|
12099
|
+
--pimolu-carousel-arrow-direction: -1;
|
|
12100
|
+
}
|
|
12101
|
+
[dir=ltr] {
|
|
12102
|
+
--pimolu-carousel-arrow-direction: 1;
|
|
12103
|
+
}
|
|
12104
|
+
.pimolu-carousel__control svg {
|
|
12105
|
+
transform: scaleX(var(--pimolu-carousel-arrow-direction, 1));
|
|
12106
|
+
}
|
|
12037
12107
|
.pimolu-carousel__footer {
|
|
12038
12108
|
display: flex;
|
|
12039
12109
|
align-items: center;
|
|
@@ -12381,7 +12451,7 @@ button.pimolu-list__row:focus-visible {
|
|
|
12381
12451
|
.pimolu-dashboard-layout:has(> .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true]) {
|
|
12382
12452
|
--pimolu-dashboard-sidebar-track: 3.75rem;
|
|
12383
12453
|
}
|
|
12384
|
-
@container (max-width:
|
|
12454
|
+
@container (max-width: 900px) {
|
|
12385
12455
|
.pimolu-dashboard-layout[data-aside=true] {
|
|
12386
12456
|
grid-template-columns: var(--pimolu-dashboard-sidebar-track) minmax(0, 1fr);
|
|
12387
12457
|
grid-template-areas: "sidebar main" "aside aside";
|
|
@@ -12427,7 +12497,7 @@ button.pimolu-list__row:focus-visible {
|
|
|
12427
12497
|
grid-template-columns: minmax(0, 1fr);
|
|
12428
12498
|
grid-template-areas: "sidebar" "main";
|
|
12429
12499
|
}
|
|
12430
|
-
.pimolu-dashboard-layout[data-aside=true] {
|
|
12500
|
+
.pimolu-dashboard-layout[data-sidebar][data-aside=true] {
|
|
12431
12501
|
grid-template-areas: "sidebar" "main" "aside";
|
|
12432
12502
|
}
|
|
12433
12503
|
.pimolu-dashboard-layout[data-sidebar=false] {
|
|
@@ -12481,7 +12551,7 @@ button.pimolu-list__row:focus-visible {
|
|
|
12481
12551
|
border-inline-start: var(--pimolu-control-border-width, 1px) solid var(--pimolu-border);
|
|
12482
12552
|
background: var(--pimolu-surface);
|
|
12483
12553
|
}
|
|
12484
|
-
@media (max-width:
|
|
12554
|
+
@media (max-width: 900px) {
|
|
12485
12555
|
.pimolu-dashboard-layout[data-aside=true] {
|
|
12486
12556
|
grid-template-columns: var(--pimolu-dashboard-sidebar-track) minmax(0, 1fr);
|
|
12487
12557
|
grid-template-areas: "sidebar main" "aside aside";
|
|
@@ -12495,7 +12565,7 @@ button.pimolu-list__row:focus-visible {
|
|
|
12495
12565
|
border-block-start: 1px solid var(--pimolu-border);
|
|
12496
12566
|
}
|
|
12497
12567
|
}
|
|
12498
|
-
@media (max-width:
|
|
12568
|
+
@media (max-width: 720px) {
|
|
12499
12569
|
.pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header {
|
|
12500
12570
|
display: flex;
|
|
12501
12571
|
min-height: 40px;
|
|
@@ -12520,7 +12590,7 @@ button.pimolu-list__row:focus-visible {
|
|
|
12520
12590
|
grid-template-columns: minmax(0, 1fr);
|
|
12521
12591
|
grid-template-areas: "sidebar" "main";
|
|
12522
12592
|
}
|
|
12523
|
-
.pimolu-dashboard-layout[data-aside=true] {
|
|
12593
|
+
.pimolu-dashboard-layout[data-sidebar][data-aside=true] {
|
|
12524
12594
|
grid-template-areas: "sidebar" "main" "aside";
|
|
12525
12595
|
}
|
|
12526
12596
|
.pimolu-dashboard-layout:has(> .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true]),
|
|
@@ -12573,6 +12643,28 @@ button.pimolu-list__row:focus-visible {
|
|
|
12573
12643
|
display: none;
|
|
12574
12644
|
}
|
|
12575
12645
|
}
|
|
12646
|
+
@container (max-width: 720px) {
|
|
12647
|
+
.pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header .pimolu-sidebar__expanded {
|
|
12648
|
+
display: contents;
|
|
12649
|
+
}
|
|
12650
|
+
.pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header .pimolu-sidebar__compact {
|
|
12651
|
+
display: none;
|
|
12652
|
+
}
|
|
12653
|
+
.pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header[data-has-collapsed-content] {
|
|
12654
|
+
justify-content: flex-start;
|
|
12655
|
+
padding-inline: 8px 100px;
|
|
12656
|
+
}
|
|
12657
|
+
.pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__footer[data-has-collapsed-content] {
|
|
12658
|
+
position: absolute;
|
|
12659
|
+
inset-inline-end: 64px;
|
|
12660
|
+
inset-block-start: 12px;
|
|
12661
|
+
margin: 0;
|
|
12662
|
+
padding: 0;
|
|
12663
|
+
border: 0;
|
|
12664
|
+
height: 40px;
|
|
12665
|
+
align-items: center;
|
|
12666
|
+
}
|
|
12667
|
+
}
|
|
12576
12668
|
|
|
12577
12669
|
/* src/data-grid.css */
|
|
12578
12670
|
.pimolu-data-grid {
|
|
@@ -15951,7 +16043,7 @@ button.pimolu-list__row:focus-visible {
|
|
|
15951
16043
|
.pimolu-app-shell:has(> .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true]) {
|
|
15952
16044
|
--pimolu-app-shell-sidebar-track: 3.75rem;
|
|
15953
16045
|
}
|
|
15954
|
-
@container (max-width:
|
|
16046
|
+
@container (max-width: 900px) {
|
|
15955
16047
|
.pimolu-app-shell[data-aside=true] {
|
|
15956
16048
|
grid-template-columns: var(--pimolu-app-shell-sidebar-track) minmax(0, 1fr);
|
|
15957
16049
|
grid-template-areas: "header header" "sidebar main" "aside aside" "footer footer";
|
|
@@ -16043,7 +16135,21 @@ button.pimolu-list__row:focus-visible {
|
|
|
16043
16135
|
color: var(--pimolu-muted-foreground);
|
|
16044
16136
|
font-size: 0.8125rem;
|
|
16045
16137
|
}
|
|
16046
|
-
@media (max-width:
|
|
16138
|
+
@media (min-width: 721px) and (max-width: 900px) {
|
|
16139
|
+
.pimolu-app-shell[data-aside=true] {
|
|
16140
|
+
grid-template-columns: var(--pimolu-app-shell-sidebar-track) minmax(0, 1fr);
|
|
16141
|
+
grid-template-areas: "header header" "sidebar main" "aside aside" "footer footer";
|
|
16142
|
+
}
|
|
16143
|
+
.pimolu-app-shell[data-sidebar=false][data-aside=true] {
|
|
16144
|
+
grid-template-columns: minmax(0, 1fr);
|
|
16145
|
+
grid-template-areas: "header" "main" "aside" "footer";
|
|
16146
|
+
}
|
|
16147
|
+
.pimolu-app-shell__aside {
|
|
16148
|
+
border-inline-start: 0;
|
|
16149
|
+
border-block-start: 1px solid var(--pimolu-border);
|
|
16150
|
+
}
|
|
16151
|
+
}
|
|
16152
|
+
@media (max-width: 720px) {
|
|
16047
16153
|
.pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header {
|
|
16048
16154
|
display: flex;
|
|
16049
16155
|
min-height: 40px;
|
|
@@ -16122,6 +16228,28 @@ button.pimolu-list__row:focus-visible {
|
|
|
16122
16228
|
display: none;
|
|
16123
16229
|
}
|
|
16124
16230
|
}
|
|
16231
|
+
@container (max-width: 720px) {
|
|
16232
|
+
.pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header .pimolu-sidebar__expanded {
|
|
16233
|
+
display: contents;
|
|
16234
|
+
}
|
|
16235
|
+
.pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header .pimolu-sidebar__compact {
|
|
16236
|
+
display: none;
|
|
16237
|
+
}
|
|
16238
|
+
.pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header[data-has-collapsed-content] {
|
|
16239
|
+
justify-content: flex-start;
|
|
16240
|
+
padding-inline: 8px 100px;
|
|
16241
|
+
}
|
|
16242
|
+
.pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__footer[data-has-collapsed-content] {
|
|
16243
|
+
position: absolute;
|
|
16244
|
+
inset-inline-end: 64px;
|
|
16245
|
+
inset-block-start: 12px;
|
|
16246
|
+
margin: 0;
|
|
16247
|
+
padding: 0;
|
|
16248
|
+
border: 0;
|
|
16249
|
+
height: 40px;
|
|
16250
|
+
align-items: center;
|
|
16251
|
+
}
|
|
16252
|
+
}
|
|
16125
16253
|
|
|
16126
16254
|
/* src/menubar.css */
|
|
16127
16255
|
.pimolu-menubar {
|
|
@@ -19328,9 +19456,14 @@ a.pimolu-chat__attachment-name:focus-visible {
|
|
|
19328
19456
|
justify-content: center;
|
|
19329
19457
|
}
|
|
19330
19458
|
.pimolu-page-header--center .pimolu-page-header__body {
|
|
19459
|
+
width: 100%;
|
|
19460
|
+
flex-direction: column;
|
|
19461
|
+
align-items: center;
|
|
19331
19462
|
justify-content: center;
|
|
19332
19463
|
}
|
|
19333
19464
|
.pimolu-page-header--center .pimolu-page-header__content {
|
|
19465
|
+
flex: none;
|
|
19466
|
+
width: 100%;
|
|
19334
19467
|
align-items: center;
|
|
19335
19468
|
margin-inline: auto;
|
|
19336
19469
|
text-align: center;
|
|
@@ -19339,6 +19472,10 @@ a.pimolu-chat__attachment-name:focus-visible {
|
|
|
19339
19472
|
.pimolu-page-header--center .pimolu-page-header__actions {
|
|
19340
19473
|
justify-content: center;
|
|
19341
19474
|
}
|
|
19475
|
+
.pimolu-page-header--center .pimolu-page-header__actions {
|
|
19476
|
+
flex: none;
|
|
19477
|
+
width: 100%;
|
|
19478
|
+
}
|
|
19342
19479
|
@media (max-width: 640px) {
|
|
19343
19480
|
.pimolu-page-header__body {
|
|
19344
19481
|
align-items: flex-start;
|
|
@@ -21257,7 +21394,9 @@ a.pimolu-chat__attachment-name:focus-visible {
|
|
|
21257
21394
|
}
|
|
21258
21395
|
.pimolu-input__wrapper:focus-within {
|
|
21259
21396
|
border-color: var(--pimolu-input-tone);
|
|
21260
|
-
box-shadow:
|
|
21397
|
+
box-shadow: var(--pimolu-input-elevation);
|
|
21398
|
+
outline: 3px solid color-mix(in srgb, var(--pimolu-input-tone) 22%, transparent);
|
|
21399
|
+
outline-offset: 0;
|
|
21261
21400
|
}
|
|
21262
21401
|
.pimolu-input--invalid {
|
|
21263
21402
|
--pimolu-input-tone: var(--pimolu-danger, #dc2626);
|