@linzjs/lui 24.15.0 → 24.16.1

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/dist/index.js CHANGED
@@ -5,8 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var React = require('react');
6
6
  var reactMenu = require('@szhsin/react-menu');
7
7
  var lottie = require('lottie-web/build/player/lottie_light');
8
- var crypto$1 = require('crypto');
9
8
  var ReactDOM = require('react-dom');
9
+ var crypto$1 = require('crypto');
10
10
  var jsxRuntime = require('react/jsx-runtime');
11
11
 
12
12
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -32,8 +32,8 @@ function _interopNamespace(e) {
32
32
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
33
33
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
34
34
  var lottie__default = /*#__PURE__*/_interopDefaultLegacy(lottie);
35
- var crypto__default = /*#__PURE__*/_interopDefaultLegacy(crypto$1);
36
35
  var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
36
+ var crypto__default = /*#__PURE__*/_interopDefaultLegacy(crypto$1);
37
37
 
38
38
  function r$3(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r$3(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx$1(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r$3(e))&&(n&&(n+=" "),n+=t);return n}
39
39
 
@@ -174,6 +174,9 @@ iconMap['ic_add_to_csv'] = (React__default["default"].createElement("svg", { vie
174
174
  React__default["default"].createElement("path", { d: "M5 9c0 .3.2 1 1 1s1-.7 1-1V7h2c.3 0 1-.2 1-1s-.7-1-1-1H7V3c0-.3-.2-1-1-1s-1 .7-1 1v2H3c-.3 0-1 .2-1 1s.7 1 1 1h2z" })));
175
175
  iconMap['ic_add_to_list'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
176
176
  React__default["default"].createElement("path", { d: "M13 10H3c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1m0-4H3c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1m5 8v-3c0-.55-.45-1-1-1s-1 .45-1 1v3h-3c-.55 0-1 .45-1 1s.45 1 1 1h3v3c0 .55.45 1 1 1s1-.45 1-1v-3h3c.55 0 1-.45 1-1s-.45-1-1-1zM3 16h6c.55 0 1-.45 1-1s-.45-1-1-1H3c-.55 0-1 .45-1 1s.45 1 1 1" })));
177
+ iconMap['ic_add_to_parcels'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
178
+ React__default["default"].createElement("path", { d: "M3 3V11H11V3H3ZM9 9H5V5H9V9ZM3 13V21H11V13H3ZM9 19H5V15H9V19ZM13 3V11H21V3H13ZM19 9H15V5H19V9Z" }),
179
+ React__default["default"].createElement("path", { d: "M22 18C22 17.4477 21.5523 17 21 17H19V15C19 14.4477 18.5523 14 18 14C17.4477 14 17 14.4477 17 15V17H15C14.4477 17 14 17.4477 14 18C14 18.5523 14.4477 19 15 19H17V21C17 21.5523 17.4477 22 18 22C18.5523 22 19 21.5523 19 21V19H21C21.5523 19 22 18.5523 22 18Z" })));
177
180
  iconMap['ic_add_to_statutory_action'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
178
181
  React__default["default"].createElement("path", { d: "M18 7V11C18 11.5523 17.5523 12 17 12H11V7H18ZM13 10H16V9H13V10Z" }),
179
182
  React__default["default"].createElement("path", { d: "M6 10H10V12H6V10Z" }),
@@ -235,6 +238,8 @@ iconMap['ic_arrow_forward_ios'] = (React__default["default"].createElement("svg"
235
238
  React__default["default"].createElement("path", { d: "m5.93 4.125 2.156-2.109L18.07 12l-9.984 9.984-2.156-2.109L13.852 12z" })));
236
239
  iconMap['ic_arrow_forward_right'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
237
240
  React__default["default"].createElement("path", { d: "M5.027 13.05h11.47l-5.012 5.144c-.4.412-.4 1.086 0 1.498.4.41 1.048.41 1.448 0l6.767-6.949c.4-.41.4-1.075 0-1.486l-6.767-6.949a1.004 1.004 0 0 0-1.448 0 1.07 1.07 0 0 0 0 1.487l5.011 5.145H5.026c-.564 0-1.026.475-1.026 1.055s.462 1.054 1.027 1.054Z" })));
241
+ iconMap['ic_arrow_up_left'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
242
+ React__default["default"].createElement("path", { d: "M7.82499 9.9998L10.725 12.8998C10.925 13.0998 11.0208 13.3331 11.0125 13.5998C11.0042 13.8665 10.9083 14.0998 10.725 14.2998C10.525 14.4998 10.2917 14.604 10.025 14.6123C9.75832 14.6206 9.52499 14.5248 9.32499 14.3248L4.69999 9.6998C4.59999 9.5998 4.52915 9.49147 4.48749 9.3748C4.44582 9.25814 4.42499 9.13314 4.42499 8.9998C4.42499 8.86647 4.44582 8.74147 4.48749 8.6248C4.52915 8.50814 4.59999 8.3998 4.69999 8.2998L9.27499 3.7248C9.47499 3.5248 9.71249 3.4248 9.98749 3.4248C10.2625 3.4248 10.5 3.5248 10.7 3.7248C10.9 3.9248 11 4.15814 11 4.4248C11 4.69147 10.9 4.9248 10.7 5.1248L7.82499 7.9998H17C17.55 7.9998 18.0208 8.19564 18.4125 8.5873C18.8042 8.97897 19 9.4498 19 9.9998V18.9998C19 19.2831 18.9042 19.5206 18.7125 19.7123C18.5208 19.904 18.2833 19.9998 18 19.9998C17.7167 19.9998 17.4792 19.904 17.2875 19.7123C17.0958 19.5206 17 19.2831 17 18.9998V9.9998H7.82499Z" })));
238
243
  iconMap['ic_attach_file'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
239
244
  React__default["default"].createElement("path", { d: "m19.571 10.586-8.132 8.132a4 4 0 0 1-5.657 0 4 4 0 0 1 0-5.657l8.84-8.84a2.501 2.501 0 0 1 3.535 3.536l-7.425 7.425a1.003 1.003 0 0 1-1.414 0 1.003 1.003 0 0 1 0-1.414l6.717-6.718-1.06-1.06-6.718 6.717a2.501 2.501 0 0 0 3.536 3.536l7.425-7.425a4 4 0 0 0 0-5.657 4 4 0 0 0-5.657 0L4.72 12a5.497 5.497 0 0 0 0 7.778 5.497 5.497 0 0 0 7.779 0l8.132-8.131z" })));
