@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/lui.esm.js CHANGED
@@ -32417,6 +32417,7 @@ var RULESET = 'rule';
32417
32417
  var DECLARATION = 'decl';
32418
32418
  var IMPORT = '@import';
32419
32419
  var KEYFRAMES = '@keyframes';
32420
+ var LAYER = '@layer';
32420
32421
 
32421
32422
  /**
32422
32423
  * @param {number}
@@ -32831,7 +32832,7 @@ function parse$1 (value, root, parent, rule, rules, rulesets, pseudo, points, de
32831
32832
  // \0 }
32832
32833
  case 0: case 125: scanning = 0;
32833
32834
  // ;
32834
- case 59 + offset:
32835
+ case 59 + offset: if (ampersand == -1) characters = replace(characters, /\f/g, '');
32835
32836
  if (property > 0 && (strlen(characters) - length))
32836
32837
  append(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations);
32837
32838
  break
@@ -32846,8 +32847,8 @@ function parse$1 (value, root, parent, rule, rules, rulesets, pseudo, points, de
32846
32847
  parse$1(characters, root, reference, reference, props, rulesets, length, points, children);
32847
32848
  else
32848
32849
  switch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {
32849
- // d m s
32850
- case 100: case 109: case 115:
32850
+ // d l m s
32851
+ case 100: case 108: case 109: case 115:
32851
32852
  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);
32852
32853
  break
32853
32854
  default:
@@ -32966,6 +32967,7 @@ function serialize (children, callback) {
32966
32967
  */
