@seed-design/css 1.0.6 → 1.0.10
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/all.css +51 -16
- package/all.min.css +1 -1
- package/base.css +6 -0
- package/base.min.css +1 -1
- package/package.json +1 -1
- package/recipes/app-bar-main.css +2 -1
- package/recipes/app-bar.css +5 -3
- package/recipes/app-screen.css +3 -1
- package/recipes/article.css +0 -3
- package/recipes/bottom-sheet.css +4 -0
- package/recipes/callout.css +2 -0
- package/recipes/dialog.css +6 -0
- package/recipes/list-item.css +1 -1
- package/recipes/menu-sheet.css +5 -0
- package/recipes/page-banner.css +4 -0
- package/recipes/snackbar-region.css +3 -3
- package/recipes/text-field.css +6 -0
- package/vars/component/bottom-sheet.d.ts +1 -0
- package/vars/component/bottom-sheet.mjs +1 -0
- package/vars/component/list-item.d.ts +1 -1
- package/vars/component/list-item.mjs +1 -1
- package/vars/component/menu-sheet.d.ts +1 -0
- package/vars/component/menu-sheet.mjs +1 -0
- package/vars/component/top-navigation.d.ts +1 -1
- package/vars/component/top-navigation.mjs +1 -1
package/all.css
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--seed-safe-area-top: 0px;
|
|
3
3
|
--seed-safe-area-bottom: 0px;
|
|
4
|
+
--seed-safe-area-left: 0px;
|
|
5
|
+
--seed-safe-area-right: 0px;
|
|
4
6
|
}
|
|
5
7
|
|
|
6
8
|
@supports (left: constant(safe-area-inset-left)) {
|
|
7
9
|
:root {
|
|
8
10
|
--seed-safe-area-top: constant(safe-area-inset-top);
|
|
9
11
|
--seed-safe-area-bottom: constant(safe-area-inset-bottom);
|
|
12
|
+
--seed-safe-area-left: constant(safe-area-inset-left);
|
|
13
|
+
--seed-safe-area-right: constant(safe-area-inset-right);
|
|
10
14
|
}
|
|
11
15
|
}
|
|
12
16
|
|
|
@@ -14,6 +18,8 @@
|
|
|
14
18
|
:root {
|
|
15
19
|
--seed-safe-area-top: env(safe-area-inset-top);
|
|
16
20
|
--seed-safe-area-bottom: env(safe-area-inset-bottom);
|
|
21
|
+
--seed-safe-area-left: env(safe-area-inset-left);
|
|
22
|
+
--seed-safe-area-right: env(safe-area-inset-right);
|
|
17
23
|
}
|
|
18
24
|
}
|
|
19
25
|
|
|
@@ -1347,8 +1353,9 @@
|
|
|
1347
1353
|
}
|
|
1348
1354
|
|
|
1349
1355
|
.seed-app-bar__root--theme_cupertino {
|
|
1350
|
-
height: calc(
|
|
1351
|
-
padding-
|
|
1356
|
+
height: calc(56px + var(--seed-safe-area-top));
|
|
1357
|
+
padding-left: calc(var(--seed-dimension-x4) + var(--seed-safe-area-left));
|
|
1358
|
+
padding-right: calc(var(--seed-dimension-x4) + var(--seed-safe-area-right));
|
|
1352
1359
|
padding-top: var(--seed-safe-area-top);
|
|
1353
1360
|
}
|
|
1354
1361
|
|
|
@@ -1372,7 +1379,8 @@
|
|
|
1372
1379
|
|
|
1373
1380
|
.seed-app-bar__root--theme_android {
|
|
1374
1381
|
height: calc(56px + var(--seed-safe-area-top));
|
|
1375
|
-
padding-
|
|
1382
|
+
padding-left: calc(var(--seed-dimension-x4) + var(--seed-safe-area-left));
|
|
1383
|
+
padding-right: calc(var(--seed-dimension-x4) + var(--seed-safe-area-right));
|
|
1376
1384
|
padding-top: var(--seed-safe-area-top);
|
|
1377
1385
|
}
|
|
1378
1386
|
|
|
@@ -1603,7 +1611,8 @@
|
|
|
1603
1611
|
.seed-app-bar-main__root--theme_cupertino {
|
|
1604
1612
|
text-align: center;
|
|
1605
1613
|
top: var(--seed-safe-area-top);
|
|
1606
|
-
padding-
|
|
1614
|
+
padding-left: calc(var(--seed-safe-area-left) + max(calc(var(--seed-dimension-x4) + var(--app-bar-area-extent, calc(var(--centered-title-padding-x, 0px) - var(--seed-safe-area-left) - var(--seed-dimension-x4)))), 0px));
|
|
1615
|
+
padding-right: calc(var(--seed-safe-area-right) + max(calc(var(--seed-dimension-x4) + var(--app-bar-area-extent, calc(var(--centered-title-padding-x, 0px) - var(--seed-safe-area-right) - var(--seed-dimension-x4)))), 0px));
|
|
1607
1616
|
pointer-events: none;
|
|
1608
1617
|
justify-content: center;
|
|
1609
1618
|
align-items: center;
|
|
@@ -1756,9 +1765,11 @@
|
|
|
1756
1765
|
.seed-app-screen__layer {
|
|
1757
1766
|
z-index: var(--z-index-layer);
|
|
1758
1767
|
box-sizing: border-box;
|
|
1759
|
-
-webkit-overflow-scrolling: touch;
|
|
1760
1768
|
width: 100%;
|
|
1761
1769
|
height: 100%;
|
|
1770
|
+
padding-left: var(--seed-safe-area-left);
|
|
1771
|
+
padding-right: var(--seed-safe-area-right);
|
|
1772
|
+
-webkit-overflow-scrolling: touch;
|
|
1762
1773
|
position: absolute;
|
|
1763
1774
|
left: 0;
|
|
1764
1775
|
right: 0;
|
|
@@ -1783,7 +1794,7 @@
|
|
|
1783
1794
|
}
|
|
1784
1795
|
|
|
1785
1796
|
.seed-app-screen__root--theme_cupertino {
|
|
1786
|
-
--app-bar-height:
|
|
1797
|
+
--app-bar-height: 56px;
|
|
1787
1798
|
}
|
|
1788
1799
|
|
|
1789
1800
|
.seed-app-screen__dim--theme_cupertino {
|
|
@@ -2021,10 +2032,6 @@
|
|
|
2021
2032
|
word-break: keep-all;
|
|
2022
2033
|
}
|
|
2023
2034
|
|
|
2024
|
-
.seed-article::selection {
|
|
2025
|
-
background-color: var(--seed-color-palette-carrot-300);
|
|
2026
|
-
}
|
|
2027
|
-
|
|
2028
2035
|
.seed-avatar__root {
|
|
2029
2036
|
box-sizing: border-box;
|
|
2030
2037
|
vertical-align: top;
|
|
@@ -2473,6 +2480,8 @@
|
|
|
2473
2480
|
|
|
2474
2481
|
.seed-bottom-sheet__positioner {
|
|
2475
2482
|
overscroll-behavior-y: none;
|
|
2483
|
+
padding-left: var(--seed-safe-area-left);
|
|
2484
|
+
padding-right: var(--seed-safe-area-right);
|
|
2476
2485
|
--sheet-z-index: 2;
|
|
2477
2486
|
z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
|
|
2478
2487
|
justify-content: center;
|
|
@@ -2515,6 +2524,7 @@
|
|
|
2515
2524
|
word-break: break-all;
|
|
2516
2525
|
z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
|
|
2517
2526
|
background: var(--seed-color-bg-layer-floating);
|
|
2527
|
+
max-height: min(.9 * 100%, 100% - var(--seed-safe-area-top));
|
|
2518
2528
|
border-top-left-radius: var(--seed-radius-r6);
|
|
2519
2529
|
border-top-right-radius: var(--seed-radius-r6);
|
|
2520
2530
|
flex-direction: column;
|
|
@@ -2584,6 +2594,7 @@
|
|
|
2584
2594
|
align-items: var(--seed-box-align-items);
|
|
2585
2595
|
flex-direction: column;
|
|
2586
2596
|
display: flex;
|
|
2597
|
+
overflow-y: auto;
|
|
2587
2598
|
}
|
|
2588
2599
|
|
|
2589
2600
|
.seed-bottom-sheet__footer {
|
|
@@ -2632,6 +2643,8 @@
|
|
|
2632
2643
|
box-sizing: border-box;
|
|
2633
2644
|
-webkit-font-smoothing: antialiased;
|
|
2634
2645
|
-moz-osx-font-smoothing: grayscale;
|
|
2646
|
+
font-family: inherit;
|
|
2647
|
+
font-size: unset;
|
|
2635
2648
|
text-align: start;
|
|
2636
2649
|
width: 100%;
|
|
2637
2650
|
min-height: 50px;
|
|
@@ -2643,7 +2656,6 @@
|
|
|
2643
2656
|
--seed-prefix-icon-size: var(--seed-dimension-x4);
|
|
2644
2657
|
--seed-suffix-icon-size: var(--seed-dimension-x4);
|
|
2645
2658
|
border: none;
|
|
2646
|
-
font-family: inherit;
|
|
2647
2659
|
display: flex;
|
|
2648
2660
|
}
|
|
2649
2661
|
|
|
@@ -2652,6 +2664,7 @@
|
|
|
2652
2664
|
}
|
|
2653
2665
|
|
|
2654
2666
|
.seed-callout__content {
|
|
2667
|
+
line-height: var(--seed-line-height-t4);
|
|
2655
2668
|
margin-inline-end: auto;
|
|
2656
2669
|
}
|
|
2657
2670
|
|
|
@@ -3593,6 +3606,10 @@
|
|
|
3593
3606
|
|
|
3594
3607
|
.seed-dialog__positioner {
|
|
3595
3608
|
overscroll-behavior-y: none;
|
|
3609
|
+
padding-top: max(var(--seed-safe-area-top), var(--seed-safe-area-bottom));
|
|
3610
|
+
padding-right: var(--seed-safe-area-right);
|
|
3611
|
+
padding-bottom: max(var(--seed-safe-area-top), var(--seed-safe-area-bottom));
|
|
3612
|
+
padding-left: var(--seed-safe-area-left);
|
|
3596
3613
|
--dialog-z-index: 2;
|
|
3597
3614
|
z-index: calc(var(--dialog-z-index) + var(--layer-index, 0));
|
|
3598
3615
|
justify-content: center;
|
|
@@ -3636,12 +3653,14 @@
|
|
|
3636
3653
|
z-index: calc(var(--dialog-z-index) + var(--layer-index, 0));
|
|
3637
3654
|
background: var(--seed-color-bg-layer-floating);
|
|
3638
3655
|
max-width: 272px;
|
|
3656
|
+
max-height: 100%;
|
|
3639
3657
|
margin: auto var(--seed-dimension-x8);
|
|
3640
3658
|
border-radius: var(--seed-radius-r5);
|
|
3641
3659
|
flex-direction: column;
|
|
3642
3660
|
flex: 1;
|
|
3643
3661
|
display: flex;
|
|
3644
3662
|
position: relative;
|
|
3663
|
+
overflow-y: auto;
|
|
3645
3664
|
}
|
|
3646
3665
|
|
|
3647
3666
|
.seed-dialog__content:is([data-state="open"], [data-open]) {
|
|
@@ -4409,7 +4428,7 @@
|
|
|
4409
4428
|
z-index: 0;
|
|
4410
4429
|
width: 100%;
|
|
4411
4430
|
padding-inline: var(--seed-dimension-spacing-x-global-gutter);
|
|
4412
|
-
padding-block: var(--seed-dimension-
|
|
4431
|
+
padding-block: var(--seed-dimension-x3);
|
|
4413
4432
|
--seed-box-align-items: center;
|
|
4414
4433
|
align-items: var(--seed-box-align-items);
|
|
4415
4434
|
transition-property: background-color;
|
|
@@ -4642,6 +4661,8 @@
|
|
|
4642
4661
|
|
|
4643
4662
|
.seed-menu-sheet__positioner {
|
|
4644
4663
|
overscroll-behavior-y: none;
|
|
4664
|
+
padding-left: var(--seed-safe-area-left);
|
|
4665
|
+
padding-right: var(--seed-safe-area-right);
|
|
4645
4666
|
--sheet-z-index: 2;
|
|
4646
4667
|
z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
|
|
4647
4668
|
justify-content: center;
|
|
@@ -4684,6 +4705,7 @@
|
|
|
4684
4705
|
word-break: break-all;
|
|
4685
4706
|
z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
|
|
4686
4707
|
background: var(--seed-color-bg-layer-floating);
|
|
4708
|
+
max-height: min(.9 * 100%, 100% - var(--seed-safe-area-top));
|
|
4687
4709
|
padding-inline: var(--seed-dimension-spacing-x-global-gutter);
|
|
4688
4710
|
padding-block: var(--seed-dimension-x4);
|
|
4689
4711
|
border-top-left-radius: var(--seed-radius-r5);
|
|
@@ -4735,11 +4757,13 @@
|
|
|
4735
4757
|
gap: var(--seed-dimension-x2_5);
|
|
4736
4758
|
flex-direction: column;
|
|
4737
4759
|
display: flex;
|
|
4760
|
+
overflow-y: auto;
|
|
4738
4761
|
}
|
|
4739
4762
|
|
|
4740
4763
|
.seed-menu-sheet__group {
|
|
4741
4764
|
border-radius: var(--seed-radius-r4);
|
|
4742
4765
|
flex-direction: column;
|
|
4766
|
+
flex-shrink: 0;
|
|
4743
4767
|
align-items: stretch;
|
|
4744
4768
|
display: flex;
|
|
4745
4769
|
overflow: hidden;
|
|
@@ -4883,6 +4907,8 @@
|
|
|
4883
4907
|
box-sizing: border-box;
|
|
4884
4908
|
-webkit-font-smoothing: antialiased;
|
|
4885
4909
|
-moz-osx-font-smoothing: grayscale;
|
|
4910
|
+
font-family: inherit;
|
|
4911
|
+
font-size: unset;
|
|
4886
4912
|
text-align: start;
|
|
4887
4913
|
width: 100%;
|
|
4888
4914
|
min-height: var(--seed-dimension-x10);
|
|
@@ -4896,7 +4922,6 @@
|
|
|
4896
4922
|
--seed-suffix-icon-align-self: center;
|
|
4897
4923
|
border: none;
|
|
4898
4924
|
align-items: flex-start;
|
|
4899
|
-
font-family: inherit;
|
|
4900
4925
|
display: flex;
|
|
4901
4926
|
}
|
|
4902
4927
|
|
|
@@ -4904,6 +4929,10 @@
|
|
|
4904
4929
|
cursor: pointer;
|
|
4905
4930
|
}
|
|
4906
4931
|
|
|
4932
|
+
.seed-page-banner__root .seed-box {
|
|
4933
|
+
line-height: var(--seed-line-height-t4);
|
|
4934
|
+
}
|
|
4935
|
+
|
|
4907
4936
|
.seed-page-banner__textContent {
|
|
4908
4937
|
justify-content: space-between;
|
|
4909
4938
|
align-items: center;
|
|
@@ -5704,9 +5733,9 @@
|
|
|
5704
5733
|
|
|
5705
5734
|
.seed-snackbar-region {
|
|
5706
5735
|
z-index: 2147483647;
|
|
5707
|
-
left:
|
|
5708
|
-
right:
|
|
5709
|
-
bottom: calc(
|
|
5736
|
+
left: var(--seed-safe-area-left);
|
|
5737
|
+
right: var(--seed-safe-area-right);
|
|
5738
|
+
bottom: calc(var(--seed-safe-area-bottom) + var(--snackbar-region-offset, 0px));
|
|
5710
5739
|
padding-inline: var(--seed-dimension-x2);
|
|
5711
5740
|
padding-block: var(--seed-dimension-x2);
|
|
5712
5741
|
transition-property: bottom;
|
|
@@ -6512,6 +6541,7 @@
|
|
|
6512
6541
|
.seed-text-field__header--size_xlarge {
|
|
6513
6542
|
padding-bottom: var(--seed-dimension-x3);
|
|
6514
6543
|
gap: var(--seed-dimension-x1_5);
|
|
6544
|
+
line-height: var(--seed-line-height-t5);
|
|
6515
6545
|
}
|
|
6516
6546
|
|
|
6517
6547
|
.seed-text-field__label--size_xlarge, .seed-text-field__indicator--size_xlarge {
|
|
@@ -6577,6 +6607,7 @@
|
|
|
6577
6607
|
gap: var(--seed-dimension-x3_5);
|
|
6578
6608
|
padding-top: var(--seed-dimension-x2);
|
|
6579
6609
|
min-height: 20px;
|
|
6610
|
+
line-height: var(--seed-line-height-t4);
|
|
6580
6611
|
}
|
|
6581
6612
|
|
|
6582
6613
|
.seed-text-field__description--size_xlarge, .seed-text-field__errorMessage--size_xlarge {
|
|
@@ -6598,6 +6629,7 @@
|
|
|
6598
6629
|
.seed-text-field__header--size_large {
|
|
6599
6630
|
padding-bottom: var(--seed-dimension-x3);
|
|
6600
6631
|
gap: var(--seed-dimension-x1_5);
|
|
6632
|
+
line-height: var(--seed-line-height-t5);
|
|
6601
6633
|
}
|
|
6602
6634
|
|
|
6603
6635
|
.seed-text-field__label--size_large, .seed-text-field__indicator--size_large {
|
|
@@ -6663,6 +6695,7 @@
|
|
|
6663
6695
|
gap: var(--seed-dimension-x3_5);
|
|
6664
6696
|
padding-top: var(--seed-dimension-x2);
|
|
6665
6697
|
min-height: 20px;
|
|
6698
|
+
line-height: var(--seed-line-height-t4);
|
|
6666
6699
|
}
|
|
6667
6700
|
|
|
6668
6701
|
.seed-text-field__description--size_large, .seed-text-field__errorMessage--size_large {
|
|
@@ -6683,6 +6716,7 @@
|
|
|
6683
6716
|
|
|
6684
6717
|
.seed-text-field__header--size_medium {
|
|
6685
6718
|
padding-bottom: var(--seed-dimension-x3);
|
|
6719
|
+
line-height: var(--seed-line-height-t4);
|
|
6686
6720
|
}
|
|
6687
6721
|
|
|
6688
6722
|
.seed-text-field__label--size_medium, .seed-text-field__indicator--size_medium {
|
|
@@ -6748,6 +6782,7 @@
|
|
|
6748
6782
|
gap: var(--seed-dimension-x3_5);
|
|
6749
6783
|
padding-top: var(--seed-dimension-x2);
|
|
6750
6784
|
min-height: var(--seed-dimension-x4);
|
|
6785
|
+
line-height: var(--seed-line-height-t2);
|
|
6751
6786
|
}
|
|
6752
6787
|
|
|
6753
6788
|
.seed-text-field__description--size_medium, .seed-text-field__errorMessage--size_medium {
|