@linzjs/lui 21.12.1 → 21.13.0

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
@@ -32446,6 +32446,7 @@ var RULESET = 'rule';
32446
32446
  var DECLARATION = 'decl';
32447
32447
  var IMPORT = '@import';
32448
32448
  var KEYFRAMES = '@keyframes';
32449
+ var LAYER = '@layer';
32449
32450
 
32450
32451
  /**
32451
32452
  * @param {number}
@@ -32860,7 +32861,7 @@ function parse$1 (value, root, parent, rule, rules, rulesets, pseudo, points, de
32860
32861
  // \0 }
32861
32862
  case 0: case 125: scanning = 0;
32862
32863
  // ;
32863
- case 59 + offset:
32864
+ case 59 + offset: if (ampersand == -1) characters = replace(characters, /\f/g, '');
32864
32865
  if (property > 0 && (strlen(characters) - length))
32865
32866
  append(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations);
32866
32867
  break
@@ -32875,8 +32876,8 @@ function parse$1 (value, root, parent, rule, rules, rulesets, pseudo, points, de
32875
32876
  parse$1(characters, root, reference, reference, props, rulesets, length, points, children);
32876
32877
  else
32877
32878
  switch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {
32878
- // d m s
32879
- case 100: case 109: case 115:
32879
+ // d l m s
32880
+ case 100: case 108: case 109: case 115:
32880
32881
  parse$1(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children);
32881
32882
  break
32882
32883
  default:
@@ -32995,6 +32996,7 @@ function serialize (children, callback) {
32995
32996
  */
