@seed-design/css 0.1.3 → 0.1.5
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/README.md +1 -0
- package/all.css +418 -11
- package/all.min.css +1 -1
- package/base.css +1 -0
- package/base.min.css +1 -1
- package/package.json +1 -1
- package/recipes/callout.css +7 -4
- package/recipes/chip.css +191 -0
- package/recipes/chip.d.ts +32 -0
- package/recipes/chip.mjs +80 -0
- package/recipes/inline-banner.css +9 -7
- package/recipes/menu-sheet-item.css +36 -0
- package/recipes/menu-sheet-item.d.ts +26 -0
- package/recipes/menu-sheet-item.mjs +34 -0
- package/recipes/menu-sheet.css +117 -0
- package/recipes/menu-sheet.d.ts +21 -0
- package/recipes/menu-sheet.mjs +64 -0
- package/vars/component/chip.d.ts +373 -0
- package/vars/component/chip.mjs +373 -0
- package/vars/component/index.d.ts +4 -0
- package/vars/component/index.mjs +4 -0
- package/vars/component/menu-sheet-close-button.d.ts +24 -0
- package/vars/component/menu-sheet-close-button.mjs +24 -0
- package/vars/component/menu-sheet-item.d.ts +52 -0
- package/vars/component/menu-sheet-item.mjs +52 -0
- package/vars/component/menu-sheet.d.ts +55 -0
- package/vars/component/menu-sheet.mjs +55 -0
package/README.md
CHANGED
package/all.css
CHANGED
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
margin-left: var(--seed-suffix-icon-margin-left);
|
|
62
62
|
margin-right: var(--seed-suffix-icon-margin-right);
|
|
63
63
|
margin-top: var(--seed-suffix-icon-margin-top);
|
|
64
|
+
margin-bottom: var(--seed-suffix-icon-margin-bottom);
|
|
64
65
|
color: var(--seed-suffix-icon-color, currentColor);
|
|
65
66
|
}
|
|
66
67
|
|
|
@@ -2868,6 +2869,230 @@
|
|
|
2868
2869
|
min-width: var(--seed-dimension-x8);
|
|
2869
2870
|
}
|
|
2870
2871
|
|
|
2872
|
+
.seed-chip__root {
|
|
2873
|
+
box-sizing: border-box;
|
|
2874
|
+
cursor: pointer;
|
|
2875
|
+
text-transform: none;
|
|
2876
|
+
text-align: start;
|
|
2877
|
+
white-space: nowrap;
|
|
2878
|
+
-webkit-font-smoothing: antialiased;
|
|
2879
|
+
-moz-osx-font-smoothing: grayscale;
|
|
2880
|
+
border-radius: var(--seed-radius-full);
|
|
2881
|
+
transition-duration: var(--seed-duration-d4);
|
|
2882
|
+
transition-timing-function: var(--seed-timing-function-easing);
|
|
2883
|
+
border: none;
|
|
2884
|
+
flex-shrink: 0;
|
|
2885
|
+
justify-content: center;
|
|
2886
|
+
align-items: center;
|
|
2887
|
+
font-family: inherit;
|
|
2888
|
+
line-height: 1;
|
|
2889
|
+
transition-property: background-color, color, border-color, box-shadow;
|
|
2890
|
+
display: inline-flex;
|
|
2891
|
+
}
|
|
2892
|
+
|
|
2893
|
+
.seed-chip__root:is(:focus, [data-focus]) {
|
|
2894
|
+
outline: none;
|
|
2895
|
+
}
|
|
2896
|
+
|
|
2897
|
+
.seed-chip__root:is(:disabled, [disabled], [data-disabled]) {
|
|
2898
|
+
cursor: not-allowed;
|
|
2899
|
+
}
|
|
2900
|
+
|
|
2901
|
+
.seed-chip__root {
|
|
2902
|
+
--seed-icon-color: inherit;
|
|
2903
|
+
}
|
|
2904
|
+
|
|
2905
|
+
.seed-chip__label {
|
|
2906
|
+
font-weight: var(--seed-font-weight-medium);
|
|
2907
|
+
padding-inline: var(--seed-dimension-x1_5);
|
|
2908
|
+
color: inherit;
|
|
2909
|
+
justify-content: center;
|
|
2910
|
+
align-items: center;
|
|
2911
|
+
display: inline-flex;
|
|
2912
|
+
}
|
|
2913
|
+
|
|
2914
|
+
.seed-chip__prefixIcon {
|
|
2915
|
+
padding-left: var(--seed-dimension-x1_5);
|
|
2916
|
+
--seed-icon-color: inherit;
|
|
2917
|
+
flex-shrink: 0;
|
|
2918
|
+
align-items: center;
|
|
2919
|
+
display: inline-flex;
|
|
2920
|
+
}
|
|
2921
|
+
|
|
2922
|
+
.seed-chip__prefixAvatar {
|
|
2923
|
+
flex-shrink: 0;
|
|
2924
|
+
align-items: center;
|
|
2925
|
+
display: inline-flex;
|
|
2926
|
+
}
|
|
2927
|
+
|
|
2928
|
+
.seed-chip__suffixIcon {
|
|
2929
|
+
padding-right: var(--seed-dimension-x1_5);
|
|
2930
|
+
--seed-icon-color: inherit;
|
|
2931
|
+
flex-shrink: 0;
|
|
2932
|
+
align-items: center;
|
|
2933
|
+
display: inline-flex;
|
|
2934
|
+
}
|
|
2935
|
+
|
|
2936
|
+
.seed-chip__root--variant_solid {
|
|
2937
|
+
background: var(--seed-color-bg-neutral-weak);
|
|
2938
|
+
color: var(--seed-color-fg-neutral);
|
|
2939
|
+
}
|
|
2940
|
+
|
|
2941
|
+
.seed-chip__root--variant_solid:is(:checked, [data-checked]) {
|
|
2942
|
+
box-shadow: none;
|
|
2943
|
+
background: var(--seed-color-bg-neutral-inverted);
|
|
2944
|
+
color: var(--seed-color-fg-neutral-inverted);
|
|
2945
|
+
--seed-icon-color: var(--seed-color-fg-neutral-inverted);
|
|
2946
|
+
}
|
|
2947
|
+
|
|
2948
|
+
.seed-chip__root--variant_solid:is(:active, [data-active]):not(:is(:disabled, [disabled], [data-disabled])) {
|
|
2949
|
+
background: var(--seed-color-bg-neutral-weak-pressed);
|
|
2950
|
+
color: var(--seed-color-fg-neutral);
|
|
2951
|
+
--seed-icon-color: var(--seed-color-fg-neutral);
|
|
2952
|
+
}
|
|
2953
|
+
|
|
2954
|
+
.seed-chip__root--variant_solid:is(:checked, [data-checked]):is(:active, [data-active]):not(:is(:disabled, [disabled], [data-disabled])) {
|
|
2955
|
+
background: var(--seed-color-bg-neutral-inverted-pressed);
|
|
2956
|
+
color: var(--seed-color-fg-neutral-inverted);
|
|
2957
|
+
--seed-icon-color: var(--seed-color-fg-neutral-inverted);
|
|
2958
|
+
}
|
|
2959
|
+
|
|
2960
|
+
.seed-chip__root--variant_solid:is(:disabled, [disabled], [data-disabled]) {
|
|
2961
|
+
opacity: .5;
|
|
2962
|
+
}
|
|
2963
|
+
|
|
2964
|
+
.seed-chip__root--variant_solid {
|
|
2965
|
+
--seed-icon-color: var(--seed-color-fg-neutral);
|
|
2966
|
+
}
|
|
2967
|
+
|
|
2968
|
+
.seed-chip__root--variant_outlineStrong {
|
|
2969
|
+
background: var(--seed-color-bg-layer-default);
|
|
2970
|
+
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral);
|
|
2971
|
+
color: var(--seed-color-fg-neutral);
|
|
2972
|
+
}
|
|
2973
|
+
|
|
2974
|
+
.seed-chip__root--variant_outlineStrong:is(:active, [data-active]):not(:is(:disabled, [disabled], [data-disabled])) {
|
|
2975
|
+
background: var(--seed-color-bg-layer-default-pressed);
|
|
2976
|
+
color: var(--seed-color-fg-neutral);
|
|
2977
|
+
--seed-icon-color: var(--seed-color-fg-neutral);
|
|
2978
|
+
}
|
|
2979
|
+
|
|
2980
|
+
.seed-chip__root--variant_outlineStrong:is(:checked, [data-checked]) {
|
|
2981
|
+
background: var(--seed-color-bg-neutral-inverted);
|
|
2982
|
+
color: var(--seed-color-fg-neutral-inverted);
|
|
2983
|
+
--seed-icon-color: var(--seed-color-fg-neutral-inverted);
|
|
2984
|
+
}
|
|
2985
|
+
|
|
2986
|
+
.seed-chip__root--variant_outlineStrong:is(:checked, [data-checked]):is(:active, [data-active]):not(:is(:disabled, [disabled], [data-disabled])) {
|
|
2987
|
+
background: var(--seed-color-bg-neutral-inverted-pressed);
|
|
2988
|
+
color: var(--seed-color-fg-neutral-inverted);
|
|
2989
|
+
--seed-icon-color: var(--seed-color-fg-neutral-inverted);
|
|
2990
|
+
}
|
|
2991
|
+
|
|
2992
|
+
.seed-chip__root--variant_outlineStrong:is(:disabled, [disabled], [data-disabled]) {
|
|
2993
|
+
opacity: .5;
|
|
2994
|
+
}
|
|
2995
|
+
|
|
2996
|
+
.seed-chip__root--variant_outlineStrong {
|
|
2997
|
+
--seed-icon-color: var(--seed-color-fg-neutral);
|
|
2998
|
+
}
|
|
2999
|
+
|
|
3000
|
+
.seed-chip__root--variant_outlineWeak {
|
|
3001
|
+
background: var(--seed-color-bg-layer-default);
|
|
3002
|
+
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral);
|
|
3003
|
+
color: var(--seed-color-fg-neutral);
|
|
3004
|
+
}
|
|
3005
|
+
|
|
3006
|
+
.seed-chip__root--variant_outlineWeak:is(:active, [data-active]):not(:is(:disabled, [disabled], [data-disabled])) {
|
|
3007
|
+
background: var(--seed-color-bg-layer-default-pressed);
|
|
3008
|
+
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral);
|
|
3009
|
+
color: var(--seed-color-fg-neutral);
|
|
3010
|
+
--seed-icon-color: var(--seed-color-fg-neutral);
|
|
3011
|
+
}
|
|
3012
|
+
|
|
3013
|
+
.seed-chip__root--variant_outlineWeak:is(:checked, [data-checked]) {
|
|
3014
|
+
background: var(--seed-color-bg-neutral-weak);
|
|
3015
|
+
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-field-focused);
|
|
3016
|
+
color: var(--seed-color-fg-neutral);
|
|
3017
|
+
--seed-icon-color: var(--seed-color-fg-neutral);
|
|
3018
|
+
}
|
|
3019
|
+
|
|
3020
|
+
.seed-chip__root--variant_outlineWeak:is(:checked, [data-checked]):is(:active, [data-active]):not(:is(:disabled, [disabled], [data-disabled])) {
|
|
3021
|
+
background: var(--seed-color-bg-neutral-weak-pressed);
|
|
3022
|
+
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-field-focused);
|
|
3023
|
+
color: var(--seed-color-fg-neutral);
|
|
3024
|
+
--seed-icon-color: var(--seed-color-fg-neutral);
|
|
3025
|
+
}
|
|
3026
|
+
|
|
3027
|
+
.seed-chip__root--variant_outlineWeak:is(:disabled, [disabled], [data-disabled]) {
|
|
3028
|
+
opacity: .5;
|
|
3029
|
+
}
|
|
3030
|
+
|
|
3031
|
+
.seed-chip__root--variant_outlineWeak {
|
|
3032
|
+
--seed-icon-color: var(--seed-color-fg-neutral);
|
|
3033
|
+
}
|
|
3034
|
+
|
|
3035
|
+
.seed-chip__root--size_large {
|
|
3036
|
+
height: 40px;
|
|
3037
|
+
padding-inline: var(--seed-dimension-x2_5);
|
|
3038
|
+
--seed-icon-size: var(--seed-dimension-x4);
|
|
3039
|
+
}
|
|
3040
|
+
|
|
3041
|
+
.seed-chip__label--size_large {
|
|
3042
|
+
font-size: var(--seed-font-size-t4);
|
|
3043
|
+
line-height: var(--seed-line-height-t4);
|
|
3044
|
+
}
|
|
3045
|
+
|
|
3046
|
+
.seed-chip__prefixIcon--size_large, .seed-chip__suffixIcon--size_large {
|
|
3047
|
+
--seed-icon-size: var(--seed-dimension-x4);
|
|
3048
|
+
}
|
|
3049
|
+
|
|
3050
|
+
.seed-chip__root--size_medium {
|
|
3051
|
+
height: 36px;
|
|
3052
|
+
padding-inline: var(--seed-dimension-x2);
|
|
3053
|
+
--seed-icon-size: var(--seed-dimension-x4);
|
|
3054
|
+
}
|
|
3055
|
+
|
|
3056
|
+
.seed-chip__label--size_medium {
|
|
3057
|
+
font-size: var(--seed-font-size-t4);
|
|
3058
|
+
line-height: var(--seed-line-height-t4);
|
|
3059
|
+
}
|
|
3060
|
+
|
|
3061
|
+
.seed-chip__prefixIcon--size_medium {
|
|
3062
|
+
--seed-icon-size: var(--seed-dimension-x4);
|
|
3063
|
+
}
|
|
3064
|
+
|
|
3065
|
+
.seed-chip__suffixIcon--size_medium {
|
|
3066
|
+
--seed-icon-size: var(--seed-dimension-x3_5);
|
|
3067
|
+
}
|
|
3068
|
+
|
|
3069
|
+
.seed-chip__root--size_small {
|
|
3070
|
+
height: 32px;
|
|
3071
|
+
padding-inline: var(--seed-dimension-x1_5);
|
|
3072
|
+
--seed-icon-size: var(--seed-dimension-x3_5);
|
|
3073
|
+
}
|
|
3074
|
+
|
|
3075
|
+
.seed-chip__label--size_small {
|
|
3076
|
+
font-size: var(--seed-font-size-t4);
|
|
3077
|
+
line-height: var(--seed-line-height-t4);
|
|
3078
|
+
}
|
|
3079
|
+
|
|
3080
|
+
.seed-chip__prefixIcon--size_small, .seed-chip__suffixIcon--size_small {
|
|
3081
|
+
--seed-icon-size: var(--seed-dimension-x3_5);
|
|
3082
|
+
}
|
|
3083
|
+
|
|
3084
|
+
.seed-chip__root--size_small-layout_iconOnly {
|
|
3085
|
+
min-width: var(--seed-dimension-x8);
|
|
3086
|
+
}
|
|
3087
|
+
|
|
3088
|
+
.seed-chip__root--size_medium-layout_iconOnly {
|
|
3089
|
+
min-width: var(--seed-dimension-x9);
|
|
3090
|
+
}
|
|
3091
|
+
|
|
3092
|
+
.seed-chip__root--size_large-layout_iconOnly {
|
|
3093
|
+
min-width: var(--seed-dimension-x10);
|
|
3094
|
+
}
|
|
3095
|
+
|
|
2871
3096
|
.seed-control-chip {
|
|
2872
3097
|
box-sizing: border-box;
|
|
2873
3098
|
cursor: pointer;
|
|
@@ -2990,14 +3215,17 @@
|
|
|
2990
3215
|
|
|
2991
3216
|
.seed-callout__content {
|
|
2992
3217
|
margin-inline-end: auto;
|
|
2993
|
-
display: block;
|
|
2994
3218
|
}
|
|
2995
3219
|
|
|
2996
3220
|
.seed-callout__title {
|
|
2997
3221
|
font-size: var(--seed-font-size-t4);
|
|
2998
3222
|
line-height: var(--seed-line-height-t4);
|
|
2999
3223
|
font-weight: var(--seed-font-weight-bold);
|
|
3000
|
-
|
|
3224
|
+
}
|
|
3225
|
+
|
|
3226
|
+
.seed-callout__title:after {
|
|
3227
|
+
content: " ";
|
|
3228
|
+
white-space: pre;
|
|
3001
3229
|
}
|
|
3002
3230
|
|
|
3003
3231
|
.seed-callout__description {
|
|
@@ -3006,8 +3234,9 @@
|
|
|
3006
3234
|
font-weight: var(--seed-font-weight-regular);
|
|
3007
3235
|
}
|
|
3008
3236
|
|
|
3009
|
-
.seed-callout__description:not(:last-child) {
|
|
3010
|
-
|
|
3237
|
+
.seed-callout__description:not(:last-child):after {
|
|
3238
|
+
content: " ";
|
|
3239
|
+
white-space: pre;
|
|
3011
3240
|
}
|
|
3012
3241
|
|
|
3013
3242
|
.seed-callout__link {
|
|
@@ -3194,6 +3423,181 @@
|
|
|
3194
3423
|
color: var(--seed-color-manner-temp-l6-text);
|
|
3195
3424
|
}
|
|
3196
3425
|
|
|
3426
|
+
.seed-menu-sheet__positioner {
|
|
3427
|
+
overscroll-behavior-y: none;
|
|
3428
|
+
--sheet-z-index: 2;
|
|
3429
|
+
z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
|
|
3430
|
+
justify-content: center;
|
|
3431
|
+
align-items: flex-end;
|
|
3432
|
+
display: flex;
|
|
3433
|
+
position: fixed;
|
|
3434
|
+
inset: 0;
|
|
3435
|
+
}
|
|
3436
|
+
|
|
3437
|
+
.seed-menu-sheet__backdrop {
|
|
3438
|
+
background: var(--seed-color-bg-overlay);
|
|
3439
|
+
z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
|
|
3440
|
+
position: fixed;
|
|
3441
|
+
inset: 0;
|
|
3442
|
+
}
|
|
3443
|
+
|
|
3444
|
+
.seed-menu-sheet__backdrop:not(:is([data-state="open"], [data-open])) {
|
|
3445
|
+
animation: seed-exit;
|
|
3446
|
+
animation-timing-function: var(--seed-timing-function-exit);
|
|
3447
|
+
animation-duration: var(--seed-duration-d2);
|
|
3448
|
+
--seed-exit-translate-x: 0;
|
|
3449
|
+
--seed-exit-translate-y: 0;
|
|
3450
|
+
--seed-exit-opacity: 0;
|
|
3451
|
+
--seed-exit-scale: 1;
|
|
3452
|
+
animation-fill-mode: forwards;
|
|
3453
|
+
}
|
|
3454
|
+
|
|
3455
|
+
.seed-menu-sheet__backdrop:is([data-state="open"], [data-open]) {
|
|
3456
|
+
animation: seed-enter;
|
|
3457
|
+
animation-timing-function: var(--seed-timing-function-enter);
|
|
3458
|
+
animation-duration: var(--seed-duration-d2);
|
|
3459
|
+
--seed-enter-translate-x: 0;
|
|
3460
|
+
--seed-enter-translate-y: 0;
|
|
3461
|
+
--seed-enter-opacity: 0;
|
|
3462
|
+
--seed-enter-scale: 1;
|
|
3463
|
+
}
|
|
3464
|
+
|
|
3465
|
+
.seed-menu-sheet__content {
|
|
3466
|
+
box-sizing: border-box;
|
|
3467
|
+
word-break: break-all;
|
|
3468
|
+
z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
|
|
3469
|
+
background: var(--seed-color-bg-layer-floating);
|
|
3470
|
+
padding-inline: var(--seed-dimension-spacing-x-global-gutter);
|
|
3471
|
+
padding-block: var(--seed-dimension-x4);
|
|
3472
|
+
border-top-left-radius: var(--seed-radius-r5);
|
|
3473
|
+
border-top-right-radius: var(--seed-radius-r5);
|
|
3474
|
+
flex-direction: column;
|
|
3475
|
+
flex: 1;
|
|
3476
|
+
display: flex;
|
|
3477
|
+
position: relative;
|
|
3478
|
+
}
|
|
3479
|
+
|
|
3480
|
+
.seed-menu-sheet__content:not(:is([data-state="open"], [data-open])) {
|
|
3481
|
+
animation: seed-exit;
|
|
3482
|
+
animation-timing-function: var(--seed-timing-function-exit);
|
|
3483
|
+
animation-duration: var(--seed-duration-d4);
|
|
3484
|
+
--seed-exit-translate-x: 0;
|
|
3485
|
+
--seed-exit-translate-y: 100%;
|
|
3486
|
+
--seed-exit-opacity: 1;
|
|
3487
|
+
--seed-exit-scale: 1;
|
|
3488
|
+
animation-fill-mode: forwards;
|
|
3489
|
+
}
|
|
3490
|
+
|
|
3491
|
+
.seed-menu-sheet__content:is([data-state="open"], [data-open]) {
|
|
3492
|
+
animation: seed-enter;
|
|
3493
|
+
animation-timing-function: var(--seed-timing-function-enter-expressive);
|
|
3494
|
+
animation-duration: var(--seed-duration-d6);
|
|
3495
|
+
--seed-enter-translate-x: 0;
|
|
3496
|
+
--seed-enter-translate-y: 100%;
|
|
3497
|
+
--seed-enter-opacity: 1;
|
|
3498
|
+
--seed-enter-scale: 1;
|
|
3499
|
+
}
|
|
3500
|
+
|
|
3501
|
+
.seed-menu-sheet__header {
|
|
3502
|
+
align-items: center;
|
|
3503
|
+
gap: var(--seed-dimension-x1);
|
|
3504
|
+
padding-bottom: var(--seed-dimension-x4);
|
|
3505
|
+
flex-direction: column;
|
|
3506
|
+
display: flex;
|
|
3507
|
+
}
|
|
3508
|
+
|
|
3509
|
+
.seed-menu-sheet__title {
|
|
3510
|
+
color: var(--seed-color-fg-neutral);
|
|
3511
|
+
font-size: var(--seed-font-size-t6);
|
|
3512
|
+
line-height: var(--seed-line-height-t6);
|
|
3513
|
+
font-weight: var(--seed-font-weight-bold);
|
|
3514
|
+
}
|
|
3515
|
+
|
|
3516
|
+
.seed-menu-sheet__list {
|
|
3517
|
+
align-items: stretch;
|
|
3518
|
+
gap: var(--seed-dimension-x2_5);
|
|
3519
|
+
flex-direction: column;
|
|
3520
|
+
display: flex;
|
|
3521
|
+
}
|
|
3522
|
+
|
|
3523
|
+
.seed-menu-sheet__group {
|
|
3524
|
+
border-radius: var(--seed-radius-r4);
|
|
3525
|
+
flex-direction: column;
|
|
3526
|
+
align-items: stretch;
|
|
3527
|
+
display: flex;
|
|
3528
|
+
overflow: hidden;
|
|
3529
|
+
}
|
|
3530
|
+
|
|
3531
|
+
.seed-menu-sheet__footer {
|
|
3532
|
+
padding-top: var(--seed-dimension-x2_5);
|
|
3533
|
+
flex-direction: column;
|
|
3534
|
+
align-items: stretch;
|
|
3535
|
+
display: flex;
|
|
3536
|
+
}
|
|
3537
|
+
|
|
3538
|
+
.seed-menu-sheet__closeButton {
|
|
3539
|
+
background-color: var(--seed-color-bg-neutral-weak);
|
|
3540
|
+
min-height: 52px;
|
|
3541
|
+
padding-inline: var(--seed-dimension-x5);
|
|
3542
|
+
padding-block: var(--seed-dimension-x3_5);
|
|
3543
|
+
border-radius: var(--seed-radius-r3);
|
|
3544
|
+
color: var(--seed-color-fg-neutral);
|
|
3545
|
+
font-size: var(--seed-font-size-t5);
|
|
3546
|
+
line-height: var(--seed-line-height-t5);
|
|
3547
|
+
font-weight: var(--seed-font-weight-medium);
|
|
3548
|
+
justify-content: center;
|
|
3549
|
+
align-items: center;
|
|
3550
|
+
display: flex;
|
|
3551
|
+
}
|
|
3552
|
+
|
|
3553
|
+
.seed-menu-sheet__closeButton:is(:active, [data-active]) {
|
|
3554
|
+
background-color: var(--seed-color-bg-neutral-weak-pressed);
|
|
3555
|
+
}
|
|
3556
|
+
|
|
3557
|
+
.seed-menu-sheet-item {
|
|
3558
|
+
background-color: var(--seed-color-bg-neutral-weak);
|
|
3559
|
+
min-height: 52px;
|
|
3560
|
+
padding-inline: var(--seed-dimension-x4);
|
|
3561
|
+
padding-block: var(--seed-dimension-x3_5);
|
|
3562
|
+
align-items: center;
|
|
3563
|
+
gap: var(--seed-dimension-x3_5);
|
|
3564
|
+
box-shadow: inset 0 calc(-1 * 1px) 0 var(--seed-color-stroke-neutral);
|
|
3565
|
+
font-size: var(--seed-font-size-t5);
|
|
3566
|
+
line-height: var(--seed-line-height-t5);
|
|
3567
|
+
font-weight: var(--seed-font-weight-regular);
|
|
3568
|
+
display: flex;
|
|
3569
|
+
}
|
|
3570
|
+
|
|
3571
|
+
.seed-menu-sheet-item:is(:active, [data-active]) {
|
|
3572
|
+
background-color: var(--seed-color-bg-neutral-weak-pressed);
|
|
3573
|
+
}
|
|
3574
|
+
|
|
3575
|
+
.seed-menu-sheet-item:last-child {
|
|
3576
|
+
box-shadow: none;
|
|
3577
|
+
}
|
|
3578
|
+
|
|
3579
|
+
.seed-menu-sheet-item {
|
|
3580
|
+
--seed-prefix-icon-size: 22px;
|
|
3581
|
+
}
|
|
3582
|
+
|
|
3583
|
+
.seed-menu-sheet-item--tone_neutral {
|
|
3584
|
+
color: var(--seed-color-fg-neutral);
|
|
3585
|
+
--seed-prefix-icon-color: var(--seed-color-fg-neutral);
|
|
3586
|
+
}
|
|
3587
|
+
|
|
3588
|
+
.seed-menu-sheet-item--tone_critical {
|
|
3589
|
+
color: var(--seed-color-fg-critical);
|
|
3590
|
+
--seed-prefix-icon-color: var(--seed-color-fg-critical);
|
|
3591
|
+
}
|
|
3592
|
+
|
|
3593
|
+
.seed-menu-sheet-item--labelAlign_left {
|
|
3594
|
+
justify-content: flex-start;
|
|
3595
|
+
}
|
|
3596
|
+
|
|
3597
|
+
.seed-menu-sheet-item--labelAlign_center {
|
|
3598
|
+
justify-content: center;
|
|
3599
|
+
}
|
|
3600
|
+
|
|
3197
3601
|
.seed-segmented-control__root {
|
|
3198
3602
|
box-sizing: border-box;
|
|
3199
3603
|
min-width: fit-content;
|
|
@@ -3569,6 +3973,7 @@
|
|
|
3569
3973
|
box-sizing: border-box;
|
|
3570
3974
|
-webkit-font-smoothing: antialiased;
|
|
3571
3975
|
-moz-osx-font-smoothing: grayscale;
|
|
3976
|
+
text-align: start;
|
|
3572
3977
|
width: 100%;
|
|
3573
3978
|
min-height: var(--seed-dimension-x10);
|
|
3574
3979
|
padding-inline: var(--seed-dimension-x4);
|
|
@@ -3578,7 +3983,8 @@
|
|
|
3578
3983
|
--seed-prefix-icon-margin-top: calc((var(--seed-dimension-x10) - var(--seed-dimension-x4)) * .5 - var(--seed-dimension-x2_5));
|
|
3579
3984
|
--seed-suffix-icon-size: var(--seed-dimension-x4);
|
|
3580
3985
|
--seed-suffix-icon-margin-left: var(--seed-dimension-x4);
|
|
3581
|
-
--seed-suffix-icon-margin-top:
|
|
3986
|
+
--seed-suffix-icon-margin-top: auto;
|
|
3987
|
+
--seed-suffix-icon-margin-bottom: auto;
|
|
3582
3988
|
border: none;
|
|
3583
3989
|
align-items: flex-start;
|
|
3584
3990
|
font-family: inherit;
|
|
@@ -3590,10 +3996,7 @@
|
|
|
3590
3996
|
}
|
|
3591
3997
|
|
|
3592
3998
|
.seed-inline-banner__content {
|
|
3593
|
-
box-sizing: border-box;
|
|
3594
|
-
text-align: start;
|
|
3595
3999
|
margin-inline-end: auto;
|
|
3596
|
-
display: inline-flex;
|
|
3597
4000
|
}
|
|
3598
4001
|
|
|
3599
4002
|
.seed-inline-banner__title {
|
|
@@ -3601,7 +4004,11 @@
|
|
|
3601
4004
|
line-height: var(--seed-line-height-t4);
|
|
3602
4005
|
font-weight: var(--seed-font-weight-bold);
|
|
3603
4006
|
flex-shrink: 0;
|
|
3604
|
-
|
|
4007
|
+
}
|
|
4008
|
+
|
|
4009
|
+
.seed-inline-banner__title:after {
|
|
4010
|
+
content: " ";
|
|
4011
|
+
white-space: pre;
|
|
3605
4012
|
}
|
|
3606
4013
|
|
|
3607
4014
|
.seed-inline-banner__description {
|
|
@@ -3612,6 +4019,7 @@
|
|
|
3612
4019
|
|
|
3613
4020
|
.seed-inline-banner__link {
|
|
3614
4021
|
cursor: pointer;
|
|
4022
|
+
margin-block: auto;
|
|
3615
4023
|
margin-left: var(--seed-dimension-x4);
|
|
3616
4024
|
font-family: inherit;
|
|
3617
4025
|
font-size: var(--seed-font-size-t2);
|
|
@@ -3631,9 +4039,7 @@
|
|
|
3631
4039
|
width: var(--seed-dimension-x10);
|
|
3632
4040
|
height: var(--seed-dimension-x10);
|
|
3633
4041
|
margin: calc((var(--seed-dimension-x10) - var(--seed-dimension-x4)) * -.5);
|
|
3634
|
-
margin-top: calc((var(--seed-dimension-x10) - var(--seed-dimension-x4)) * -.5 + (var(--seed-dimension-x10) - var(--seed-dimension-x4)) * .5 - var(--seed-dimension-x2_5));
|
|
3635
4042
|
margin-left: calc((var(--seed-dimension-x10) - var(--seed-dimension-x4)) * -.5 + var(--seed-dimension-x4));
|
|
3636
|
-
--seed-suffix-icon-margin-top: initial;
|
|
3637
4043
|
--seed-suffix-icon-margin-left: initial;
|
|
3638
4044
|
cursor: pointer;
|
|
3639
4045
|
background-color: #0000;
|
|
@@ -3641,6 +4047,7 @@
|
|
|
3641
4047
|
flex-grow: 0;
|
|
3642
4048
|
flex-shrink: 0;
|
|
3643
4049
|
justify-content: center;
|
|
4050
|
+
align-self: center;
|
|
3644
4051
|
align-items: center;
|
|
3645
4052
|
padding: 0;
|
|
3646
4053
|
display: flex;
|