@hero-design/rn 8.127.1 → 8.128.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.
Files changed (35) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/CLAUDE.md +1 -1
  3. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  4. package/es/index.js +219 -209
  5. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  6. package/lib/index.js +219 -209
  7. package/package.json +4 -4
  8. package/src/components/Button/StyledButton.tsx +4 -4
  9. package/src/components/FAB/FAB.tsx +37 -5
  10. package/src/components/FAB/Pair/StyledFAB.tsx +2 -2
  11. package/src/components/FAB/Pair/index.tsx +6 -0
  12. package/src/components/FAB/StyledFAB.tsx +3 -1
  13. package/src/components/FilterTrigger/index.tsx +7 -6
  14. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  15. package/src/components/Icon/IconList.ts +1 -0
  16. package/src/components/StatusScreens/Error/StyledError.tsx +0 -6
  17. package/src/components/StatusScreens/Error/index.tsx +2 -6
  18. package/src/components/StatusScreens/Success/StyledSuccess.tsx +0 -6
  19. package/src/components/StatusScreens/Success/index.tsx +2 -2
  20. package/src/locales/types.ts +1 -3
  21. package/src/theme/components/fab.ts +12 -11
  22. package/src/theme/components/filterTrigger.ts +8 -10
  23. package/src/theme/global/colors/ehJobs.ts +1 -0
  24. package/src/theme/global/colors/ehWork.ts +1 -1
  25. package/types/components/Checkbox/StyledInlineCheckBox.d.ts +1 -1
  26. package/types/components/FAB/FAB.d.ts +5 -1
  27. package/types/components/FAB/Pair/StyledFAB.d.ts +3 -1
  28. package/types/components/FAB/StyledFAB.d.ts +1 -0
  29. package/types/components/Icon/IconList.d.ts +1 -1
  30. package/types/components/Icon/index.d.ts +1 -1
  31. package/types/components/StatusScreens/Error/StyledError.d.ts +1 -5
  32. package/types/components/StatusScreens/Success/StyledSuccess.d.ts +1 -5
  33. package/types/components/TextInput/index.d.ts +1 -1
  34. package/types/locales/types.d.ts +1 -3
  35. package/types/theme/components/filterTrigger.d.ts +0 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hero-design/rn",
3
- "version": "8.127.1",
3
+ "version": "8.128.1",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -79,11 +79,11 @@
79
79
  "@types/jest": "^29.5.3",
80
80
  "@types/react": "^19.0.0",
81
81
  "@types/react-native-vector-icons": "^6.4.10",
82
- "@typescript-eslint/eslint-plugin": "^5.12.1",
82
+ "@typescript-eslint/eslint-plugin": "^8.57.0",
83
83
  "babel-plugin-inline-import": "^3.0.0",
84
84
  "core-js": "^3.33.0",
85
- "eslint": "^8.56.0",
86
- "eslint-config-hd": "8.42.5",
85
+ "eslint": "^8.57.0",
86
+ "eslint-config-hd": "8.42.6",
87
87
  "expo-linear-gradient": "55.0.9",
88
88
  "jest": "^29.2.1",
89
89
  "jest-environment-jsdom": "^29.2.1",
@@ -34,7 +34,7 @@ const getButtonSize = (themeIsCompact: boolean, themeIsMedium?: boolean) => {
34
34
 
35
35
  if (themeIsMedium) return scale(48);
36
36
 
37
- return scale(60);
37
+ return scale(48);
38
38
  };
39
39
 
