@seed-design/css 1.1.0 → 1.1.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/all.css +121 -50
- package/all.min.css +1 -1
- package/package.json +1 -1
- package/recipes/action-sheet.css +8 -2
- package/recipes/app-bar.css +8 -1
- 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
|
|
|
@@ -2720,6 +2724,7 @@
|
|
|
2720
2724
|
--seed-prefix-icon-size: var(--seed-dimension-x4);
|
|
2721
2725
|
--seed-suffix-icon-size: var(--seed-dimension-x4);
|
|
2722
2726
|
border: none;
|
|
2727
|
+
text-decoration: none;
|
|
2723
2728
|
display: flex;
|
|
2724
2729
|
}
|
|
2725
2730
|
|
|
@@ -4537,6 +4542,7 @@
|
|
|
4537
4542
|
transition: box-shadow var(--seed-duration-d3) var(--seed-timing-function-easing), background-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
4538
4543
|
background-color: #0000;
|
|
4539
4544
|
border: none;
|
|
4545
|
+
padding: 0;
|
|
4540
4546
|
position: absolute;
|
|
4541
4547
|
inset: 0;
|
|
4542
4548
|
}
|
|
@@ -4628,6 +4634,7 @@
|
|
|
4628
4634
|
--seed-icon-color: var(--seed-color-fg-neutral-subtle);
|
|
4629
4635
|
background-color: #0000;
|
|
4630
4636
|
border: none;
|
|
4637
|
+
padding: 0;
|
|
4631
4638
|
}
|
|
4632
4639
|
|
|
4633
4640
|
.seed-link-content {
|
|
@@ -4680,6 +4687,7 @@
|
|
|
4680
4687
|
.seed-list-header {
|
|
4681
4688
|
align-items: center;
|
|
4682
4689
|
gap: var(--seed-dimension-x2_5);
|
|
4690
|
+
box-sizing: border-box;
|
|
4683
4691
|
width: 100%;
|
|
4684
4692
|
padding-inline: var(--seed-dimension-spacing-x-global-gutter);
|
|
4685
4693
|
padding-block: var(--seed-dimension-x2);
|
|
@@ -4759,9 +4767,13 @@
|
|
|
4759
4767
|
align-items: flex-start;
|
|
4760
4768
|
gap: var(--seed-box-gap);
|
|
4761
4769
|
--seed-box-padding-right: var(--seed-dimension-x2_5);
|
|
4762
|
-
padding
|
|
4770
|
+
padding: 0 var(--seed-box-padding-right) 0 0;
|
|
4771
|
+
background: none;
|
|
4772
|
+
border: none;
|
|
4763
4773
|
flex-direction: column;
|
|
4764
4774
|
flex-grow: 1;
|
|
4775
|
+
font-family: inherit;
|
|
4776
|
+
text-decoration: none;
|
|
4765
4777
|
display: inline-flex;
|
|
4766
4778
|
}
|
|
4767
4779
|
|
|
@@ -5025,6 +5037,7 @@
|
|
|
5025
5037
|
font-size: var(--seed-font-size-t6);
|
|
5026
5038
|
line-height: var(--seed-line-height-t6);
|
|
5027
5039
|
font-weight: var(--seed-font-weight-bold);
|
|
5040
|
+
margin: 0;
|
|
5028
5041
|
}
|
|
5029
5042
|
|
|
5030
5043
|
.seed-menu-sheet__list {
|
|
@@ -5056,9 +5069,12 @@
|
|
|
5056
5069
|
padding-block: var(--seed-dimension-x3_5);
|
|
5057
5070
|
border-radius: var(--seed-radius-r3);
|
|
5058
5071
|
color: var(--seed-color-fg-neutral);
|
|
5072
|
+
font-family: inherit;
|
|
5059
5073
|
font-size: var(--seed-font-size-t5);
|
|
5060
5074
|
line-height: var(--seed-line-height-t5);
|
|
5061
5075
|
font-weight: var(--seed-font-weight-medium);
|
|
5076
|
+
border: none;
|
|
5077
|
+
outline: none;
|
|
5062
5078
|
justify-content: center;
|
|
5063
5079
|
align-items: center;
|
|
5064
5080
|
display: flex;
|
|
@@ -5079,6 +5095,9 @@
|
|
|
5079
5095
|
font-size: var(--seed-font-size-t5);
|
|
5080
5096
|
line-height: var(--seed-line-height-t5);
|
|
5081
5097
|
font-weight: var(--seed-font-weight-regular);
|
|
5098
|
+
border: none;
|
|
5099
|
+
outline: none;
|
|
5100
|
+
font-family: inherit;
|
|
5082
5101
|
display: flex;
|
|
5083
5102
|
}
|
|
5084
5103
|
|
|
@@ -5726,6 +5745,32 @@
|
|
|
5726
5745
|
--seed-prefix-icon-size: 18px;
|
|
5727
5746
|
}
|
|
5728
5747
|
|
|
5748
|
+
.seed-scroll-fog {
|
|
5749
|
+
--scroll-fog-from-color: #0000;
|
|
5750
|
+
--scroll-fog-to-color: #000;
|
|
5751
|
+
width: 100%;
|
|
5752
|
+
height: 100%;
|
|
5753
|
+
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)));
|
|
5754
|
+
-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)));
|
|
5755
|
+
-webkit-mask-composite: source-in;
|
|
5756
|
+
position: relative;
|
|
5757
|
+
overflow: auto;
|
|
5758
|
+
-webkit-mask-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
|
|
5759
|
+
mask-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
|
|
5760
|
+
-webkit-mask-repeat: no-repeat;
|
|
5761
|
+
mask-repeat: no-repeat;
|
|
5762
|
+
mask-composite: intersect;
|
|
5763
|
+
}
|
|
5764
|
+
|
|
5765
|
+
.seed-scroll-fog--hideScrollBar_true {
|
|
5766
|
+
scrollbar-width: none;
|
|
5767
|
+
-ms-overflow-style: none;
|
|
5768
|
+
}
|
|
5769
|
+
|
|
5770
|
+
.seed-scroll-fog--hideScrollBar_true::-webkit-scrollbar {
|
|
5771
|
+
display: none;
|
|
5772
|
+
}
|
|
5773
|
+
|
|
5729
5774
|
.seed-segmented-control__root {
|
|
5730
5775
|
box-sizing: border-box;
|
|
5731
5776
|
max-width: 100%;
|
|
@@ -6941,10 +6986,9 @@
|
|
|
6941
6986
|
}
|
|
6942
6987
|
|
|
6943
6988
|
.seed-text-input__root {
|
|
6944
|
-
align-items: center;
|
|
6945
|
-
gap: var(--seed-dimension-x2_5);
|
|
6946
6989
|
width: 100%;
|
|
6947
6990
|
transition: box-shadow var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
6991
|
+
align-items: center;
|
|
6948
6992
|
display: flex;
|
|
6949
6993
|
overflow: hidden;
|
|
6950
6994
|
}
|
|
@@ -6967,11 +7011,6 @@
|
|
|
6967
7011
|
width: 0;
|
|
6968
7012
|
}
|
|
6969
7013
|
|
|
6970
|
-
.seed-text-input__value:is(textarea) {
|
|
6971
|
-
min-height: 95px;
|
|
6972
|
-
padding-block: var(--seed-dimension-x3_5);
|
|
6973
|
-
}
|
|
6974
|
-
|
|
6975
7014
|
.seed-text-input__value::placeholder {
|
|
6976
7015
|
color: var(--seed-color-fg-placeholder);
|
|
6977
7016
|
font-weight: var(--seed-font-weight-regular);
|
|
@@ -6981,10 +7020,6 @@
|
|
|
6981
7020
|
color: var(--seed-color-fg-disabled);
|
|
6982
7021
|
}
|
|
6983
7022
|
|
|
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
7023
|
.seed-text-input__prefixText {
|
|
6989
7024
|
color: var(--seed-color-fg-neutral-muted);
|
|
6990
7025
|
font-weight: var(--seed-font-weight-regular);
|
|
@@ -7006,7 +7041,6 @@
|
|
|
7006
7041
|
}
|
|
7007
7042
|
|
|
7008
7043
|
.seed-text-input__root--variant_outline {
|
|
7009
|
-
min-height: var(--seed-dimension-x13);
|
|
7010
7044
|
border-radius: var(--seed-radius-r3);
|
|
7011
7045
|
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral-weak);
|
|
7012
7046
|
}
|
|
@@ -7019,15 +7053,10 @@
|
|
|
7019
7053
|
box-shadow: inset 0 0 0 2px var(--seed-color-stroke-critical-solid);
|
|
7020
7054
|
}
|
|
7021
7055
|
|
|
7022
|
-
.seed-text-input__root--variant_outline:is(:disabled, [disabled], [data-disabled]) {
|
|
7056
|
+
.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
7057
|
background-color: var(--seed-color-bg-disabled);
|
|
7024
7058
|
}
|
|
7025
7059
|
|
|
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
7060
|
.seed-text-input__value--variant_outline:first-child {
|
|
7032
7061
|
padding-inline-start: var(--seed-dimension-x4);
|
|
7033
7062
|
}
|
|
@@ -7036,43 +7065,16 @@
|
|
|
7036
7065
|
padding-inline-end: var(--seed-dimension-x4);
|
|
7037
7066
|
}
|
|
7038
7067
|
|
|
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 {
|
|
7068
|
+
.seed-text-input__prefixText--variant_outline:first-child, .seed-text-input__prefixIcon--variant_outline:first-child {
|
|
7045
7069
|
margin-inline-start: var(--seed-dimension-x4);
|
|
7046
7070
|
}
|
|
7047
7071
|
|
|
7048
|
-
.seed-text-
|
|
7049
|
-
width: var(--seed-dimension-x5);
|
|
7050
|
-
height: var(--seed-dimension-x5);
|
|
7051
|
-
}
|
|
7052
|
-
|
|
7053
|
-
.seed-text-input__prefixIcon--variant_outline:first-child {
|
|
7054
|
-
margin-inline-start: var(--seed-dimension-x4);
|
|
7055
|
-
}
|
|
7056
|
-
|
|
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 {
|
|
7072
|
+
.seed-text-input__suffixText--variant_outline:last-child, .seed-text-input__suffixIcon--variant_outline:last-child {
|
|
7072
7073
|
margin-inline-end: var(--seed-dimension-x4);
|
|
7073
7074
|
}
|
|
7074
7075
|
|
|
7075
7076
|
.seed-text-input__root--variant_underline {
|
|
7077
|
+
gap: var(--seed-dimension-x2_5);
|
|
7076
7078
|
min-height: var(--seed-dimension-x10);
|
|
7077
7079
|
box-shadow: inset 0 calc(1px * -1) 0 0 var(--seed-color-stroke-neutral-weak);
|
|
7078
7080
|
}
|
|
@@ -7085,7 +7087,16 @@
|
|
|
7085
7087
|
box-shadow: inset 0 calc(2px * -1) 0 0 var(--seed-color-stroke-critical-solid);
|
|
7086
7088
|
}
|
|
7087
7089
|
|
|
7088
|
-
.seed-text-input__value--variant_underline, .seed-text-input__value--variant_underline::placeholder
|
|
7090
|
+
.seed-text-input__value--variant_underline, .seed-text-input__value--variant_underline::placeholder {
|
|
7091
|
+
font-size: var(--seed-font-size-t6);
|
|
7092
|
+
line-height: var(--seed-line-height-t6);
|
|
7093
|
+
}
|
|
7094
|
+
|
|
7095
|
+
.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 {
|
|
7096
|
+
color: var(--seed-color-fg-neutral-muted);
|
|
7097
|
+
}
|
|
7098
|
+
|
|
7099
|
+
.seed-text-input__prefixText--variant_underline {
|
|
7089
7100
|
font-size: var(--seed-font-size-t6);
|
|
7090
7101
|
line-height: var(--seed-line-height-t6);
|
|
7091
7102
|
}
|
|
@@ -7105,6 +7116,66 @@
|
|
|
7105
7116
|
height: var(--seed-dimension-x6);
|
|
7106
7117
|
}
|
|
7107
7118
|
|
|
7119
|
+
.seed-text-input__value--size_large:is(textarea) {
|
|
7120
|
+
min-height: 95px;
|
|
7121
|
+
padding-block: var(--seed-dimension-x3_5);
|
|
7122
|
+
}
|
|
7123
|
+
|
|
7124
|
+
.seed-text-input__value--size_medium:is(textarea) {
|
|
7125
|
+
min-height: 90px;
|
|
7126
|
+
padding-block: 11px;
|
|
7127
|
+
}
|
|
7128
|
+
|
|
7129
|
+
.seed-text-input__root--variant_outline-size_large {
|
|
7130
|
+
gap: var(--seed-dimension-x2_5);
|
|
7131
|
+
min-height: var(--seed-dimension-x13);
|
|
7132
|
+
}
|
|
7133
|
+
|
|
7134
|
+
.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 {
|
|
7135
|
+
font-size: var(--seed-font-size-t5);
|
|
7136
|
+
line-height: var(--seed-line-height-t5);
|
|
7137
|
+
}
|
|
7138
|
+
|
|
7139
|
+
.seed-text-input__prefixIcon--variant_outline-size_large {
|
|
7140
|
+
width: var(--seed-dimension-x5);
|
|
7141
|
+
height: var(--seed-dimension-x5);
|
|
7142
|
+
}
|
|
7143
|
+
|
|
7144
|
+
.seed-text-input__suffixText--variant_outline-size_large {
|
|
7145
|
+
font-size: var(--seed-font-size-t5);
|
|
7146
|
+
line-height: var(--seed-line-height-t5);
|
|
7147
|
+
}
|
|
7148
|
+
|
|
7149
|
+
.seed-text-input__suffixIcon--variant_outline-size_large {
|
|
7150
|
+
width: var(--seed-dimension-x5);
|
|
7151
|
+
height: var(--seed-dimension-x5);
|
|
7152
|
+
}
|
|
7153
|
+
|
|
7154
|
+
.seed-text-input__root--variant_outline-size_medium {
|
|
7155
|
+
gap: var(--seed-dimension-x1_5);
|
|
7156
|
+
min-height: var(--seed-dimension-x10);
|
|
7157
|
+
}
|
|
7158
|
+
|
|
7159
|
+
.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 {
|
|
7160
|
+
font-size: var(--seed-font-size-t4);
|
|
7161
|
+
line-height: var(--seed-line-height-t4);
|
|
7162
|
+
}
|
|
7163
|
+
|
|
7164
|
+
.seed-text-input__prefixIcon--variant_outline-size_medium {
|
|
7165
|
+
width: var(--seed-dimension-x4);
|
|
7166
|
+
height: var(--seed-dimension-x4);
|
|
7167
|
+
}
|
|
7168
|
+
|
|
7169
|
+
.seed-text-input__suffixText--variant_outline-size_medium {
|
|
7170
|
+
font-size: var(--seed-font-size-t4);
|
|
7171
|
+
line-height: var(--seed-line-height-t4);
|
|
7172
|
+
}
|
|
7173
|
+
|
|
7174
|
+
.seed-text-input__suffixIcon--variant_outline-size_medium {
|
|
7175
|
+
width: var(--seed-dimension-x4);
|
|
7176
|
+
height: var(--seed-dimension-x4);
|
|
7177
|
+
}
|
|
7178
|
+
|
|
7108
7179
|
.seed-toggle-button {
|
|
7109
7180
|
box-sizing: border-box;
|
|
7110
7181
|
cursor: pointer;
|