@transferwise/components 46.103.0 → 46.104.0
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/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 +23 -0
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.js.map +1 -0
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs +21 -0
- package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs.map +1 -0
- package/build/listItem/AvatarView/ListItemAvatarView.js +23 -0
- package/build/listItem/AvatarView/ListItemAvatarView.js.map +1 -0
- package/build/listItem/AvatarView/ListItemAvatarView.mjs +21 -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 +56 -0
- package/build/listItem/IconButton/ListItemIconButton.js.map +1 -0
- package/build/listItem/IconButton/ListItemIconButton.mjs +54 -0
- package/build/listItem/IconButton/ListItemIconButton.mjs.map +1 -0
- package/build/listItem/Image/ListItemImage.js +31 -0
- package/build/listItem/Image/ListItemImage.js.map +1 -0
- package/build/listItem/Image/ListItemImage.mjs +29 -0
- package/build/listItem/Image/ListItemImage.mjs.map +1 -0
- package/build/listItem/ListItem.js +309 -0
- package/build/listItem/ListItem.js.map +1 -0
- package/build/listItem/ListItem.mjs +304 -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 +44 -0
- package/build/listItem/Navigation/ListItemNavigation.js.map +1 -0
- package/build/listItem/Navigation/ListItemNavigation.mjs +42 -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/listItem/useListItemMedia.js +21 -0
- package/build/listItem/useListItemMedia.js.map +1 -0
- package/build/listItem/useListItemMedia.mjs +19 -0
- package/build/listItem/useListItemMedia.mjs.map +1 -0
- package/build/main.css +771 -1
- package/build/styles/button/Button.css +1 -1
- package/build/styles/listItem/ListItem.css +770 -0
- package/build/styles/listItem/ListItem.grid.css +370 -0
- package/build/styles/listItem/Prompt/ListItemPrompt.css +157 -0
- package/build/styles/main.css +771 -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 +111 -0
- package/build/types/listItem/ListItem.d.ts.map +1 -0
- package/build/types/listItem/ListItemContext.d.ts +21 -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/helpers.d.ts +27 -0
- package/build/types/listItem/_stories/helpers.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/test-utils.d.ts +7 -0
- package/build/types/listItem/test-utils.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/listItem/useListItemMedia.d.ts +6 -0
- package/build/types/listItem/useListItemMedia.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/actionButton/ActionButton.story.tsx +1 -1
- package/src/avatar/Avatar.story.tsx +1 -1
- package/src/avatarWrapper/AvatarWrapper.story.tsx +1 -1
- package/src/badge/Badge.story.tsx +1 -1
- package/src/button/Button.css +1 -1
- package/src/button/Button.less +1 -1
- package/src/button/Button.story.tsx +95 -9
- package/src/button/LegacyButton.story.tsx +1 -1
- package/src/index.ts +15 -0
- package/src/legacylistItem/LegacyListItem.story.tsx +1 -1
- package/src/legacylistItem/LegacyListItem.tests.story.tsx +2 -1
- package/src/list/List.story.tsx +13 -3
- package/src/listItem/AdditionalInfo/ListItemAdditionalInfo.spec.tsx +56 -0
- package/src/listItem/AdditionalInfo/ListItemAdditionalInfo.story.tsx +198 -0
- package/src/listItem/AdditionalInfo/ListItemAdditionalInfo.tsx +36 -0
- package/src/listItem/AdditionalInfo/index.ts +2 -0
- package/src/listItem/AvatarLayout/ListItemAvatarLayout.spec.tsx +59 -0
- package/src/listItem/AvatarLayout/ListItemAvatarLayout.story.tsx +124 -0
- package/src/listItem/AvatarLayout/ListItemAvatarLayout.tsx +27 -0
- package/src/listItem/AvatarLayout/index.ts +2 -0
- package/src/listItem/AvatarView/ListItemAvatarView.spec.tsx +75 -0
- package/src/listItem/AvatarView/ListItemAvatarView.story.tsx +339 -0
- package/src/listItem/AvatarView/ListItemAvatarView.tsx +27 -0
- package/src/listItem/AvatarView/index.ts +2 -0
- package/src/listItem/Button/ListItemButton.spec.tsx +68 -0
- package/src/listItem/Button/ListItemButton.story.tsx +473 -0
- package/src/listItem/Button/ListItemButton.tsx +56 -0
- package/src/listItem/Button/index.ts +2 -0
- package/src/listItem/Checkbox/ListItemCheckbox.spec.tsx +82 -0
- package/src/listItem/Checkbox/ListItemCheckbox.story.tsx +128 -0
- package/src/listItem/Checkbox/ListItemCheckbox.tsx +33 -0
- package/src/listItem/Checkbox/index.ts +2 -0
- package/src/listItem/IconButton/ListItemIconButton.spec.tsx +119 -0
- package/src/listItem/IconButton/ListItemIconButton.story.tsx +284 -0
- package/src/listItem/IconButton/ListItemIconButton.tsx +73 -0
- package/src/listItem/IconButton/index.ts +2 -0
- package/src/listItem/Image/ListItemImage.spec.tsx +30 -0
- package/src/listItem/Image/ListItemImage.story.tsx +80 -0
- package/src/listItem/Image/ListItemImage.tsx +46 -0
- package/src/listItem/Image/index.ts +2 -0
- package/src/listItem/ListItem.css +770 -0
- package/src/listItem/ListItem.grid.css +370 -0
- package/src/listItem/ListItem.grid.less +622 -0
- package/src/listItem/ListItem.less +287 -0
- package/src/listItem/ListItem.spec.tsx +1511 -0
- package/src/listItem/ListItem.tsx +438 -0
- package/src/listItem/ListItemContext.tsx +26 -0
- package/src/listItem/Navigation/ListItemNavigation.spec.tsx +59 -0
- package/src/listItem/Navigation/ListItemNavigation.story.tsx +112 -0
- package/src/listItem/Navigation/ListItemNavigation.tsx +39 -0
- package/src/listItem/Navigation/index.ts +2 -0
- package/src/listItem/Prompt/ListItemPrompt.css +157 -0
- package/src/listItem/Prompt/ListItemPrompt.less +134 -0
- package/src/listItem/Prompt/ListItemPrompt.spec.tsx +36 -0
- package/src/listItem/Prompt/ListItemPrompt.story.tsx +204 -0
- package/src/listItem/Prompt/ListItemPrompt.tsx +32 -0
- package/src/listItem/Prompt/index.ts +2 -0
- package/src/listItem/Radio/ListItemRadio.spec.tsx +66 -0
- package/src/listItem/Radio/ListItemRadio.story.tsx +111 -0
- package/src/listItem/Radio/ListItemRadio.tsx +33 -0
- package/src/listItem/Radio/index.ts +2 -0
- package/src/listItem/Switch/ListItemSwitch.spec.tsx +47 -0
- package/src/listItem/Switch/ListItemSwitch.story.tsx +79 -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 +265 -0
- package/src/listItem/_stories/ListItem.layout.test.story.tsx +354 -0
- package/src/listItem/_stories/ListItem.scenarios.story.tsx +228 -0
- package/src/listItem/_stories/ListItem.story.tsx +774 -0
- package/src/listItem/_stories/ListItem.variants.test.story.tsx +271 -0
- package/src/listItem/_stories/helpers.tsx +53 -0
- package/src/listItem/_stories/subcomponents.tsx +139 -0
- package/src/listItem/index.ts +14 -0
- package/src/listItem/test-utils.tsx +33 -0
- package/src/listItem/useListItemControl.tsx +18 -0
- package/src/listItem/useListItemMedia.tsx +16 -0
- package/src/main.css +771 -1
- package/src/main.less +1 -0
- package/src/select/Select.story.tsx +1 -1
package/build/types/index.d.ts
CHANGED
|
@@ -71,6 +71,7 @@ export type { UploadError, UploadResponse, UploadedFile } from './uploadInput/ty
|
|
|
71
71
|
export type { WithIdProps } from './withId';
|
|
72
72
|
export type { IconButtonProps } from './iconButton';
|
|
73
73
|
export type { TableProps, TableRowType, TableRowClickableType, TableHeaderType, TableCellLeading, TableCellText, TableCellCurrency, TableCellStatus, TableCellType, } from './table';
|
|
74
|
+
export type { ListItemProps, ListItemSwitchProps, ListItemRadioProps, ListItemPromptProps, ListItemNavigationProps, ListItemImageProps, ListItemIconButtonProps, ListItemAdditionalInfoProps, ListItemButtonProps, ListItemCheckboxProps, ListItemAvatarLayoutProps, ListItemAvatarViewProps, } from './listItem';
|
|
74
75
|
export type { ListProps } from './list';
|
|
75
76
|
/**
|
|
76
77
|
* Components
|
|
@@ -168,6 +169,7 @@ export { default as Typeahead } from './typeahead';
|
|
|
168
169
|
export { default as Upload } from './upload';
|
|
169
170
|
export { default as UploadInput } from './uploadInput';
|
|
170
171
|
export { default as Table } from './table';
|
|
172
|
+
export { default as ListItem } from './listItem';
|
|
171
173
|
export { default as List } from './list';
|
|
172
174
|
/**
|
|
173
175
|
* Hooks
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AACjE,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,YAAY,EAAE,WAAW,EAAE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AO,IAAI,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEjD;;GAEG;AACH,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { type 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
|
|
@@ -0,0 +1 @@
|
|
|
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,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAGlD,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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type 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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListItemAvatarView.d.ts","sourceRoot":"","sources":["../../../../src/listItem/AvatarView/ListItemAvatarView.tsx"],"names":[],"mappings":"AACA,OAAuB,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGxE,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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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, "aria-label": ariaLabel, ...props }: ListItemIconButtonProps): import("react").JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=ListItemIconButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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;sDAIpB,uBAAuB;;CA6CzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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, the image will use its implicit img role.
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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;AAIzD,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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type ListItemIconButtonProps } from './IconButton';
|
|
3
|
+
import { type ListItemCheckboxProps } from './Checkbox';
|
|
4
|
+
import { type ListItemNavigationProps } from './Navigation';
|
|
5
|
+
import { type ListItemButtonProps } from './Button';
|
|
6
|
+
import { type ListItemRadioProps } from './Radio';
|
|
7
|
+
import { type ListItemSwitchProps } from './Switch';
|
|
8
|
+
export type ListItemTypes = 'non-interactive' | 'navigation' | 'radio' | 'checkbox' | 'switch' | 'button' | 'icon-button';
|
|
9
|
+
export type ListItemControlProps = ListItemNavigationProps | ListItemCheckboxProps | ListItemButtonProps | ListItemIconButtonProps | ListItemRadioProps | ListItemSwitchProps;
|
|
10
|
+
export type ListItemProps = {
|
|
11
|
+
as?: 'li' | 'div';
|
|
12
|
+
/**
|
|
13
|
+
* Swaps vertical hierarchy of title and subtitle and their corresponding right values.
|
|
14
|
+
*/
|
|
15
|
+
inverted?: boolean;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Highlights the list item as an action to be taken or already taken. <br />
|
|
19
|
+
*/
|
|
20
|
+
spotlight?: 'active' | 'inactive';
|
|
21
|
+
title: ReactNode;
|
|
22
|
+
subtitle?: ReactNode;
|
|
23
|
+
/**
|
|
24
|
+
* Requires `<ListItem.AdditionalInfo />` component as a sole child. <br />
|
|
25
|
+
* Can be only rendered if `subtitle` is also provided.
|
|
26
|
+
*/
|
|
27
|
+
additionalInfo?: ReactNode;
|
|
28
|
+
valueTitle?: ReactNode;
|
|
29
|
+
valueSubtitle?: ReactNode;
|
|
30
|
+
/**
|
|
31
|
+
* Requires one of the following as a sole child: <br />
|
|
32
|
+
* `<ListItem.AvatarView />`,
|
|
33
|
+
* `<ListItem.AvatarLayout />` or
|
|
34
|
+
* `<ListItem.Image />`
|
|
35
|
+
*/
|
|
36
|
+
media?: ReactNode;
|
|
37
|
+
/**
|
|
38
|
+
* Requires one of the following as a sole child: <br/>
|
|
39
|
+
* `<ListItem.Button />`, <br/>
|
|
40
|
+
* `<ListItem.Checkbox />`, <br/>
|
|
41
|
+
* `<ListItem.IconButton />`, <br/>
|
|
42
|
+
* `<ListItem.Navigation />`, <br/>
|
|
43
|
+
* `<ListItem.Radio />`, or
|
|
44
|
+
* `<ListItem.Switch />`
|
|
45
|
+
*/
|
|
46
|
+
control?: ReactNode;
|
|
47
|
+
/**
|
|
48
|
+
* Requires `<ListItem.Prompt />` component as a sole child.
|
|
49
|
+
*/
|
|
50
|
+
prompt?: ReactNode;
|
|
51
|
+
className?: string;
|
|
52
|
+
/**
|
|
53
|
+
* A number between `0–100` which resolves to a `fr` value of a `grid-template-columns` declaration. E.g. `valueColumnWidth={25}` will result in a `75fr 25fr`. <br />
|
|
54
|
+
* Controls the width ratio of left side content (title and subtitle) to the right side content.
|
|
55
|
+
*/
|
|
56
|
+
valueColumnWidth?: number;
|
|
57
|
+
id?: string;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* @see [Design documentation](https://wise.design/components/list-item)
|
|
61
|
+
* @see [Storybook documentation](https://storybook.wise.design/?path=/docs/content-listitem--docs)
|
|
62
|
+
*/
|
|
63
|
+
export declare const ListItem: {
|
|
64
|
+
({ as: ListItemElement, title, subtitle, additionalInfo, prompt, inverted, media, spotlight, valueTitle, valueSubtitle, control, disabled, className, valueColumnWidth, id, }: ListItemProps): import("react").JSX.Element;
|
|
65
|
+
Image: {
|
|
66
|
+
({ alt, size, className, ...props }: import("./Image").ListItemImageProps): import("react").JSX.Element;
|
|
67
|
+
displayName: string;
|
|
68
|
+
};
|
|
69
|
+
AvatarView: {
|
|
70
|
+
({ className, size, ...props }: import("./AvatarView").ListItemAvatarViewProps): import("react").JSX.Element;
|
|
71
|
+
displayName: string;
|
|
72
|
+
};
|
|
73
|
+
AvatarLayout: {
|
|
74
|
+
({ className, size, ...props }: import("./AvatarLayout").ListItemAvatarLayoutProps): import("react").JSX.Element;
|
|
75
|
+
displayName: string;
|
|
76
|
+
};
|
|
77
|
+
AdditionalInfo: {
|
|
78
|
+
({ children, action }: import("./AdditionalInfo").ListItemAdditionalInfoProps): import("react").JSX.Element;
|
|
79
|
+
displayName: string;
|
|
80
|
+
};
|
|
81
|
+
Checkbox: {
|
|
82
|
+
(props: ListItemCheckboxProps): import("react").JSX.Element;
|
|
83
|
+
displayName: string;
|
|
84
|
+
};
|
|
85
|
+
Radio: {
|
|
86
|
+
(props: ListItemRadioProps): import("react").JSX.Element;
|
|
87
|
+
displayName: string;
|
|
88
|
+
};
|
|
89
|
+
IconButton: {
|
|
90
|
+
({ priority, "aria-label": ariaLabel, ...props }: ListItemIconButtonProps): import("react").JSX.Element;
|
|
91
|
+
displayName: string;
|
|
92
|
+
};
|
|
93
|
+
Navigation: {
|
|
94
|
+
({ href, ...props }: ListItemNavigationProps): import("react").JSX.Element;
|
|
95
|
+
displayName: string;
|
|
96
|
+
};
|
|
97
|
+
Button: {
|
|
98
|
+
({ priority, partiallyInteractive, ...props }: ListItemButtonProps): import("react").JSX.Element;
|
|
99
|
+
displayName: string;
|
|
100
|
+
};
|
|
101
|
+
Switch: {
|
|
102
|
+
(props: ListItemSwitchProps): import("react").JSX.Element;
|
|
103
|
+
displayName: string;
|
|
104
|
+
};
|
|
105
|
+
Prompt: {
|
|
106
|
+
({ sentiment, children }: import("./Prompt").ListItemPromptProps): import("react").JSX.Element;
|
|
107
|
+
displayName: string;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
export default ListItem;
|
|
111
|
+
//# sourceMappingURL=ListItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../src/listItem/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAIf,OAAO,EAAc,KAAK,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACxE,OAAO,EAAY,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAClE,OAAO,EAAc,KAAK,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAExE,OA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FF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ListItemTypes, ListItemControlProps, ListItemProps } from './ListItem';
|
|
2
|
+
export type ListItemMediaSize = 32 | 40 | 48 | 56 | 72;
|
|
3
|
+
export type ListItemContextData = {
|
|
4
|
+
setControlType: (type: ListItemTypes) => void;
|
|
5
|
+
setControlProps: (props: ListItemControlProps) => void;
|
|
6
|
+
setMediaSize: (size: ListItemMediaSize | undefined) => void;
|
|
7
|
+
ids: {
|
|
8
|
+
title: string;
|
|
9
|
+
subtitle?: string;
|
|
10
|
+
valueTitle?: string;
|
|
11
|
+
valueSubtitle?: string;
|
|
12
|
+
additionalInfo?: string;
|
|
13
|
+
control: string;
|
|
14
|
+
prompt?: string;
|
|
15
|
+
};
|
|
16
|
+
props: Pick<ListItemProps, 'disabled' | 'inverted'>;
|
|
17
|
+
mediaSize?: ListItemMediaSize;
|
|
18
|
+
describedByIds: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const ListItemContext: import("react").Context<ListItemContextData>;
|
|
21
|
+
//# sourceMappingURL=ListItemContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListItemContext.d.ts","sourceRoot":"","sources":["../../../src/listItem/ListItemContext.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAErF,MAAM,MAAM,iBAAiB,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAEvD,MAAM,MAAM,mBAAmB,GAAG;IAChC,cAAc,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IAC9C,eAAe,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACvD,YAAY,EAAE,CAAC,IAAI,EAAE,iBAAiB,GAAG,SAAS,KAAK,IAAI,CAAC;IAC5D,GAAG,EAAE;QACH,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,UAAU,GAAG,UAAU,CAAC,CAAC;IACpD,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,eAAe,8CAE3B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ButtonProps } from '../../button/Button.types';
|
|
2
|
+
export type ListItemNavigationProps = Pick<ButtonProps, 'onClick' | 'href' | 'target'>;
|
|
3
|
+
/**
|
|
4
|
+
* This component allows for rendering a control functionally synonymous with HTML `anchor` or a
|
|
5
|
+
* `button`, giving users a rich way to choose between options and navigate to another screen or
|
|
6
|
+
* step in a flow. It offers only a subset of features of the HTML element in line with the
|
|
7
|
+
* ListItem's constraints.<br />
|
|
8
|
+
* <br />
|
|
9
|
+
* Please refer to the [Design documentation](https://wise.design/components/list-item---navigation) for details.
|
|
10
|
+
*/
|
|
11
|
+
export declare const Navigation: {
|
|
12
|
+
({ href, ...props }: ListItemNavigationProps): import("react").JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=ListItemNavigation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListItemNavigation.d.ts","sourceRoot":"","sources":["../../../../src/listItem/Navigation/ListItemNavigation.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAM7D,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC,CAAC;AAEvF;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU;yBAA2C,uBAAuB;;CAmBxF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/listItem/Navigation/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Sentiment } from '../../common';
|
|
2
|
+
export type ListItemPromptProps = {
|
|
3
|
+
sentiment?: `${Sentiment.POSITIVE | Sentiment.NEGATIVE | Sentiment.NEUTRAL | Sentiment.WARNING}`;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* This component allows for rendering an Inline Prompt. <br />In the future it will be a thin wrapper around a standalone component.<br />
|
|
8
|
+
*
|
|
9
|
+
* Please refer to the [Design documentation](https://wise.design/components/list-item#prompt) for details.
|
|
10
|
+
*/
|
|
11
|
+
export declare const Prompt: {
|
|
12
|
+
({ sentiment, children }: ListItemPromptProps): import("react").JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
export default Prompt;
|
|
16
|
+
//# sourceMappingURL=ListItemPrompt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListItemPrompt.d.ts","sourceRoot":"","sources":["../../../../src/listItem/Prompt/ListItemPrompt.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAKzC,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,CAAC,EAAE,GAAG,SAAS,CAAC,QAAQ,GAAG,SAAS,CAAC,QAAQ,GAAG,SAAS,CAAC,OAAO,GAAG,SAAS,CAAC,OAAO,EAAE,CAAC;IACjG,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,MAAM;8BAAiD,mBAAmB;;CAWtF,CAAC;AAGF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/listItem/Prompt/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type RadioButtonProps } from '../../common/RadioButton/RadioButton';
|
|
2
|
+
export type ListItemRadioProps = Omit<RadioButtonProps, 'disabled' | 'readOnly' | 'className' | 'id'>;
|
|
3
|
+
/**
|
|
4
|
+
* This component allows for rendering a Button control. It's a thin wrapper around the
|
|
5
|
+
* [Button component](https://storybook.wise.design/?path=/docs/content-button--docs), but offers only
|
|
6
|
+
* a subset of its features in line with the ListItem's constraints. <br />
|
|
7
|
+
* <br />
|
|
8
|
+
* Please refer to the [Design documentation](https://wise.design/components/list-item---button) for details.
|
|
9
|
+
*/
|
|
10
|
+
export declare const Radio: {
|
|
11
|
+
(props: ListItemRadioProps): import("react").JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=ListItemRadio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListItemRadio.d.ts","sourceRoot":"","sources":["../../../../src/listItem/Radio/ListItemRadio.tsx"],"names":[],"mappings":"AACA,OAAoB,EAAE,KAAK,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAI1F,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACnC,gBAAgB,EAChB,UAAU,GAAG,UAAU,GAAG,WAAW,GAAG,IAAI,CAC7C,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,KAAK;YAAoB,kBAAkB;;CAavD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/listItem/Radio/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type SwitchProps } from '../../switch';
|
|
2
|
+
export type ListItemSwitchProps = Omit<SwitchProps, 'disabled' | 'id' | 'aria-labelledby' | 'aria-label'>;
|
|
3
|
+
/**
|
|
4
|
+
* This component allows for rendering a switch control within a fully interactive ListItem. <br />It's a thin wrapper around the
|
|
5
|
+
* [CheckboxButton component](https://storybook.wise.design/?path=/docs/actions-switch--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---switch) for details.
|
|
9
|
+
*/
|
|
10
|
+
export declare const Switch: {
|
|
11
|
+
(props: ListItemSwitchProps): import("react").JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=ListItemSwitch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListItemSwitch.d.ts","sourceRoot":"","sources":["../../../../src/listItem/Switch/ListItemSwitch.tsx"],"names":[],"mappings":"AACA,OAAmB,EAAE,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAI5D,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACpC,WAAW,EACX,UAAU,GAAG,IAAI,GAAG,iBAAiB,GAAG,YAAY,CACrD,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,MAAM;YAAoB,mBAAmB;;CAazD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/listItem/Switch/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { StoryObj, type Decorator } from '@storybook/react-webpack5';
|
|
2
|
+
import type { ListItemProps } from '../ListItem';
|
|
3
|
+
type Story = StoryObj<ListItemProps>;
|
|
4
|
+
/**
|
|
5
|
+
* Recent storybook versions render the full source including all story parameters which
|
|
6
|
+
* creates noise, this simple workaround only shows the render function.
|
|
7
|
+
* This is a workaround for the issue.
|
|
8
|
+
* @see https://github.com/storybookjs/storybook/issues/22281
|
|
9
|
+
*/
|
|
10
|
+
export declare const storySourceWithoutNoise: (config: Story) => Story;
|
|
11
|
+
/**
|
|
12
|
+
* In order to make preview controls work correctly, we have to refresh the render
|
|
13
|
+
* by swapping the `key`. This is a workaround for the Storybook's limitation.
|
|
14
|
+
*/
|
|
15
|
+
export declare const withoutKey: Decorator;
|
|
16
|
+
/**
|
|
17
|
+
* Not all stories need access to all controls as it causes unnecessary UI noise.
|
|
18
|
+
*/
|
|
19
|
+
export declare const disableControls: (hiddenByDefault?: string[]) => (hiddenForStory?: string[]) => {
|
|
20
|
+
[k: string]: {
|
|
21
|
+
table: {
|
|
22
|
+
disable: boolean;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../src/listItem/_stories/helpers.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,KAAK,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,CAAC;AAErC;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,GAAI,QAAQ,KAAK,KAAG,KAuBvD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAE,SAExB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,GACzB,kBAAiB,MAAM,EAAO,MAC9B,iBAAgB,MAAM,EAAO;;;;;;CAG7B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type SB_ListItem_ControlType = 'button' | 'buttonAsLink' | 'partialButton' | 'partialButtonAsLink' | 'iconButton' | 'iconButtonAsLink' | 'iconButtonWithLabel' | 'iconButtonAsLinkWithLabel' | 'partialIconButton' | 'partialIconButtonAsLink' | 'partialIconButtonWithLabel' | 'partialIconButtonAsLinkWithLabel' | 'navigation' | 'navigationAsButton' | 'checkbox' | 'radio' | 'switch';
|
|
3
|
+
export declare const SB_LIST_ITEM_CONTROLS: Record<SB_ListItem_ControlType, ReactNode>;
|
|
4
|
+
export declare const SB_LIST_ITEM_ADDITIONAL_INFO: {
|
|
5
|
+
readonly interactive: import("react").JSX.Element;
|
|
6
|
+
readonly nonInteractive: import("react").JSX.Element;
|
|
7
|
+
};
|
|
8
|
+
export declare const SB_LIST_ITEM_PROMPTS: {
|
|
9
|
+
readonly interactive: import("react").JSX.Element;
|
|
10
|
+
readonly nonInteractive: import("react").JSX.Element;
|
|
11
|
+
};
|
|
12
|
+
export declare const SB_LIST_ITEM_MEDIA: {
|
|
13
|
+
readonly image: import("react").JSX.Element;
|
|
14
|
+
readonly avatarSingle: import("react").JSX.Element;
|
|
15
|
+
readonly avatarDouble: import("react").JSX.Element;
|
|
16
|
+
readonly avatarDiagonal: import("react").JSX.Element;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=subcomponents.d.ts.map
|