@dbcdk/react-components 0.0.130 → 0.0.132

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.
@@ -8,9 +8,9 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
8
8
  var styles__default = /*#__PURE__*/_interopDefault(styles);
9
9
 
10
10
  const PRESETS = {
11
- production: { label: "Produktionsmilj\xF8", severity: "success" },
11
+ production: { label: "Produktionsmilj\xF8", severity: "error" },
12
12
  staging: { label: "Staging-milj\xF8", severity: "warning" },
13
- test: { label: "Test-milj\xF8", severity: "info" }
13
+ test: { label: "Test-milj\xF8", severity: "success" }
14
14
  };
15
15
  function EnvironmentBanner(props) {
16
16
  const { label, severity } = props.environment != null ? PRESETS[props.environment] : { label: props.customLabel, severity: props.customSeverity };
@@ -2,9 +2,9 @@ import { jsx } from 'react/jsx-runtime';
2
2
  import styles from './EnvironmentBanner.module.css';
3
3
 
4
4
  const PRESETS = {
5
- production: { label: "Produktionsmilj\xF8", severity: "success" },
5
+ production: { label: "Produktionsmilj\xF8", severity: "error" },
6
6
  staging: { label: "Staging-milj\xF8", severity: "warning" },
7
- test: { label: "Test-milj\xF8", severity: "info" }
7
+ test: { label: "Test-milj\xF8", severity: "success" }
8
8
  };
9
9
  function EnvironmentBanner(props) {
10
10
  const { label, severity } = props.environment != null ? PRESETS[props.environment] : { label: props.customLabel, severity: props.customSeverity };
@@ -10,8 +10,8 @@
10
10
  padding-inline: var(--spacing-md);
11
11
  background-color: var(--env-banner-bg);
12
12
  color: var(--env-banner-fg);
13
-
14
- font-size: var(--font-size-xs);
13
+ letter-spacing: var(--letter-spacing-wide);
14
+ font-size: var(--font-size-md);
15
15
  font-weight: var(--font-weight-semibold);
16
16
  text-transform: uppercase;
17
17
  line-height: var(--line-height-normal);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbcdk/react-components",
3
- "version": "0.0.130",
3
+ "version": "0.0.132",
4
4
  "description": "Reusable React components for DBC projects",
5
5
  "license": "ISC",
6
6
  "author": "",