@utahdts/utah-design-system 0.5.3 → 0.5.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.
@@ -24,12 +24,12 @@ elemental html: h1, h2, h3, ul, li, etc.
24
24
  }
25
25
  h3 {
26
26
  font-size: var(--font-size-2xl );
27
- font-weight: var(--font-weight-normal);
27
+ font-weight: var(--font-weight-semi-bold);
28
28
  margin: 0;
29
29
  }
30
30
  h4 {
31
31
  font-size: var(--font-size-l);
32
- font-weight: var(--font-weight-normal);
32
+ font-weight: var(--font-weight-semi-bold);
33
33
  margin: 0;
34
34
  }
35
35
  h5 {
@@ -819,13 +819,13 @@ elemental html: h1, h2, h3, ul, li, etc.
819
819
 
820
820
  .utah-design-system h3 {
821
821
  font-size: var(--font-size-2xl);
822
- font-weight: var(--font-weight-normal);
822
+ font-weight: var(--font-weight-semi-bold);
823
823
  margin: 0;
824
824
  }
825
825
 
826
826
  .utah-design-system h4 {
827
827
  font-size: var(--font-size-l);
828
- font-weight: var(--font-weight-normal);
828
+ font-weight: var(--font-weight-semi-bold);
829
829
  margin: 0;
830
830
  }
831
831
 
@@ -6,7 +6,7 @@ import { useLocation, NavLink } from "react-router-dom";
6
6
  const name = "@utahdts/utah-design-system";
7
7
  const description = "Utah Design System React Library";
8
8
  const displayName = "Utah Design System React Library";
9
- const version$1 = "0.5.3";
9
+ const version$1 = "0.5.4";
10
10
  const exports = {
11
11
  ".": {
12
12
  "development-local": "./index.js",
@@ -64,7 +64,7 @@ const bugs = {
64
64
  };
65
65
  const homepage = "https://github.com/utahdts/utah-design-system";
66
66
  const dependencies = {
67
- "@utahdts/utah-design-system-header": "0.4.3",
67
+ "@utahdts/utah-design-system-header": "0.4.4",
68
68
  lodash: "4.17.21",
69
69
  "prop-types": "15.8.1",
70
70
  react: "18.x",
@@ -37241,7 +37241,10 @@ function UtahHeaderContextProvider({ children }) {
37241
37241
  [settings]
37242
37242
  );
37243
37243
  const providedSettings = useMemo(() => ({ settings, setSettings }), [settings]);
37244
- return /* @__PURE__ */ jsx(UtahHeaderContext.Provider, { value: providedSettings, children });
37244
+ return (
37245
+ // eslint-disable-next-line react/jsx-no-constructed-context-values
37246
+ /* @__PURE__ */ jsx(UtahHeaderContext.Provider, { value: providedSettings || {}, children })
37247
+ );
37245
37248
  }
37246
37249
  UtahHeaderContextProvider.propTypes = propTypes;
37247
37250
  UtahHeaderContextProvider.defaultProps = defaultProps;
@@ -22,7 +22,7 @@
22
22
  const name = "@utahdts/utah-design-system";
23
23
  const description = "Utah Design System React Library";
24
24
  const displayName = "Utah Design System React Library";
25
- const version$1 = "0.5.3";
25
+ const version$1 = "0.5.4";
26
26
  const exports$1 = {
27
27
  ".": {
28
28
  "development-local": "./index.js",
@@ -80,7 +80,7 @@
80
80
  };
81
81
  const homepage = "https://github.com/utahdts/utah-design-system";
82
82
  const dependencies = {
83
- "@utahdts/utah-design-system-header": "0.4.3",
83
+ "@utahdts/utah-design-system-header": "0.4.4",
84
84
  lodash: "4.17.21",
85
85
  "prop-types": "15.8.1",
86
86
  react: "18.x",
@@ -37257,7 +37257,10 @@
37257
37257
  [settings]
37258
37258
  );
37259
37259
  const providedSettings = React.useMemo(() => ({ settings, setSettings }), [settings]);
37260
- return /* @__PURE__ */ jsx(UtahHeaderContext.Provider, { value: providedSettings, children });
37260
+ return (
37261
+ // eslint-disable-next-line react/jsx-no-constructed-context-values
37262
+ /* @__PURE__ */ jsx(UtahHeaderContext.Provider, { value: providedSettings || {}, children })
37263
+ );
37261
37264
  }
37262
37265
  UtahHeaderContextProvider.propTypes = propTypes;
37263
37266
  UtahHeaderContextProvider.defaultProps = defaultProps;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@utahdts/utah-design-system",
3
3
  "description": "Utah Design System React Library",
4
4
  "displayName": "Utah Design System React Library",
5
- "version": "0.5.3",
5
+ "version": "0.5.4",
6
6
  "exports": {
7
7
  ".": {
8
8
  "development-local": "./index.js",
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "homepage": "https://github.com/utahdts/utah-design-system",
58
58
  "dependencies": {
59
- "@utahdts/utah-design-system-header": "0.4.3",
59
+ "@utahdts/utah-design-system-header": "0.4.4",
60
60
  "lodash": "4.17.21",
61
61
  "prop-types": "15.8.1",
62
62
  "react": "18.x",
@@ -31,7 +31,8 @@ export function UtahHeaderContextProvider({ children }) {
31
31
  const providedSettings = useMemo(() => ({ settings, setSettings }), [settings]);
32
32
 
33
33
  return (
34
- <UtahHeaderContext.Provider value={providedSettings}>
34
+ // eslint-disable-next-line react/jsx-no-constructed-context-values
35
+ <UtahHeaderContext.Provider value={providedSettings || {}}>
35
36
  {children}
36
37
  </UtahHeaderContext.Provider>
37
38
  );