@sprinklrjs/spaceweb 14.14.3 → 14.14.4

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.
@@ -1,6 +1,6 @@
1
1
  import type { Theme } from '@sprinklrjs/spaceweb-themes/types';
2
2
  /**
3
- * neutral-400 as hex for light (#B8B9BB) and dark (#94969A) themes.
3
+ * neutral-400 as hex for light (#B8B9BB) and dark (#91949A) themes.
4
4
  * Used for disabled and unchecked form-control borders and tracks (checkbox, radio, switch)
5
5
  * where the design calls for this palette step and a concrete color is applied on nested
6
6
  * styled nodes (alongside theme.spr tokens elsewhere).
@@ -1,10 +1,10 @@
1
1
  import { isDarkTheme } from '../helpers/themeHelpers';
2
2
  /**
3
- * neutral-400 as hex for light (#B8B9BB) and dark (#94969A) themes.
3
+ * neutral-400 as hex for light (#B8B9BB) and dark (#91949A) themes.
4
4
  * Used for disabled and unchecked form-control borders and tracks (checkbox, radio, switch)
5
5
  * where the design calls for this palette step and a concrete color is applied on nested
6
6
  * styled nodes (alongside theme.spr tokens elsewhere).
7
7
  *
8
8
  * To be addressed via theme variables in the future.
9
9
  */
10
- export var getNeutral400Hex = function (theme) { return (isDarkTheme(theme) ? '#94969A' : '#B8B9BB'); };
10
+ export var getNeutral400Hex = function (theme) { return (isDarkTheme(theme) ? '#91949A' : '#B8B9BB'); };
@@ -5,7 +5,7 @@ export var TAG_INTENT_TO_BG_COLOR = {
5
5
  };
6
6
  // intent to background color for status enhancer, hardcoded values for non-standard intents
7
7
  export var STATUS_ENHANCER_INTENT_TO_BG_COLOR = {
8
- default: function (theme) { return theme.spr.ui06; },
8
+ default: function (theme) { return theme.spr.bgNeutral; },
9
9
  info: function () { return '#3188FF'; },
10
10
  error: function (theme) { return theme.spr.bgError; },
11
11
  warning: function (theme) { return theme.spr.bgWarning; },
@@ -1,6 +1,6 @@
1
1
  import type { Theme } from '@sprinklrjs/spaceweb-themes/types';
2
2
  /**
3
- * neutral-400 as hex for light (#B8B9BB) and dark (#94969A) themes.
3
+ * neutral-400 as hex for light (#B8B9BB) and dark (#91949A) themes.
4
4
  * Used for disabled and unchecked form-control borders and tracks (checkbox, radio, switch)
5
5
  * where the design calls for this palette step and a concrete color is applied on nested
6
6
  * styled nodes (alongside theme.spr tokens elsewhere).
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getNeutral400Hex = void 0;
4
4
  var themeHelpers_1 = require("../helpers/themeHelpers");
5
5
  /**
6
- * neutral-400 as hex for light (#B8B9BB) and dark (#94969A) themes.
6
+ * neutral-400 as hex for light (#B8B9BB) and dark (#91949A) themes.
7
7
  * Used for disabled and unchecked form-control borders and tracks (checkbox, radio, switch)
8
8
  * where the design calls for this palette step and a concrete color is applied on nested
9
9
  * styled nodes (alongside theme.spr tokens elsewhere).
10
10
  *
11
11
  * To be addressed via theme variables in the future.
12
12
  */
13
- var getNeutral400Hex = function (theme) { return ((0, themeHelpers_1.isDarkTheme)(theme) ? '#94969A' : '#B8B9BB'); };
13
+ var getNeutral400Hex = function (theme) { return ((0, themeHelpers_1.isDarkTheme)(theme) ? '#91949A' : '#B8B9BB'); };
14
14
  exports.getNeutral400Hex = getNeutral400Hex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sprinklrjs/spaceweb",
3
- "version": "14.14.3",
3
+ "version": "14.14.4",
4
4
  "description": "Components for SpaceWeb",
5
5
  "main": "index.js",
6
6
  "module": "./esm/index.js",
@@ -101,7 +101,7 @@
101
101
  "ts-node": "^10.4.0"
102
102
  },
103
103
  "peerDependencies": {
104
- "@sprinklrjs/spaceweb-themes": "14.14.3",
104
+ "@sprinklrjs/spaceweb-themes": "14.14.4",
105
105
  "react": ">=17.0.2 <19.0.0",
106
106
  "react-dom": ">=17.0.2 <19.0.0"
107
107
  }
package/tag/constants.js CHANGED
@@ -8,7 +8,7 @@ exports.TAG_INTENT_TO_BG_COLOR = {
8
8
  };
9
9
  // intent to background color for status enhancer, hardcoded values for non-standard intents
10
10
  exports.STATUS_ENHANCER_INTENT_TO_BG_COLOR = {
11
- default: function (theme) { return theme.spr.ui06; },
11
+ default: function (theme) { return theme.spr.bgNeutral; },
12
12
  info: function () { return '#3188FF'; },
13
13
  error: function (theme) { return theme.spr.bgError; },
14
14
  warning: function (theme) { return theme.spr.bgWarning; },