@hero-design/rn 7.27.1 → 7.28.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/.turbo/turbo-build.log +2 -2
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +52 -41
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +52 -41
- package/package.json +4 -4
- package/src/components/Alert/index.tsx +42 -31
- package/src/components/Button/Button.tsx +7 -0
- package/src/components/FAB/__tests__/index.spec.tsx +4 -4
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +1 -0
- package/src/components/Icon/index.tsx +12 -2
- package/src/components/List/StyledListItem.tsx +1 -1
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +2 -2
- package/src/components/RichTextEditor/MentionList.tsx +1 -1
- package/src/components/RichTextEditor/StyledToolbar.ts +1 -1
- package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +1 -1
- package/src/components/Switch/index.tsx +9 -1
- package/src/components/Tabs/index.tsx +6 -0
- package/src/components/Tag/index.tsx +25 -17
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/TextInput/__tests__/index.spec.tsx +1 -1
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +1 -1
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +6 -6
- package/src/theme/components/avatar.ts +1 -1
- package/src/theme/global/scale.ts +1 -1
- package/src/utils/hooks.ts +3 -1
- package/types/components/Alert/index.d.ts +1 -1
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/Switch/index.d.ts +1 -1
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
} from './StyledButton';
|
|
11
11
|
import type { IconName } from '../Icon';
|
|
12
12
|
import type { Intent, ThemeVariant } from './StyledButton';
|
|
13
|
+
import { useDeprecation } from '../../utils/hooks';
|
|
13
14
|
|
|
14
15
|
export interface ButtonProps {
|
|
15
16
|
/**
|
|
@@ -112,6 +113,12 @@ const Button = ({
|
|
|
112
113
|
variant = 'filled',
|
|
113
114
|
}: ButtonProps): JSX.Element => {
|
|
114
115
|
const themeVariant = getThemeVariant(variant, intent);
|
|
116
|
+
|
|
117
|
+
useDeprecation(
|
|
118
|
+
"Button's basic-transparent variant is deprecated and will be removed in the next major release.\nPlease use other variants instead.",
|
|
119
|
+
variant === 'basic-transparent'
|
|
120
|
+
);
|
|
121
|
+
|
|
115
122
|
return (
|
|
116
123
|
<StyledButtonContainer
|
|
117
124
|
accessibilityHint={accessibilityHint}
|
|
@@ -11,7 +11,7 @@ describe('FAB', () => {
|
|
|
11
11
|
<FAB
|
|
12
12
|
icon="add"
|
|
13
13
|
animated
|
|
14
|
-
style={{ backgroundColor: theme.colors.
|
|
14
|
+
style={{ backgroundColor: theme.colors.darkGlobalSurface }}
|
|
15
15
|
/>
|
|
16
16
|
);
|
|
17
17
|
|
|
@@ -26,7 +26,7 @@ describe('FAB', () => {
|
|
|
26
26
|
<FAB
|
|
27
27
|
icon="pencil"
|
|
28
28
|
title="Shout out"
|
|
29
|
-
style={{ backgroundColor: theme.colors.
|
|
29
|
+
style={{ backgroundColor: theme.colors.darkGlobalSurface }}
|
|
30
30
|
/>
|
|
31
31
|
);
|
|
32
32
|
|
|
@@ -41,7 +41,7 @@ describe('FAB', () => {
|
|
|
41
41
|
const { queryAllByTestId, toJSON } = renderWithTheme(
|
|
42
42
|
<FAB
|
|
43
43
|
icon="add"
|
|
44
|
-
style={{ backgroundColor: theme.colors.
|
|
44
|
+
style={{ backgroundColor: theme.colors.darkGlobalSurface }}
|
|
45
45
|
/>
|
|
46
46
|
);
|
|
47
47
|
|
|
@@ -57,7 +57,7 @@ describe('FAB', () => {
|
|
|
57
57
|
<FAB
|
|
58
58
|
onPress={onPressSpy}
|
|
59
59
|
icon="add"
|
|
60
|
-
style={{ backgroundColor: theme.colors.
|
|
60
|
+
style={{ backgroundColor: theme.colors.darkGlobalSurface }}
|
|
61
61
|
testID="fab"
|
|
62
62
|
/>
|
|
63
63
|
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"activate":59000,"add-emoji":59001,"add-person":59002,"adjustment":59003,"alignment":59004,"antenna":59005,"archive":59006,"assignment-warning":59007,"bank":59008,"bell":59009,"billing":59010,"bookmark":59011,"box-check":59012,"box":59013,"buildings":59014,"cake":59015,"calendar-clock":59016,"calendar":59017,"candy-box-menu":59018,"carat-down-small":59019,"carat-down":59020,"carat-left-small":59021,"carat-left":59022,"carat-right-small":59023,"carat-right":59024,"carat-up-small":59025,"carat-up":59026,"caret-down-small":59027,"caret-down":59028,"caret-left-small":59029,"caret-left":59030,"caret-right-small":59031,"caret-right":59032,"caret-up-small":59033,"caret-up":59034,"check-radio":59035,"circle-add":59036,"circle-cancel":59037,"circle-check":59038,"circle-down":59039,"circle-info":59040,"circle-left":59041,"circle-ok":59042,"circle-pencil":59043,"circle-question":59044,"circle-remove":59045,"circle-right":59046,"circle-up":59047,"circle-warning":59048,"clock-3":59049,"clock":59050,"cloud-download":59051,"cloud-upload":59052,"cog":59053,"coin":59054,"contacts":59055,"credit-card":59056,"diamond":59057,"direction-arrows":59058,"directory":59059,"document":59060,"dollar-coin-shine":59061,"double-buildings":59062,"edit-template":59063,"envelope":59064,"expense":59065,"eye-circle":59066,"eye-invisible":59067,"eye":59068,"face-meh":59069,"face-sad":59070,"face-smiley":59071,"feed":59072,"feedbacks":59073,"file-certified":59074,"file-clone":59075,"file-copy":59076,"file-csv":59077,"file-dispose":59078,"file-doc":59079,"file-excel":59080,"file-export":59081,"file-lock":59082,"file-pdf":59083,"file-powerpoint":59084,"file-search":59085,"file-secured":59086,"file-sheets":59087,"file-slide":59088,"file-verified":59089,"file-word":59090,"file":59091,"filter":59092,"folder-user":59093,"folder":59094,"format-bold":59095,"format-heading1":59096,"format-heading2":59097,"format-italic":59098,"format-list-bulleted":59099,"format-list-numbered":59100,"format-underlined":59101,"funnel-filter":59102,"global-dollar":59103,"globe":59104,"graduation-cap":59105,"graph":59106,"happy-sun":59107,"health-bag":59108,"heart":59109,"home":59110,"image":59111,"import":59112,"incident-siren":59113,"instapay":59114,"list":59115,"loading-2":59116,"loading":59117,"location":59118,"lock":59119,"looks-one":59120,"looks-two":59121,"media-content":59122,"menu":59123,"moneybag":59124,"moon":59125,"multiple-stars":59126,"multiple-users":59127,"node":59128,"open-folder":59129,"paperclip":59130,"payment-summary":59131,"pencil":59132,"phone":59133,"piggy-bank":59134,"plane":59135,"play-circle":59136,"print":59137,"raising-hands":59138,"reply-arrow":59139,"reply":59140,"reschedule":59141,"rostering":59142,"save":59143,"schedule-send":59144,"schedule":59145,"search-person":59146,"send":59147,"speaker-active":59148,"speaker":59149,"star-award":59150,"star-badge":59151,"star-medal":59152,"star":59153,"steps-circle":59154,"stopwatch":59155,"suitcase":59156,"survey":59157,"swag":59158,"switch":59159,"tag":59160,"target":59161,"teams":59162,"timesheet":59163,"touch-id":59164,"trash-bin":59165,"unlock":59166,"user":59167,"video-1":59168,"video-2":59169,"wallet":59170,"warning":59171,"activate-outlined":59172,"add-credit-card-outlined":59173,"add-person-outlined":59174,"add-section-outlined":59175,"add-time-outlined":59176,"add":59177,"adjustment-outlined":59178,"alignment-2-outlined":59179,"alignment-outlined":59180,"all-caps":59181,"arrow-down":59182,"arrow-downwards":59183,"arrow-left":59184,"arrow-leftwards":59185,"arrow-right":59186,"arrow-rightwards":59187,"arrow-up":59188,"arrow-upwards":59189,"at-sign":59190,"bell-active-outlined":59191,"bell-outlined":59192,"bell-slash-outlined":59193,"billing-outlined":59194,"body-outlined":59195,"bold":59196,"bookmark-added-outlined":59197,"bookmark-outlined":59198,"box-check-outlined":59199,"box-outlined":59200,"bullet-points":59201,"cake-outlined":59202,"calendar-dates-outlined":59203,"calendar-star-outlined":59204,"camera-outlined":59205,"cancel":59206,"chat-bubble-outlined":59207,"chat-unread-outlined":59208,"checkmark":59209,"circle-add-outlined":59210,"circle-cancel-outlined":59211,"circle-down-outlined":59212,"circle-info-outlined":59213,"circle-left-outlined":59214,"circle-ok-outlined":59215,"circle-question-outlined":59216,"circle-remove-outlined":59217,"circle-right-outlined":59218,"circle-up-outlined":59219,"circle-warning-outlined":59220,"clock-2-outlined":59221,"clock-outlined":59222,"cog-outlined":59223,"coin-outlined":59224,"comment-outlined":59225,"contacts-outlined":59226,"credit-card-outlined":59227,"cup-outlined":59228,"direction-arrows-outlined":59229,"directory-outlined":59230,"document-outlined":59231,"dollar-card-outlined":59232,"dollar-coin-shine-outlined":59233,"dollar-sign":59234,"double-buildings-outlined":59235,"double-left-arrows":59236,"double-right-arrows":59237,"download-outlined":59238,"edit-template-outlined":59239,"email-outlined":59240,"enter-arrow":59241,"envelope-outlined":59242,"expense-outlined":59243,"explore-outlined":59244,"external-link":59245,"eye-invisible-outlined":59246,"eye-outlined":59247,"face-id":59248,"face-meh-outlined":59249,"face-open-smiley-outlined":59250,"face-sad-outlined":59251,"face-smiley-outlined":59252,"feed-outlined":59253,"file-certified-outlined":59254,"file-clone-outlined":59255,"file-copy-outlined":59256,"file-dispose-outlined":59257,"file-dollar-outlined":59258,"file-download-outlined":59259,"file-export-outlined":59260,"file-lock-outlined":59261,"file-outlined":59262,"file-search-outlined":59263,"file-secured-outlined":59264,"file-verified-outlined":59265,"filter-outlined":59266,"folder-outlined":59267,"folder-user-outlined":59268,"funnel-filter-outline":59269,"graph-outlined":59270,"hand-holding-user-outlined":59271,"happy-sun-outlined":59272,"health-bag-outlined":59273,"heart-outlined":59274,"home-active-outlined":59275,"home-outlined":59276,"id-card-outlined":59277,"image-outlined":59278,"import-outlined":59279,"instapay-outlined":59280,"italic":59281,"link-1":59282,"link-2":59283,"list-outlined":59284,"live-help-outlined":59285,"location-outlined":59286,"lock-outlined":59287,"locked-file-outlined":59288,"log-out":59289,"media-content-outlined":59290,"menu-close":59291,"menu-expand":59292,"menu-fold-outlined":59293,"menu-unfold-outlined":59294,"moneybag-outlined":59295,"moon-outlined":59296,"more-horizontal":59297,"more-vertical":59298,"multiple-folders-outlined":59299,"multiple-users-outlined":59300,"near-me-outlined":59301,"node-outlined":59302,"number-points":59303,"number":59304,"payment-summary-outlined":59305,"payslip-outlined":59306,"pencil-outlined":59307,"percentage":59308,"phone-outlined":59309,"piggy-bank-outlined":59310,"plane-outlined":59311,"play-circle-outlined":59312,"print-outlined":59313,"qr-code-outlined":59314,"re-assign":59315,"redeem":59316,"refresh":59317,"remove":59318,"reply-outlined":59319,"restart":59320,"return-arrow":59321,"rostering-outlined":59322,"save-outlined":59323,"schedule-outlined":59324,"search-outlined":59325,"search-secured-outlined":59326,"send-outlined":59327,"share-1":59328,"share-2":59329,"single-down-arrow":
|
|
1
|
+
{"activate":59000,"add-emoji":59001,"add-person":59002,"adjustment":59003,"alignment":59004,"antenna":59005,"archive":59006,"assignment-warning":59007,"bank":59008,"bell":59009,"billing":59010,"bookmark":59011,"box-check":59012,"box":59013,"buildings":59014,"cake":59015,"calendar-clock":59016,"calendar":59017,"candy-box-menu":59018,"carat-down-small":59019,"carat-down":59020,"carat-left-small":59021,"carat-left":59022,"carat-right-small":59023,"carat-right":59024,"carat-up-small":59025,"carat-up":59026,"caret-down-small":59027,"caret-down":59028,"caret-left-small":59029,"caret-left":59030,"caret-right-small":59031,"caret-right":59032,"caret-up-small":59033,"caret-up":59034,"check-radio":59035,"circle-add":59036,"circle-cancel":59037,"circle-check":59038,"circle-down":59039,"circle-info":59040,"circle-left":59041,"circle-ok":59042,"circle-pencil":59043,"circle-question":59044,"circle-remove":59045,"circle-right":59046,"circle-up":59047,"circle-warning":59048,"clock-3":59049,"clock":59050,"cloud-download":59051,"cloud-upload":59052,"cog":59053,"coin":59054,"contacts":59055,"credit-card":59056,"diamond":59057,"direction-arrows":59058,"directory":59059,"document":59060,"dollar-coin-shine":59061,"double-buildings":59062,"edit-template":59063,"envelope":59064,"expense":59065,"eye-circle":59066,"eye-invisible":59067,"eye":59068,"face-meh":59069,"face-sad":59070,"face-smiley":59071,"feed":59072,"feedbacks":59073,"file-certified":59074,"file-clone":59075,"file-copy":59076,"file-csv":59077,"file-dispose":59078,"file-doc":59079,"file-excel":59080,"file-export":59081,"file-lock":59082,"file-pdf":59083,"file-powerpoint":59084,"file-search":59085,"file-secured":59086,"file-sheets":59087,"file-slide":59088,"file-verified":59089,"file-word":59090,"file":59091,"filter":59092,"folder-user":59093,"folder":59094,"format-bold":59095,"format-heading1":59096,"format-heading2":59097,"format-italic":59098,"format-list-bulleted":59099,"format-list-numbered":59100,"format-underlined":59101,"funnel-filter":59102,"global-dollar":59103,"globe":59104,"graduation-cap":59105,"graph":59106,"happy-sun":59107,"health-bag":59108,"heart":59109,"home":59110,"image":59111,"import":59112,"incident-siren":59113,"instapay":59114,"list":59115,"loading-2":59116,"loading":59117,"location":59118,"lock":59119,"looks-one":59120,"looks-two":59121,"media-content":59122,"menu":59123,"moneybag":59124,"moon":59125,"multiple-stars":59126,"multiple-users":59127,"node":59128,"open-folder":59129,"paperclip":59130,"payment-summary":59131,"pencil":59132,"phone":59133,"piggy-bank":59134,"plane":59135,"play-circle":59136,"print":59137,"raising-hands":59138,"reply-arrow":59139,"reply":59140,"reschedule":59141,"rostering":59142,"save":59143,"schedule-send":59144,"schedule":59145,"search-person":59146,"send":59147,"speaker-active":59148,"speaker":59149,"star-award":59150,"star-badge":59151,"star-medal":59152,"star":59153,"steps-circle":59154,"stopwatch":59155,"suitcase":59156,"survey":59157,"swag":59158,"switch":59159,"tag":59160,"target":59161,"teams":59162,"timesheet":59163,"touch-id":59164,"trash-bin":59165,"unlock":59166,"user":59167,"video-1":59168,"video-2":59169,"wallet":59170,"warning":59171,"activate-outlined":59172,"add-credit-card-outlined":59173,"add-person-outlined":59174,"add-section-outlined":59175,"add-time-outlined":59176,"add":59177,"adjustment-outlined":59178,"alignment-2-outlined":59179,"alignment-outlined":59180,"all-caps":59181,"arrow-down":59182,"arrow-downwards":59183,"arrow-left":59184,"arrow-leftwards":59185,"arrow-right":59186,"arrow-rightwards":59187,"arrow-up":59188,"arrow-upwards":59189,"at-sign":59190,"bell-active-outlined":59191,"bell-outlined":59192,"bell-slash-outlined":59193,"billing-outlined":59194,"body-outlined":59195,"bold":59196,"bookmark-added-outlined":59197,"bookmark-outlined":59198,"box-check-outlined":59199,"box-outlined":59200,"bullet-points":59201,"cake-outlined":59202,"calendar-dates-outlined":59203,"calendar-star-outlined":59204,"camera-outlined":59205,"cancel":59206,"chat-bubble-outlined":59207,"chat-unread-outlined":59208,"checkmark":59209,"circle-add-outlined":59210,"circle-cancel-outlined":59211,"circle-down-outlined":59212,"circle-info-outlined":59213,"circle-left-outlined":59214,"circle-ok-outlined":59215,"circle-question-outlined":59216,"circle-remove-outlined":59217,"circle-right-outlined":59218,"circle-up-outlined":59219,"circle-warning-outlined":59220,"clock-2-outlined":59221,"clock-outlined":59222,"cog-outlined":59223,"coin-outlined":59224,"comment-outlined":59225,"contacts-outlined":59226,"credit-card-outlined":59227,"cup-outlined":59228,"direction-arrows-outlined":59229,"directory-outlined":59230,"document-outlined":59231,"dollar-card-outlined":59232,"dollar-coin-shine-outlined":59233,"dollar-sign":59234,"double-buildings-outlined":59235,"double-left-arrows":59236,"double-right-arrows":59237,"download-outlined":59238,"edit-template-outlined":59239,"email-outlined":59240,"enter-arrow":59241,"envelope-outlined":59242,"expense-outlined":59243,"explore-outlined":59244,"external-link":59245,"eye-invisible-outlined":59246,"eye-outlined":59247,"face-id":59248,"face-meh-outlined":59249,"face-open-smiley-outlined":59250,"face-sad-outlined":59251,"face-smiley-outlined":59252,"feed-outlined":59253,"file-certified-outlined":59254,"file-clone-outlined":59255,"file-copy-outlined":59256,"file-dispose-outlined":59257,"file-dollar-outlined":59258,"file-download-outlined":59259,"file-export-outlined":59260,"file-lock-outlined":59261,"file-outlined":59262,"file-search-outlined":59263,"file-secured-outlined":59264,"file-verified-outlined":59265,"filter-outlined":59266,"folder-outlined":59267,"folder-user-outlined":59268,"funnel-filter-outline":59269,"graph-outlined":59270,"hand-holding-user-outlined":59271,"happy-sun-outlined":59272,"health-bag-outlined":59273,"heart-outlined":59274,"home-active-outlined":59275,"home-outlined":59276,"id-card-outlined":59277,"image-outlined":59278,"import-outlined":59279,"instapay-outlined":59280,"italic":59281,"link-1":59282,"link-2":59283,"list-outlined":59284,"live-help-outlined":59285,"location-outlined":59286,"lock-outlined":59287,"locked-file-outlined":59288,"log-out":59289,"media-content-outlined":59290,"menu-close":59291,"menu-expand":59292,"menu-fold-outlined":59293,"menu-unfold-outlined":59294,"moneybag-outlined":59295,"moon-outlined":59296,"more-horizontal":59297,"more-vertical":59298,"multiple-folders-outlined":59299,"multiple-users-outlined":59300,"near-me-outlined":59301,"node-outlined":59302,"number-points":59303,"number":59304,"payment-summary-outlined":59305,"payslip-outlined":59306,"pencil-outlined":59307,"percentage":59308,"phone-outlined":59309,"piggy-bank-outlined":59310,"plane-outlined":59311,"play-circle-outlined":59312,"print-outlined":59313,"qr-code-outlined":59314,"re-assign":59315,"redeem":59316,"refresh":59317,"remove":59318,"reply-outlined":59319,"restart":59320,"return-arrow":59321,"rostering-outlined":59322,"save-outlined":59323,"schedule-outlined":59324,"search-outlined":59325,"search-secured-outlined":59326,"send-outlined":59327,"share-1":59328,"share-2":59329,"share-outlined":59330,"single-down-arrow":59331,"single-left-arrow":59332,"single-right-arrow":59333,"single-up-arrow":59334,"speaker-active-outlined":59335,"speaker-outlined":59336,"star-outlined":59337,"stopwatch-outlined":59338,"strikethrough":59339,"suitcase-clock-outlined":59340,"suitcase-outlined":59341,"survey-outlined":59342,"switch-outlined":59343,"sync":59344,"target-outlined":59345,"timesheet-outlined":59346,"transfer":59347,"trash-bin-outlined":59348,"umbrela-outlined":59349,"unavailable":59350,"underline":59351,"unlock-outlined":59352,"upload-outlined":59353,"user-circle-outlined":59354,"user-gear-outlined":59355,"user-outlined":59356,"user-rectangle-outlined":59357,"video-1-outlined":59358,"video-2-outlined":59359,"wallet-outlined":59360}
|
|
@@ -3,6 +3,7 @@ import type { StyleProp, TextStyle } from 'react-native';
|
|
|
3
3
|
import IconList from './IconList';
|
|
4
4
|
import HeroIcon from './HeroIcon';
|
|
5
5
|
import AnimatedIcon from './AnimatedIcon';
|
|
6
|
+
import { useDeprecation } from '../../utils/hooks';
|
|
6
7
|
|
|
7
8
|
export type IconName = typeof IconList[number];
|
|
8
9
|
|
|
@@ -49,8 +50,16 @@ const Icon = ({
|
|
|
49
50
|
intent = 'text',
|
|
50
51
|
testID,
|
|
51
52
|
spin = false,
|
|
52
|
-
}: IconProps) =>
|
|
53
|
-
|
|
53
|
+
}: IconProps) => {
|
|
54
|
+
useDeprecation(
|
|
55
|
+
`${icon} icon is deprecated and will be removed in the next major release, please use ${icon.replace(
|
|
56
|
+
'carat',
|
|
57
|
+
'caret'
|
|
58
|
+
)} instead.`,
|
|
59
|
+
icon.startsWith('carat')
|
|
60
|
+
);
|
|
61
|
+
|
|
62
|
+
return spin ? (
|
|
54
63
|
<AnimatedIcon
|
|
55
64
|
name={icon}
|
|
56
65
|
themeIntent={intent}
|
|
@@ -67,6 +76,7 @@ const Icon = ({
|
|
|
67
76
|
testID={testID}
|
|
68
77
|
/>
|
|
69
78
|
);
|
|
79
|
+
};
|
|
70
80
|
|
|
71
81
|
Icon.List = IconList;
|
|
72
82
|
export default Icon;
|
|
@@ -29,7 +29,7 @@ const StyledListItemContainer = styled(TouchableOpacity)<{
|
|
|
29
29
|
...sharedStyles,
|
|
30
30
|
alignItems: 'center',
|
|
31
31
|
borderRadius: theme.__hd__.list.radii.card,
|
|
32
|
-
shadowColor: theme.colors.
|
|
32
|
+
shadowColor: theme.colors.secondaryOutline,
|
|
33
33
|
shadowRadius: theme.__hd__.list.radii.cardShadow,
|
|
34
34
|
shadowOffset: theme.__hd__.list.shadows.cardOffset,
|
|
35
35
|
shadowOpacity: theme.__hd__.list.opacity.cardShadow,
|
|
@@ -107,7 +107,7 @@ exports[`ListItemContainer renders correctly themeSelected false themeVariant ca
|
|
|
107
107
|
"flexDirection": "row",
|
|
108
108
|
"opacity": 1,
|
|
109
109
|
"padding": 16,
|
|
110
|
-
"shadowColor": "#
|
|
110
|
+
"shadowColor": "#e8e9ea",
|
|
111
111
|
"shadowOffset": Object {
|
|
112
112
|
"height": 2,
|
|
113
113
|
"width": 0,
|
|
@@ -207,7 +207,7 @@ exports[`ListItemContainer renders correctly themeSelected true themeVariant car
|
|
|
207
207
|
"flexDirection": "row",
|
|
208
208
|
"opacity": 1,
|
|
209
209
|
"padding": 16,
|
|
210
|
-
"shadowColor": "#
|
|
210
|
+
"shadowColor": "#e8e9ea",
|
|
211
211
|
"shadowOffset": Object {
|
|
212
212
|
"height": 2,
|
|
213
213
|
"width": 0,
|
|
@@ -76,7 +76,7 @@ const MentionList = <TMetaData,>({
|
|
|
76
76
|
borderRadius: theme.__hd__.richTextEditor.radii.mention,
|
|
77
77
|
padding: highlighted ? theme.__hd__.richTextEditor.space.mention : 0,
|
|
78
78
|
background: highlighted
|
|
79
|
-
? theme.colors.
|
|
79
|
+
? theme.colors.highlightedSurface
|
|
80
80
|
: 'transparent',
|
|
81
81
|
marginTop: theme.space.xxsmall,
|
|
82
82
|
marginBottom: theme.space.xxsmall,
|
|
@@ -96,7 +96,7 @@ describe('EditorToolbar', () => {
|
|
|
96
96
|
|
|
97
97
|
fireEvent(wrapper.getByTestId(testID), 'press');
|
|
98
98
|
expect(wrapper.getByTestId(testID)).toHaveStyle({
|
|
99
|
-
backgroundColor: theme.colors.
|
|
99
|
+
backgroundColor: theme.colors.highlightedSurface,
|
|
100
100
|
});
|
|
101
101
|
});
|
|
102
102
|
|
|
@@ -7,6 +7,7 @@ import type { ReactElement } from 'react';
|
|
|
7
7
|
import type { StyleProp, ViewStyle } from 'react-native';
|
|
8
8
|
import { StyledKnot, StyledWrapper, Variant } from './StyledSwitch';
|
|
9
9
|
import SelectorSwitch from './SelectorSwitch';
|
|
10
|
+
import { useDeprecation } from '../../utils/hooks';
|
|
10
11
|
|
|
11
12
|
export interface SwitchProps {
|
|
12
13
|
/**
|
|
@@ -50,16 +51,23 @@ const getVariant = ({
|
|
|
50
51
|
};
|
|
51
52
|
|
|
52
53
|
const Switch = ({
|
|
53
|
-
size
|
|
54
|
+
size: _size,
|
|
54
55
|
disabled = false,
|
|
55
56
|
checked = false,
|
|
56
57
|
onPress,
|
|
57
58
|
style,
|
|
58
59
|
testID,
|
|
59
60
|
}: SwitchProps): ReactElement => {
|
|
61
|
+
const size: SwitchProps['size'] = _size === undefined ? 'medium' : _size;
|
|
62
|
+
|
|
60
63
|
const theme = useTheme();
|
|
61
64
|
const variant = getVariant({ disabled, checked });
|
|
62
65
|
|
|
66
|
+
useDeprecation(
|
|
67
|
+
"Switch's size prop will be removed in the next major release.",
|
|
68
|
+
_size !== undefined
|
|
69
|
+
);
|
|
70
|
+
|
|
63
71
|
const offset = checked
|
|
64
72
|
? (theme.__hd__.switch.sizes.widths[size] -
|
|
65
73
|
theme.__hd__.switch.sizes.thumbs[size]) /
|
|
@@ -20,6 +20,7 @@ import ScrollableTabs from './ScrollableTabs';
|
|
|
20
20
|
import TabWithBadge from './TabWithBadge';
|
|
21
21
|
import type { BadgeConfigType } from './TabWithBadge';
|
|
22
22
|
import { IconName } from '../Icon';
|
|
23
|
+
import { useDeprecation } from '../../utils/hooks';
|
|
23
24
|
|
|
24
25
|
export type ItemType =
|
|
25
26
|
| string
|
|
@@ -113,6 +114,11 @@ const Tabs = ({
|
|
|
113
114
|
swipeEnabled = true,
|
|
114
115
|
testID: componentTestID,
|
|
115
116
|
}: TabsProps): JSX.Element => {
|
|
117
|
+
useDeprecation(
|
|
118
|
+
"Tabs' showBadge will be removed in the next major release. Please use badge prop instead.",
|
|
119
|
+
tabs.some((item) => item.showBadge !== undefined)
|
|
120
|
+
);
|
|
121
|
+
|
|
116
122
|
const theme = useTheme();
|
|
117
123
|
const insets = useSafeAreaInsets();
|
|
118
124
|
const pagerViewRef = React.useRef<PagerView>(null);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { ReactElement } from 'react';
|
|
2
2
|
import type { StyleProp, ViewStyle, ViewProps } from 'react-native';
|
|
3
|
+
import { useDeprecation } from '../../utils/hooks';
|
|
3
4
|
import { StyledView, StyledText } from './StyledTag';
|
|
4
5
|
|
|
5
6
|
interface TagProps extends ViewProps {
|
|
@@ -39,22 +40,29 @@ const Tag = ({
|
|
|
39
40
|
style,
|
|
40
41
|
testID,
|
|
41
42
|
...nativeProps
|
|
42
|
-
}: TagProps): JSX.Element =>
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
43
|
+
}: TagProps): JSX.Element => {
|
|
44
|
+
useDeprecation(
|
|
45
|
+
"Tag's default intent is deprecated and will be removed in the next major release.\nPlease use other intents instead.",
|
|
46
|
+
intent !== 'default'
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
return (
|
|
50
|
+
<StyledView
|
|
51
|
+
{...nativeProps}
|
|
52
|
+
themeIntent={intent}
|
|
53
|
+
themeVariant={variant}
|
|
54
|
+
style={style}
|
|
55
|
+
testID={testID}
|
|
56
|
+
>
|
|
57
|
+
{typeof content === 'string' ? (
|
|
58
|
+
<StyledText themeIntent={intent} themeVariant={variant}>
|
|
59
|
+
{content}
|
|
60
|
+
</StyledText>
|
|
61
|
+
) : (
|
|
62
|
+
content
|
|
63
|
+
)}
|
|
64
|
+
</StyledView>
|
|
65
|
+
);
|
|
66
|
+
};
|
|
59
67
|
|
|
60
68
|
export default Tag;
|
|
@@ -190,7 +190,7 @@ exports[`StyledText has playful typeface style 1`] = `
|
|
|
190
190
|
Array [
|
|
191
191
|
Object {
|
|
192
192
|
"color": "#001f23",
|
|
193
|
-
"fontFamily": "
|
|
193
|
+
"fontFamily": "RebondGrotesque-Regular",
|
|
194
194
|
"fontSize": 14,
|
|
195
195
|
"letterSpacing": 0.42,
|
|
196
196
|
"lineHeight": 22,
|
|
@@ -923,9 +923,9 @@ Object {
|
|
|
923
923
|
"semiBold": "BeVietnamPro-SemiBold",
|
|
924
924
|
},
|
|
925
925
|
"playful": Object {
|
|
926
|
-
"light": "
|
|
927
|
-
"regular": "
|
|
928
|
-
"semiBold": "
|
|
926
|
+
"light": "RebondGrotesque-Light",
|
|
927
|
+
"regular": "RebondGrotesque-Regular",
|
|
928
|
+
"semiBold": "RebondGrotesque-SemiBold",
|
|
929
929
|
},
|
|
930
930
|
},
|
|
931
931
|
"lineHeights": Object {
|
|
@@ -1050,9 +1050,9 @@ Object {
|
|
|
1050
1050
|
"semiBold": "BeVietnamPro-SemiBold",
|
|
1051
1051
|
},
|
|
1052
1052
|
"playful": Object {
|
|
1053
|
-
"light": "
|
|
1054
|
-
"regular": "
|
|
1055
|
-
"semiBold": "
|
|
1053
|
+
"light": "RebondGrotesque-Light",
|
|
1054
|
+
"regular": "RebondGrotesque-Regular",
|
|
1055
|
+
"semiBold": "RebondGrotesque-SemiBold",
|
|
1056
1056
|
},
|
|
1057
1057
|
},
|
|
1058
1058
|
"lineHeights": Object {
|
package/src/utils/hooks.ts
CHANGED
|
@@ -22,6 +22,8 @@ export function usePropsOrInternalState<T>(
|
|
|
22
22
|
export const useDeprecation = (message: string, cond = true) => {
|
|
23
23
|
useEffect(() => {
|
|
24
24
|
// eslint-disable-next-line no-console
|
|
25
|
-
|
|
25
|
+
if (cond) {
|
|
26
|
+
console.warn(message);
|
|
27
|
+
}
|
|
26
28
|
}, [message, cond]);
|
|
27
29
|
};
|
|
@@ -38,5 +38,5 @@ interface AlertProps {
|
|
|
38
38
|
*/
|
|
39
39
|
testID?: string;
|
|
40
40
|
}
|
|
41
|
-
declare const Alert: ({ content, icon, title, intent, onClose, variant, style, testID, }: AlertProps) => JSX.Element;
|
|
41
|
+
declare const Alert: ({ content, icon, title, intent, onClose, variant: _variant, style, testID, }: AlertProps) => JSX.Element;
|
|
42
42
|
export default Alert;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const IconList: readonly ["activate", "add-emoji", "add-person", "adjustment", "alignment", "antenna", "archive", "assignment-warning", "bank", "bell", "billing", "bookmark", "box-check", "box", "buildings", "cake", "calendar-clock", "calendar", "candy-box-menu", "carat-down-small", "carat-down", "carat-left-small", "carat-left", "carat-right-small", "carat-right", "carat-up-small", "carat-up", "caret-down-small", "caret-down", "caret-left-small", "caret-left", "caret-right-small", "caret-right", "caret-up-small", "caret-up", "check-radio", "circle-add", "circle-cancel", "circle-check", "circle-down", "circle-info", "circle-left", "circle-ok", "circle-pencil", "circle-question", "circle-remove", "circle-right", "circle-up", "circle-warning", "clock-3", "clock", "cloud-download", "cloud-upload", "cog", "coin", "contacts", "credit-card", "diamond", "direction-arrows", "directory", "document", "dollar-coin-shine", "double-buildings", "edit-template", "envelope", "expense", "eye-circle", "eye-invisible", "eye", "face-meh", "face-sad", "face-smiley", "feed", "feedbacks", "file-certified", "file-clone", "file-copy", "file-csv", "file-dispose", "file-doc", "file-excel", "file-export", "file-lock", "file-pdf", "file-powerpoint", "file-search", "file-secured", "file-sheets", "file-slide", "file-verified", "file-word", "file", "filter", "folder-user", "folder", "format-bold", "format-heading1", "format-heading2", "format-italic", "format-list-bulleted", "format-list-numbered", "format-underlined", "funnel-filter", "global-dollar", "globe", "graduation-cap", "graph", "happy-sun", "health-bag", "heart", "home", "image", "import", "incident-siren", "instapay", "list", "loading-2", "loading", "location", "lock", "looks-one", "looks-two", "media-content", "menu", "moneybag", "moon", "multiple-stars", "multiple-users", "node", "open-folder", "paperclip", "payment-summary", "pencil", "phone", "piggy-bank", "plane", "play-circle", "print", "raising-hands", "reply-arrow", "reply", "reschedule", "rostering", "save", "schedule-send", "schedule", "search-person", "send", "speaker-active", "speaker", "star-award", "star-badge", "star-medal", "star", "steps-circle", "stopwatch", "suitcase", "survey", "swag", "switch", "tag", "target", "teams", "timesheet", "touch-id", "trash-bin", "unlock", "user", "video-1", "video-2", "wallet", "warning", "activate-outlined", "add-credit-card-outlined", "add-person-outlined", "add-section-outlined", "add-time-outlined", "add", "adjustment-outlined", "alignment-2-outlined", "alignment-outlined", "all-caps", "arrow-down", "arrow-downwards", "arrow-left", "arrow-leftwards", "arrow-right", "arrow-rightwards", "arrow-up", "arrow-upwards", "at-sign", "bell-active-outlined", "bell-outlined", "bell-slash-outlined", "billing-outlined", "body-outlined", "bold", "bookmark-added-outlined", "bookmark-outlined", "box-check-outlined", "box-outlined", "bullet-points", "cake-outlined", "calendar-dates-outlined", "calendar-star-outlined", "camera-outlined", "cancel", "chat-bubble-outlined", "chat-unread-outlined", "checkmark", "circle-add-outlined", "circle-cancel-outlined", "circle-down-outlined", "circle-info-outlined", "circle-left-outlined", "circle-ok-outlined", "circle-question-outlined", "circle-remove-outlined", "circle-right-outlined", "circle-up-outlined", "circle-warning-outlined", "clock-2-outlined", "clock-outlined", "cog-outlined", "coin-outlined", "comment-outlined", "contacts-outlined", "credit-card-outlined", "cup-outlined", "direction-arrows-outlined", "directory-outlined", "document-outlined", "dollar-card-outlined", "dollar-coin-shine-outlined", "dollar-sign", "double-buildings-outlined", "double-left-arrows", "double-right-arrows", "download-outlined", "edit-template-outlined", "email-outlined", "enter-arrow", "envelope-outlined", "expense-outlined", "explore-outlined", "external-link", "eye-invisible-outlined", "eye-outlined", "face-id", "face-meh-outlined", "face-open-smiley-outlined", "face-sad-outlined", "face-smiley-outlined", "feed-outlined", "file-certified-outlined", "file-clone-outlined", "file-copy-outlined", "file-dispose-outlined", "file-dollar-outlined", "file-download-outlined", "file-export-outlined", "file-lock-outlined", "file-outlined", "file-search-outlined", "file-secured-outlined", "file-verified-outlined", "filter-outlined", "folder-outlined", "folder-user-outlined", "funnel-filter-outline", "graph-outlined", "hand-holding-user-outlined", "happy-sun-outlined", "health-bag-outlined", "heart-outlined", "home-active-outlined", "home-outlined", "id-card-outlined", "image-outlined", "import-outlined", "instapay-outlined", "italic", "link-1", "link-2", "list-outlined", "live-help-outlined", "location-outlined", "lock-outlined", "locked-file-outlined", "log-out", "media-content-outlined", "menu-close", "menu-expand", "menu-fold-outlined", "menu-unfold-outlined", "moneybag-outlined", "moon-outlined", "more-horizontal", "more-vertical", "multiple-folders-outlined", "multiple-users-outlined", "near-me-outlined", "node-outlined", "number-points", "number", "payment-summary-outlined", "payslip-outlined", "pencil-outlined", "percentage", "phone-outlined", "piggy-bank-outlined", "plane-outlined", "play-circle-outlined", "print-outlined", "qr-code-outlined", "re-assign", "redeem", "refresh", "remove", "reply-outlined", "restart", "return-arrow", "rostering-outlined", "save-outlined", "schedule-outlined", "search-outlined", "search-secured-outlined", "send-outlined", "share-1", "share-2", "single-down-arrow", "single-left-arrow", "single-right-arrow", "single-up-arrow", "speaker-active-outlined", "speaker-outlined", "star-outlined", "stopwatch-outlined", "strikethrough", "suitcase-clock-outlined", "suitcase-outlined", "survey-outlined", "switch-outlined", "sync", "target-outlined", "timesheet-outlined", "transfer", "trash-bin-outlined", "umbrela-outlined", "unavailable", "underline", "unlock-outlined", "upload-outlined", "user-circle-outlined", "user-gear-outlined", "user-outlined", "user-rectangle-outlined", "video-1-outlined", "video-2-outlined", "wallet-outlined"];
|
|
1
|
+
declare const IconList: readonly ["activate", "add-emoji", "add-person", "adjustment", "alignment", "antenna", "archive", "assignment-warning", "bank", "bell", "billing", "bookmark", "box-check", "box", "buildings", "cake", "calendar-clock", "calendar", "candy-box-menu", "carat-down-small", "carat-down", "carat-left-small", "carat-left", "carat-right-small", "carat-right", "carat-up-small", "carat-up", "caret-down-small", "caret-down", "caret-left-small", "caret-left", "caret-right-small", "caret-right", "caret-up-small", "caret-up", "check-radio", "circle-add", "circle-cancel", "circle-check", "circle-down", "circle-info", "circle-left", "circle-ok", "circle-pencil", "circle-question", "circle-remove", "circle-right", "circle-up", "circle-warning", "clock-3", "clock", "cloud-download", "cloud-upload", "cog", "coin", "contacts", "credit-card", "diamond", "direction-arrows", "directory", "document", "dollar-coin-shine", "double-buildings", "edit-template", "envelope", "expense", "eye-circle", "eye-invisible", "eye", "face-meh", "face-sad", "face-smiley", "feed", "feedbacks", "file-certified", "file-clone", "file-copy", "file-csv", "file-dispose", "file-doc", "file-excel", "file-export", "file-lock", "file-pdf", "file-powerpoint", "file-search", "file-secured", "file-sheets", "file-slide", "file-verified", "file-word", "file", "filter", "folder-user", "folder", "format-bold", "format-heading1", "format-heading2", "format-italic", "format-list-bulleted", "format-list-numbered", "format-underlined", "funnel-filter", "global-dollar", "globe", "graduation-cap", "graph", "happy-sun", "health-bag", "heart", "home", "image", "import", "incident-siren", "instapay", "list", "loading-2", "loading", "location", "lock", "looks-one", "looks-two", "media-content", "menu", "moneybag", "moon", "multiple-stars", "multiple-users", "node", "open-folder", "paperclip", "payment-summary", "pencil", "phone", "piggy-bank", "plane", "play-circle", "print", "raising-hands", "reply-arrow", "reply", "reschedule", "rostering", "save", "schedule-send", "schedule", "search-person", "send", "speaker-active", "speaker", "star-award", "star-badge", "star-medal", "star", "steps-circle", "stopwatch", "suitcase", "survey", "swag", "switch", "tag", "target", "teams", "timesheet", "touch-id", "trash-bin", "unlock", "user", "video-1", "video-2", "wallet", "warning", "activate-outlined", "add-credit-card-outlined", "add-person-outlined", "add-section-outlined", "add-time-outlined", "add", "adjustment-outlined", "alignment-2-outlined", "alignment-outlined", "all-caps", "arrow-down", "arrow-downwards", "arrow-left", "arrow-leftwards", "arrow-right", "arrow-rightwards", "arrow-up", "arrow-upwards", "at-sign", "bell-active-outlined", "bell-outlined", "bell-slash-outlined", "billing-outlined", "body-outlined", "bold", "bookmark-added-outlined", "bookmark-outlined", "box-check-outlined", "box-outlined", "bullet-points", "cake-outlined", "calendar-dates-outlined", "calendar-star-outlined", "camera-outlined", "cancel", "chat-bubble-outlined", "chat-unread-outlined", "checkmark", "circle-add-outlined", "circle-cancel-outlined", "circle-down-outlined", "circle-info-outlined", "circle-left-outlined", "circle-ok-outlined", "circle-question-outlined", "circle-remove-outlined", "circle-right-outlined", "circle-up-outlined", "circle-warning-outlined", "clock-2-outlined", "clock-outlined", "cog-outlined", "coin-outlined", "comment-outlined", "contacts-outlined", "credit-card-outlined", "cup-outlined", "direction-arrows-outlined", "directory-outlined", "document-outlined", "dollar-card-outlined", "dollar-coin-shine-outlined", "dollar-sign", "double-buildings-outlined", "double-left-arrows", "double-right-arrows", "download-outlined", "edit-template-outlined", "email-outlined", "enter-arrow", "envelope-outlined", "expense-outlined", "explore-outlined", "external-link", "eye-invisible-outlined", "eye-outlined", "face-id", "face-meh-outlined", "face-open-smiley-outlined", "face-sad-outlined", "face-smiley-outlined", "feed-outlined", "file-certified-outlined", "file-clone-outlined", "file-copy-outlined", "file-dispose-outlined", "file-dollar-outlined", "file-download-outlined", "file-export-outlined", "file-lock-outlined", "file-outlined", "file-search-outlined", "file-secured-outlined", "file-verified-outlined", "filter-outlined", "folder-outlined", "folder-user-outlined", "funnel-filter-outline", "graph-outlined", "hand-holding-user-outlined", "happy-sun-outlined", "health-bag-outlined", "heart-outlined", "home-active-outlined", "home-outlined", "id-card-outlined", "image-outlined", "import-outlined", "instapay-outlined", "italic", "link-1", "link-2", "list-outlined", "live-help-outlined", "location-outlined", "lock-outlined", "locked-file-outlined", "log-out", "media-content-outlined", "menu-close", "menu-expand", "menu-fold-outlined", "menu-unfold-outlined", "moneybag-outlined", "moon-outlined", "more-horizontal", "more-vertical", "multiple-folders-outlined", "multiple-users-outlined", "near-me-outlined", "node-outlined", "number-points", "number", "payment-summary-outlined", "payslip-outlined", "pencil-outlined", "percentage", "phone-outlined", "piggy-bank-outlined", "plane-outlined", "play-circle-outlined", "print-outlined", "qr-code-outlined", "re-assign", "redeem", "refresh", "remove", "reply-outlined", "restart", "return-arrow", "rostering-outlined", "save-outlined", "schedule-outlined", "search-outlined", "search-secured-outlined", "send-outlined", "share-1", "share-2", "share-outlined", "single-down-arrow", "single-left-arrow", "single-right-arrow", "single-up-arrow", "speaker-active-outlined", "speaker-outlined", "star-outlined", "stopwatch-outlined", "strikethrough", "suitcase-clock-outlined", "suitcase-outlined", "survey-outlined", "switch-outlined", "sync", "target-outlined", "timesheet-outlined", "transfer", "trash-bin-outlined", "umbrela-outlined", "unavailable", "underline", "unlock-outlined", "upload-outlined", "user-circle-outlined", "user-gear-outlined", "user-outlined", "user-rectangle-outlined", "video-1-outlined", "video-2-outlined", "wallet-outlined"];
|
|
2
2
|
export default IconList;
|
|
@@ -29,6 +29,6 @@ export interface IconProps {
|
|
|
29
29
|
}
|
|
30
30
|
declare const Icon: {
|
|
31
31
|
({ icon, style, size, intent, testID, spin, }: IconProps): JSX.Element;
|
|
32
|
-
List: readonly ["activate", "add-emoji", "add-person", "adjustment", "alignment", "antenna", "archive", "assignment-warning", "bank", "bell", "billing", "bookmark", "box-check", "box", "buildings", "cake", "calendar-clock", "calendar", "candy-box-menu", "carat-down-small", "carat-down", "carat-left-small", "carat-left", "carat-right-small", "carat-right", "carat-up-small", "carat-up", "caret-down-small", "caret-down", "caret-left-small", "caret-left", "caret-right-small", "caret-right", "caret-up-small", "caret-up", "check-radio", "circle-add", "circle-cancel", "circle-check", "circle-down", "circle-info", "circle-left", "circle-ok", "circle-pencil", "circle-question", "circle-remove", "circle-right", "circle-up", "circle-warning", "clock-3", "clock", "cloud-download", "cloud-upload", "cog", "coin", "contacts", "credit-card", "diamond", "direction-arrows", "directory", "document", "dollar-coin-shine", "double-buildings", "edit-template", "envelope", "expense", "eye-circle", "eye-invisible", "eye", "face-meh", "face-sad", "face-smiley", "feed", "feedbacks", "file-certified", "file-clone", "file-copy", "file-csv", "file-dispose", "file-doc", "file-excel", "file-export", "file-lock", "file-pdf", "file-powerpoint", "file-search", "file-secured", "file-sheets", "file-slide", "file-verified", "file-word", "file", "filter", "folder-user", "folder", "format-bold", "format-heading1", "format-heading2", "format-italic", "format-list-bulleted", "format-list-numbered", "format-underlined", "funnel-filter", "global-dollar", "globe", "graduation-cap", "graph", "happy-sun", "health-bag", "heart", "home", "image", "import", "incident-siren", "instapay", "list", "loading-2", "loading", "location", "lock", "looks-one", "looks-two", "media-content", "menu", "moneybag", "moon", "multiple-stars", "multiple-users", "node", "open-folder", "paperclip", "payment-summary", "pencil", "phone", "piggy-bank", "plane", "play-circle", "print", "raising-hands", "reply-arrow", "reply", "reschedule", "rostering", "save", "schedule-send", "schedule", "search-person", "send", "speaker-active", "speaker", "star-award", "star-badge", "star-medal", "star", "steps-circle", "stopwatch", "suitcase", "survey", "swag", "switch", "tag", "target", "teams", "timesheet", "touch-id", "trash-bin", "unlock", "user", "video-1", "video-2", "wallet", "warning", "activate-outlined", "add-credit-card-outlined", "add-person-outlined", "add-section-outlined", "add-time-outlined", "add", "adjustment-outlined", "alignment-2-outlined", "alignment-outlined", "all-caps", "arrow-down", "arrow-downwards", "arrow-left", "arrow-leftwards", "arrow-right", "arrow-rightwards", "arrow-up", "arrow-upwards", "at-sign", "bell-active-outlined", "bell-outlined", "bell-slash-outlined", "billing-outlined", "body-outlined", "bold", "bookmark-added-outlined", "bookmark-outlined", "box-check-outlined", "box-outlined", "bullet-points", "cake-outlined", "calendar-dates-outlined", "calendar-star-outlined", "camera-outlined", "cancel", "chat-bubble-outlined", "chat-unread-outlined", "checkmark", "circle-add-outlined", "circle-cancel-outlined", "circle-down-outlined", "circle-info-outlined", "circle-left-outlined", "circle-ok-outlined", "circle-question-outlined", "circle-remove-outlined", "circle-right-outlined", "circle-up-outlined", "circle-warning-outlined", "clock-2-outlined", "clock-outlined", "cog-outlined", "coin-outlined", "comment-outlined", "contacts-outlined", "credit-card-outlined", "cup-outlined", "direction-arrows-outlined", "directory-outlined", "document-outlined", "dollar-card-outlined", "dollar-coin-shine-outlined", "dollar-sign", "double-buildings-outlined", "double-left-arrows", "double-right-arrows", "download-outlined", "edit-template-outlined", "email-outlined", "enter-arrow", "envelope-outlined", "expense-outlined", "explore-outlined", "external-link", "eye-invisible-outlined", "eye-outlined", "face-id", "face-meh-outlined", "face-open-smiley-outlined", "face-sad-outlined", "face-smiley-outlined", "feed-outlined", "file-certified-outlined", "file-clone-outlined", "file-copy-outlined", "file-dispose-outlined", "file-dollar-outlined", "file-download-outlined", "file-export-outlined", "file-lock-outlined", "file-outlined", "file-search-outlined", "file-secured-outlined", "file-verified-outlined", "filter-outlined", "folder-outlined", "folder-user-outlined", "funnel-filter-outline", "graph-outlined", "hand-holding-user-outlined", "happy-sun-outlined", "health-bag-outlined", "heart-outlined", "home-active-outlined", "home-outlined", "id-card-outlined", "image-outlined", "import-outlined", "instapay-outlined", "italic", "link-1", "link-2", "list-outlined", "live-help-outlined", "location-outlined", "lock-outlined", "locked-file-outlined", "log-out", "media-content-outlined", "menu-close", "menu-expand", "menu-fold-outlined", "menu-unfold-outlined", "moneybag-outlined", "moon-outlined", "more-horizontal", "more-vertical", "multiple-folders-outlined", "multiple-users-outlined", "near-me-outlined", "node-outlined", "number-points", "number", "payment-summary-outlined", "payslip-outlined", "pencil-outlined", "percentage", "phone-outlined", "piggy-bank-outlined", "plane-outlined", "play-circle-outlined", "print-outlined", "qr-code-outlined", "re-assign", "redeem", "refresh", "remove", "reply-outlined", "restart", "return-arrow", "rostering-outlined", "save-outlined", "schedule-outlined", "search-outlined", "search-secured-outlined", "send-outlined", "share-1", "share-2", "single-down-arrow", "single-left-arrow", "single-right-arrow", "single-up-arrow", "speaker-active-outlined", "speaker-outlined", "star-outlined", "stopwatch-outlined", "strikethrough", "suitcase-clock-outlined", "suitcase-outlined", "survey-outlined", "switch-outlined", "sync", "target-outlined", "timesheet-outlined", "transfer", "trash-bin-outlined", "umbrela-outlined", "unavailable", "underline", "unlock-outlined", "upload-outlined", "user-circle-outlined", "user-gear-outlined", "user-outlined", "user-rectangle-outlined", "video-1-outlined", "video-2-outlined", "wallet-outlined"];
|
|
32
|
+
List: readonly ["activate", "add-emoji", "add-person", "adjustment", "alignment", "antenna", "archive", "assignment-warning", "bank", "bell", "billing", "bookmark", "box-check", "box", "buildings", "cake", "calendar-clock", "calendar", "candy-box-menu", "carat-down-small", "carat-down", "carat-left-small", "carat-left", "carat-right-small", "carat-right", "carat-up-small", "carat-up", "caret-down-small", "caret-down", "caret-left-small", "caret-left", "caret-right-small", "caret-right", "caret-up-small", "caret-up", "check-radio", "circle-add", "circle-cancel", "circle-check", "circle-down", "circle-info", "circle-left", "circle-ok", "circle-pencil", "circle-question", "circle-remove", "circle-right", "circle-up", "circle-warning", "clock-3", "clock", "cloud-download", "cloud-upload", "cog", "coin", "contacts", "credit-card", "diamond", "direction-arrows", "directory", "document", "dollar-coin-shine", "double-buildings", "edit-template", "envelope", "expense", "eye-circle", "eye-invisible", "eye", "face-meh", "face-sad", "face-smiley", "feed", "feedbacks", "file-certified", "file-clone", "file-copy", "file-csv", "file-dispose", "file-doc", "file-excel", "file-export", "file-lock", "file-pdf", "file-powerpoint", "file-search", "file-secured", "file-sheets", "file-slide", "file-verified", "file-word", "file", "filter", "folder-user", "folder", "format-bold", "format-heading1", "format-heading2", "format-italic", "format-list-bulleted", "format-list-numbered", "format-underlined", "funnel-filter", "global-dollar", "globe", "graduation-cap", "graph", "happy-sun", "health-bag", "heart", "home", "image", "import", "incident-siren", "instapay", "list", "loading-2", "loading", "location", "lock", "looks-one", "looks-two", "media-content", "menu", "moneybag", "moon", "multiple-stars", "multiple-users", "node", "open-folder", "paperclip", "payment-summary", "pencil", "phone", "piggy-bank", "plane", "play-circle", "print", "raising-hands", "reply-arrow", "reply", "reschedule", "rostering", "save", "schedule-send", "schedule", "search-person", "send", "speaker-active", "speaker", "star-award", "star-badge", "star-medal", "star", "steps-circle", "stopwatch", "suitcase", "survey", "swag", "switch", "tag", "target", "teams", "timesheet", "touch-id", "trash-bin", "unlock", "user", "video-1", "video-2", "wallet", "warning", "activate-outlined", "add-credit-card-outlined", "add-person-outlined", "add-section-outlined", "add-time-outlined", "add", "adjustment-outlined", "alignment-2-outlined", "alignment-outlined", "all-caps", "arrow-down", "arrow-downwards", "arrow-left", "arrow-leftwards", "arrow-right", "arrow-rightwards", "arrow-up", "arrow-upwards", "at-sign", "bell-active-outlined", "bell-outlined", "bell-slash-outlined", "billing-outlined", "body-outlined", "bold", "bookmark-added-outlined", "bookmark-outlined", "box-check-outlined", "box-outlined", "bullet-points", "cake-outlined", "calendar-dates-outlined", "calendar-star-outlined", "camera-outlined", "cancel", "chat-bubble-outlined", "chat-unread-outlined", "checkmark", "circle-add-outlined", "circle-cancel-outlined", "circle-down-outlined", "circle-info-outlined", "circle-left-outlined", "circle-ok-outlined", "circle-question-outlined", "circle-remove-outlined", "circle-right-outlined", "circle-up-outlined", "circle-warning-outlined", "clock-2-outlined", "clock-outlined", "cog-outlined", "coin-outlined", "comment-outlined", "contacts-outlined", "credit-card-outlined", "cup-outlined", "direction-arrows-outlined", "directory-outlined", "document-outlined", "dollar-card-outlined", "dollar-coin-shine-outlined", "dollar-sign", "double-buildings-outlined", "double-left-arrows", "double-right-arrows", "download-outlined", "edit-template-outlined", "email-outlined", "enter-arrow", "envelope-outlined", "expense-outlined", "explore-outlined", "external-link", "eye-invisible-outlined", "eye-outlined", "face-id", "face-meh-outlined", "face-open-smiley-outlined", "face-sad-outlined", "face-smiley-outlined", "feed-outlined", "file-certified-outlined", "file-clone-outlined", "file-copy-outlined", "file-dispose-outlined", "file-dollar-outlined", "file-download-outlined", "file-export-outlined", "file-lock-outlined", "file-outlined", "file-search-outlined", "file-secured-outlined", "file-verified-outlined", "filter-outlined", "folder-outlined", "folder-user-outlined", "funnel-filter-outline", "graph-outlined", "hand-holding-user-outlined", "happy-sun-outlined", "health-bag-outlined", "heart-outlined", "home-active-outlined", "home-outlined", "id-card-outlined", "image-outlined", "import-outlined", "instapay-outlined", "italic", "link-1", "link-2", "list-outlined", "live-help-outlined", "location-outlined", "lock-outlined", "locked-file-outlined", "log-out", "media-content-outlined", "menu-close", "menu-expand", "menu-fold-outlined", "menu-unfold-outlined", "moneybag-outlined", "moon-outlined", "more-horizontal", "more-vertical", "multiple-folders-outlined", "multiple-users-outlined", "near-me-outlined", "node-outlined", "number-points", "number", "payment-summary-outlined", "payslip-outlined", "pencil-outlined", "percentage", "phone-outlined", "piggy-bank-outlined", "plane-outlined", "play-circle-outlined", "print-outlined", "qr-code-outlined", "re-assign", "redeem", "refresh", "remove", "reply-outlined", "restart", "return-arrow", "rostering-outlined", "save-outlined", "schedule-outlined", "search-outlined", "search-secured-outlined", "send-outlined", "share-1", "share-2", "share-outlined", "single-down-arrow", "single-left-arrow", "single-right-arrow", "single-up-arrow", "speaker-active-outlined", "speaker-outlined", "star-outlined", "stopwatch-outlined", "strikethrough", "suitcase-clock-outlined", "suitcase-outlined", "survey-outlined", "switch-outlined", "sync", "target-outlined", "timesheet-outlined", "transfer", "trash-bin-outlined", "umbrela-outlined", "unavailable", "underline", "unlock-outlined", "upload-outlined", "user-circle-outlined", "user-gear-outlined", "user-outlined", "user-rectangle-outlined", "video-1-outlined", "video-2-outlined", "wallet-outlined"];
|
|
33
33
|
};
|
|
34
34
|
export default Icon;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const isHeroIcon: (x: any) => x is "number" | "swag" | "wallet" | "bold" | "menu" | "filter" | "image" | "switch" | "list" | "warning" | "activate" | "add-emoji" | "add-person" | "adjustment" | "alignment" | "antenna" | "archive" | "assignment-warning" | "bank" | "bell" | "billing" | "bookmark" | "box-check" | "box" | "buildings" | "cake" | "calendar-clock" | "calendar" | "candy-box-menu" | "carat-down-small" | "carat-down" | "carat-left-small" | "carat-left" | "carat-right-small" | "carat-right" | "carat-up-small" | "carat-up" | "caret-down-small" | "caret-down" | "caret-left-small" | "caret-left" | "caret-right-small" | "caret-right" | "caret-up-small" | "caret-up" | "check-radio" | "circle-add" | "circle-cancel" | "circle-check" | "circle-down" | "circle-info" | "circle-left" | "circle-ok" | "circle-pencil" | "circle-question" | "circle-remove" | "circle-right" | "circle-up" | "circle-warning" | "clock-3" | "clock" | "cloud-download" | "cloud-upload" | "cog" | "coin" | "contacts" | "credit-card" | "diamond" | "direction-arrows" | "directory" | "document" | "dollar-coin-shine" | "double-buildings" | "edit-template" | "envelope" | "expense" | "eye-circle" | "eye-invisible" | "eye" | "face-meh" | "face-sad" | "face-smiley" | "feed" | "feedbacks" | "file-certified" | "file-clone" | "file-copy" | "file-csv" | "file-dispose" | "file-doc" | "file-excel" | "file-export" | "file-lock" | "file-pdf" | "file-powerpoint" | "file-search" | "file-secured" | "file-sheets" | "file-slide" | "file-verified" | "file-word" | "file" | "folder-user" | "folder" | "format-bold" | "format-heading1" | "format-heading2" | "format-italic" | "format-list-bulleted" | "format-list-numbered" | "format-underlined" | "funnel-filter" | "global-dollar" | "globe" | "graduation-cap" | "graph" | "happy-sun" | "health-bag" | "heart" | "home" | "import" | "incident-siren" | "instapay" | "loading-2" | "loading" | "location" | "lock" | "looks-one" | "looks-two" | "media-content" | "moneybag" | "moon" | "multiple-stars" | "multiple-users" | "node" | "open-folder" | "paperclip" | "payment-summary" | "pencil" | "phone" | "piggy-bank" | "plane" | "play-circle" | "print" | "raising-hands" | "reply-arrow" | "reply" | "reschedule" | "rostering" | "save" | "schedule-send" | "schedule" | "search-person" | "send" | "speaker-active" | "speaker" | "star-award" | "star-badge" | "star-medal" | "star" | "steps-circle" | "stopwatch" | "suitcase" | "survey" | "tag" | "target" | "teams" | "timesheet" | "touch-id" | "trash-bin" | "unlock" | "user" | "video-1" | "video-2" | "activate-outlined" | "add-credit-card-outlined" | "add-person-outlined" | "add-section-outlined" | "add-time-outlined" | "add" | "adjustment-outlined" | "alignment-2-outlined" | "alignment-outlined" | "all-caps" | "arrow-down" | "arrow-downwards" | "arrow-left" | "arrow-leftwards" | "arrow-right" | "arrow-rightwards" | "arrow-up" | "arrow-upwards" | "at-sign" | "bell-active-outlined" | "bell-outlined" | "bell-slash-outlined" | "billing-outlined" | "body-outlined" | "bookmark-added-outlined" | "bookmark-outlined" | "box-check-outlined" | "box-outlined" | "bullet-points" | "cake-outlined" | "calendar-dates-outlined" | "calendar-star-outlined" | "camera-outlined" | "cancel" | "chat-bubble-outlined" | "chat-unread-outlined" | "checkmark" | "circle-add-outlined" | "circle-cancel-outlined" | "circle-down-outlined" | "circle-info-outlined" | "circle-left-outlined" | "circle-ok-outlined" | "circle-question-outlined" | "circle-remove-outlined" | "circle-right-outlined" | "circle-up-outlined" | "circle-warning-outlined" | "clock-2-outlined" | "clock-outlined" | "cog-outlined" | "coin-outlined" | "comment-outlined" | "contacts-outlined" | "credit-card-outlined" | "cup-outlined" | "direction-arrows-outlined" | "directory-outlined" | "document-outlined" | "dollar-card-outlined" | "dollar-coin-shine-outlined" | "dollar-sign" | "double-buildings-outlined" | "double-left-arrows" | "double-right-arrows" | "download-outlined" | "edit-template-outlined" | "email-outlined" | "enter-arrow" | "envelope-outlined" | "expense-outlined" | "explore-outlined" | "external-link" | "eye-invisible-outlined" | "eye-outlined" | "face-id" | "face-meh-outlined" | "face-open-smiley-outlined" | "face-sad-outlined" | "face-smiley-outlined" | "feed-outlined" | "file-certified-outlined" | "file-clone-outlined" | "file-copy-outlined" | "file-dispose-outlined" | "file-dollar-outlined" | "file-download-outlined" | "file-export-outlined" | "file-lock-outlined" | "file-outlined" | "file-search-outlined" | "file-secured-outlined" | "file-verified-outlined" | "filter-outlined" | "folder-outlined" | "folder-user-outlined" | "funnel-filter-outline" | "graph-outlined" | "hand-holding-user-outlined" | "happy-sun-outlined" | "health-bag-outlined" | "heart-outlined" | "home-active-outlined" | "home-outlined" | "id-card-outlined" | "image-outlined" | "import-outlined" | "instapay-outlined" | "italic" | "link-1" | "link-2" | "list-outlined" | "live-help-outlined" | "location-outlined" | "lock-outlined" | "locked-file-outlined" | "log-out" | "media-content-outlined" | "menu-close" | "menu-expand" | "menu-fold-outlined" | "menu-unfold-outlined" | "moneybag-outlined" | "moon-outlined" | "more-horizontal" | "more-vertical" | "multiple-folders-outlined" | "multiple-users-outlined" | "near-me-outlined" | "node-outlined" | "number-points" | "payment-summary-outlined" | "payslip-outlined" | "pencil-outlined" | "percentage" | "phone-outlined" | "piggy-bank-outlined" | "plane-outlined" | "play-circle-outlined" | "print-outlined" | "qr-code-outlined" | "re-assign" | "redeem" | "refresh" | "remove" | "reply-outlined" | "restart" | "return-arrow" | "rostering-outlined" | "save-outlined" | "schedule-outlined" | "search-outlined" | "search-secured-outlined" | "send-outlined" | "share-1" | "share-2" | "single-down-arrow" | "single-left-arrow" | "single-right-arrow" | "single-up-arrow" | "speaker-active-outlined" | "speaker-outlined" | "star-outlined" | "stopwatch-outlined" | "strikethrough" | "suitcase-clock-outlined" | "suitcase-outlined" | "survey-outlined" | "switch-outlined" | "sync" | "target-outlined" | "timesheet-outlined" | "transfer" | "trash-bin-outlined" | "umbrela-outlined" | "unavailable" | "underline" | "unlock-outlined" | "upload-outlined" | "user-circle-outlined" | "user-gear-outlined" | "user-outlined" | "user-rectangle-outlined" | "video-1-outlined" | "video-2-outlined" | "wallet-outlined";
|
|
1
|
+
declare const isHeroIcon: (x: any) => x is "number" | "swag" | "wallet" | "bold" | "menu" | "filter" | "image" | "switch" | "list" | "warning" | "activate" | "add-emoji" | "add-person" | "adjustment" | "alignment" | "antenna" | "archive" | "assignment-warning" | "bank" | "bell" | "billing" | "bookmark" | "box-check" | "box" | "buildings" | "cake" | "calendar-clock" | "calendar" | "candy-box-menu" | "carat-down-small" | "carat-down" | "carat-left-small" | "carat-left" | "carat-right-small" | "carat-right" | "carat-up-small" | "carat-up" | "caret-down-small" | "caret-down" | "caret-left-small" | "caret-left" | "caret-right-small" | "caret-right" | "caret-up-small" | "caret-up" | "check-radio" | "circle-add" | "circle-cancel" | "circle-check" | "circle-down" | "circle-info" | "circle-left" | "circle-ok" | "circle-pencil" | "circle-question" | "circle-remove" | "circle-right" | "circle-up" | "circle-warning" | "clock-3" | "clock" | "cloud-download" | "cloud-upload" | "cog" | "coin" | "contacts" | "credit-card" | "diamond" | "direction-arrows" | "directory" | "document" | "dollar-coin-shine" | "double-buildings" | "edit-template" | "envelope" | "expense" | "eye-circle" | "eye-invisible" | "eye" | "face-meh" | "face-sad" | "face-smiley" | "feed" | "feedbacks" | "file-certified" | "file-clone" | "file-copy" | "file-csv" | "file-dispose" | "file-doc" | "file-excel" | "file-export" | "file-lock" | "file-pdf" | "file-powerpoint" | "file-search" | "file-secured" | "file-sheets" | "file-slide" | "file-verified" | "file-word" | "file" | "folder-user" | "folder" | "format-bold" | "format-heading1" | "format-heading2" | "format-italic" | "format-list-bulleted" | "format-list-numbered" | "format-underlined" | "funnel-filter" | "global-dollar" | "globe" | "graduation-cap" | "graph" | "happy-sun" | "health-bag" | "heart" | "home" | "import" | "incident-siren" | "instapay" | "loading-2" | "loading" | "location" | "lock" | "looks-one" | "looks-two" | "media-content" | "moneybag" | "moon" | "multiple-stars" | "multiple-users" | "node" | "open-folder" | "paperclip" | "payment-summary" | "pencil" | "phone" | "piggy-bank" | "plane" | "play-circle" | "print" | "raising-hands" | "reply-arrow" | "reply" | "reschedule" | "rostering" | "save" | "schedule-send" | "schedule" | "search-person" | "send" | "speaker-active" | "speaker" | "star-award" | "star-badge" | "star-medal" | "star" | "steps-circle" | "stopwatch" | "suitcase" | "survey" | "tag" | "target" | "teams" | "timesheet" | "touch-id" | "trash-bin" | "unlock" | "user" | "video-1" | "video-2" | "activate-outlined" | "add-credit-card-outlined" | "add-person-outlined" | "add-section-outlined" | "add-time-outlined" | "add" | "adjustment-outlined" | "alignment-2-outlined" | "alignment-outlined" | "all-caps" | "arrow-down" | "arrow-downwards" | "arrow-left" | "arrow-leftwards" | "arrow-right" | "arrow-rightwards" | "arrow-up" | "arrow-upwards" | "at-sign" | "bell-active-outlined" | "bell-outlined" | "bell-slash-outlined" | "billing-outlined" | "body-outlined" | "bookmark-added-outlined" | "bookmark-outlined" | "box-check-outlined" | "box-outlined" | "bullet-points" | "cake-outlined" | "calendar-dates-outlined" | "calendar-star-outlined" | "camera-outlined" | "cancel" | "chat-bubble-outlined" | "chat-unread-outlined" | "checkmark" | "circle-add-outlined" | "circle-cancel-outlined" | "circle-down-outlined" | "circle-info-outlined" | "circle-left-outlined" | "circle-ok-outlined" | "circle-question-outlined" | "circle-remove-outlined" | "circle-right-outlined" | "circle-up-outlined" | "circle-warning-outlined" | "clock-2-outlined" | "clock-outlined" | "cog-outlined" | "coin-outlined" | "comment-outlined" | "contacts-outlined" | "credit-card-outlined" | "cup-outlined" | "direction-arrows-outlined" | "directory-outlined" | "document-outlined" | "dollar-card-outlined" | "dollar-coin-shine-outlined" | "dollar-sign" | "double-buildings-outlined" | "double-left-arrows" | "double-right-arrows" | "download-outlined" | "edit-template-outlined" | "email-outlined" | "enter-arrow" | "envelope-outlined" | "expense-outlined" | "explore-outlined" | "external-link" | "eye-invisible-outlined" | "eye-outlined" | "face-id" | "face-meh-outlined" | "face-open-smiley-outlined" | "face-sad-outlined" | "face-smiley-outlined" | "feed-outlined" | "file-certified-outlined" | "file-clone-outlined" | "file-copy-outlined" | "file-dispose-outlined" | "file-dollar-outlined" | "file-download-outlined" | "file-export-outlined" | "file-lock-outlined" | "file-outlined" | "file-search-outlined" | "file-secured-outlined" | "file-verified-outlined" | "filter-outlined" | "folder-outlined" | "folder-user-outlined" | "funnel-filter-outline" | "graph-outlined" | "hand-holding-user-outlined" | "happy-sun-outlined" | "health-bag-outlined" | "heart-outlined" | "home-active-outlined" | "home-outlined" | "id-card-outlined" | "image-outlined" | "import-outlined" | "instapay-outlined" | "italic" | "link-1" | "link-2" | "list-outlined" | "live-help-outlined" | "location-outlined" | "lock-outlined" | "locked-file-outlined" | "log-out" | "media-content-outlined" | "menu-close" | "menu-expand" | "menu-fold-outlined" | "menu-unfold-outlined" | "moneybag-outlined" | "moon-outlined" | "more-horizontal" | "more-vertical" | "multiple-folders-outlined" | "multiple-users-outlined" | "near-me-outlined" | "node-outlined" | "number-points" | "payment-summary-outlined" | "payslip-outlined" | "pencil-outlined" | "percentage" | "phone-outlined" | "piggy-bank-outlined" | "plane-outlined" | "play-circle-outlined" | "print-outlined" | "qr-code-outlined" | "re-assign" | "redeem" | "refresh" | "remove" | "reply-outlined" | "restart" | "return-arrow" | "rostering-outlined" | "save-outlined" | "schedule-outlined" | "search-outlined" | "search-secured-outlined" | "send-outlined" | "share-1" | "share-2" | "share-outlined" | "single-down-arrow" | "single-left-arrow" | "single-right-arrow" | "single-up-arrow" | "speaker-active-outlined" | "speaker-outlined" | "star-outlined" | "stopwatch-outlined" | "strikethrough" | "suitcase-clock-outlined" | "suitcase-outlined" | "survey-outlined" | "switch-outlined" | "sync" | "target-outlined" | "timesheet-outlined" | "transfer" | "trash-bin-outlined" | "umbrela-outlined" | "unavailable" | "underline" | "unlock-outlined" | "upload-outlined" | "user-circle-outlined" | "user-gear-outlined" | "user-outlined" | "user-rectangle-outlined" | "video-1-outlined" | "video-2-outlined" | "wallet-outlined";
|
|
2
2
|
export { isHeroIcon };
|
|
@@ -27,7 +27,7 @@ export interface SwitchProps {
|
|
|
27
27
|
*/
|
|
28
28
|
testID?: string;
|
|
29
29
|
}
|
|
30
|
-
declare const _default: (({ size, disabled, checked, onPress, style, testID, }: SwitchProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
|
|
30
|
+
declare const _default: (({ size: _size, disabled, checked, onPress, style, testID, }: SwitchProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
|
|
31
31
|
Selector: <T>({ options, value, onPress, style, testID, }: import("./SelectorSwitch").SelectorSwitchProps<T>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
32
32
|
};
|
|
33
33
|
export default _default;
|