@goodhood-web/ui 1.12.0-development.9 → 2.0.0-development.1
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/hooks/index.d.ts +2 -0
- package/hooks/useCopyToClipboard.d.ts +2 -0
- package/index.d.ts +8 -4
- package/index.js +104 -104
- package/index.mjs +7995 -7632
- package/lib/Atoms/Badges/Badge/Badge.d.ts +0 -1
- package/lib/Atoms/Badges/Badge/Badge.types.d.ts +0 -1
- package/lib/Atoms/Badges/BadgeIcon/BadgeIcon.d.ts +0 -1
- package/lib/Atoms/Badges/BadgeIcon/BadgeIcon.types.d.ts +0 -1
- package/lib/Atoms/Badges/BadgeLabel/BadgeLabel.d.ts +0 -1
- package/lib/Atoms/Badges/BadgeLabel/BadgeLabel.types.d.ts +0 -1
- package/lib/Atoms/Badges/FeedItemCategory/FeedItemCategory.d.ts +0 -1
- package/lib/Atoms/Badges/LabelPill/LabelPill.d.ts +0 -1
- package/lib/Atoms/Badges/LabelPill/LabelPill.types.d.ts +1 -1
- package/lib/Atoms/Badges/Sticker/Sticker.d.ts +0 -1
- package/lib/Atoms/Badges/Sticker/Sticker.types.d.ts +0 -1
- package/lib/Atoms/Badges/Tooltip/Tooltip.d.ts +3 -0
- package/lib/Atoms/Badges/Tooltip/Tooltip.types.d.ts +8 -0
- package/lib/Atoms/Buttons/Bookmark/Bookmark.d.ts +0 -1
- package/lib/Atoms/Buttons/Bookmark/Bookmark.types.d.ts +0 -1
- package/lib/Atoms/Buttons/Button/Button.d.ts +0 -1
- package/lib/Atoms/Buttons/Button/Button.types.d.ts +6 -2
- package/lib/Atoms/Buttons/ButtonPrimary/ButtonPrimary.d.ts +1 -2
- package/lib/Atoms/Buttons/ButtonPrimary/ButtonPrimary.types.d.ts +0 -1
- package/lib/Atoms/Buttons/ButtonSecondary/ButtonSecondary.d.ts +1 -2
- package/lib/Atoms/Buttons/ButtonSecondary/ButtonSecondary.types.d.ts +0 -1
- package/lib/Atoms/Buttons/ButtonTertiary/ButtonTertiary.d.ts +1 -2
- package/lib/Atoms/Buttons/ButtonTertiary/ButtonTertiary.types.d.ts +0 -1
- package/lib/Atoms/Buttons/CopyLinkButton/CopyLinkButton.d.ts +3 -0
- package/lib/Atoms/Buttons/CopyLinkButton/CopyLinkButton.types.d.ts +7 -0
- package/lib/Atoms/Buttons/IconButton/IconButton.d.ts +1 -2
- package/lib/Atoms/Buttons/IconButton/IconButton.types.d.ts +5 -6
- package/lib/Atoms/Buttons/TextButton/TextButton.d.ts +0 -1
- package/lib/Atoms/Buttons/TextButton/TextButton.types.d.ts +0 -1
- package/lib/Atoms/Buttons/Tiles/FeedTile/FeedTile.d.ts +0 -1
- package/lib/Atoms/Buttons/Tiles/FeedTile/FeedTile.types.d.ts +0 -1
- package/lib/Atoms/Buttons/Tiles/MenuTile/MenuTile.d.ts +0 -1
- package/lib/Atoms/Buttons/Tiles/MenuTile/MenuTile.type.d.ts +0 -1
- package/lib/Atoms/Content/BodyText/BodyText.d.ts +0 -1
- package/lib/Atoms/Content/PlaceholderThumbnail/PlaceholderThumbnail.d.ts +0 -1
- package/lib/Atoms/Content/PlaceholderThumbnail/PlaceholderThumbnail.type.d.ts +0 -1
- package/lib/Atoms/Content/Thumbnail/Thumbnail.d.ts +0 -1
- package/lib/Atoms/Content/Thumbnail/Thumbnail.type.d.ts +4 -3
- package/lib/Atoms/Content/ThumbnailWithLabel/ThumbnailWithLabel.d.ts +0 -1
- package/lib/Atoms/Content/ThumbnailWithLabel/ThumbnailWithLabel.type.d.ts +0 -1
- package/lib/Atoms/Content/ThumbnailWrapper/ThumbnailWrapper.d.ts +0 -1
- package/lib/Atoms/Content/ThumbnailWrapper/ThumbnailWrapper.types.d.ts +0 -1
- package/lib/Atoms/Content/UserAvatar/UserAvatar.d.ts +3 -0
- package/lib/Atoms/Content/UserAvatar/UserAvatar.types.d.ts +17 -0
- package/lib/Atoms/Divider/Divider.d.ts +0 -1
- package/lib/Atoms/Dropdowns/DropdownHeader/DropdownHeader.d.ts +3 -0
- package/lib/Atoms/Dropdowns/DropdownHeader/DropdownHeader.types.d.ts +6 -0
- package/lib/Atoms/Dropdowns/DropdownOption/DropdownOption.d.ts +3 -0
- package/lib/Atoms/Dropdowns/DropdownOption/DropdownOption.types.d.ts +7 -0
- package/lib/Atoms/Dropdowns/DropdownOptionsCluster/DropdownOptionsCluster.d.ts +3 -0
- package/lib/Atoms/Dropdowns/DropdownOptionsCluster/DropdownOptionsCluster.types.d.ts +4 -0
- package/lib/Atoms/Dropdowns/Select/Select.d.ts +0 -1
- package/lib/Atoms/Dropdowns/Select/Select.types.d.ts +0 -1
- package/lib/Atoms/Image/Image.d.ts +0 -1
- package/lib/Atoms/Inputs/CheckboxInput/CheckboxInput.d.ts +0 -1
- package/lib/Atoms/Inputs/CheckboxInput/CheckboxInput.types.d.ts +0 -1
- package/lib/Atoms/Inputs/InputDetails/InputDetails.d.ts +3 -0
- package/lib/Atoms/Inputs/InputDetails/InputDetails.types.d.ts +6 -0
- package/lib/Atoms/Inputs/InputFieldSpecial/InputFieldSpecial.d.ts +0 -1
- package/lib/Atoms/Inputs/InputFieldSpecial/InputFieldSpecial.utils.d.ts +0 -1
- package/lib/Atoms/Inputs/RadioButton/RadioButton.d.ts +0 -1
- package/lib/Atoms/Inputs/RadioButton/RadioButton.types.d.ts +0 -1
- package/lib/Atoms/Inputs/TextAreaInput/TextAreaInput.d.ts +3 -0
- package/lib/Atoms/Inputs/TextAreaInput/TextAreaInput.types.d.ts +6 -0
- package/lib/Atoms/Inputs/TextInput/TextInput.d.ts +1 -2
- package/lib/Atoms/Inputs/TextInput/TextInput.types.d.ts +17 -7
- package/lib/Atoms/Inputs/Toggle/Toggle.d.ts +0 -1
- package/lib/Atoms/Inputs/Toggle/Toggle.types.d.ts +0 -1
- package/lib/Atoms/NotificationBubble/NotificationBubble.d.ts +0 -1
- package/lib/Atoms/NotificationBubble/NotificationBubble.types.d.ts +0 -1
- package/lib/Atoms/Selectables/SelectablePill/SelectablePill.d.ts +0 -1
- package/lib/Atoms/Selectables/SelectablePill/SelectablePill.types.d.ts +0 -1
- package/lib/Base/Icon/Icon.d.ts +0 -1
- package/lib/Base/Icon/Icon.types.d.ts +3 -1
- package/lib/Base/Icon/icons/24x24/index.d.ts +5 -2
- package/lib/Base/Icon/icons/32x32/index.d.ts +20 -8
- package/lib/Base/Icon/icons/index.d.ts +25 -10
- package/lib/Base/Typography/Typography.d.ts +0 -1
- package/lib/Base/Typography/Typography.types.d.ts +0 -1
- package/lib/Molecules/Card/Card.d.ts +1 -2
- package/lib/Molecules/Card/Card.types.d.ts +1 -1
- package/lib/Molecules/Card/CardBody/CardBody.d.ts +1 -2
- package/lib/Molecules/Card/CardBody/CardBody.types.d.ts +1 -1
- package/lib/Molecules/Card/CardFooters/ActionBar/ActionBar.d.ts +0 -1
- package/lib/Molecules/Card/CardFooters/ActionBar/ActionBar.types.d.ts +0 -1
- package/lib/Molecules/Card/CardFooters/ActionBar/ActionBarCta/ActionBarCta.d.ts +0 -1
- package/lib/Molecules/Card/CardFooters/ActionBar/ActionBarCta/ActionBarCta.types.d.ts +0 -1
- package/lib/Molecules/Card/CardFooters/ActionBar/ActionBarList/ActionBarList.d.ts +0 -1
- package/lib/Molecules/Card/CardFooters/ActionBar/ActionBarList/ActionBarList.types.d.ts +0 -1
- package/lib/Molecules/Card/CardFooters/ActionBar/ActionBarList/ActionItem/ActionItem.d.ts +0 -1
- package/lib/Molecules/Card/CardFooters/ActionBar/ActionBarList/ActionItem/ActionItem.types.d.ts +0 -1
- package/lib/Molecules/Card/CardHeader/CardHeader.d.ts +0 -1
- package/lib/Molecules/Card/CardHeader/CardHeader.types.d.ts +0 -1
- package/lib/Molecules/ListItems/NotificationListItem/NotificationListItem.d.ts +0 -1
- package/lib/Molecules/ListItems/NotificationListItem/NotificationListItem.types.d.ts +4 -7
- package/lib/Molecules/Markdown/Markdown.d.ts +0 -1
- package/lib/Molecules/Navigation/MenuItem/MenuItem.d.ts +0 -1
- package/lib/Molecules/Navigation/MenuItem/MenuItem.types.d.ts +0 -1
- package/lib/Molecules/Navigation/NavBar/NavBar.d.ts +0 -1
- package/lib/Molecules/Navigation/NavBar/NavBar.types.d.ts +0 -1
- package/lib/Molecules/Navigation/NavBar/NavItem/NavItem.d.ts +0 -1
- package/lib/Molecules/Navigation/NavBar/NavItem/NavItem.types.d.ts +0 -1
- package/lib/Molecules/Notices/EmptyState/EmptyState.d.ts +0 -1
- package/lib/Molecules/Notices/EmptyState/EmptyState.types.d.ts +9 -2
- package/lib/Molecules/Notices/Notice/InfoNotice/InfoNotice.d.ts +0 -1
- package/lib/Molecules/Notices/Notice/Notice.d.ts +0 -1
- package/lib/Molecules/Notices/Notice/Notice.types.d.ts +0 -1
- package/lib/Molecules/Notices/Notice/WarningNotice/WarningNotice.d.ts +0 -1
- package/lib/Molecules/Notices/Snackbar/Snackbar.d.ts +0 -1
- package/lib/Molecules/Notices/Snackbar/Snackbar.types.d.ts +0 -1
- package/lib/Molecules/Selections/RadioButtonCluster/RadioButtonCluster.d.ts +0 -1
- package/lib/Molecules/Selections/RadioButtonCluster/RadioButtonCluster.types.d.ts +0 -1
- package/lib/Molecules/Selections/SelectablePillGroup/SelectablePillGroup.d.ts +0 -1
- package/lib/Molecules/Selections/SelectablePillGroup/SelectablePillGroup.types.d.ts +0 -1
- package/lib/Molecules/Selections/SwitcherToggle/SwitcherToggle.d.ts +0 -1
- package/lib/Molecules/Selections/ToggleInput/ToggleInput.d.ts +0 -1
- package/lib/Molecules/Selections/ToggleInput/ToggleInput.types.d.ts +0 -1
- package/lib/Molecules/TabBar/NavigationTab/NavigationTab.d.ts +0 -1
- package/lib/Molecules/TabBar/NavigationTab/NavigationTab.types.d.ts +0 -1
- package/lib/Organisms/Cards/MarketplaceItemCardless/MarketplaceItemCardless.d.ts +0 -1
- package/lib/Organisms/Forms/Fieldset/Fieldset.d.ts +0 -1
- package/lib/Organisms/Forms/Fieldset/Fieldset.types.d.ts +0 -1
- package/lib/Organisms/Forms/Form/Form.d.ts +0 -1
- package/lib/Organisms/Forms/Form/Form.types.d.ts +0 -1
- package/lib/Organisms/Forms/Legend/Legend.d.ts +0 -1
- package/lib/Organisms/Modals/BottomSheet/BottomSheet.d.ts +1 -2
- package/lib/Organisms/Modals/BottomSheet/BottomSheet.types.d.ts +1 -5
- package/lib/Organisms/Modals/Modal/Backdrop/Backdrop.d.ts +0 -1
- package/lib/Organisms/Modals/Modal/Modal.d.ts +0 -1
- package/lib/Organisms/Modals/Modal/Modal.types.d.ts +0 -1
- package/lib/Organisms/Modals/Popup/Popup.d.ts +0 -1
- package/lib/Organisms/Modals/Popup/Popup.types.d.ts +1 -3
- package/lib/Organisms/Modals/Sheet/Backdrop/Backdrop.d.ts +0 -1
- package/lib/Organisms/Modals/Sheet/Sheet.d.ts +0 -1
- package/lib/Organisms/Modals/Sheet/Sheet.types.d.ts +1 -2
- package/package.json +2 -2
- package/style.css +1 -1
- package/utils/index.d.ts +0 -1
- package/lib/Atoms/Buttons/Tiles/PointOfInterestIProfileTile/PointOfInterestIProfileTile.d.ts +0 -4
- package/lib/Atoms/Buttons/Tiles/PointOfInterestIProfileTile/PointOfInterestIProfileTile.types.d.ts +0 -8
- package/lib/Atoms/Inputs/TextArea/TextArea.d.ts +0 -4
- package/lib/Atoms/Inputs/TextArea/TextArea.types.d.ts +0 -12
|
@@ -5,10 +5,10 @@ declare const IconsMap: {
|
|
|
5
5
|
readonly arrow_right: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
6
6
|
title?: string;
|
|
7
7
|
}>;
|
|
8
|
-
readonly
|
|
8
|
+
readonly bookmark_filled: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
9
9
|
title?: string;
|
|
10
10
|
}>;
|
|
11
|
-
readonly
|
|
11
|
+
readonly bookmark_outline: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
12
12
|
title?: string;
|
|
13
13
|
}>;
|
|
14
14
|
readonly burger_menu: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
@@ -41,6 +41,9 @@ declare const IconsMap: {
|
|
|
41
41
|
readonly comment_bubble: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
42
42
|
title?: string;
|
|
43
43
|
}>;
|
|
44
|
+
readonly copy: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
45
|
+
title?: string;
|
|
46
|
+
}>;
|
|
44
47
|
readonly cross: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
45
48
|
title?: string;
|
|
46
49
|
}>;
|
|
@@ -8,13 +8,13 @@ declare const IconsMap: {
|
|
|
8
8
|
readonly bicycle: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
9
9
|
title?: string;
|
|
10
10
|
}>;
|
|
11
|
-
readonly
|
|
11
|
+
readonly bookmark_outline: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
12
12
|
title?: string;
|
|
13
13
|
}>;
|
|
14
14
|
readonly books: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
15
15
|
title?: string;
|
|
16
16
|
}>;
|
|
17
|
-
readonly
|
|
17
|
+
readonly bubble_heart_coloured: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
18
18
|
title?: string;
|
|
19
19
|
}>;
|
|
20
20
|
readonly bubble_heart_outline: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
@@ -74,6 +74,9 @@ declare const IconsMap: {
|
|
|
74
74
|
readonly confetti: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
75
75
|
title?: string;
|
|
76
76
|
}>;
|
|
77
|
+
readonly copy: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
78
|
+
title?: string;
|
|
79
|
+
}>;
|
|
77
80
|
readonly couch: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
78
81
|
title?: string;
|
|
79
82
|
}>;
|
|
@@ -110,7 +113,7 @@ declare const IconsMap: {
|
|
|
110
113
|
readonly event_calendar_plus: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
111
114
|
title?: string;
|
|
112
115
|
}>;
|
|
113
|
-
readonly
|
|
116
|
+
readonly event_calendar_plus_coloured: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
114
117
|
title?: string;
|
|
115
118
|
}>;
|
|
116
119
|
readonly exchange: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
@@ -125,7 +128,10 @@ declare const IconsMap: {
|
|
|
125
128
|
readonly gift: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
126
129
|
title?: string;
|
|
127
130
|
}>;
|
|
128
|
-
readonly
|
|
131
|
+
readonly gift_coloured: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
132
|
+
title?: string;
|
|
133
|
+
}>;
|
|
134
|
+
readonly gift_outline: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
129
135
|
title?: string;
|
|
130
136
|
}>;
|
|
131
137
|
readonly globe: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
@@ -134,7 +140,7 @@ declare const IconsMap: {
|
|
|
134
140
|
readonly group: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
135
141
|
title?: string;
|
|
136
142
|
}>;
|
|
137
|
-
readonly
|
|
143
|
+
readonly group_coloured: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
138
144
|
title?: string;
|
|
139
145
|
}>;
|
|
140
146
|
readonly healthcare: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
@@ -146,7 +152,10 @@ declare const IconsMap: {
|
|
|
146
152
|
readonly heart_filled: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
147
153
|
title?: string;
|
|
148
154
|
}>;
|
|
149
|
-
readonly
|
|
155
|
+
readonly heart_handshake_coloured: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
156
|
+
title?: string;
|
|
157
|
+
}>;
|
|
158
|
+
readonly heart_handshake_outline: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
150
159
|
title?: string;
|
|
151
160
|
}>;
|
|
152
161
|
readonly heart_outline: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
@@ -218,10 +227,10 @@ declare const IconsMap: {
|
|
|
218
227
|
readonly organisation: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
219
228
|
title?: string;
|
|
220
229
|
}>;
|
|
221
|
-
readonly
|
|
230
|
+
readonly paper_empty: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
222
231
|
title?: string;
|
|
223
232
|
}>;
|
|
224
|
-
readonly
|
|
233
|
+
readonly paper_form: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
225
234
|
title?: string;
|
|
226
235
|
}>;
|
|
227
236
|
readonly paperclip: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
@@ -275,6 +284,9 @@ declare const IconsMap: {
|
|
|
275
284
|
readonly special_place: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
276
285
|
title?: string;
|
|
277
286
|
}>;
|
|
287
|
+
readonly star: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
288
|
+
title?: string;
|
|
289
|
+
}>;
|
|
278
290
|
readonly suitcase: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
279
291
|
title?: string;
|
|
280
292
|
}>;
|
|
@@ -29,10 +29,10 @@ declare const iconsMap: {
|
|
|
29
29
|
readonly arrow_right: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
30
30
|
title?: string;
|
|
31
31
|
}>;
|
|
32
|
-
readonly
|
|
32
|
+
readonly bookmark_filled: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
33
33
|
title?: string;
|
|
34
34
|
}>;
|
|
35
|
-
readonly
|
|
35
|
+
readonly bookmark_outline: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
36
36
|
title?: string;
|
|
37
37
|
}>;
|
|
38
38
|
readonly burger_menu: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
@@ -65,6 +65,9 @@ declare const iconsMap: {
|
|
|
65
65
|
readonly comment_bubble: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
66
66
|
title?: string;
|
|
67
67
|
}>;
|
|
68
|
+
readonly copy: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
69
|
+
title?: string;
|
|
70
|
+
}>;
|
|
68
71
|
readonly cross: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
69
72
|
title?: string;
|
|
70
73
|
}>;
|
|
@@ -178,13 +181,13 @@ declare const iconsMap: {
|
|
|
178
181
|
readonly bicycle: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
179
182
|
title?: string;
|
|
180
183
|
}>;
|
|
181
|
-
readonly
|
|
184
|
+
readonly bookmark_outline: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
182
185
|
title?: string;
|
|
183
186
|
}>;
|
|
184
187
|
readonly books: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
185
188
|
title?: string;
|
|
186
189
|
}>;
|
|
187
|
-
readonly
|
|
190
|
+
readonly bubble_heart_coloured: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
188
191
|
title?: string;
|
|
189
192
|
}>;
|
|
190
193
|
readonly bubble_heart_outline: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
@@ -244,6 +247,9 @@ declare const iconsMap: {
|
|
|
244
247
|
readonly confetti: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
245
248
|
title?: string;
|
|
246
249
|
}>;
|
|
250
|
+
readonly copy: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
251
|
+
title?: string;
|
|
252
|
+
}>;
|
|
247
253
|
readonly couch: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
248
254
|
title?: string;
|
|
249
255
|
}>;
|
|
@@ -280,7 +286,7 @@ declare const iconsMap: {
|
|
|
280
286
|
readonly event_calendar_plus: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
281
287
|
title?: string;
|
|
282
288
|
}>;
|
|
283
|
-
readonly
|
|
289
|
+
readonly event_calendar_plus_coloured: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
284
290
|
title?: string;
|
|
285
291
|
}>;
|
|
286
292
|
readonly exchange: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
@@ -295,7 +301,10 @@ declare const iconsMap: {
|
|
|
295
301
|
readonly gift: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
296
302
|
title?: string;
|
|
297
303
|
}>;
|
|
298
|
-
readonly
|
|
304
|
+
readonly gift_coloured: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
305
|
+
title?: string;
|
|
306
|
+
}>;
|
|
307
|
+
readonly gift_outline: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
299
308
|
title?: string;
|
|
300
309
|
}>;
|
|
301
310
|
readonly globe: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
@@ -304,7 +313,7 @@ declare const iconsMap: {
|
|
|
304
313
|
readonly group: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
305
314
|
title?: string;
|
|
306
315
|
}>;
|
|
307
|
-
readonly
|
|
316
|
+
readonly group_coloured: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
308
317
|
title?: string;
|
|
309
318
|
}>;
|
|
310
319
|
readonly healthcare: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
@@ -316,7 +325,10 @@ declare const iconsMap: {
|
|
|
316
325
|
readonly heart_filled: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
317
326
|
title?: string;
|
|
318
327
|
}>;
|
|
319
|
-
readonly
|
|
328
|
+
readonly heart_handshake_coloured: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
329
|
+
title?: string;
|
|
330
|
+
}>;
|
|
331
|
+
readonly heart_handshake_outline: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
320
332
|
title?: string;
|
|
321
333
|
}>;
|
|
322
334
|
readonly heart_outline: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
@@ -388,10 +400,10 @@ declare const iconsMap: {
|
|
|
388
400
|
readonly organisation: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
389
401
|
title?: string;
|
|
390
402
|
}>;
|
|
391
|
-
readonly
|
|
403
|
+
readonly paper_empty: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
392
404
|
title?: string;
|
|
393
405
|
}>;
|
|
394
|
-
readonly
|
|
406
|
+
readonly paper_form: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
395
407
|
title?: string;
|
|
396
408
|
}>;
|
|
397
409
|
readonly paperclip: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
@@ -445,6 +457,9 @@ declare const iconsMap: {
|
|
|
445
457
|
readonly special_place: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
446
458
|
title?: string;
|
|
447
459
|
}>;
|
|
460
|
+
readonly star: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
461
|
+
title?: string;
|
|
462
|
+
}>;
|
|
448
463
|
readonly suitcase: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
449
464
|
title?: string;
|
|
450
465
|
}>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { JSX, ReactNode } from 'react';
|
|
2
|
-
|
|
3
2
|
export type TypographyType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'h7' | 'h8' | 'body-large' | 'body-regular' | 'body-semibold' | 'body-italic' | 'body-text-link' | 'detail-medium' | 'detail-bold' | 'detail-upper-case' | 'detail-regular';
|
|
4
3
|
export interface TypographyProps {
|
|
5
4
|
as?: Extract<keyof JSX.IntrinsicElements, 'span' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { CardProps } from './Card.types';
|
|
2
|
-
|
|
3
|
-
declare const Card: ({ allowedElement, ariaLabel, as: Tag, borderRadius, children, className, role, }: CardProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const Card: ({ allowedElement, ariaLabel, as: Tag, borderRadius, children, className, role, withoutPadding, }: CardProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default Card;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import { CardBodyProps } from './CardBody/CardBody.types';
|
|
3
3
|
import { CardHeaderProps } from './CardHeader/CardHeader.types';
|
|
4
|
-
|
|
5
4
|
export interface CardProps {
|
|
6
5
|
allowedElement?: React.ElementType;
|
|
7
6
|
ariaLabel?: string;
|
|
@@ -10,4 +9,5 @@ export interface CardProps {
|
|
|
10
9
|
children: ReactElement<CardBodyProps | CardHeaderProps> | ReactElement<CardBodyProps | CardHeaderProps>[];
|
|
11
10
|
className?: string;
|
|
12
11
|
role?: string;
|
|
12
|
+
withoutPadding?: boolean;
|
|
13
13
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { CardBodyProps } from './CardBody.types';
|
|
2
|
-
|
|
3
|
-
declare const CardBody: ({ children, className }: CardBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const CardBody: ({ children, className, withoutPadding }: CardBodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default CardBody;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { default as ActionBarCtaProps } from './ActionBarCta/ActionBarCta.types';
|
|
2
2
|
import { default as ActionBarListProps } from './ActionBarList/ActionBarList.types';
|
|
3
|
-
|
|
4
3
|
export type ActionBarProps = (ActionBarListProps & {
|
|
5
4
|
type: 'list';
|
|
6
5
|
}) | (ActionBarCtaProps & {
|
|
@@ -2,7 +2,6 @@ import { ReactElement, ReactNode } from 'react';
|
|
|
2
2
|
import { IconButtonProps } from '../../../Atoms/Buttons/IconButton/IconButton.types';
|
|
3
3
|
import { IconProps } from '../../../Base/Icon/Icon.types';
|
|
4
4
|
import { TypographyProps } from '../../../Base/Typography/Typography.types';
|
|
5
|
-
|
|
6
5
|
export type CardHeaderProps = {
|
|
7
6
|
as?: Exclude<TypographyProps['as'], 'h1' | 'p' | 'span'>;
|
|
8
7
|
className?: string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { NotificationListItemProps } from './NotificationListItem.types';
|
|
2
|
-
|
|
3
2
|
declare const NotificationListItem: ({ linkText, onNotificationClick, primaryImg, secondaryImg, timeAgo, title, unread, }: NotificationListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default NotificationListItem;
|
|
@@ -1,25 +1,22 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
3
2
|
type Shape = 'circular' | 'square';
|
|
4
|
-
type
|
|
3
|
+
export type NotificationListItemImageProps = {
|
|
5
4
|
icon: React.ReactNode;
|
|
6
5
|
imageURL: string | null | undefined;
|
|
7
6
|
shape: Shape;
|
|
8
7
|
};
|
|
9
8
|
export interface NotificationListItemProps {
|
|
10
|
-
defaultIcon?: React.ReactNode;
|
|
11
|
-
imgSrc?: string;
|
|
12
9
|
linkText: string;
|
|
13
10
|
onNotificationClick?: () => void;
|
|
14
|
-
primaryImg:
|
|
15
|
-
secondaryImg
|
|
11
|
+
primaryImg: NotificationListItemImageProps;
|
|
12
|
+
secondaryImg?: NotificationListItemImageProps;
|
|
16
13
|
timeAgo: string;
|
|
17
14
|
title: string;
|
|
18
15
|
unread?: boolean;
|
|
19
16
|
}
|
|
20
17
|
export type ThumbnailProps = {
|
|
21
18
|
className: string;
|
|
22
|
-
imgProps:
|
|
19
|
+
imgProps: NotificationListItemImageProps;
|
|
23
20
|
size: '32' | '56';
|
|
24
21
|
};
|
|
25
22
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { MarkdownProps } from './Markdown.types';
|
|
2
|
-
|
|
3
2
|
export declare const quotesToTokens: (string: string) => string;
|
|
4
3
|
export declare const tokensToQuotes: (string: string) => string;
|
|
5
4
|
declare function Markdown({ className, inline, text }: MarkdownProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { MenuItemProps } from './MenuItem.types';
|
|
2
|
-
|
|
3
2
|
declare const MenuItem: ({ className: passedClassName, compact, href, isSelected, labelPillClassName, labelPillText, leftIcon, onClick, rightIcon, role, text, }: MenuItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default MenuItem;
|
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import { StickerProps } from '../../../Atoms/Badges/Sticker/Sticker.types';
|
|
3
3
|
import { ButtonPrimaryProps } from '../../../Atoms/Buttons/ButtonPrimary/ButtonPrimary.types';
|
|
4
|
+
import { ButtonSecondaryProps } from '../../../Atoms/Buttons/ButtonSecondary/ButtonSecondary.types';
|
|
5
|
+
import { ButtonTertiaryProps } from '../../../Atoms/Buttons/ButtonTertiary/ButtonTertiary.types';
|
|
4
6
|
import { TextButtonProps } from '../../../Atoms/Buttons/TextButton/TextButton.types';
|
|
5
|
-
|
|
6
7
|
type TextButton = Omit<TextButtonProps, 'size'> & {
|
|
7
8
|
buttonType: 'text';
|
|
8
9
|
};
|
|
9
10
|
type ButtonPrimary = Omit<ButtonPrimaryProps, 'size'> & {
|
|
10
11
|
buttonType: 'primary';
|
|
11
12
|
};
|
|
12
|
-
|
|
13
|
+
type ButtonSecondary = Omit<ButtonSecondaryProps, 'size'> & {
|
|
14
|
+
buttonType: 'secondary';
|
|
15
|
+
};
|
|
16
|
+
type ButtonTertiary = Omit<ButtonTertiaryProps, 'size'> & {
|
|
17
|
+
buttonType: 'tertiary';
|
|
18
|
+
};
|
|
19
|
+
export type ButtonProps = TextButton | ButtonPrimary | ButtonSecondary | ButtonTertiary;
|
|
13
20
|
export default interface EmptyStateProps {
|
|
14
21
|
buttons?: ButtonProps[];
|
|
15
22
|
customVisual?: ReactElement;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { default as NoticeProps } from '../Notice.types';
|
|
2
|
-
|
|
3
2
|
declare const InfoNotice: ({ context, dismissible, iconName, notificationBubble, onClick, onDismiss, primaryText, secondaryText, size, textButton, type, }: NoticeProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default InfoNotice;
|
|
@@ -2,7 +2,6 @@ import { IconButtonProps } from '../../../Atoms/Buttons/IconButton/IconButton.ty
|
|
|
2
2
|
import { TextButtonProps } from '../../../Atoms/Buttons/TextButton/TextButton.types';
|
|
3
3
|
import { NotificationBubbleProps } from '../../../Atoms/NotificationBubble/NotificationBubble.types';
|
|
4
4
|
import { Icon24 } from '../../../Base/Icon/Icon.types';
|
|
5
|
-
|
|
6
5
|
export default interface NoticeProps {
|
|
7
6
|
context: 'warning' | 'infoGrey' | 'infoGreen';
|
|
8
7
|
dismissible?: boolean;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { default as SnackbarProps } from './Snackbar.types';
|
|
2
|
-
|
|
3
2
|
declare const Snackbar: ({ dismissable, isOpen, leftIconLarge, leftIconSmall, onClick, onClose, rightIconLarge, rightIconSmall, textButton, textLabel, }: SnackbarProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default Snackbar;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { ToggleButtonGroupProps } from './SelectablePillGroup.types';
|
|
2
|
-
|
|
3
2
|
declare const SelectablePillGroup: ({ className, items, multiselect, onChange, selectedItems, togglable, }: ToggleButtonGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default SelectablePillGroup;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { MarketplaceItemCardlessTypes } from './MarketplaceItemCardless.types';
|
|
2
|
-
|
|
3
2
|
export default function MarketplaceItemCardless({ bookmarked, context, image, onBookmark, onClick, price, reserved, reservedText, timeStamp, title, }: MarketplaceItemCardlessTypes): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { SheetProps } from './BottomSheet.types';
|
|
2
|
-
|
|
3
|
-
declare const BottomSheet: ({ ariaLabel, ctaButtonProps, linkProps, onClose, open, sheetBody, sheetHeader, }: SheetProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
2
|
+
declare const BottomSheet: ({ ariaLabel, footer, onClose, open, sheetBody, sheetHeader, }: SheetProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
4
3
|
export default BottomSheet;
|