@hero-design/rn-work-uikit 1.13.5 → 1.13.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @hero-design/rn-work-uikit
2
2
 
3
+ ## 1.13.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`94e95b9b964949e2ad8da6f071ac0aae7b8879ae`](https://github.com/Thinkei/hero-design/commit/94e95b9b964949e2ad8da6f071ac0aae7b8879ae)]:
8
+ - @hero-design/rn@8.127.0
9
+
10
+ ## 1.13.6
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`9f52a1a805000630192556c35dede41fbd91cc0a`](https://github.com/Thinkei/hero-design/commit/9f52a1a805000630192556c35dede41fbd91cc0a)]:
15
+ - @hero-design/rn@8.126.0
16
+
3
17
  ## 1.13.5
4
18
 
5
19
  ### Patch Changes
package/es/index.js CHANGED
@@ -5992,6 +5992,7 @@ var getBadgeTheme = function getBadgeTheme(theme) {
5992
5992
  success: theme.colors.onSuccessSurface,
5993
5993
  warning: theme.colors.onWarningSurface,
5994
5994
  archived: theme.colors.onArchivedSurface,
5995
+ neutral: theme.colors.mutedOnDefaultGlobalSurface,
5995
5996
  text: theme.colors.onDarkGlobalSurface,
5996
5997
  border: theme.colors.defaultGlobalSurface,
5997
5998
  countText: theme.colors.onDarkGlobalSurface,
@@ -6001,7 +6002,8 @@ var getBadgeTheme = function getBadgeTheme(theme) {
6001
6002
  info: theme.colors.infoSurface,
6002
6003
  success: theme.colors.successSurface,
6003
6004
  warning: theme.colors.warningSurface,
6004
- archived: theme.colors.archivedSurface
6005
+ archived: theme.colors.archivedSurface,
6006
+ neutral: theme.colors.neutralGlobalSurface
6005
6007
  },
6006
6008
  stringText: {
6007
6009
  primary: theme.colors.primary,
@@ -6009,12 +6011,13 @@ var getBadgeTheme = function getBadgeTheme(theme) {
6009
6011
  info: theme.colors.onInfoSurface,
6010
6012
  success: theme.colors.onSuccessSurface,
6011
6013
  warning: theme.colors.onWarningSurface,
6012
- archived: theme.colors.onArchivedSurface
6014
+ archived: theme.colors.onArchivedSurface,
6015
+ neutral: theme.colors.onDefaultGlobalSurface
6013
6016
  }
6014
6017
  };
6015
6018
  var fonts = {
6016
- medium: theme.fonts.neutral.regular,
6017
- small: theme.fonts.neutral.semiBold
6019
+ medium: theme.fonts.neutral.medium,
6020
+ small: theme.fonts.neutral.medium
6018
6021
  };
6019
6022
  var fontSizes = {
6020
6023
  medium: theme.fontSizes.small,
@@ -7330,10 +7333,12 @@ var getTagTheme = function getTagTheme(theme) {
7330
7333
  dangerBackground: theme.colors.errorSurface,
7331
7334
  archived: theme.colors.onArchivedSurface,
7332
7335
  archivedBackground: theme.colors.archivedSurface,
7333
- text: theme.colors.onDefaultGlobalSurface
7336
+ text: theme.colors.onDefaultGlobalSurface,
7337
+ neutral: theme.colors.onDefaultGlobalSurface,
7338
+ neutralBackground: theme.colors.neutralGlobalSurface
7334
7339
  };
7335
7340
  var fonts = {
7336
- "default": theme.fonts.neutral.semiBold
7341
+ "default": theme.fonts.neutral.medium
7337
7342
  };
7338
7343
  var fontSizes = {
7339
7344
  "default": theme.fontSizes.small
@@ -29014,7 +29019,7 @@ var Tag = function Tag(_ref) {
29014
29019
  testID: testID !== undefined ? "".concat(testID, "-left-icon") : undefined
29015
29020
  }), typeof content === 'string' ? /*#__PURE__*/React__default.createElement(StyledText$1, {
29016
29021
  themeIntent: intent,
29017
- fontWeight: "semi-bold"
29022
+ fontWeight: "medium"
29018
29023
  }, content) : content, rightIcon !== undefined && /*#__PURE__*/React__default.createElement(StyledTagIcon, {
29019
29024
  icon: rightIcon,
29020
29025
  size: "xsmall",
package/lib/index.js CHANGED
@@ -6022,6 +6022,7 @@ var getBadgeTheme = function getBadgeTheme(theme) {
6022
6022
  success: theme.colors.onSuccessSurface,
6023
6023
  warning: theme.colors.onWarningSurface,
6024
6024
  archived: theme.colors.onArchivedSurface,
6025
+ neutral: theme.colors.mutedOnDefaultGlobalSurface,
6025
6026
  text: theme.colors.onDarkGlobalSurface,
6026
6027
  border: theme.colors.defaultGlobalSurface,
6027
6028
  countText: theme.colors.onDarkGlobalSurface,
@@ -6031,7 +6032,8 @@ var getBadgeTheme = function getBadgeTheme(theme) {
6031
6032
  info: theme.colors.infoSurface,
6032
6033
  success: theme.colors.successSurface,
6033
6034
  warning: theme.colors.warningSurface,
6034
- archived: theme.colors.archivedSurface
6035
+ archived: theme.colors.archivedSurface,
6036
+ neutral: theme.colors.neutralGlobalSurface
6035
6037
  },
6036
6038
  stringText: {
6037
6039
  primary: theme.colors.primary,
@@ -6039,12 +6041,13 @@ var getBadgeTheme = function getBadgeTheme(theme) {
6039
6041
  info: theme.colors.onInfoSurface,
6040
6042
  success: theme.colors.onSuccessSurface,
6041
6043
  warning: theme.colors.onWarningSurface,
6042
- archived: theme.colors.onArchivedSurface
6044
+ archived: theme.colors.onArchivedSurface,
6045
+ neutral: theme.colors.onDefaultGlobalSurface
6043
6046
  }
6044
6047
  };
6045
6048
  var fonts = {
6046
- medium: theme.fonts.neutral.regular,
6047
- small: theme.fonts.neutral.semiBold
6049
+ medium: theme.fonts.neutral.medium,
6050
+ small: theme.fonts.neutral.medium
6048
6051
  };
6049
6052
  var fontSizes = {
6050
6053
  medium: theme.fontSizes.small,
@@ -7360,10 +7363,12 @@ var getTagTheme = function getTagTheme(theme) {
7360
7363
  dangerBackground: theme.colors.errorSurface,
7361
7364
  archived: theme.colors.onArchivedSurface,
7362
7365
  archivedBackground: theme.colors.archivedSurface,
7363
- text: theme.colors.onDefaultGlobalSurface
7366
+ text: theme.colors.onDefaultGlobalSurface,
7367
+ neutral: theme.colors.onDefaultGlobalSurface,
7368
+ neutralBackground: theme.colors.neutralGlobalSurface
7364
7369
  };
7365
7370
  var fonts = {
7366
- "default": theme.fonts.neutral.semiBold
7371
+ "default": theme.fonts.neutral.medium
7367
7372
  };
7368
7373
  var fontSizes = {
7369
7374
  "default": theme.fontSizes.small
@@ -29044,7 +29049,7 @@ var Tag = function Tag(_ref) {
29044
29049
  testID: testID !== undefined ? "".concat(testID, "-left-icon") : undefined
29045
29050
  }), typeof content === 'string' ? /*#__PURE__*/React__namespace.default.createElement(StyledText$1, {
29046
29051
  themeIntent: intent,
29047
- fontWeight: "semi-bold"
29052
+ fontWeight: "medium"
29048
29053
  }, content) : content, rightIcon !== undefined && /*#__PURE__*/React__namespace.default.createElement(StyledTagIcon, {
29049
29054
  icon: rightIcon,
29050
29055
  size: "xsmall",
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@hero-design/rn-work-uikit",
3
- "version": "1.13.5",
3
+ "version": "1.13.7",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
7
- "react-native": "src/index.ts",
8
7
  "types": "types/index.d.ts",
8
+ "react-native": "src/index.ts",
9
9
  "description": "EH Work specific UI components built on top of @hero-design/rn",
10
10
  "scripts": {
11
11
  "lint": "eslint src --quiet",
@@ -23,7 +23,7 @@
23
23
  "dependencies": {
24
24
  "@emotion/native": "^11.9.3",
25
25
  "@emotion/react": "^11.9.3",
26
- "@hero-design/rn": "8.125.0",
26
+ "@hero-design/rn": "8.127.0",
27
27
  "hero-editor": "^1.17.0"
28
28
  },
29
29
  "peerDependencies": {