32967
32968
  function stringify (element, index, children, callback) {
32968
32969
  switch (element.type) {
32970
+ case LAYER: if (element.children.length) break
32969
32971
  case IMPORT: case DECLARATION: return element.return = element.return || element.value
32970
32972
  case COMMENT: return ''
32971
32973
  case KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'
@@ -33019,7 +33021,7 @@ var weakMemoize = function weakMemoize(func) {
33019
33021
  };
33020
33022
  };
33021
33023
 
33022
- function memoize(fn) {
33024
+ function memoize$1(fn) {
33023
33025
  var cache = Object.create(null);
33024
33026
  return function (arg) {
33025
33027
  if (cache[arg] === undefined) cache[arg] = fn(arg);
@@ -33163,7 +33165,7 @@ var createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) {
33163
33165
  var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g);
33164
33166
 
33165
33167
  if (unsafePseudoClasses) {
33166
- var isNested = element.parent === children[0]; // in nested rules comments become children of the "auto-inserted" rule
33168
+ var isNested = !!element.parent; // in nested rules comments become children of the "auto-inserted" rule and that's always the `element.parent`
33167
33169
  //
33168
33170
  // considering this input:
33169
33171
  // .a {
@@ -33179,7 +33181,7 @@ var createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) {
33179
33181
  // .b {}
33180
33182
  // }
33181
33183
 
33182
- var commentContainer = isNested ? children[0].children : // global rule at the root level
33184
+ var commentContainer = isNested ? element.parent.children : // global rule at the root level
33183
33185
  children;
33184
33186
 
33185
33187
  for (var i = commentContainer.length - 1; i >= 0; i--) {
@@ -33472,9 +33474,9 @@ var prefixer = function prefixer(element, index, children, callback) {
33472
33474
  }
33473
33475
  };
33474
33476
 
33475
- var isBrowser$7 = typeof document !== 'undefined';
33476
- var getServerStylisCache = isBrowser$7 ? undefined : weakMemoize(function () {
33477
- return memoize(function () {
33477
+ var isBrowser$6 = typeof document !== 'undefined';
33478
+ var getServerStylisCache = isBrowser$6 ? undefined : weakMemoize(function () {
33479
+ return memoize$1(function () {
33478
33480
  var cache = {};
33479
33481
  return function (name) {
33480
33482
  return cache[name];
@@ -33490,7 +33492,7 @@ var createCache = function createCache(options) {
33490
33492
  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.");
33491
33493
  }
33492
33494
 
33493
- if (isBrowser$7 && key === 'css') {
33495
+ if (isBrowser$6 && key === 'css') {
33494
33496
  var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])"); // get SSRed styles out of the way of React's hydration
33495
33497
  // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)
33496
33498
  // note this very very intentionally targets all style elements regardless of the key to ensure
@@ -33526,7 +33528,7 @@ var createCache = function createCache(options) {
33526
33528
  var container;
33527
33529
  var nodesToHydrate = [];
33528
33530
 
33529
- if (isBrowser$7) {
33531
+ if (isBrowser$6) {
33530
33532
  container = options.container || document.head;
33531
33533
  Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which
33532
33534
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
@@ -33554,7 +33556,7 @@ var createCache = function createCache(options) {
33554
33556
  }), incorrectImportAlarm);
33555
33557
  }
33556
33558
 
33557
- if (isBrowser$7) {
33559
+ if (isBrowser$6) {
33558
33560
  var currentSheet;
33559
33561
  var finalizingPlugins = [stringify, process.env.NODE_ENV !== 'production' ? function (element) {
33560
33562
  if (!element.root) {
@@ -33895,7 +33897,7 @@ var TYPE_STATICS = {};
33895
33897
  TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
33896
33898
  TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
33897
33899
 
33898
- var isBrowser$6 = typeof document !== 'undefined';
33900
+ var isBrowser$5 = typeof document !== 'undefined';
33899
33901
  function getRegisteredStyles(registered, registeredStyles, classNames) {
33900
33902
  var rawClassName = '';
33901
33903
  classNames.split(' ').forEach(function (className) {
@@ -33919,7 +33921,7 @@ var registerStyles = function registerStyles(cache, serialized, isStringTag) {
33919
33921
  // in node since emotion-server relies on whether a style is in
33920
33922
  // the registered cache to know whether a style is global or not
33921
33923
  // also, note that this check will be dead code eliminated in the browser
33922
- isBrowser$6 === false && cache.compat !== undefined) && cache.registered[className] === undefined) {
33924
+ isBrowser$5 === false && cache.compat !== undefined) && cache.registered[className] === undefined) {
33923
33925
  cache.registered[className] = serialized.styles;
33924
33926
  }
33925
33927
  };
@@ -33934,14 +33936,14 @@ var insertStyles = function insertStyles(cache, serialized, isStringTag) {
33934
33936
  do {
33935
33937
  var maybeStyles = cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true);
33936
33938
 
33937
- if (!isBrowser$6 && maybeStyles !== undefined) {
33939
+ if (!isBrowser$5 && maybeStyles !== undefined) {
33938
33940
  stylesForSSR += maybeStyles;
33939
33941
  }
33940
33942
 
33941
33943
  current = current.next;
33942
33944
  } while (current !== undefined);
33943
33945
 
33944
- if (!isBrowser$6 && stylesForSSR.length !== 0) {
33946
+ if (!isBrowser$5 && stylesForSSR.length !== 0) {
33945
33947
  return stylesForSSR;
33946
33948
  }
33947
33949
  }
@@ -34003,6 +34005,7 @@ function murmur2(str) {
34003
34005
 
34004
34006
  var unitlessKeys = {
34005
34007
  animationIterationCount: 1,
34008
+ aspectRatio: 1,
34006
34009
  borderImageOutset: 1,
34007
34010
  borderImageSlice: 1,
34008
34011
  borderImageWidth: 1,
@@ -34050,6 +34053,14 @@ var unitlessKeys = {
34050
34053
  strokeWidth: 1
34051
34054
  };
34052
34055
 
34056
+ function memoize(fn) {
34057
+ var cache = Object.create(null);
34058
+ return function (arg) {
34059
+ if (cache[arg] === undefined) cache[arg] = fn(arg);
34060
+ return cache[arg];
34061
+ };
34062
+ }
34063
+
34053
34064
  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";
34054
34065
  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).";
34055
34066
  var hyphenateRegex = /[A-Z]|^ms/g;
@@ -34361,18 +34372,8 @@ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
34361
34372
  };
34362
34373
  };
34363
34374
 
34364
- var isBrowser$5 = typeof document !== 'undefined';
34365
-
34366
- var syncFallback = function syncFallback(create) {
34367
- return create();
34368
- };
34369
-
34370
- var useInsertionEffect = React['useInsertion' + 'Effect'] ? React['useInsertion' + 'Effect'] : false;
34371
- var useInsertionEffectAlwaysWithSyncFallback = !isBrowser$5 ? syncFallback : useInsertionEffect || syncFallback;
34372
- var useInsertionEffectWithLayoutFallback = useInsertionEffect || useLayoutEffect;
34373
-
34374
34375
  var isBrowser$4 = typeof document !== 'undefined';
34375
- var hasOwnProperty$1 = {}.hasOwnProperty;
34376
+ var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
34376
34377
 
34377
34378
  var EmotionCacheContext = /* #__PURE__ */createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
34378
34379
  // because this module is primarily intended for the browser and node
@@ -34429,49 +34430,12 @@ if (process.env.NODE_ENV !== 'production') {
34429
34430
  ThemeContext.displayName = 'EmotionThemeContext';
34430
34431
  }
34431
34432
 
34432
- var getLastPart = function getLastPart(functionName) {
34433
- // The match may be something like 'Object.createEmotionProps' or
34434
- // 'Loader.prototype.render'
34435
- var parts = functionName.split('.');
34436
- return parts[parts.length - 1];
34437
- };
34438
-
34439
- var getFunctionNameFromStackTraceLine = function getFunctionNameFromStackTraceLine(line) {
34440
- // V8
34441
- var match = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(line);
34442
- if (match) return getLastPart(match[1]); // Safari / Firefox
34443
-
34444
- match = /^([A-Za-z0-9$.]+)@/.exec(line);
34445
- if (match) return getLastPart(match[1]);
34446
- return undefined;
34447
- };
34448
-
34449
- var internalReactFunctionNames = /* #__PURE__ */new Set(['renderWithHooks', 'processChild', 'finishClassComponent', 'renderToString']); // These identifiers come from error stacks, so they have to be valid JS
34450
- // identifiers, thus we only need to replace what is a valid character for JS,
34451
- // but not for CSS.
34433
+ // thus we only need to replace what is a valid character for JS, but not for CSS
34452
34434
 
34453
34435
  var sanitizeIdentifier = function sanitizeIdentifier(identifier) {
34454
34436
  return identifier.replace(/\$/g, '-');
34455
34437
  };
34456
34438
 
34457
- var getLabelFromStackTrace = function getLabelFromStackTrace(stackTrace) {
34458
- if (!stackTrace) return undefined;
34459
- var lines = stackTrace.split('\n');
34460
-
34461
- for (var i = 0; i < lines.length; i++) {
34462
- var functionName = getFunctionNameFromStackTraceLine(lines[i]); // The first line of V8 stack traces is just "Error"
34463
-
34464
- if (!functionName) continue; // If we reach one of these, we have gone too far and should quit
34465
-
34466
- if (internalReactFunctionNames.has(functionName)) break; // The component name is the first function in the stack that starts with an
34467
- // uppercase letter
34468
-
34469
- if (/^[A-Z]/.test(functionName)) return sanitizeIdentifier(functionName);
34470
- }
34471
-
34472
- return undefined;
34473
- };
34474
-
34475
34439
  var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
34476
34440
  var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
34477
34441
  var createEmotionProps = function createEmotionProps(type, props) {
@@ -34488,45 +34452,28 @@ var createEmotionProps = function createEmotionProps(type, props) {
34488
34452
  }
34489
34453
  }
34490
34454
 
34491
- newProps[typePropName] = type; // For performance, only call getLabelFromStackTrace in development and when
34492
- // the label hasn't already been computed
34493
-
34494
- if (process.env.NODE_ENV !== 'production' && !!props.css && (typeof props.css !== 'object' || typeof props.css.name !== 'string' || props.css.name.indexOf('-') === -1)) {
34495
- var label = getLabelFromStackTrace(new Error().stack);
34496
- if (label) newProps[labelPropName] = label;
34497
- }
34498
-
34499
- return newProps;
34500
- };
34455
+ newProps[typePropName] = type;
34501
34456
 
34502
- var Insertion$1 = function Insertion(_ref) {
34503
- var cache = _ref.cache,
34504
- serialized = _ref.serialized,
34505
- isStringTag = _ref.isStringTag;
34506
- registerStyles(cache, serialized, isStringTag);
34507
- var rules = useInsertionEffectAlwaysWithSyncFallback(function () {
34508
- return insertStyles(cache, serialized, isStringTag);
34509
- });
34457
+ if (process.env.NODE_ENV !== 'production') {
34458
+ var error = new Error();
34510
34459
 
34511
- if (!isBrowser$4 && rules !== undefined) {
34512
- var _ref2;
34460
+ if (error.stack) {
34461
+ // chrome
34462
+ var match = error.stack.match(/at (?:Object\.|Module\.|)(?:jsx|createEmotionProps).*\n\s+at (?:Object\.|)([A-Z][A-Za-z0-9$]+) /);
34513
34463
 
34514
- var serializedNames = serialized.name;
34515
- var next = serialized.next;
34464
+ if (!match) {
34465
+ // safari and firefox
34466
+ match = error.stack.match(/.*\n([A-Z][A-Za-z0-9$]+)@/);
34467
+ }
34516
34468
 
34517
- while (next !== undefined) {
34518
- serializedNames += ' ' + next.name;
34519
- next = next.next;
34469
+ if (match) {
34470
+ newProps[labelPropName] = sanitizeIdentifier(match[1]);
34471
+ }
34520
34472
  }
34521
-
34522
- return /*#__PURE__*/createElement("style", (_ref2 = {}, _ref2["data-emotion"] = cache.key + " " + serializedNames, _ref2.dangerouslySetInnerHTML = {
34523
- __html: rules
34524
- }, _ref2.nonce = cache.sheet.nonce, _ref2));
34525
34473
  }
34526
34474
 
34527
- return null;
34475
+ return newProps;
34528
34476
  };
34529
-
34530
34477
  var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
34531
34478
  var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works
34532
34479
  // not passing the registered cache to serializeStyles because it would
@@ -34536,7 +34483,7 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
34536
34483
  cssProp = cache.registered[cssProp];
34537
34484
  }
34538
34485
 
34539
- var WrappedComponent = props[typePropName];
34486
+ var type = props[typePropName];
34540
34487
  var registeredStyles = [cssProp];
34541
34488
  var className = '';
34542
34489
 
@@ -34556,6 +34503,7 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
34556
34503
  }
34557
34504
  }
34558
34505
 
34506
+ var rules = insertStyles(cache, serialized, typeof type === 'string');
34559
34507
  className += cache.key + "-" + serialized.name;
34560
34508
  var newProps = {};
34561
34509
 
@@ -34567,11 +34515,25 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
34567
34515
 
34568
34516
  newProps.ref = ref;
34569
34517
  newProps.className = className;
34570
- return /*#__PURE__*/createElement(Fragment, null, /*#__PURE__*/createElement(Insertion$1, {
34571
- cache: cache,
34572
- serialized: serialized,
34573
- isStringTag: typeof WrappedComponent === 'string'
34574
- }), /*#__PURE__*/createElement(WrappedComponent, newProps));
34518
+ var ele = /*#__PURE__*/createElement(type, newProps);
34519
+
34520
+ if (!isBrowser$4 && rules !== undefined) {
34521
+ var _ref;
34522
+
34523
+ var serializedNames = serialized.name;
34524
+ var next = serialized.next;
34525
+
34526
+ while (next !== undefined) {
34527
+ serializedNames += ' ' + next.name;
34528
+ next = next.next;
34529
+ }
34530
+
34531
+ return /*#__PURE__*/createElement(Fragment, null, /*#__PURE__*/createElement("style", (_ref = {}, _ref["data-emotion"] = cache.key + " " + serializedNames, _ref.dangerouslySetInnerHTML = {
34532
+ __html: rules
34533
+ }, _ref.nonce = cache.sheet.nonce, _ref)), ele);
34534
+ }
34535
+
34536
+ return ele;
34575
34537
  });
34576
34538
 
34577
34539
  if (process.env.NODE_ENV !== 'production') {
@@ -34580,75 +34542,38 @@ if (process.env.NODE_ENV !== 'production') {
34580
34542
 
34581
34543
  var pkg = {
34582
34544
  name: "@emotion/react",
34583
- version: "11.10.5",
34545
+ version: "11.5.0",
34584
34546
  main: "dist/emotion-react.cjs.js",
34585
34547
  module: "dist/emotion-react.esm.js",
34586
34548
  browser: {
34549
+ "./dist/emotion-react.cjs.js": "./dist/emotion-react.browser.cjs.js",
34587
34550
  "./dist/emotion-react.esm.js": "./dist/emotion-react.browser.esm.js"
34588
34551
  },
34589
- exports: {
34590
- ".": {
34591
- module: {
34592
- worker: "./dist/emotion-react.worker.esm.js",
34593
- browser: "./dist/emotion-react.browser.esm.js",
34594
- "default": "./dist/emotion-react.esm.js"
34595
- },
34596
- "default": "./dist/emotion-react.cjs.js"
34597
- },
34598
- "./jsx-runtime": {
34599
- module: {
34600
- worker: "./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",
34601
- browser: "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",
34602
- "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"
34603
- },
34604
- "default": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"
34605
- },
34606
- "./_isolated-hnrs": {
34607
- module: {
34608
- worker: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",
34609
- browser: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",
34610
- "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"
34611
- },
34612
- "default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"
34613
- },
34614
- "./jsx-dev-runtime": {
34615
- module: {
34616
- worker: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",
34617
- browser: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",
34618
- "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"
34619
- },
34620
- "default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"
34621
- },
34622
- "./package.json": "./package.json",
34623
- "./types/css-prop": "./types/css-prop.d.ts",
34624
- "./macro": "./macro.js"
34625
- },
34626
34552
  types: "types/index.d.ts",
34627
34553
  files: [
34628
34554
  "src",
34629
34555
  "dist",
34630
34556
  "jsx-runtime",
34631
34557
  "jsx-dev-runtime",
34632
- "_isolated-hnrs",
34558
+ "isolated-hoist-non-react-statics-do-not-use-this-in-your-code",
34633
34559
  "types/*.d.ts",
34634
34560
  "macro.js",
34635
34561
  "macro.d.ts",
34636
34562
  "macro.js.flow"
34637
34563
  ],
34638
34564
  sideEffects: false,
34639
- author: "Emotion Contributors",
34565
+ author: "mitchellhamilton <mitchell@mitchellhamilton.me>",
34640
34566
  license: "MIT",
34641
34567
  scripts: {
34642
34568
  "test:typescript": "dtslint types"
34643
34569
  },
34644
34570
  dependencies: {
34645
- "@babel/runtime": "^7.18.3",
34646
- "@emotion/babel-plugin": "^11.10.5",
34647
- "@emotion/cache": "^11.10.5",
34648
- "@emotion/serialize": "^1.1.1",
34649
- "@emotion/use-insertion-effect-with-fallbacks": "^1.0.0",
34650
- "@emotion/utils": "^1.2.0",
34651
- "@emotion/weak-memoize": "^0.3.0",
34571
+ "@babel/runtime": "^7.13.10",
34572
+ "@emotion/cache": "^11.5.0",
34573
+ "@emotion/serialize": "^1.0.2",
34574
+ "@emotion/sheet": "^1.0.3",
34575
+ "@emotion/utils": "^1.0.0",
34576
+ "@emotion/weak-memoize": "^0.2.5",
34652
34577
  "hoist-non-react-statics": "^3.3.1"
34653
34578
  },
34654
34579
  peerDependencies: {
@@ -34664,16 +34589,16 @@ var pkg = {
34664
34589
  }
34665
34590
  },
34666
34591
  devDependencies: {
34667
- "@babel/core": "^7.18.5",
34668
- "@definitelytyped/dtslint": "0.0.112",
34669
- "@emotion/css": "11.10.5",
34670
- "@emotion/css-prettifier": "1.1.1",
34671
- "@emotion/server": "11.10.0",
34672
- "@emotion/styled": "11.10.5",
34592
+ "@babel/core": "^7.13.10",
34593
+ "@emotion/css": "11.5.0",
34594
+ "@emotion/css-prettifier": "1.0.0",
34595
+ "@emotion/server": "11.4.0",
34596
+ "@emotion/styled": "11.3.0",
34597
+ "@types/react": "^16.9.11",
34598
+ dtslint: "^0.3.0",
34673
34599
  "html-tag-names": "^1.1.2",
34674
34600
  react: "16.14.0",
34675
- "svg-tag-names": "^1.1.1",
34676
- typescript: "^4.5.5"
34601
+ "svg-tag-names": "^1.1.1"
34677
34602
  },
34678
34603
  repository: "https://github.com/emotion-js/emotion/tree/main/packages/react",
34679
34604
  publishConfig: {
@@ -34685,19 +34610,9 @@ var pkg = {
34685
34610
  "./index.js",
34686
34611
  "./jsx-runtime.js",
34687
34612
  "./jsx-dev-runtime.js",
34688
- "./_isolated-hnrs.js"
34613
+ "./isolated-hoist-non-react-statics-do-not-use-this-in-your-code.js"
34689
34614
  ],
34690
- umdName: "emotionReact",
34691
- exports: {
34692
- envConditions: [
34693
- "browser",
34694
- "worker"
34695
- ],
34696
- extra: {
34697
- "./types/css-prop": "./types/css-prop.d.ts",
34698
- "./macro": "./macro.js"
34699
- }
34700
- }
34615
+ umdName: "emotionReact"
34701
34616
  }
34702
34617
  };
34703
34618
 
@@ -34772,10 +34687,9 @@ var Global = /* #__PURE__ */withEmotionCache(function (props, cache) {
34772
34687
 
34773
34688
 
34774
34689
  var sheetRef = useRef();
34775
- useInsertionEffectWithLayoutFallback(function () {
34776
- var key = cache.key + "-global"; // use case of https://github.com/emotion-js/emotion/issues/2675
34777
-
34778
- var sheet = new cache.sheet.constructor({
34690
+ useLayoutEffect(function () {
34691
+ var key = cache.key + "-global";
34692
+ var sheet = new StyleSheet({
34779
34693
  key: key,
34780
34694
  nonce: cache.sheet.nonce,
34781
34695
  container: cache.sheet.container,
@@ -34801,7 +34715,7 @@ var Global = /* #__PURE__ */withEmotionCache(function (props, cache) {
34801
34715
  sheet.flush();
34802
34716
  };
34803
34717
  }, [cache]);
34804
- useInsertionEffectWithLayoutFallback(function () {
34718
+ useLayoutEffect(function () {
34805
34719
  var sheetRefCurrent = sheetRef.current;
34806
34720
  var sheet = sheetRefCurrent[0],
34807
34721
  rehydrating = sheetRefCurrent[1];
@@ -34916,41 +34830,10 @@ function merge(registered, css, className) {
34916
34830
  return rawClassName + css(registeredStyles);
34917
34831
  }
34918
34832
 
34919
- var Insertion = function Insertion(_ref) {
34920
- var cache = _ref.cache,
34921
- serializedArr = _ref.serializedArr;
34922
- var rules = useInsertionEffectAlwaysWithSyncFallback(function () {
34923
- var rules = '';
34924
-
34925
- for (var i = 0; i < serializedArr.length; i++) {
34926
- var res = insertStyles(cache, serializedArr[i], false);
34927
-
34928
- if (!isBrowser$4 && res !== undefined) {
34929
- rules += res;
34930
- }
34931
- }
34932
-
34933
- if (!isBrowser$4) {
34934
- return rules;
34935
- }
34936
- });
34937
-
34938
- if (!isBrowser$4 && rules.length !== 0) {
34939
- var _ref2;
34940
-
34941
- return /*#__PURE__*/createElement("style", (_ref2 = {}, _ref2["data-emotion"] = cache.key + " " + serializedArr.map(function (serialized) {
34942
- return serialized.name;
34943
- }).join(' '), _ref2.dangerouslySetInnerHTML = {
34944
- __html: rules
34945
- }, _ref2.nonce = cache.sheet.nonce, _ref2));
34946
- }
34947
-
34948
- return null;
34949
- };
34950
-
34951
34833
  var ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {
34834
+ var rules = '';
34835
+ var serializedHashes = '';
34952
34836
  var hasRendered = false;
34953
- var serializedArr = [];
34954
34837
 
34955
34838
  var css = function css() {
34956
34839
  if (hasRendered && process.env.NODE_ENV !== 'production') {
@@ -34962,9 +34845,21 @@ var ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {
34962
34845
  }
34963
34846
 
34964
34847
  var serialized = serializeStyles(args, cache.registered);
34965
- serializedArr.push(serialized); // registration has to happen here as the result of this might get consumed by `cx`
34966
34848
 
34967
- registerStyles(cache, serialized, false);
34849
+ if (isBrowser$4) {
34850
+ insertStyles(cache, serialized, false);
34851
+ } else {
34852
+ var res = insertStyles(cache, serialized, false);
34853
+
34854
+ if (res !== undefined) {
34855
+ rules += res;
34856
+ }
34857
+ }
34858
+
34859
+ if (!isBrowser$4) {
34860
+ serializedHashes += " " + serialized.name;
34861
+ }
34862
+
34968
34863
  return cache.key + "-" + serialized.name;
34969
34864
  };
34970
34865
 
@@ -34987,10 +34882,16 @@ var ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {
34987
34882
  };
34988
34883
  var ele = props.children(content);
34989
34884
  hasRendered = true;
34990
- return /*#__PURE__*/createElement(Fragment, null, /*#__PURE__*/createElement(Insertion, {
34991
- cache: cache,
34992
- serializedArr: serializedArr
34993
- }), ele);
34885
+
34886
+ if (!isBrowser$4 && rules.length !== 0) {
34887
+ var _ref;
34888
+
34889
+ return /*#__PURE__*/createElement(Fragment, null, /*#__PURE__*/createElement("style", (_ref = {}, _ref["data-emotion"] = cache.key + " " + serializedHashes.substring(1), _ref.dangerouslySetInnerHTML = {
34890
+ __html: rules
34891
+ }, _ref.nonce = cache.sheet.nonce, _ref)), ele);
34892
+ }
34893
+
34894
+ return ele;
34994
34895
  });
34995
34896
 
34996
34897
  if (process.env.NODE_ENV !== 'production') {
@@ -34998,11 +34899,11 @@ if (process.env.NODE_ENV !== 'production') {
34998
34899
  }
34999
34900
 
35000
34901
  if (process.env.NODE_ENV !== 'production') {
35001
- var isBrowser$3 = typeof document !== 'undefined'; // #1727, #2905 for some reason Jest and Vitest evaluate modules twice if some consuming module gets mocked
34902
+ var isBrowser$3 = typeof document !== 'undefined'; // #1727 for some reason Jest evaluates modules twice if some consuming module gets mocked with jest.mock
35002
34903
 
35003
- var isTestEnv = typeof jest !== 'undefined' || typeof vi !== 'undefined';
34904
+ var isJest = typeof jest !== 'undefined';
35004
34905
 
35005
- if (isBrowser$3 && !isTestEnv) {
34906
+ if (isBrowser$3 && !isJest) {
35006
34907
  // globalThis has wide browser support - https://caniuse.com/?search=globalThis, Node.js 12 and later
35007
34908
  var globalContext = // $FlowIgnore
35008
34909
  typeof globalThis !== 'undefined' ? globalThis // eslint-disable-line no-undef
@@ -37655,7 +37556,7 @@ var defaultStyles = {
37655
37556
  valueContainer: valueContainerCSS
37656
37557
  }; // Merge Utility
37657
37558
 
37658
- var colors = {
37559
+ var colors$1 = {
37659
37560
  primary: '#2684FF',
37660
37561
  primary75: '#4C9AFF',
37661
37562
  primary50: '#B2D4FF',
@@ -37688,7 +37589,7 @@ var spacing = {
37688
37589
  };
37689
37590
  var defaultTheme = {
37690
37591
  borderRadius: borderRadius,
37691
- colors: colors,
37592
+ colors: colors$1,
37692
37593
  spacing: spacing
37693
37594
  };
37694
37595
 
@@ -39590,7 +39491,8 @@ var StateManagedSelect = /*#__PURE__*/React__default.forwardRef(function (props,
39590
39491
 
39591
39492
  var Select = StateManagedSelect;
39592
39493
 
39593
- 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}";
39494
+ var css_248z$c = "";
39495
+ 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%)"};
39594
39496
  styleInject(css_248z$c);
39595
39497
 
39596
39498
  var _excluded = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "onCreateOption", "options", "onChange"];
@@ -39712,13 +39614,13 @@ function LuiComboSelectActual(givenProps, ref) {
39712
39614
  // box-shadow: "-8px 0px 0 0 #cc0000";
39713
39615
  // border-radius: "4px";
39714
39616
  var id = useGenerateOrDefaultId(props === null || props === void 0 ? void 0 : props.id);
39715
- 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: {
39617
+ 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: {
39716
39618
  control: function (provided, state) { return (__assign(__assign({}, provided), {
39717
39619
  /* matches style of .LuiTextInput-input */
39718
39620
  boxShadow: 'none', border: state.isFocused ? '1px solid #053d52' : '1px solid #b2b2b2', '&:hover, &:active': {
39719
39621
  borderColor: '#053d52'
39720
39622
  } })); },
39721
- dropdownIndicator: function (provided) { return (__assign(__assign({}, provided), { color: css_248z$c['fuscous'] })); },
39623
+ dropdownIndicator: function (provided) { return (__assign(__assign({}, provided), { color: colors['fuscous'] })); },
39722
39624
  indicatorSeparator: function (provided) { return (__assign(__assign({}, provided), { width: 0 })); },
39723
39625
  input: function (provided) { return (__assign(__assign({}, provided), { height: '40px', minHeight: '40px', fontWeight: 400, input: {
39724
39626
  height: '38px !important'
@@ -39726,10 +39628,10 @@ function LuiComboSelectActual(givenProps, ref) {
39726
39628
  singleValue: function (provided) { return (__assign(__assign({}, provided), { color: '#414042', fontWeight: 400 })); },
39727
39629
  placeholder: function (provided) { return (__assign(__assign({}, provided), {
39728
39630
  /* please keep this in sync with FormVars.scss/mixin.formPlaceholder */
39729
- fontWeight: 'normal', fontStyle: 'italic', color: css_248z$c['input-placeholder'] })); },
39631
+ fontWeight: 'normal', fontStyle: 'italic', color: colors['input-placeholder'] })); },
39730
39632
  option: function (provided, _a) {
39731
39633
  var isSelected = _a.isSelected;
39732
- return (__assign(__assign({}, provided), { color: css_248z$c['input-text'], backgroundColor: isSelected ? css_248z$c['selection'] : css_248z$c['white'] }));
39634
+ return (__assign(__assign({}, provided), { color: colors['input-text'], backgroundColor: isSelected ? colors['selection'] : colors['white'] }));
39733
39635
  }
39734
39636
  } });
39735
39637
  return (React__default.createElement("label", { htmlFor: id, className: clsx('LuiComboSelect-label', props.error && 'hasError') },
@@ -58709,5 +58611,5 @@ var useSplitterRef = function () {
58709
58611
  return { ref: ref, setRatio: setRatio };
58710
58612
  };
58711
58613
 
58712
- export { CheckboxItemRenderer, LUI_WINDOW_NAME, LuiAccordicard, LuiAccordicardStatic, LuiAccordion, LuiAlertModal, LuiAlertModalButtons, LuiBadge, LuiBanner, LuiBannerContent, LuiBearingInput, LuiButton, LuiButtonGroup, LuiCheckboxInput, LuiCloseableHeaderMenuContext, LuiCloseableHeaderMenuContextV2, LuiCloseableHeaderMenuItem, LuiCloseableHeaderMenuItemV2, LuiComboSelect, LuiControlledMenu, LuiCounter, LuiDateInput, LuiDrawerMenu, LuiDrawerMenuDivider, LuiDrawerMenuDividerV2, LuiDrawerMenuOption, LuiDrawerMenuOptionV2, LuiDrawerMenuOptions, LuiDrawerMenuOptionsV2, LuiDrawerMenuSection, LuiDrawerMenuSectionV2, LuiDrawerMenuV2, LuiDropdownMenu, LuiDropdownMenuV2, LuiDropdownMenuV2DropContent, LuiErrorIllustration, LuiErrorPage, LuiExpandableBanner, LuiFileInputBox, LuiFilterContainer, LuiFilterMenu, LuiFloatingWindow, $F as LuiFloatingWindowContextProvider, LuiFooter, LuiFormSectionHeader, LuiHeader, LuiHeaderMenuItem, LuiHeaderMenuItemV2, LuiHeaderV2, LuiIcon, LuiListBox, LuiLoadingSpinner, LuiMenu, LuiMenuCloseButton, LuiMenuCloseButtonV2, LuiMessagingContextProvider, LuiMiniSpinner, LuiModal, LuiMoneyInput, LuiMultiSwitch, LuiMultiSwitchYesNo, LuiProgressBar, LuiRadioInput, LuiResizableLayout, LuiSearchBox, LuiSearchInput, LuiSelectDataMenu, LuiSelectInput, LuiSelectMenu, LuiSelectMenuItem, LuiSelectMenuItemSwitch, LuiSelectSubMenuItem, LuiShadow, LuiSideMenu, LuiSideMenuItem, LuiSidePanel, LuiSidePanelProvider, LuiSideToolbar, LuiSplitButton, LuiSplitButtonMenuItem, LuiSplitButtonPosition, LuiStaticMessage, LuiStatusSpinner, LuiSwitchButton, LuiTab, LuiTabs, LuiTabsContext, LuiTabsGroup, LuiTabsPanel, LuiTabsPanelSwitch, LuiTextAreaInput, LuiTextInput, LuiToastMessage, LuiTooltip, LuiUpdatesSplashModal, RadioItemRenderer, SplitPanelState, Splitter, ToolbarButton, ToolbarDirection, ToolbarItem, ToolbarItemSeparator, breakpointQuery, breakpoints, isChromatic, useClickedOutsideElement, useEscapeFunction, useLuiCloseableHeaderMenuContextV2, lR as useLuiFloatingWindow, useMediaQuery, usePageClickFunction, useShowLUIMessage, useSplitterRef };
58614
+ export { CheckboxItemRenderer, LUI_WINDOW_NAME, LuiAccordicard, LuiAccordicardStatic, LuiAccordion, LuiAlertModal, LuiAlertModalButtons, LuiBadge, LuiBanner, LuiBannerContent, LuiBearingInput, LuiButton, LuiButtonGroup, LuiCheckboxInput, LuiCloseableHeaderMenuContext, LuiCloseableHeaderMenuContextV2, LuiCloseableHeaderMenuItem, LuiCloseableHeaderMenuItemV2, LuiComboSelect, LuiControlledMenu, LuiCounter, LuiDateInput, LuiDrawerMenu, LuiDrawerMenuDivider, LuiDrawerMenuDividerV2, LuiDrawerMenuOption, LuiDrawerMenuOptionV2, LuiDrawerMenuOptions, LuiDrawerMenuOptionsV2, LuiDrawerMenuSection, LuiDrawerMenuSectionV2, LuiDrawerMenuV2, LuiDropdownMenu, LuiDropdownMenuV2, LuiDropdownMenuV2DropContent, LuiErrorIllustration, LuiErrorPage, LuiExpandableBanner, LuiFileInputBox, LuiFilterContainer, LuiFilterMenu, LuiFloatingWindow, $F as LuiFloatingWindowContextProvider, LuiFooter, LuiFormSectionHeader, LuiHeader, LuiHeaderMenuItem, LuiHeaderMenuItemV2, LuiHeaderV2, LuiIcon, LuiListBox, LuiLoadingSpinner, LuiMenu, LuiMenuCloseButton, LuiMenuCloseButtonV2, LuiMessagingContextProvider, LuiMiniSpinner, LuiModal, LuiMoneyInput, LuiMultiSwitch, LuiMultiSwitchYesNo, LuiProgressBar, LuiRadioInput, LuiResizableLayout, LuiSearchBox, LuiSearchInput, LuiSelectDataMenu, LuiSelectInput, LuiSelectMenu, LuiSelectMenuItem, LuiSelectMenuItemSwitch, LuiSelectSubMenuItem, LuiShadow, LuiSideMenu, LuiSideMenuItem, LuiSidePanel, LuiSidePanelProvider, LuiSideToolbar, LuiSplitButton, LuiSplitButtonMenuItem, LuiStaticMessage, LuiStatusSpinner, LuiSwitchButton, LuiTab, LuiTabs, LuiTabsContext, LuiTabsGroup, LuiTabsPanel, LuiTabsPanelSwitch, LuiTextAreaInput, LuiTextInput, LuiToastMessage, LuiTooltip, LuiUpdatesSplashModal, RadioItemRenderer, SplitPanelState, Splitter, ToolbarButton, ToolbarItem, ToolbarItemSeparator, breakpointQuery, breakpoints, isChromatic, useClickedOutsideElement, useEscapeFunction, useLuiCloseableHeaderMenuContextV2, lR as useLuiFloatingWindow, useMediaQuery, usePageClickFunction, useShowLUIMessage, useSplitterRef };
58713
58615
  //# sourceMappingURL=lui.esm.js.map