@transferwise/components 0.0.0-experimental-15914a5 → 0.0.0-experimental-e1870f3
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/build/flowNavigation/animatedLabel/AnimatedLabel.js +2 -2
- package/build/flowNavigation/animatedLabel/AnimatedLabel.js.map +1 -1
- package/build/flowNavigation/animatedLabel/AnimatedLabel.mjs +2 -2
- package/build/flowNavigation/animatedLabel/AnimatedLabel.mjs.map +1 -1
- package/build/index.js +2 -2
- package/build/index.mjs +1 -1
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.js +0 -2
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.js.map +1 -1
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs +0 -2
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs.map +1 -1
- package/build/listItem/AvatarView/ListItemAvatarView.js +0 -2
- package/build/listItem/AvatarView/ListItemAvatarView.js.map +1 -1
- package/build/listItem/AvatarView/ListItemAvatarView.mjs +0 -2
- package/build/listItem/AvatarView/ListItemAvatarView.mjs.map +1 -1
- package/build/listItem/Image/ListItemImage.js +1 -3
- package/build/listItem/Image/ListItemImage.js.map +1 -1
- package/build/listItem/Image/ListItemImage.mjs +1 -3
- package/build/listItem/Image/ListItemImage.mjs.map +1 -1
- package/build/{legacylistItem → listItem}/List.js +3 -2
- package/build/listItem/List.js.map +1 -0
- package/build/{legacylistItem → listItem}/List.mjs +3 -2
- package/build/listItem/List.mjs.map +1 -0
- package/build/listItem/ListItem.js +14 -16
- package/build/listItem/ListItem.js.map +1 -1
- package/build/listItem/ListItem.mjs +14 -16
- package/build/listItem/ListItem.mjs.map +1 -1
- package/build/listItem/ListItemContext.js.map +1 -1
- package/build/listItem/ListItemContext.mjs.map +1 -1
- package/build/listItem/Navigation/ListItemNavigation.js +1 -1
- package/build/listItem/Navigation/ListItemNavigation.js.map +1 -1
- package/build/listItem/Navigation/ListItemNavigation.mjs +1 -1
- package/build/listItem/Navigation/ListItemNavigation.mjs.map +1 -1
- package/build/main.css +99 -51
- package/build/styles/avatarView/AvatarView.css +3 -1
- package/build/styles/listItem/ListItem.css +96 -50
- package/build/styles/listItem/ListItem.grid.css +9 -15
- package/build/styles/main.css +99 -51
- package/build/types/index.d.ts +4 -4
- package/build/types/index.d.ts.map +1 -1
- package/build/types/legacylistItem/index.d.ts +0 -2
- package/build/types/legacylistItem/index.d.ts.map +1 -1
- package/build/types/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +1 -1
- package/build/types/listItem/AvatarView/ListItemAvatarView.d.ts.map +1 -1
- package/build/types/listItem/Image/ListItemImage.d.ts.map +1 -1
- package/build/types/listItem/List.d.ts +7 -0
- package/build/types/listItem/List.d.ts.map +1 -0
- package/build/types/listItem/ListItem.d.ts.map +1 -1
- package/build/types/listItem/ListItemContext.d.ts +0 -4
- package/build/types/listItem/ListItemContext.d.ts.map +1 -1
- package/build/types/listItem/index.d.ts +2 -0
- package/build/types/listItem/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/avatarView/AvatarView.css +3 -1
- package/src/avatarView/AvatarView.less +2 -1
- package/src/flowNavigation/animatedLabel/AnimatedLabel.tsx +1 -1
- package/src/index.ts +9 -4
- package/src/legacylistItem/LegacyListItem.story.tsx +2 -2
- package/src/legacylistItem/LegacyListItem.tests.story.tsx +2 -1
- package/src/legacylistItem/index.ts +0 -2
- package/src/listItem/AvatarLayout/ListItemAvatarLayout.story.tsx +5 -4
- package/src/listItem/AvatarLayout/ListItemAvatarLayout.tsx +0 -3
- package/src/listItem/AvatarView/ListItemAvatarView.story.tsx +5 -4
- package/src/listItem/AvatarView/ListItemAvatarView.tsx +0 -3
- package/src/listItem/Button/ListItemButton.spec.tsx +35 -10
- package/src/listItem/Button/ListItemButton.story.tsx +9 -8
- package/src/listItem/IconButton/ListItemIconButton.story.tsx +8 -8
- package/src/listItem/Image/ListItemImage.spec.tsx +5 -8
- package/src/listItem/Image/ListItemImage.story.tsx +6 -23
- package/src/listItem/Image/ListItemImage.tsx +1 -4
- package/src/listItem/List.tsx +11 -0
- package/src/listItem/ListItem.css +96 -50
- package/src/listItem/ListItem.grid.css +9 -15
- package/src/listItem/ListItem.grid.less +14 -22
- package/src/listItem/ListItem.less +111 -46
- package/src/listItem/ListItem.tsx +18 -24
- package/src/listItem/ListItemContext.tsx +0 -5
- package/src/listItem/Navigation/ListItemNavigation.tsx +1 -1
- package/src/listItem/Prompt/ListItemPrompt.story.tsx +7 -7
- package/src/listItem/Switch/ListItemSwitch.story.tsx +3 -2
- package/src/listItem/_stories/ListItem.scenarios.story.tsx +226 -0
- package/src/listItem/_stories/ListItem.story.tsx +45 -7
- package/src/listItem/_stories/ListItem.variants.test.story.tsx +7 -11
- package/src/listItem/index.ts +3 -0
- package/src/main.css +99 -51
- package/build/legacylistItem/List.js.map +0 -1
- package/build/legacylistItem/List.mjs.map +0 -1
- package/build/listItem/useListItemMedia.js +0 -21
- package/build/listItem/useListItemMedia.js.map +0 -1
- package/build/listItem/useListItemMedia.mjs +0 -19
- package/build/listItem/useListItemMedia.mjs.map +0 -1
- package/build/types/legacylistItem/List.d.ts +0 -6
- package/build/types/legacylistItem/List.d.ts.map +0 -1
- package/build/types/listItem/test-utils.d.ts +0 -7
- package/build/types/listItem/test-utils.d.ts.map +0 -1
- package/build/types/listItem/useListItemMedia.d.ts +0 -6
- package/build/types/listItem/useListItemMedia.d.ts.map +0 -1
- package/src/legacylistItem/List.tsx +0 -10
- package/src/listItem/test-utils.tsx +0 -33
- package/src/listItem/useListItemMedia.tsx +0 -13
package/build/main.css
CHANGED
|
@@ -454,7 +454,8 @@
|
|
|
454
454
|
right: 0;
|
|
455
455
|
}
|
|
456
456
|
.np-avatar-view .np-avatar-view-content {
|
|
457
|
-
color:
|
|
457
|
+
color: #37517e;
|
|
458
|
+
color: var(--color-content-primary);
|
|
458
459
|
}
|
|
459
460
|
.np-avatar-view-interactive {
|
|
460
461
|
cursor: pointer;
|
|
@@ -462,6 +463,7 @@
|
|
|
462
463
|
.np-avatar-view-interactive .np-circle {
|
|
463
464
|
background-color: rgba(134,167,189,0.10196);
|
|
464
465
|
background-color: var(--color-background-neutral);
|
|
466
|
+
color: var(--color-interactive-primary);
|
|
465
467
|
}
|
|
466
468
|
.np-avatar-view-non-interactive .np-circle {
|
|
467
469
|
background-color: transparent;
|
|
@@ -2640,21 +2642,21 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
2640
2642
|
gap: 4px 16px;
|
|
2641
2643
|
gap: var(--size-4) var(--size-16);
|
|
2642
2644
|
}
|
|
2643
|
-
@container (min-width:
|
|
2645
|
+
@container (min-width: 380px) {
|
|
2644
2646
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
2645
2647
|
grid-template-columns: auto 1fr auto;
|
|
2646
2648
|
grid-template-rows: auto auto auto;
|
|
2647
|
-
grid-template-areas: "media body control" "media info
|
|
2649
|
+
grid-template-areas: "media body control" "media info control" "media prompt prompt";
|
|
2648
2650
|
}
|
|
2649
2651
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt {
|
|
2650
2652
|
grid-template-columns: auto 1fr auto;
|
|
2651
2653
|
grid-template-rows: auto auto;
|
|
2652
|
-
grid-template-areas: "media body control" "media info
|
|
2654
|
+
grid-template-areas: "media body control" "media info control";
|
|
2653
2655
|
}
|
|
2654
2656
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt {
|
|
2655
2657
|
grid-template-columns: auto 1fr auto;
|
|
2656
2658
|
grid-template-rows: auto auto;
|
|
2657
|
-
grid-template-areas: "media body control" "
|
|
2659
|
+
grid-template-areas: "media body control" "media prompt prompt";
|
|
2658
2660
|
}
|
|
2659
2661
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt {
|
|
2660
2662
|
grid-template-columns: auto 1fr auto;
|
|
@@ -2664,7 +2666,7 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
2664
2666
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-hasPrompt {
|
|
2665
2667
|
grid-template-columns: auto 1fr;
|
|
2666
2668
|
grid-template-rows: auto auto;
|
|
2667
|
-
grid-template-areas: "media body" "media info" "
|
|
2669
|
+
grid-template-areas: "media body" "media info" "media prompt";
|
|
2668
2670
|
}
|
|
2669
2671
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-noPrompt {
|
|
2670
2672
|
grid-template-columns: auto 1fr;
|
|
@@ -2687,12 +2689,12 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
2687
2689
|
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
2688
2690
|
grid-template-columns: 1fr auto;
|
|
2689
2691
|
grid-template-rows: auto auto auto;
|
|
2690
|
-
grid-template-areas: "body control" "info
|
|
2692
|
+
grid-template-areas: "body control" "info control" "prompt prompt";
|
|
2691
2693
|
}
|
|
2692
2694
|
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt {
|
|
2693
2695
|
grid-template-columns: 1fr auto;
|
|
2694
2696
|
grid-template-rows: auto auto;
|
|
2695
|
-
grid-template-areas: "body control" "info
|
|
2697
|
+
grid-template-areas: "body control" "info control";
|
|
2696
2698
|
}
|
|
2697
2699
|
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt {
|
|
2698
2700
|
grid-template-columns: 1fr auto;
|
|
@@ -2728,14 +2730,11 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
2728
2730
|
grid-template-areas: "body";
|
|
2729
2731
|
}
|
|
2730
2732
|
}
|
|
2731
|
-
@container (min-width:
|
|
2733
|
+
@container (min-width: 290px) and (max-width: 380px) {
|
|
2732
2734
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl .wds-list-item-media {
|
|
2733
2735
|
margin-bottom: 12px;
|
|
2734
2736
|
margin-bottom: var(--size-12);
|
|
2735
2737
|
}
|
|
2736
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl .wds-list-item-media .wds-list-item-media-image {
|
|
2737
|
-
height: auto;
|
|
2738
|
-
}
|
|
2739
2738
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
2740
2739
|
grid-template-columns: 1fr auto;
|
|
2741
2740
|
grid-template-rows: auto auto auto auto;
|
|
@@ -2776,9 +2775,6 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
2776
2775
|
margin-bottom: 16px;
|
|
2777
2776
|
margin-bottom: var(--size-16);
|
|
2778
2777
|
}
|
|
2779
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl .wds-list-item-media .wds-list-item-media-image {
|
|
2780
|
-
height: auto;
|
|
2781
|
-
}
|
|
2782
2778
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-hasPrompt {
|
|
2783
2779
|
grid-template-columns: auto auto;
|
|
2784
2780
|
grid-template-rows: auto auto auto auto;
|
|
@@ -2862,7 +2858,7 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
2862
2858
|
grid-template-areas: "body";
|
|
2863
2859
|
}
|
|
2864
2860
|
}
|
|
2865
|
-
@container (max-width:
|
|
2861
|
+
@container (max-width: 290px) {
|
|
2866
2862
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
2867
2863
|
grid-template-columns: auto 1fr;
|
|
2868
2864
|
grid-template-rows: auto auto auto;
|
|
@@ -3009,8 +3005,8 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
3009
3005
|
background-color: #ffffff;
|
|
3010
3006
|
background-color: var(--color-background-screen);
|
|
3011
3007
|
position: relative;
|
|
3012
|
-
padding: 12px;
|
|
3013
|
-
padding: var(--size-12);
|
|
3008
|
+
padding: 12px 0;
|
|
3009
|
+
padding: var(--size-12) 0;
|
|
3014
3010
|
container-type: inline-size;
|
|
3015
3011
|
}
|
|
3016
3012
|
.wds-list-item + .wds-list-item-spotlight,
|
|
@@ -3044,12 +3040,6 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
3044
3040
|
.wds-list-item-interactive .np-checkbox-button:has(input[type="checkbox"]:focus-visible) .tw-checkbox-button {
|
|
3045
3041
|
outline: none;
|
|
3046
3042
|
}
|
|
3047
|
-
.wds-list-item-interactive:has(.wds-list-item-control:focus-visible),
|
|
3048
|
-
.wds-list-item-interactive:has(input[type="checkbox"]:focus-visible) {
|
|
3049
|
-
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
3050
|
-
outline-offset: var(--ring-outline-offset);
|
|
3051
|
-
outline-offset: -1px;
|
|
3052
|
-
}
|
|
3053
3043
|
.wds-list-item-interactive .wds-list-item-additional-info {
|
|
3054
3044
|
--ring-outline-offset: 0;
|
|
3055
3045
|
}
|
|
@@ -3068,30 +3058,65 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
3068
3058
|
position: absolute;
|
|
3069
3059
|
inset: 0;
|
|
3070
3060
|
}
|
|
3071
|
-
.wds-list-item-interactive:
|
|
3061
|
+
.wds-list-item-interactive.wds-list-item-spotlight:has(.wds-list-item-control:focus-visible),
|
|
3062
|
+
.wds-list-item-interactive.wds-list-item-spotlight:has(input[type="checkbox"]:focus-visible) {
|
|
3063
|
+
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
3064
|
+
outline-offset: var(--ring-outline-offset);
|
|
3065
|
+
outline-offset: -1px;
|
|
3066
|
+
}
|
|
3067
|
+
.wds-list-item-interactive.wds-list-item-spotlight:not(.disabled):not(:disabled):hover {
|
|
3072
3068
|
background-color: var(--color-background-screen-hover);
|
|
3073
3069
|
}
|
|
3070
|
+
.wds-list-item-interactive.wds-list-item-spotlight:not(.disabled):not(:disabled):active {
|
|
3071
|
+
background-color: var(--color-background-screen-active);
|
|
3072
|
+
}
|
|
3073
|
+
.wds-list-item-interactive.wds-list-item-spotlight:has(.wds-list-item-prompt:hover a, .wds-list-item-prompt:hover button):hover {
|
|
3074
|
+
background-color: transparent;
|
|
3075
|
+
background-color: initial;
|
|
3076
|
+
}
|
|
3077
|
+
.wds-list-item-interactive:not(.wds-list-item-spotlight):has(.wds-list-item-control:focus-visible):before,
|
|
3078
|
+
.wds-list-item-interactive:not(.wds-list-item-spotlight):has(input[type="checkbox"]:focus-visible):before {
|
|
3079
|
+
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
3080
|
+
outline-offset: var(--ring-outline-offset);
|
|
3081
|
+
content: '';
|
|
3082
|
+
position: absolute;
|
|
3083
|
+
inset: 0 -8px;
|
|
3084
|
+
border-radius: 16px;
|
|
3085
|
+
border-radius: var(--radius-medium);
|
|
3086
|
+
outline-offset: -1px;
|
|
3087
|
+
}
|
|
3088
|
+
.wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled):not(:disabled):hover:before,
|
|
3089
|
+
.wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled):not(:disabled):active:before {
|
|
3090
|
+
content: '';
|
|
3091
|
+
position: absolute;
|
|
3092
|
+
inset: 0 -8px;
|
|
3093
|
+
border-radius: 16px;
|
|
3094
|
+
border-radius: var(--radius-medium);
|
|
3095
|
+
}
|
|
3096
|
+
.wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled):not(:disabled):hover:before {
|
|
3097
|
+
background-color: var(--color-background-screen-hover);
|
|
3098
|
+
}
|
|
3099
|
+
.wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled):not(:disabled):active:before {
|
|
3100
|
+
background-color: var(--color-background-screen-active);
|
|
3101
|
+
}
|
|
3102
|
+
.wds-list-item-interactive:not(.wds-list-item-spotlight):has(.wds-list-item-prompt:hover a, .wds-list-item-prompt:hover button):hover:before {
|
|
3103
|
+
background-color: transparent;
|
|
3104
|
+
background-color: initial;
|
|
3105
|
+
}
|
|
3074
3106
|
.wds-list-item-interactive:not(.disabled):not(:disabled):hover .wds-list-item-control-wrapper .wds-Button {
|
|
3075
3107
|
background-color: var(--Button-background-hover);
|
|
3076
3108
|
color: var(--Button-color-hover);
|
|
3077
3109
|
transition: none;
|
|
3078
3110
|
}
|
|
3079
|
-
.wds-list-item-interactive:not(.disabled):not(:disabled):active {
|
|
3080
|
-
background-color: var(--color-background-screen-active);
|
|
3081
|
-
}
|
|
3082
3111
|
.wds-list-item-interactive .wds-list-item-button-control .wds-Button {
|
|
3083
3112
|
transition: none;
|
|
3084
3113
|
}
|
|
3085
|
-
.wds-list-item-interactive:has(.wds-list-item-prompt:hover a, .wds-list-item-prompt:hover button):hover {
|
|
3086
|
-
background-color: transparent;
|
|
3087
|
-
background-color: initial;
|
|
3088
|
-
}
|
|
3089
3114
|
.wds-list-item-media {
|
|
3090
3115
|
grid-area: media;
|
|
3091
3116
|
}
|
|
3092
3117
|
.wds-list-item-media-image {
|
|
3093
|
-
width: var(--
|
|
3094
|
-
height: var(--
|
|
3118
|
+
width: var(--item-media-image-size);
|
|
3119
|
+
height: var(--item-media-image-size);
|
|
3095
3120
|
}
|
|
3096
3121
|
.wds-list-item-body {
|
|
3097
3122
|
grid-area: body;
|
|
@@ -3105,18 +3130,11 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
3105
3130
|
gap: var(--size-16);
|
|
3106
3131
|
word-break: break-word;
|
|
3107
3132
|
}
|
|
3108
|
-
.wds-list-item-title
|
|
3133
|
+
.wds-list-item-title,
|
|
3134
|
+
.wds-list-item-title-value {
|
|
3109
3135
|
color: #37517e;
|
|
3110
3136
|
color: var(--color-content-primary);
|
|
3111
3137
|
}
|
|
3112
|
-
.wds-list-item-value {
|
|
3113
|
-
text-align: right;
|
|
3114
|
-
}
|
|
3115
|
-
.wds-list-item-body-center {
|
|
3116
|
-
display: flex;
|
|
3117
|
-
flex-direction: row;
|
|
3118
|
-
align-items: center;
|
|
3119
|
-
}
|
|
3120
3138
|
.wds-list-item-additional-info {
|
|
3121
3139
|
grid-area: info;
|
|
3122
3140
|
color: #768e9c;
|
|
@@ -3124,14 +3142,12 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
3124
3142
|
margin-top: calc(4px * -1);
|
|
3125
3143
|
margin-top: calc(var(--size-4) * -1);
|
|
3126
3144
|
}
|
|
3145
|
+
.wds-list-item-value {
|
|
3146
|
+
align-items: end;
|
|
3147
|
+
text-align: right;
|
|
3148
|
+
}
|
|
3127
3149
|
.wds-list-item-control-wrapper {
|
|
3128
3150
|
grid-area: control;
|
|
3129
|
-
align-content: center;
|
|
3130
|
-
max-height: var(--wds-list-item-control-wrapper-height);
|
|
3131
|
-
}
|
|
3132
|
-
.wds-list-item-navigation .tw-icon-chevron-right {
|
|
3133
|
-
color: #c9cbce;
|
|
3134
|
-
color: var(--color-interactive-secondary);
|
|
3135
3151
|
}
|
|
3136
3152
|
.wds-list-item-control {
|
|
3137
3153
|
flex: 0 0 auto;
|
|
@@ -3147,6 +3163,12 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
3147
3163
|
color: #768e9c;
|
|
3148
3164
|
color: var(--color-content-tertiary);
|
|
3149
3165
|
}
|
|
3166
|
+
.wds-list-item-spotlight {
|
|
3167
|
+
padding-left: 12px;
|
|
3168
|
+
padding-left: var(--size-12);
|
|
3169
|
+
padding-right: 12px;
|
|
3170
|
+
padding-right: var(--size-12);
|
|
3171
|
+
}
|
|
3150
3172
|
.wds-list-item-spotlight-active {
|
|
3151
3173
|
background-color: rgba(134,167,189,0.10196);
|
|
3152
3174
|
background-color: var(--color-background-neutral);
|
|
@@ -3159,8 +3181,6 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
3159
3181
|
}
|
|
3160
3182
|
.wds-list-item-spotlight-inactive {
|
|
3161
3183
|
background-color: rgba(134, 167, 189, 0.025);
|
|
3162
|
-
border: 1px dashed rgba(0,0,0,0.10196);
|
|
3163
|
-
border: 1px dashed var(--color-border-neutral);
|
|
3164
3184
|
}
|
|
3165
3185
|
@supports (color: color-mix(in lch, red, blue)) {
|
|
3166
3186
|
.wds-list-item-spotlight-inactive {
|
|
@@ -3173,6 +3193,34 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
3173
3193
|
.wds-list-item-spotlight-inactive:not(.disabled):not(:disabled):active {
|
|
3174
3194
|
background-color: color-mix(in srgb, var(--color-background-neutral-active) 25%, transparent);
|
|
3175
3195
|
}
|
|
3196
|
+
.wds-list-item .wds-list-item-spotlight__border {
|
|
3197
|
+
position: absolute;
|
|
3198
|
+
inset: 0;
|
|
3199
|
+
width: 100%;
|
|
3200
|
+
height: 100%;
|
|
3201
|
+
}
|
|
3202
|
+
.wds-list-item .wds-list-item-spotlight__border rect {
|
|
3203
|
+
--wds-list-item-spotlight-borderWidth: 1px;
|
|
3204
|
+
--wds-list-item-spotlight-borderWidthOffset: 0.5px;
|
|
3205
|
+
--wds-list-item-spotlight-strokeDashSize: calc(var(--size-12) * 0.5);
|
|
3206
|
+
fill: none;
|
|
3207
|
+
stroke: rgba(0,0,0,0.10196);
|
|
3208
|
+
stroke: var(--color-border-neutral);
|
|
3209
|
+
width: calc(100% - 1px);
|
|
3210
|
+
width: calc(100% - var(--wds-list-item-spotlight-borderWidth));
|
|
3211
|
+
height: calc(100% - 1px);
|
|
3212
|
+
height: calc(100% - var(--wds-list-item-spotlight-borderWidth));
|
|
3213
|
+
x: 0.5px;
|
|
3214
|
+
x: var(--wds-list-item-spotlight-borderWidthOffset);
|
|
3215
|
+
y: 0.5px;
|
|
3216
|
+
y: var(--wds-list-item-spotlight-borderWidthOffset);
|
|
3217
|
+
rx: calc(16px - 0.5px);
|
|
3218
|
+
rx: calc(var(--radius-medium) - var(--wds-list-item-spotlight-borderWidthOffset));
|
|
3219
|
+
ry: calc(16px - 0.5px);
|
|
3220
|
+
ry: calc(var(--radius-medium) - var(--wds-list-item-spotlight-borderWidthOffset));
|
|
3221
|
+
stroke-dasharray: calc(12px * 0.5) calc(12px * 0.5);
|
|
3222
|
+
stroke-dasharray: var(--wds-list-item-spotlight-strokeDashSize) var(--wds-list-item-spotlight-strokeDashSize);
|
|
3223
|
+
}
|
|
3176
3224
|
.wds-list-item-prompt {
|
|
3177
3225
|
grid-area: prompt;
|
|
3178
3226
|
display: inline-flex;
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
right: 0;
|
|
20
20
|
}
|
|
21
21
|
.np-avatar-view .np-avatar-view-content {
|
|
22
|
-
color:
|
|
22
|
+
color: #37517e;
|
|
23
|
+
color: var(--color-content-primary);
|
|
23
24
|
}
|
|
24
25
|
.np-avatar-view-interactive {
|
|
25
26
|
cursor: pointer;
|
|
@@ -27,6 +28,7 @@
|
|
|
27
28
|
.np-avatar-view-interactive .np-circle {
|
|
28
29
|
background-color: rgba(134,167,189,0.10196);
|
|
29
30
|
background-color: var(--color-background-neutral);
|
|
31
|
+
color: var(--color-interactive-primary);
|
|
30
32
|
}
|
|
31
33
|
.np-avatar-view-non-interactive .np-circle {
|
|
32
34
|
background-color: transparent;
|
|
@@ -5,21 +5,21 @@
|
|
|
5
5
|
gap: 4px 16px;
|
|
6
6
|
gap: var(--size-4) var(--size-16);
|
|
7
7
|
}
|
|
8
|
-
@container (min-width:
|
|
8
|
+
@container (min-width: 380px) {
|
|
9
9
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
10
10
|
grid-template-columns: auto 1fr auto;
|
|
11
11
|
grid-template-rows: auto auto auto;
|
|
12
|
-
grid-template-areas: "media body control" "media info
|
|
12
|
+
grid-template-areas: "media body control" "media info control" "media prompt prompt";
|
|
13
13
|
}
|
|
14
14
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt {
|
|
15
15
|
grid-template-columns: auto 1fr auto;
|
|
16
16
|
grid-template-rows: auto auto;
|
|
17
|
-
grid-template-areas: "media body control" "media info
|
|
17
|
+
grid-template-areas: "media body control" "media info control";
|
|
18
18
|
}
|
|
19
19
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt {
|
|
20
20
|
grid-template-columns: auto 1fr auto;
|
|
21
21
|
grid-template-rows: auto auto;
|
|
22
|
-
grid-template-areas: "media body control" "
|
|
22
|
+
grid-template-areas: "media body control" "media prompt prompt";
|
|
23
23
|
}
|
|
24
24
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt {
|
|
25
25
|
grid-template-columns: auto 1fr auto;
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-hasPrompt {
|
|
30
30
|
grid-template-columns: auto 1fr;
|
|
31
31
|
grid-template-rows: auto auto;
|
|
32
|
-
grid-template-areas: "media body" "media info" "
|
|
32
|
+
grid-template-areas: "media body" "media info" "media prompt";
|
|
33
33
|
}
|
|
34
34
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-noPrompt {
|
|
35
35
|
grid-template-columns: auto 1fr;
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
53
53
|
grid-template-columns: 1fr auto;
|
|
54
54
|
grid-template-rows: auto auto auto;
|
|
55
|
-
grid-template-areas: "body control" "info
|
|
55
|
+
grid-template-areas: "body control" "info control" "prompt prompt";
|
|
56
56
|
}
|
|
57
57
|
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt {
|
|
58
58
|
grid-template-columns: 1fr auto;
|
|
59
59
|
grid-template-rows: auto auto;
|
|
60
|
-
grid-template-areas: "body control" "info
|
|
60
|
+
grid-template-areas: "body control" "info control";
|
|
61
61
|
}
|
|
62
62
|
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt {
|
|
63
63
|
grid-template-columns: 1fr auto;
|
|
@@ -93,14 +93,11 @@
|
|
|
93
93
|
grid-template-areas: "body";
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
@container (min-width:
|
|
96
|
+
@container (min-width: 290px) and (max-width: 380px) {
|
|
97
97
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl .wds-list-item-media {
|
|
98
98
|
margin-bottom: 12px;
|
|
99
99
|
margin-bottom: var(--size-12);
|
|
100
100
|
}
|
|
101
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl .wds-list-item-media .wds-list-item-media-image {
|
|
102
|
-
height: auto;
|
|
103
|
-
}
|
|
104
101
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
105
102
|
grid-template-columns: 1fr auto;
|
|
106
103
|
grid-template-rows: auto auto auto auto;
|
|
@@ -141,9 +138,6 @@
|
|
|
141
138
|
margin-bottom: 16px;
|
|
142
139
|
margin-bottom: var(--size-16);
|
|
143
140
|
}
|
|
144
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl .wds-list-item-media .wds-list-item-media-image {
|
|
145
|
-
height: auto;
|
|
146
|
-
}
|
|
147
141
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-hasPrompt {
|
|
148
142
|
grid-template-columns: auto auto;
|
|
149
143
|
grid-template-rows: auto auto auto auto;
|
|
@@ -227,7 +221,7 @@
|
|
|
227
221
|
grid-template-areas: "body";
|
|
228
222
|
}
|
|
229
223
|
}
|
|
230
|
-
@container (max-width:
|
|
224
|
+
@container (max-width: 290px) {
|
|
231
225
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
232
226
|
grid-template-columns: auto 1fr;
|
|
233
227
|
grid-template-rows: auto auto auto;
|
|
@@ -374,8 +368,8 @@
|
|
|
374
368
|
background-color: #ffffff;
|
|
375
369
|
background-color: var(--color-background-screen);
|
|
376
370
|
position: relative;
|
|
377
|
-
padding: 12px;
|
|
378
|
-
padding: var(--size-12);
|
|
371
|
+
padding: 12px 0;
|
|
372
|
+
padding: var(--size-12) 0;
|
|
379
373
|
container-type: inline-size;
|
|
380
374
|
}
|
|
381
375
|
.wds-list-item + .wds-list-item-spotlight,
|
|
@@ -409,12 +403,6 @@
|
|
|
409
403
|
.wds-list-item-interactive .np-checkbox-button:has(input[type="checkbox"]:focus-visible) .tw-checkbox-button {
|
|
410
404
|
outline: none;
|
|
411
405
|
}
|
|
412
|
-
.wds-list-item-interactive:has(.wds-list-item-control:focus-visible),
|
|
413
|
-
.wds-list-item-interactive:has(input[type="checkbox"]:focus-visible) {
|
|
414
|
-
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
415
|
-
outline-offset: var(--ring-outline-offset);
|
|
416
|
-
outline-offset: -1px;
|
|
417
|
-
}
|
|
418
406
|
.wds-list-item-interactive .wds-list-item-additional-info {
|
|
419
407
|
--ring-outline-offset: 0;
|
|
420
408
|
}
|
|
@@ -433,30 +421,65 @@
|
|
|
433
421
|
position: absolute;
|
|
434
422
|
inset: 0;
|
|
435
423
|
}
|
|
436
|
-
.wds-list-item-interactive:
|
|
424
|
+
.wds-list-item-interactive.wds-list-item-spotlight:has(.wds-list-item-control:focus-visible),
|
|
425
|
+
.wds-list-item-interactive.wds-list-item-spotlight:has(input[type="checkbox"]:focus-visible) {
|
|
426
|
+
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
427
|
+
outline-offset: var(--ring-outline-offset);
|
|
428
|
+
outline-offset: -1px;
|
|
429
|
+
}
|
|
430
|
+
.wds-list-item-interactive.wds-list-item-spotlight:not(.disabled):not(:disabled):hover {
|
|
431
|
+
background-color: var(--color-background-screen-hover);
|
|
432
|
+
}
|
|
433
|
+
.wds-list-item-interactive.wds-list-item-spotlight:not(.disabled):not(:disabled):active {
|
|
434
|
+
background-color: var(--color-background-screen-active);
|
|
435
|
+
}
|
|
436
|
+
.wds-list-item-interactive.wds-list-item-spotlight:has(.wds-list-item-prompt:hover a, .wds-list-item-prompt:hover button):hover {
|
|
437
|
+
background-color: transparent;
|
|
438
|
+
background-color: initial;
|
|
439
|
+
}
|
|
440
|
+
.wds-list-item-interactive:not(.wds-list-item-spotlight):has(.wds-list-item-control:focus-visible):before,
|
|
441
|
+
.wds-list-item-interactive:not(.wds-list-item-spotlight):has(input[type="checkbox"]:focus-visible):before {
|
|
442
|
+
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
443
|
+
outline-offset: var(--ring-outline-offset);
|
|
444
|
+
content: '';
|
|
445
|
+
position: absolute;
|
|
446
|
+
inset: 0 -8px;
|
|
447
|
+
border-radius: 16px;
|
|
448
|
+
border-radius: var(--radius-medium);
|
|
449
|
+
outline-offset: -1px;
|
|
450
|
+
}
|
|
451
|
+
.wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled):not(:disabled):hover:before,
|
|
452
|
+
.wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled):not(:disabled):active:before {
|
|
453
|
+
content: '';
|
|
454
|
+
position: absolute;
|
|
455
|
+
inset: 0 -8px;
|
|
456
|
+
border-radius: 16px;
|
|
457
|
+
border-radius: var(--radius-medium);
|
|
458
|
+
}
|
|
459
|
+
.wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled):not(:disabled):hover:before {
|
|
437
460
|
background-color: var(--color-background-screen-hover);
|
|
438
461
|
}
|
|
462
|
+
.wds-list-item-interactive:not(.wds-list-item-spotlight):not(.disabled):not(:disabled):active:before {
|
|
463
|
+
background-color: var(--color-background-screen-active);
|
|
464
|
+
}
|
|
465
|
+
.wds-list-item-interactive:not(.wds-list-item-spotlight):has(.wds-list-item-prompt:hover a, .wds-list-item-prompt:hover button):hover:before {
|
|
466
|
+
background-color: transparent;
|
|
467
|
+
background-color: initial;
|
|
468
|
+
}
|
|
439
469
|
.wds-list-item-interactive:not(.disabled):not(:disabled):hover .wds-list-item-control-wrapper .wds-Button {
|
|
440
470
|
background-color: var(--Button-background-hover);
|
|
441
471
|
color: var(--Button-color-hover);
|
|
442
472
|
transition: none;
|
|
443
473
|
}
|
|
444
|
-
.wds-list-item-interactive:not(.disabled):not(:disabled):active {
|
|
445
|
-
background-color: var(--color-background-screen-active);
|
|
446
|
-
}
|
|
447
474
|
.wds-list-item-interactive .wds-list-item-button-control .wds-Button {
|
|
448
475
|
transition: none;
|
|
449
476
|
}
|
|
450
|
-
.wds-list-item-interactive:has(.wds-list-item-prompt:hover a, .wds-list-item-prompt:hover button):hover {
|
|
451
|
-
background-color: transparent;
|
|
452
|
-
background-color: initial;
|
|
453
|
-
}
|
|
454
477
|
.wds-list-item-media {
|
|
455
478
|
grid-area: media;
|
|
456
479
|
}
|
|
457
480
|
.wds-list-item-media-image {
|
|
458
|
-
width: var(--
|
|
459
|
-
height: var(--
|
|
481
|
+
width: var(--item-media-image-size);
|
|
482
|
+
height: var(--item-media-image-size);
|
|
460
483
|
}
|
|
461
484
|
.wds-list-item-body {
|
|
462
485
|
grid-area: body;
|
|
@@ -470,18 +493,11 @@
|
|
|
470
493
|
gap: var(--size-16);
|
|
471
494
|
word-break: break-word;
|
|
472
495
|
}
|
|
473
|
-
.wds-list-item-title
|
|
496
|
+
.wds-list-item-title,
|
|
497
|
+
.wds-list-item-title-value {
|
|
474
498
|
color: #37517e;
|
|
475
499
|
color: var(--color-content-primary);
|
|
476
500
|
}
|
|
477
|
-
.wds-list-item-value {
|
|
478
|
-
text-align: right;
|
|
479
|
-
}
|
|
480
|
-
.wds-list-item-body-center {
|
|
481
|
-
display: flex;
|
|
482
|
-
flex-direction: row;
|
|
483
|
-
align-items: center;
|
|
484
|
-
}
|
|
485
501
|
.wds-list-item-additional-info {
|
|
486
502
|
grid-area: info;
|
|
487
503
|
color: #768e9c;
|
|
@@ -489,14 +505,12 @@
|
|
|
489
505
|
margin-top: calc(4px * -1);
|
|
490
506
|
margin-top: calc(var(--size-4) * -1);
|
|
491
507
|
}
|
|
508
|
+
.wds-list-item-value {
|
|
509
|
+
align-items: end;
|
|
510
|
+
text-align: right;
|
|
511
|
+
}
|
|
492
512
|
.wds-list-item-control-wrapper {
|
|
493
513
|
grid-area: control;
|
|
494
|
-
align-content: center;
|
|
495
|
-
max-height: var(--wds-list-item-control-wrapper-height);
|
|
496
|
-
}
|
|
497
|
-
.wds-list-item-navigation .tw-icon-chevron-right {
|
|
498
|
-
color: #c9cbce;
|
|
499
|
-
color: var(--color-interactive-secondary);
|
|
500
514
|
}
|
|
501
515
|
.wds-list-item-control {
|
|
502
516
|
flex: 0 0 auto;
|
|
@@ -512,6 +526,12 @@
|
|
|
512
526
|
color: #768e9c;
|
|
513
527
|
color: var(--color-content-tertiary);
|
|
514
528
|
}
|
|
529
|
+
.wds-list-item-spotlight {
|
|
530
|
+
padding-left: 12px;
|
|
531
|
+
padding-left: var(--size-12);
|
|
532
|
+
padding-right: 12px;
|
|
533
|
+
padding-right: var(--size-12);
|
|
534
|
+
}
|
|
515
535
|
.wds-list-item-spotlight-active {
|
|
516
536
|
background-color: rgba(134,167,189,0.10196);
|
|
517
537
|
background-color: var(--color-background-neutral);
|
|
@@ -524,8 +544,6 @@
|
|
|
524
544
|
}
|
|
525
545
|
.wds-list-item-spotlight-inactive {
|
|
526
546
|
background-color: rgba(134, 167, 189, 0.025);
|
|
527
|
-
border: 1px dashed rgba(0,0,0,0.10196);
|
|
528
|
-
border: 1px dashed var(--color-border-neutral);
|
|
529
547
|
}
|
|
530
548
|
@supports (color: color-mix(in lch, red, blue)) {
|
|
531
549
|
.wds-list-item-spotlight-inactive {
|
|
@@ -538,6 +556,34 @@
|
|
|
538
556
|
.wds-list-item-spotlight-inactive:not(.disabled):not(:disabled):active {
|
|
539
557
|
background-color: color-mix(in srgb, var(--color-background-neutral-active) 25%, transparent);
|
|
540
558
|
}
|
|
559
|
+
.wds-list-item .wds-list-item-spotlight__border {
|
|
560
|
+
position: absolute;
|
|
561
|
+
inset: 0;
|
|
562
|
+
width: 100%;
|
|
563
|
+
height: 100%;
|
|
564
|
+
}
|
|
565
|
+
.wds-list-item .wds-list-item-spotlight__border rect {
|
|
566
|
+
--wds-list-item-spotlight-borderWidth: 1px;
|
|
567
|
+
--wds-list-item-spotlight-borderWidthOffset: 0.5px;
|
|
568
|
+
--wds-list-item-spotlight-strokeDashSize: calc(var(--size-12) * 0.5);
|
|
569
|
+
fill: none;
|
|
570
|
+
stroke: rgba(0,0,0,0.10196);
|
|
571
|
+
stroke: var(--color-border-neutral);
|
|
572
|
+
width: calc(100% - 1px);
|
|
573
|
+
width: calc(100% - var(--wds-list-item-spotlight-borderWidth));
|
|
574
|
+
height: calc(100% - 1px);
|
|
575
|
+
height: calc(100% - var(--wds-list-item-spotlight-borderWidth));
|
|
576
|
+
x: 0.5px;
|
|
577
|
+
x: var(--wds-list-item-spotlight-borderWidthOffset);
|
|
578
|
+
y: 0.5px;
|
|
579
|
+
y: var(--wds-list-item-spotlight-borderWidthOffset);
|
|
580
|
+
rx: calc(16px - 0.5px);
|
|
581
|
+
rx: calc(var(--radius-medium) - var(--wds-list-item-spotlight-borderWidthOffset));
|
|
582
|
+
ry: calc(16px - 0.5px);
|
|
583
|
+
ry: calc(var(--radius-medium) - var(--wds-list-item-spotlight-borderWidthOffset));
|
|
584
|
+
stroke-dasharray: calc(12px * 0.5) calc(12px * 0.5);
|
|
585
|
+
stroke-dasharray: var(--wds-list-item-spotlight-strokeDashSize) var(--wds-list-item-spotlight-strokeDashSize);
|
|
586
|
+
}
|
|
541
587
|
.wds-list-item-prompt {
|
|
542
588
|
grid-area: prompt;
|
|
543
589
|
display: inline-flex;
|
|
@@ -5,21 +5,21 @@
|
|
|
5
5
|
gap: 4px 16px;
|
|
6
6
|
gap: var(--size-4) var(--size-16);
|
|
7
7
|
}
|
|
8
|
-
@container (min-width:
|
|
8
|
+
@container (min-width: 380px) {
|
|
9
9
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
10
10
|
grid-template-columns: auto 1fr auto;
|
|
11
11
|
grid-template-rows: auto auto auto;
|
|
12
|
-
grid-template-areas: "media body control" "media info
|
|
12
|
+
grid-template-areas: "media body control" "media info control" "media prompt prompt";
|
|
13
13
|
}
|
|
14
14
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt {
|
|
15
15
|
grid-template-columns: auto 1fr auto;
|
|
16
16
|
grid-template-rows: auto auto;
|
|
17
|
-
grid-template-areas: "media body control" "media info
|
|
17
|
+
grid-template-areas: "media body control" "media info control";
|
|
18
18
|
}
|
|
19
19
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt {
|
|
20
20
|
grid-template-columns: auto 1fr auto;
|
|
21
21
|
grid-template-rows: auto auto;
|
|
22
|
-
grid-template-areas: "media body control" "
|
|
22
|
+
grid-template-areas: "media body control" "media prompt prompt";
|
|
23
23
|
}
|
|
24
24
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt {
|
|
25
25
|
grid-template-columns: auto 1fr auto;
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-hasPrompt {
|
|
30
30
|
grid-template-columns: auto 1fr;
|
|
31
31
|
grid-template-rows: auto auto;
|
|
32
|
-
grid-template-areas: "media body" "media info" "
|
|
32
|
+
grid-template-areas: "media body" "media info" "media prompt";
|
|
33
33
|
}
|
|
34
34
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-noPrompt {
|
|
35
35
|
grid-template-columns: auto 1fr;
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
53
53
|
grid-template-columns: 1fr auto;
|
|
54
54
|
grid-template-rows: auto auto auto;
|
|
55
|
-
grid-template-areas: "body control" "info
|
|
55
|
+
grid-template-areas: "body control" "info control" "prompt prompt";
|
|
56
56
|
}
|
|
57
57
|
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt {
|
|
58
58
|
grid-template-columns: 1fr auto;
|
|
59
59
|
grid-template-rows: auto auto;
|
|
60
|
-
grid-template-areas: "body control" "info
|
|
60
|
+
grid-template-areas: "body control" "info control";
|
|
61
61
|
}
|
|
62
62
|
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt {
|
|
63
63
|
grid-template-columns: 1fr auto;
|
|
@@ -93,14 +93,11 @@
|
|
|
93
93
|
grid-template-areas: "body";
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
@container (min-width:
|
|
96
|
+
@container (min-width: 290px) and (max-width: 380px) {
|
|
97
97
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl .wds-list-item-media {
|
|
98
98
|
margin-bottom: 12px;
|
|
99
99
|
margin-bottom: var(--size-12);
|
|
100
100
|
}
|
|
101
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl .wds-list-item-media .wds-list-item-media-image {
|
|
102
|
-
height: auto;
|
|
103
|
-
}
|
|
104
101
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
105
102
|
grid-template-columns: 1fr auto;
|
|
106
103
|
grid-template-rows: auto auto auto auto;
|
|
@@ -141,9 +138,6 @@
|
|
|
141
138
|
margin-bottom: 16px;
|
|
142
139
|
margin-bottom: var(--size-16);
|
|
143
140
|
}
|
|
144
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl .wds-list-item-media .wds-list-item-media-image {
|
|
145
|
-
height: auto;
|
|
146
|
-
}
|
|
147
141
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-hasPrompt {
|
|
148
142
|
grid-template-columns: auto auto;
|
|
149
143
|
grid-template-rows: auto auto auto auto;
|
|
@@ -227,7 +221,7 @@
|
|
|
227
221
|
grid-template-areas: "body";
|
|
228
222
|
}
|
|
229
223
|
}
|
|
230
|
-
@container (max-width:
|
|
224
|
+
@container (max-width: 290px) {
|
|
231
225
|
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
232
226
|
grid-template-columns: auto 1fr;
|
|
233
227
|
grid-template-rows: auto auto auto;
|