@linzjs/lui 11.1.5 → 11.1.6

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,3 +1,10 @@
1
+ ## [11.1.6](https://github.com/linz/lui/compare/v11.1.5...v11.1.6) (2021-12-13)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Potential fix to SSR issue ([#488](https://github.com/linz/lui/issues/488)) ([2815707](https://github.com/linz/lui/commit/2815707cb496abcb60802fbc9226fb0d07d3aa60))
7
+
1
8
  ## [11.1.5](https://github.com/linz/lui/compare/v11.1.4...v11.1.5) (2021-12-08)
2
9
 
3
10
 
@@ -11,4 +11,5 @@ export declare const LuiMiniSpinner: (props: LuiMiniSpinnerProps) => JSX.Element
11
11
  export declare const LuiLoadingSpinner: () => JSX.Element;
12
12
  export declare const LuiLoadingSpinnerEaster: () => JSX.Element;
13
13
  export declare const LuiLoadingSpinnerChristmas: () => JSX.Element;
14
+ export declare function isChromatic(): boolean;
14
15
  export {};
@@ -4993,7 +4993,9 @@ var LuiLoadingSpinner = function LuiLoadingSpinner() {
4993
4993
  };
4994
4994
 
4995
4995
  function isChromatic() {
4996
- return !!(window.navigator.userAgent.match(/Chromatic/) || window.location.href.match(/chromatic=true/));
4996
+ var _window, _window2;
4997
+
4998
+ return !!((_window = window) != null && _window.navigator.userAgent.match(/Chromatic/) || (_window2 = window) != null && _window2.location.href.match(/chromatic=true/));
4997
4999
  }
4998
5000
 
4999
5001
  var css$5 = ":root {\n --grey-80: #2a292c;\n --grey-60: #6b6966;\n --$gray: #989189;\n --grey-20: #beb9b4;\n --grey-10: #eaeaea;\n --grey-05: #f9f9f9;\n --teal: #00425d;\n --sea: #007198;\n --electric: #0096cc;\n --spray: #73c8e1;\n --polar: #e2f3f7;\n --sherpa: #004b50;\n --surfie: #017a76;\n --persian: #00a599;\n --downy: #73cdc8;\n --iceberg: #dcf5f0;\n --sacramento: #004e32;\n --salem: #08814d;\n --pigment: #0aa245;\n --granny: #9bd79b;\n --panache: #e9fae7;\n --brand-primary: #004b50;\n --brand-secondary: #017a76;\n --success: #0aa245;\n --success-bg: #e9fae7;\n --info: #3a7cdf;\n --info-bg: #d8e5f9;\n --warning: #ea6a2e;\n --warning-bg: #fbdfd2;\n --error: #cc0000;\n --error-focus: #5a0000;\n --error-bg: #f5cccc;\n --visited: #00425d;\n --green-hover: #08814d;\n --color-green-active: #004e32;\n --green-btn: #0aa245;\n --txt-link: #0096cc;\n --color-primary-hover-btn: #007198;\n --color-selection: #c7e9f3;\n --heading-color: #017a76;\n --heading-color--secondary: #2a292c;\n --base-type-color: #2a292c;\n --base-icon-color: #007198;\n --disabled-color: #989189;\n --disabled-color-dark: #6b6966;\n --linz-color-primary: #023d48;\n --linz-color-primary-hover: #01818a;\n --linz-color-tertiary: #e1e44a;\n --linz-color-tertiary-hover: #cdcf59;\n --color-test-pink: #f09;\n --linz-linear-gradient-blue: linear-gradient(70deg, #00425d 12%, #007198 100%);\n --linz-linear-gradient-teal: linear-gradient(270deg, #00a599 1%, #73cdc8 100%);\n}";