240
245
  iconMap['ic_attachment'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
@@ -465,6 +470,8 @@ iconMap['ic_generate_title'] = (React__default["default"].createElement("svg", {
465
470
  React__default["default"].createElement("path", { d: "M9.295 9.705 7.75 9l1.545-.705L10 6.75l.705 1.545L12.25 9l-1.545.705L10 11.25zM10 18.75l.705-1.545 1.545-.705-1.545-.705L10 14.25l-.705 1.545-1.545.705 1.545.705zm-2.722-6.472-1.028.472 1.027.473.473 1.027.473-1.027 1.027-.473-1.027-.473-.473-1.027zM13 12c0-2.318 1.035-4.455 2.58-6H13V4.5h5.25v5.25h-1.5V6.96C15.4 8.265 14.5 10.11 14.5 12c0 2.49 1.575 4.77 3.75 5.865V19.5C15.182 18.308 13 15.262 13 12" })));
466
471
  iconMap['ic_grid_view'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
467
472
  React__default["default"].createElement("path", { d: "M3 3h8v8H3zm0 10h8v8H3zM21 3h-8v8h8zm-8 10h8v8h-8z" })));
473
+ iconMap['ic_help'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
474
+ React__default["default"].createElement("path", { d: "M12.8375 17.6375C13.0792 17.3958 13.2 17.1 13.2 16.75C13.2 16.4 13.0792 16.1042 12.8375 15.8625C12.5958 15.6208 12.3 15.5 11.95 15.5C11.6 15.5 11.3042 15.6208 11.0625 15.8625C10.8208 16.1042 10.7 16.4 10.7 16.75C10.7 17.1 10.8208 17.3958 11.0625 17.6375C11.3042 17.8792 11.6 18 11.95 18C12.3 18 12.5958 17.8792 12.8375 17.6375ZM11.05 14.15H12.9C12.9 13.6 12.9625 13.1667 13.0875 12.85C13.2125 12.5333 13.5667 12.1 14.15 11.55C14.5833 11.1167 14.925 10.7042 15.175 10.3125C15.425 9.92083 15.55 9.45 15.55 8.9C15.55 7.96667 15.2083 7.25 14.525 6.75C13.8417 6.25 13.0333 6 12.1 6C11.15 6 10.3792 6.25 9.7875 6.75C9.19583 7.25 8.78333 7.85 8.55 8.55L10.2 9.2C10.2833 8.9 10.4708 8.575 10.7625 8.225C11.0542 7.875 11.5 7.7 12.1 7.7C12.6333 7.7 13.0333 7.84583 13.3 8.1375C13.5667 8.42917 13.7 8.75 13.7 9.1C13.7 9.43333 13.6 9.74583 13.4 10.0375C13.2 10.3292 12.95 10.6 12.65 10.85C11.9167 11.5 11.4667 11.9917 11.3 12.325C11.1333 12.6583 11.05 13.2667 11.05 14.15ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22Z" })));
468
475
  iconMap['ic_help_outline'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
469
476
  React__default["default"].createElement("path", { d: "M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4" })));
