@hero-design/rn 8.106.1-alpha.0 → 8.107.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.
Files changed (115) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/CHANGELOG.md +13 -5
  3. package/es/index.js +207 -130
  4. package/lib/index.js +208 -129
  5. package/package.json +2 -2
  6. package/src/components/Card/DataCard/StyledDataCard.tsx +6 -1
  7. package/src/components/Card/index.tsx +2 -0
  8. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +6 -3
  9. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +2 -1
  10. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +2 -1
  11. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +4 -2
  12. package/src/components/Illustration/BaseSvg.tsx +28 -0
  13. package/src/components/Illustration/__tests__/index.spec.tsx +95 -0
  14. package/src/components/{StatusScreens/StatusIcon → Illustration}/assets/Add.tsx +6 -5
  15. package/src/components/{StatusScreens/StatusIcon → Illustration}/assets/Boom.tsx +12 -5
  16. package/src/components/{StatusScreens/StatusIcon → Illustration}/assets/Build.tsx +12 -5
  17. package/src/components/{StatusScreens/StatusIcon → Illustration}/assets/Clock.tsx +12 -5
  18. package/src/components/{StatusScreens/StatusIcon → Illustration}/assets/Confetti.tsx +14 -7
  19. package/src/components/{StatusScreens/StatusIcon → Illustration}/assets/Connections.tsx +12 -5
  20. package/src/components/{StatusScreens/StatusIcon → Illustration}/assets/Error.tsx +13 -6
  21. package/src/components/{StatusScreens/StatusIcon → Illustration}/assets/Info.tsx +12 -5
  22. package/src/components/{StatusScreens/StatusIcon → Illustration}/assets/List.tsx +12 -5
  23. package/src/components/{StatusScreens/StatusIcon → Illustration}/assets/Location.tsx +12 -5
  24. package/src/components/{StatusScreens/StatusIcon → Illustration}/assets/Lock.tsx +12 -5
  25. package/src/components/{StatusScreens/StatusIcon → Illustration}/assets/Merge.tsx +12 -5
  26. package/src/components/{StatusScreens/StatusIcon → Illustration}/assets/NoResult.tsx +12 -5
  27. package/src/components/{StatusScreens/StatusIcon → Illustration}/assets/Notifications.tsx +12 -5
  28. package/src/components/{StatusScreens/StatusIcon → Illustration}/assets/Search.tsx +12 -5
  29. package/src/components/{StatusScreens/StatusIcon → Illustration}/assets/Star.tsx +12 -5
  30. package/src/components/{StatusScreens/StatusIcon → Illustration}/assets/Success.tsx +13 -6
  31. package/src/components/{StatusScreens/StatusIcon → Illustration}/assets/Unlock.tsx +12 -5
  32. package/src/components/{StatusScreens/StatusIcon → Illustration}/assets/User.tsx +12 -5
  33. package/src/components/Illustration/constants.ts +3 -0
  34. package/src/components/{StatusScreens/StatusIcon/index.tsx → Illustration/illustrations.ts} +5 -27
  35. package/src/components/Illustration/index.tsx +64 -0
  36. package/src/components/Illustration/types.ts +7 -0
  37. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +2 -0
  38. package/src/components/Search/SearchOneLine.tsx +2 -1
  39. package/src/components/Search/__tests__/__snapshots__/SearchOneLine.spec.tsx.snap +7 -7
  40. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +14 -7
  41. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +12 -6
  42. package/src/components/StatusScreens/Empty/__tests__/__snapshots__/index.spec.tsx.snap +123 -114
  43. package/src/components/StatusScreens/Empty/index.tsx +5 -5
  44. package/src/components/StatusScreens/Error/__tests__/__snapshots__/index.spec.tsx.snap +157 -148
  45. package/src/components/StatusScreens/Error/index.tsx +5 -5
  46. package/src/components/StatusScreens/Success/__tests__/__snapshots__/index.spec.tsx.snap +123 -114
  47. package/src/components/StatusScreens/Success/index.tsx +5 -5
  48. package/src/components/TextInput/StyledTextInput.tsx +2 -1
  49. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +34 -17
  50. package/src/components/TextInput/__tests__/index.spec.tsx +34 -0
  51. package/src/components/TextInput/index.tsx +4 -1
  52. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +4 -2
  53. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +4 -2
  54. package/src/index.ts +7 -0
  55. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +12 -2
  56. package/src/theme/components/card.ts +5 -1
  57. package/src/theme/components/textInput.ts +9 -2
  58. package/stats/8.106.1/rn-stats.html +4842 -0
  59. package/stats/8.107.0/rn-stats.html +4844 -0
  60. package/types/components/Card/DataCard/StyledDataCard.d.ts +7 -1
  61. package/types/components/Card/index.d.ts +7 -0
  62. package/types/components/Illustration/BaseSvg.d.ts +8 -0
  63. package/types/components/Illustration/assets/Add.d.ts +4 -0
  64. package/types/components/Illustration/assets/Boom.d.ts +4 -0
  65. package/types/components/Illustration/assets/Build.d.ts +4 -0
  66. package/types/components/Illustration/assets/Clock.d.ts +4 -0
  67. package/types/components/Illustration/assets/Confetti.d.ts +4 -0
  68. package/types/components/Illustration/assets/Connections.d.ts +4 -0
  69. package/types/components/Illustration/assets/Error.d.ts +4 -0
  70. package/types/components/Illustration/assets/Info.d.ts +4 -0
  71. package/types/components/Illustration/assets/List.d.ts +4 -0
  72. package/types/components/Illustration/assets/Location.d.ts +4 -0
  73. package/types/components/Illustration/assets/Lock.d.ts +4 -0
  74. package/types/components/Illustration/assets/Merge.d.ts +4 -0
  75. package/types/components/Illustration/assets/NoResult.d.ts +4 -0
  76. package/types/components/Illustration/assets/Notifications.d.ts +4 -0
  77. package/types/components/Illustration/assets/Search.d.ts +4 -0
  78. package/types/components/Illustration/assets/Star.d.ts +4 -0
  79. package/types/components/Illustration/assets/Success.d.ts +4 -0
  80. package/types/components/Illustration/assets/Unlock.d.ts +4 -0
  81. package/types/components/Illustration/assets/User.d.ts +4 -0
  82. package/types/components/Illustration/constants.d.ts +1 -0
  83. package/types/components/Illustration/illustrations.d.ts +23 -0
  84. package/types/components/Illustration/index.d.ts +29 -0
  85. package/types/components/Illustration/types.d.ts +7 -0
  86. package/types/components/StatusScreens/Empty/index.d.ts +2 -2
  87. package/types/components/StatusScreens/Error/index.d.ts +2 -2
  88. package/types/components/StatusScreens/Success/index.d.ts +2 -2
  89. package/types/components/TextInput/index.d.ts +2 -1
  90. package/types/index.d.ts +2 -1
  91. package/types/theme/components/card.d.ts +3 -0
  92. package/types/theme/components/textInput.d.ts +8 -1
  93. package/src/components/StatusScreens/StatusIcon/__tests__/index.spec.tsx +0 -35
  94. package/src/components/StatusScreens/StatusIcon/types.ts +0 -5
  95. package/types/components/StatusScreens/StatusIcon/assets/Add.d.ts +0 -4
  96. package/types/components/StatusScreens/StatusIcon/assets/Boom.d.ts +0 -4
  97. package/types/components/StatusScreens/StatusIcon/assets/Build.d.ts +0 -4
  98. package/types/components/StatusScreens/StatusIcon/assets/Clock.d.ts +0 -4
  99. package/types/components/StatusScreens/StatusIcon/assets/Confetti.d.ts +0 -4
  100. package/types/components/StatusScreens/StatusIcon/assets/Connections.d.ts +0 -4
  101. package/types/components/StatusScreens/StatusIcon/assets/Error.d.ts +0 -4
  102. package/types/components/StatusScreens/StatusIcon/assets/Info.d.ts +0 -4
  103. package/types/components/StatusScreens/StatusIcon/assets/List.d.ts +0 -4
  104. package/types/components/StatusScreens/StatusIcon/assets/Location.d.ts +0 -4
  105. package/types/components/StatusScreens/StatusIcon/assets/Lock.d.ts +0 -4
  106. package/types/components/StatusScreens/StatusIcon/assets/Merge.d.ts +0 -4
  107. package/types/components/StatusScreens/StatusIcon/assets/NoResult.d.ts +0 -4
  108. package/types/components/StatusScreens/StatusIcon/assets/Notifications.d.ts +0 -4
  109. package/types/components/StatusScreens/StatusIcon/assets/Search.d.ts +0 -4
  110. package/types/components/StatusScreens/StatusIcon/assets/Star.d.ts +0 -4
  111. package/types/components/StatusScreens/StatusIcon/assets/Success.d.ts +0 -4
  112. package/types/components/StatusScreens/StatusIcon/assets/Unlock.d.ts +0 -4
  113. package/types/components/StatusScreens/StatusIcon/assets/User.d.ts +0 -4
  114. package/types/components/StatusScreens/StatusIcon/index.d.ts +0 -29
  115. package/types/components/StatusScreens/StatusIcon/types.d.ts +0 -5
