@seed-design/css 2.1.0 → 2.1.2
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 +18 -33
- package/all.layered.css +18 -33
- package/all.layered.min.css +1 -1
- package/all.min.css +1 -1
- package/package.json +1 -1
- package/recipes/attachment-input-item.css +2 -0
- package/recipes/attachment-input-item.layered.css +2 -0
- package/recipes/floating-action-button.css +2 -2
- package/recipes/floating-action-button.layered.css +2 -2
- package/recipes/image-frame-reaction-button.css +1 -3
- package/recipes/image-frame-reaction-button.layered.css +1 -4
- package/recipes/side-panel.css +13 -27
- package/recipes/side-panel.layered.css +13 -27
- package/vars/component/floating-action-button.d.ts +1 -1
- package/vars/component/floating-action-button.mjs +1 -1
- package/vars/component/image-frame-reaction-button.d.ts +3 -2
- package/vars/component/image-frame-reaction-button.mjs +3 -2
- package/vars/component/side-panel-close-button.d.ts +6 -2
- package/vars/component/side-panel-close-button.mjs +6 -2
- package/vars/component/side-panel.d.ts +7 -4
- package/vars/component/side-panel.mjs +6 -4
package/all.css
CHANGED
|
@@ -4852,6 +4852,7 @@
|
|
|
4852
4852
|
}
|
|
4853
4853
|
|
|
4854
4854
|
.seed-attachment-input-item__root {
|
|
4855
|
+
isolation: isolate;
|
|
4855
4856
|
justify-content: center;
|
|
4856
4857
|
align-items: center;
|
|
4857
4858
|
gap: var(--seed-dimension-x2_5);
|
|
@@ -5093,6 +5094,7 @@
|
|
|
5093
5094
|
}
|
|
5094
5095
|
|
|
5095
5096
|
.seed-attachment-input-item__root--type_image:before {
|
|
5097
|
+
z-index: 1;
|
|
5096
5098
|
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral-subtle);
|
|
5097
5099
|
}
|
|
5098
5100
|
|
|
@@ -5296,8 +5298,8 @@
|
|
|
5296
5298
|
}
|
|
5297
5299
|
|
|
5298
5300
|
.seed-floating-action-button__icon--extended_true {
|
|
5299
|
-
width: var(--seed-dimension-
|
|
5300
|
-
height: var(--seed-dimension-
|
|
5301
|
+
width: var(--seed-dimension-x4);
|
|
5302
|
+
height: var(--seed-dimension-x4);
|
|
5301
5303
|
margin-right: var(--seed-dimension-x1);
|
|
5302
5304
|
transition: none;
|
|
5303
5305
|
}
|
|
@@ -5620,15 +5622,12 @@
|
|
|
5620
5622
|
height: var(--seed-dimension-x6);
|
|
5621
5623
|
color: var(--seed-color-palette-static-white);
|
|
5622
5624
|
pointer-events: none;
|
|
5625
|
+
filter: drop-shadow(0 2px 2px #00000026);
|
|
5623
5626
|
margin: auto;
|
|
5624
5627
|
position: absolute;
|
|
5625
5628
|
inset: 0;
|
|
5626
5629
|
}
|
|
5627
5630
|
|
|
5628
|
-
.seed-image-frame-reaction-button__lineIcon:is([aria-pressed="true"], [data-pressed]) {
|
|
5629
|
-
color: var(--seed-color-bg-transparent);
|
|
5630
|
-
}
|
|
5631
|
-
|
|
5632
5631
|
.seed-inline-banner__root {
|
|
5633
5632
|
box-sizing: border-box;
|
|
5634
5633
|
-webkit-font-smoothing: antialiased;
|
|
@@ -8778,7 +8777,7 @@
|
|
|
8778
8777
|
}
|
|
8779
8778
|
|
|
8780
8779
|
.seed-side-panel__header[data-show-close-button] {
|
|
8781
|
-
padding-right: calc(var(--seed-dimension-
|
|
8780
|
+
padding-right: calc(24px + 22px + var(--seed-dimension-x1_5));
|
|
8782
8781
|
}
|
|
8783
8782
|
|
|
8784
8783
|
.seed-side-panel__title {
|
|
@@ -8800,6 +8799,7 @@
|
|
|
8800
8799
|
}
|
|
8801
8800
|
|
|
8802
8801
|
.seed-side-panel__body {
|
|
8802
|
+
box-sizing: border-box;
|
|
8803
8803
|
--seed-box-padding-x-base: var(--seed-dimension-x6);
|
|
8804
8804
|
--seed-box-padding-x-sm: var(--seed-box-padding-x-base);
|
|
8805
8805
|
--seed-box-padding-x-md: var(--seed-box-padding-x-sm);
|
|
@@ -8860,57 +8860,42 @@
|
|
|
8860
8860
|
}
|
|
8861
8861
|
|
|
8862
8862
|
.seed-side-panel__closeButton {
|
|
8863
|
+
background: var(--seed-color-bg-transparent);
|
|
8863
8864
|
top: calc(28px + var(--seed-safe-area-top));
|
|
8864
8865
|
border-radius: var(--seed-radius-r3);
|
|
8865
|
-
background: var(--seed-color-bg-transparent);
|
|
8866
8866
|
cursor: pointer;
|
|
8867
|
+
transition: background var(--seed-duration-color-transition) var(--seed-timing-function-easing), outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
8867
8868
|
--seed-icon-size: 22px;
|
|
8868
8869
|
--seed-icon-color: var(--seed-color-fg-neutral-subtle);
|
|
8870
|
+
outline: var(--seed-dimension-x0_5) solid transparent;
|
|
8871
|
+
outline-offset: var(--seed-dimension-x0_5);
|
|
8869
8872
|
border: none;
|
|
8870
8873
|
justify-content: center;
|
|
8871
8874
|
align-items: center;
|
|
8872
|
-
|
|
8873
|
-
|
|
8875
|
+
margin: -15px;
|
|
8876
|
+
padding: 15px;
|
|
8874
8877
|
display: flex;
|
|
8875
8878
|
position: absolute;
|
|
8876
8879
|
right: 24px;
|
|
8877
8880
|
}
|
|
8878
8881
|
|
|
8879
|
-
.seed-side-panel__closeButton
|
|
8880
|
-
|
|
8882
|
+
.seed-side-panel__closeButton:is(:focus-visible, [data-focus-visible]) {
|
|
8883
|
+
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
8884
|
+
outline-offset: var(--seed-dimension-x0_5);
|
|
8881
8885
|
}
|
|
8882
8886
|
|
|
8883
8887
|
@media (hover: hover) and (pointer: fine) {
|
|
8884
8888
|
.seed-side-panel__closeButton:is(:hover, [data-hover]) {
|
|
8885
|
-
|
|
8889
|
+
background: var(--seed-color-bg-transparent-pressed);
|
|
8886
8890
|
}
|
|
8887
8891
|
}
|
|
8888
8892
|
|
|
8889
8893
|
@media not all and (hover: hover) and (pointer: fine) {
|
|
8890
8894
|
.seed-side-panel__closeButton:is(:active, [data-active]) {
|
|
8891
|
-
|
|
8895
|
+
background: var(--seed-color-bg-transparent-pressed);
|
|
8892
8896
|
}
|
|
8893
8897
|
}
|
|
8894
8898
|
|
|
8895
|
-
.seed-side-panel__closeButton:after {
|
|
8896
|
-
content: "";
|
|
8897
|
-
border-radius: var(--seed-radius-r3);
|
|
8898
|
-
outline: var(--seed-dimension-x0_5) solid transparent;
|
|
8899
|
-
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
8900
|
-
transition: outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
8901
|
-
position: absolute;
|
|
8902
|
-
inset: -15px;
|
|
8903
|
-
}
|
|
8904
|
-
|
|
8905
|
-
.seed-side-panel__closeButton:is(:focus, [data-focus]) {
|
|
8906
|
-
outline: none;
|
|
8907
|
-
}
|
|
8908
|
-
|
|
8909
|
-
.seed-side-panel__closeButton:is(:focus-visible, [data-focus-visible]):after {
|
|
8910
|
-
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
8911
|
-
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
8912
|
-
}
|
|
8913
|
-
|
|
8914
8899
|
.seed-side-panel__content--size_small {
|
|
8915
8900
|
--side-panel-size-width: 480px;
|
|
8916
8901
|
}
|
package/all.layered.css
CHANGED
|
@@ -5101,6 +5101,7 @@
|
|
|
5101
5101
|
}
|
|
5102
5102
|
|
|
5103
5103
|
.seed-attachment-input-item__root {
|
|
5104
|
+
isolation: isolate;
|
|
5104
5105
|
justify-content: center;
|
|
5105
5106
|
align-items: center;
|
|
5106
5107
|
gap: var(--seed-dimension-x2_5);
|
|
@@ -5342,6 +5343,7 @@
|
|
|
5342
5343
|
}
|
|
5343
5344
|
|
|
5344
5345
|
.seed-attachment-input-item__root--type_image:before {
|
|
5346
|
+
z-index: 1;
|
|
5345
5347
|
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral-subtle);
|
|
5346
5348
|
}
|
|
5347
5349
|
|
|
@@ -5545,8 +5547,8 @@
|
|
|
5545
5547
|
}
|
|
5546
5548
|
|
|
5547
5549
|
.seed-floating-action-button__icon--extended_true {
|
|
5548
|
-
width: var(--seed-dimension-
|
|
5549
|
-
height: var(--seed-dimension-
|
|
5550
|
+
width: var(--seed-dimension-x4);
|
|
5551
|
+
height: var(--seed-dimension-x4);
|
|
5550
5552
|
margin-right: var(--seed-dimension-x1);
|
|
5551
5553
|
transition: none;
|
|
5552
5554
|
}
|
|
@@ -5869,15 +5871,12 @@
|
|
|
5869
5871
|
height: var(--seed-dimension-x6);
|
|
5870
5872
|
color: var(--seed-color-palette-static-white);
|
|
5871
5873
|
pointer-events: none;
|
|
5874
|
+
filter: drop-shadow(0 2px 2px #00000026);
|
|
5872
5875
|
margin: auto;
|
|
5873
5876
|
position: absolute;
|
|
5874
5877
|
inset: 0;
|
|
5875
5878
|
}
|
|
5876
5879
|
|
|
5877
|
-
.seed-image-frame-reaction-button__lineIcon:is([aria-pressed="true"], [data-pressed]) {
|
|
5878
|
-
color: var(--seed-color-bg-transparent);
|
|
5879
|
-
}
|
|
5880
|
-
|
|
5881
5880
|
.seed-inline-banner__root {
|
|
5882
5881
|
box-sizing: border-box;
|
|
5883
5882
|
-webkit-font-smoothing: antialiased;
|
|
@@ -9027,7 +9026,7 @@
|
|
|
9027
9026
|
}
|
|
9028
9027
|
|
|
9029
9028
|
.seed-side-panel__header[data-show-close-button] {
|
|
9030
|
-
padding-right: calc(var(--seed-dimension-
|
|
9029
|
+
padding-right: calc(24px + 22px + var(--seed-dimension-x1_5));
|
|
9031
9030
|
}
|
|
9032
9031
|
|
|
9033
9032
|
.seed-side-panel__title {
|
|
@@ -9049,6 +9048,7 @@
|
|
|
9049
9048
|
}
|
|
9050
9049
|
|
|
9051
9050
|
.seed-side-panel__body {
|
|
9051
|
+
box-sizing: border-box;
|
|
9052
9052
|
--seed-box-padding-x-base: var(--seed-dimension-x6);
|
|
9053
9053
|
--seed-box-padding-x-sm: var(--seed-box-padding-x-base);
|
|
9054
9054
|
--seed-box-padding-x-md: var(--seed-box-padding-x-sm);
|
|
@@ -9109,57 +9109,42 @@
|
|
|
9109
9109
|
}
|
|
9110
9110
|
|
|
9111
9111
|
.seed-side-panel__closeButton {
|
|
9112
|
+
background: var(--seed-color-bg-transparent);
|
|
9112
9113
|
top: calc(28px + var(--seed-safe-area-top));
|
|
9113
9114
|
border-radius: var(--seed-radius-r3);
|
|
9114
|
-
background: var(--seed-color-bg-transparent);
|
|
9115
9115
|
cursor: pointer;
|
|
9116
|
+
transition: background var(--seed-duration-color-transition) var(--seed-timing-function-easing), outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
9116
9117
|
--seed-icon-size: 22px;
|
|
9117
9118
|
--seed-icon-color: var(--seed-color-fg-neutral-subtle);
|
|
9119
|
+
outline: var(--seed-dimension-x0_5) solid transparent;
|
|
9120
|
+
outline-offset: var(--seed-dimension-x0_5);
|
|
9118
9121
|
border: none;
|
|
9119
9122
|
justify-content: center;
|
|
9120
9123
|
align-items: center;
|
|
9121
|
-
|
|
9122
|
-
|
|
9124
|
+
margin: -15px;
|
|
9125
|
+
padding: 15px;
|
|
9123
9126
|
display: flex;
|
|
9124
9127
|
position: absolute;
|
|
9125
9128
|
right: 24px;
|
|
9126
9129
|
}
|
|
9127
9130
|
|
|
9128
|
-
.seed-side-panel__closeButton
|
|
9129
|
-
|
|
9131
|
+
.seed-side-panel__closeButton:is(:focus-visible, [data-focus-visible]) {
|
|
9132
|
+
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
9133
|
+
outline-offset: var(--seed-dimension-x0_5);
|
|
9130
9134
|
}
|
|
9131
9135
|
|
|
9132
9136
|
@media (hover: hover) and (pointer: fine) {
|
|
9133
9137
|
.seed-side-panel__closeButton:is(:hover, [data-hover]) {
|
|
9134
|
-
|
|
9138
|
+
background: var(--seed-color-bg-transparent-pressed);
|
|
9135
9139
|
}
|
|
9136
9140
|
}
|
|
9137
9141
|
|
|
9138
9142
|
@media not all and (hover: hover) and (pointer: fine) {
|
|
9139
9143
|
.seed-side-panel__closeButton:is(:active, [data-active]) {
|
|
9140
|
-
|
|
9144
|
+
background: var(--seed-color-bg-transparent-pressed);
|
|
9141
9145
|
}
|
|
9142
9146
|
}
|
|
9143
9147
|
|
|
9144
|
-
.seed-side-panel__closeButton:after {
|
|
9145
|
-
content: "";
|
|
9146
|
-
border-radius: var(--seed-radius-r3);
|
|
9147
|
-
outline: var(--seed-dimension-x0_5) solid transparent;
|
|
9148
|
-
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
9149
|
-
transition: outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
9150
|
-
position: absolute;
|
|
9151
|
-
inset: -15px;
|
|
9152
|
-
}
|
|
9153
|
-
|
|
9154
|
-
.seed-side-panel__closeButton:is(:focus, [data-focus]) {
|
|
9155
|
-
outline: none;
|
|
9156
|
-
}
|
|
9157
|
-
|
|
9158
|
-
.seed-side-panel__closeButton:is(:focus-visible, [data-focus-visible]):after {
|
|
9159
|
-
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
9160
|
-
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
9161
|
-
}
|
|
9162
|
-
|
|
9163
9148
|
.seed-side-panel__content--size_small {
|
|
9164
9149
|
--side-panel-size-width: 480px;
|
|
9165
9150
|
}
|