@transferwise/components 0.0.0-experimental-751dc12 → 0.0.0-experimental-4341b9c
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 +0 -1
- package/build/button/Button.js.map +1 -1
- package/build/button/Button.mjs +0 -1
- package/build/button/Button.mjs.map +1 -1
- package/build/common/RadioButton/RadioButton.js +2 -5
- package/build/common/RadioButton/RadioButton.js.map +1 -1
- package/build/common/RadioButton/RadioButton.mjs +2 -5
- package/build/common/RadioButton/RadioButton.mjs.map +1 -1
- package/build/common/initials.js +4 -1
- package/build/common/initials.js.map +1 -1
- package/build/common/initials.mjs +4 -1
- package/build/common/initials.mjs.map +1 -1
- package/build/i18n/de.json +2 -0
- package/build/i18n/de.json.js +2 -0
- package/build/i18n/de.json.js.map +1 -1
- package/build/i18n/de.json.mjs +2 -0
- package/build/i18n/de.json.mjs.map +1 -1
- package/build/i18n/fr.json +2 -0
- package/build/i18n/fr.json.js +2 -0
- package/build/i18n/fr.json.js.map +1 -1
- package/build/i18n/fr.json.mjs +2 -0
- package/build/i18n/fr.json.mjs.map +1 -1
- package/build/i18n/hu.json +2 -0
- package/build/i18n/hu.json.js +2 -0
- package/build/i18n/hu.json.js.map +1 -1
- package/build/i18n/hu.json.mjs +2 -0
- package/build/i18n/hu.json.mjs.map +1 -1
- package/build/i18n/it.json +2 -0
- package/build/i18n/it.json.js +2 -0
- package/build/i18n/it.json.js.map +1 -1
- package/build/i18n/it.json.mjs +2 -0
- package/build/i18n/it.json.mjs.map +1 -1
- package/build/i18n/ja.json +2 -0
- package/build/i18n/ja.json.js +2 -0
- package/build/i18n/ja.json.js.map +1 -1
- package/build/i18n/ja.json.mjs +2 -0
- package/build/i18n/ja.json.mjs.map +1 -1
- package/build/i18n/pl.json +2 -0
- package/build/i18n/pl.json.js +2 -0
- package/build/i18n/pl.json.js.map +1 -1
- package/build/i18n/pl.json.mjs +2 -0
- package/build/i18n/pl.json.mjs.map +1 -1
- package/build/i18n/pt.json +2 -0
- package/build/i18n/pt.json.js +2 -0
- package/build/i18n/pt.json.js.map +1 -1
- package/build/i18n/pt.json.mjs +2 -0
- package/build/i18n/pt.json.mjs.map +1 -1
- package/build/i18n/ro.json +2 -0
- package/build/i18n/ro.json.js +2 -0
- package/build/i18n/ro.json.js.map +1 -1
- package/build/i18n/ro.json.mjs +2 -0
- package/build/i18n/ro.json.mjs.map +1 -1
- package/build/i18n/ru.json +2 -0
- package/build/i18n/ru.json.js +2 -0
- package/build/i18n/ru.json.js.map +1 -1
- package/build/i18n/ru.json.mjs +2 -0
- package/build/i18n/ru.json.mjs.map +1 -1
- package/build/i18n/tr.json +2 -0
- package/build/i18n/tr.json.js +2 -0
- package/build/i18n/tr.json.js.map +1 -1
- package/build/i18n/tr.json.mjs +2 -0
- package/build/i18n/tr.json.mjs.map +1 -1
- package/build/i18n/zh-CN.json +2 -0
- package/build/i18n/zh-CN.json.js +2 -0
- package/build/i18n/zh-CN.json.js.map +1 -1
- package/build/i18n/zh-CN.json.mjs +2 -0
- package/build/i18n/zh-CN.json.mjs.map +1 -1
- package/build/i18n/zh-HK.json +2 -0
- package/build/i18n/zh-HK.json.js +2 -0
- package/build/i18n/zh-HK.json.js.map +1 -1
- package/build/i18n/zh-HK.json.mjs +2 -0
- package/build/i18n/zh-HK.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 +0 -2
- package/build/index.js.map +1 -1
- package/build/index.mjs +0 -1
- package/build/index.mjs.map +1 -1
- package/build/main.css +0 -709
- package/build/styles/main.css +0 -709
- package/build/switch/Switch.js +0 -2
- package/build/switch/Switch.js.map +1 -1
- package/build/switch/Switch.mjs +0 -2
- 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 +1 -3
- package/build/types/common/RadioButton/RadioButton.d.ts.map +1 -1
- package/build/types/common/initials.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 +0 -3
- package/build/types/image/Image.d.ts.map +1 -1
- package/build/types/image/index.d.ts +0 -1
- package/build/types/image/index.d.ts.map +1 -1
- package/build/types/index.d.ts +0 -2
- package/build/types/index.d.ts.map +1 -1
- package/build/types/switch/Switch.d.ts +0 -2
- package/build/types/switch/Switch.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/button/Button.spec.tsx +0 -18
- package/src/button/Button.tsx +1 -5
- 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 +1 -6
- package/src/common/initials.spec.tsx +13 -0
- package/src/common/initials.ts +5 -0
- package/src/i18n/de.json +2 -0
- package/src/i18n/fr.json +2 -0
- package/src/i18n/hu.json +2 -0
- package/src/i18n/it.json +2 -0
- package/src/i18n/ja.json +2 -0
- package/src/i18n/pl.json +2 -0
- package/src/i18n/pt.json +2 -0
- package/src/i18n/ro.json +2 -0
- package/src/i18n/ru.json +2 -0
- package/src/i18n/tr.json +2 -0
- package/src/i18n/zh-CN.json +2 -0
- package/src/i18n/zh-HK.json +2 -0
- package/src/iconButton/IconButton.story.tsx +1 -1
- package/src/iconButton/IconButton.tsx +1 -1
- package/src/image/Image.tsx +0 -3
- package/src/image/index.ts +0 -1
- package/src/index.ts +0 -2
- package/src/main.css +0 -709
- package/src/main.less +0 -1
- package/src/switch/Switch.tsx +0 -4
- package/src/test-utils/Parameters.d.ts +77 -0
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js +0 -56
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js.map +0 -1
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs +0 -54
- package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs.map +0 -1
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.js +0 -23
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.js.map +0 -1
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs +0 -21
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs.map +0 -1
- package/build/listItem/AvatarView/ListItemAvatarView.js +0 -23
- package/build/listItem/AvatarView/ListItemAvatarView.js.map +0 -1
- package/build/listItem/AvatarView/ListItemAvatarView.mjs +0 -21
- package/build/listItem/AvatarView/ListItemAvatarView.mjs.map +0 -1
- package/build/listItem/Button/ListItemButton.js +0 -43
- package/build/listItem/Button/ListItemButton.js.map +0 -1
- package/build/listItem/Button/ListItemButton.mjs +0 -41
- package/build/listItem/Button/ListItemButton.mjs.map +0 -1
- package/build/listItem/Checkbox/ListItemCheckbox.js +0 -30
- package/build/listItem/Checkbox/ListItemCheckbox.js.map +0 -1
- package/build/listItem/Checkbox/ListItemCheckbox.mjs +0 -28
- package/build/listItem/Checkbox/ListItemCheckbox.mjs.map +0 -1
- package/build/listItem/IconButton/ListItemIconButton.js +0 -42
- package/build/listItem/IconButton/ListItemIconButton.js.map +0 -1
- package/build/listItem/IconButton/ListItemIconButton.mjs +0 -40
- package/build/listItem/IconButton/ListItemIconButton.mjs.map +0 -1
- package/build/listItem/Image/ListItemImage.js +0 -31
- package/build/listItem/Image/ListItemImage.js.map +0 -1
- package/build/listItem/Image/ListItemImage.mjs +0 -29
- package/build/listItem/Image/ListItemImage.mjs.map +0 -1
- package/build/listItem/ListItem.js +0 -308
- package/build/listItem/ListItem.js.map +0 -1
- package/build/listItem/ListItem.mjs +0 -303
- package/build/listItem/ListItem.mjs.map +0 -1
- package/build/listItem/ListItemContext.js +0 -8
- package/build/listItem/ListItemContext.js.map +0 -1
- package/build/listItem/ListItemContext.mjs +0 -6
- package/build/listItem/ListItemContext.mjs.map +0 -1
- package/build/listItem/Navigation/ListItemNavigation.js +0 -45
- package/build/listItem/Navigation/ListItemNavigation.js.map +0 -1
- package/build/listItem/Navigation/ListItemNavigation.mjs +0 -43
- package/build/listItem/Navigation/ListItemNavigation.mjs.map +0 -1
- package/build/listItem/Prompt/ListItemPrompt.js +0 -59
- package/build/listItem/Prompt/ListItemPrompt.js.map +0 -1
- package/build/listItem/Prompt/ListItemPrompt.mjs +0 -54
- package/build/listItem/Prompt/ListItemPrompt.mjs.map +0 -1
- package/build/listItem/Radio/ListItemRadio.js +0 -30
- package/build/listItem/Radio/ListItemRadio.js.map +0 -1
- package/build/listItem/Radio/ListItemRadio.mjs +0 -28
- package/build/listItem/Radio/ListItemRadio.mjs.map +0 -1
- package/build/listItem/Switch/ListItemSwitch.js +0 -30
- package/build/listItem/Switch/ListItemSwitch.js.map +0 -1
- package/build/listItem/Switch/ListItemSwitch.mjs +0 -28
- package/build/listItem/Switch/ListItemSwitch.mjs.map +0 -1
- package/build/listItem/_stories/images/landscape.svg +0 -1
- package/build/listItem/_stories/images/portrait.svg +0 -1
- package/build/listItem/useListItemControl.js +0 -22
- package/build/listItem/useListItemControl.js.map +0 -1
- package/build/listItem/useListItemControl.mjs +0 -20
- package/build/listItem/useListItemControl.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/styles/listItem/ListItem.css +0 -709
- package/build/styles/listItem/ListItem.grid.css +0 -368
- package/build/types/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts +0 -15
- package/build/types/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +0 -1
- package/build/types/listItem/AdditionalInfo/index.d.ts +0 -3
- package/build/types/listItem/AdditionalInfo/index.d.ts.map +0 -1
- package/build/types/listItem/AvatarLayout/ListItemAvatarLayout.d.ts +0 -18
- package/build/types/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +0 -1
- package/build/types/listItem/AvatarLayout/index.d.ts +0 -3
- package/build/types/listItem/AvatarLayout/index.d.ts.map +0 -1
- package/build/types/listItem/AvatarView/ListItemAvatarView.d.ts +0 -16
- package/build/types/listItem/AvatarView/ListItemAvatarView.d.ts.map +0 -1
- package/build/types/listItem/AvatarView/index.d.ts +0 -3
- package/build/types/listItem/AvatarView/index.d.ts.map +0 -1
- package/build/types/listItem/Button/ListItemButton.d.ts +0 -20
- package/build/types/listItem/Button/ListItemButton.d.ts.map +0 -1
- package/build/types/listItem/Button/index.d.ts +0 -3
- package/build/types/listItem/Button/index.d.ts.map +0 -1
- package/build/types/listItem/Checkbox/ListItemCheckbox.d.ts +0 -14
- package/build/types/listItem/Checkbox/ListItemCheckbox.d.ts.map +0 -1
- package/build/types/listItem/Checkbox/index.d.ts +0 -3
- package/build/types/listItem/Checkbox/index.d.ts.map +0 -1
- package/build/types/listItem/IconButton/ListItemIconButton.d.ts +0 -18
- package/build/types/listItem/IconButton/ListItemIconButton.d.ts.map +0 -1
- package/build/types/listItem/IconButton/index.d.ts +0 -3
- package/build/types/listItem/IconButton/index.d.ts.map +0 -1
- package/build/types/listItem/Image/ListItemImage.d.ts +0 -25
- package/build/types/listItem/Image/ListItemImage.d.ts.map +0 -1
- package/build/types/listItem/Image/index.d.ts +0 -3
- package/build/types/listItem/Image/index.d.ts.map +0 -1
- package/build/types/listItem/ListItem.d.ts +0 -113
- package/build/types/listItem/ListItem.d.ts.map +0 -1
- package/build/types/listItem/ListItemContext.d.ts +0 -22
- package/build/types/listItem/ListItemContext.d.ts.map +0 -1
- package/build/types/listItem/Navigation/ListItemNavigation.d.ts +0 -15
- package/build/types/listItem/Navigation/ListItemNavigation.d.ts.map +0 -1
- package/build/types/listItem/Navigation/index.d.ts +0 -3
- package/build/types/listItem/Navigation/index.d.ts.map +0 -1
- package/build/types/listItem/Prompt/ListItemPrompt.d.ts +0 -16
- package/build/types/listItem/Prompt/ListItemPrompt.d.ts.map +0 -1
- package/build/types/listItem/Prompt/index.d.ts +0 -3
- package/build/types/listItem/Prompt/index.d.ts.map +0 -1
- package/build/types/listItem/Radio/ListItemRadio.d.ts +0 -14
- package/build/types/listItem/Radio/ListItemRadio.d.ts.map +0 -1
- package/build/types/listItem/Radio/index.d.ts +0 -3
- package/build/types/listItem/Radio/index.d.ts.map +0 -1
- package/build/types/listItem/Switch/ListItemSwitch.d.ts +0 -14
- package/build/types/listItem/Switch/ListItemSwitch.d.ts.map +0 -1
- package/build/types/listItem/Switch/index.d.ts +0 -3
- package/build/types/listItem/Switch/index.d.ts.map +0 -1
- package/build/types/listItem/_stories/subcomponents.d.ts +0 -18
- package/build/types/listItem/_stories/subcomponents.d.ts.map +0 -1
- package/build/types/listItem/index.d.ts +0 -14
- package/build/types/listItem/index.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/useListItemControl.d.ts +0 -5
- package/build/types/listItem/useListItemControl.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/listItem/AdditionalInfo/ListItemAdditionalInfo.spec.tsx +0 -56
- package/src/listItem/AdditionalInfo/ListItemAdditionalInfo.story.tsx +0 -145
- package/src/listItem/AdditionalInfo/ListItemAdditionalInfo.tsx +0 -36
- package/src/listItem/AdditionalInfo/index.ts +0 -2
- package/src/listItem/AvatarLayout/ListItemAvatarLayout.spec.tsx +0 -59
- package/src/listItem/AvatarLayout/ListItemAvatarLayout.story.tsx +0 -118
- package/src/listItem/AvatarLayout/ListItemAvatarLayout.tsx +0 -27
- package/src/listItem/AvatarLayout/index.ts +0 -2
- package/src/listItem/AvatarView/ListItemAvatarView.spec.tsx +0 -75
- package/src/listItem/AvatarView/ListItemAvatarView.story.tsx +0 -318
- package/src/listItem/AvatarView/ListItemAvatarView.tsx +0 -27
- package/src/listItem/AvatarView/index.ts +0 -2
- package/src/listItem/Button/ListItemButton.spec.tsx +0 -68
- package/src/listItem/Button/ListItemButton.story.tsx +0 -408
- package/src/listItem/Button/ListItemButton.tsx +0 -56
- package/src/listItem/Button/index.ts +0 -2
- package/src/listItem/Checkbox/ListItemCheckbox.spec.tsx +0 -82
- package/src/listItem/Checkbox/ListItemCheckbox.story.tsx +0 -107
- package/src/listItem/Checkbox/ListItemCheckbox.tsx +0 -33
- package/src/listItem/Checkbox/index.ts +0 -2
- package/src/listItem/IconButton/ListItemIconButton.spec.tsx +0 -119
- package/src/listItem/IconButton/ListItemIconButton.story.tsx +0 -236
- package/src/listItem/IconButton/ListItemIconButton.tsx +0 -56
- package/src/listItem/IconButton/index.ts +0 -2
- package/src/listItem/Image/ListItemImage.spec.tsx +0 -30
- package/src/listItem/Image/ListItemImage.story.tsx +0 -56
- package/src/listItem/Image/ListItemImage.tsx +0 -48
- package/src/listItem/Image/index.ts +0 -2
- package/src/listItem/ListItem.css +0 -709
- package/src/listItem/ListItem.grid.css +0 -368
- package/src/listItem/ListItem.grid.less +0 -620
- package/src/listItem/ListItem.less +0 -346
- package/src/listItem/ListItem.spec.tsx +0 -1496
- package/src/listItem/ListItem.tsx +0 -441
- package/src/listItem/ListItemContext.tsx +0 -27
- package/src/listItem/Navigation/ListItemNavigation.spec.tsx +0 -59
- package/src/listItem/Navigation/ListItemNavigation.story.tsx +0 -106
- package/src/listItem/Navigation/ListItemNavigation.tsx +0 -40
- package/src/listItem/Navigation/index.ts +0 -2
- package/src/listItem/Prompt/ListItemPrompt.spec.tsx +0 -36
- package/src/listItem/Prompt/ListItemPrompt.story.tsx +0 -201
- package/src/listItem/Prompt/ListItemPrompt.tsx +0 -32
- package/src/listItem/Prompt/index.ts +0 -2
- package/src/listItem/Radio/ListItemRadio.spec.tsx +0 -66
- package/src/listItem/Radio/ListItemRadio.story.tsx +0 -98
- package/src/listItem/Radio/ListItemRadio.tsx +0 -33
- package/src/listItem/Radio/index.ts +0 -2
- package/src/listItem/Switch/ListItemSwitch.spec.tsx +0 -47
- package/src/listItem/Switch/ListItemSwitch.story.tsx +0 -69
- package/src/listItem/Switch/ListItemSwitch.tsx +0 -33
- package/src/listItem/Switch/index.ts +0 -2
- package/src/listItem/_stories/ListItem.focus.test.story.tsx +0 -250
- package/src/listItem/_stories/ListItem.layout.test.story.tsx +0 -338
- package/src/listItem/_stories/ListItem.story.tsx +0 -670
- package/src/listItem/_stories/ListItem.variants.test.story.tsx +0 -271
- package/src/listItem/_stories/images/landscape.svg +0 -1
- package/src/listItem/_stories/images/portrait.svg +0 -1
- package/src/listItem/_stories/subcomponents.tsx +0 -139
- package/src/listItem/index.ts +0 -14
- package/src/listItem/test-utils.tsx +0 -33
- package/src/listItem/useListItemControl.tsx +0 -18
- package/src/listItem/useListItemMedia.tsx +0 -13
|
@@ -1,368 +0,0 @@
|
|
|
1
|
-
.wds-list-item-gridWrapper {
|
|
2
|
-
display: grid;
|
|
3
|
-
grid-gap: 4px 16px;
|
|
4
|
-
grid-gap: var(--size-4) var(--size-16);
|
|
5
|
-
gap: 4px 16px;
|
|
6
|
-
gap: var(--size-4) var(--size-16);
|
|
7
|
-
}
|
|
8
|
-
@container (min-width: 375px) {
|
|
9
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
10
|
-
grid-template-columns: auto 1fr auto;
|
|
11
|
-
grid-template-rows: auto auto auto;
|
|
12
|
-
grid-template-areas: "media body control" ". info ." ". prompt prompt";
|
|
13
|
-
}
|
|
14
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt {
|
|
15
|
-
grid-template-columns: auto 1fr auto;
|
|
16
|
-
grid-template-rows: auto auto;
|
|
17
|
-
grid-template-areas: "media body control" ". info .";
|
|
18
|
-
}
|
|
19
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt {
|
|
20
|
-
grid-template-columns: auto 1fr auto;
|
|
21
|
-
grid-template-rows: auto auto;
|
|
22
|
-
grid-template-areas: "media body control" ". prompt prompt";
|
|
23
|
-
}
|
|
24
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt {
|
|
25
|
-
grid-template-columns: auto 1fr auto;
|
|
26
|
-
grid-template-rows: auto;
|
|
27
|
-
grid-template-areas: "media body control";
|
|
28
|
-
}
|
|
29
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-hasPrompt {
|
|
30
|
-
grid-template-columns: auto 1fr;
|
|
31
|
-
grid-template-rows: auto auto;
|
|
32
|
-
grid-template-areas: "media body" ". info" ". prompt";
|
|
33
|
-
}
|
|
34
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-noPrompt {
|
|
35
|
-
grid-template-columns: auto 1fr;
|
|
36
|
-
grid-template-rows: auto auto auto;
|
|
37
|
-
grid-template-areas: "media body" ". info";
|
|
38
|
-
}
|
|
39
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-hasPrompt {
|
|
40
|
-
grid-template-columns: auto 1fr;
|
|
41
|
-
grid-template-rows: auto auto;
|
|
42
|
-
grid-template-areas: "media body" ". prompt";
|
|
43
|
-
}
|
|
44
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-noPrompt {
|
|
45
|
-
grid-template-columns: auto 1fr;
|
|
46
|
-
grid-template-rows: auto;
|
|
47
|
-
grid-template-areas: "media body";
|
|
48
|
-
}
|
|
49
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl .wds-list-item-prompt {
|
|
50
|
-
grid-column: 1 / -1;
|
|
51
|
-
}
|
|
52
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
53
|
-
grid-template-columns: 1fr auto;
|
|
54
|
-
grid-template-rows: auto auto auto;
|
|
55
|
-
grid-template-areas: "body control" "info ." "prompt prompt";
|
|
56
|
-
}
|
|
57
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt {
|
|
58
|
-
grid-template-columns: 1fr auto;
|
|
59
|
-
grid-template-rows: auto auto;
|
|
60
|
-
grid-template-areas: "body control" "info .";
|
|
61
|
-
}
|
|
62
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt {
|
|
63
|
-
grid-template-columns: 1fr auto;
|
|
64
|
-
grid-template-rows: auto auto;
|
|
65
|
-
grid-template-areas: "body control" "prompt prompt";
|
|
66
|
-
}
|
|
67
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-noPrompt {
|
|
68
|
-
grid-template-columns: 1fr auto;
|
|
69
|
-
grid-template-rows: auto;
|
|
70
|
-
grid-template-areas: "body control";
|
|
71
|
-
}
|
|
72
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl .wds-list-item-prompt {
|
|
73
|
-
grid-column: 1 / -1;
|
|
74
|
-
}
|
|
75
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-hasPrompt {
|
|
76
|
-
grid-template-columns: 1fr;
|
|
77
|
-
grid-template-rows: auto auto auto;
|
|
78
|
-
grid-template-areas: "body" "info" "prompt";
|
|
79
|
-
}
|
|
80
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-noPrompt {
|
|
81
|
-
grid-template-columns: 1fr;
|
|
82
|
-
grid-template-rows: auto auto;
|
|
83
|
-
grid-template-areas: "body" "info";
|
|
84
|
-
}
|
|
85
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-hasPrompt {
|
|
86
|
-
grid-template-columns: 1fr;
|
|
87
|
-
grid-template-rows: auto auto;
|
|
88
|
-
grid-template-areas: "body" "prompt";
|
|
89
|
-
}
|
|
90
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-noPrompt {
|
|
91
|
-
grid-template-columns: 1fr;
|
|
92
|
-
grid-template-rows: auto;
|
|
93
|
-
grid-template-areas: "body";
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
@container (min-width: 297px) and (max-width: 375px) {
|
|
97
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl .wds-list-item-media {
|
|
98
|
-
margin-bottom: 12px;
|
|
99
|
-
margin-bottom: var(--size-12);
|
|
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
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
105
|
-
grid-template-columns: 1fr auto;
|
|
106
|
-
grid-template-rows: auto auto auto auto;
|
|
107
|
-
grid-template-areas: "media media" "body control" "info control" "prompt prompt";
|
|
108
|
-
}
|
|
109
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt:has(.wds-list-item-button-control) {
|
|
110
|
-
grid-template-columns: 1fr;
|
|
111
|
-
grid-template-areas: "media" "body" "info" "prompt" "control";
|
|
112
|
-
}
|
|
113
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt {
|
|
114
|
-
grid-template-columns: 1fr auto;
|
|
115
|
-
grid-template-rows: auto auto auto;
|
|
116
|
-
grid-template-areas: "media media" "body control" "info control";
|
|
117
|
-
}
|
|
118
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt:has(.wds-list-item-button-control) {
|
|
119
|
-
grid-template-columns: 1fr;
|
|
120
|
-
grid-template-areas: "media" "body" "info" "control";
|
|
121
|
-
}
|
|
122
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt {
|
|
123
|
-
grid-template-columns: 1fr auto;
|
|
124
|
-
grid-template-rows: auto auto auto;
|
|
125
|
-
grid-template-areas: "media media" "body control" "prompt prompt";
|
|
126
|
-
}
|
|
127
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt:has(.wds-list-item-button-control) {
|
|
128
|
-
grid-template-columns: 1fr;
|
|
129
|
-
grid-template-areas: "media" "body" "prompt" "control";
|
|
130
|
-
}
|
|
131
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt {
|
|
132
|
-
grid-template-columns: 1fr auto;
|
|
133
|
-
grid-template-rows: auto auto;
|
|
134
|
-
grid-template-areas: "media media" "body control";
|
|
135
|
-
}
|
|
136
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt:has(.wds-list-item-button-control) {
|
|
137
|
-
grid-template-columns: 1fr;
|
|
138
|
-
grid-template-areas: "media" "body" "control";
|
|
139
|
-
}
|
|
140
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl .wds-list-item-media {
|
|
141
|
-
margin-bottom: 16px;
|
|
142
|
-
margin-bottom: var(--size-16);
|
|
143
|
-
}
|
|
144
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl .wds-list-item-media .wds-list-item-media-image {
|
|
145
|
-
height: auto;
|
|
146
|
-
}
|
|
147
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-hasPrompt {
|
|
148
|
-
grid-template-columns: auto auto;
|
|
149
|
-
grid-template-rows: auto auto auto auto;
|
|
150
|
-
grid-template-areas: "media media" "body body" "info info" "prompt prompt";
|
|
151
|
-
}
|
|
152
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-noPrompt {
|
|
153
|
-
grid-template-columns: auto 1fr;
|
|
154
|
-
grid-template-rows: auto auto auto;
|
|
155
|
-
grid-template-areas: "media media" "body body" "info info";
|
|
156
|
-
}
|
|
157
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-hasPrompt {
|
|
158
|
-
grid-template-columns: auto 1fr;
|
|
159
|
-
grid-template-rows: auto auto auto;
|
|
160
|
-
grid-template-areas: "media media" "body body" "prompt prompt";
|
|
161
|
-
}
|
|
162
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-noPrompt {
|
|
163
|
-
grid-template-columns: 1fr;
|
|
164
|
-
grid-template-rows: auto auto;
|
|
165
|
-
grid-template-areas: "media" "body";
|
|
166
|
-
}
|
|
167
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl .wds-list-item-prompt {
|
|
168
|
-
grid-column: 1 / -1;
|
|
169
|
-
}
|
|
170
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
171
|
-
grid-template-columns: 1fr auto;
|
|
172
|
-
grid-template-rows: auto auto auto;
|
|
173
|
-
grid-template-areas: "body control" "info control" "prompt prompt";
|
|
174
|
-
}
|
|
175
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt:has(.wds-list-item-button-control) {
|
|
176
|
-
grid-template-columns: 1fr;
|
|
177
|
-
grid-template-areas: "body" "info" "prompt" "control";
|
|
178
|
-
}
|
|
179
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt {
|
|
180
|
-
grid-template-columns: 1fr auto;
|
|
181
|
-
grid-template-rows: auto auto;
|
|
182
|
-
grid-template-areas: "body control" "info control";
|
|
183
|
-
}
|
|
184
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt:has(.wds-list-item-button-control) {
|
|
185
|
-
grid-template-columns: 1fr;
|
|
186
|
-
grid-template-areas: "body" "info" "control";
|
|
187
|
-
}
|
|
188
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt {
|
|
189
|
-
grid-template-columns: 1fr auto;
|
|
190
|
-
grid-template-rows: auto auto;
|
|
191
|
-
grid-template-areas: "body control" "prompt prompt";
|
|
192
|
-
}
|
|
193
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt:has(.wds-list-item-button-control) {
|
|
194
|
-
grid-template-columns: 1fr;
|
|
195
|
-
grid-template-areas: "body" "prompt" "control";
|
|
196
|
-
}
|
|
197
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-noPrompt {
|
|
198
|
-
grid-template-columns: 1fr auto;
|
|
199
|
-
grid-template-rows: auto;
|
|
200
|
-
grid-template-areas: "body control";
|
|
201
|
-
}
|
|
202
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-noPrompt:has(.wds-list-item-button-control) {
|
|
203
|
-
grid-template-columns: 1fr;
|
|
204
|
-
grid-template-areas: "body" "control";
|
|
205
|
-
}
|
|
206
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl .wds-list-item-prompt {
|
|
207
|
-
grid-column: 1 / -1;
|
|
208
|
-
}
|
|
209
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-hasPrompt {
|
|
210
|
-
grid-template-columns: 1fr;
|
|
211
|
-
grid-template-rows: auto auto auto;
|
|
212
|
-
grid-template-areas: "body" "info" "prompt";
|
|
213
|
-
}
|
|
214
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-noPrompt {
|
|
215
|
-
grid-template-columns: 1fr;
|
|
216
|
-
grid-template-rows: auto auto;
|
|
217
|
-
grid-template-areas: "body" "info";
|
|
218
|
-
}
|
|
219
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-hasPrompt {
|
|
220
|
-
grid-template-columns: 1fr;
|
|
221
|
-
grid-template-rows: auto auto;
|
|
222
|
-
grid-template-areas: "body" "prompt";
|
|
223
|
-
}
|
|
224
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-noPrompt {
|
|
225
|
-
grid-template-columns: 1fr;
|
|
226
|
-
grid-template-rows: auto;
|
|
227
|
-
grid-template-areas: "body";
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
@container (max-width: 297px) {
|
|
231
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
232
|
-
grid-template-columns: auto 1fr;
|
|
233
|
-
grid-template-rows: auto auto auto;
|
|
234
|
-
grid-template-areas: "body control" "info control" "prompt prompt";
|
|
235
|
-
}
|
|
236
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-hasPrompt:has(.wds-list-item-button-control) {
|
|
237
|
-
grid-template-columns: 1fr;
|
|
238
|
-
grid-template-rows: auto;
|
|
239
|
-
grid-template-areas: "body" "info" "prompt" "control";
|
|
240
|
-
}
|
|
241
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt {
|
|
242
|
-
grid-template-columns: auto 1fr;
|
|
243
|
-
grid-template-rows: auto auto;
|
|
244
|
-
grid-template-areas: "body control" "info control";
|
|
245
|
-
}
|
|
246
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-hasInfo-noPrompt:has(.wds-list-item-button-control) {
|
|
247
|
-
grid-template-columns: 1fr;
|
|
248
|
-
grid-template-areas: "body" "info" "control";
|
|
249
|
-
}
|
|
250
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt {
|
|
251
|
-
grid-template-columns: auto 1fr;
|
|
252
|
-
grid-template-rows: auto auto;
|
|
253
|
-
grid-template-areas: "body control" "prompt prompt";
|
|
254
|
-
}
|
|
255
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-hasPrompt:has(.wds-list-item-button-control) {
|
|
256
|
-
grid-template-columns: 1fr;
|
|
257
|
-
grid-template-areas: "body" "prompt" "control";
|
|
258
|
-
}
|
|
259
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt {
|
|
260
|
-
grid-template-columns: auto 1fr;
|
|
261
|
-
grid-template-rows: auto;
|
|
262
|
-
grid-template-areas: "body control";
|
|
263
|
-
}
|
|
264
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-hasControl.wds-list-item-noInfo-noPrompt:has(.wds-list-item-button-control) {
|
|
265
|
-
grid-template-columns: 1fr;
|
|
266
|
-
grid-template-areas: "body" "control";
|
|
267
|
-
}
|
|
268
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-hasPrompt {
|
|
269
|
-
grid-template-columns: auto;
|
|
270
|
-
grid-template-rows: auto auto;
|
|
271
|
-
grid-template-areas: "body" "info" "prompt";
|
|
272
|
-
}
|
|
273
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-hasInfo-noPrompt {
|
|
274
|
-
grid-template-columns: auto;
|
|
275
|
-
grid-template-rows: auto auto auto;
|
|
276
|
-
grid-template-areas: "body" "info";
|
|
277
|
-
}
|
|
278
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-hasPrompt {
|
|
279
|
-
grid-template-columns: auto;
|
|
280
|
-
grid-template-rows: auto auto;
|
|
281
|
-
grid-template-areas: "body" "prompt";
|
|
282
|
-
}
|
|
283
|
-
.wds-list-item-gridWrapper.wds-list-item-hasMedia-noControl.wds-list-item-noInfo-noPrompt {
|
|
284
|
-
grid-template-columns: 1fr;
|
|
285
|
-
grid-template-rows: auto;
|
|
286
|
-
grid-template-areas: "body";
|
|
287
|
-
}
|
|
288
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl .wds-list-item-prompt {
|
|
289
|
-
grid-column: 1 / -1;
|
|
290
|
-
}
|
|
291
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt {
|
|
292
|
-
grid-template-columns: 1fr auto;
|
|
293
|
-
grid-template-rows: auto auto auto;
|
|
294
|
-
grid-template-areas: "body control" "info control" "prompt prompt";
|
|
295
|
-
}
|
|
296
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-hasPrompt:has(.wds-list-item-button-control) {
|
|
297
|
-
grid-template-columns: 1fr;
|
|
298
|
-
grid-template-rows: auto;
|
|
299
|
-
grid-template-areas: "body" "info" "prompt" "control";
|
|
300
|
-
}
|
|
301
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt {
|
|
302
|
-
grid-template-columns: 1fr auto;
|
|
303
|
-
grid-template-rows: auto auto;
|
|
304
|
-
grid-template-areas: "body control" "info control";
|
|
305
|
-
}
|
|
306
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-hasInfo-noPrompt:has(.wds-list-item-button-control) {
|
|
307
|
-
grid-template-columns: 1fr;
|
|
308
|
-
grid-template-rows: auto;
|
|
309
|
-
grid-template-areas: "body" "info" "control";
|
|
310
|
-
}
|
|
311
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt {
|
|
312
|
-
grid-template-columns: 1fr auto;
|
|
313
|
-
grid-template-rows: auto auto;
|
|
314
|
-
grid-template-areas: "body control" "prompt prompt";
|
|
315
|
-
}
|
|
316
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-hasPrompt:has(.wds-list-item-button-control) {
|
|
317
|
-
grid-template-columns: 1fr;
|
|
318
|
-
grid-template-rows: auto;
|
|
319
|
-
grid-template-areas: "body" "prompt" "control";
|
|
320
|
-
}
|
|
321
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-noPrompt {
|
|
322
|
-
grid-template-columns: 1fr auto;
|
|
323
|
-
grid-template-rows: auto;
|
|
324
|
-
grid-template-areas: "body control";
|
|
325
|
-
}
|
|
326
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-hasControl.wds-list-item-noInfo-noPrompt:has(.wds-list-item-button-control) {
|
|
327
|
-
grid-template-columns: 1fr;
|
|
328
|
-
grid-template-rows: auto;
|
|
329
|
-
grid-template-areas: "body" "control";
|
|
330
|
-
}
|
|
331
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl .wds-list-item-prompt {
|
|
332
|
-
grid-column: 1 / -1;
|
|
333
|
-
}
|
|
334
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-hasPrompt {
|
|
335
|
-
grid-template-columns: 1fr;
|
|
336
|
-
grid-template-rows: auto auto auto;
|
|
337
|
-
grid-template-areas: "body" "info" "prompt";
|
|
338
|
-
}
|
|
339
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-hasInfo-noPrompt {
|
|
340
|
-
grid-template-columns: 1fr;
|
|
341
|
-
grid-template-rows: auto auto;
|
|
342
|
-
grid-template-areas: "body" "info";
|
|
343
|
-
}
|
|
344
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-hasPrompt {
|
|
345
|
-
grid-template-columns: 1fr;
|
|
346
|
-
grid-template-rows: auto auto;
|
|
347
|
-
grid-template-areas: "body" "prompt";
|
|
348
|
-
}
|
|
349
|
-
.wds-list-item-gridWrapper.wds-list-item-noMedia-noControl.wds-list-item-noInfo-noPrompt {
|
|
350
|
-
grid-template-columns: 1fr;
|
|
351
|
-
grid-template-rows: auto;
|
|
352
|
-
grid-template-areas: "body";
|
|
353
|
-
}
|
|
354
|
-
.wds-list-item-gridWrapper .wds-list-item-media {
|
|
355
|
-
display: none;
|
|
356
|
-
}
|
|
357
|
-
.wds-list-item-gridWrapper .wds-list-item-body {
|
|
358
|
-
grid-area: body;
|
|
359
|
-
display: grid;
|
|
360
|
-
grid-template-columns: 1fr;
|
|
361
|
-
justify-items: start;
|
|
362
|
-
grid-gap: 0;
|
|
363
|
-
gap: 0;
|
|
364
|
-
}
|
|
365
|
-
.wds-list-item-gridWrapper .wds-list-item-body .wds-list-item-value {
|
|
366
|
-
text-align: left;
|
|
367
|
-
}
|
|
368
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { LinkProps } from '../../link';
|
|
3
|
-
export type ListItemAdditionalInfoProps = PropsWithChildren<{
|
|
4
|
-
/**
|
|
5
|
-
* Props object to be passed to the [Link](https://storybook.wise.design/?path=/docs/typography-link--docs) component.
|
|
6
|
-
*/
|
|
7
|
-
action?: {
|
|
8
|
-
label: string;
|
|
9
|
-
} & Pick<LinkProps, 'href' | 'onClick' | 'target'>;
|
|
10
|
-
}>;
|
|
11
|
-
export declare const AdditionalInfo: {
|
|
12
|
-
({ children, action }: ListItemAdditionalInfoProps): import("react").JSX.Element;
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=ListItemAdditionalInfo.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemAdditionalInfo.d.ts","sourceRoot":"","sources":["../../../../src/listItem/AdditionalInfo/ListItemAdditionalInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAGtD,OAAa,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAG7C,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IAC1D;;OAEG;IACH,MAAM,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC,CAAC;CAC7E,CAAC,CAAC;AAEH,eAAO,MAAM,cAAc;2BAAmC,2BAA2B;;CAoBxF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/listItem/AdditionalInfo/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { type AvatarLayoutProps } from '../../avatarLayout';
|
|
2
|
-
type SizeProp = {
|
|
3
|
-
size?: 32 | 40 | 48 | 56 | 72;
|
|
4
|
-
};
|
|
5
|
-
export type ListItemAvatarLayoutProps = Omit<AvatarLayoutProps, 'size' | 'interactive'> & SizeProp;
|
|
6
|
-
/**
|
|
7
|
-
* This component allows for rendering 2 avatars. It's a thin wrapper around the
|
|
8
|
-
* [AvatarLayout component](https://storybook.wise.design/?path=/docs/content-avatarlayout--docs), but offers only
|
|
9
|
-
* a subset of its sizes, and disallows interactive mode, in line with the ListItem's constraints. <br />
|
|
10
|
-
* <br />
|
|
11
|
-
* Please refer to the [Design documentation](https://wise.design/components/list-item#avatar) for details.
|
|
12
|
-
*/
|
|
13
|
-
export declare const AvatarLayout: {
|
|
14
|
-
({ className, size, ...props }: ListItemAvatarLayoutProps): import("react").JSX.Element;
|
|
15
|
-
displayName: string;
|
|
16
|
-
};
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=ListItemAvatarLayout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemAvatarLayout.d.ts","sourceRoot":"","sources":["../../../../src/listItem/AvatarLayout/ListItemAvatarLayout.tsx"],"names":[],"mappings":"AAAA,OAAyB,EAAE,KAAK,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAI9E,KAAK,QAAQ,GAAG;IAAE,IAAI,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAA;CAAE,CAAC;AAElD,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,iBAAiB,EAAE,MAAM,GAAG,aAAa,CAAC,GAAG,QAAQ,CAAC;AAEnG;;;;;;GAMG;AACH,eAAO,MAAM,YAAY;oCAAwC,yBAAyB;;CAUzF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/listItem/AvatarLayout/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { AvatarViewProps } from '../../avatarView';
|
|
2
|
-
export type ListItemAvatarViewProps = Omit<AvatarViewProps, 'size' | 'interactive'> & {
|
|
3
|
-
size?: 32 | 40 | 48 | 56 | 72;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* This component renders a single avatar. It's a thin wrapper around the
|
|
7
|
-
* [AvatarView component](https://storybook.wise.design/?path=/docs/content-avatarview--docs), but offers only
|
|
8
|
-
* a subset of its sizes, in line with the ListItem's constraints. <br />
|
|
9
|
-
* <br />
|
|
10
|
-
* Please refer to the [Design documentation](https://wise.design/components/list-item#avatar) for details.
|
|
11
|
-
*/
|
|
12
|
-
export declare const AvatarView: {
|
|
13
|
-
({ className, size, ...props }: ListItemAvatarViewProps): import("react").JSX.Element;
|
|
14
|
-
displayName: string;
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=ListItemAvatarView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemAvatarView.d.ts","sourceRoot":"","sources":["../../../../src/listItem/AvatarView/ListItemAvatarView.tsx"],"names":[],"mappings":"AACA,OAAuB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGnE,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,aAAa,CAAC,GAAG;IACpF,IAAI,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;CAC/B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,UAAU;oCAAwC,uBAAuB;;CAUrF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/listItem/AvatarView/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { type ButtonAddonIcon, type NewButtonProps } from '../../button';
|
|
2
|
-
export type ListItemButtonProps = Omit<NewButtonProps, 'v2' | 'size' | 'disabled' | 'block' | 'addonStart'> & {
|
|
3
|
-
/**
|
|
4
|
-
* Toggles the [interactivity strategy](https://storybook.wise.design/?path=/docs/content-listitem--docs#interactivity) for the whole ListItem.
|
|
5
|
-
*/
|
|
6
|
-
partiallyInteractive?: boolean;
|
|
7
|
-
addonStart?: ButtonAddonIcon;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* This component allows for rendering a Button control. It's a thin wrapper around the
|
|
11
|
-
* [Button component](https://storybook.wise.design/?path=/docs/content-button--docs), but offers only
|
|
12
|
-
* a subset of its features in line with the ListItem's constraints. <br />
|
|
13
|
-
* <br />
|
|
14
|
-
* Please refer to the [Design documentation](https://wise.design/components/list-item---button) for details.
|
|
15
|
-
*/
|
|
16
|
-
export declare const Button: {
|
|
17
|
-
({ priority, partiallyInteractive, ...props }: ListItemButtonProps): import("react").JSX.Element;
|
|
18
|
-
displayName: string;
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=ListItemButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemButton.d.ts","sourceRoot":"","sources":["../../../../src/listItem/Button/ListItemButton.tsx"],"names":[],"mappings":"AAEA,OAAmB,EAAE,KAAK,eAAe,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAIrF,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACpC,cAAc,EACd,IAAI,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,YAAY,CACpD,GAAG;IACF;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,UAAU,CAAC,EAAE,eAAe,CAAC;CAC9B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,MAAM;mDAIhB,mBAAmB;;CAyBrB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/listItem/Button/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { type CheckboxButtonProps } from '../../checkboxButton/CheckboxButton';
|
|
2
|
-
export type ListItemCheckboxProps = Pick<CheckboxButtonProps, 'checked' | 'indeterminate' | 'onChange' | 'onBlur' | 'onFocus' | 'value' | 'name'>;
|
|
3
|
-
/**
|
|
4
|
-
* This component allows for rendering a checkbox control within a fully interactive ListItem. <br />It's a thin wrapper around the
|
|
5
|
-
* [CheckboxButton component](https://storybook.wise.design/?path=/docs/actions-checkboxbutton--docs),
|
|
6
|
-
* but offers only a subset of its features in line with the ListItem's constraints. <br />
|
|
7
|
-
*
|
|
8
|
-
* Please refer to the [Design documentation](https://wise.design/components/list-item---checkbox) for details.
|
|
9
|
-
*/
|
|
10
|
-
export declare const Checkbox: {
|
|
11
|
-
(props: ListItemCheckboxProps): import("react").JSX.Element;
|
|
12
|
-
displayName: string;
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=ListItemCheckbox.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemCheckbox.d.ts","sourceRoot":"","sources":["../../../../src/listItem/Checkbox/ListItemCheckbox.tsx"],"names":[],"mappings":"AACA,OAAuB,EAAE,KAAK,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAI/F,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,mBAAmB,EACnB,SAAS,GAAG,eAAe,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CACnF,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ;YAAoB,qBAAqB;;CAa7D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/listItem/Checkbox/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
2
|
-
import { type IconButtonProps } from '../../iconButton';
|
|
3
|
-
export type ListItemIconButtonProps = Pick<IconButtonProps, 'priority' | 'type' | 'onClick' | 'href' | 'target' | 'aria-label'> & {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
partiallyInteractive?: boolean;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* This component allows for rendering a IconButton control. It's a thin wrapper around the
|
|
9
|
-
* [IconButton component](https://storybook.wise.design/?path=/docs/actions-iconbutton--docs), but offers only
|
|
10
|
-
* a subset of its features in line with the ListItem's constraints. <br />
|
|
11
|
-
* <br />
|
|
12
|
-
* Please refer to the [Design documentation](https://wise.design/components/list-item---icon-button) for details.
|
|
13
|
-
*/
|
|
14
|
-
export declare const IconButton: {
|
|
15
|
-
({ priority, ...props }: ListItemIconButtonProps): import("react").JSX.Element;
|
|
16
|
-
displayName: string;
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=ListItemIconButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemIconButton.d.ts","sourceRoot":"","sources":["../../../../src/listItem/IconButton/ListItemIconButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAuB,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAIxE,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACxC,eAAe,EACf,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,YAAY,CACnE,GAAG;IACF,QAAQ,EAAE,SAAS,CAAC;IACpB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,UAAU;6BAAiD,uBAAuB;;CAgC9F,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/listItem/IconButton/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { type ImageProps } from '../../image';
|
|
2
|
-
export type ListItemImageProps = Omit<ImageProps, 'stretch' | 'shrink' | 'id' | 'alt' | 'role'> & {
|
|
3
|
-
/**
|
|
4
|
-
* The size of square container for the image, matching available avatar sizes.
|
|
5
|
-
*/
|
|
6
|
-
size?: 32 | 40 | 48 | 56 | 72;
|
|
7
|
-
/**
|
|
8
|
-
* When unset, it will force `role="presentation"` on the image. Otherwise, it will set `role="graphics-symbol"`.
|
|
9
|
-
*/
|
|
10
|
-
alt?: string;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* This component should be used as a last resort, for rare cases when `<ListItem.AvatarView />`
|
|
14
|
-
* or `<ListItem.AvatarLayout />` are insufficient.
|
|
15
|
-
* It's a wrapper around the
|
|
16
|
-
* [Image component](https://storybook.wise.design/?path=/docs/content-image--docs), but offers only
|
|
17
|
-
* a subset of its props, in line with the ListItem's constraints.
|
|
18
|
-
*
|
|
19
|
-
* > **NB**: This component is [not intended for use with illustrations](https://wise.design/foundations/illustration#scale).
|
|
20
|
-
*/
|
|
21
|
-
export declare const Image: {
|
|
22
|
-
({ alt, size, className, ...props }: ListItemImageProps): import("react").JSX.Element;
|
|
23
|
-
displayName: string;
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=ListItemImage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemImage.d.ts","sourceRoot":"","sources":["../../../../src/listItem/Image/ListItemImage.tsx"],"names":[],"mappings":"AAAA,OAAkB,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAMzD,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,UAAU,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,GAAG,KAAK,GAAG,MAAM,CAAC,GAAG;IAChG;;OAEG;IACH,IAAI,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;IAC9B;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,KAAK;yCAAkD,kBAAkB;;CAoBrF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/listItem/Image/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC"}
|