40
40
  const getTextButtonPaddingVertical = (
@@ -119,7 +119,7 @@ const genFilledContainerStyles = (
119
119
 
120
120
  return {
121
121
  alignSelf: 'stretch',
122
- padding: theme.__hd__.button.space.default.buttonPadding,
122
+ paddingHorizontal: theme.__hd__.button.space.default.buttonPadding,
123
123
  borderRadius: theme.__hd__.button.radii.default,
124
124
  };
125
125
  };
@@ -186,7 +186,7 @@ const genOutlineContainerStyles = (
186
186
 
187
187
  return {
188
188
  alignSelf: 'stretch',
189
- padding:
189
+ paddingHorizontal:
190
190
  theme.__hd__.button.space.default.buttonPadding -
191
191
  theme.__hd__.button.borderWidth.default,
192
192
  borderRadius: theme.__hd__.button.radii.default,
@@ -251,7 +251,7 @@ const getTextContainerStyles = (
251
251
  }
252
252
 
253
253
  return {
254
- padding: inlineText
254
+ paddingHorizontal: inlineText
255
255
  ? 0
256
256
  : theme.__hd__.button.space.default.textButtonPadding,
257
257
  };
@@ -1,5 +1,5 @@
1
1
  import React, { forwardRef } from 'react';
2
- import type { StyleProp, ViewStyle } from 'react-native';
2
+ import type { StyleProp, TextStyle, ViewStyle } from 'react-native';
3
3
  import {
4
4
  Animated,
5
5
  LayoutAnimation,
@@ -67,6 +67,11 @@ export interface FABProps {
67
67
  testID?: string;
68
68
  }
69
69
 
70
+ // Extends FABProps with internal-only props. Not part of the public API.
71
+ type InternalFABProps = FABProps & {
72
+ titleStyle?: StyleProp<TextStyle>;
73
+ };
74
+
70
75
  const IconOnlyContent = ({
71
76
  icon,
72
77
  animated,
@@ -98,15 +103,17 @@ const IconOnlyContent = ({
98
103
  const IconWithTextContent = ({
99
104
  icon,
100
105
  title,
106
+ titleStyle,
101
107
  }: {
102
108
  icon: IconName;
103
109
  title?: string;
110
+ titleStyle?: StyleProp<TextStyle>;
104
111
  }) => (
105
112
  <>
106
113
  <StyledIconContainer>
107
114
  <StyledFABIcon size="xsmall" icon={icon} testID="styled-fab-icon" />
108
115
  </StyledIconContainer>
109
- <StyledFABText>{title}</StyledFABText>
116
+ <StyledFABText style={titleStyle}>{title}</StyledFABText>
110
117
  </>
111
118
  );
112
119
 
@@ -120,9 +127,20 @@ const animateWidth = () => {
120
127
  });
121
128
  };
122
129
 
123
- const FAB = forwardRef<FABHandles, FABProps>(
130
+ // Full implementation accepts InternalFABProps including titleStyle.
131
+ // Exported as FABInternal for use by sibling HD components (e.g. FAB.Pair).
132
+ const FABWithTitleStyle = forwardRef<FABHandles, InternalFABProps>(
124
133
  (
125
- { onPress, title, icon, animated: iconAnimated, testID, active, style },
134
+ {
135
+ onPress,
136
+ title,
137
+ icon,
138
+ animated: iconAnimated,
139
+ testID,
140
+ active,
141
+ style,
142
+ titleStyle,
143
+ },
126
144
  ref
127
145
  ) => {
128
146
  const theme = useTheme();
@@ -237,6 +255,7 @@ const FAB = forwardRef<FABHandles, FABProps>(
237
255
  }
238
256
  activeOpacity={0.8}
239
257
  onPress={onPress}
258
+ themeIconOnly={isIconOnly}
240
259
  style={[
241
260
  style,
242
261
  {
@@ -276,7 +295,11 @@ const FAB = forwardRef<FABHandles, FABProps>(
276
295
  icon={active ? 'add' : icon}
277
296
  />
278
297
  ) : (
279
- <IconWithTextContent icon={icon} title={title} />
298
+ <IconWithTextContent
299
+ icon={icon}
300
+ title={title}
301
+ titleStyle={titleStyle}
302
+ />
280
303
  )}
281
304
  </Animated.View>
282
305
  </StyledFAB>
@@ -284,6 +307,15 @@ const FAB = forwardRef<FABHandles, FABProps>(
284
307
  }
285
308
  );
286
309
 
310
+ FABWithTitleStyle.displayName = 'FAB';
311
+
312
+ // Public export — clean FABProps, no internal props exposed.
313
+ // Docgen reads this component and sees only FABProps.
314
+ const FAB = forwardRef<FABHandles, FABProps>((props, ref) => (
315
+ <FABWithTitleStyle {...props} ref={ref} />
316
+ ));
317
+
287
318
  FAB.displayName = 'FAB';
288
319
 
320
+ export { FABWithTitleStyle as FABInternal };
289
321
  export default FAB;
@@ -1,5 +1,5 @@
1
1
  import styled from '@emotion/native';
2
- import FAB from '../FAB';
2
+ import { FABInternal } from '../FAB';
3
3
  import Box from '../../Box';
4
4
 
5
5
  const StyledFABPairWrapper = styled(Box)({
@@ -8,7 +8,7 @@ const StyledFABPairWrapper = styled(Box)({
8
8
  alignItems: 'center',
9
9
  });
10
10
 
11
- const StyledFAB = styled(FAB)<{ iconOnly?: boolean; isLast?: boolean }>(
11
+ const StyledFAB = styled(FABInternal)<{ iconOnly?: boolean; isLast?: boolean }>(
12
12
  ({ theme, iconOnly = false, isLast = false }) => ({
13
13
  height: theme.__hd__.fab.sizes.fabPairHeight,
14
14
  width: iconOnly ? theme.__hd__.fab.sizes.fabPairIconOnlyWidth : undefined,
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { ViewProps } from 'react-native';
3
+ import { useTheme } from '../../../theme';
3
4
  import type { FABProps } from '../FAB';
4
5
  import { StyledFAB, StyledFABPairWrapper } from './StyledFAB';
5
6
 
@@ -21,6 +22,7 @@ export interface FABPairProps extends ViewProps {
21
22
 
22
23
  const Pair = ({ fabConfig, onCancel, ...props }: FABPairProps) => {
23
24
  const { icon, title, onPress, testID } = fabConfig;
25
+ const theme = useTheme();
24
26
 
25
27
  return (
26
28
  <StyledFABPairWrapper {...props}>
@@ -38,6 +40,10 @@ const Pair = ({ fabConfig, onCancel, ...props }: FABPairProps) => {
38
40
  testID={testID}
39
41
  iconOnly={!title}
40
42
  isLast
43
+ titleStyle={{
44
+ fontSize: theme.fontSizes.medium,
45
+ fontFamily: theme.fonts.neutral.regular,
46
+ }}
41
47
  />
42
48
  </StyledFABPairWrapper>
43
49
  );
@@ -11,7 +11,8 @@ const AnimatedTouchableHighlight =
11
11
 
12
12
  const StyledFAB = styled(AnimatedTouchableHighlight)<{
13
13
  themeActive?: boolean;
14
- }>(({ theme, themeActive }) => ({
14
+ themeIconOnly?: boolean;
15
+ }>(({ theme, themeActive, themeIconOnly }) => ({
15
16
  backgroundColor: themeActive
16
17
  ? theme.__hd__.fab.colors.buttonActiveBackground
17
18
  : theme.__hd__.fab.colors.buttonBackground,
@@ -22,6 +23,7 @@ const StyledFAB = styled(AnimatedTouchableHighlight)<{
22
23
  padding: theme.__hd__.fab.space.containerPadding,
23
24
  flexDirection: 'row',
24
25
  height: theme.__hd__.fab.sizes.height,
26
+ ...(themeIconOnly && { width: theme.__hd__.fab.sizes.width }),
25
27
  ...theme.__hd__.fab.shadows.default,
26
28
  }));
27
29
 
@@ -55,8 +55,6 @@ const FilterTrigger = ({
55
55
  style,
56
56
  }: FilterTriggerProps) => {
57
57
  const shouldShowBadge = filterCount > 0 && active;
58
- const iconIntent = active ? 'text' : 'inactive';
59
- const typographyVariant = active ? 'small-bold' : 'small';
60
58
 
61
59
  return (
62
60
  <StyledFilterWrapper
@@ -69,16 +67,18 @@ const FilterTrigger = ({
69
67
  >
70
68
  {label ? (
71
69
  <>
72
- <StyledText variant={typographyVariant}>{label}</StyledText>
73
- {shouldShowBadge && <Badge content={filterCount} size="small" />}
74
70
  {suffix && (
75
71
  <Icon
76
72
  icon={suffix}
77
73
  size="xxxsmall"
78
- intent={iconIntent}
74
+ intent="text"
79
75
  testID={`${testID}-suffix`}
80
76
  />
81
77
  )}
78
+ <StyledText variant="small">{label}</StyledText>
79
+ {shouldShowBadge && (
80
+ <Badge content={filterCount} size="small" intent="primary" />
81
+ )}
82
82
  </>
83
83
  ) : (
84
84
  <>
@@ -86,7 +86,7 @@ const FilterTrigger = ({
86
86
  <Icon
87
87
  icon={suffix}
88
88
  size="xsmall"
89
- intent={iconIntent}
89
+ intent="text"
90
90
  testID={`${testID}-suffix`}
91
91
  />
92
92
  )}
@@ -94,6 +94,7 @@ const FilterTrigger = ({
94
94
  <StyledBadge
95
95
  content={filterCount}
96
96
  size="small"
97
+ intent="primary"
97
98
  themeHasLabel={!!label}
98
99
  />
99
100
  )}
@@ -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,"bolt":59011,"bookmark-added":59012,"bookmark-checked":59013,"bookmark":59014,"box-check":59015,"box":59016,"bpay":59017,"buildings":59018,"cake":59019,"calendar-clock":59020,"calendar":59021,"candy-box-menu":59022,"caret-down-small":59023,"caret-down":59024,"caret-left-small":59025,"caret-left":59026,"caret-right-small":59027,"caret-right":59028,"caret-up-small":59029,"caret-up":59030,"check-radio":59031,"circle-add":59032,"circle-cancel":59033,"circle-check":59034,"circle-down":59035,"circle-info":59036,"circle-left":59037,"circle-ok":59038,"circle-pencil":59039,"circle-question":59040,"circle-remove":59041,"circle-right":59042,"circle-up":59043,"circle-warning":59044,"clock-3":59045,"clock":59046,"cloud-download":59047,"cloud-upload":59048,"cog":59049,"coin":59050,"contacts":59051,"credit-card":59052,"diamond":59053,"direction-arrows":59054,"directory":59055,"document":59056,"dollar-coin-shine":59057,"dot":59058,"double-buildings":59059,"edit-template":59060,"envelope":59061,"exclude":59062,"expand-content":59063,"expense":59064,"explore_nearby":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,"global-pound":59104,"globe":59105,"graduation-cap":59106,"graph":59107,"happy-sun":59108,"health-bag":59109,"heart":59110,"hero-points":59111,"home":59112,"image":59113,"import":59114,"incident-siren":59115,"instapay-daily":59116,"instapay-now":59117,"instapay":59118,"list":59119,"loading-2":59120,"loading":59121,"location-on":59122,"location":59123,"lock":59124,"looks-one":59125,"looks-two":59126,"media-content":59127,"menu":59128,"money-notes":59129,"moneybag":59130,"moon":59131,"multiple-stars":59132,"multiple-users":59133,"near-me":59134,"node":59135,"open-folder":59136,"paperclip-vertical":59137,"paperclip":59138,"payment-summary":59139,"pencil":59140,"phone":59141,"piggy-bank":59142,"plane-up":59143,"plane":59144,"play-arrow":59145,"play-circle":59146,"pound-coin-shine":59147,"pound-sign":59148,"print":59149,"raising-hands":59150,"reply-arrow":59151,"reply":59152,"reschedule":59153,"rocket-launch":59154,"rostering":59155,"salary-sacrifice":59156,"save":59157,"schedule-send":59158,"schedule":59159,"search-person":59160,"search":59161,"send":59162,"speaker-active":59163,"speaker":59164,"star-award":59165,"star-badge":59166,"star-circle":59167,"star-medal":59168,"star":59169,"steps-circle":59170,"stopwatch":59171,"suitcase":59172,"surfing":59173,"survey":59174,"swag-pillar-benefit":59175,"swag-pillar-career":59176,"swag-pillar-money":59177,"swag-pillar-work":59178,"swag":59179,"swipe-right":59180,"switch":59181,"tag":59182,"target":59183,"teams":59184,"thumb-down":59185,"thumb-up":59186,"timesheet":59187,"touch-id":59188,"trash-bin":59189,"unlock":59190,"user":59191,"video-1":59192,"video-2":59193,"wallet":59194,"warning":59195,"academic-hat-outlined":59196,"accommodation-outlined":59197,"activate-outlined":59198,"add-credit-card-outlined":59199,"add-person-outlined":59200,"add-section-outlined":59201,"add-time-outlined":59202,"add":59203,"adjustment-outlined":59204,"afternoon-outlined":59205,"ai-outlined":59206,"alignment-2-outlined":59207,"alignment-outlined":59208,"all-caps":59209,"application-outlined":59210,"arrow-down":59211,"arrow-downwards":59212,"arrow-left":59213,"arrow-leftwards":59214,"arrow-right":59215,"arrow-rightwards":59216,"arrow-up":59217,"arrow-upwards":59218,"article-outlined":59219,"at-sign":59220,"auto-graph-outlined":59221,"automotive-outlined":59222,"bakery-outlined":59223,"bar-outlined":59224,"beauty-outlined":59225,"beer-outlined":59226,"bell-active-outlined":59227,"bell-outlined":59228,"bell-slash-outlined":59229,"bill-management-outlined":59230,"billing-outlined":59231,"body-outlined":59232,"bold":59233,"bolt-outlined":59234,"book-outlined":59235,"bookmark-added-outlined":59236,"bookmark-checked-outlined":59237,"bookmark-outlined":59238,"box-1-outlined":59239,"box-check-outlined":59240,"box-outlined":59241,"bullet-points":59242,"cake-outlined":59243,"calculator-outlined":59244,"calendar-dates-outlined":59245,"calendar-edit-outlined":59246,"calendar-star-outlined":59247,"call-outlined":59248,"call-split-outlined":59249,"camera-outlined":59250,"cancel":59251,"car-forward-outlined":59252,"cashback-outlined":59253,"charging-station-outlined":59254,"chat-bubble-outlined":59255,"chat-unread-outlined":59256,"checkmark":59257,"circle-add-outlined":59258,"circle-cancel-outlined":59259,"circle-down-outlined":59260,"circle-info-outlined":59261,"circle-left-outlined":59262,"circle-ok-outlined":59263,"circle-question-outlined":59264,"circle-remove-outlined":59265,"circle-right-outlined":59266,"circle-up-outlined":59267,"circle-warning-outlined":59268,"clock-2-outlined":59269,"clock-in-outlined":59270,"clock-out-outlined":59271,"clock-outlined":59272,"cog-outlined":59273,"coin-outlined":59274,"coin-super-outlined":59275,"comment-outlined":59276,"contacts-outlined":59277,"contacts-user-outlined":59278,"credit-card-outlined":59279,"cultural-site-outlined":59280,"cup-outlined":59281,"dentistry-outlined":59282,"diamond-outlined":59283,"direction-arrows-outlined":59284,"directory-outlined":59285,"document-outlined":59286,"dollar-box-outlined":59287,"dollar-card-outlined":59288,"dollar-coin-shine-outlined":59289,"dollar-credit-card-outlined":59290,"dollar-sign":59291,"double-buildings-outlined":59292,"double-left-arrows":59293,"double-right-arrows":59294,"download-box-outlined":59295,"download-outlined":59296,"edit-template-outlined":59297,"edit-user-outlined":59298,"electronics-outlined":59299,"email-outlined":59300,"end-break-outlined":59301,"enter-arrow":59302,"entertainment-outlined":59303,"envelope-outlined":59304,"evening-outlined":59305,"expense-approval-outlined":59306,"expense-outlined":59307,"explore-outlined":59308,"extension-outlined":59309,"external-link":59310,"eye-invisible-outlined":59311,"eye-outlined":59312,"face-id":59313,"face-meh-outlined":59314,"face-open-smiley-outlined":59315,"face-sad-outlined":59316,"face-smiley-outlined":59317,"fastfood-outlined":59318,"feed-outlined":59319,"feedbacks-outlined":59320,"file-certified-outlined":59321,"file-clone-outlined":59322,"file-copy-outlined":59323,"file-dispose-outlined":59324,"file-dollar-certified-outlined":59325,"file-dollar-outlined":59326,"file-download-outlined":59327,"file-export-outlined":59328,"file-lock-outlined":59329,"file-outlined":59330,"file-pound-outlined":59331,"file-search-outlined":59332,"file-secured-outlined":59333,"file-statutory-outlined":59334,"file-verified-outlined":59335,"filter-outlined":59336,"fitness-outlined":59337,"folder-outlined":59338,"folder-upload-outlined":59339,"folder-user-outlined":59340,"form-outlined":59341,"funnel-filter-outline":59342,"goal-outlined":59343,"graph-outlined":59344,"grocery-outlined":59345,"hand-holding-user-outlined":59346,"handshake-outlined":59347,"happy-sun-outlined":59348,"health-bag-outlined":59349,"heart-outlined":59350,"home-active-outlined":59351,"home-outlined":59352,"id-card-outlined":59353,"image-outlined":59354,"import-outlined":59355,"instapay-outlined":59356,"italic":59357,"job-search-outlined":59358,"leave-approval-outlined":59359,"lighting-outlined":59360,"link-1":59361,"link-2":59362,"list-outlined":59363,"live-help-outlined":59364,"local_mall_outlined":59365,"location-on-outlined":59366,"location-outlined":59367,"lock-outlined":59368,"locked-file-outlined":59369,"log-out":59370,"mail-outlined":59371,"map-outlined":59372,"media-content-outlined":59373,"menu-close":59374,"menu-expand":59375,"menu-fold-outlined":59376,"menu-unfold-outlined":59377,"moneybag-outlined":59378,"moon-outlined":59379,"more-horizontal":59380,"more-vertical":59381,"morning-outlined":59382,"multiple-folders-outlined":59383,"multiple-users-outlined":59384,"near-me-outlined":59385,"node-outlined":59386,"number-points":59387,"number":59388,"overview-outlined":59389,"park-outlined":59390,"payment-summary-outlined":59391,"payslip-outlined":59392,"pencil-outlined":59393,"percentage":59394,"phone-outlined":59395,"piggy-bank-outlined":59396,"plane-outlined":59397,"play-circle-outlined":59398,"pound-box-outlined":59399,"pound-card-outlined":59400,"pound-coin-shine-outlined":59401,"pound-credit-card-outlined":59402,"print-outlined":59403,"profile-2user-outlined":59404,"propane-tank-outlined":59405,"qr-code-outlined":59406,"qualification-outlined":59407,"question-mark":59408,"re-assign":59409,"redeem":59410,"refresh":59411,"remove":59412,"reply-outlined":59413,"restart":59414,"restaurant-outlined":59415,"resume-outlined":59416,"return-arrow":59417,"rocket-launch-outlined":59418,"rostering-outlined":59419,"safety-outlined":59420,"save-outlined":59421,"schedule-outlined":59422,"search-outlined":59423,"search-secured-outlined":59424,"send-outlined":59425,"share-1":59426,"share-2":59427,"share-outlined-2":59428,"share-outlined":59429,"shield-check-outlined":59430,"shop-outlined":59431,"shopping_basket_outlined":59432,"show-chart-outlined":59433,"single-down-arrow":59434,"single-left-arrow":59435,"single-right-arrow":59436,"single-up-arrow":59437,"smart-match-outlined":59438,"sparkle-2-outlined":59439,"sparkle-outlined":59440,"speaker-active-outlined":59441,"speaker-outlined":59442,"star-circle-outlined":59443,"star-outlined":59444,"start-break-outlined":59445,"stash-outlined":59446,"stopwatch-outlined":59447,"strikethrough":59448,"styler-outlined":59449,"suitcase-clock-outlined":59450,"suitcase-outlined":59451,"survey-outlined":59452,"switch-outlined":59453,"sync":59454,"tag-outlined":59455,"target-outlined":59456,"tennis-outlined":59457,"thumb-down-outlined":59458,"thumb-up-outlined":59459,"ticket-outlined":59460,"timesheet-outlined":59461,"timesheets-outlined":59462,"today-outlined":59463,"transfer":59464,"transportation-outlined":59465,"trash-bin-outlined":59466,"umbrela-outlined":59467,"unavailability-outlined":59468,"unavailable":59469,"underline":59470,"union-outlined":59471,"unlock-outlined":59472,"upload-outlined":59473,"user-add-outlined":59474,"user-circle-outlined":59475,"user-gear-outlined":59476,"user-out-outlined":59477,"user-outlined":59478,"user-rectangle-outlined":59479,"video-1-outlined":59480,"video-2-outlined":59481,"volunteer-outlined":59482,"wallet-outlined":59483,"wellness-outlined":59484}
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,"bolt":59011,"bookmark-added":59012,"bookmark-checked":59013,"bookmark":59014,"box-check":59015,"box":59016,"bpay":59017,"buildings":59018,"cake":59019,"calendar-clock":59020,"calendar":59021,"candy-box-menu":59022,"caret-down-small":59023,"caret-down":59024,"caret-left-small":59025,"caret-left":59026,"caret-right-small":59027,"caret-right":59028,"caret-up-small":59029,"caret-up":59030,"check-radio":59031,"circle-add":59032,"circle-cancel":59033,"circle-check":59034,"circle-down":59035,"circle-info":59036,"circle-left":59037,"circle-ok":59038,"circle-pencil":59039,"circle-question":59040,"circle-remove":59041,"circle-right":59042,"circle-up":59043,"circle-warning":59044,"clock-3":59045,"clock":59046,"cloud-download":59047,"cloud-upload":59048,"cog":59049,"coin":59050,"contacts":59051,"credit-card":59052,"diamond":59053,"direction-arrows":59054,"directory":59055,"document":59056,"dollar-coin-shine":59057,"dot":59058,"double-buildings":59059,"edit-template":59060,"envelope":59061,"exclude":59062,"expand-content":59063,"expense":59064,"explore_nearby":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,"global-pound":59104,"globe":59105,"graduation-cap":59106,"graph":59107,"happy-sun":59108,"health-bag":59109,"heart":59110,"hero-points":59111,"home":59112,"image":59113,"import":59114,"incident-siren":59115,"instapay-daily":59116,"instapay-now":59117,"instapay":59118,"list":59119,"loading-2":59120,"loading":59121,"location-on":59122,"location":59123,"lock":59124,"looks-one":59125,"looks-two":59126,"media-content":59127,"menu":59128,"money-notes":59129,"moneybag":59130,"moon":59131,"multiple-stars":59132,"multiple-users":59133,"near-me":59134,"node":59135,"open-folder":59136,"paperclip-vertical":59137,"paperclip":59138,"payment-summary":59139,"pencil":59140,"phone":59141,"piggy-bank":59142,"plane-up":59143,"plane":59144,"play-arrow":59145,"play-circle":59146,"pound-coin-shine":59147,"pound-sign":59148,"print":59149,"raising-hands":59150,"reply-arrow":59151,"reply":59152,"reschedule":59153,"rocket-launch":59154,"rostering":59155,"salary-sacrifice":59156,"save":59157,"schedule-send":59158,"schedule":59159,"search-person":59160,"search":59161,"send":59162,"speaker-active":59163,"speaker":59164,"star-award":59165,"star-badge":59166,"star-circle":59167,"star-medal":59168,"star":59169,"steps-circle":59170,"stopwatch":59171,"suitcase":59172,"surfing":59173,"survey":59174,"swag-pillar-benefit":59175,"swag-pillar-career":59176,"swag-pillar-money":59177,"swag-pillar-work":59178,"swag":59179,"swipe-right":59180,"switch":59181,"tag":59182,"target":59183,"teams":59184,"thumb-down":59185,"thumb-up":59186,"timesheet":59187,"touch-id":59188,"trash-bin":59189,"unlock":59190,"user":59191,"video-1":59192,"video-2":59193,"wallet":59194,"warning":59195,"academic-hat-outlined":59196,"accommodation-outlined":59197,"activate-outlined":59198,"add-credit-card-outlined":59199,"add-person-outlined":59200,"add-section-outlined":59201,"add-time-outlined":59202,"add":59203,"adjustment-outlined":59204,"afternoon-outlined":59205,"ai-outlined":59206,"alignment-2-outlined":59207,"alignment-outlined":59208,"all-caps":59209,"application-outlined":59210,"arrow-down":59211,"arrow-downwards":59212,"arrow-left":59213,"arrow-leftwards":59214,"arrow-right":59215,"arrow-rightwards":59216,"arrow-up":59217,"arrow-upwards":59218,"article-outlined":59219,"at-sign":59220,"auto-graph-outlined":59221,"automotive-outlined":59222,"bakery-outlined":59223,"bar-outlined":59224,"beauty-outlined":59225,"beer-outlined":59226,"bell-active-outlined":59227,"bell-outlined":59228,"bell-slash-outlined":59229,"bill-management-outlined":59230,"billing-outlined":59231,"body-outlined":59232,"bold":59233,"bolt-outlined":59234,"book-outlined":59235,"bookmark-added-outlined":59236,"bookmark-checked-outlined":59237,"bookmark-outlined":59238,"box-1-outlined":59239,"box-check-outlined":59240,"box-outlined":59241,"bullet-points":59242,"cake-outlined":59243,"calculator-outlined":59244,"calendar-dates-outlined":59245,"calendar-edit-outlined":59246,"calendar-star-outlined":59247,"call-outlined":59248,"call-split-outlined":59249,"camera-outlined":59250,"cancel":59251,"car-forward-outlined":59252,"cashback-outlined":59253,"charging-station-outlined":59254,"chat-bubble-outlined":59255,"chat-unread-outlined":59256,"checkmark":59257,"circle-add-outlined":59258,"circle-cancel-outlined":59259,"circle-down-outlined":59260,"circle-info-outlined":59261,"circle-left-outlined":59262,"circle-ok-outlined":59263,"circle-question-outlined":59264,"circle-remove-outlined":59265,"circle-right-outlined":59266,"circle-up-outlined":59267,"circle-warning-outlined":59268,"clock-2-outlined":59269,"clock-in-outlined":59270,"clock-out-outlined":59271,"clock-outlined":59272,"cog-outlined":59273,"coin-outlined":59274,"coin-super-outlined":59275,"comment-outlined":59276,"contacts-outlined":59277,"contacts-user-outlined":59278,"credit-card-outlined":59279,"cultural-site-outlined":59280,"cup-outlined":59281,"dentistry-outlined":59282,"diamond-outlined":59283,"direction-arrows-outlined":59284,"directory-outlined":59285,"document-outlined":59286,"dollar-box-outlined":59287,"dollar-card-outlined":59288,"dollar-coin-shine-outlined":59289,"dollar-credit-card-outlined":59290,"dollar-sign":59291,"double-buildings-outlined":59292,"double-left-arrows":59293,"double-right-arrows":59294,"download-box-outlined":59295,"download-outlined":59296,"edit-template-outlined":59297,"edit-user-outlined":59298,"electronics-outlined":59299,"email-outlined":59300,"end-break-outlined":59301,"enter-arrow":59302,"entertainment-outlined":59303,"envelope-outlined":59304,"evening-outlined":59305,"expense-approval-outlined":59306,"expense-outlined":59307,"explore-outlined":59308,"extension-outlined":59309,"external-link":59310,"eye-invisible-outlined":59311,"eye-outlined":59312,"face-id":59313,"face-meh-outlined":59314,"face-open-smiley-outlined":59315,"face-sad-outlined":59316,"face-smiley-outlined":59317,"fastfood-outlined":59318,"feed-outlined":59319,"feedbacks-outlined":59320,"file-certified-outlined":59321,"file-clone-outlined":59322,"file-copy-outlined":59323,"file-dispose-outlined":59324,"file-dollar-certified-outlined":59325,"file-dollar-outlined":59326,"file-download-outlined":59327,"file-export-outlined":59328,"file-lock-outlined":59329,"file-outlined":59330,"file-pound-outlined":59331,"file-search-outlined":59332,"file-secured-outlined":59333,"file-statutory-outlined":59334,"file-verified-outlined":59335,"filter-outlined":59336,"fitness-outlined":59337,"folder-outlined":59338,"folder-upload-outlined":59339,"folder-user-outlined":59340,"form-outlined":59341,"funnel-filter-outline":59342,"goal-outlined":59343,"graph-outlined":59344,"grocery-outlined":59345,"hand-holding-user-outlined":59346,"handshake-outlined":59347,"happy-sun-outlined":59348,"health-bag-outlined":59349,"heart-outlined":59350,"history-outlined":59351,"home-active-outlined":59352,"home-outlined":59353,"id-card-outlined":59354,"image-outlined":59355,"import-outlined":59356,"instapay-outlined":59357,"italic":59358,"job-search-outlined":59359,"leave-approval-outlined":59360,"lighting-outlined":59361,"link-1":59362,"link-2":59363,"list-outlined":59364,"live-help-outlined":59365,"local_mall_outlined":59366,"location-on-outlined":59367,"location-outlined":59368,"lock-outlined":59369,"locked-file-outlined":59370,"log-out":59371,"mail-outlined":59372,"map-outlined":59373,"media-content-outlined":59374,"menu-close":59375,"menu-expand":59376,"menu-fold-outlined":59377,"menu-unfold-outlined":59378,"moneybag-outlined":59379,"moon-outlined":59380,"more-horizontal":59381,"more-vertical":59382,"morning-outlined":59383,"multiple-folders-outlined":59384,"multiple-users-outlined":59385,"near-me-outlined":59386,"node-outlined":59387,"number-points":59388,"number":59389,"overview-outlined":59390,"park-outlined":59391,"payment-summary-outlined":59392,"payslip-outlined":59393,"pencil-outlined":59394,"percentage":59395,"phone-outlined":59396,"piggy-bank-outlined":59397,"plane-outlined":59398,"play-circle-outlined":59399,"pound-box-outlined":59400,"pound-card-outlined":59401,"pound-coin-shine-outlined":59402,"pound-credit-card-outlined":59403,"print-outlined":59404,"profile-2user-outlined":59405,"propane-tank-outlined":59406,"qr-code-outlined":59407,"qualification-outlined":59408,"question-mark":59409,"re-assign":59410,"redeem":59411,"refresh":59412,"remove":59413,"reply-outlined":59414,"restart":59415,"restaurant-outlined":59416,"resume-outlined":59417,"return-arrow":59418,"rocket-launch-outlined":59419,"rostering-outlined":59420,"safety-outlined":59421,"save-outlined":59422,"schedule-outlined":59423,"search-outlined":59424,"search-secured-outlined":59425,"send-outlined":59426,"share-1":59427,"share-2":59428,"share-outlined-2":59429,"share-outlined":59430,"shield-check-outlined":59431,"shop-outlined":59432,"shopping_basket_outlined":59433,"show-chart-outlined":59434,"single-down-arrow":59435,"single-left-arrow":59436,"single-right-arrow":59437,"single-up-arrow":59438,"smart-match-outlined":59439,"sparkle-2-outlined":59440,"sparkle-outlined":59441,"speaker-active-outlined":59442,"speaker-outlined":59443,"star-circle-outlined":59444,"star-outlined":59445,"start-break-outlined":59446,"stash-outlined":59447,"stopwatch-outlined":59448,"strikethrough":59449,"styler-outlined":59450,"suitcase-clock-outlined":59451,"suitcase-outlined":59452,"survey-outlined":59453,"switch-outlined":59454,"sync":59455,"tag-outlined":59456,"target-outlined":59457,"tennis-outlined":59458,"thumb-down-outlined":59459,"thumb-up-outlined":59460,"ticket-outlined":59461,"timesheet-outlined":59462,"timesheets-outlined":59463,"today-outlined":59464,"transfer":59465,"transportation-outlined":59466,"trash-bin-outlined":59467,"umbrela-outlined":59468,"unavailability-outlined":59469,"unavailable":59470,"underline":59471,"union-outlined":59472,"unlock-outlined":59473,"upload-outlined":59474,"user-add-outlined":59475,"user-circle-outlined":59476,"user-gear-outlined":59477,"user-out-outlined":59478,"user-outlined":59479,"user-rectangle-outlined":59480,"video-1-outlined":59481,"video-2-outlined":59482,"volunteer-outlined":59483,"wallet-outlined":59484,"wellness-outlined":59485}
@@ -351,6 +351,7 @@ const IconList = [
351
351
  'happy-sun-outlined',
352
352
  'health-bag-outlined',
353
353
  'heart-outlined',
354
+ 'history-outlined',
354
355
  'home-active-outlined',
355
356
  'home-outlined',
356
357
  'id-card-outlined',
@@ -42,13 +42,8 @@ const StyledErrorButtonContainer = styled(View)(({ theme }) => ({
42
42
  paddingVertical: theme.__hd__.error.space.button.wrapperVerticalPadding,
43
43
  }));
44
44
 
45
- const StyledErrorButtonPrimary = styled(Button)(({ theme }) => ({
46
- padding: theme.__hd__.error.space.button.padding,
47
- }));
48
-
49
45
  const StyledErrorButtonSecondary = styled(Button)(({ theme }) => ({
50
46
  marginTop: theme.__hd__.error.space.button.margin,
51
- padding: theme.__hd__.error.space.button.padding,
52
47
  }));
53
48
 
54
49
  const StyledErrorImageContainer = styled(View)(({ theme }) => ({
@@ -88,7 +83,6 @@ export {
88
83
  StyledErrorImage,
89
84
  StyledErrorContainer,
90
85
  StyledErrorButtonContainer,
91
- StyledErrorButtonPrimary,
92
86
  StyledErrorButtonSecondary,
93
87
  StyledErrorContent,
94
88
  StyledErrorTitle,
@@ -8,7 +8,6 @@ import type {
8
8
  import type { ErrorVariant } from './StyledError';
9
9
  import {
10
10
  StyledErrorButtonContainer,
11
- StyledErrorButtonPrimary,
12
11
  StyledErrorButtonSecondary,
13
12
  StyledErrorContainer,
14
13
  StyledErrorContent,
@@ -23,6 +22,7 @@ import { useDeprecation } from '../../../utils/hooks';
23
22
  import type { ImageProps } from '../../Image/index';
24
23
  import Illustration from '../../Illustration';
25
24
  import type { IllustrationName } from '../../Illustration';
25
+ import Button from '../../Button';
26
26
 
27
27
  interface ErrorProps extends ViewProps {
28
28
  /**
@@ -164,11 +164,7 @@ const ErrorPage = ({
164
164
  {showButtonContainer && (
165
165
  <StyledErrorButtonContainer>
166
166
  {showCta && (
167
- <StyledErrorButtonPrimary
168
- variant="filled"
169
- text={ctaText}
170
- onPress={onCtaPress}
171
- />
167
+ <Button variant="filled" text={ctaText} onPress={onCtaPress} />
172
168
  )}
173
169
  {showSecondaryCta && (
174
170
  <StyledErrorButtonSecondary
@@ -69,12 +69,7 @@ const StyledSuccessButtonContainer = styled(View)(({ theme }) => ({
69
69
  paddingVertical: theme.__hd__.success.space.button.wrapperVerticalPadding,
70
70
  }));
71
71
 
72
- const StyledSuccessButtonPrimary = styled(Button)(({ theme }) => ({
73
- padding: theme.__hd__.success.space.button.padding,
74
- }));
75
-
76
72
  const StyledSuccessButtonSecondary = styled(Button)(({ theme }) => ({
77
- padding: theme.__hd__.success.space.button.padding,
78
73
  marginTop: theme.__hd__.success.space.button.secondaryCTAMarginTop,
79
74
  }));
80
75
 
@@ -93,7 +88,6 @@ export {
93
88
  StyledSuccessTitle,
94
89
  StyledSuccessDescription,
95
90
  StyledSuccessButtonContainer,
96
- StyledSuccessButtonPrimary,
97
91
  StyledSuccessButtonSecondary,
98
92
  StyledSuccessModal,
99
93
  };
@@ -14,7 +14,6 @@ import {
14
14
  StyledSuccessTitle,
15
15
  StyledSuccessDescription,
16
16
  StyledSuccessButtonContainer,
17
- StyledSuccessButtonPrimary,
18
17
  StyledSuccessModal,
19
18
  StyledSuccessIconContainer,
20
19
  StyledSuccessButtonSecondary,
@@ -23,6 +22,7 @@ import type { ImageProps } from '../../Image';
23
22
  import { noop } from '../../../utils/functions';
24
23
  import type { IllustrationName } from '../../Illustration';
25
24
  import Illustration from '../../Illustration';
25
+ import Button from '../../Button';
26
26
 
27
27
  interface SuccessProps extends ViewProps {
28
28
  /**
@@ -152,7 +152,7 @@ const SuccessPage = ({
152
152
 
153
153
  {!!ctaText && (
154
154
  <StyledSuccessButtonContainer>
155
- <StyledSuccessButtonPrimary text={ctaText} onPress={onCtaPress} />
155
+ <Button text={ctaText} onPress={onCtaPress} />
156
156
  {!!showSecondaryButton && (
157
157
  <StyledSuccessButtonSecondary
158
158
  variant="text"
@@ -1,6 +1,4 @@
1
- const LOCALES = ['en-AU', 'en-CA'] as const;
2
-
3
- export type LocaleCode = typeof LOCALES[number];
1
+ export type LocaleCode = 'en-AU' | 'en-CA';
4
2
 
5
3
  export type DateTimeFormats = {
6
4
  fullDate: string;
@@ -2,20 +2,20 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getFABTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- buttonBackground: theme.colors.overlayGlobalSurface,
6
- buttonPressedBackground: theme.colors.overlayGlobalSurface,
7
- buttonActiveBackground: theme.colors.overlayGlobalSurface,
5
+ buttonBackground: theme.colors.primary,
6
+ buttonPressedBackground: theme.colors.primary,
7
+ buttonActiveBackground: theme.colors.primary,
8
8
  icon: theme.colors.onDarkGlobalSurface,
9
- actionItemBackground: theme.colors.overlayGlobalSurface,
10
- actionItemPressedBackground: theme.colors.overlayGlobalSurface,
9
+ actionItemBackground: theme.colors.defaultGlobalSurface,
10
+ actionItemPressedBackground: theme.colors.defaultGlobalSurface,
11
11
  backdropBackground: theme.colors.black,
12
12
  titleText: theme.colors.onDarkGlobalSurface,
13
- actionItemText: theme.colors.onDarkGlobalSurface,
13
+ actionItemText: theme.colors.onDefaultGlobalSurface,
14
14
  };
15
15
 
16
16
  const sizes = {
17
- width: theme.sizes.xxxxxlarge,
18
- height: theme.sizes.xxxxxlarge,
17
+ width: theme.sizes.xxxlarge,
18
+ height: theme.sizes.xxxlarge,
19
19
  iconContainerWidth: theme.sizes.large,
20
20
  iconContainerHeight: theme.sizes.large,
21
21
  fabPairHeight: theme.sizes.xxxlarge,
@@ -24,12 +24,12 @@ const getFABTheme = (theme: GlobalTheme) => {
24
24
 
25
25
  const fonts = {
26
26
  actionItemText: theme.fonts.neutral.regular,
27
- title: theme.fonts.neutral.semiBold,
27
+ title: theme.fonts.neutral.regular,
28
28
  };
29
29
 
30
30
  const fontSizes = {
31
31
  actionItemText: theme.fontSizes.large,
32
- title: theme.fontSizes.large,
32
+ title: theme.fontSizes.medium,
33
33
  };
34
34
 
35
35
  const lineHeights = {
@@ -49,7 +49,7 @@ const getFABTheme = (theme: GlobalTheme) => {
49
49
  actionItemTextPaddingLeft: theme.space.xsmall,
50
50
  buttonMarginTop: theme.space.large,
51
51
  buttonMarginRight: theme.space.large,
52
- containerPadding: theme.space.large - theme.space.xsmall,
52
+ containerPadding: theme.space.smallMedium,
53
53
  titleMarginHorizontal: theme.space.small,
54
54
  fabPairMarginRight: theme.space.small,
55
55
  };
@@ -69,6 +69,7 @@ const getFABTheme = (theme: GlobalTheme) => {
69
69
  space,
70
70
  };
71
71
  };
72
+
72
73
  type GetFABThemeReturnType = ReturnType<typeof getFABTheme>;
73
74
  export interface FABThemeType extends GetFABThemeReturnType {
74
75
  /**
@@ -4,21 +4,19 @@ import type { GlobalTheme } from '../global';
4
4
  const getFilterTriggerTheme = (theme: GlobalTheme) => {
5
5
  const borderWidths = {
6
6
  wrapper: {
7
- filled: theme.borderWidths.medium,
8
- outlined: theme.borderWidths.medium,
7
+ filled: theme.borderWidths.base,
8
+ outlined: theme.borderWidths.base,
9
9
  ghost: 0,
10
10
  },
11
11
  };
12
12
  const colors = {
13
13
  wrapper: {
14
- activeBackground: theme.colors.highlightedSurface,
15
- inactiveBackground: theme.colors.neutralGlobalSurface,
16
14
  background: {
17
15
  active: {
18
16
  filled: theme.colors.highlightedSurface,
19
- outlined: 'transparent',
20
- ghost: 'transparent',
21
- filledLabeless: theme.colors.neutralGlobalSurface,
17
+ outlined: theme.colors.highlightedSurface,
18
+ ghost: theme.colors.highlightedSurface,
19
+ filledLabeless: theme.colors.highlightedSurface,
22
20
  },
23
21
  inactive: {
24
22
  filled: theme.colors.neutralGlobalSurface,
@@ -29,13 +27,13 @@ const getFilterTriggerTheme = (theme: GlobalTheme) => {
29
27
  border: {
30
28
  active: {
31
29
  filled: theme.colors.highlightedSurface,
32
- outlined: theme.colors.primaryOutline,
30
+ outlined: theme.colors.primary,
33
31
  ghost: 'transparent',
34
- filledLabeless: theme.colors.neutralGlobalSurface,
32
+ filledLabeless: theme.colors.highlightedSurface,
35
33
  },
36
34
  inactive: {
37
35
  filled: theme.colors.neutralGlobalSurface,
38
- outlined: theme.colors.secondaryOutline,
36
+ outlined: theme.colors.primary,
39
37
  ghost: 'transparent',
40
38
  },
41
39
  },
@@ -4,6 +4,7 @@ import type { SystemPalette } from './types';
4
4
  const ehJobsSystemPalette: SystemPalette = {
5
5
  ...swagLightSystemPalette,
6
6
  name: 'ehJobs',
7
+ primary: '#7622d7',
7
8
  secondary: '#40d1ff',
8
9
  onSecondary: '#460078',
9
10
  secondaryHighlightedSurface: '#ecfaff',
@@ -3,7 +3,7 @@ import type { SystemPalette, BrandSystemPalette } from './types';
3
3
  import swagLightGlobalPalette from './swagLightGlobal';
4
4
 
5
5
  const ehWorkBrandSystemPalette: BrandSystemPalette = {
6
- primary: '#460078',
6
+ primary: '#7622d7',
7
7
  onPrimary: '#fdfbff',
8
8
  secondary: '#b382fd',
9
9
  onSecondary: palette.white,
@@ -32,7 +32,7 @@ export declare const StyledCheckMark: import("@emotion/native").StyledComponent<
32
32
  as?: React.ElementType;
33
33
  } & {
34
34
  themeSize: "small" | "xsmall" | "medium" | "large" | "xlarge" | "xxxsmall";
35
- themeIntent: "secondary" | "primary" | "text" | "warning" | "info" | "danger" | "success" | "disabled-text" | "text-inverted" | "muted" | "inactive";
35
+ themeIntent: "primary" | "secondary" | "text" | "warning" | "info" | "danger" | "success" | "disabled-text" | "text-inverted" | "muted" | "inactive";
36
36
  } & {
37
37
  ref?: import("react").Ref<import("react-native-vector-icons/Icon").Icon> | undefined;
38
38
  } & {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { StyleProp, ViewStyle } from 'react-native';
2
+ import type { StyleProp, TextStyle, ViewStyle } from 'react-native';
3
3
  import { Animated } from 'react-native';
4
4
  import type { IconName } from '../Icon';
5
5
  export type FABHandles = {
@@ -37,5 +37,9 @@ export interface FABProps {
37
37
  */
38
38
  testID?: string;
39
39
  }
40
+ declare const FABWithTitleStyle: React.ForwardRefExoticComponent<FABProps & {
41
+ titleStyle?: StyleProp<TextStyle>;
42
+ } & React.RefAttributes<FABHandles>>;
40
43
  declare const FAB: React.ForwardRefExoticComponent<FABProps & React.RefAttributes<FABHandles>>;
44
+ export { FABWithTitleStyle as FABInternal };
41
45
  export default FAB;
@@ -2,7 +2,9 @@ declare const StyledFABPairWrapper: import("@emotion/native").StyledComponent<im
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
4
  }, {}, {}>;
5
- declare const StyledFAB: import("@emotion/native").StyledComponent<import("../FAB").FABProps & import("react").RefAttributes<import("../FAB").FABHandles> & {
5
+ declare const StyledFAB: import("@emotion/native").StyledComponent<import("../FAB").FABProps & {
6
+ titleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
7
+ } & import("react").RefAttributes<import("../FAB").FABHandles> & {
6
8
  theme?: import("@emotion/react").Theme;
7
9
  as?: React.ElementType;
8
10
  } & {
@@ -6,6 +6,7 @@ declare const StyledFAB: import("@emotion/native").StyledComponent<Animated.Anim
6
6
  as?: React.ElementType;
7
7
  } & {
8
8
  themeActive?: boolean;
9
+ themeIconOnly?: boolean;
9
10
  }, {}, {}>;
10
11
  declare const StyledFABIcon: import("@emotion/native").StyledComponent<IconProps & {
11
12
  theme?: import("@emotion/react").Theme;