32996
32997
  function stringify (element, index, children, callback) {
32997
32998
  switch (element.type) {
32999
+ case LAYER: if (element.children.length) break
32998
33000
  case IMPORT: case DECLARATION: return element.return = element.return || element.value
32999
33001
  case COMMENT: return ''
33000
33002
  case KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'
@@ -33048,7 +33050,7 @@ var weakMemoize = function weakMemoize(func) {
33048
33050
  };
33049
33051
  };
33050
33052
 
33051
- function memoize(fn) {
33053
+ function memoize$1(fn) {
33052
33054
  var cache = Object.create(null);
33053
33055
  return function (arg) {
33054
33056
  if (cache[arg] === undefined) cache[arg] = fn(arg);
@@ -33192,7 +33194,7 @@ var createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) {
33192
33194
  var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g);
33193
33195
 
33194
33196
  if (unsafePseudoClasses) {
33195
- var isNested = element.parent === children[0]; // in nested rules comments become children of the "auto-inserted" rule
33197
+ var isNested = !!element.parent; // in nested rules comments become children of the "auto-inserted" rule and that's always the `element.parent`
33196
33198
  //
33197
33199
  // considering this input:
33198
33200
  // .a {
@@ -33208,7 +33210,7 @@ var createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) {
33208
33210
  // .b {}
33209
33211
  // }
33210
33212
 
33211
- var commentContainer = isNested ? children[0].children : // global rule at the root level
33213
+ var commentContainer = isNested ? element.parent.children : // global rule at the root level
33212
33214
  children;
33213
33215
 
33214
33216
  for (var i = commentContainer.length - 1; i >= 0; i--) {
@@ -33501,9 +33503,9 @@ var prefixer = function prefixer(element, index, children, callback) {
33501
33503
  }
33502
33504
  };
33503
33505
 
33504
- var isBrowser$7 = typeof document !== 'undefined';
33505
- var getServerStylisCache = isBrowser$7 ? undefined : weakMemoize(function () {
33506
- return memoize(function () {
33506
+ var isBrowser$6 = typeof document !== 'undefined';
33507
+ var getServerStylisCache = isBrowser$6 ? undefined : weakMemoize(function () {
33508
+ return memoize$1(function () {
33507
33509
  var cache = {};
33508
33510
  return function (name) {
33509
33511
  return cache[name];
@@ -33519,7 +33521,7 @@ var createCache = function createCache(options) {
33519
33521
  throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\n" + "If multiple caches share the same key they might \"fight\" for each other's style elements.");
33520
33522
  }
33521
33523
 
33522
- if (isBrowser$7 && key === 'css') {
33524
+ if (isBrowser$6 && key === 'css') {
33523
33525
  var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])"); // get SSRed styles out of the way of React's hydration
33524
33526
  // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)
33525
33527
  // note this very very intentionally targets all style elements regardless of the key to ensure
@@ -33555,7 +33557,7 @@ var createCache = function createCache(options) {
33555
33557
  var container;
33556
33558
  var nodesToHydrate = [];
33557
33559
 
33558
- if (isBrowser$7) {
33560
+ if (isBrowser$6) {
33559
33561
  container = options.container || document.head;
33560
33562
  Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which
33561
33563
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
@@ -33583,7 +33585,7 @@ var createCache = function createCache(options) {
33583
33585
  }), incorrectImportAlarm);
33584
33586
  }
33585
33587
 
33586
- if (isBrowser$7) {
33588
+ if (isBrowser$6) {
33587
33589
  var currentSheet;
33588
33590
  var finalizingPlugins = [stringify, process.env.NODE_ENV !== 'production' ? function (element) {
33589
33591
  if (!element.root) {
@@ -33924,7 +33926,7 @@ var TYPE_STATICS = {};
33924
33926
  TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
33925
33927
  TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
33926
33928
 
33927
- var isBrowser$6 = typeof document !== 'undefined';
33929
+ var isBrowser$5 = typeof document !== 'undefined';
33928
33930
  function getRegisteredStyles(registered, registeredStyles, classNames) {
33929
33931
  var rawClassName = '';
33930
33932
  classNames.split(' ').forEach(function (className) {
@@ -33948,7 +33950,7 @@ var registerStyles = function registerStyles(cache, serialized, isStringTag) {
33948
33950
  // in node since emotion-server relies on whether a style is in
33949
33951
  // the registered cache to know whether a style is global or not
33950
33952
  // also, note that this check will be dead code eliminated in the browser
33951
- isBrowser$6 === false && cache.compat !== undefined) && cache.registered[className] === undefined) {
33953
+ isBrowser$5 === false && cache.compat !== undefined) && cache.registered[className] === undefined) {
33952
33954
  cache.registered[className] = serialized.styles;
33953
33955
  }
33954
33956
  };
@@ -33963,14 +33965,14 @@ var insertStyles = function insertStyles(cache, serialized, isStringTag) {
33963
33965
  do {
33964
33966
  var maybeStyles = cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true);
33965
33967
 
33966
- if (!isBrowser$6 && maybeStyles !== undefined) {
33968
+ if (!isBrowser$5 && maybeStyles !== undefined) {
33967
33969
  stylesForSSR += maybeStyles;
33968
33970
  }
33969
33971
 
33970
33972
  current = current.next;
33971
33973
  } while (current !== undefined);
33972
33974
 
33973
- if (!isBrowser$6 && stylesForSSR.length !== 0) {
33975
+ if (!isBrowser$5 && stylesForSSR.length !== 0) {
33974
33976
  return stylesForSSR;
33975
33977
  }
33976
33978
  }
@@ -34032,6 +34034,7 @@ function murmur2(str) {
34032
34034
 
34033
34035
  var unitlessKeys = {
34034
34036
  animationIterationCount: 1,
34037
+ aspectRatio: 1,
34035
34038
  borderImageOutset: 1,
34036
34039
  borderImageSlice: 1,
34037
34040
  borderImageWidth: 1,
@@ -34079,6 +34082,14 @@ var unitlessKeys = {
34079
34082
  strokeWidth: 1
34080
34083
  };
34081
34084
 
34085
+ function memoize(fn) {
34086
+ var cache = Object.create(null);
34087
+ return function (arg) {
34088
+ if (cache[arg] === undefined) cache[arg] = fn(arg);
34089
+ return cache[arg];
34090
+ };
34091
+ }
34092
+
34082
34093
  var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
34083
34094
  var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
34084
34095
  var hyphenateRegex = /[A-Z]|^ms/g;
@@ -34390,18 +34401,8 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
34390
34401
  };
34391
34402
  };
34392
34403
 
34393
- var isBrowser$5 = typeof document !== 'undefined';
34394
-
34395
- var syncFallback = function syncFallback(create) {
34396
- return create();
34397
- };
34398
-
34399
- var useInsertionEffect = React__namespace['useInsertion' + 'Effect'] ? React__namespace['useInsertion' + 'Effect'] : false;
34400
- var useInsertionEffectAlwaysWithSyncFallback = !isBrowser$5 ? syncFallback : useInsertionEffect || syncFallback;
34401
- var useInsertionEffectWithLayoutFallback = useInsertionEffect || React.useLayoutEffect;
34402
-
34403
34404
  var isBrowser$4 = typeof document !== 'undefined';
34404
- var hasOwnProperty$1 = {}.hasOwnProperty;
34405
+ var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
34405
34406
 
34406
34407
  var EmotionCacheContext = /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
34407
34408
  // because this module is primarily intended for the browser and node
@@ -34458,49 +34459,12 @@ if (process.env.NODE_ENV !== 'production') {
34458
34459
  ThemeContext.displayName = 'EmotionThemeContext';
34459
34460
  }
34460
34461
 
34461
- var getLastPart = function getLastPart(functionName) {
34462
- // The match may be something like 'Object.createEmotionProps' or
34463
- // 'Loader.prototype.render'
34464
- var parts = functionName.split('.');
34465
- return parts[parts.length - 1];
34466
- };
34467
-
34468
- var getFunctionNameFromStackTraceLine = function getFunctionNameFromStackTraceLine(line) {
34469
- // V8
34470
- var match = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(line);
34471
- if (match) return getLastPart(match[1]); // Safari / Firefox
34472
-
34473
- match = /^([A-Za-z0-9$.]+)@/.exec(line);
34474
- if (match) return getLastPart(match[1]);
34475
- return undefined;
34476
- };
34477
-
34478
- var internalReactFunctionNames = /* #__PURE__ */new Set(['renderWithHooks', 'processChild', 'finishClassComponent', 'renderToString']); // These identifiers come from error stacks, so they have to be valid JS
34479
- // identifiers, thus we only need to replace what is a valid character for JS,
34480
- // but not for CSS.
34462
+ // thus we only need to replace what is a valid character for JS, but not for CSS
34481
34463
 
34482
34464
  var sanitizeIdentifier = function sanitizeIdentifier(identifier) {
34483
34465
  return identifier.replace(/\$/g, '-');
34484
34466
  };
34485
34467
 
34486
- var getLabelFromStackTrace = function getLabelFromStackTrace(stackTrace) {
34487
- if (!stackTrace) return undefined;
34488
- var lines = stackTrace.split('\n');
34489
-
34490
- for (var i = 0; i < lines.length; i++) {
34491
- var functionName = getFunctionNameFromStackTraceLine(lines[i]); // The first line of V8 stack traces is just "Error"
34492
-
34493
- if (!functionName) continue; // If we reach one of these, we have gone too far and should quit
34494
-
34495
- if (internalReactFunctionNames.has(functionName)) break; // The component name is the first function in the stack that starts with an
34496
- // uppercase letter
34497
-
34498
- if (/^[A-Z]/.test(functionName)) return sanitizeIdentifier(functionName);
34499
- }
34500
-
34501
- return undefined;
34502
- };
34503
-
34504
34468
  var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
34505
34469
  var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
34506
34470
  var createEmotionProps = function createEmotionProps(type, props) {
@@ -34517,45 +34481,28 @@ var createEmotionProps = function createEmotionProps(type, props) {
34517
34481
  }
34518
34482
  }
34519
34483
 
34520
- newProps[typePropName] = type; // For performance, only call getLabelFromStackTrace in development and when
34521
- // the label hasn't already been computed
34522
-
34523
- if (process.env.NODE_ENV !== 'production' && !!props.css && (typeof props.css !== 'object' || typeof props.css.name !== 'string' || props.css.name.indexOf('-') === -1)) {
34524
- var label = getLabelFromStackTrace(new Error().stack);
34525
- if (label) newProps[labelPropName] = label;
34526
- }
34527
-
34528
- return newProps;
34529
- };
34484
+ newProps[typePropName] = type;
34530
34485
 
34531
- var Insertion$1 = function Insertion(_ref) {
34532
- var cache = _ref.cache,
34533
- serialized = _ref.serialized,
34534
- isStringTag = _ref.isStringTag;
34535
- registerStyles(cache, serialized, isStringTag);
34536
- var rules = useInsertionEffectAlwaysWithSyncFallback(function () {
34537
- return insertStyles(cache, serialized, isStringTag);
34538
- });
34486
+ if (process.env.NODE_ENV !== 'production') {
34487
+ var error = new Error();
34539
34488
 
34540
- if (!isBrowser$4 && rules !== undefined) {
34541
- var _ref2;
34489
+ if (error.stack) {
34490
+ // chrome
34491
+ var match = error.stack.match(/at (?:Object\.|Module\.|)(?:jsx|createEmotionProps).*\n\s+at (?:Object\.|)([A-Z][A-Za-z0-9$]+) /);
34542
34492
 
34543
- var serializedNames = serialized.name;
34544
- var next = serialized.next;
34493
+ if (!match) {
34494
+ // safari and firefox
34495
+ match = error.stack.match(/.*\n([A-Z][A-Za-z0-9$]+)@/);
34496
+ }
34545
34497
 
34546
- while (next !== undefined) {
34547
- serializedNames += ' ' + next.name;
34548
- next = next.next;
34498
+ if (match) {
34499
+ newProps[labelPropName] = sanitizeIdentifier(match[1]);
34500
+ }
34549
34501
  }
34550
-
34551
- return /*#__PURE__*/React.createElement("style", (_ref2 = {}, _ref2["data-emotion"] = cache.key + " " + serializedNames, _ref2.dangerouslySetInnerHTML = {
34552
- __html: rules
34553
- }, _ref2.nonce = cache.sheet.nonce, _ref2));
34554
34502
  }
34555
34503
 
34556
- return null;
34504
+ return newProps;
34557
34505
  };
34558
-
34559
34506
  var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
34560
34507
  var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works
34561
34508
  // not passing the registered cache to serializeStyles because it would
@@ -34565,7 +34512,7 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
34565
34512
  cssProp = cache.registered[cssProp];
34566
34513
  }
34567
34514
 
34568
- var WrappedComponent = props[typePropName];
34515
+ var type = props[typePropName];
34569
34516
  var registeredStyles = [cssProp];
34570
34517
  var className = '';
34571
34518
 
@@ -34585,6 +34532,7 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
34585
34532
  }
34586
34533
  }
34587
34534
 
34535
+ var rules = insertStyles(cache, serialized, typeof type === 'string');
34588
34536
  className += cache.key + "-" + serialized.name;
34589
34537
  var newProps = {};
34590
34538
 
@@ -34596,11 +34544,25 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
34596
34544
 
34597
34545
  newProps.ref = ref;
34598
34546
  newProps.className = className;
34599
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion$1, {
34600
- cache: cache,
34601
- serialized: serialized,
34602
- isStringTag: typeof WrappedComponent === 'string'
34603
- }), /*#__PURE__*/React.createElement(WrappedComponent, newProps));
34547
+ var ele = /*#__PURE__*/React.createElement(type, newProps);
34548
+
34549
+ if (!isBrowser$4 && rules !== undefined) {
34550
+ var _ref;
34551
+
34552
+ var serializedNames = serialized.name;
34553
+ var next = serialized.next;
34554
+
34555
+ while (next !== undefined) {
34556
+ serializedNames += ' ' + next.name;
34557
+ next = next.next;
34558
+ }
34559
+
34560
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("style", (_ref = {}, _ref["data-emotion"] = cache.key + " " + serializedNames, _ref.dangerouslySetInnerHTML = {
34561
+ __html: rules
34562
+ }, _ref.nonce = cache.sheet.nonce, _ref)), ele);
34563
+ }
34564
+
34565
+ return ele;
34604
34566
  });
34605
34567
 
34606
34568
  if (process.env.NODE_ENV !== 'production') {
@@ -34609,75 +34571,38 @@ if (process.env.NODE_ENV !== 'production') {
34609
34571
 
34610
34572
  var pkg = {
34611
34573
  name: "@emotion/react",
34612
- version: "11.10.5",
34574
+ version: "11.5.0",
34613
34575
  main: "dist/emotion-react.cjs.js",
34614
34576
  module: "dist/emotion-react.esm.js",
34615
34577
  browser: {
34578
+ "./dist/emotion-react.cjs.js": "./dist/emotion-react.browser.cjs.js",
34616
34579
  "./dist/emotion-react.esm.js": "./dist/emotion-react.browser.esm.js"
34617
34580
  },
34618
- exports: {
34619
- ".": {
34620
- module: {
34621
- worker: "./dist/emotion-react.worker.esm.js",
34622
- browser: "./dist/emotion-react.browser.esm.js",
34623
- "default": "./dist/emotion-react.esm.js"
34624
- },
34625
- "default": "./dist/emotion-react.cjs.js"
34626
- },
34627
- "./jsx-runtime": {
34628
- module: {
34629
- worker: "./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",
34630
- browser: "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",
34631
- "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"
34632
- },
34633
- "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"
34634
- },
34635
- "./_isolated-hnrs": {
34636
- module: {
34637
- worker: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",
34638
- browser: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",
34639
- "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"
34640
- },
34641
- "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"
34642
- },
34643
- "./jsx-dev-runtime": {
34644
- module: {
34645
- worker: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",
34646
- browser: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",
34647
- "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"
34648
- },
34649
- "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"
34650
- },
34651
- "./package.json": "./package.json",
34652
- "./types/css-prop": "./types/css-prop.d.ts",
34653
- "./macro": "./macro.js"
34654
- },
34655
34581
  types: "types/index.d.ts",
34656
34582
  files: [
34657
34583
  "src",
34658
34584
  "dist",
34659
34585
  "jsx-runtime",
34660
34586
  "jsx-dev-runtime",
34661
- "_isolated-hnrs",
34587
+ "isolated-hoist-non-react-statics-do-not-use-this-in-your-code",
34662
34588
  "types/*.d.ts",
34663
34589
  "macro.js",
34664
34590
  "macro.d.ts",
34665
34591
  "macro.js.flow"
34666
34592
  ],
34667
34593
  sideEffects: false,
34668
- author: "Emotion Contributors",
34594
+ author: "mitchellhamilton <mitchell@mitchellhamilton.me>",
34669
34595
  license: "MIT",
34670
34596
  scripts: {
34671
34597
  "test:typescript": "dtslint types"
34672
34598
  },
34673
34599
  dependencies: {
34674
- "@babel/runtime": "^7.18.3",
34675
- "@emotion/babel-plugin": "^11.10.5",
34676
- "@emotion/cache": "^11.10.5",
34677
- "@emotion/serialize": "^1.1.1",
34678
- "@emotion/use-insertion-effect-with-fallbacks": "^1.0.0",
34679
- "@emotion/utils": "^1.2.0",
34680
- "@emotion/weak-memoize": "^0.3.0",
34600
+ "@babel/runtime": "^7.13.10",
34601
+ "@emotion/cache": "^11.5.0",
34602
+ "@emotion/serialize": "^1.0.2",
34603
+ "@emotion/sheet": "^1.0.3",
34604
+ "@emotion/utils": "^1.0.0",
34605
+ "@emotion/weak-memoize": "^0.2.5",
34681
34606
  "hoist-non-react-statics": "^3.3.1"
34682
34607
  },
34683
34608
  peerDependencies: {
@@ -34693,16 +34618,16 @@ var pkg = {
34693
34618
  }
34694
34619
  },
34695
34620
  devDependencies: {
34696
- "@babel/core": "^7.18.5",
34697
- "@definitelytyped/dtslint": "0.0.112",
34698
- "@emotion/css": "11.10.5",
34699
- "@emotion/css-prettifier": "1.1.1",
34700
- "@emotion/server": "11.10.0",
34701
- "@emotion/styled": "11.10.5",
34621
+ "@babel/core": "^7.13.10",
34622
+ "@emotion/css": "11.5.0",
34623
+ "@emotion/css-prettifier": "1.0.0",
34624
+ "@emotion/server": "11.4.0",
34625
+ "@emotion/styled": "11.3.0",
34626
+ "@types/react": "^16.9.11",
34627
+ dtslint: "^0.3.0",
34702
34628
  "html-tag-names": "^1.1.2",
34703
34629
  react: "16.14.0",
34704
- "svg-tag-names": "^1.1.1",
34705
- typescript: "^4.5.5"
34630
+ "svg-tag-names": "^1.1.1"
34706
34631
  },
34707
34632
  repository: "https://github.com/emotion-js/emotion/tree/main/packages/react",
34708
34633
  publishConfig: {
@@ -34714,19 +34639,9 @@ var pkg = {
34714
34639
  "./index.js",
34715
34640
  "./jsx-runtime.js",
34716
34641
  "./jsx-dev-runtime.js",
34717
- "./_isolated-hnrs.js"
34642
+ "./isolated-hoist-non-react-statics-do-not-use-this-in-your-code.js"
34718
34643
  ],
34719
- umdName: "emotionReact",
34720
- exports: {
34721
- envConditions: [
34722
- "browser",
34723
- "worker"
34724
- ],
34725
- extra: {
34726
- "./types/css-prop": "./types/css-prop.d.ts",
34727
- "./macro": "./macro.js"
34728
- }
34729
- }
34644
+ umdName: "emotionReact"
34730
34645
  }
34731
34646
  };
34732
34647
 
@@ -34801,10 +34716,9 @@ var Global = /* #__PURE__ */withEmotionCache(function (props, cache) {
34801
34716
 
34802
34717
 
34803
34718
  var sheetRef = React.useRef();
34804
- useInsertionEffectWithLayoutFallback(function () {
34805
- var key = cache.key + "-global"; // use case of https://github.com/emotion-js/emotion/issues/2675
34806
-
34807
- var sheet = new cache.sheet.constructor({
34719
+ React.useLayoutEffect(function () {
34720
+ var key = cache.key + "-global";
34721
+ var sheet = new StyleSheet({
34808
34722
  key: key,
34809
34723
  nonce: cache.sheet.nonce,
34810
34724
  container: cache.sheet.container,
@@ -34830,7 +34744,7 @@ var Global = /* #__PURE__ */withEmotionCache(function (props, cache) {
34830
34744
  sheet.flush();
34831
34745
  };
34832
34746
  }, [cache]);
34833
- useInsertionEffectWithLayoutFallback(function () {
34747
+ React.useLayoutEffect(function () {
34834
34748
  var sheetRefCurrent = sheetRef.current;
34835
34749
  var sheet = sheetRefCurrent[0],
34836
34750
  rehydrating = sheetRefCurrent[1];
@@ -34945,41 +34859,10 @@ function merge(registered, css, className) {
34945
34859
  return rawClassName + css(registeredStyles);
34946
34860
  }
34947
34861
 
34948
- var Insertion = function Insertion(_ref) {
34949
- var cache = _ref.cache,
34950
- serializedArr = _ref.serializedArr;
34951
- var rules = useInsertionEffectAlwaysWithSyncFallback(function () {
34952
- var rules = '';
34953
-
34954
- for (var i = 0; i < serializedArr.length; i++) {
34955
- var res = insertStyles(cache, serializedArr[i], false);
34956
-
34957
- if (!isBrowser$4 && res !== undefined) {
34958
- rules += res;
34959
- }
34960
- }
34961
-
34962
- if (!isBrowser$4) {
34963
- return rules;
34964
- }
34965
- });
34966
-
34967
- if (!isBrowser$4 && rules.length !== 0) {
34968
- var _ref2;
34969
-
34970
- return /*#__PURE__*/React.createElement("style", (_ref2 = {}, _ref2["data-emotion"] = cache.key + " " + serializedArr.map(function (serialized) {
34971
- return serialized.name;
34972
- }).join(' '), _ref2.dangerouslySetInnerHTML = {
34973
- __html: rules
34974
- }, _ref2.nonce = cache.sheet.nonce, _ref2));
34975
- }
34976
-
34977
- return null;
34978
- };
34979
-
34980
34862
  var ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {
34863
+ var rules = '';
34864
+ var serializedHashes = '';
34981
34865
  var hasRendered = false;
34982
- var serializedArr = [];
34983
34866
 
34984
34867
  var css = function css() {
34985
34868
  if (hasRendered && process.env.NODE_ENV !== 'production') {
@@ -34991,9 +34874,21 @@ var ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {
34991
34874
  }
34992
34875
 
34993
34876
  var serialized = serializeStyles(args, cache.registered);
34994
- serializedArr.push(serialized); // registration has to happen here as the result of this might get consumed by `cx`
34995
34877
 
34996
- registerStyles(cache, serialized, false);
34878
+ if (isBrowser$4) {
34879
+ insertStyles(cache, serialized, false);
34880
+ } else {
34881
+ var res = insertStyles(cache, serialized, false);
34882
+
34883
+ if (res !== undefined) {
34884
+ rules += res;
34885
+ }
34886
+ }
34887
+
34888
+ if (!isBrowser$4) {
34889
+ serializedHashes += " " + serialized.name;
34890
+ }
34891
+
34997
34892
  return cache.key + "-" + serialized.name;
34998
34893
  };
34999
34894
 
@@ -35016,10 +34911,16 @@ var ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {
35016
34911
  };
35017
34912
  var ele = props.children(content);
35018
34913
  hasRendered = true;
35019
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {
35020
- cache: cache,
35021
- serializedArr: serializedArr
35022
- }), ele);
34914
+
34915
+ if (!isBrowser$4 && rules.length !== 0) {
34916
+ var _ref;
34917
+
34918
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("style", (_ref = {}, _ref["data-emotion"] = cache.key + " " + serializedHashes.substring(1), _ref.dangerouslySetInnerHTML = {
34919
+ __html: rules
34920
+ }, _ref.nonce = cache.sheet.nonce, _ref)), ele);
34921
+ }
34922
+
34923
+ return ele;
35023
34924
  });
35024
34925
 
35025
34926
  if (process.env.NODE_ENV !== 'production') {
@@ -35027,11 +34928,11 @@ if (process.env.NODE_ENV !== 'production') {
35027
34928
  }
35028
34929
 
35029
34930
  if (process.env.NODE_ENV !== 'production') {
35030
- var isBrowser$3 = typeof document !== 'undefined'; // #1727, #2905 for some reason Jest and Vitest evaluate modules twice if some consuming module gets mocked
34931
+ var isBrowser$3 = typeof document !== 'undefined'; // #1727 for some reason Jest evaluates modules twice if some consuming module gets mocked with jest.mock
35031
34932
 
35032
- var isTestEnv = typeof jest !== 'undefined' || typeof vi !== 'undefined';
34933
+ var isJest = typeof jest !== 'undefined';
35033
34934
 
35034
- if (isBrowser$3 && !isTestEnv) {
34935
+ if (isBrowser$3 && !isJest) {
35035
34936
  // globalThis has wide browser support - https://caniuse.com/?search=globalThis, Node.js 12 and later
35036
34937
  var globalContext = // $FlowIgnore
35037
34938
  typeof globalThis !== 'undefined' ? globalThis // eslint-disable-line no-undef
@@ -37684,7 +37585,7 @@ var defaultStyles = {
37684
37585
  valueContainer: valueContainerCSS
37685
37586
  }; // Merge Utility
37686
37587
 
37687
- var colors = {
37588
+ var colors$1 = {
37688
37589
  primary: '#2684FF',
37689
37590
  primary75: '#4C9AFF',
37690
37591
  primary50: '#B2D4FF',
@@ -37717,7 +37618,7 @@ var spacing = {
37717
37618
  };
37718
37619
  var defaultTheme = {
37719
37620
  borderRadius: borderRadius,
37720
- colors: colors,
37621
+ colors: colors$1,
37721
37622
  spacing: spacing
37722
37623
  };
37723
37624
 
@@ -39619,7 +39520,8 @@ var StateManagedSelect = /*#__PURE__*/React__default["default"].forwardRef(funct
39619
39520
 
39620
39521
  var Select = StateManagedSelect;
39621
39522
 
39622
- var css_248z$c = ":export {\n charcoal: #2a292c;\n fuscous: #6b6966;\n gray: #989189;\n silver: #beb9b4;\n lily: #eaeaea;\n dew: #DAD7D6;\n hint: #f9f9f9;\n snow: #ffffff;\n white: #ffffff;\n teal: #00425d;\n sea: #007198;\n electric: #0096cc;\n spray: #73c8e1;\n polar: #e2f3f7;\n memesia: #1F69C3;\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 engine: #cc0000;\n carrot: #EA6A2E;\n kendall: #F5CCCC;\n elizabeth: #FBDED0;\n andrea: #3A7CDF;\n celestial: #D7E5F9;\n golf: #0AA345;\n error: #cc0000;\n error-bg: #F5CCCC;\n error-focus: #5a0000;\n warning: #EA6A2E;\n warning-bg: #fbdfd2;\n warning-focus: #b33a01;\n success: #0aa245;\n success-bg: #e9fae7;\n info: #3A7CDF;\n info-bg: #d8e5f9;\n visited: #00425d;\n green-hover: #107c3a;\n green-active: #094a22;\n green-btn: #0aa245;\n txt-link: #1F69C3;\n primary-hover-btn: #005678;\n selection: #c7e9f3;\n heading-color: #017a76;\n heading-color--secondary: #2a292c;\n base-type-color: #2a292c;\n input-text: #2a292c;\n input-placeholder: #6b6966;\n input-placeholder-when-disabled: #989189;\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}";
39523
+ var css_248z$c = "";
39524
+ var colors = {"charcoal":"#2a292c","fuscous":"#6b6966","gray":"#989189","silver":"#beb9b4","lily":"#eaeaea","dew":"#DAD7D6","hint":"#f9f9f9","snow":"#ffffff","white":"#ffffff","teal":"#00425d","sea":"#007198","electric":"#0096cc","spray":"#73c8e1","polar":"#e2f3f7","memesia":"#1F69C3","sherpa":"#004b50","surfie":"#017a76","persian":"#00a599","downy":"#73cdc8","iceberg":"#dcf5f0","sacramento":"#004e32","salem":"#08814d","pigment":"#0aa245","granny":"#9bd79b","panache":"#e9fae7","brand-primary":"#004b50","brand-secondary":"#017a76","engine":"#cc0000","carrot":"#EA6A2E","kendall":"#F5CCCC","elizabeth":"#FBDED0","andrea":"#3A7CDF","celestial":"#D7E5F9","golf":"#0AA345","error":"#cc0000","error-bg":"#F5CCCC","error-focus":"#5a0000","warning":"#EA6A2E","warning-bg":"#fbdfd2","warning-focus":"#b33a01","success":"#0aa245","success-bg":"#e9fae7","info":"#3A7CDF","info-bg":"#d8e5f9","visited":"#00425d","green-hover":"#107c3a","green-active":"#094a22","green-btn":"#0aa245","txt-link":"#1F69C3","primary-hover-btn":"#005678","selection":"#c7e9f3","heading-color":"#017a76","heading-color--secondary":"#2a292c","base-type-color":"#2a292c","input-text":"#2a292c","input-placeholder":"#6b6966","input-placeholder-when-disabled":"#989189","base-icon-color":"#007198","disabled-color":"#989189","disabled-color-dark":"#6b6966","linz-color-primary":"#023d48","linz-color-primary-hover":"#01818a","linz-color-tertiary":"#e1e44a","linz-color-tertiary-hover":"#cdcf59","color-test-pink":"#f09","linz-linear-gradient-blue":"linear-gradient(70deg, #00425d 12%, #007198 100%)","linz-linear-gradient-teal":"linear-gradient(270deg, #00a599 1%, #73cdc8 100%)"};
39623
39525
  styleInject(css_248z$c);
39624
39526
 
39625
39527
  var _excluded = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "onCreateOption", "options", "onChange"];
@@ -39741,13 +39643,13 @@ function LuiComboSelectActual(givenProps, ref) {
39741
39643
  // box-shadow: "-8px 0px 0 0 #cc0000";
39742
39644
  // border-radius: "4px";
39743
39645
  var id = useGenerateOrDefaultId(props === null || props === void 0 ? void 0 : props.id);
39744
- var selectProp = __assign(__assign({ inputId: id }, props), { classNamePrefix: 'LuiComboSelect', theme: function (theme) { return (__assign(__assign({}, theme), { colors: __assign(__assign({}, theme.colors), { primary: css_248z$c['sea'], primary75: css_248z$c['electric'], primary50: css_248z$c['spray'], primary25: css_248z$c['polar'], neutral90: css_248z$c['charcoal'], neutral80: css_248z$c['charcoal'], neutral70: css_248z$c['charcoal'], neutral60: css_248z$c['fuscous'], neutral50: css_248z$c['fuscous'], neutral40: css_248z$c['gray'], neutral30: css_248z$c['gray'], neutral20: css_248z$c['silver'], neutral10: css_248z$c['lily'], neutral5: css_248z$c['hint'], danger: css_248z$c['error'], dangerLight: css_248z$c['error-bg'] }) })); }, styles: {
39646
+ var selectProp = __assign(__assign({ inputId: id }, props), { classNamePrefix: 'LuiComboSelect', theme: function (theme) { return (__assign(__assign({}, theme), { colors: __assign(__assign({}, theme.colors), { primary: colors['sea'], primary75: colors['electric'], primary50: colors['spray'], primary25: colors['polar'], neutral90: colors['charcoal'], neutral80: colors['charcoal'], neutral70: colors['charcoal'], neutral60: colors['fuscous'], neutral50: colors['fuscous'], neutral40: colors['gray'], neutral30: colors['gray'], neutral20: colors['silver'], neutral10: colors['lily'], neutral5: colors['hint'], danger: colors['error'], dangerLight: colors['error-bg'] }) })); }, styles: {
39745
39647
  control: function (provided, state) { return (__assign(__assign({}, provided), {
39746
39648
  /* matches style of .LuiTextInput-input */
39747
39649
  boxShadow: 'none', border: state.isFocused ? '1px solid #053d52' : '1px solid #b2b2b2', '&:hover, &:active': {
39748
39650
  borderColor: '#053d52'
39749
39651
  } })); },
39750
- dropdownIndicator: function (provided) { return (__assign(__assign({}, provided), { color: css_248z$c['fuscous'] })); },
39652
+ dropdownIndicator: function (provided) { return (__assign(__assign({}, provided), { color: colors['fuscous'] })); },
39751
39653
  indicatorSeparator: function (provided) { return (__assign(__assign({}, provided), { width: 0 })); },
39752
39654
  input: function (provided) { return (__assign(__assign({}, provided), { height: '40px', minHeight: '40px', fontWeight: 400, input: {
39753
39655
  height: '38px !important'
@@ -39755,10 +39657,10 @@ function LuiComboSelectActual(givenProps, ref) {
39755
39657
  singleValue: function (provided) { return (__assign(__assign({}, provided), { color: '#414042', fontWeight: 400 })); },
39756
39658
  placeholder: function (provided) { return (__assign(__assign({}, provided), {
39757
39659
  /* please keep this in sync with FormVars.scss/mixin.formPlaceholder */
39758
- fontWeight: 'normal', fontStyle: 'italic', color: css_248z$c['input-placeholder'] })); },
39660
+ fontWeight: 'normal', fontStyle: 'italic', color: colors['input-placeholder'] })); },
39759
39661
  option: function (provided, _a) {
39760
39662
  var isSelected = _a.isSelected;
39761
- return (__assign(__assign({}, provided), { color: css_248z$c['input-text'], backgroundColor: isSelected ? css_248z$c['selection'] : css_248z$c['white'] }));
39663
+ return (__assign(__assign({}, provided), { color: colors['input-text'], backgroundColor: isSelected ? colors['selection'] : colors['white'] }));
39762
39664
  }
39763
39665
  } });
39764
39666
  return (React__default["default"].createElement("label", { htmlFor: id, className: clsx('LuiComboSelect-label', props.error && 'hasError') },
@@ -42517,21 +42419,21 @@ var renderSelectMenu = function (items, onClick) { return (React__default["defau
42517
42419
  React__default["default"].createElement(LuiSelectMenuItem, { "data-testid": "select-box-".concat(item.value), value: item.value, onClick: onClick, noPadding: true }, item.title)));
42518
42420
  }))); };
42519
42421
 
42520
- exports.LuiSplitButtonPosition = void 0;
42422
+ var LuiSplitButtonPosition;
42521
42423
  (function (LuiSplitButtonPosition) {
42522
42424
  LuiSplitButtonPosition["TOP"] = "Top";
42523
42425
  LuiSplitButtonPosition["BOTTOM"] = "Bottom";
42524
- })(exports.LuiSplitButtonPosition || (exports.LuiSplitButtonPosition = {}));
42426
+ })(LuiSplitButtonPosition || (LuiSplitButtonPosition = {}));
42525
42427
  var getMenuPosition = function (position) {
42526
42428
  switch (position) {
42527
- case exports.LuiSplitButtonPosition.BOTTOM:
42429
+ case LuiSplitButtonPosition.BOTTOM:
42528
42430
  return {
42529
42431
  align: 'end',
42530
42432
  position: 'anchor',
42531
42433
  direction: 'bottom',
42532
42434
  offsetY: 5
42533
42435
  };
42534
- case exports.LuiSplitButtonPosition.TOP:
42436
+ case LuiSplitButtonPosition.TOP:
42535
42437
  default:
42536
42438
  return {
42537
42439
  align: 'end',
@@ -42542,7 +42444,7 @@ var getMenuPosition = function (position) {
42542
42444
  }
42543
42445
  };
42544
42446
  var getIconClassName = function (position, isMenuOpen) {
42545
- if (position === exports.LuiSplitButtonPosition.TOP) {
42447
+ if (position === LuiSplitButtonPosition.TOP) {
42546
42448
  if (isMenuOpen) {
42547
42449
  return 'lui-expand-icon material-icons-round lui-expand-icon-transform';
42548
42450
  }
@@ -42565,7 +42467,7 @@ var LuiSplitButtonMenuItem = function (_a) {
42565
42467
  };
42566
42468
  var LuiSplitButton = function (_a) {
42567
42469
  var _b;
42568
- var _c = _a.position, position = _c === void 0 ? exports.LuiSplitButtonPosition.TOP : _c, props = __rest(_a, ["position"]);
42470
+ var _c = _a.position, position = _c === void 0 ? LuiSplitButtonPosition.TOP : _c, props = __rest(_a, ["position"]);
42569
42471
  var _d = React.useState(false), isExpanded = _d[0], setIsExpanded = _d[1];
42570
42472
  // Let the consumer set any LuiButtonProps they want but overwrite the ones we want to control
42571
42473
  var buttonProps = __assign(__assign({}, props.buttonProps), {
@@ -58134,11 +58036,11 @@ var LuiProgressBar = function (_a) {
58134
58036
  var css_248z$4 = "/**\n @deprecated\n */\n/**\n @deprecated\n */\n/**\n @deprecated\n */\n.Toolbar {\n position: absolute;\n align-items: center;\n align-self: center;\n background: #ffffff;\n border-radius: 5px;\n display: flex;\n flex-direction: column;\n height: fit-content;\n margin: 0 0.75rem;\n padding: 0;\n width: fit-content;\n z-index: 1000;\n box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.2509803922), 0px 0px 3px 0px rgba(0, 0, 0, 0.1490196078);\n}\n\n.Left {\n justify-self: start;\n}\n\n.Right {\n justify-self: end;\n}";
58135
58037
  styleInject(css_248z$4);
58136
58038
 
58137
- exports.ToolbarDirection = void 0;
58039
+ var ToolbarDirection;
58138
58040
  (function (ToolbarDirection) {
58139
58041
  ToolbarDirection["LEFT"] = "Left";
58140
58042
  ToolbarDirection["RIGHT"] = "Right";
58141
- })(exports.ToolbarDirection || (exports.ToolbarDirection = {}));
58043
+ })(ToolbarDirection || (ToolbarDirection = {}));
58142
58044
  function LuiSideToolbar(props) {
58143
58045
  return (React__default["default"].createElement("div", { className: clsx(['Toolbar', 'app--shadow-sm', props.direction]), "data-testid": "toolbar" }, props.children));
58144
58046
  }