@hero-design/rn 8.89.0-alpha.1 → 8.89.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.
@@ -0,0 +1,13 @@
1
+ (node:3039) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
2
+ (Use `node --trace-warnings ...` to show where the warning was created)
3
+ 
4
+ src/index.ts → lib/index.js, es/index.js...
5
+ (!) [plugin replace] @rollup/plugin-replace: 'preventAssignment' currently defaults to false. It is recommended to set this option to `true`, as the next major version will default this option to `true`.
6
+ (!) [plugin typescript] src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx (61:35): @rollup/plugin-typescript TS2307: Cannot find module '../../../../types' or its corresponding type declarations.
7
+ /home/runner/work/hero-design/hero-design/packages/rn/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx:61:35
8
+ 
9
+ 61 import { RichTextEditorRef } from "../../../../types";
10
+    ~~~~~~~~~~~~~~~~~~~
11
+ 
12
+ (!) [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.
13
+ created lib/index.js, es/index.js in 53.2s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @hero-design/rn
2
2
 
3
+ ## 8.89.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#3662](https://github.com/Thinkei/hero-design/pull/3662) [`b2f1ffecacb90bd35d5ceadadee1030e6efbafe4`](https://github.com/Thinkei/hero-design/commit/b2f1ffecacb90bd35d5ceadadee1030e6efbafe4) Thanks [@vinhphan-eh](https://github.com/vinhphan-eh)! - [Calendar.Range] Add component
8
+
9
+ ### Patch Changes
10
+
11
+ - [#3670](https://github.com/Thinkei/hero-design/pull/3670) [`a3bfcaf3b8f603925e66152d95fc30cc68b1c018`](https://github.com/Thinkei/hero-design/commit/a3bfcaf3b8f603925e66152d95fc30cc68b1c018) Thanks [@luanlai2201](https://github.com/luanlai2201)! - [RichTextEditor] Fix label at wrong position
12
+
3
13
  ## 8.88.0
4
14
 
5
15
  ### Minor Changes
package/es/index.js CHANGED
@@ -2062,64 +2062,6 @@ var eBensBrandSystemPallete = {
2062
2062
  };
2063
2063
  var eBensSystemPalette = _objectSpread2(_objectSpread2({}, swagSystemPalette$1), eBensBrandSystemPallete);
2064
2064
 
2065
- var ehWorkDarkPalette = {
2066
- black: '#000000',
2067
- white: '#ffffff',
2068
- // Surface
2069
- defaultGlobalSurface: '#27272A',
2070
- neutralGlobalSurface: '#121214',
2071
- darkGlobalSurface: '#fcfbff',
2072
- overlayGlobalSurface: '#ffffff',
2073
- // On Surface
2074
- onDefaultGlobalSurface: '#ffffff',
2075
- mutedOnDefaultGlobalSurface: '#a9a9b2',
2076
- inactiveOnDefaultGlobalSurface: '#71717a',
2077
- disabledOnDefaultGlobalSurface: '#52525b',
2078
- onDarkGlobalSurface: '#121214',
2079
- // Outline:
2080
- primaryOutline: '#a9a9b2',
2081
- secondaryOutline: '#3f3f46',
2082
- inactiveOutline: '#71717a',
2083
- disabledOutline: '#52525b',
2084
- // Archived:
2085
- archivedSurface: '#52525b',
2086
- mutedArchived: '#3f3f46',
2087
- archived: '#71717a',
2088
- onArchivedSurface: '#a9a9b2',
2089
- // Error:
2090
- errorSurface: '#7a1d06',
2091
- mutedError: '#9b2508',
2092
- error: '#bd2d09',
2093
- onErrorSurface: '#fecfca',
2094
- // Warning:
2095
- warningSurface: '#963e03',
2096
- mutedWarning: '#c35004',
2097
- warning: '#dc6204',
2098
- onWarningSurface: '#fff0d5',
2099
- // Success:
2100
- successSurface: '#00483e',
2101
- mutedSuccess: '#016256',
2102
- success: '#017d6d',
2103
- onSuccessSurface: '#a7f3e9',
2104
- // Info:
2105
- infoSurface: '#004a61',
2106
- mutedInfo: '#006585',
2107
- info: '#007da3',
2108
- onInfoSurface: '#a0e8ff',
2109
- // Brand:
2110
- primary: '#cdacfe',
2111
- onPrimary: '#fdfbff',
2112
- secondary: '#7622d7',
2113
- onSecondary: '#ffffff',
2114
- defaultSurface: '#fdfbff',
2115
- highlightedSurface: '#460078',
2116
- pressedSurface: '#9a58fc',
2117
- decorativePrimary: '#fdfbff',
2118
- decorativePrimarySurface: '#74409a',
2119
- decorativeSecondary: '#fdfbff',
2120
- decorativeSecondarySurface: '#f0e6ff'
2121
- };
2122
-
2123
2065
  var BASE_WIDTH = 390; // Based on iPhone 13's viewport size
2124
2066
  var horizontalScale = function horizontalScale(size) {
2125
2067
  if (Platform.OS === 'web') {
@@ -40402,4 +40344,4 @@ var FloatingIsland = function FloatingIsland(_ref2) {
40402
40344
  }));
40403
40345
  };
40404
40346
 
40405
- export { Accordion, Alert, AppCue, Attachment, index$9 as Avatar, Badge$1 as Badge, BottomNavigation, BottomSheet$1 as BottomSheet, Box, CompoundButton as Button, Calendar$1 as Calendar, Card$1 as Card, index$8 as Carousel, Checkbox, Chip, Collapse, ContentNavigator, DatePicker, Divider, index$7 as Drawer, Empty, ErrorComponent as Error, FAB, FlatListWithFAB, FloatingIsland, HeroDesignProvider, Icon, Image, List, index$6 as MapPin, PageControl, PinInput, Portal$1 as Portal, Progress, CompoundRadio as Radio, Rate, RefreshControl, index as RichTextEditor, ScrollViewWithFAB, Search, SectionHeading, SectionListWithFAB, index$4 as Select, Skeleton, Slider, Spinner, Success, index$5 as Swipeable, index$3 as Switch, index$2 as Tabs, Tag, TextInput, ThemeProvider, ThemeSwitcher, TimePicker, Toast, index$1 as Toolbar, Typography, eBensSystemPalette, ehWorkDarkPalette, getTheme$1 as getTheme, jobsSystemPalette, scale, swagDarkSystemPalette, swagLightJobsSystemPalette, swagSystemPalette as swagLightSystemPalette, swagSystemPalette$1 as swagSystemPalette, defaultTheme as theme, useAvatarColors, useTheme, walletSystemPalette, withTheme, workSystemPalette };
40347
+ export { Accordion, Alert, AppCue, Attachment, index$9 as Avatar, Badge$1 as Badge, BottomNavigation, BottomSheet$1 as BottomSheet, Box, CompoundButton as Button, Calendar$1 as Calendar, Card$1 as Card, index$8 as Carousel, Checkbox, Chip, Collapse, ContentNavigator, DatePicker, Divider, index$7 as Drawer, Empty, ErrorComponent as Error, FAB, FlatListWithFAB, FloatingIsland, HeroDesignProvider, Icon, Image, List, index$6 as MapPin, PageControl, PinInput, Portal$1 as Portal, Progress, CompoundRadio as Radio, Rate, RefreshControl, index as RichTextEditor, ScrollViewWithFAB, Search, SectionHeading, SectionListWithFAB, index$4 as Select, Skeleton, Slider, Spinner, Success, index$5 as Swipeable, index$3 as Switch, index$2 as Tabs, Tag, TextInput, ThemeProvider, ThemeSwitcher, TimePicker, Toast, index$1 as Toolbar, Typography, eBensSystemPalette, getTheme$1 as getTheme, jobsSystemPalette, scale, swagDarkSystemPalette, swagLightJobsSystemPalette, swagSystemPalette as swagLightSystemPalette, swagSystemPalette$1 as swagSystemPalette, defaultTheme as theme, useAvatarColors, useTheme, walletSystemPalette, withTheme, workSystemPalette };
package/lib/index.js CHANGED
@@ -2090,64 +2090,6 @@ var eBensBrandSystemPallete = {
2090
2090
  };
2091
2091
  var eBensSystemPalette = _objectSpread2(_objectSpread2({}, swagSystemPalette$1), eBensBrandSystemPallete);
2092
2092
 
2093
- var ehWorkDarkPalette = {
2094
- black: '#000000',
2095
- white: '#ffffff',
2096
- // Surface
2097
- defaultGlobalSurface: '#27272A',
2098
- neutralGlobalSurface: '#121214',
2099
- darkGlobalSurface: '#fcfbff',
2100
- overlayGlobalSurface: '#ffffff',
2101
- // On Surface
2102
- onDefaultGlobalSurface: '#ffffff',
2103
- mutedOnDefaultGlobalSurface: '#a9a9b2',
2104
- inactiveOnDefaultGlobalSurface: '#71717a',
2105
- disabledOnDefaultGlobalSurface: '#52525b',
2106
- onDarkGlobalSurface: '#121214',
2107
- // Outline:
2108
- primaryOutline: '#a9a9b2',
2109
- secondaryOutline: '#3f3f46',
2110
- inactiveOutline: '#71717a',
2111
- disabledOutline: '#52525b',
2112
- // Archived:
2113
- archivedSurface: '#52525b',
2114
- mutedArchived: '#3f3f46',
2115
- archived: '#71717a',
2116
- onArchivedSurface: '#a9a9b2',
2117
- // Error:
2118
- errorSurface: '#7a1d06',
2119
- mutedError: '#9b2508',
2120
- error: '#bd2d09',
2121
- onErrorSurface: '#fecfca',
2122
- // Warning:
2123
- warningSurface: '#963e03',
2124
- mutedWarning: '#c35004',
2125
- warning: '#dc6204',
2126
- onWarningSurface: '#fff0d5',
2127
- // Success:
2128
- successSurface: '#00483e',
2129
- mutedSuccess: '#016256',
2130
- success: '#017d6d',
2131
- onSuccessSurface: '#a7f3e9',
2132
- // Info:
2133
- infoSurface: '#004a61',
2134
- mutedInfo: '#006585',
2135
- info: '#007da3',
2136
- onInfoSurface: '#a0e8ff',
2137
- // Brand:
2138
- primary: '#cdacfe',
2139
- onPrimary: '#fdfbff',
2140
- secondary: '#7622d7',
2141
- onSecondary: '#ffffff',
2142
- defaultSurface: '#fdfbff',
2143
- highlightedSurface: '#460078',
2144
- pressedSurface: '#9a58fc',
2145
- decorativePrimary: '#fdfbff',
2146
- decorativePrimarySurface: '#74409a',
2147
- decorativeSecondary: '#fdfbff',
2148
- decorativeSecondarySurface: '#f0e6ff'
2149
- };
2150
-
2151
2093
  var BASE_WIDTH = 390; // Based on iPhone 13's viewport size
2152
2094
  var horizontalScale = function horizontalScale(size) {
2153
2095
  if (reactNative.Platform.OS === 'web') {
@@ -40489,7 +40431,6 @@ exports.Toast = Toast;
40489
40431
  exports.Toolbar = index$1;
40490
40432
  exports.Typography = Typography;
40491
40433
  exports.eBensSystemPalette = eBensSystemPalette;
40492
- exports.ehWorkDarkPalette = ehWorkDarkPalette;
40493
40434
  exports.getTheme = getTheme$1;
40494
40435
  exports.jobsSystemPalette = jobsSystemPalette;
40495
40436
  exports.scale = scale;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hero-design/rn",
3
- "version": "8.89.0-alpha.1",
3
+ "version": "8.89.0",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -95,6 +95,5 @@
95
95
  "ts-jest": "^29.1.1",
96
96
  "typescript": "^5.7.3"
97
97
  },
98
- "prettier": "prettier-config-hd",
99
- "react-native": "src/index.ts"
98
+ "prettier": "prettier-config-hd"
100
99
  }
package/src/index.ts CHANGED
@@ -10,7 +10,6 @@ import theme, {
10
10
  jobsSystemPalette,
11
11
  walletSystemPalette,
12
12
  eBensSystemPalette,
13
- ehWorkDarkPalette,
14
13
  ThemeSwitcher,
15
14
  withTheme,
16
15
  } from './theme';
@@ -91,7 +90,6 @@ export {
91
90
  jobsSystemPalette,
92
91
  walletSystemPalette,
93
92
  eBensSystemPalette,
94
- ehWorkDarkPalette,
95
93
  Accordion,
96
94
  Alert,
97
95
  AppCue,
@@ -7,7 +7,6 @@ import workSystemPalette from './colors/work';
7
7
  import jobsSystemPalette from './colors/jobs';
8
8
  import walletSystemPalette from './colors/wallet';
9
9
  import eBensSystemPalette from './colors/eBens';
10
- import ehWorkDarkPalette from './colors/ehWorkDark';
11
10
 
12
11
  import { getFonts, getFontSizes, getLineHeights } from './typography';
13
12
  import { getSpace } from './space';
@@ -57,5 +56,4 @@ export {
57
56
  jobsSystemPalette,
58
57
  walletSystemPalette,
59
58
  eBensSystemPalette,
60
- ehWorkDarkPalette,
61
59
  };
@@ -10,7 +10,6 @@ import {
10
10
  jobsSystemPalette,
11
11
  walletSystemPalette,
12
12
  eBensSystemPalette,
13
- ehWorkDarkPalette,
14
13
  } from './global';
15
14
 
16
15
  import type { Theme } from './getTheme';
@@ -33,7 +32,6 @@ export {
33
32
  jobsSystemPalette,
34
33
  walletSystemPalette,
35
34
  eBensSystemPalette,
36
- ehWorkDarkPalette,
37
35
  };
38
36
 
39
37
  export default defaultTheme;