@@ -1,4 +1,4 @@
1
- (node:4180) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
1
+ (node:3307) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
2
2
  (Use `node --trace-warnings ...` to show where the warning was created)
3
3
  
4
4
  src/index.ts → lib/index.js, es/index.js...
@@ -15,9 +15,9 @@ node_modules/d3-selection/src/selection/index.js -> node_modules/d3-selection/sr
15
15
     ~~~~~~~~~~~~~~~~~~~
16
16
  
17
17
  (!) [plugin node-resolve] preferring built-in module 'events' over local alternative at '/home/runner/work/hero-design/hero-design/node_modules/events/events.js', pass 'preferBuiltins: false' to disable this behavior or 'preferBuiltins: true' to disable this warning.or passing a function to 'preferBuiltins' to provide more fine-grained control over which built-in modules to prefer.
18
- created lib/index.js, es/index.js in 1m 11s
18
+ created lib/index.js, es/index.js in 1m 10.5s
19
19
  
20
20
  /home/runner/work/hero-design/hero-design/packages/rn/src/locales/en_AU.ts, /home/runner/work/hero-design/hero-design/packages/rn/src/locales/en_CA.ts, /home/runner/work/hero-design/hero-design/packages/rn/src/locales/index.ts, /home/runner/work/hero-design/hero-design/packages/rn/src/locales/types.ts → ., ....
21
21
  (!) Generated empty chunks
22
22
  "locales/types" and "locales/types"
23
- created ., . in 20.9s
23
+ created ., . in 20.4s
package/CHANGELOG.md CHANGED
@@ -1,17 +1,25 @@
1
1
  # @hero-design/rn
2
2
 
