@seed-design/css 1.1.0 → 1.1.4
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 +128 -69
- package/all.min.css +1 -1
- package/package.json +1 -1
- package/recipes/action-sheet.css +8 -2
- package/recipes/app-bar.css +14 -2
- package/recipes/app-screen.css +0 -16
- package/recipes/bottom-sheet.css +12 -3
- package/recipes/callout.css +1 -0
- package/recipes/dialog.css +8 -2
- package/recipes/extended-action-sheet.css +8 -2
- package/recipes/input-button.css +6 -1
- package/recipes/list-header.css +1 -0
- package/recipes/list-item.css +13 -3
- package/recipes/menu-sheet-item.css +3 -0
- package/recipes/menu-sheet.css +12 -2
- package/recipes/scroll-fog.css +23 -0
- package/recipes/scroll-fog.d.ts +22 -0
- package/recipes/scroll-fog.mjs +28 -0
- package/recipes/text-input.css +73 -35
- package/recipes/text-input.d.ts +4 -0
- package/recipes/text-input.mjs +16 -2
- package/vars/component/index.d.ts +1 -0
- package/vars/component/index.mjs +1 -0
- package/vars/component/scroll-fog.d.ts +11 -0
- package/vars/component/scroll-fog.mjs +11 -0
- package/vars/component/text-input.d.ts +74 -24
- package/vars/component/text-input.mjs +74 -24
package/all.css
CHANGED
|
@@ -1343,8 +1343,12 @@
|
|
|
1343
1343
|
}
|
|
1344
1344
|
|
|
1345
1345
|
.seed-app-bar__iconButton {
|
|
1346
|
+
background: none;
|
|
1347
|
+
border: none;
|
|
1346
1348
|
justify-content: center;
|
|
1347
1349
|
align-items: center;
|
|
1350
|
+
padding: 0;
|
|
1351
|
+
font-family: inherit;
|
|
1348
1352
|
display: flex;
|
|
1349
1353
|
}
|
|
1350
1354
|
|
|
@@ -1567,8 +1571,14 @@
|
|
|
1567
1571
|
color: var(--seed-icon-color, var(--seed-color-fg-neutral));
|
|
1568
1572
|
}
|
|
1569
1573
|
|
|
1574
|
+
.seed-app-bar__root--tone_transparent {
|
|
1575
|
+
--transparent-gradient-dim-height: 120px;
|
|
1576
|
+
--transparent-gradient-dim-background: linear-gradient(180deg, #00000059 0%, #0000 100%);
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1570
1579
|
.seed-app-bar__root--tone_transparent:before {
|
|
1571
|
-
|
|
1580
|
+
height: var(--transparent-gradient-dim-height);
|
|
1581
|
+
background: var(--transparent-gradient-dim-background);
|
|
1572
1582
|
}
|
|
1573
1583
|
|
|
1574
1584
|
.seed-app-bar__icon--tone_transparent {
|
|
@@ -2017,24 +2027,6 @@
|
|
|
2017
2027
|
padding-bottom: var(--seed-safe-area-bottom);
|
|
2018
2028
|
}
|
|
2019
2029
|
|
|
2020
|
-
.seed-app-screen__layer--tone_transparent {
|
|
2021
|
-
--transparent-gradient-dim-height: 120px;
|
|
2022
|
-
--transparent-gradient-dim-offset: -54px;
|
|
2023
|
-
--transparent-gradient-dim-background: linear-gradient(180deg, #00000059 0%, #0000 100%);
|
|
2024
|
-
}
|
|
2025
|
-
|
|
2026
|
-
.seed-app-screen__layer--tone_transparent:after {
|
|
2027
|
-
content: "";
|
|
2028
|
-
height: var(--transparent-gradient-dim-height);
|
|
2029
|
-
transform: translateY(var(--transparent-gradient-dim-offset));
|
|
2030
|
-
background: var(--transparent-gradient-dim-background);
|
|
2031
|
-
display: block;
|
|
2032
|
-
position: absolute;
|
|
2033
|
-
top: 0;
|
|
2034
|
-
left: 0;
|
|
2035
|
-
right: 0;
|
|
2036
|
-
}
|
|
2037
|
-
|
|
2038
2030
|
.seed-article {
|
|
2039
2031
|
user-select: text;
|
|
2040
2032
|
word-break: normal;
|
|
@@ -2720,6 +2712,7 @@
|
|
|
2720
2712
|
--seed-prefix-icon-size: var(--seed-dimension-x4);
|
|
2721
2713
|
--seed-suffix-icon-size: var(--seed-dimension-x4);
|
|
2722
2714
|
border: none;
|
|
2715
|
+
text-decoration: none;
|
|
2723
2716
|
display: flex;
|
|
2724
2717
|
}
|
|
2725
2718
|
|
|
@@ -4537,6 +4530,7 @@
|
|
|
4537
4530
|
transition: box-shadow var(--seed-duration-d3) var(--seed-timing-function-easing), background-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
4538
4531
|
background-color: #0000;
|
|
4539
4532
|
border: none;
|
|
4533
|
+
padding: 0;
|
|
4540
4534
|
position: absolute;
|
|
4541
4535
|
inset: 0;
|
|
4542
4536
|
}
|
|
@@ -4628,6 +4622,7 @@
|
|
|
4628
4622
|
--seed-icon-color: var(--seed-color-fg-neutral-subtle);
|
|
4629
4623
|
background-color: #0000;
|
|
4630
4624
|
border: none;
|
|
4625
|
+
padding: 0;
|
|
4631
4626
|
}
|
|
4632
4627
|
|
|
4633
4628
|
.seed-link-content {
|
|
@@ -4680,6 +4675,7 @@
|
|
|
4680
4675
|
.seed-list-header {
|
|
4681
4676
|
align-items: center;
|
|
4682
4677
|
gap: var(--seed-dimension-x2_5);
|
|
4678
|
+
box-sizing: border-box;
|
|
4683
4679
|
width: 100%;
|
|
4684
4680
|
padding-inline: var(--seed-dimension-spacing-x-global-gutter);
|
|
4685
4681
|
padding-block: var(--seed-dimension-x2);
|
|
@@ -4759,9 +4755,13 @@
|
|
|
4759
4755
|
align-items: flex-start;
|
|
4760
4756
|
gap: var(--seed-box-gap);
|
|
4761
4757
|
--seed-box-padding-right: var(--seed-dimension-x2_5);
|
|
4762
|
-
padding
|
|
4758
|
+
padding: 0 var(--seed-box-padding-right) 0 0;
|
|
4759
|
+
background: none;
|
|
4760
|
+
border: none;
|
|
4763
4761
|
flex-direction: column;
|
|
4764
4762
|
flex-grow: 1;
|
|
4763
|
+
font-family: inherit;
|
|
4764
|
+
text-decoration: none;
|
|
4765
4765
|
display: inline-flex;
|
|
4766
4766
|
}
|
|
4767
4767
|
|
|
@@ -5025,6 +5025,7 @@
|
|
|
5025
5025
|
font-size: var(--seed-font-size-t6);
|
|
5026
5026
|
line-height: var(--seed-line-height-t6);
|
|
5027
5027
|
font-weight: var(--seed-font-weight-bold);
|
|
5028
|
+
margin: 0;
|
|
5028
5029
|
}
|
|
5029
5030
|
|
|
5030
5031
|
.seed-menu-sheet__list {
|
|
@@ -5056,9 +5057,12 @@
|
|
|
5056
5057
|
padding-block: var(--seed-dimension-x3_5);
|
|
5057
5058
|
border-radius: var(--seed-radius-r3);
|
|
5058
5059
|
color: var(--seed-color-fg-neutral);
|
|
5060
|
+
font-family: inherit;
|
|
5059
5061
|
font-size: var(--seed-font-size-t5);
|
|
5060
5062
|
line-height: var(--seed-line-height-t5);
|
|
5061
5063
|
font-weight: var(--seed-font-weight-medium);
|
|
5064
|
+
border: none;
|
|
5065
|
+
outline: none;
|
|
5062
5066
|
justify-content: center;
|
|
5063
5067
|
align-items: center;
|
|
5064
5068
|
display: flex;
|
|
@@ -5079,6 +5083,9 @@
|
|
|
5079
5083
|
font-size: var(--seed-font-size-t5);
|
|
5080
5084
|
line-height: var(--seed-line-height-t5);
|
|
5081
5085
|
font-weight: var(--seed-font-weight-regular);
|
|
5086
|
+
border: none;
|
|
5087
|
+
outline: none;
|
|
5088
|
+
font-family: inherit;
|
|
5082
5089
|
display: flex;
|
|
5083
5090
|
}
|
|
5084
5091
|
|
|
@@ -5726,6 +5733,32 @@
|
|
|
5726
5733
|
--seed-prefix-icon-size: 18px;
|
|
5727
5734
|
}
|
|
5728
5735
|
|
|
5736
|
+
.seed-scroll-fog {
|
|
5737
|
+
--scroll-fog-from-color: #0000;
|
|
5738
|
+
--scroll-fog-to-color: #000;
|
|
5739
|
+
width: 100%;
|
|
5740
|
+
height: 100%;
|
|
5741
|
+
mask-image: linear-gradient(to bottom, var(--scroll-fog-from-color) 0, var(--scroll-fog-to-color) calc(var(--scrollable-top) * var(--scroll-fog-size-top))), linear-gradient(to top, var(--scroll-fog-from-color) 0, var(--scroll-fog-to-color) calc(var(--scrollable-bottom) * var(--scroll-fog-size-bottom))), linear-gradient(to right, var(--scroll-fog-from-color) 0, var(--scroll-fog-to-color) calc(var(--scrollable-left) * var(--scroll-fog-size-left))), linear-gradient(to left, var(--scroll-fog-from-color) 0, var(--scroll-fog-to-color) calc(var(--scrollable-right) * var(--scroll-fog-size-right)));
|
|
5742
|
+
-webkit-mask-image: linear-gradient(to bottom, var(--scroll-fog-from-color) 0, var(--scroll-fog-to-color) calc(var(--scrollable-top) * var(--scroll-fog-size-top))), linear-gradient(to top, var(--scroll-fog-from-color) 0, var(--scroll-fog-to-color) calc(var(--scrollable-bottom) * var(--scroll-fog-size-bottom))), linear-gradient(to right, var(--scroll-fog-from-color) 0, var(--scroll-fog-to-color) calc(var(--scrollable-left) * var(--scroll-fog-size-left))), linear-gradient(to left, var(--scroll-fog-from-color) 0, var(--scroll-fog-to-color) calc(var(--scrollable-right) * var(--scroll-fog-size-right)));
|
|
5743
|
+
-webkit-mask-composite: source-in;
|
|
5744
|
+
position: relative;
|
|
5745
|
+
overflow: auto;
|
|
5746
|
+
-webkit-mask-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
|
|
5747
|
+
mask-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
|
|
5748
|
+
-webkit-mask-repeat: no-repeat;
|
|
5749
|
+
mask-repeat: no-repeat;
|
|
5750
|
+
mask-composite: intersect;
|
|
5751
|
+
}
|
|
5752
|
+
|
|
5753
|
+
.seed-scroll-fog--hideScrollBar_true {
|
|
5754
|
+
scrollbar-width: none;
|
|
5755
|
+
-ms-overflow-style: none;
|
|
5756
|
+
}
|
|
5757
|
+
|
|
5758
|
+
.seed-scroll-fog--hideScrollBar_true::-webkit-scrollbar {
|
|
5759
|
+
display: none;
|
|
5760
|
+
}
|
|
5761
|
+
|
|
5729
5762
|
.seed-segmented-control__root {
|
|
5730
5763
|
box-sizing: border-box;
|
|
5731
5764
|
max-width: 100%;
|
|
@@ -6941,10 +6974,9 @@
|
|
|
6941
6974
|
}
|
|
6942
6975
|
|
|
6943
6976
|
.seed-text-input__root {
|
|
6944
|
-
align-items: center;
|
|
6945
|
-
gap: var(--seed-dimension-x2_5);
|
|
6946
6977
|
width: 100%;
|
|
6947
6978
|
transition: box-shadow var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
6979
|
+
align-items: center;
|
|
6948
6980
|
display: flex;
|
|
6949
6981
|
overflow: hidden;
|
|
6950
6982
|
}
|
|
@@ -6967,11 +6999,6 @@
|
|
|
6967
6999
|
width: 0;
|
|
6968
7000
|
}
|
|
6969
7001
|
|
|
6970
|
-
.seed-text-input__value:is(textarea) {
|
|
6971
|
-
min-height: 95px;
|
|
6972
|
-
padding-block: var(--seed-dimension-x3_5);
|
|
6973
|
-
}
|
|
6974
|
-
|
|
6975
7002
|
.seed-text-input__value::placeholder {
|
|
6976
7003
|
color: var(--seed-color-fg-placeholder);
|
|
6977
7004
|
font-weight: var(--seed-font-weight-regular);
|
|
@@ -6981,10 +7008,6 @@
|
|
|
6981
7008
|
color: var(--seed-color-fg-disabled);
|
|
6982
7009
|
}
|
|
6983
7010
|
|
|
6984
|
-
.seed-text-input__value[data-readonly], .seed-text-input__value[data-readonly]::placeholder {
|
|
6985
|
-
color: var(--seed-color-fg-neutral-muted);
|
|
6986
|
-
}
|
|
6987
|
-
|
|
6988
7011
|
.seed-text-input__prefixText {
|
|
6989
7012
|
color: var(--seed-color-fg-neutral-muted);
|
|
6990
7013
|
font-weight: var(--seed-font-weight-regular);
|
|
@@ -7006,7 +7029,6 @@
|
|
|
7006
7029
|
}
|
|
7007
7030
|
|
|
7008
7031
|
.seed-text-input__root--variant_outline {
|
|
7009
|
-
min-height: var(--seed-dimension-x13);
|
|
7010
7032
|
border-radius: var(--seed-radius-r3);
|
|
7011
7033
|
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral-weak);
|
|
7012
7034
|
}
|
|
@@ -7019,15 +7041,10 @@
|
|
|
7019
7041
|
box-shadow: inset 0 0 0 2px var(--seed-color-stroke-critical-solid);
|
|
7020
7042
|
}
|
|
7021
7043
|
|
|
7022
|
-
.seed-text-input__root--variant_outline:is(:disabled, [disabled], [data-disabled]) {
|
|
7044
|
+
.seed-text-input__root--variant_outline:is(:disabled, [disabled], [data-disabled]), .seed-text-input__root--variant_outline[data-readonly]:not(:is(:disabled, [disabled], [data-disabled])) {
|
|
7023
7045
|
background-color: var(--seed-color-bg-disabled);
|
|
7024
7046
|
}
|
|
7025
7047
|
|
|
7026
|
-
.seed-text-input__value--variant_outline {
|
|
7027
|
-
font-size: var(--seed-font-size-t5);
|
|
7028
|
-
line-height: var(--seed-line-height-t5);
|
|
7029
|
-
}
|
|
7030
|
-
|
|
7031
7048
|
.seed-text-input__value--variant_outline:first-child {
|
|
7032
7049
|
padding-inline-start: var(--seed-dimension-x4);
|
|
7033
7050
|
}
|
|
@@ -7036,43 +7053,16 @@
|
|
|
7036
7053
|
padding-inline-end: var(--seed-dimension-x4);
|
|
7037
7054
|
}
|
|
7038
7055
|
|
|
7039
|
-
.seed-text-
|
|
7040
|
-
font-size: var(--seed-font-size-t5);
|
|
7041
|
-
line-height: var(--seed-line-height-t5);
|
|
7042
|
-
}
|
|
7043
|
-
|
|
7044
|
-
.seed-text-input__prefixText--variant_outline:first-child {
|
|
7045
|
-
margin-inline-start: var(--seed-dimension-x4);
|
|
7046
|
-
}
|
|
7047
|
-
|
|
7048
|
-
.seed-text-input__prefixIcon--variant_outline {
|
|
7049
|
-
width: var(--seed-dimension-x5);
|
|
7050
|
-
height: var(--seed-dimension-x5);
|
|
7051
|
-
}
|
|
7052
|
-
|
|
7053
|
-
.seed-text-input__prefixIcon--variant_outline:first-child {
|
|
7056
|
+
.seed-text-input__prefixText--variant_outline:first-child, .seed-text-input__prefixIcon--variant_outline:first-child {
|
|
7054
7057
|
margin-inline-start: var(--seed-dimension-x4);
|
|
7055
7058
|
}
|
|
7056
7059
|
|
|
7057
|
-
.seed-text-input__suffixText--variant_outline {
|
|
7058
|
-
font-size: var(--seed-font-size-t5);
|
|
7059
|
-
line-height: var(--seed-line-height-t5);
|
|
7060
|
-
}
|
|
7061
|
-
|
|
7062
|
-
.seed-text-input__suffixText--variant_outline:last-child {
|
|
7063
|
-
margin-inline-end: var(--seed-dimension-x4);
|
|
7064
|
-
}
|
|
7065
|
-
|
|
7066
|
-
.seed-text-input__suffixIcon--variant_outline {
|
|
7067
|
-
width: var(--seed-dimension-x5);
|
|
7068
|
-
height: var(--seed-dimension-x5);
|
|
7069
|
-
}
|
|
7070
|
-
|
|
7071
|
-
.seed-text-input__suffixIcon--variant_outline:last-child {
|
|
7060
|
+
.seed-text-input__suffixText--variant_outline:last-child, .seed-text-input__suffixIcon--variant_outline:last-child {
|
|
7072
7061
|
margin-inline-end: var(--seed-dimension-x4);
|
|
7073
7062
|
}
|
|
7074
7063
|
|
|
7075
7064
|
.seed-text-input__root--variant_underline {
|
|
7065
|
+
gap: var(--seed-dimension-x2_5);
|
|
7076
7066
|
min-height: var(--seed-dimension-x10);
|
|
7077
7067
|
box-shadow: inset 0 calc(1px * -1) 0 0 var(--seed-color-stroke-neutral-weak);
|
|
7078
7068
|
}
|
|
@@ -7085,7 +7075,16 @@
|
|
|
7085
7075
|
box-shadow: inset 0 calc(2px * -1) 0 0 var(--seed-color-stroke-critical-solid);
|
|
7086
7076
|
}
|
|
7087
7077
|
|
|
7088
|
-
.seed-text-input__value--variant_underline, .seed-text-input__value--variant_underline::placeholder
|
|
7078
|
+
.seed-text-input__value--variant_underline, .seed-text-input__value--variant_underline::placeholder {
|
|
7079
|
+
font-size: var(--seed-font-size-t6);
|
|
7080
|
+
line-height: var(--seed-line-height-t6);
|
|
7081
|
+
}
|
|
7082
|
+
|
|
7083
|
+
.seed-text-input__value--variant_underline[data-readonly]:not(:is(:disabled, [disabled], [data-disabled])), .seed-text-input__value--variant_underline[data-readonly]:not(:is(:disabled, [disabled], [data-disabled]))::placeholder {
|
|
7084
|
+
color: var(--seed-color-fg-neutral-muted);
|
|
7085
|
+
}
|
|
7086
|
+
|
|
7087
|
+
.seed-text-input__prefixText--variant_underline {
|
|
7089
7088
|
font-size: var(--seed-font-size-t6);
|
|
7090
7089
|
line-height: var(--seed-line-height-t6);
|
|
7091
7090
|
}
|
|
@@ -7105,6 +7104,66 @@
|
|
|
7105
7104
|
height: var(--seed-dimension-x6);
|
|
7106
7105
|
}
|
|
7107
7106
|
|
|
7107
|
+
.seed-text-input__value--size_large:is(textarea) {
|
|
7108
|
+
min-height: 95px;
|
|
7109
|
+
padding-block: var(--seed-dimension-x3_5);
|
|
7110
|
+
}
|
|
7111
|
+
|
|
7112
|
+
.seed-text-input__value--size_medium:is(textarea) {
|
|
7113
|
+
min-height: 90px;
|
|
7114
|
+
padding-block: 11px;
|
|
7115
|
+
}
|
|
7116
|
+
|
|
7117
|
+
.seed-text-input__root--variant_outline-size_large {
|
|
7118
|
+
gap: var(--seed-dimension-x2_5);
|
|
7119
|
+
min-height: var(--seed-dimension-x13);
|
|
7120
|
+
}
|
|
7121
|
+
|
|
7122
|
+
.seed-text-input__value--variant_outline-size_large, .seed-text-input__value--variant_outline-size_large::placeholder, .seed-text-input__prefixText--variant_outline-size_large {
|
|
7123
|
+
font-size: var(--seed-font-size-t5);
|
|
7124
|
+
line-height: var(--seed-line-height-t5);
|
|
7125
|
+
}
|
|
7126
|
+
|
|
7127
|
+
.seed-text-input__prefixIcon--variant_outline-size_large {
|
|
7128
|
+
width: var(--seed-dimension-x5);
|
|
7129
|
+
height: var(--seed-dimension-x5);
|
|
7130
|
+
}
|
|
7131
|
+
|
|
7132
|
+
.seed-text-input__suffixText--variant_outline-size_large {
|
|
7133
|
+
font-size: var(--seed-font-size-t5);
|
|
7134
|
+
line-height: var(--seed-line-height-t5);
|
|
7135
|
+
}
|
|
7136
|
+
|
|
7137
|
+
.seed-text-input__suffixIcon--variant_outline-size_large {
|
|
7138
|
+
width: var(--seed-dimension-x5);
|
|
7139
|
+
height: var(--seed-dimension-x5);
|
|
7140
|
+
}
|
|
7141
|
+
|
|
7142
|
+
.seed-text-input__root--variant_outline-size_medium {
|
|
7143
|
+
gap: var(--seed-dimension-x1_5);
|
|
7144
|
+
min-height: var(--seed-dimension-x10);
|
|
7145
|
+
}
|
|
7146
|
+
|
|
7147
|
+
.seed-text-input__value--variant_outline-size_medium, .seed-text-input__value--variant_outline-size_medium::placeholder, .seed-text-input__prefixText--variant_outline-size_medium {
|
|
7148
|
+
font-size: var(--seed-font-size-t4);
|
|
7149
|
+
line-height: var(--seed-line-height-t4);
|
|
7150
|
+
}
|
|
7151
|
+
|
|
7152
|
+
.seed-text-input__prefixIcon--variant_outline-size_medium {
|
|
7153
|
+
width: var(--seed-dimension-x4);
|
|
7154
|
+
height: var(--seed-dimension-x4);
|
|
7155
|
+
}
|
|
7156
|
+
|
|
7157
|
+
.seed-text-input__suffixText--variant_outline-size_medium {
|
|
7158
|
+
font-size: var(--seed-font-size-t4);
|
|
7159
|
+
line-height: var(--seed-line-height-t4);
|
|
7160
|
+
}
|
|
7161
|
+
|
|
7162
|
+
.seed-text-input__suffixIcon--variant_outline-size_medium {
|
|
7163
|
+
width: var(--seed-dimension-x4);
|
|
7164
|
+
height: var(--seed-dimension-x4);
|
|
7165
|
+
}
|
|
7166
|
+
|
|
7108
7167
|
.seed-toggle-button {
|
|
7109
7168
|
box-sizing: border-box;
|
|
7110
7169
|
cursor: pointer;
|