470
477
  iconMap['ic_high_priority'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
@@ -782,6 +789,9 @@ iconMap['ic_slidein'] = (React__default["default"].createElement("svg", { xmlns:
782
789
  iconMap['ic_slideout'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
783
790
  React__default["default"].createElement("path", { d: "M4 20C3.45 20 2.97917 19.8042 2.5875 19.4125C2.19583 19.0208 2 18.55 2 18V6C2 5.45 2.19583 4.97917 2.5875 4.5875C2.97917 4.19583 3.45 4 4 4H20C20.55 4 21.0208 4.19583 21.4125 4.5875C21.8042 4.97917 22 5.45 22 6V18C22 18.55 21.8042 19.0208 21.4125 19.4125C21.0208 19.8042 20.55 20 20 20H4ZM10 18H20V6H10V18Z" }),
784
791
  React__default["default"].createElement("path", { d: "M15 15.8002L13.67 14.4702L15.1663 12.9502H11.2V11.0502H15.1663L13.67 9.5302L15 8.2002L18.8 12.0002L15 15.8002Z" })));
792
+ iconMap['ic_slideup'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
793
+ React__default["default"].createElement("path", { d: "M22 19C22 19.55 21.8042 20.0208 21.4125 20.4125C21.0208 20.8042 20.55 21 20 21H4C3.45 21 2.97917 20.8042 2.5875 20.4125C2.19583 20.0208 2 19.55 2 19L2 5C2 4.45 2.19583 3.97917 2.5875 3.5875C2.97917 3.19583 3.45 3 4 3L20 3C20.55 3 21.0208 3.19583 21.4125 3.5875C21.8042 3.97917 22 4.45 22 5V19ZM20 15V5L4 5L4 15L20 15Z" }),
794
+ React__default["default"].createElement("path", { d: "M15.8 9.99999L14.47 11.33L12.95 9.83374V13.8H11.05V9.83374L9.53 11.33L8.2 9.99999L12 6.19999L15.8 9.99999Z" })));
785
795
  iconMap['ic_sort'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
786
796
  React__default["default"].createElement("path", { d: "M4 18h4c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1M3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1m1 6h10c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1" })));
787
797
  iconMap['ic_sorting_down_arrow_up'] = (React__default["default"].createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
@@ -983,13 +993,31 @@ var PlainButton = React__default["default"].forwardRef(function (props, ref) {
983
993
  var LuiButton = React__default["default"].forwardRef(function (props, ref) {
984
994
  var _level = props.level ? props.level : 'primary';
985
995
  var size = props.size ? props.size : 'med';
996
+ if (_level === 'error') {
997
+ console.warn('Warning: The "error" level for LuiButton is deprecated. Please use intent="danger" instead.');
998
+ }
999
+ // Only show the loading spinner after a 100ms delay to prevent it from flashing for fast operations
1000
+ var _a = React.useState(false), loadingDelayElapsed = _a[0], setLoadingDelayElapsed = _a[1];
1001
+ var showLoadingSpinner = props.loading && loadingDelayElapsed;
1002
+ React.useEffect(function () {
1003
+ if (!props.loading) {
1004
+ setLoadingDelayElapsed(false);
1005
+ return;
1006
+ }
1007
+ var timeoutId = setTimeout(function () {
1008
+ setLoadingDelayElapsed(true);
1009
+ }, 100);
1010
+ return function () {
1011
+ clearTimeout(timeoutId);
1012
+ };
1013
+ }, [props.loading]);
986
1014
  if (props.href) {
987
1015
  var aProps = {
988
1016
  href: props.href,
989
1017
  'data-testid': props['data-testid'],
990
1018
  name: props.name,
991
1019
  title: props.title,
992
- className: clsx$1('lui-button', "lui-button-".concat(props.level), "lui-button-".concat(props.size), props.className),
1020
+ className: clsx$1('lui-button', props.level && "lui-button-".concat(props.level), props.size && "lui-button-".concat(props.size), props.intent && "lui-button-".concat(props.intent), props.className),
993
1021
  style: props.style
994
1022
  };
995
1023
  if (props.openInNewTab) {
@@ -998,7 +1026,15 @@ var LuiButton = React__default["default"].forwardRef(function (props, ref) {
998
1026
  }
999
1027
  return React__default["default"].createElement("a", __assign({}, aProps), props.children);
1000
1028
  }
1001
- return (React__default["default"].createElement(PlainButton, { type: props.type, title: props.title, disabled: props.disabled, name: props.name, onClick: props.onClick, level: _level, size: size, "data-testid": props['data-testid'], style: props.style, className: props.className, buttonProps: props.buttonProps, ref: ref }, props.children));
1029
+ return (React__default["default"].createElement(PlainButton, { type: props.type, title: props.title, disabled: props.disabled || props.loading, name: props.name, onClick: props.onClick, level: _level, size: size, "data-testid": props['data-testid'], style: props.style, className: clsx$1(props.className, props.intent && "lui-button-".concat(props.intent)), buttonProps: props.loading
1030
+ ? __assign(__assign({}, props.buttonProps), { 'aria-busy': true }) : props.buttonProps, ref: ref },
1031
+ props.children,
1032
+ showLoadingSpinner && (React__default["default"].createElement(LuiMiniSpinner, { size: size === 'sm' ? 18 : 24, highContrast: ['primary', 'success', 'error'].includes(_level), divProps: {
1033
+ className: 'lui-button-loading-spinner',
1034
+ 'data-testid': 'loading-spinner',
1035
+ role: 'status',
1036
+ 'aria-label': 'Loading'
1037
+ } }))));
1002
1038
  });
1003
1039
  /**
1004
1040
  * A series of Lui buttons together.
@@ -1101,12 +1137,12 @@ var reactIs_production_min$1 = {};
1101
1137
  * This source code is licensed under the MIT license found in the
1102
1138
  * LICENSE file in the root directory of this source tree.
1103
1139
  */
1104
- var b$1="function"===typeof Symbol&&Symbol.for,c$1=b$1?Symbol.for("react.element"):60103,d$1=b$1?Symbol.for("react.portal"):60106,e$1=b$1?Symbol.for("react.fragment"):60107,f$1=b$1?Symbol.for("react.strict_mode"):60108,g$1=b$1?Symbol.for("react.profiler"):60114,h$3=b$1?Symbol.for("react.provider"):60109,k$1=b$1?Symbol.for("react.context"):60110,l$1=b$1?Symbol.for("react.async_mode"):60111,m$1=b$1?Symbol.for("react.concurrent_mode"):60111,n$1=b$1?Symbol.for("react.forward_ref"):60112,p$1=b$1?Symbol.for("react.suspense"):60113,q$1=b$1?
1105
- Symbol.for("react.suspense_list"):60120,r$2=b$1?Symbol.for("react.memo"):60115,t$1=b$1?Symbol.for("react.lazy"):60116,v$3=b$1?Symbol.for("react.block"):60121,w$4=b$1?Symbol.for("react.fundamental"):60117,x$1=b$1?Symbol.for("react.responder"):60118,y$1=b$1?Symbol.for("react.scope"):60119;
1106
- function z$1(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c$1:switch(a=a.type,a){case l$1:case m$1:case e$1:case g$1:case f$1:case p$1:return a;default:switch(a=a&&a.$$typeof,a){case k$1:case n$1:case t$1:case r$2:case h$3:return a;default:return u}}case d$1:return u}}}function A$1(a){return z$1(a)===m$1}reactIs_production_min$1.AsyncMode=l$1;reactIs_production_min$1.ConcurrentMode=m$1;reactIs_production_min$1.ContextConsumer=k$1;reactIs_production_min$1.ContextProvider=h$3;reactIs_production_min$1.Element=c$1;reactIs_production_min$1.ForwardRef=n$1;reactIs_production_min$1.Fragment=e$1;reactIs_production_min$1.Lazy=t$1;reactIs_production_min$1.Memo=r$2;reactIs_production_min$1.Portal=d$1;
1107
- reactIs_production_min$1.Profiler=g$1;reactIs_production_min$1.StrictMode=f$1;reactIs_production_min$1.Suspense=p$1;reactIs_production_min$1.isAsyncMode=function(a){return A$1(a)||z$1(a)===l$1};reactIs_production_min$1.isConcurrentMode=A$1;reactIs_production_min$1.isContextConsumer=function(a){return z$1(a)===k$1};reactIs_production_min$1.isContextProvider=function(a){return z$1(a)===h$3};reactIs_production_min$1.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c$1};reactIs_production_min$1.isForwardRef=function(a){return z$1(a)===n$1};reactIs_production_min$1.isFragment=function(a){return z$1(a)===e$1};reactIs_production_min$1.isLazy=function(a){return z$1(a)===t$1};
1140
+ var b$1="function"===typeof Symbol&&Symbol.for,c$1=b$1?Symbol.for("react.element"):60103,d$1=b$1?Symbol.for("react.portal"):60106,e$1=b$1?Symbol.for("react.fragment"):60107,f$1=b$1?Symbol.for("react.strict_mode"):60108,g$1=b$1?Symbol.for("react.profiler"):60114,h$4=b$1?Symbol.for("react.provider"):60109,k$1=b$1?Symbol.for("react.context"):60110,l$1=b$1?Symbol.for("react.async_mode"):60111,m$1=b$1?Symbol.for("react.concurrent_mode"):60111,n$1=b$1?Symbol.for("react.forward_ref"):60112,p$1=b$1?Symbol.for("react.suspense"):60113,q$1=b$1?
1141
+ Symbol.for("react.suspense_list"):60120,r$2=b$1?Symbol.for("react.memo"):60115,t$1=b$1?Symbol.for("react.lazy"):60116,v$4=b$1?Symbol.for("react.block"):60121,w$5=b$1?Symbol.for("react.fundamental"):60117,x$1=b$1?Symbol.for("react.responder"):60118,y$1=b$1?Symbol.for("react.scope"):60119;
1142
+ function z$1(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c$1:switch(a=a.type,a){case l$1:case m$1:case e$1:case g$1:case f$1:case p$1:return a;default:switch(a=a&&a.$$typeof,a){case k$1:case n$1:case t$1:case r$2:case h$4:return a;default:return u}}case d$1:return u}}}function A$1(a){return z$1(a)===m$1}reactIs_production_min$1.AsyncMode=l$1;reactIs_production_min$1.ConcurrentMode=m$1;reactIs_production_min$1.ContextConsumer=k$1;reactIs_production_min$1.ContextProvider=h$4;reactIs_production_min$1.Element=c$1;reactIs_production_min$1.ForwardRef=n$1;reactIs_production_min$1.Fragment=e$1;reactIs_production_min$1.Lazy=t$1;reactIs_production_min$1.Memo=r$2;reactIs_production_min$1.Portal=d$1;
1143
+ reactIs_production_min$1.Profiler=g$1;reactIs_production_min$1.StrictMode=f$1;reactIs_production_min$1.Suspense=p$1;reactIs_production_min$1.isAsyncMode=function(a){return A$1(a)||z$1(a)===l$1};reactIs_production_min$1.isConcurrentMode=A$1;reactIs_production_min$1.isContextConsumer=function(a){return z$1(a)===k$1};reactIs_production_min$1.isContextProvider=function(a){return z$1(a)===h$4};reactIs_production_min$1.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c$1};reactIs_production_min$1.isForwardRef=function(a){return z$1(a)===n$1};reactIs_production_min$1.isFragment=function(a){return z$1(a)===e$1};reactIs_production_min$1.isLazy=function(a){return z$1(a)===t$1};
1108
1144
  reactIs_production_min$1.isMemo=function(a){return z$1(a)===r$2};reactIs_production_min$1.isPortal=function(a){return z$1(a)===d$1};reactIs_production_min$1.isProfiler=function(a){return z$1(a)===g$1};reactIs_production_min$1.isStrictMode=function(a){return z$1(a)===f$1};reactIs_production_min$1.isSuspense=function(a){return z$1(a)===p$1};