3
- ## 8.106.1-alpha.0
3
+ ## 8.107.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#4197](https://github.com/Thinkei/hero-design/pull/4197) [`d706fb127368ac597b0c8b1517650e64e39734ba`](https://github.com/Thinkei/hero-design/commit/d706fb127368ac597b0c8b1517650e64e39734ba) Thanks [@ttkien](https://github.com/ttkien)! - [Card.Data] add DataCardContent and update examples
8
+
9
+ - [#4200](https://github.com/Thinkei/hero-design/pull/4200) [`a2f2b9db429029f263278100365417e9b300d219`](https://github.com/Thinkei/hero-design/commit/a2f2b9db429029f263278100365417e9b300d219) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [Illustration] Add component
4
10
 
5
11
  ### Patch Changes
6
12
 
7
- - [#3497](https://github.com/Thinkei/hero-design/pull/3497) [`e92d1dab57316441e7b5054debe823328e1a1083`](https://github.com/Thinkei/hero-design/commit/e92d1dab57316441e7b5054debe823328e1a1083) Thanks [@luanlai2201](https://github.com/luanlai2201)! - [Font] replace playful font to Saiga
13
+ - [#4193](https://github.com/Thinkei/hero-design/pull/4193) [`84aabf6b98f5753616a8376ad5e5be4667d6dcb0`](https://github.com/Thinkei/hero-design/commit/84aabf6b98f5753616a8376ad5e5be4667d6dcb0) Thanks [@ttkien](https://github.com/ttkien)! - [TextInput] Update colors support dark mode
8
14
 
9
- - [#4185](https://github.com/Thinkei/hero-design/pull/4185) [`353896c59f62ba7230365d8ba59e07edefc0ded2`](https://github.com/Thinkei/hero-design/commit/353896c59f62ba7230365d8ba59e07edefc0ded2) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [Avatar] Use mobileAvatarPalette for avatar hook
15
+ ## 8.106.1
16
+
17
+ ### Patch Changes
10
18
 
11
- - [#4123](https://github.com/Thinkei/hero-design/pull/4123) [`ecc5905dec81783858f57595a0af4306ff3b0b89`](https://github.com/Thinkei/hero-design/commit/ecc5905dec81783858f57595a0af4306ff3b0b89) Thanks [@truongnguyen-eh](https://github.com/truongnguyen-eh)! - [ANG-3740] Resolve conflict between alpha and master-react-18
19
+ - [#4185](https://github.com/Thinkei/hero-design/pull/4185) [`353896c59f62ba7230365d8ba59e07edefc0ded2`](https://github.com/Thinkei/hero-design/commit/353896c59f62ba7230365d8ba59e07edefc0ded2) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [Avatar] Use mobileAvatarPalette for avatar hook
12
20
 
13
21
  - Updated dependencies [[`353896c59f62ba7230365d8ba59e07edefc0ded2`](https://github.com/Thinkei/hero-design/commit/353896c59f62ba7230365d8ba59e07edefc0ded2)]:
14
- - @hero-design/colors@8.46.2-alpha.0
22
+ - @hero-design/colors@8.46.2
15
23
 
16
24
  ## 8.106.0
17
25
 
package/es/index.js CHANGED
@@ -5921,10 +5921,14 @@ var getCardTheme = function getCardTheme(theme) {
5921
5921
  "default": theme.radii.large,
5922
5922
  superRound: theme.radii.xxxlarge
5923
5923
  };
5924
+ var space = {
5925
+ dataCardContentPadding: theme.space.medium
5926
+ };
5924
5927
  return {
5925
5928
  colors: colors,
5926
5929
  sizes: sizes,
5927
- radii: radii
5930
+ radii: radii,
5931
+ space: space
5928
5932
  };
5929
5933
  };
5930
5934
 
@@ -6947,7 +6951,7 @@ var getTextInputTheme = function getTextInputTheme(theme) {
6947
6951
  "default": theme.colors.onDefaultGlobalSurface,
6948
6952
  error: theme.colors.onDefaultGlobalSurface,
6949
6953
  disabled: theme.colors.disabledOnDefaultGlobalSurface,
6950
- readonly: theme.colors.inactiveOnDefaultGlobalSurface,
6954
+ readonly: theme.colors.mutedOnDefaultGlobalSurface,
6951
6955
  filled: theme.colors.onDefaultGlobalSurface
6952
6956
  },
6953
6957
  labelsInsideTextInput: {
@@ -6964,7 +6968,13 @@ var getTextInputTheme = function getTextInputTheme(theme) {
6964
6968
  readonly: theme.colors.inactiveOnDefaultGlobalSurface,
6965
6969
  filled: theme.colors.onDefaultGlobalSurface
6966
6970
  },
6967
- placeholder: theme.colors.mutedOnDefaultGlobalSurface
6971
+ placeholder: {
6972
+ "default": theme.colors.onDefaultGlobalSurface,
6973
+ error: theme.colors.onDefaultGlobalSurface,
6974
+ disabled: theme.colors.disabledOnDefaultGlobalSurface,
6975
+ readonly: theme.colors.onDefaultGlobalSurface,
6976
+ filled: theme.colors.onDefaultGlobalSurface
6977
+ }
6968
6978
  };
6969
6979
  var space = {
6970
6980
  containerPadding: theme.space.medium,
@@ -6974,6 +6984,7 @@ var getTextInputTheme = function getTextInputTheme(theme) {
6974
6984
  labelHorizontalPadding: theme.space.xsmall,
6975
6985
  inputHorizontalMargin: theme.space.small,
6976
6986
  errorContainerMarginRight: theme.space.xsmall,
6987
+ errorAndHelpTextContainerMarginTop: theme.space.xxsmall,
6977
6988
  errorMarginLeft: theme.space.xsmall,
6978
6989
  errorAndHelpTextContainerHorizontalPadding: theme.space.medium,
6979
6990
  containerMarginTop: theme.space.small,
@@ -14172,9 +14183,16 @@ var StyledDataCard = index$c(View)(function (_ref) {
14172
14183
  backgroundColor: theme.__hd__.card.colors.dataCardBackground
14173
14184
  };
14174
14185
  });
14175
- var Indicator = index$c(View)(function (_ref2) {
14176
- var theme = _ref2.theme,
14177
- themeIntent = _ref2.themeIntent;
14186
+ var StyledDataCardContent = index$c(View)(function (_ref2) {
14187
+ var theme = _ref2.theme;
14188
+ return {
14189
+ backgroundColor: 'transparent',
14190
+ padding: theme.__hd__.card.space.dataCardContentPadding
14191
+ };
14192
+ });
14193
+ var Indicator = index$c(View)(function (_ref3) {
14194
+ var theme = _ref3.theme,
14195
+ themeIntent = _ref3.themeIntent;
14178
14196
  return {
14179
14197
  backgroundColor: theme.__hd__.card.colors[themeIntent],
14180
14198
  width: theme.__hd__.card.sizes.indicatorWidth,
@@ -14219,7 +14237,8 @@ var Card = function Card(_ref) {
14219
14237
  }), children);
14220
14238
  };
14221
14239
  var Card$1 = Object.assign(Card, {
14222
- Data: DataCard
14240
+ Data: DataCard,
14241
+ DataContent: StyledDataCardContent
14223
14242
  });
14224
14243
 
14225
14244
  var StyledPageControl$2 = index$c(View)(function () {
@@ -20297,11 +20316,13 @@ var StyledErrorAndHelpTextContainer = index$c(View)(function (_ref11) {
20297
20316
  paddingTop: theme.__hd__.textInput.space.errorAndHelpTextContainerPaddingTop
20298
20317
  };
20299
20318
  });
20300
- var StyledErrorAndMaxLengthContainer = index$c(View)(function () {
20319
+ var StyledErrorAndMaxLengthContainer = index$c(View)(function (_ref12) {
20320
+ var theme = _ref12.theme;
20301
20321
  return {
20302
20322
  flexDirection: 'row',
20303
20323
  justifyContent: 'space-between',
20304
- alignItems: 'flex-start'
20324
+ alignItems: 'flex-start',
20325
+ marginTop: theme.__hd__.textInput.space.errorAndHelpTextContainerMarginTop
20305
20326
  };
20306
20327
  });
20307
20328
 
@@ -20347,7 +20368,8 @@ var renderInput$1 = function renderInput(_ref3) {
20347
20368
  nativeInputProps = _ref3.nativeInputProps,
20348
20369
  renderInputValue = _ref3.renderInputValue,
20349
20370
  ref = _ref3.ref,
20350
- theme = _ref3.theme;
20371
+ theme = _ref3.theme,
20372
+ state = _ref3.state;
20351
20373
  var multiline = variant === 'textarea' || nativeInputProps.multiline;
20352
20374
  // `numberOfLines` must be `1` for single-line inputs to render properly on Android.
20353
20375
  var numberOfLines = multiline ? nativeInputProps.numberOfLines : 1;
@@ -20356,7 +20378,7 @@ var renderInput$1 = function renderInput(_ref3) {
20356
20378
  multiline: multiline,
20357
20379
  numberOfLines: numberOfLines,
20358
20380
  ref: ref,
20359
- placeholderTextColor: theme.__hd__.textInput.colors.placeholder
20381
+ placeholderTextColor: theme.__hd__.textInput.colors.placeholder[state]
20360
20382
  }));
20361
20383
  };
20362
20384
  var renderSuffix$1 = function renderSuffix(_ref4) {
@@ -20618,7 +20640,8 @@ var TextInput = /*#__PURE__*/forwardRef(function (_ref8, ref) {
20618
20640
  ref: function ref(rnTextInputRef) {
20619
20641
  innerTextInput.current = rnTextInputRef;
20620
20642
  },
20621
- theme: theme
20643
+ theme: theme,
20644
+ state: state
20622
20645
  })), renderSuffix$1({
20623
20646
  state: state,
20624
20647
  loading: loading,
@@ -21527,14 +21550,34 @@ var index$7 = Object.assign(Drawer, {
21527
21550
  Dragable: DragableDrawer
21528
21551
  });
21529
21552
 
21553
+ var DEFAULT_ILLUSTRATION_SIZE = scale(72);
21554
+
21555
+ var BaseSvg = function BaseSvg(_ref) {
21556
+ var children = _ref.children,
21557
+ _ref$width = _ref.width,
21558
+ width = _ref$width === void 0 ? DEFAULT_ILLUSTRATION_SIZE : _ref$width,
21559
+ _ref$height = _ref.height,
21560
+ height = _ref$height === void 0 ? DEFAULT_ILLUSTRATION_SIZE : _ref$height,
21561
+ viewBox = _ref.viewBox,
21562
+ testID = _ref.testID;
21563
+ var defaultViewBox = viewBox || "0 0 ".concat(DEFAULT_ILLUSTRATION_SIZE, " ").concat(DEFAULT_ILLUSTRATION_SIZE);
21564
+ return /*#__PURE__*/React__default.createElement(Svg, {
21565
+ width: width,
21566
+ height: height,
21567
+ viewBox: defaultViewBox,
21568
+ testID: testID
21569
+ }, children);
21570
+ };
21571
+
21530
21572
  var Add = function Add(_ref) {
21531
21573
  var stroke = _ref.stroke,
21532
21574
  fill = _ref.fill,
21533
- testID = _ref.testID;
21534
- return /*#__PURE__*/React__default.createElement(Svg, {
21535
- width: "73",
21536
- height: "72",
21537
- viewBox: "0 0 73 72",
21575
+ testID = _ref.testID,
21576
+ width = _ref.width,
21577
+ height = _ref.height;
21578
+ return /*#__PURE__*/React__default.createElement(BaseSvg, {
21579
+ width: width,
21580
+ height: height,
21538
21581
  testID: testID
21539
21582
  }, /*#__PURE__*/React__default.createElement(Rect, {
21540
21583
  x: "0.100098",
@@ -21575,11 +21618,12 @@ var Add = function Add(_ref) {
21575
21618
  var Boom = function Boom(_ref) {
21576
21619
  var stroke = _ref.stroke,
21577
21620
  fill = _ref.fill,
21578
- testID = _ref.testID;
21579
- return /*#__PURE__*/React__default.createElement(Svg, {
21580
- width: 74,
21581
- height: 79,
21582
- viewBox: "0 0 74 79",
21621
+ testID = _ref.testID,
21622
+ width = _ref.width,
21623
+ height = _ref.height;
21624
+ return /*#__PURE__*/React__default.createElement(BaseSvg, {
21625
+ width: width,
21626
+ height: height,
21583
21627
  testID: testID
21584
21628
  }, /*#__PURE__*/React__default.createElement(Path$1, {
21585
21629
  d: "M17.762 51.247v12.16L2.996 41.693v-3.91l2.172-2.17h3.474l-.868-2.172-1.738-6.515 2.606-2.605 2.606-2.172-.434-6.514 4.343-1.303 3.908 1.303 3.475-2.606h4.343l6.514 9.989h-5.646c-3.33 9.265-9.989 27.882-9.989 28.229z",
@@ -21631,11 +21675,12 @@ var Boom = function Boom(_ref) {
21631
21675
  var Build = function Build(_ref) {
21632
21676
  var stroke = _ref.stroke,
21633
21677
  fill = _ref.fill,
21634
- testID = _ref.testID;
21635
- return /*#__PURE__*/React__default.createElement(Svg, {
21636
- width: "73",
21637
- height: "72",
21638
- viewBox: "0 0 73 72",
21678
+ testID = _ref.testID,
21679
+ width = _ref.width,
21680
+ height = _ref.height;
21681
+ return /*#__PURE__*/React__default.createElement(BaseSvg, {
21682
+ width: width,
21683
+ height: height,
21639
21684
  testID: testID
21640
21685
  }, /*#__PURE__*/React__default.createElement(Rect, {
21641
21686
  x: "0.615723",
@@ -21672,11 +21717,12 @@ var Build = function Build(_ref) {
21672
21717
  var Clock = function Clock(_ref) {
21673
21718
  var stroke = _ref.stroke,
21674
21719
  fill = _ref.fill,
21675
- testID = _ref.testID;
21676
- return /*#__PURE__*/React__default.createElement(Svg, {
21677
- width: "73",
21678
- height: "73",
21679
- viewBox: "0 0 73 73",
21720
+ testID = _ref.testID,
21721
+ width = _ref.width,
21722
+ height = _ref.height;
21723
+ return /*#__PURE__*/React__default.createElement(BaseSvg, {
21724
+ width: width,
21725
+ height: height,
21680
21726
  testID: testID
21681
21727
  }, /*#__PURE__*/React__default.createElement(Rect, {
21682
21728
  x: "0.384277",
@@ -21706,17 +21752,18 @@ var Clock = function Clock(_ref) {
21706
21752
  var Confetti = function Confetti(_ref) {
21707
21753
  var stroke = _ref.stroke,
21708
21754
  fill = _ref.fill,
21709
- testID = _ref.testID;
21710
- return /*#__PURE__*/React__default.createElement(Svg, {
21711
- width: "73",
21712
- height: "72",
21713
- viewBox: "0 0 73 72",
21755
+ testID = _ref.testID,
21756
+ width = _ref.width,
21757
+ height = _ref.height;
21758
+ return /*#__PURE__*/React__default.createElement(BaseSvg, {
21759
+ width: width,
21760
+ height: height,
21714
21761
  testID: testID
21715
21762
  }, /*#__PURE__*/React__default.createElement(Defs, null, /*#__PURE__*/React__default.createElement(ClipPath, {
21716
21763
  id: "clip0_19647_1699"
21717
21764
  }, /*#__PURE__*/React__default.createElement(Rect, {
21718
- width: "72",
21719
- height: "72",
21765
+ width: width,
21766
+ height: height,
21720
21767
  fill: "white",
21721
21768
  transform: "translate(0.100098)"
21722
21769
  }))), /*#__PURE__*/React__default.createElement(G, {
@@ -21773,11 +21820,12 @@ var Confetti = function Confetti(_ref) {
21773
21820
  var Connections = function Connections(_ref) {
21774
21821
  var stroke = _ref.stroke,
21775
21822
  fill = _ref.fill,
21776
- testID = _ref.testID;
21777
- return /*#__PURE__*/React__default.createElement(Svg, {
21778
- width: "72",
21779
- height: "73",
21780
- viewBox: "0 0 72 73",
21823
+ testID = _ref.testID,
21824
+ width = _ref.width,
21825
+ height = _ref.height;
21826
+ return /*#__PURE__*/React__default.createElement(BaseSvg, {
21827
+ width: width,
21828
+ height: height,
21781
21829
  testID: testID
21782
21830
  }, /*#__PURE__*/React__default.createElement(Rect, {
21783
21831
  y: "12.2122",
@@ -21820,17 +21868,18 @@ var Connections = function Connections(_ref) {
21820
21868
  var ErrorIcon = function ErrorIcon(_ref) {
21821
21869
  var stroke = _ref.stroke,
21822
21870
  fill = _ref.fill,
21823
- testID = _ref.testID;
21824
- return /*#__PURE__*/React__default.createElement(Svg, {
21825
- width: "72",
21826
- height: "72",
21827
- viewBox: "0 0 72 72",
21871
+ testID = _ref.testID,
21872
+ width = _ref.width,
21873
+ height = _ref.height;
21874
+ return /*#__PURE__*/React__default.createElement(BaseSvg, {
21875
+ width: width,
21876
+ height: height,
21828
21877
  testID: testID
21829
21878
  }, /*#__PURE__*/React__default.createElement(Defs, null, /*#__PURE__*/React__default.createElement(ClipPath, {
21830
21879
  id: "clip0_19647_1720"
21831
21880
  }, /*#__PURE__*/React__default.createElement(Rect, {
21832
- width: "71.6316",
21833
- height: "72",
21881
+ width: width,
21882
+ height: height,
21834
21883
  fill: "white"
21835
21884
  }))), /*#__PURE__*/React__default.createElement(Rect, {
21836
21885
  y: "11.3684",
@@ -21872,11 +21921,12 @@ var ErrorIcon = function ErrorIcon(_ref) {
21872
21921
  var Info = function Info(_ref) {
21873
21922
  var stroke = _ref.stroke,
21874
21923
  fill = _ref.fill,
21875
- testID = _ref.testID;
21876
- return /*#__PURE__*/React__default.createElement(Svg, {
21877
- width: "73",
21878
- height: "72",
21879
- viewBox: "0 0 73 72",
21924
+ testID = _ref.testID,
21925
+ width = _ref.width,
21926
+ height = _ref.height;
21927
+ return /*#__PURE__*/React__default.createElement(BaseSvg, {
21928
+ width: width,
21929
+ height: height,
21880
21930
  testID: testID
21881
21931
  }, /*#__PURE__*/React__default.createElement(Rect, {
21882
21932
  x: "0.799805",
@@ -21904,11 +21954,12 @@ var Info = function Info(_ref) {
21904
21954
  var List = function List(_ref) {
21905
21955
  var stroke = _ref.stroke,
21906
21956
  fill = _ref.fill,
21907
- testID = _ref.testID;
21908
- return /*#__PURE__*/React__default.createElement(Svg, {
21909
- width: "73",
21910
- height: "72",
21911
- viewBox: "0 0 73 72",
21957
+ testID = _ref.testID,
21958
+ width = _ref.width,
21959
+ height = _ref.height;
21960
+ return /*#__PURE__*/React__default.createElement(BaseSvg, {
21961
+ width: width,
21962
+ height: height,
21912
21963
  testID: testID
21913
21964
  }, /*#__PURE__*/React__default.createElement(Rect, {
21914
21965
  x: "0.199951",
@@ -21938,11 +21989,12 @@ var List = function List(_ref) {
21938
21989
  var Location = function Location(_ref) {
21939
21990
  var stroke = _ref.stroke,
21940
21991
  fill = _ref.fill,
21941
- testID = _ref.testID;
21942
- return /*#__PURE__*/React__default.createElement(Svg, {
21943
- width: "73",
21944
- height: "73",
21945
- viewBox: "0 0 73 73",
21992
+ testID = _ref.testID,
21993
+ width = _ref.width,
21994
+ height = _ref.height;
21995
+ return /*#__PURE__*/React__default.createElement(BaseSvg, {
21996
+ width: width,
21997
+ height: height,
21946
21998
  testID: testID
21947
21999
  }, /*#__PURE__*/React__default.createElement(Rect, {
21948
22000
  x: "0.615723",
@@ -21972,11 +22024,12 @@ var Location = function Location(_ref) {
21972
22024
  var Merge = function Merge(_ref) {
21973
22025
  var stroke = _ref.stroke,
21974
22026
  fill = _ref.fill,
21975
- testID = _ref.testID;
21976
- return /*#__PURE__*/React__default.createElement(Svg, {
21977
- width: "73",
21978
- height: "73",
21979
- viewBox: "0 0 73 73",
22027
+ testID = _ref.testID,
22028
+ width = _ref.width,
22029
+ height = _ref.height;
22030
+ return /*#__PURE__*/React__default.createElement(BaseSvg, {
22031
+ width: width,
22032
+ height: height,
21980
22033
  testID: testID
21981
22034
  }, /*#__PURE__*/React__default.createElement(Rect, {
21982
22035
  x: "0.100098",
@@ -22026,11 +22079,12 @@ var Merge = function Merge(_ref) {
22026
22079
  var Notifications = function Notifications(_ref) {
22027
22080
  var stroke = _ref.stroke,
22028
22081
  fill = _ref.fill,
22029
- testID = _ref.testID;
22030
- return /*#__PURE__*/React__default.createElement(Svg, {
22031
- width: "72",
22032
- height: "73",
22033
- viewBox: "0 0 72 73",
22082
+ testID = _ref.testID,
22083
+ width = _ref.width,
22084
+ height = _ref.height;
22085
+ return /*#__PURE__*/React__default.createElement(BaseSvg, {
22086
+ width: width,
22087
+ height: height,
22034
22088
  testID: testID
22035
22089
  }, /*#__PURE__*/React__default.createElement(Rect, {
22036
22090
  y: "12.3684",
@@ -22050,11 +22104,12 @@ var Notifications = function Notifications(_ref) {
22050
22104
  var Search$1 = function Search(_ref) {
22051
22105
  var stroke = _ref.stroke,
22052
22106
  fill = _ref.fill,
22053
- testID = _ref.testID;
22054
- return /*#__PURE__*/React__default.createElement(Svg, {
22055
- width: "72",
22056
- height: "72",
22057
- viewBox: "0 0 72 72",
22107
+ testID = _ref.testID,
22108
+ width = _ref.width,
22109
+ height = _ref.height;
22110
+ return /*#__PURE__*/React__default.createElement(BaseSvg, {
22111
+ width: width,
22112
+ height: height,
22058
22113
  testID: testID
22059
22114
  }, /*#__PURE__*/React__default.createElement(Rect, {
22060
22115
  y: "11.3684",
@@ -22083,11 +22138,12 @@ var Search$1 = function Search(_ref) {
22083
22138
  var Star = function Star(_ref) {
22084
22139
  var stroke = _ref.stroke,
22085
22140
  fill = _ref.fill,
22086
- testID = _ref.testID;
22087
- return /*#__PURE__*/React__default.createElement(Svg, {
22088
- width: "73",
22089
- height: "73",
22090
- viewBox: "0 0 73 73",
22141
+ testID = _ref.testID,
22142
+ width = _ref.width,
22143
+ height = _ref.height;
22144
+ return /*#__PURE__*/React__default.createElement(BaseSvg, {
22145
+ width: width,
22146
+ height: height,
22091
22147
  testID: testID
22092
22148
  }, /*#__PURE__*/React__default.createElement(Rect, {
22093
22149
  x: "0.199951",
@@ -22117,11 +22173,12 @@ var Star = function Star(_ref) {
22117
22173
  var User = function User(_ref) {
22118
22174
  var stroke = _ref.stroke,
22119
22175
  fill = _ref.fill,
22120
- testID = _ref.testID;
22121
- return /*#__PURE__*/React__default.createElement(Svg, {
22122
- width: "73",
22123
- height: "72",
22124
- viewBox: "0 0 73 72",
22176
+ testID = _ref.testID,
22177
+ width = _ref.width,
22178
+ height = _ref.height;
22179
+ return /*#__PURE__*/React__default.createElement(BaseSvg, {
22180
+ width: width,
22181
+ height: height,
22125
22182
  testID: testID
22126
22183
  }, /*#__PURE__*/React__default.createElement(Rect, {
22127
22184
  x: "0.799805",
@@ -22156,17 +22213,18 @@ var User = function User(_ref) {
22156
22213
  var Success$1 = function Success(_ref) {
22157
22214
  var stroke = _ref.stroke,
22158
22215
  fill = _ref.fill,
22159
- testID = _ref.testID;
22160
- return /*#__PURE__*/React__default.createElement(Svg, {
22161
- width: "72",
22162
- height: "72",
22163
- viewBox: "0 0 72 72",
22216
+ testID = _ref.testID,
22217
+ width = _ref.width,
22218
+ height = _ref.height;
22219
+ return /*#__PURE__*/React__default.createElement(BaseSvg, {
22220
+ width: width,
22221
+ height: height,
22164
22222
  testID: testID
22165
22223
  }, /*#__PURE__*/React__default.createElement(Defs, null, /*#__PURE__*/React__default.createElement(ClipPath, {
22166
22224
  id: "clip0_19647_1726"
22167
22225
  }, /*#__PURE__*/React__default.createElement(Rect, {
22168
- width: "71.6316",
22169
- height: "72",
22226
+ width: width,
22227
+ height: height,
22170
22228
  fill: "white"
22171
22229
  }))), /*#__PURE__*/React__default.createElement(Rect, {
22172
22230
  y: "11.3684",
@@ -22195,11 +22253,12 @@ var Success$1 = function Success(_ref) {
22195
22253
  var Lock = function Lock(_ref) {
22196
22254
  var stroke = _ref.stroke,
22197
22255
  fill = _ref.fill,
22198
- testID = _ref.testID;
22199
- return /*#__PURE__*/React__default.createElement(Svg, {
22200
- width: "72",
22201
- height: "72",
22202
- viewBox: "0 0 72 72",
22256
+ testID = _ref.testID,
22257
+ width = _ref.width,
22258
+ height = _ref.height;
22259
+ return /*#__PURE__*/React__default.createElement(BaseSvg, {
22260
+ width: width,
22261
+ height: height,
22203
22262
  testID: testID
22204
22263
  }, /*#__PURE__*/React__default.createElement(G, {
22205
22264
  clipPath: "url(#clip0_21932_5671)"
@@ -22223,11 +22282,12 @@ var Lock = function Lock(_ref) {
22223
22282
  var Unlock = function Unlock(_ref) {
22224
22283
  var stroke = _ref.stroke,
22225
22284
  fill = _ref.fill,
22226
- testID = _ref.testID;
22227
- return /*#__PURE__*/React__default.createElement(Svg, {
22228
- width: "72",
22229
- height: "72",
22230
- viewBox: "0 0 72 72",
22285
+ testID = _ref.testID,
22286
+ width = _ref.width,
22287
+ height = _ref.height;
22288
+ return /*#__PURE__*/React__default.createElement(BaseSvg, {
22289
+ width: width,
22290
+ height: height,
22231
22291
  testID: testID
22232
22292
  }, /*#__PURE__*/React__default.createElement(G, {
22233
22293
  clipPath: "url(#clip0_21932_5714)"
@@ -22251,11 +22311,12 @@ var Unlock = function Unlock(_ref) {
22251
22311
  var NoResult = function NoResult(_ref) {
22252
22312
  var stroke = _ref.stroke,
22253
22313
  fill = _ref.fill,
22254
- testID = _ref.testID;
22255
- return /*#__PURE__*/React__default.createElement(Svg, {
22256
- width: "72",
22257
- height: "72",
22258
- viewBox: "0 0 72 72",
22314
+ testID = _ref.testID,
22315
+ width = _ref.width,
22316
+ height = _ref.height;
22317
+ return /*#__PURE__*/React__default.createElement(BaseSvg, {
22318
+ width: width,
22319
+ height: height,
22259
22320
  testID: testID
22260
22321
  }, /*#__PURE__*/React__default.createElement(G, {
22261
22322
  clipPath: "url(#clip0_21888_4920)"
@@ -22279,7 +22340,7 @@ var NoResult = function NoResult(_ref) {
22279
22340
  }))));
22280
22341
  };
22281
22342
 
22282
- var StatusIcons = {
22343
+ var Illustrations = {
22283
22344
  add: Add,
22284
22345
  boom: Boom,
22285
22346
  build: Build,
@@ -22300,16 +22361,32 @@ var StatusIcons = {
22300
22361
  unlock: Unlock,
22301
22362
  'no-result': NoResult
22302
22363
  };
22303
- var StatusIcon = function StatusIcon(_ref) {
22304
- var icon = _ref.icon,
22305
- testID = _ref.testID;
22306
- var Icon = StatusIcons[icon];
22364
+ var IllustrationList = Object.keys(Illustrations);
22365
+
22366
+ var Illustration = function Illustration(_ref) {
22367
+ var name = _ref.name,
22368
+ testID = _ref.testID,
22369
+ _ref$width = _ref.width,
22370
+ width = _ref$width === void 0 ? DEFAULT_ILLUSTRATION_SIZE : _ref$width,
22371
+ _ref$height = _ref.height,
22372
+ height = _ref$height === void 0 ? DEFAULT_ILLUSTRATION_SIZE : _ref$height,
22373
+ style = _ref.style;
22374
+ var IllustrationComponent = Illustrations[name];
22307
22375
  var theme = useTheme();
22308
- return Icon && /*#__PURE__*/React__default.createElement(Icon, {
22309
- stroke: theme.colors.primary,
22310
- fill: theme.colors.decorativeSecondarySurface,
22376
+ var defaultStroke = theme.colors.primary;
22377
+ var defaultFill = theme.colors.decorativeSecondarySurface;
22378
+ if (!IllustrationComponent) {
22379
+ return null;
22380
+ }
22381
+ return /*#__PURE__*/React__default.createElement(Box, {
22382
+ style: style
22383
+ }, /*#__PURE__*/React__default.createElement(IllustrationComponent, {
22384
+ stroke: defaultStroke,
22385
+ fill: defaultFill,
22386
+ width: width,
22387
+ height: height,
22311
22388
  testID: testID
22312
- });
22389
+ }));
22313
22390
  };
22314
22391
 
22315
22392
  var StyledWrapper$7 = index$c(View)(function (_ref) {
@@ -22351,8 +22428,8 @@ var renderImageOrIcon$2 = function renderImageOrIcon(_ref) {
22351
22428
  var image = _ref.image,
22352
22429
  icon = _ref.icon;
22353
22430
  if (icon) {
22354
- return /*#__PURE__*/React__default.createElement(StyledEmptyImageContainer, null, /*#__PURE__*/React__default.createElement(StatusIcon, {
22355
- icon: icon,
22431
+ return /*#__PURE__*/React__default.createElement(StyledEmptyImageContainer, null, /*#__PURE__*/React__default.createElement(Illustration, {
22432
+ name: icon,
22356
22433
  testID: "empty-icon"
22357
22434
  }));
22358
22435
  }
@@ -22825,8 +22902,8 @@ var renderImageOrIcon$1 = function renderImageOrIcon(_ref) {
22825
22902
  var image = _ref.image,
22826
22903
  icon = _ref.icon;
22827
22904
  if (icon) {
22828
- return /*#__PURE__*/React__default.createElement(StyledErrorIconContainer, null, /*#__PURE__*/React__default.createElement(StatusIcon, {
22829
- icon: icon,
22905
+ return /*#__PURE__*/React__default.createElement(StyledErrorIconContainer, null, /*#__PURE__*/React__default.createElement(Illustration, {
22906
+ name: icon,
22830
22907
  testID: "error-icon"
22831
22908
  }));
22832
22909
  }
@@ -26139,8 +26216,8 @@ var renderImageOrIcon = function renderImageOrIcon(_ref) {
26139
26216
  var image = _ref.image,
26140
26217
  icon = _ref.icon;
26141
26218
  if (icon) {
26142
- return /*#__PURE__*/React__default.createElement(StyledSuccessIconContainer, null, /*#__PURE__*/React__default.createElement(StatusIcon, {
26143
- icon: icon,
26219
+ return /*#__PURE__*/React__default.createElement(StyledSuccessIconContainer, null, /*#__PURE__*/React__default.createElement(Illustration, {
26220
+ name: icon,
26144
26221
  testID: "success-icon"
26145
26222
  }));
26146
26223
  }
@@ -47456,7 +47533,7 @@ var SearchOneLine = /*#__PURE__*/forwardRef(function (props, ref) {
47456
47533
  value: value,
47457
47534
  defaultValue: defaultValue,
47458
47535
  placeholder: placeholder,
47459
- placeholderTextColor: theme.__hd__.textInput.colors.placeholder
47536
+ placeholderTextColor: theme.__hd__.textInput.colors.placeholder[state]
47460
47537
  }),
47461
47538
  ref: function ref(rnTextInputRef) {
47462
47539
  innerTextInput.current = rnTextInputRef;
@@ -47880,4 +47957,4 @@ var FilterTrigger = function FilterTrigger(_ref) {
47880
47957
  })));
47881
47958
  };
47882
47959
 
47883
- export { Accordion, Alert, AppCue, Attachment, index$b as Avatar, Badge$1 as Badge, BottomNavigation, BottomSheet$1 as BottomSheet, Box, CompoundButton as Button, Calendar$1 as Calendar, Card$1 as Card, index$a as Carousel, Chart, index$9 as Checkbox, Chip, Collapse, ContentNavigator, index$8 as DatePicker, Divider, index$7 as Drawer, Empty, ErrorComponent as Error, FAB, FilterTrigger, FlatListWithFAB, FloatingIsland, HeroDesignProvider, Icon, Image, List$1 as List, LocaleProvider, index$6 as MapPin, PageControl, PinInput, Portal$1 as Portal, Progress, CompoundRadio as Radio, Rate, RefreshControl, index as RichTextEditor, ScrollViewWithFAB, Search, SectionHeading, SectionListWithFAB, SegmentedControl, index$4 as Select, Skeleton, Slider, Spinner, Success, index$5 as Swipeable, index$3 as Switch, index$2 as Tabs, Tag, TextInput, ThemeProvider, ThemeSwitcher, PublicTimePicker as TimePicker, Toast, index$1 as Toolbar, Typography, eBensSystemPalette, ehJobsSystemPalette, ehWorkDarkSystemPalette, ehWorkSystemPalette, getTheme, jobsSystemPalette, scale, index$c as styled, swagDarkSystemPalette, swagLightJobsSystemPalette, swagSystemPalette$1 as swagLightSystemPalette, swagSystemPalette$2 as swagSystemPalette, defaultTheme as theme, useAvatarColors, useTheme, walletSystemPalette, withTheme, workSystemPalette };
47960
+ export { Accordion, Alert, AppCue, Attachment, index$b as Avatar, Badge$1 as Badge, BottomNavigation, BottomSheet$1 as BottomSheet, Box, CompoundButton as Button, Calendar$1 as Calendar, Card$1 as Card, index$a as Carousel, Chart, index$9 as Checkbox, Chip, Collapse, ContentNavigator, index$8 as DatePicker, Divider, index$7 as Drawer, Empty, ErrorComponent as Error, FAB, FilterTrigger, FlatListWithFAB, FloatingIsland, HeroDesignProvider, Icon, Illustration, IllustrationList, Image, List$1 as List, LocaleProvider, index$6 as MapPin, PageControl, PinInput, Portal$1 as Portal, Progress, CompoundRadio as Radio, Rate, RefreshControl, index as RichTextEditor, ScrollViewWithFAB, Search, SectionHeading, SectionListWithFAB, SegmentedControl, index$4 as Select, Skeleton, Slider, Spinner, Success, index$5 as Swipeable, index$3 as Switch, index$2 as Tabs, Tag, TextInput, ThemeProvider, ThemeSwitcher, PublicTimePicker as TimePicker, Toast, index$1 as Toolbar, Typography, eBensSystemPalette, ehJobsSystemPalette, ehWorkDarkSystemPalette, ehWorkSystemPalette, getTheme, jobsSystemPalette, scale, index$c as styled, swagDarkSystemPalette, swagLightJobsSystemPalette, swagSystemPalette$1 as swagLightSystemPalette, swagSystemPalette$2 as swagSystemPalette, defaultTheme as theme, useAvatarColors, useTheme, walletSystemPalette, withTheme, workSystemPalette };