@transferwise/components 0.0.0-experimental-2242f8a → 0.0.0-experimental-5759f4d
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/button/Button.js +1 -0
- package/build/button/Button.js.map +1 -1
- package/build/button/Button.mjs +1 -0
- package/build/button/Button.mjs.map +1 -1
- package/build/common/RadioButton/RadioButton.js +5 -2
- package/build/common/RadioButton/RadioButton.js.map +1 -1
- package/build/common/RadioButton/RadioButton.mjs +5 -2
- package/build/common/RadioButton/RadioButton.mjs.map +1 -1
- package/build/i18n/en.json +2 -0
- package/build/i18n/en.json.js +2 -0
- package/build/i18n/en.json.js.map +1 -1
- package/build/i18n/en.json.mjs +2 -0
- package/build/i18n/en.json.mjs.map +1 -1
- package/build/iconButton/IconButton.js.map +1 -1
- package/build/iconButton/IconButton.mjs.map +1 -1
- package/build/image/Image.js.map +1 -1
- package/build/image/Image.mjs.map +1 -1
- package/build/index.js +2 -0
- package/build/index.js.map +1 -1
- package/build/index.mjs +1 -0
- package/build/index.mjs.map +1 -1
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js +56 -0
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js.map +1 -0
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs +54 -0
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs.map +1 -0
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.js +21 -0
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.js.map +1 -0
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs +19 -0
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs.map +1 -0
- package/build/listItem/AvatarView/ListItemAvatarView.js +21 -0
- package/build/listItem/AvatarView/ListItemAvatarView.js.map +1 -0
- package/build/listItem/AvatarView/ListItemAvatarView.mjs +19 -0
- package/build/listItem/AvatarView/ListItemAvatarView.mjs.map +1 -0
- package/build/listItem/Button/ListItemButton.js +43 -0
- package/build/listItem/Button/ListItemButton.js.map +1 -0
- package/build/listItem/Button/ListItemButton.mjs +41 -0
- package/build/listItem/Button/ListItemButton.mjs.map +1 -0
- package/build/listItem/Checkbox/ListItemCheckbox.js +30 -0
- package/build/listItem/Checkbox/ListItemCheckbox.js.map +1 -0
- package/build/listItem/Checkbox/ListItemCheckbox.mjs +28 -0
- package/build/listItem/Checkbox/ListItemCheckbox.mjs.map +1 -0
- package/build/listItem/IconButton/ListItemIconButton.js +42 -0
- package/build/listItem/IconButton/ListItemIconButton.js.map +1 -0
- package/build/listItem/IconButton/ListItemIconButton.mjs +40 -0
- package/build/listItem/IconButton/ListItemIconButton.mjs.map +1 -0
- package/build/listItem/Image/ListItemImage.js +27 -0
- package/build/listItem/Image/ListItemImage.js.map +1 -0
- package/build/listItem/Image/ListItemImage.mjs +25 -0
- package/build/listItem/Image/ListItemImage.mjs.map +1 -0
- package/build/listItem/ListItem.js +302 -0
- package/build/listItem/ListItem.js.map +1 -0
- package/build/listItem/ListItem.mjs +297 -0
- package/build/listItem/ListItem.mjs.map +1 -0
- package/build/listItem/ListItemContext.js +8 -0
- package/build/listItem/ListItemContext.js.map +1 -0
- package/build/listItem/ListItemContext.mjs +6 -0
- package/build/listItem/ListItemContext.mjs.map +1 -0
- package/build/listItem/Navigation/ListItemNavigation.js +45 -0
- package/build/listItem/Navigation/ListItemNavigation.js.map +1 -0
- package/build/listItem/Navigation/ListItemNavigation.mjs +43 -0
- package/build/listItem/Navigation/ListItemNavigation.mjs.map +1 -0
- package/build/listItem/Prompt/ListItemPrompt.js +59 -0
- package/build/listItem/Prompt/ListItemPrompt.js.map +1 -0
- package/build/listItem/Prompt/ListItemPrompt.mjs +54 -0
- package/build/listItem/Prompt/ListItemPrompt.mjs.map +1 -0
- package/build/listItem/Radio/ListItemRadio.js +30 -0
- package/build/listItem/Radio/ListItemRadio.js.map +1 -0
- package/build/listItem/Radio/ListItemRadio.mjs +28 -0
- package/build/listItem/Radio/ListItemRadio.mjs.map +1 -0
- package/build/listItem/Switch/ListItemSwitch.js +30 -0
- package/build/listItem/Switch/ListItemSwitch.js.map +1 -0
- package/build/listItem/Switch/ListItemSwitch.mjs +28 -0
- package/build/listItem/Switch/ListItemSwitch.mjs.map +1 -0
- package/build/listItem/useListItemControl.js +22 -0
- package/build/listItem/useListItemControl.js.map +1 -0
- package/build/listItem/useListItemControl.mjs +20 -0
- package/build/listItem/useListItemControl.mjs.map +1 -0
- package/build/main.css +657 -0
- package/build/styles/listItem/ListItem.css +657 -0
- package/build/styles/listItem/ListItem.grid.css +362 -0
- package/build/styles/main.css +657 -0
- package/build/switch/Switch.js +2 -0
- package/build/switch/Switch.js.map +1 -1
- package/build/switch/Switch.mjs +2 -0
- package/build/switch/Switch.mjs.map +1 -1
- package/build/types/button/Button.d.ts.map +1 -1
- package/build/types/button/Button.types.d.ts +1 -1
- package/build/types/button/Button.types.d.ts.map +1 -1
- package/build/types/button/index.d.ts +1 -1
- package/build/types/button/index.d.ts.map +1 -1
- package/build/types/common/RadioButton/RadioButton.d.ts +3 -1
- package/build/types/common/RadioButton/RadioButton.d.ts.map +1 -1
- package/build/types/iconButton/IconButton.d.ts +2 -2
- package/build/types/iconButton/IconButton.d.ts.map +1 -1
- package/build/types/image/Image.d.ts +3 -0
- package/build/types/image/Image.d.ts.map +1 -1
- package/build/types/image/index.d.ts +1 -0
- package/build/types/image/index.d.ts.map +1 -1
- package/build/types/index.d.ts +2 -0
- package/build/types/index.d.ts.map +1 -1
- package/build/types/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts +15 -0
- package/build/types/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +1 -0
- package/build/types/listItem/AdditionalInfo/index.d.ts +3 -0
- package/build/types/listItem/AdditionalInfo/index.d.ts.map +1 -0
- package/build/types/listItem/AvatarLayout/ListItemAvatarLayout.d.ts +18 -0
- package/build/types/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +1 -0
- package/build/types/listItem/AvatarLayout/index.d.ts +3 -0
- package/build/types/listItem/AvatarLayout/index.d.ts.map +1 -0
- package/build/types/listItem/AvatarView/ListItemAvatarView.d.ts +16 -0
- package/build/types/listItem/AvatarView/ListItemAvatarView.d.ts.map +1 -0
- package/build/types/listItem/AvatarView/index.d.ts +3 -0
- package/build/types/listItem/AvatarView/index.d.ts.map +1 -0
- package/build/types/listItem/Button/ListItemButton.d.ts +20 -0
- package/build/types/listItem/Button/ListItemButton.d.ts.map +1 -0
- package/build/types/listItem/Button/index.d.ts +3 -0
- package/build/types/listItem/Button/index.d.ts.map +1 -0
- package/build/types/listItem/Checkbox/ListItemCheckbox.d.ts +14 -0
- package/build/types/listItem/Checkbox/ListItemCheckbox.d.ts.map +1 -0
- package/build/types/listItem/Checkbox/index.d.ts +3 -0
- package/build/types/listItem/Checkbox/index.d.ts.map +1 -0
- package/build/types/listItem/IconButton/ListItemIconButton.d.ts +18 -0
- package/build/types/listItem/IconButton/ListItemIconButton.d.ts.map +1 -0
- package/build/types/listItem/IconButton/index.d.ts +3 -0
- package/build/types/listItem/IconButton/index.d.ts.map +1 -0
- package/build/types/listItem/Image/ListItemImage.d.ts +25 -0
- package/build/types/listItem/Image/ListItemImage.d.ts.map +1 -0
- package/build/types/listItem/Image/index.d.ts +3 -0
- package/build/types/listItem/Image/index.d.ts.map +1 -0
- package/build/types/listItem/ListItem.d.ts +113 -0
- package/build/types/listItem/ListItem.d.ts.map +1 -0
- package/build/types/listItem/ListItemContext.d.ts +18 -0
- package/build/types/listItem/ListItemContext.d.ts.map +1 -0
- package/build/types/listItem/Navigation/ListItemNavigation.d.ts +15 -0
- package/build/types/listItem/Navigation/ListItemNavigation.d.ts.map +1 -0
- package/build/types/listItem/Navigation/index.d.ts +3 -0
- package/build/types/listItem/Navigation/index.d.ts.map +1 -0
- package/build/types/listItem/Prompt/ListItemPrompt.d.ts +16 -0
- package/build/types/listItem/Prompt/ListItemPrompt.d.ts.map +1 -0
- package/build/types/listItem/Prompt/index.d.ts +3 -0
- package/build/types/listItem/Prompt/index.d.ts.map +1 -0
- package/build/types/listItem/Radio/ListItemRadio.d.ts +14 -0
- package/build/types/listItem/Radio/ListItemRadio.d.ts.map +1 -0
- package/build/types/listItem/Radio/index.d.ts +3 -0
- package/build/types/listItem/Radio/index.d.ts.map +1 -0
- package/build/types/listItem/Switch/ListItemSwitch.d.ts +14 -0
- package/build/types/listItem/Switch/ListItemSwitch.d.ts.map +1 -0
- package/build/types/listItem/Switch/index.d.ts +3 -0
- package/build/types/listItem/Switch/index.d.ts.map +1 -0
- package/build/types/listItem/_stories/subcomponents.d.ts +18 -0
- package/build/types/listItem/_stories/subcomponents.d.ts.map +1 -0
- package/build/types/listItem/index.d.ts +14 -0
- package/build/types/listItem/index.d.ts.map +1 -0
- package/build/types/listItem/useListItemControl.d.ts +5 -0
- package/build/types/listItem/useListItemControl.d.ts.map +1 -0
- package/build/types/switch/Switch.d.ts +2 -0
- package/build/types/switch/Switch.d.ts.map +1 -1
- package/build/types/test-utils/index.d.ts +4 -0
- package/build/types/test-utils/index.d.ts.map +1 -1
- package/build/types/upload/Upload.d.ts +6 -2
- package/build/types/upload/Upload.d.ts.map +1 -1
- package/build/types/upload/Upload.messages.d.ts +8 -0
- package/build/types/upload/Upload.messages.d.ts.map +1 -1
- package/build/types/uploadInput/UploadInput.d.ts +1 -1
- package/build/types/uploadInput/uploadButton/UploadButton.d.ts +4 -2
- package/build/types/uploadInput/uploadButton/UploadButton.d.ts.map +1 -1
- package/build/upload/Upload.js +16 -9
- package/build/upload/Upload.js.map +1 -1
- package/build/upload/Upload.messages.js +6 -0
- package/build/upload/Upload.messages.js.map +1 -1
- package/build/upload/Upload.messages.mjs +6 -0
- package/build/upload/Upload.messages.mjs.map +1 -1
- package/build/upload/Upload.mjs +16 -9
- package/build/upload/Upload.mjs.map +1 -1
- package/build/uploadInput/UploadInput.js +1 -1
- package/build/uploadInput/UploadInput.js.map +1 -1
- package/build/uploadInput/UploadInput.mjs +1 -1
- package/build/uploadInput/UploadInput.mjs.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.js +7 -4
- package/build/uploadInput/uploadButton/UploadButton.js.map +1 -1
- package/build/uploadInput/uploadButton/UploadButton.mjs +7 -4
- package/build/uploadInput/uploadButton/UploadButton.mjs.map +1 -1
- package/package.json +1 -1
- package/src/button/Button.spec.tsx +18 -0
- package/src/button/Button.tsx +5 -1
- package/src/button/Button.types.ts +1 -1
- package/src/button/index.ts +1 -1
- package/src/checkboxButton/CheckboxButton.story.tsx +4 -4
- package/src/common/RadioButton/RadioButton.tsx +6 -1
- package/src/i18n/en.json +2 -0
- package/src/iconButton/IconButton.story.tsx +1 -1
- package/src/iconButton/IconButton.tsx +1 -1
- package/src/image/Image.tsx +3 -0
- package/src/image/index.ts +1 -0
- package/src/index.ts +2 -0
- package/src/listItem/AdditionalInfo/ListItemAdditionalInfo.story.tsx +145 -0
- package/src/listItem/AdditionalInfo/ListItemAdditionalInfo.tsx +36 -0
- package/src/listItem/AdditionalInfo/index.ts +2 -0
- package/src/listItem/AvatarLayout/ListItemAvatarLayout.story.tsx +118 -0
- package/src/listItem/AvatarLayout/ListItemAvatarLayout.tsx +24 -0
- package/src/listItem/AvatarLayout/index.ts +2 -0
- package/src/listItem/AvatarView/ListItemAvatarView.story.tsx +318 -0
- package/src/listItem/AvatarView/ListItemAvatarView.tsx +24 -0
- package/src/listItem/AvatarView/index.ts +2 -0
- package/src/listItem/Button/ListItemButton.spec.tsx +93 -0
- package/src/listItem/Button/ListItemButton.story.tsx +408 -0
- package/src/listItem/Button/ListItemButton.tsx +56 -0
- package/src/listItem/Button/index.ts +2 -0
- package/src/listItem/Checkbox/ListItemCheckbox.story.tsx +107 -0
- package/src/listItem/Checkbox/ListItemCheckbox.tsx +33 -0
- package/src/listItem/Checkbox/index.ts +2 -0
- package/src/listItem/IconButton/ListItemIconButton.story.tsx +236 -0
- package/src/listItem/IconButton/ListItemIconButton.tsx +56 -0
- package/src/listItem/IconButton/index.ts +2 -0
- package/src/listItem/Image/ListItemImage.story.tsx +39 -0
- package/src/listItem/Image/ListItemImage.tsx +40 -0
- package/src/listItem/Image/index.ts +2 -0
- package/src/listItem/ListItem.css +657 -0
- package/src/listItem/ListItem.grid.css +362 -0
- package/src/listItem/ListItem.grid.less +612 -0
- package/src/listItem/ListItem.less +312 -0
- package/src/listItem/ListItem.spec.tsx +97 -0
- package/src/listItem/ListItem.tsx +428 -0
- package/src/listItem/ListItemContext.tsx +22 -0
- package/src/listItem/Navigation/ListItemNavigation.story.tsx +106 -0
- package/src/listItem/Navigation/ListItemNavigation.tsx +40 -0
- package/src/listItem/Navigation/index.ts +2 -0
- package/src/listItem/Prompt/ListItemPrompt.spec.tsx +49 -0
- package/src/listItem/Prompt/ListItemPrompt.story.tsx +199 -0
- package/src/listItem/Prompt/ListItemPrompt.tsx +32 -0
- package/src/listItem/Prompt/index.ts +2 -0
- package/src/listItem/Radio/ListItemRadio.story.tsx +98 -0
- package/src/listItem/Radio/ListItemRadio.tsx +33 -0
- package/src/listItem/Radio/index.ts +2 -0
- package/src/listItem/Switch/ListItemSwitch.story.tsx +69 -0
- package/src/listItem/Switch/ListItemSwitch.tsx +33 -0
- package/src/listItem/Switch/index.ts +2 -0
- package/src/listItem/_stories/ListItem.focus.test.story.tsx +250 -0
- package/src/listItem/_stories/ListItem.layout.test.story.tsx +169 -0
- package/src/listItem/_stories/ListItem.story.tsx +670 -0
- package/src/listItem/_stories/ListItem.variants.test.story.tsx +266 -0
- package/src/listItem/_stories/subcomponents.tsx +139 -0
- package/src/listItem/index.ts +14 -0
- package/src/listItem/useListItemControl.tsx +18 -0
- package/src/main.css +657 -0
- package/src/main.less +1 -0
- package/src/switch/Switch.tsx +4 -0
- package/src/upload/Upload.messages.ts +8 -0
- package/src/upload/Upload.spec.tsx +6 -0
- package/src/upload/Upload.story.tsx +118 -3
- package/src/upload/Upload.tests.story.tsx +5 -3
- package/src/upload/Upload.tsx +24 -15
- package/src/uploadInput/UploadInput.tests.story.tsx +7 -0
- package/src/uploadInput/UploadInput.tsx +2 -2
- package/src/uploadInput/uploadButton/UploadButton.spec.tsx +6 -0
- package/src/uploadInput/uploadButton/UploadButton.tsx +12 -6
package/build/main.css
CHANGED
|
@@ -2633,6 +2633,663 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
|
|
|
2633
2633
|
border-radius: 9999px !important;
|
|
2634
2634
|
border-radius: var(--radius-full) !important;
|
|
2635
2635
|
}
|
|
2636
|
+
.wds-list-item-gridWrapper {
|
|
2637
|
+
display: grid;
|
|
2638
|
+
grid-gap: 4px 16px;
|
|
2639
|
+
grid-gap: var(--size-4) var(--size-16);
|
|
2640
|
+
gap: 4px 16px;
|
|
2641
|
+
gap: var(--size-4) var(--size-16);
|
|
2642
|
+
}
|
|
2643
|
+
@container (min-width: 376px) {
|
|
2644
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
2645
|
+
grid-template-columns: auto 1fr auto;
|
|
2646
|
+
grid-template-rows: auto auto auto;
|
|
2647
|
+
grid-template-areas: "media body control" "media info control" "media prompt prompt";
|
|
2648
|
+
}
|
|
2649
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt {
|
|
2650
|
+
grid-template-columns: auto 1fr auto;
|
|
2651
|
+
grid-template-rows: auto auto;
|
|
2652
|
+
grid-template-areas: "media body control" "media info control";
|
|
2653
|
+
}
|
|
2654
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt {
|
|
2655
|
+
grid-template-columns: auto 1fr auto;
|
|
2656
|
+
grid-template-rows: auto auto;
|
|
2657
|
+
grid-template-areas: "media body control" "media prompt prompt";
|
|
2658
|
+
}
|
|
2659
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt {
|
|
2660
|
+
grid-template-columns: auto 1fr auto;
|
|
2661
|
+
grid-template-rows: auto;
|
|
2662
|
+
grid-template-areas: "media body control";
|
|
2663
|
+
}
|
|
2664
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-hasPrompt {
|
|
2665
|
+
grid-template-columns: auto 1fr;
|
|
2666
|
+
grid-template-rows: auto auto;
|
|
2667
|
+
grid-template-areas: "media body" "media info" "media prompt";
|
|
2668
|
+
}
|
|
2669
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-noPrompt {
|
|
2670
|
+
grid-template-columns: auto 1fr;
|
|
2671
|
+
grid-template-rows: auto auto auto;
|
|
2672
|
+
grid-template-areas: "media body" "media info";
|
|
2673
|
+
}
|
|
2674
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-hasPrompt {
|
|
2675
|
+
grid-template-columns: auto 1fr;
|
|
2676
|
+
grid-template-rows: auto auto;
|
|
2677
|
+
grid-template-areas: "media body" "media prompt";
|
|
2678
|
+
}
|
|
2679
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-noPrompt {
|
|
2680
|
+
grid-template-columns: auto 1fr;
|
|
2681
|
+
grid-template-rows: auto;
|
|
2682
|
+
grid-template-areas: "media body";
|
|
2683
|
+
}
|
|
2684
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl .wds-list-item-prompt {
|
|
2685
|
+
grid-column: 1 / -1;
|
|
2686
|
+
}
|
|
2687
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
2688
|
+
grid-template-columns: 1fr auto;
|
|
2689
|
+
grid-template-rows: auto auto auto;
|
|
2690
|
+
grid-template-areas: "body control" "info control" "prompt prompt";
|
|
2691
|
+
}
|
|
2692
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt {
|
|
2693
|
+
grid-template-columns: 1fr auto;
|
|
2694
|
+
grid-template-rows: auto auto;
|
|
2695
|
+
grid-template-areas: "body control" "info control";
|
|
2696
|
+
}
|
|
2697
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt {
|
|
2698
|
+
grid-template-columns: 1fr auto;
|
|
2699
|
+
grid-template-rows: auto auto;
|
|
2700
|
+
grid-template-areas: "body control" "prompt prompt";
|
|
2701
|
+
}
|
|
2702
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-noPrompt {
|
|
2703
|
+
grid-template-columns: 1fr auto;
|
|
2704
|
+
grid-template-rows: auto;
|
|
2705
|
+
grid-template-areas: "body control";
|
|
2706
|
+
}
|
|
2707
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl .wds-list-item-prompt {
|
|
2708
|
+
grid-column: 1 / -1;
|
|
2709
|
+
}
|
|
2710
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-hasPrompt {
|
|
2711
|
+
grid-template-columns: 1fr;
|
|
2712
|
+
grid-template-rows: auto auto auto;
|
|
2713
|
+
grid-template-areas: "body" "info" "prompt";
|
|
2714
|
+
}
|
|
2715
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-noPrompt {
|
|
2716
|
+
grid-template-columns: 1fr;
|
|
2717
|
+
grid-template-rows: auto auto;
|
|
2718
|
+
grid-template-areas: "body" "info";
|
|
2719
|
+
}
|
|
2720
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-hasPrompt {
|
|
2721
|
+
grid-template-columns: 1fr;
|
|
2722
|
+
grid-template-rows: auto auto;
|
|
2723
|
+
grid-template-areas: "body" "prompt";
|
|
2724
|
+
}
|
|
2725
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-noPrompt {
|
|
2726
|
+
grid-template-columns: 1fr;
|
|
2727
|
+
grid-template-rows: auto;
|
|
2728
|
+
grid-template-areas: "body";
|
|
2729
|
+
}
|
|
2730
|
+
}
|
|
2731
|
+
@container (min-width: 297px) and (max-width: 375px) {
|
|
2732
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl .wds-list-item-media {
|
|
2733
|
+
margin-bottom: 16px;
|
|
2734
|
+
margin-bottom: var(--size-16);
|
|
2735
|
+
}
|
|
2736
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
2737
|
+
grid-template-columns: 1fr auto;
|
|
2738
|
+
grid-template-rows: auto auto auto auto;
|
|
2739
|
+
grid-template-areas: "media media" "body control" "info control" "prompt prompt";
|
|
2740
|
+
}
|
|
2741
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt:has(.wds-list-item-button-control) {
|
|
2742
|
+
grid-template-columns: 1fr;
|
|
2743
|
+
grid-template-areas: "media" "body" "info" "prompt" "control";
|
|
2744
|
+
}
|
|
2745
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt {
|
|
2746
|
+
grid-template-columns: 1fr auto;
|
|
2747
|
+
grid-template-rows: auto auto auto;
|
|
2748
|
+
grid-template-areas: "media media" "body control" "info control";
|
|
2749
|
+
}
|
|
2750
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt:has(.wds-list-item-button-control) {
|
|
2751
|
+
grid-template-columns: 1fr;
|
|
2752
|
+
grid-template-areas: "media" "body" "info" "control";
|
|
2753
|
+
}
|
|
2754
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt {
|
|
2755
|
+
grid-template-columns: 1fr auto;
|
|
2756
|
+
grid-template-rows: auto auto auto;
|
|
2757
|
+
grid-template-areas: "media media" "body control" "prompt prompt";
|
|
2758
|
+
}
|
|
2759
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt:has(.wds-list-item-button-control) {
|
|
2760
|
+
grid-template-columns: 1fr;
|
|
2761
|
+
grid-template-areas: "media" "body" "prompt" "control";
|
|
2762
|
+
}
|
|
2763
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt {
|
|
2764
|
+
grid-template-columns: 1fr auto;
|
|
2765
|
+
grid-template-rows: auto auto;
|
|
2766
|
+
grid-template-areas: "media media" "body control";
|
|
2767
|
+
}
|
|
2768
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt:has(.wds-list-item-button-control) {
|
|
2769
|
+
grid-template-columns: 1fr;
|
|
2770
|
+
grid-template-areas: "media" "body" "control";
|
|
2771
|
+
}
|
|
2772
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl .wds-list-item-media {
|
|
2773
|
+
margin-bottom: 16px;
|
|
2774
|
+
margin-bottom: var(--size-16);
|
|
2775
|
+
}
|
|
2776
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-hasPrompt {
|
|
2777
|
+
grid-template-columns: auto auto;
|
|
2778
|
+
grid-template-rows: auto auto auto auto;
|
|
2779
|
+
grid-template-areas: "media media" "body body" "info info" "prompt prompt";
|
|
2780
|
+
}
|
|
2781
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-noPrompt {
|
|
2782
|
+
grid-template-columns: auto 1fr;
|
|
2783
|
+
grid-template-rows: auto auto auto;
|
|
2784
|
+
grid-template-areas: "media media" "body body" "info info";
|
|
2785
|
+
}
|
|
2786
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-hasPrompt {
|
|
2787
|
+
grid-template-columns: auto 1fr;
|
|
2788
|
+
grid-template-rows: auto auto auto;
|
|
2789
|
+
grid-template-areas: "media media" "body body" "prompt prompt";
|
|
2790
|
+
}
|
|
2791
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-noPrompt {
|
|
2792
|
+
grid-template-columns: 1fr;
|
|
2793
|
+
grid-template-rows: auto auto;
|
|
2794
|
+
grid-template-areas: "media" "body";
|
|
2795
|
+
}
|
|
2796
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl .wds-list-item-prompt {
|
|
2797
|
+
grid-column: 1 / -1;
|
|
2798
|
+
}
|
|
2799
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
2800
|
+
grid-template-columns: 1fr auto;
|
|
2801
|
+
grid-template-rows: auto auto auto;
|
|
2802
|
+
grid-template-areas: "body control" "info control" "prompt prompt";
|
|
2803
|
+
}
|
|
2804
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt:has(.wds-list-item-button-control) {
|
|
2805
|
+
grid-template-columns: 1fr;
|
|
2806
|
+
grid-template-areas: "body" "info" "prompt" "control";
|
|
2807
|
+
}
|
|
2808
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt {
|
|
2809
|
+
grid-template-columns: 1fr auto;
|
|
2810
|
+
grid-template-rows: auto auto;
|
|
2811
|
+
grid-template-areas: "body control" "info control";
|
|
2812
|
+
}
|
|
2813
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt:has(.wds-list-item-button-control) {
|
|
2814
|
+
grid-template-columns: 1fr;
|
|
2815
|
+
grid-template-areas: "body" "info" "control";
|
|
2816
|
+
}
|
|
2817
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt {
|
|
2818
|
+
grid-template-columns: 1fr auto;
|
|
2819
|
+
grid-template-rows: auto auto;
|
|
2820
|
+
grid-template-areas: "body control" "prompt prompt";
|
|
2821
|
+
}
|
|
2822
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt:has(.wds-list-item-button-control) {
|
|
2823
|
+
grid-template-columns: 1fr;
|
|
2824
|
+
grid-template-areas: "body" "prompt" "control";
|
|
2825
|
+
}
|
|
2826
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-noPrompt {
|
|
2827
|
+
grid-template-columns: 1fr auto;
|
|
2828
|
+
grid-template-rows: auto;
|
|
2829
|
+
grid-template-areas: "body control";
|
|
2830
|
+
}
|
|
2831
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-noPrompt:has(.wds-list-item-button-control) {
|
|
2832
|
+
grid-template-columns: 1fr;
|
|
2833
|
+
grid-template-areas: "body" "control";
|
|
2834
|
+
}
|
|
2835
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl .wds-list-item-prompt {
|
|
2836
|
+
grid-column: 1 / -1;
|
|
2837
|
+
}
|
|
2838
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-hasPrompt {
|
|
2839
|
+
grid-template-columns: 1fr;
|
|
2840
|
+
grid-template-rows: auto auto auto;
|
|
2841
|
+
grid-template-areas: "body" "info" "prompt";
|
|
2842
|
+
}
|
|
2843
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-noPrompt {
|
|
2844
|
+
grid-template-columns: 1fr;
|
|
2845
|
+
grid-template-rows: auto auto;
|
|
2846
|
+
grid-template-areas: "body" "info";
|
|
2847
|
+
}
|
|
2848
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-hasPrompt {
|
|
2849
|
+
grid-template-columns: 1fr;
|
|
2850
|
+
grid-template-rows: auto auto;
|
|
2851
|
+
grid-template-areas: "body" "prompt";
|
|
2852
|
+
}
|
|
2853
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-noPrompt {
|
|
2854
|
+
grid-template-columns: 1fr;
|
|
2855
|
+
grid-template-rows: auto;
|
|
2856
|
+
grid-template-areas: "body";
|
|
2857
|
+
}
|
|
2858
|
+
}
|
|
2859
|
+
@container (max-width: 296px) {
|
|
2860
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
2861
|
+
grid-template-columns: auto 1fr;
|
|
2862
|
+
grid-template-rows: auto auto auto;
|
|
2863
|
+
grid-template-areas: "body control" "info control" "prompt prompt";
|
|
2864
|
+
}
|
|
2865
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt:has(.wds-list-item-button-control) {
|
|
2866
|
+
grid-template-columns: 1fr;
|
|
2867
|
+
grid-template-rows: auto;
|
|
2868
|
+
grid-template-areas: "body" "info" "prompt" "control";
|
|
2869
|
+
}
|
|
2870
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt {
|
|
2871
|
+
grid-template-columns: auto 1fr;
|
|
2872
|
+
grid-template-rows: auto auto;
|
|
2873
|
+
grid-template-areas: "body control" "info control";
|
|
2874
|
+
}
|
|
2875
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt:has(.wds-list-item-button-control) {
|
|
2876
|
+
grid-template-columns: 1fr;
|
|
2877
|
+
grid-template-areas: "body" "info" "control";
|
|
2878
|
+
}
|
|
2879
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt {
|
|
2880
|
+
grid-template-columns: auto 1fr;
|
|
2881
|
+
grid-template-rows: auto auto;
|
|
2882
|
+
grid-template-areas: "body control" "prompt prompt";
|
|
2883
|
+
}
|
|
2884
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt:has(.wds-list-item-button-control) {
|
|
2885
|
+
grid-template-columns: 1fr;
|
|
2886
|
+
grid-template-areas: "body" "prompt" "control";
|
|
2887
|
+
}
|
|
2888
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt {
|
|
2889
|
+
grid-template-columns: auto 1fr;
|
|
2890
|
+
grid-template-rows: auto;
|
|
2891
|
+
grid-template-areas: "body control";
|
|
2892
|
+
}
|
|
2893
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt:has(.wds-list-item-button-control) {
|
|
2894
|
+
grid-template-columns: 1fr;
|
|
2895
|
+
grid-template-areas: "body" "control";
|
|
2896
|
+
}
|
|
2897
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-hasPrompt {
|
|
2898
|
+
grid-template-columns: auto;
|
|
2899
|
+
grid-template-rows: auto auto;
|
|
2900
|
+
grid-template-areas: "body" "info" "prompt";
|
|
2901
|
+
}
|
|
2902
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-noPrompt {
|
|
2903
|
+
grid-template-columns: auto;
|
|
2904
|
+
grid-template-rows: auto auto auto;
|
|
2905
|
+
grid-template-areas: "body" "info";
|
|
2906
|
+
}
|
|
2907
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-hasPrompt {
|
|
2908
|
+
grid-template-columns: auto;
|
|
2909
|
+
grid-template-rows: auto auto;
|
|
2910
|
+
grid-template-areas: "body" "prompt";
|
|
2911
|
+
}
|
|
2912
|
+
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-noPrompt {
|
|
2913
|
+
grid-template-columns: 1fr;
|
|
2914
|
+
grid-template-rows: auto;
|
|
2915
|
+
grid-template-areas: "body";
|
|
2916
|
+
}
|
|
2917
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl .wds-list-item-prompt {
|
|
2918
|
+
grid-column: 1 / -1;
|
|
2919
|
+
}
|
|
2920
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
2921
|
+
grid-template-columns: 1fr auto;
|
|
2922
|
+
grid-template-rows: auto auto auto;
|
|
2923
|
+
grid-template-areas: "body control" "info control" "prompt prompt";
|
|
2924
|
+
}
|
|
2925
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt:has(.wds-list-item-button-control) {
|
|
2926
|
+
grid-template-columns: 1fr;
|
|
2927
|
+
grid-template-rows: auto;
|
|
2928
|
+
grid-template-areas: "body" "info" "prompt" "control";
|
|
2929
|
+
}
|
|
2930
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt {
|
|
2931
|
+
grid-template-columns: 1fr auto;
|
|
2932
|
+
grid-template-rows: auto auto;
|
|
2933
|
+
grid-template-areas: "body control" "info control";
|
|
2934
|
+
}
|
|
2935
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt:has(.wds-list-item-button-control) {
|
|
2936
|
+
grid-template-columns: 1fr;
|
|
2937
|
+
grid-template-rows: auto;
|
|
2938
|
+
grid-template-areas: "body" "info" "control";
|
|
2939
|
+
}
|
|
2940
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt {
|
|
2941
|
+
grid-template-columns: 1fr auto;
|
|
2942
|
+
grid-template-rows: auto auto;
|
|
2943
|
+
grid-template-areas: "body control" "prompt prompt";
|
|
2944
|
+
}
|
|
2945
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt:has(.wds-list-item-button-control) {
|
|
2946
|
+
grid-template-columns: 1fr;
|
|
2947
|
+
grid-template-rows: auto;
|
|
2948
|
+
grid-template-areas: "body" "prompt" "control";
|
|
2949
|
+
}
|
|
2950
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-noPrompt {
|
|
2951
|
+
grid-template-columns: 1fr auto;
|
|
2952
|
+
grid-template-rows: auto;
|
|
2953
|
+
grid-template-areas: "body control";
|
|
2954
|
+
}
|
|
2955
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-noPrompt:has(.wds-list-item-button-control) {
|
|
2956
|
+
grid-template-columns: 1fr;
|
|
2957
|
+
grid-template-rows: auto;
|
|
2958
|
+
grid-template-areas: "body" "control";
|
|
2959
|
+
}
|
|
2960
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl .wds-list-item-prompt {
|
|
2961
|
+
grid-column: 1 / -1;
|
|
2962
|
+
}
|
|
2963
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-hasPrompt {
|
|
2964
|
+
grid-template-columns: 1fr;
|
|
2965
|
+
grid-template-rows: auto auto auto;
|
|
2966
|
+
grid-template-areas: "body" "info" "prompt";
|
|
2967
|
+
}
|
|
2968
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-noPrompt {
|
|
2969
|
+
grid-template-columns: 1fr;
|
|
2970
|
+
grid-template-rows: auto auto;
|
|
2971
|
+
grid-template-areas: "body" "info";
|
|
2972
|
+
}
|
|
2973
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-hasPrompt {
|
|
2974
|
+
grid-template-columns: 1fr;
|
|
2975
|
+
grid-template-rows: auto auto;
|
|
2976
|
+
grid-template-areas: "body" "prompt";
|
|
2977
|
+
}
|
|
2978
|
+
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-noPrompt {
|
|
2979
|
+
grid-template-columns: 1fr;
|
|
2980
|
+
grid-template-rows: auto;
|
|
2981
|
+
grid-template-areas: "body";
|
|
2982
|
+
}
|
|
2983
|
+
.wds-list-item-gridWrapper .wds-list-item-media {
|
|
2984
|
+
display: none;
|
|
2985
|
+
}
|
|
2986
|
+
.wds-list-item-gridWrapper .wds-list-item-body {
|
|
2987
|
+
grid-area: body;
|
|
2988
|
+
display: grid;
|
|
2989
|
+
grid-template-columns: 1fr;
|
|
2990
|
+
justify-items: start;
|
|
2991
|
+
grid-gap: 0;
|
|
2992
|
+
gap: 0;
|
|
2993
|
+
}
|
|
2994
|
+
.wds-list-item-gridWrapper .wds-list-item-body .wds-list-item-value {
|
|
2995
|
+
text-align: left;
|
|
2996
|
+
}
|
|
2997
|
+
}
|
|
2998
|
+
.wds-list-item {
|
|
2999
|
+
list-style: none;
|
|
3000
|
+
width: 100%;
|
|
3001
|
+
border-radius: 16px;
|
|
3002
|
+
border-radius: var(--radius-medium);
|
|
3003
|
+
background-color: #ffffff;
|
|
3004
|
+
background-color: var(--color-background-screen);
|
|
3005
|
+
position: relative;
|
|
3006
|
+
padding: 12px;
|
|
3007
|
+
padding: var(--size-12);
|
|
3008
|
+
container-type: inline-size;
|
|
3009
|
+
}
|
|
3010
|
+
.wds-list-item:focus-within {
|
|
3011
|
+
z-index: 1;
|
|
3012
|
+
}
|
|
3013
|
+
.wds-list-item-view {
|
|
3014
|
+
display: grid;
|
|
3015
|
+
grid-column: 1 / -1;
|
|
3016
|
+
grid-row: 1 / -1;
|
|
3017
|
+
grid-template-columns: subgrid;
|
|
3018
|
+
grid-template-rows: subgrid;
|
|
3019
|
+
}
|
|
3020
|
+
.wds-list-item-view.fullyInteractive {
|
|
3021
|
+
margin-bottom: 0;
|
|
3022
|
+
}
|
|
3023
|
+
.wds-list-item-view.fullyInteractive:before {
|
|
3024
|
+
content: '';
|
|
3025
|
+
position: absolute;
|
|
3026
|
+
inset: 0;
|
|
3027
|
+
}
|
|
3028
|
+
.wds-list-item a {
|
|
3029
|
+
text-underline-offset: calc(4px / 2);
|
|
3030
|
+
text-underline-offset: calc(var(--size-4) / 2);
|
|
3031
|
+
}
|
|
3032
|
+
.wds-list-item-interactive .wds-list-item-control:focus-visible,
|
|
3033
|
+
.wds-list-item-interactive .np-checkbox-button:has(input[type="checkbox"]:focus-visible) .tw-checkbox-button {
|
|
3034
|
+
outline: none;
|
|
3035
|
+
}
|
|
3036
|
+
.wds-list-item-interactive:has(.wds-list-item-control:focus-visible),
|
|
3037
|
+
.wds-list-item-interactive:has(input[type="checkbox"]:focus-visible) {
|
|
3038
|
+
outline: var(--ring-outline-color) solid var(--ring-outline-width);
|
|
3039
|
+
outline-offset: var(--ring-outline-offset);
|
|
3040
|
+
outline-offset: -1px;
|
|
3041
|
+
}
|
|
3042
|
+
.wds-list-item-interactive .wds-list-item-additional-info {
|
|
3043
|
+
--ring-outline-offset: 0;
|
|
3044
|
+
}
|
|
3045
|
+
.wds-list-item-interactive a.wds-list-item-control,
|
|
3046
|
+
.wds-list-item-interactive a.wds-list-item-control:hover,
|
|
3047
|
+
.wds-list-item-interactive a.wds-list-item-control:focus {
|
|
3048
|
+
-webkit-text-decoration: none;
|
|
3049
|
+
text-decoration: none;
|
|
3050
|
+
}
|
|
3051
|
+
.wds-list-item-interactive a.wds-list-item-control:has(.wds-list-item-control_pseudo-element) {
|
|
3052
|
+
position: relative;
|
|
3053
|
+
z-index: 1;
|
|
3054
|
+
}
|
|
3055
|
+
.wds-list-item-interactive a.wds-list-item-control.wds-list-item-control_pseudo-element:before {
|
|
3056
|
+
content: '';
|
|
3057
|
+
position: absolute;
|
|
3058
|
+
inset: 0;
|
|
3059
|
+
}
|
|
3060
|
+
.wds-list-item-interactive:not(.disabled):not(:disabled):hover {
|
|
3061
|
+
background-color: var(--color-background-screen-hover);
|
|
3062
|
+
}
|
|
3063
|
+
.wds-list-item-interactive:not(.disabled):not(:disabled):hover .wds-list-item-control-wrapper .wds-Button {
|
|
3064
|
+
background-color: var(--Button-background-hover);
|
|
3065
|
+
color: var(--Button-color-hover);
|
|
3066
|
+
transition: none;
|
|
3067
|
+
}
|
|
3068
|
+
.wds-list-item-interactive:not(.disabled):not(:disabled):active {
|
|
3069
|
+
background-color: var(--color-background-screen-active);
|
|
3070
|
+
}
|
|
3071
|
+
.wds-list-item-interactive .wds-list-item-button-control .wds-Button {
|
|
3072
|
+
transition: none;
|
|
3073
|
+
}
|
|
3074
|
+
.wds-list-item-interactive:has(.wds-list-item-prompt:hover a, .wds-list-item-prompt:hover button):hover {
|
|
3075
|
+
background-color: transparent;
|
|
3076
|
+
background-color: initial;
|
|
3077
|
+
}
|
|
3078
|
+
.wds-list-item-media {
|
|
3079
|
+
grid-area: media;
|
|
3080
|
+
}
|
|
3081
|
+
.wds-list-item-media-image {
|
|
3082
|
+
width: var(--item-media-image-size);
|
|
3083
|
+
height: var(--item-media-image-size);
|
|
3084
|
+
}
|
|
3085
|
+
.wds-list-item-body {
|
|
3086
|
+
grid-area: body;
|
|
3087
|
+
width: 100%;
|
|
3088
|
+
display: grid;
|
|
3089
|
+
grid-template-columns: 1fr max-content;
|
|
3090
|
+
grid-template-columns: var(--wds-list-item-body-left, 1fr) var(--wds-list-item-body-right, max-content);
|
|
3091
|
+
grid-gap: 16px;
|
|
3092
|
+
grid-gap: var(--size-16);
|
|
3093
|
+
gap: 16px;
|
|
3094
|
+
gap: var(--size-16);
|
|
3095
|
+
}
|
|
3096
|
+
.wds-list-item-title {
|
|
3097
|
+
color: #37517e;
|
|
3098
|
+
color: var(--color-content-primary);
|
|
3099
|
+
}
|
|
3100
|
+
.wds-list-item-additional-info {
|
|
3101
|
+
grid-area: info;
|
|
3102
|
+
color: #768e9c;
|
|
3103
|
+
color: var(--color-content-tertiary);
|
|
3104
|
+
}
|
|
3105
|
+
.wds-list-item-value {
|
|
3106
|
+
align-items: end;
|
|
3107
|
+
text-align: right;
|
|
3108
|
+
}
|
|
3109
|
+
.wds-list-item-control-wrapper {
|
|
3110
|
+
grid-area: control;
|
|
3111
|
+
}
|
|
3112
|
+
.wds-list-item-control {
|
|
3113
|
+
flex: 0 0 auto;
|
|
3114
|
+
}
|
|
3115
|
+
.wds-list-item.disabled {
|
|
3116
|
+
filter: none;
|
|
3117
|
+
opacity: 1;
|
|
3118
|
+
}
|
|
3119
|
+
.wds-list-item.disabled label {
|
|
3120
|
+
cursor: not-allowed;
|
|
3121
|
+
}
|
|
3122
|
+
.wds-list-item.disabled .tw-icon-backslash-circle {
|
|
3123
|
+
color: #768e9c;
|
|
3124
|
+
color: var(--color-content-tertiary);
|
|
3125
|
+
}
|
|
3126
|
+
.wds-list-item-spotlight-active {
|
|
3127
|
+
background-color: rgba(134,167,189,0.10196);
|
|
3128
|
+
background-color: var(--color-background-neutral);
|
|
3129
|
+
}
|
|
3130
|
+
.wds-list-item-spotlight-active:not(.disabled):not(:disabled):hover {
|
|
3131
|
+
background-color: var(--color-background-neutral-hover);
|
|
3132
|
+
}
|
|
3133
|
+
.wds-list-item-spotlight-active:not(.disabled):not(:disabled):active {
|
|
3134
|
+
background-color: var(--color-background-neutral-active);
|
|
3135
|
+
}
|
|
3136
|
+
.wds-list-item-spotlight-inactive {
|
|
3137
|
+
background-color: rgba(134, 167, 189, 0.025);
|
|
3138
|
+
border: 1px dashed rgba(0,0,0,0.10196);
|
|
3139
|
+
border: 1px dashed var(--color-border-neutral);
|
|
3140
|
+
}
|
|
3141
|
+
@supports (color: color-mix(in lch, red, blue)) {
|
|
3142
|
+
.wds-list-item-spotlight-inactive {
|
|
3143
|
+
background-color: color-mix(in srgb, var(--color-background-neutral) 25%, transparent);
|
|
3144
|
+
}
|
|
3145
|
+
}
|
|
3146
|
+
.wds-list-item-spotlight-inactive:not(.disabled):not(:disabled):hover {
|
|
3147
|
+
background-color: color-mix(in srgb, var(--color-background-neutral-hover) 25%, transparent);
|
|
3148
|
+
}
|
|
3149
|
+
.wds-list-item-spotlight-inactive:not(.disabled):not(:disabled):active {
|
|
3150
|
+
background-color: color-mix(in srgb, var(--color-background-neutral-active) 25%, transparent);
|
|
3151
|
+
}
|
|
3152
|
+
.wds-list-item-prompt {
|
|
3153
|
+
grid-area: prompt;
|
|
3154
|
+
display: inline-flex;
|
|
3155
|
+
justify-self: start;
|
|
3156
|
+
text-align: left;
|
|
3157
|
+
padding-top: calc(8px / 2);
|
|
3158
|
+
padding-top: calc(var(--padding-x-small) / 2);
|
|
3159
|
+
padding-bottom: calc(8px / 2);
|
|
3160
|
+
padding-bottom: calc(var(--padding-x-small) / 2);
|
|
3161
|
+
padding-left: calc(8px - 1px);
|
|
3162
|
+
padding-left: calc(var(--padding-x-small) - 1px);
|
|
3163
|
+
padding-right: 8px;
|
|
3164
|
+
padding-right: var(--padding-x-small);
|
|
3165
|
+
border-radius: 10px;
|
|
3166
|
+
border-radius: var(--radius-small);
|
|
3167
|
+
word-break: break-word;
|
|
3168
|
+
word-wrap: break-word;
|
|
3169
|
+
}
|
|
3170
|
+
.wds-list-item-prompt:has(a),
|
|
3171
|
+
.wds-list-item-prompt:has(button) {
|
|
3172
|
+
position: relative;
|
|
3173
|
+
z-index: 1;
|
|
3174
|
+
}
|
|
3175
|
+
.wds-list-item-prompt a,
|
|
3176
|
+
.wds-list-item-prompt button {
|
|
3177
|
+
text-underline-offset: calc(4px / 2);
|
|
3178
|
+
text-underline-offset: calc(var(--size-4) / 2);
|
|
3179
|
+
}
|
|
3180
|
+
.wds-list-item-prompt a:first-of-type:before,
|
|
3181
|
+
.wds-list-item-prompt button:first-of-type:before {
|
|
3182
|
+
content: '';
|
|
3183
|
+
position: absolute;
|
|
3184
|
+
inset: 0;
|
|
3185
|
+
}
|
|
3186
|
+
.wds-list-item-prompt.np-prompt-icon {
|
|
3187
|
+
padding-left: calc(8px - 1px);
|
|
3188
|
+
padding-left: calc(var(--padding-x-small) - 1px);
|
|
3189
|
+
padding-right: 8px;
|
|
3190
|
+
padding-right: var(--padding-x-small);
|
|
3191
|
+
display: inline-flex;
|
|
3192
|
+
align-items: center;
|
|
3193
|
+
gap: 4px;
|
|
3194
|
+
gap: var(--size-4);
|
|
3195
|
+
}
|
|
3196
|
+
.wds-list-item-prompt .np-prompt-icon {
|
|
3197
|
+
padding-right: calc(12px / 2);
|
|
3198
|
+
padding-right: calc(var(--size-12) / 2);
|
|
3199
|
+
padding-top: calc(4px - 1px);
|
|
3200
|
+
padding-top: calc(var(--size-4) - 1px);
|
|
3201
|
+
padding-bottom: calc(4px - 1px);
|
|
3202
|
+
padding-bottom: calc(var(--size-4) - 1px);
|
|
3203
|
+
}
|
|
3204
|
+
.wds-list-item-prompt .np-prompt-icon .tw-icon-tags,
|
|
3205
|
+
.wds-list-item-prompt .np-prompt-icon .tw-icon-confetti {
|
|
3206
|
+
color: var(--color-sentiment-positive-primary);
|
|
3207
|
+
}
|
|
3208
|
+
.wds-list-item-prompt.negative {
|
|
3209
|
+
background-color: var(--color-sentiment-negative-secondary);
|
|
3210
|
+
color: var(--color-sentiment-negative-primary);
|
|
3211
|
+
}
|
|
3212
|
+
.wds-list-item-prompt.negative a {
|
|
3213
|
+
color: var(--color-sentiment-negative-primary);
|
|
3214
|
+
}
|
|
3215
|
+
.wds-list-item-prompt.negative a:hover {
|
|
3216
|
+
color: var(--color-sentiment-negative-primary-hover);
|
|
3217
|
+
}
|
|
3218
|
+
.wds-list-item-prompt.negative a:active {
|
|
3219
|
+
color: var(--color-sentiment-negative-primary-active);
|
|
3220
|
+
}
|
|
3221
|
+
.wds-list-item-prompt.wds-list-item-prompt.negative:has(a, button):hover {
|
|
3222
|
+
background-color: var(--color-sentiment-negative-secondary-hover);
|
|
3223
|
+
}
|
|
3224
|
+
.wds-list-item-prompt.wds-list-item-prompt.negative:has(a, button):active {
|
|
3225
|
+
background-color: var(--color-sentiment-negative-secondary-active);
|
|
3226
|
+
}
|
|
3227
|
+
.wds-list-item-prompt.positive,
|
|
3228
|
+
.wds-list-item-prompt.discount,
|
|
3229
|
+
.wds-list-item-prompt.savings {
|
|
3230
|
+
background-color: var(--color-sentiment-positive-secondary);
|
|
3231
|
+
color: var(--color-sentiment-positive-primary);
|
|
3232
|
+
}
|
|
3233
|
+
.wds-list-item-prompt.positive a,
|
|
3234
|
+
.wds-list-item-prompt.discount a,
|
|
3235
|
+
.wds-list-item-prompt.savings a {
|
|
3236
|
+
color: var(--color-sentiment-positive-primary);
|
|
3237
|
+
}
|
|
3238
|
+
.wds-list-item-prompt.positive a:hover,
|
|
3239
|
+
.wds-list-item-prompt.discount a:hover,
|
|
3240
|
+
.wds-list-item-prompt.savings a:hover {
|
|
3241
|
+
color: var(--color-sentiment-positive-primary-hover);
|
|
3242
|
+
}
|
|
3243
|
+
.wds-list-item-prompt.positive a:active,
|
|
3244
|
+
.wds-list-item-prompt.discount a:active,
|
|
3245
|
+
.wds-list-item-prompt.savings a:active {
|
|
3246
|
+
color: var(--color-sentiment-positive-primary-active);
|
|
3247
|
+
}
|
|
3248
|
+
.wds-list-item-prompt.wds-list-item-prompt.positive:has(a, button):hover,
|
|
3249
|
+
.wds-list-item-prompt.wds-list-item-prompt.discount:has(a, button):hover,
|
|
3250
|
+
.wds-list-item-prompt.wds-list-item-prompt.savings:has(a, button):hover {
|
|
3251
|
+
background-color: var(--color-sentiment-positive-secondary-hover);
|
|
3252
|
+
}
|
|
3253
|
+
.wds-list-item-prompt.wds-list-item-prompt.positive:has(a, button):active,
|
|
3254
|
+
.wds-list-item-prompt.wds-list-item-prompt.discount:has(a, button):active,
|
|
3255
|
+
.wds-list-item-prompt.wds-list-item-prompt.savings:has(a, button):active {
|
|
3256
|
+
background-color: var(--color-sentiment-positive-secondary-active);
|
|
3257
|
+
}
|
|
3258
|
+
.wds-list-item-prompt.neutral {
|
|
3259
|
+
background-color: rgba(134,167,189,0.10196);
|
|
3260
|
+
background-color: var(--color-background-neutral);
|
|
3261
|
+
color: #37517e;
|
|
3262
|
+
color: var(--color-content-primary);
|
|
3263
|
+
}
|
|
3264
|
+
.wds-list-item-prompt.neutral a {
|
|
3265
|
+
color: #37517e;
|
|
3266
|
+
color: var(--color-content-primary);
|
|
3267
|
+
}
|
|
3268
|
+
.wds-list-item-prompt.wds-list-item-prompt.neutral:has(a, button):hover {
|
|
3269
|
+
background-color: var(--color-background-neutral-hover);
|
|
3270
|
+
}
|
|
3271
|
+
.wds-list-item-prompt.wds-list-item-prompt.neutral:has(a, button):active {
|
|
3272
|
+
background-color: var(--color-background-neutral-active);
|
|
3273
|
+
}
|
|
3274
|
+
.wds-list-item-prompt.warning {
|
|
3275
|
+
background-color: var(--color-sentiment-warning-secondary);
|
|
3276
|
+
color: var(--color-sentiment-warning-content);
|
|
3277
|
+
}
|
|
3278
|
+
.wds-list-item-prompt.warning a {
|
|
3279
|
+
color: var(--color-sentiment-warning-content);
|
|
3280
|
+
}
|
|
3281
|
+
.wds-list-item-prompt.warning a:hover {
|
|
3282
|
+
color: var(--color-sentiment-warning-content-hover);
|
|
3283
|
+
}
|
|
3284
|
+
.wds-list-item-prompt.warning a:active {
|
|
3285
|
+
color: var(--color-sentiment-warning-content-active);
|
|
3286
|
+
}
|
|
3287
|
+
.wds-list-item-prompt.wds-list-item-prompt.warning:has(a, button):hover {
|
|
3288
|
+
background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 92%, var(--color-sentiment-warning-primary));
|
|
3289
|
+
}
|
|
3290
|
+
.wds-list-item-prompt.wds-list-item-prompt.warning:has(a, button):active {
|
|
3291
|
+
background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 84%, var(--color-sentiment-warning-primary));
|
|
3292
|
+
}
|
|
2636
3293
|
.np-field-control {
|
|
2637
3294
|
margin-top: 4px;
|
|
2638
3295
|
margin-top: var(--size-4);
|