1109
- reactIs_production_min$1.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e$1||a===m$1||a===g$1||a===f$1||a===p$1||a===q$1||"object"===typeof a&&null!==a&&(a.$$typeof===t$1||a.$$typeof===r$2||a.$$typeof===h$3||a.$$typeof===k$1||a.$$typeof===n$1||a.$$typeof===w$4||a.$$typeof===x$1||a.$$typeof===y$1||a.$$typeof===v$3)};reactIs_production_min$1.typeOf=z$1;
1145
+ reactIs_production_min$1.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e$1||a===m$1||a===g$1||a===f$1||a===p$1||a===q$1||"object"===typeof a&&null!==a&&(a.$$typeof===t$1||a.$$typeof===r$2||a.$$typeof===h$4||a.$$typeof===k$1||a.$$typeof===n$1||a.$$typeof===w$5||a.$$typeof===x$1||a.$$typeof===y$1||a.$$typeof===v$4)};reactIs_production_min$1.typeOf=z$1;
1110
1146
 
1111
1147
  var reactIs_development$1 = {};
1112
1148
 
@@ -3276,17 +3312,17 @@ var LuiResizableLayout = function (props) {
3276
3312
  } }));
3277
3313
  };
3278
3314
 
3279
- var v$2 = "5.7.4";
3280
- var fr$1 = 30.0000305175781;
3281
- var ip$1 = 0;
3282
- var op$1 = 3629.0036916097;
3283
- var w$3 = 380;
3284
- var h$2 = 280;
3285
- var nm$1 = "2023 spinner";
3286
- var ddd$1 = 0;
3287
- var assets$1 = [
3315
+ var v$3 = "5.7.4";
3316
+ var fr$2 = 30.0000305175781;
3317
+ var ip$2 = 0;
3318
+ var op$2 = 3629.0036916097;
3319
+ var w$4 = 380;
3320
+ var h$3 = 280;
3321
+ var nm$2 = "2023 spinner";
3322
+ var ddd$2 = 0;
3323
+ var assets$2 = [
3288
3324
  ];
3289
- var layers$1 = [
3325
+ var layers$2 = [
3290
3326
  {
3291
3327
  ddd: 0,
3292
3328
  ind: 1,
@@ -6004,33 +6040,33 @@ var layers$1 = [
6004
6040
  bm: 0
6005
6041
  }
6006
6042
  ];
6007
- var markers$1 = [
6043
+ var markers$2 = [
6008
6044
  ];
6009
6045
  var loaderData = {
6010
- v: v$2,
6011
- fr: fr$1,
6012
- ip: ip$1,
6013
- op: op$1,
6014
- w: w$3,
6015
- h: h$2,
6016
- nm: nm$1,
6017
- ddd: ddd$1,
6018
- assets: assets$1,
6019
- layers: layers$1,
6020
- markers: markers$1
6046
+ v: v$3,
6047
+ fr: fr$2,
6048
+ ip: ip$2,
6049
+ op: op$2,
6050
+ w: w$4,
6051
+ h: h$3,
6052
+ nm: nm$2,
6053
+ ddd: ddd$2,
6054
+ assets: assets$2,
6055
+ layers: layers$2,
6056
+ markers: markers$2
6021
6057
  };
6022
6058
 
6023
- var v$1 = "5.7.4";
6024
- var fr = 29.9700012207031;
6025
- var ip = 0;
6026
- var op = 20.0000008146167;
6027
- var w$2 = 200;
6028
- var h$1 = 200;
6029
- var nm = "right circle/sml loader";
6030
- var ddd = 0;
6031
- var assets = [
6059
+ var v$2 = "5.7.4";
6060
+ var fr$1 = 29.9700012207031;
6061
+ var ip$1 = 0;
6062
+ var op$1 = 20.0000008146167;
6063
+ var w$3 = 200;
6064
+ var h$2 = 200;
6065
+ var nm$1 = "right circle/sml loader";
6066
+ var ddd$1 = 0;
6067
+ var assets$1 = [
6032
6068
  ];
6033
- var layers = [
6069
+ var layers$1 = [
6034
6070
  {
6035
6071
  ddd: 0,
6036
6072
  ind: 1,
@@ -6648,9 +6684,346 @@ var layers = [
6648
6684
  bm: 0
6649
6685
  }
6650
6686
  ];
6651
- var markers = [
6687
+ var markers$1 = [
6652
6688
  ];
6653
6689
  var smlLoaderData = {
6690
+ v: v$2,
6691
+ fr: fr$1,
6692
+ ip: ip$1,
6693
+ op: op$1,
6694
+ w: w$3,
6695
+ h: h$2,
6696
+ nm: nm$1,
6697
+ ddd: ddd$1,
6698
+ assets: assets$1,
6699
+ layers: layers$1,
6700
+ markers: markers$1
6701
+ };
6702
+
6703
+ var v$1 = "5.7.4";
6704
+ var fr = 29.9700012207031;
6705
+ var ip = 0;
6706
+ var op = 20.0000008146167;
6707
+ var w$2 = 200;
6708
+ var h$1 = 200;
6709
+ var nm = "right circle/sml loader with high contrast";
6710
+ var ddd = 0;
6711
+ var assets = [
6712
+ ];
6713
+ var layers = [
6714
+ {
6715
+ ddd: 0,
6716
+ ind: 2,
6717
+ ty: 4,
6718
+ nm: "left circle/sml loader Outlines",
6719
+ sr: 1,
6720
+ ks: {
6721
+ o: {
6722
+ a: 0,
6723
+ k: 100,
6724
+ ix: 11
6725
+ },
6726
+ r: {
6727
+ a: 1,
6728
+ k: [
6729
+ {
6730
+ i: {
6731
+ x: [
6732
+ 0.833
6733
+ ],
6734
+ y: [
6735
+ 0.833
6736
+ ]
6737
+ },
6738
+ o: {
6739
+ x: [
6740
+ 0.167
6741
+ ],
6742
+ y: [
6743
+ 0.167
6744
+ ]
6745
+ },
6746
+ t: 0,
6747
+ s: [
6748
+ 0
6749
+ ]
6750
+ },
6751
+ {
6752
+ t: 20.0000008146167,
6753
+ s: [
6754
+ 360
6755
+ ]
6756
+ }
6757
+ ],
6758
+ ix: 10
6759
+ },
6760
+ p: {
6761
+ a: 0,
6762
+ k: [
6763
+ 100,
6764
+ 100,
6765
+ 0
6766
+ ],
6767
+ ix: 2,
6768
+ l: 2
6769
+ },
6770
+ a: {
6771
+ a: 0,
6772
+ k: [
6773
+ 100,
6774
+ 100,
6775
+ 0
6776
+ ],
6777
+ ix: 1,
6778
+ l: 2
6779
+ },
6780
+ s: {
6781
+ a: 0,
6782
+ k: [
6783
+ 100,
6784
+ 100,
6785
+ 100
6786
+ ],
6787
+ ix: 6,
6788
+ l: 2
6789
+ }
6790
+ },
6791
+ ao: 0,
6792
+ shapes: [
6793
+ {
6794
+ ty: "gr",
6795
+ it: [
6796
+ {
6797
+ ind: 0,
6798
+ ty: "sh",
6799
+ ix: 1,
6800
+ ks: {
6801
+ a: 0,
6802
+ k: {
6803
+ i: [
6804
+ [
6805
+ 0,
6806
+ 0
6807
+ ],
6808
+ [
6809
+ 0,
6810
+ 55.14
6811
+ ],
6812
+ [
6813
+ -55.14,
6814
+ 0
6815
+ ],
6816
+ [
6817
+ -0.147,
6818
+ -8.749
6819
+ ],
6820
+ [
6821
+ 0,
6822
+ 0
6823
+ ],
6824
+ [
6825
+ 0,
6826
+ -41.597
6827
+ ],
6828
+ [
6829
+ -41.597,
6830
+ 0
6831
+ ]
6832
+ ],
6833
+ o: [
6834
+ [
6835
+ -55.14,
6836
+ 0
6837
+ ],
6838
+ [
6839
+ 0,
6840
+ -55.14
6841
+ ],
6842
+ [
6843
+ 0,
6844
+ 0
6845
+ ],
6846
+ [
6847
+ 0.148,
6848
+ 8.793
6849
+ ],
6850
+ [
6851
+ -41.597,
6852
+ 0
6853
+ ],
6854
+ [
6855
+ 0,
6856
+ 41.598
6857
+ ],
6858
+ [
6859
+ 0,
6860
+ 0
6861
+ ]
6862
+ ],
6863
+ v: [
6864
+ [
6865
+ 50,
6866
+ 100
6867
+ ],
6868
+ [
6869
+ -50,
6870
+ 0
6871
+ ],
6872
+ [
6873
+ 50,
6874
+ -100
6875
+ ],
6876
+ [
6877
+ 59.338,
6878
+ -87.698
6879
+ ],
6880
+ [
6881
+ 50,
6882
+ -75.438
6883
+ ],
6884
+ [
6885
+ -25.438,
6886
+ 0
6887
+ ],
6888
+ [
6889
+ 50,
6890
+ 75.438
6891
+ ]
6892
+ ],
6893
+ c: true
6894
+ },
6895
+ ix: 2
6896
+ },
6897
+ nm: "Path 1",
6898
+ mn: "ADBE Vector Shape - Group",
6899
+ hd: false
6900
+ },
6901
+ {
6902
+ ty: "gf",
6903
+ o: {
6904
+ a: 0,
6905
+ k: 100,
6906
+ ix: 10
6907
+ },
6908
+ r: 1,
6909
+ bm: 0,
6910
+ g: {
6911
+ p: 5,
6912
+ k: {
6913
+ a: 0,
6914
+ k: [
6915
+ 0.002,
6916
+ 0.039,
6917
+ 0.635,
6918
+ 0.271,
6919
+ 0.286,
6920
+ 0.02,
6921
+ 0.539,
6922
+ 0.433,
6923
+ 0.57,
6924
+ 0,
6925
+ 0.443,
6926
+ 0.596,
6927
+ 0.785,
6928
+ 0,
6929
+ 0.351,
6930
+ 0.48,
6931
+ 1,
6932
+ 0,
6933
+ 0.259,
6934
+ 0.365
6935
+ ],
6936
+ ix: 9
6937
+ }
6938
+ },
6939
+ s: {
6940
+ a: 0,
6941
+ k: [
6942
+ 98,
6943
+ 80
6944
+ ],
6945
+ ix: 5
6946
+ },
6947
+ e: {
6948
+ a: 0,
6949
+ k: [
6950
+ 100,
6951
+ -75
6952
+ ],
6953
+ ix: 6
6954
+ },
6955
+ t: 1,
6956
+ nm: "Gradient Fill 1",
6957
+ mn: "ADBE Vector Graphic - G-Fill",
6958
+ hd: false
6959
+ },
6960
+ {
6961
+ ty: "tr",
6962
+ p: {
6963
+ a: 0,
6964
+ k: [
6965
+ 50,
6966
+ 100
6967
+ ],
6968
+ ix: 2
6969
+ },
6970
+ a: {
6971
+ a: 0,
6972
+ k: [
6973
+ 0,
6974
+ 0
6975
+ ],
6976
+ ix: 1
6977
+ },
6978
+ s: {
6979
+ a: 0,
6980
+ k: [
6981
+ 100,
6982
+ 100
6983
+ ],
6984
+ ix: 3
6985
+ },
6986
+ r: {
6987
+ a: 0,
6988
+ k: 0,
6989
+ ix: 6
6990
+ },
6991
+ o: {
6992
+ a: 0,
6993
+ k: 100,
6994
+ ix: 7
6995
+ },
6996
+ sk: {
6997
+ a: 0,
6998
+ k: 0,
6999
+ ix: 4
7000
+ },
7001
+ sa: {
7002
+ a: 0,
7003
+ k: 0,
7004
+ ix: 5
7005
+ },
7006
+ nm: "Transform"
7007
+ }
7008
+ ],
7009
+ nm: "Group 1",
7010
+ np: 2,
7011
+ cix: 2,
7012
+ bm: 0,
7013
+ ix: 1,
7014
+ mn: "ADBE Vector Group",
7015
+ hd: false
7016
+ }
7017
+ ],
7018
+ ip: 0,
7019
+ op: 120.0000048877,
7020
+ st: 0,
7021
+ bm: 0
7022
+ }
7023
+ ];
7024
+ var markers = [
7025
+ ];
7026
+ var highContrastSmallLoaderData = {
6654
7027
  v: v$1,
6655
7028
  fr: fr,
6656
7029
  ip: ip,
@@ -6713,12 +7086,13 @@ var LuiStatusSpinner = function (props) {
6713
7086
  React__default["default"].createElement(LuiLoadingSpinner, null),
6714
7087
  React__default["default"].createElement("div", null, props.children))));
6715
7088
  };
6716
- var LuiMiniSpinner = function (props) {
6717
- return (React__default["default"].createElement("div", __assign({}, props.divProps),
6718
- React__default["default"].createElement(LuiLottieLight, { animationData: smlLoaderData, loop: true, autoplay: autoplay, rendererSettings: {
6719
- preserveAspectRatio: 'xMidYMid slice'
6720
- }, style: { height: props.size, width: props.size } })));
7089
+ var SPINNER_RENDERER_SETTINGS = {
7090
+ preserveAspectRatio: 'xMidYMid slice'
6721
7091
  };
7092
+ var LuiMiniSpinner = React__default["default"].memo(function (props) {
7093
+ return (React__default["default"].createElement("div", __assign({}, props.divProps),
7094
+ React__default["default"].createElement(LuiLottieLight, { animationData: props.highContrast ? highContrastSmallLoaderData : smlLoaderData, loop: true, autoplay: autoplay, rendererSettings: SPINNER_RENDERER_SETTINGS, style: { height: props.size, width: props.size } })));
7095
+ });
6722
7096
  var LuiLoadingSpinner = function (props) {
6723
7097
  return (React__default["default"].createElement(LuiLoadingSpinnerBase, { animationData: loaderData, dataTestId: props.dataTestId }));
6724
7098
  };