@seed-design/css 2.1.1 → 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 +16 -33
- package/all.layered.css +16 -33
- package/all.layered.min.css +1 -1
- package/all.min.css +1 -1
- package/package.json +1 -1
- 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
|
@@ -5298,8 +5298,8 @@
|
|
|
5298
5298
|
}
|
|
5299
5299
|
|
|
5300
5300
|
.seed-floating-action-button__icon--extended_true {
|
|
5301
|
-
width: var(--seed-dimension-
|
|
5302
|
-
height: var(--seed-dimension-
|
|
5301
|
+
width: var(--seed-dimension-x4);
|
|
5302
|
+
height: var(--seed-dimension-x4);
|
|
5303
5303
|
margin-right: var(--seed-dimension-x1);
|
|
5304
5304
|
transition: none;
|
|
5305
5305
|
}
|
|
@@ -5622,15 +5622,12 @@
|
|
|
5622
5622
|
height: var(--seed-dimension-x6);
|
|
5623
5623
|
color: var(--seed-color-palette-static-white);
|
|
5624
5624
|
pointer-events: none;
|
|
5625
|
+
filter: drop-shadow(0 2px 2px #00000026);
|
|
5625
5626
|
margin: auto;
|
|
5626
5627
|
position: absolute;
|
|
5627
5628
|
inset: 0;
|
|
5628
5629
|
}
|
|
5629
5630
|
|
|
5630
|
-
.seed-image-frame-reaction-button__lineIcon:is([aria-pressed="true"], [data-pressed]) {
|
|
5631
|
-
color: var(--seed-color-bg-transparent);
|
|
5632
|
-
}
|
|
5633
|
-
|
|
5634
5631
|
.seed-inline-banner__root {
|
|
5635
5632
|
box-sizing: border-box;
|
|
5636
5633
|
-webkit-font-smoothing: antialiased;
|
|
@@ -8780,7 +8777,7 @@
|
|
|
8780
8777
|
}
|
|
8781
8778
|
|
|
8782
8779
|
.seed-side-panel__header[data-show-close-button] {
|
|
8783
|
-
padding-right: calc(var(--seed-dimension-
|
|
8780
|
+
padding-right: calc(24px + 22px + var(--seed-dimension-x1_5));
|
|
8784
8781
|
}
|
|
8785
8782
|
|
|
8786
8783
|
.seed-side-panel__title {
|
|
@@ -8802,6 +8799,7 @@
|
|
|
8802
8799
|
}
|
|
8803
8800
|
|
|
8804
8801
|
.seed-side-panel__body {
|
|
8802
|
+
box-sizing: border-box;
|
|
8805
8803
|
--seed-box-padding-x-base: var(--seed-dimension-x6);
|
|
8806
8804
|
--seed-box-padding-x-sm: var(--seed-box-padding-x-base);
|
|
8807
8805
|
--seed-box-padding-x-md: var(--seed-box-padding-x-sm);
|
|
@@ -8862,57 +8860,42 @@
|
|
|
8862
8860
|
}
|
|
8863
8861
|
|
|
8864
8862
|
.seed-side-panel__closeButton {
|
|
8863
|
+
background: var(--seed-color-bg-transparent);
|
|
8865
8864
|
top: calc(28px + var(--seed-safe-area-top));
|
|
8866
8865
|
border-radius: var(--seed-radius-r3);
|
|
8867
|
-
background: var(--seed-color-bg-transparent);
|
|
8868
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);
|
|
8869
8868
|
--seed-icon-size: 22px;
|
|
8870
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);
|
|
8871
8872
|
border: none;
|
|
8872
8873
|
justify-content: center;
|
|
8873
8874
|
align-items: center;
|
|
8874
|
-
|
|
8875
|
-
|
|
8875
|
+
margin: -15px;
|
|
8876
|
+
padding: 15px;
|
|
8876
8877
|
display: flex;
|
|
8877
8878
|
position: absolute;
|
|
8878
8879
|
right: 24px;
|
|
8879
8880
|
}
|
|
8880
8881
|
|
|
8881
|
-
.seed-side-panel__closeButton
|
|
8882
|
-
|
|
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);
|
|
8883
8885
|
}
|
|
8884
8886
|
|
|
8885
8887
|
@media (hover: hover) and (pointer: fine) {
|
|
8886
8888
|
.seed-side-panel__closeButton:is(:hover, [data-hover]) {
|
|
8887
|
-
|
|
8889
|
+
background: var(--seed-color-bg-transparent-pressed);
|
|
8888
8890
|
}
|
|
8889
8891
|
}
|
|
8890
8892
|
|
|
8891
8893
|
@media not all and (hover: hover) and (pointer: fine) {
|
|
8892
8894
|
.seed-side-panel__closeButton:is(:active, [data-active]) {
|
|
8893
|
-
|
|
8895
|
+
background: var(--seed-color-bg-transparent-pressed);
|
|
8894
8896
|
}
|
|
8895
8897
|
}
|
|
8896
8898
|
|
|
8897
|
-
.seed-side-panel__closeButton:after {
|
|
8898
|
-
content: "";
|
|
8899
|
-
border-radius: var(--seed-radius-r3);
|
|
8900
|
-
outline: var(--seed-dimension-x0_5) solid transparent;
|
|
8901
|
-
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
8902
|
-
transition: outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
8903
|
-
position: absolute;
|
|
8904
|
-
inset: -15px;
|
|
8905
|
-
}
|
|
8906
|
-
|
|
8907
|
-
.seed-side-panel__closeButton:is(:focus, [data-focus]) {
|
|
8908
|
-
outline: none;
|
|
8909
|
-
}
|
|
8910
|
-
|
|
8911
|
-
.seed-side-panel__closeButton:is(:focus-visible, [data-focus-visible]):after {
|
|
8912
|
-
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
8913
|
-
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
8914
|
-
}
|
|
8915
|
-
|
|
8916
8899
|
.seed-side-panel__content--size_small {
|
|
8917
8900
|
--side-panel-size-width: 480px;
|
|
8918
8901
|
}
|
package/all.layered.css
CHANGED
|
@@ -5547,8 +5547,8 @@
|
|
|
5547
5547
|
}
|
|
5548
5548
|
|
|
5549
5549
|
.seed-floating-action-button__icon--extended_true {
|
|
5550
|
-
width: var(--seed-dimension-
|
|
5551
|
-
height: var(--seed-dimension-
|
|
5550
|
+
width: var(--seed-dimension-x4);
|
|
5551
|
+
height: var(--seed-dimension-x4);
|
|
5552
5552
|
margin-right: var(--seed-dimension-x1);
|
|
5553
5553
|
transition: none;
|
|
5554
5554
|
}
|
|
@@ -5871,15 +5871,12 @@
|
|
|
5871
5871
|
height: var(--seed-dimension-x6);
|
|
5872
5872
|
color: var(--seed-color-palette-static-white);
|
|
5873
5873
|
pointer-events: none;
|
|
5874
|
+
filter: drop-shadow(0 2px 2px #00000026);
|
|
5874
5875
|
margin: auto;
|
|
5875
5876
|
position: absolute;
|
|
5876
5877
|
inset: 0;
|
|
5877
5878
|
}
|
|
5878
5879
|
|
|
5879
|
-
.seed-image-frame-reaction-button__lineIcon:is([aria-pressed="true"], [data-pressed]) {
|
|
5880
|
-
color: var(--seed-color-bg-transparent);
|
|
5881
|
-
}
|
|
5882
|
-
|
|
5883
5880
|
.seed-inline-banner__root {
|
|
5884
5881
|
box-sizing: border-box;
|
|
5885
5882
|
-webkit-font-smoothing: antialiased;
|
|
@@ -9029,7 +9026,7 @@
|
|
|
9029
9026
|
}
|
|
9030
9027
|
|
|
9031
9028
|
.seed-side-panel__header[data-show-close-button] {
|
|
9032
|
-
padding-right: calc(var(--seed-dimension-
|
|
9029
|
+
padding-right: calc(24px + 22px + var(--seed-dimension-x1_5));
|
|
9033
9030
|
}
|
|
9034
9031
|
|
|
9035
9032
|
.seed-side-panel__title {
|
|
@@ -9051,6 +9048,7 @@
|
|
|
9051
9048
|
}
|
|
9052
9049
|
|
|
9053
9050
|
.seed-side-panel__body {
|
|
9051
|
+
box-sizing: border-box;
|
|
9054
9052
|
--seed-box-padding-x-base: var(--seed-dimension-x6);
|
|
9055
9053
|
--seed-box-padding-x-sm: var(--seed-box-padding-x-base);
|
|
9056
9054
|
--seed-box-padding-x-md: var(--seed-box-padding-x-sm);
|
|
@@ -9111,57 +9109,42 @@
|
|
|
9111
9109
|
}
|
|
9112
9110
|
|
|
9113
9111
|
.seed-side-panel__closeButton {
|
|
9112
|
+
background: var(--seed-color-bg-transparent);
|
|
9114
9113
|
top: calc(28px + var(--seed-safe-area-top));
|
|
9115
9114
|
border-radius: var(--seed-radius-r3);
|
|
9116
|
-
background: var(--seed-color-bg-transparent);
|
|
9117
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);
|
|
9118
9117
|
--seed-icon-size: 22px;
|
|
9119
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);
|
|
9120
9121
|
border: none;
|
|
9121
9122
|
justify-content: center;
|
|
9122
9123
|
align-items: center;
|
|
9123
|
-
|
|
9124
|
-
|
|
9124
|
+
margin: -15px;
|
|
9125
|
+
padding: 15px;
|
|
9125
9126
|
display: flex;
|
|
9126
9127
|
position: absolute;
|
|
9127
9128
|
right: 24px;
|
|
9128
9129
|
}
|
|
9129
9130
|
|
|
9130
|
-
.seed-side-panel__closeButton
|
|
9131
|
-
|
|
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);
|
|
9132
9134
|
}
|
|
9133
9135
|
|
|
9134
9136
|
@media (hover: hover) and (pointer: fine) {
|
|
9135
9137
|
.seed-side-panel__closeButton:is(:hover, [data-hover]) {
|
|
9136
|
-
|
|
9138
|
+
background: var(--seed-color-bg-transparent-pressed);
|
|
9137
9139
|
}
|
|
9138
9140
|
}
|
|
9139
9141
|
|
|
9140
9142
|
@media not all and (hover: hover) and (pointer: fine) {
|
|
9141
9143
|
.seed-side-panel__closeButton:is(:active, [data-active]) {
|
|
9142
|
-
|
|
9144
|
+
background: var(--seed-color-bg-transparent-pressed);
|
|
9143
9145
|
}
|
|
9144
9146
|
}
|
|
9145
9147
|
|
|
9146
|
-
.seed-side-panel__closeButton:after {
|
|
9147
|
-
content: "";
|
|
9148
|
-
border-radius: var(--seed-radius-r3);
|
|
9149
|
-
outline: var(--seed-dimension-x0_5) solid transparent;
|
|
9150
|
-
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
9151
|
-
transition: outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
9152
|
-
position: absolute;
|
|
9153
|
-
inset: -15px;
|
|
9154
|
-
}
|
|
9155
|
-
|
|
9156
|
-
.seed-side-panel__closeButton:is(:focus, [data-focus]) {
|
|
9157
|
-
outline: none;
|
|
9158
|
-
}
|
|
9159
|
-
|
|
9160
|
-
.seed-side-panel__closeButton:is(:focus-visible, [data-focus-visible]):after {
|
|
9161
|
-
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
9162
|
-
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
9163
|
-
}
|
|
9164
|
-
|
|
9165
9148
|
.seed-side-panel__content--size_small {
|
|
9166
9149
|
--side-panel-size-width: 480px;
|
|
9167
9150
|
}
|