@symbo.ls/uikit 2.11.239 → 2.11.240

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.cjs.js CHANGED
@@ -275,7 +275,7 @@ var require_cjs = __commonJS({
275
275
  isObject: () => isObject8,
276
276
  isObjectLike: () => isObjectLike3,
277
277
  isString: () => isString10,
278
- isUndefined: () => isUndefined2
278
+ isUndefined: () => isUndefined3
279
279
  });
280
280
  module22.exports = __toCommonJS22(types_exports);
281
281
  var import_node = require_node2();
@@ -299,7 +299,7 @@ var require_cjs = __commonJS({
299
299
  var isDefined2 = (arg) => {
300
300
  return isObject8(arg) || isObjectLike3(arg) || isString10(arg) || isNumber2(arg) || isFunction22(arg) || isArray8(arg) || isObjectLike3(arg) || isBoolean(arg) || isDate(arg) || isNull(arg);
301
301
  };
302
- var isUndefined2 = (arg) => {
302
+ var isUndefined3 = (arg) => {
303
303
  return arg === void 0;
304
304
  };
305
305
  var TYPES = {
@@ -1543,7 +1543,7 @@ var require_cjs = __commonJS({
1543
1543
  return unit === "em" || unit === "rem" || unit === "vw" || unit === "vh" || unit === "vmax" || unit === "vmin";
1544
1544
  };
1545
1545
  var import_globals = __toESM2(require_cjs7(), 1);
1546
- var import_utils14 = __toESM2(require_cjs22(), 1);
1546
+ var import_utils15 = __toESM2(require_cjs22(), 1);
1547
1547
  var ENV = "development";
1548
1548
  var colorStringToRgbaArray = (color) => {
1549
1549
  if (color === "")
@@ -1671,11 +1671,11 @@ var require_cjs = __commonJS({
1671
1671
  return `rgba(${arr})`;
1672
1672
  };
1673
1673
  var getRgbTone = (rgb, tone) => {
1674
- if ((0, import_utils14.isString)(rgb) && rgb.includes("rgb"))
1674
+ if ((0, import_utils15.isString)(rgb) && rgb.includes("rgb"))
1675
1675
  rgb = colorStringToRgbaArray(rgb).join(", ");
1676
- if ((0, import_utils14.isString)(rgb))
1676
+ if ((0, import_utils15.isString)(rgb))
1677
1677
  rgb = rgb.split(",").map((v) => parseFloat(v.trim()));
1678
- if ((0, import_utils14.isNumber)(tone))
1678
+ if ((0, import_utils15.isNumber)(tone))
1679
1679
  tone += "";
1680
1680
  const toHex = rgbArrayToHex(rgb);
1681
1681
  const abs2 = tone.slice(0, 1);
@@ -2699,7 +2699,7 @@ var require_cjs = __commonJS({
2699
2699
  const str = `${value.join(", ")}, ${FONT_FAMILY_TYPES2[type]}`;
2700
2700
  return { var: CSSvar, value: str, arr: value, type };
2701
2701
  };
2702
- var import_utils15 = __toESM2(require_cjs22(), 1);
2702
+ var import_utils152 = __toESM2(require_cjs22(), 1);
2703
2703
  var runThroughMedia = (FACTORY2) => {
2704
2704
  const CONFIG22 = getActiveConfig3();
2705
2705
  const { TYPOGRAPHY: TYPOGRAPHY2, MEDIA: MEDIA2 } = CONFIG22;
@@ -2719,7 +2719,7 @@ var require_cjs = __commonJS({
2719
2719
  h1Matches,
2720
2720
  unit
2721
2721
  } = FACTORY2;
2722
- (0, import_utils15.merge)(mediaValue, {
2722
+ (0, import_utils152.merge)(mediaValue, {
2723
2723
  type,
2724
2724
  base,
2725
2725
  ratio,
@@ -2736,7 +2736,7 @@ var require_cjs = __commonJS({
2736
2736
  applyMediaSequenceVars(FACTORY2, prop);
2737
2737
  continue;
2738
2738
  }
2739
- (0, import_utils15.merge)(mediaValue, {
2739
+ (0, import_utils152.merge)(mediaValue, {
2740
2740
  sequence: {},
2741
2741
  scales: {},
2742
2742
  templates: {},
@@ -3525,7 +3525,7 @@ var require_types = __commonJS({
3525
3525
  isObject: () => isObject4,
3526
3526
  isObjectLike: () => isObjectLike2,
3527
3527
  isString: () => isString7,
3528
- isUndefined: () => isUndefined2
3528
+ isUndefined: () => isUndefined3
3529
3529
  });
3530
3530
  module2.exports = __toCommonJS2(types_exports);
3531
3531
  var import_node = require_node();
@@ -3549,7 +3549,7 @@ var require_types = __commonJS({
3549
3549
  var isDefined2 = (arg) => {
3550
3550
  return isObject4(arg) || isObjectLike2(arg) || isString7(arg) || isNumber(arg) || isFunction3(arg) || isArray3(arg) || isObjectLike2(arg) || isBoolean(arg) || isDate(arg) || isNull(arg);
3551
3551
  };
3552
- var isUndefined2 = (arg) => {
3552
+ var isUndefined3 = (arg) => {
3553
3553
  return arg === void 0;
3554
3554
  };
3555
3555
  var TYPES = {
@@ -4719,12 +4719,12 @@ var require_on = __commonJS({
4719
4719
  triggerEventOnUpdate: () => triggerEventOnUpdate
4720
4720
  });
4721
4721
  module2.exports = __toCommonJS2(on_exports);
4722
- var import_utils14 = require_cjs2();
4722
+ var import_utils15 = require_cjs2();
4723
4723
  var applyEvent = (param, element, state, context, options) => {
4724
4724
  return param(element, state || element.state, context || element.context, options);
4725
4725
  };
4726
4726
  var triggerEventOn = (param, element, options) => {
4727
- if (element.on && (0, import_utils14.isFunction)(element.on[param])) {
4727
+ if (element.on && (0, import_utils15.isFunction)(element.on[param])) {
4728
4728
  const { state, context } = element;
4729
4729
  return applyEvent(element.on[param], element, state, context, options);
4730
4730
  }
@@ -4733,7 +4733,7 @@ var require_on = __commonJS({
4733
4733
  return param(updatedObj, element, state || element.state, context || element.context, options);
4734
4734
  };
4735
4735
  var triggerEventOnUpdate = (param, updatedObj, element, options) => {
4736
- if (element.on && (0, import_utils14.isFunction)(element.on[param])) {
4736
+ if (element.on && (0, import_utils15.isFunction)(element.on[param])) {
4737
4737
  const { state, context } = element;
4738
4738
  return applyEventUpdate(element.on[param], updatedObj, element, state, context, options);
4739
4739
  }
@@ -4744,7 +4744,7 @@ var require_on = __commonJS({
4744
4744
  if (param === "init" || param === "beforeClassAssign" || param === "render" || param === "renderRouter" || param === "attachNode" || param === "stateInit" || param === "stateCreated" || param === "initStateUpdated" || param === "stateUpdated" || param === "initUpdate" || param === "update")
4745
4745
  continue;
4746
4746
  const appliedFunction = element.on[param];
4747
- if ((0, import_utils14.isFunction)(appliedFunction)) {
4747
+ if ((0, import_utils15.isFunction)(appliedFunction)) {
4748
4748
  node2.addEventListener(param, (event) => {
4749
4749
  const { state, context } = element;
4750
4750
  appliedFunction(event, element, state, context);
@@ -4879,10 +4879,10 @@ var require_can = __commonJS({
4879
4879
  });
4880
4880
  module2.exports = __toCommonJS2(can_exports);
4881
4881
  var import_report = require_cjs3();
4882
- var import_utils14 = require_cjs2();
4882
+ var import_utils15 = require_cjs2();
4883
4883
  var canRender = (element) => {
4884
4884
  const tag = element.tag || "div";
4885
- return (0, import_utils14.isValidHtmlTag)(tag) || (0, import_report.report)("HTMLInvalidTag");
4885
+ return (0, import_utils15.isValidHtmlTag)(tag) || (0, import_report.report)("HTMLInvalidTag");
4886
4886
  };
4887
4887
  }
4888
4888
  });
@@ -4948,11 +4948,11 @@ var require_methods = __commonJS({
4948
4948
  toggle: () => toggle
4949
4949
  });
4950
4950
  module2.exports = __toCommonJS2(methods_exports);
4951
- var import_utils14 = require_cjs2();
4951
+ var import_utils15 = require_cjs2();
4952
4952
  var import_ignore = require_ignore();
4953
4953
  var parse2 = function() {
4954
4954
  const state = this;
4955
- if ((0, import_utils14.isObject)(state)) {
4955
+ if ((0, import_utils15.isObject)(state)) {
4956
4956
  const obj = {};
4957
4957
  for (const param in state) {
4958
4958
  if (!import_ignore.IGNORE_STATE_PARAMS.includes(param)) {
@@ -4960,7 +4960,7 @@ var require_methods = __commonJS({
4960
4960
  }
4961
4961
  }
4962
4962
  return obj;
4963
- } else if ((0, import_utils14.isArray)(state)) {
4963
+ } else if ((0, import_utils15.isArray)(state)) {
4964
4964
  return state.filter((item) => !import_ignore.IGNORE_STATE_PARAMS.includes(item));
4965
4965
  }
4966
4966
  };
@@ -4980,7 +4980,7 @@ var require_methods = __commonJS({
4980
4980
  const state = this;
4981
4981
  const element = state.__element;
4982
4982
  const stateKey = element.__ref.__state;
4983
- if ((0, import_utils14.isString)(stateKey)) {
4983
+ if ((0, import_utils15.isString)(stateKey)) {
4984
4984
  element.parent.state.remove(stateKey, { isHoisted: true, ...options });
4985
4985
  return element.state;
4986
4986
  }
@@ -4993,7 +4993,7 @@ var require_methods = __commonJS({
4993
4993
  for (const key in state.__children) {
4994
4994
  const child = state.__children[key];
4995
4995
  if (child.state) {
4996
- if ((0, import_utils14.isArray)(child.state)) {
4996
+ if ((0, import_utils15.isArray)(child.state)) {
4997
4997
  Object.defineProperty(child.state, "parent", {
4998
4998
  value: state.parent,
4999
4999
  enumerable: false,
@@ -5027,10 +5027,10 @@ var require_methods = __commonJS({
5027
5027
  };
5028
5028
  var add = function(value, options = {}) {
5029
5029
  const state = this;
5030
- if ((0, import_utils14.isArray)(state)) {
5030
+ if ((0, import_utils15.isArray)(state)) {
5031
5031
  state.push(value);
5032
5032
  state.update(state.parse(), { overwrite: "replace", ...options });
5033
- } else if ((0, import_utils14.isObject)(state)) {
5033
+ } else if ((0, import_utils15.isObject)(state)) {
5034
5034
  const key = Object.keys(state).length;
5035
5035
  state.update({ [key]: value }, options);
5036
5036
  }
@@ -5041,25 +5041,25 @@ var require_methods = __commonJS({
5041
5041
  };
5042
5042
  var remove = function(key, options = {}) {
5043
5043
  const state = this;
5044
- if ((0, import_utils14.isArray)(state))
5045
- (0, import_utils14.removeFromArray)(state, key);
5046
- if ((0, import_utils14.isObject)(state))
5047
- (0, import_utils14.removeFromObject)(state, key);
5044
+ if ((0, import_utils15.isArray)(state))
5045
+ (0, import_utils15.removeFromArray)(state, key);
5046
+ if ((0, import_utils15.isObject)(state))
5047
+ (0, import_utils15.removeFromObject)(state, key);
5048
5048
  return state.update(state.parse(), { replace: true, ...options });
5049
5049
  };
5050
5050
  var set3 = function(val, options = {}) {
5051
5051
  const state = this;
5052
- const value = (0, import_utils14.deepCloneWithExtnd)(val);
5052
+ const value = (0, import_utils15.deepCloneWithExtnd)(val);
5053
5053
  return state.clean({ preventStateUpdate: true, ...options }).update(value, { replace: true, ...options });
5054
5054
  };
5055
5055
  var reset = function(options = {}) {
5056
5056
  const state = this;
5057
- const value = (0, import_utils14.deepCloneWithExtnd)(state.parse());
5057
+ const value = (0, import_utils15.deepCloneWithExtnd)(state.parse());
5058
5058
  return state.set(value, { replace: true, ...options });
5059
5059
  };
5060
5060
  var apply = function(func, options = {}) {
5061
5061
  const state = this;
5062
- if ((0, import_utils14.isFunction)(func)) {
5062
+ if ((0, import_utils15.isFunction)(func)) {
5063
5063
  func(state);
5064
5064
  return state.update(state.parse(), { replace: true, ...options });
5065
5065
  }
@@ -5099,7 +5099,7 @@ var require_inherit = __commonJS({
5099
5099
  isState: () => isState2
5100
5100
  });
5101
5101
  module2.exports = __toCommonJS2(inherit_exports);
5102
- var import_utils14 = require_cjs2();
5102
+ var import_utils15 = require_cjs2();
5103
5103
  var import_ignore = require_ignore();
5104
5104
  var getParentStateInKey = (stateKey, parentState) => {
5105
5105
  if (!stateKey.includes("../"))
@@ -5151,11 +5151,11 @@ var require_inherit = __commonJS({
5151
5151
  var createInheritedState = (element, parent) => {
5152
5152
  const ref = element.__ref;
5153
5153
  const inheritedState = findInheritedState(element, parent);
5154
- if ((0, import_utils14.isUndefined)(inheritedState))
5154
+ if ((0, import_utils15.isUndefined)(inheritedState))
5155
5155
  return element.state;
5156
- if ((0, import_utils14.is)(inheritedState)("object", "array")) {
5157
- return (0, import_utils14.deepCloneWithExtnd)(inheritedState, import_ignore.IGNORE_STATE_PARAMS);
5158
- } else if ((0, import_utils14.is)(inheritedState)("string", "number", "boolean")) {
5156
+ if ((0, import_utils15.is)(inheritedState)("object", "array")) {
5157
+ return (0, import_utils15.deepCloneWithExtnd)(inheritedState, import_ignore.IGNORE_STATE_PARAMS);
5158
+ } else if ((0, import_utils15.is)(inheritedState)("string", "number", "boolean")) {
5159
5159
  ref.__stateType = typeof inheritedState;
5160
5160
  return { value: inheritedState };
5161
5161
  }
@@ -5164,12 +5164,12 @@ var require_inherit = __commonJS({
5164
5164
  var checkIfInherits = (element) => {
5165
5165
  const ref = element.__ref;
5166
5166
  const stateKey = ref.__state;
5167
- if (stateKey && (0, import_utils14.is)(stateKey)("number", "string", "boolean"))
5167
+ if (stateKey && (0, import_utils15.is)(stateKey)("number", "string", "boolean"))
5168
5168
  return true;
5169
5169
  return false;
5170
5170
  };
5171
5171
  var isState2 = function(state) {
5172
- if (!(0, import_utils14.isObjectLike)(state))
5172
+ if (!(0, import_utils15.isObjectLike)(state))
5173
5173
  return false;
5174
5174
  return state.update && state.parse && state.clean && state.create && state.parent && state.destroy && state.rootUpdate && state.parentUpdate && state.toggle && state.add && state.apply && state.__element && state.__children;
5175
5175
  };
@@ -5218,7 +5218,7 @@ var require_updateState = __commonJS({
5218
5218
  var import_report = require_cjs3();
5219
5219
  var import_event = require_cjs4();
5220
5220
  var import_ignore = require_ignore();
5221
- var import_utils14 = require_cjs2();
5221
+ var import_utils15 = require_cjs2();
5222
5222
  var import_inherit = require_inherit();
5223
5223
  var STATE_UPDATE_OPTIONS = {
5224
5224
  overwrite: true,
@@ -5231,7 +5231,7 @@ var require_updateState = __commonJS({
5231
5231
  const state = this;
5232
5232
  const element = state.__element;
5233
5233
  if (!options.updateByState)
5234
- (0, import_utils14.merge)(options, STATE_UPDATE_OPTIONS);
5234
+ (0, import_utils15.merge)(options, STATE_UPDATE_OPTIONS);
5235
5235
  if (!state.__element)
5236
5236
  (0, import_report.report)("ElementOnStateIsNotDefined");
5237
5237
  if (options.preventInheritAtCurrentState === true) {
@@ -5261,10 +5261,10 @@ var require_updateState = __commonJS({
5261
5261
  const shallow = overwrite === "shallow";
5262
5262
  const merge22 = overwrite === "merge";
5263
5263
  if (merge22) {
5264
- (0, import_utils14.deepMerge)(state, obj, import_ignore.IGNORE_STATE_PARAMS);
5264
+ (0, import_utils15.deepMerge)(state, obj, import_ignore.IGNORE_STATE_PARAMS);
5265
5265
  return;
5266
5266
  }
5267
- const overwriteFunc = shallow ? import_utils14.overwriteShallow : import_utils14.overwriteDeep;
5267
+ const overwriteFunc = shallow ? import_utils15.overwriteShallow : import_utils15.overwriteDeep;
5268
5268
  overwriteFunc(state, obj, import_ignore.IGNORE_STATE_PARAMS);
5269
5269
  };
5270
5270
  var hoistStateUpdate = (state, obj, options) => {
@@ -5286,7 +5286,7 @@ var require_updateState = __commonJS({
5286
5286
  const changesValue = (0, import_inherit.createChangesByKey)(stateKey, passedValue);
5287
5287
  const targetParent = findGrandParentState || parent.state;
5288
5288
  if (options.replace)
5289
- (0, import_utils14.overwriteDeep)(targetParent, changesValue || value);
5289
+ (0, import_utils15.overwriteDeep)(targetParent, changesValue || value);
5290
5290
  targetParent.update(changesValue, {
5291
5291
  execStateFunction: false,
5292
5292
  isHoisted: true,
@@ -5355,7 +5355,7 @@ var require_create = __commonJS({
5355
5355
  });
5356
5356
  module2.exports = __toCommonJS2(create_exports);
5357
5357
  var import_event = require_cjs4();
5358
- var import_utils14 = require_cjs2();
5358
+ var import_utils15 = require_cjs2();
5359
5359
  var import_ignore = require_ignore();
5360
5360
  var import_methods = require_methods();
5361
5361
  var import_updateState = require_updateState();
@@ -5369,13 +5369,13 @@ var require_create = __commonJS({
5369
5369
  if (objectizeState === false)
5370
5370
  return parent.state || {};
5371
5371
  else
5372
- element.state = (0, import_utils14.deepCloneWithExtnd)(objectizeState, import_ignore.IGNORE_STATE_PARAMS);
5372
+ element.state = (0, import_utils15.deepCloneWithExtnd)(objectizeState, import_ignore.IGNORE_STATE_PARAMS);
5373
5373
  const whatInitReturns = (0, import_event.triggerEventOn)("stateInit", element, options);
5374
5374
  if (whatInitReturns === false)
5375
5375
  return element.state;
5376
5376
  if ((0, import_inherit.checkIfInherits)(element)) {
5377
5377
  const inheritedState = (0, import_inherit.createInheritedState)(element, parent);
5378
- element.state = (0, import_utils14.isUndefined)(inheritedState) ? {} : inheritedState;
5378
+ element.state = (0, import_utils15.isUndefined)(inheritedState) ? {} : inheritedState;
5379
5379
  }
5380
5380
  const dependentState = applyDependentState(element, element.state);
5381
5381
  if (dependentState)
@@ -5388,17 +5388,17 @@ var require_create = __commonJS({
5388
5388
  const { __ref: ref } = state;
5389
5389
  if (!ref)
5390
5390
  return;
5391
- const dependentState = (0, import_utils14.deepCloneWithExtnd)(ref, import_ignore.IGNORE_STATE_PARAMS);
5391
+ const dependentState = (0, import_utils15.deepCloneWithExtnd)(ref, import_ignore.IGNORE_STATE_PARAMS);
5392
5392
  const newDepends = { [element.key]: dependentState };
5393
- ref.__depends = (0, import_utils14.isObject)(ref.__depends) ? { ...ref.__depends, ...newDepends } : newDepends;
5393
+ ref.__depends = (0, import_utils15.isObject)(ref.__depends) ? { ...ref.__depends, ...newDepends } : newDepends;
5394
5394
  return dependentState;
5395
5395
  };
5396
5396
  var checkForTypes = (element) => {
5397
5397
  const { state, __ref: ref } = element;
5398
- if ((0, import_utils14.isFunction)(state)) {
5398
+ if ((0, import_utils15.isFunction)(state)) {
5399
5399
  ref.__state = state;
5400
- return (0, import_utils14.exec)(state, element);
5401
- } else if ((0, import_utils14.is)(state)("string", "number")) {
5400
+ return (0, import_utils15.exec)(state, element);
5401
+ } else if ((0, import_utils15.is)(state)("string", "number")) {
5402
5402
  ref.__state = state;
5403
5403
  return {};
5404
5404
  } else if (state === true) {
@@ -5446,7 +5446,7 @@ var require_create = __commonJS({
5446
5446
  __children: {},
5447
5447
  __root: ref.__root ? ref.__root.state : state
5448
5448
  };
5449
- if ((0, import_utils14.isArray)(state)) {
5449
+ if ((0, import_utils15.isArray)(state)) {
5450
5450
  addProtoToArray(state, proto);
5451
5451
  } else {
5452
5452
  Object.setPrototypeOf(state, proto);
@@ -5516,8 +5516,8 @@ var require_cjs6 = __commonJS({
5516
5516
  router: () => router
5517
5517
  });
5518
5518
  module2.exports = __toCommonJS2(router_exports);
5519
- var import_utils14 = require_cjs2();
5520
- var getActiveRoute = (level = 0, route = import_utils14.window.location.pathname) => {
5519
+ var import_utils15 = require_cjs2();
5520
+ var getActiveRoute = (level = 0, route = import_utils15.window.location.pathname) => {
5521
5521
  const routeArray = route.split("/");
5522
5522
  const activeRoute = routeArray[level + 1];
5523
5523
  if (activeRoute)
@@ -5531,7 +5531,7 @@ var require_cjs6 = __commonJS({
5531
5531
  initialRender: false,
5532
5532
  scrollToTop: true,
5533
5533
  scrollToNode: false,
5534
- scrollNode: import_utils14.document && import_utils14.document.documentElement,
5534
+ scrollNode: import_utils15.document && import_utils15.document.documentElement,
5535
5535
  scrollBody: false,
5536
5536
  useFragment: false,
5537
5537
  updateState: true,
@@ -5546,13 +5546,13 @@ var require_cjs6 = __commonJS({
5546
5546
  const route = getActiveRoute(options.level, pathname);
5547
5547
  const content = element.routes[route || "/"] || element.routes["/*"];
5548
5548
  const scrollNode = options.scrollToNode ? rootNode : options.scrollNode;
5549
- const hashChanged = hash2 && hash2 !== import_utils14.window.location.hash.slice(1);
5549
+ const hashChanged = hash2 && hash2 !== import_utils15.window.location.hash.slice(1);
5550
5550
  const pathChanged = pathname !== lastPathname;
5551
5551
  lastPathname = pathname;
5552
5552
  if (!content)
5553
5553
  return;
5554
5554
  if (options.pushState) {
5555
- import_utils14.window.history.pushState(state, null, pathname + (hash2 ? `#${hash2}` : ""));
5555
+ import_utils15.window.history.pushState(state, null, pathname + (hash2 ? `#${hash2}` : ""));
5556
5556
  }
5557
5557
  if (pathChanged || !hashChanged) {
5558
5558
  if (options.updateState) {
@@ -5578,7 +5578,7 @@ var require_cjs6 = __commonJS({
5578
5578
  });
5579
5579
  }
5580
5580
  if (hash2) {
5581
- const activeNode = import_utils14.document.getElementById(hash2);
5581
+ const activeNode = import_utils15.document.getElementById(hash2);
5582
5582
  if (activeNode) {
5583
5583
  const top = activeNode.getBoundingClientRect().top + rootNode.scrollTop - options.scrollToOffset || 0;
5584
5584
  scrollNode.scrollTo({
@@ -5601,6 +5601,7 @@ __export(uikit_exports, {
5601
5601
  AvatarBundle: () => AvatarBundle,
5602
5602
  AvatarChooser: () => AvatarChooser,
5603
5603
  AvatarIndicator: () => AvatarIndicator,
5604
+ B: () => B,
5604
5605
  BalanceCard: () => BalanceCard,
5605
5606
  Banner: () => Banner,
5606
5607
  Block: () => Block,
@@ -5667,6 +5668,7 @@ __export(uikit_exports, {
5667
5668
  Headline: () => Headline,
5668
5669
  Hoverable: () => Hoverable,
5669
5670
  Hr: () => Hr,
5671
+ I: () => I,
5670
5672
  Icon: () => Icon,
5671
5673
  IconCommonButton: () => IconCommonButton,
5672
5674
  IconTab: () => IconTab,
@@ -6403,6 +6405,12 @@ var Theme = {
6403
6405
  columnRule: ({ props: props4, deps }) => !(0, import_utils.isUndefined)(props4.columnRule) && {
6404
6406
  columnRule: deps.transformBorder(props4.columnRule)
6405
6407
  },
6408
+ filter: ({ props: props4, deps }) => !(0, import_utils.isUndefined)(props4.filter) && {
6409
+ filter: props4.filter
6410
+ },
6411
+ mixBlendMode: ({ props: props4, deps }) => !(0, import_utils.isUndefined)(props4.mixBlendMode) && {
6412
+ mixBlendMode: props4.mixBlendMode
6413
+ },
6406
6414
  appearance: ({ props: props4 }) => !(0, import_utils.isUndefined)(props4.appearance) && {
6407
6415
  appearance: props4.appearance
6408
6416
  }
@@ -8356,6 +8364,7 @@ var Shape = {
8356
8364
  };
8357
8365
 
8358
8366
  // Atoms/Text.js
8367
+ var import_utils7 = __toESM(require_cjs2());
8359
8368
  var import_scratch9 = __toESM(require_cjs());
8360
8369
  var Text = {
8361
8370
  deps: { getFontSizeByKey: import_scratch9.getFontSizeByKey, getFontFamily: import_scratch9.getFontFamily },
@@ -8369,18 +8378,18 @@ var Text = {
8369
8378
  const { props: props4, deps } = el;
8370
8379
  return props4.fontSize ? deps.getFontSizeByKey(props4.fontSize) : null;
8371
8380
  },
8372
- fontFamily: ({ props: props4, deps }) => props4.fontFamily && {
8381
+ fontFamily: ({ props: props4, deps }) => !(0, import_utils7.isUndefined)(props4.fontFamily) && {
8373
8382
  fontFamily: deps.getFontFamily(props4.fontFamily) || props4.fontFamily
8374
8383
  },
8375
- lineHeight: ({ props: props4 }) => props4.lineHeight && { lineHeight: props4.lineHeight },
8376
- // lineHeight: ({ props }) => props.lineHeight && getSpacingBasedOnRatio(props, 'lineHeight', null, ''),
8377
- textDecoration: ({ props: props4 }) => props4.textDecoration && { textDecoration: props4.textDecoration },
8378
- textTransform: ({ props: props4 }) => props4.textTransform && { textTransform: props4.textTransform },
8379
- whiteSpace: ({ props: props4 }) => props4.whiteSpace && { whiteSpace: props4.whiteSpace },
8380
- wordWrap: ({ props: props4 }) => props4.wordWrap && { wordWrap: props4.wordWrap },
8381
- letterSpacing: ({ props: props4 }) => props4.letterSpacing && { letterSpacing: props4.letterSpacing },
8382
- textAlign: ({ props: props4 }) => props4.textAlign && { textAlign: props4.textAlign },
8383
- fontWeight: ({ props: props4 }) => props4.fontWeight && {
8384
+ lineHeight: ({ props: props4 }) => !(0, import_utils7.isUndefined)(props4.lineHeight) && { lineHeight: props4.lineHeight },
8385
+ // lineHeight: ({ props }) => !isUndefined(props.lineHeight) && getSpacingBasedOnRatio(props, 'lineHeight', null, ''),
8386
+ textDecoration: ({ props: props4 }) => !(0, import_utils7.isUndefined)(props4.textDecoration) && { textDecoration: props4.textDecoration },
8387
+ textTransform: ({ props: props4 }) => !(0, import_utils7.isUndefined)(props4.textTransform) && { textTransform: props4.textTransform },
8388
+ whiteSpace: ({ props: props4 }) => !(0, import_utils7.isUndefined)(props4.whiteSpace) && { whiteSpace: props4.whiteSpace },
8389
+ wordWrap: ({ props: props4 }) => !(0, import_utils7.isUndefined)(props4.wordWrap) && { wordWrap: props4.wordWrap },
8390
+ letterSpacing: ({ props: props4 }) => !(0, import_utils7.isUndefined)(props4.letterSpacing) && { letterSpacing: props4.letterSpacing },
8391
+ textAlign: ({ props: props4 }) => !(0, import_utils7.isUndefined)(props4.textAlign) && { textAlign: props4.textAlign },
8392
+ fontWeight: ({ props: props4 }) => !(0, import_utils7.isUndefined)(props4.fontWeight) && {
8384
8393
  fontWeight: props4.fontWeight,
8385
8394
  fontVariationSettings: '"wght" ' + props4.fontWeight
8386
8395
  }
@@ -8413,10 +8422,13 @@ var Footnote = {
8413
8422
  tag: "span",
8414
8423
  props: { fontSize: "Z" }
8415
8424
  };
8425
+ var B = { tag: "b" };
8426
+ var I = { tag: "i" };
8416
8427
 
8417
8428
  // Atoms/Transform.js
8418
8429
  var Transform = {
8419
8430
  class: {
8431
+ zoom: ({ props: props4 }) => props4.zoom && { zoom: props4.zoom },
8420
8432
  transform: ({ props: props4 }) => props4.transform && { transform: props4.transform },
8421
8433
  transformOrigin: ({ props: props4 }) => props4.transformOrigin && { transformOrigin: props4.transformOrigin }
8422
8434
  }
@@ -8431,18 +8443,18 @@ var XYZ = {
8431
8443
 
8432
8444
  // Atoms/Animation.js
8433
8445
  var import_scratch10 = __toESM(require_cjs());
8434
- var import_utils7 = __toESM(require_cjs2());
8446
+ var import_utils8 = __toESM(require_cjs2());
8435
8447
  var applyAnimationProps = (animation, element) => {
8436
8448
  const { emotion: ctxEmotion } = element.context;
8437
8449
  const { keyframes } = ctxEmotion || emotion;
8438
- if ((0, import_utils7.isObject)(animation))
8450
+ if ((0, import_utils8.isObject)(animation))
8439
8451
  return { animationName: keyframes(animation) };
8440
8452
  const { ANIMATION } = element.context && element.context.designSystem;
8441
8453
  const record = ANIMATION[animation];
8442
8454
  return keyframes(record);
8443
8455
  };
8444
8456
  var Animation = {
8445
- deps: { isObject: import_utils7.isObject, getTimingByKey: import_scratch10.getTimingByKey, getTimingFunction: import_scratch10.getTimingFunction, applyAnimationProps },
8457
+ deps: { isObject: import_utils8.isObject, getTimingByKey: import_scratch10.getTimingByKey, getTimingFunction: import_scratch10.getTimingFunction, applyAnimationProps },
8446
8458
  class: {
8447
8459
  animation: (el) => el.props.animation && {
8448
8460
  animationName: el.deps.applyAnimationProps(el.props.animation, el),
@@ -8481,7 +8493,7 @@ var Animation = {
8481
8493
  };
8482
8494
 
8483
8495
  // Box/index.js
8484
- var import_utils8 = __toESM(require_cjs2());
8496
+ var import_utils9 = __toESM(require_cjs2());
8485
8497
  var PropsCSS = {
8486
8498
  class: {
8487
8499
  style: ({ props: props4 }) => props4 && props4.style
@@ -8503,7 +8515,7 @@ var Box = {
8503
8515
  XYZ,
8504
8516
  Animation
8505
8517
  ],
8506
- deps: { isString: import_utils8.isString },
8518
+ deps: { isString: import_utils9.isString },
8507
8519
  attr: {
8508
8520
  id: ({ props: props4, deps }) => deps.isString(props4.id) && props4.id,
8509
8521
  title: ({ props: props4, deps }) => deps.isString(props4.title) && props4.title,
@@ -8524,10 +8536,10 @@ var Circle = {
8524
8536
  };
8525
8537
 
8526
8538
  // Icon/index.js
8527
- var import_utils9 = __toESM(require_cjs2());
8539
+ var import_utils10 = __toESM(require_cjs2());
8528
8540
  var Icon = {
8529
8541
  extend: Svg,
8530
- deps: { isString: import_utils9.isString },
8542
+ deps: { isString: import_utils10.isString },
8531
8543
  props: ({ key, props: props4, parent, context, deps }) => {
8532
8544
  const { ICONS, useIconSprite, verbose } = context && context.designSystem;
8533
8545
  const { toCamelCase } = context && context.utils;
@@ -9630,11 +9642,11 @@ var DoubleHr = {
9630
9642
  };
9631
9643
 
9632
9644
  // Input/Input.js
9633
- var import_utils10 = __toESM(require_cjs2());
9645
+ var import_utils11 = __toESM(require_cjs2());
9634
9646
  var Input = {
9635
9647
  tag: "input",
9636
9648
  extend: [Focusable],
9637
- deps: { isString: import_utils10.isString, replaceLiteralsWithObjectFields: import_utils10.replaceLiteralsWithObjectFields },
9649
+ deps: { isString: import_utils11.isString, replaceLiteralsWithObjectFields: import_utils11.replaceLiteralsWithObjectFields },
9638
9650
  props: {
9639
9651
  border: "none",
9640
9652
  type: "input",
@@ -10174,7 +10186,7 @@ var ProgressCircleWithSideUnitValue = {
10174
10186
  };
10175
10187
 
10176
10188
  // Range/index.js
10177
- var import_utils11 = __toESM(require_cjs2());
10189
+ var import_utils12 = __toESM(require_cjs2());
10178
10190
  var import_scratch11 = __toESM(require_cjs());
10179
10191
  var props = {
10180
10192
  appearance: "none",
@@ -10242,7 +10254,7 @@ var Range = {
10242
10254
  };
10243
10255
  var returnPropertyValue = (el, property, def) => {
10244
10256
  const val = el.props && el.props[property];
10245
- const r = (0, import_utils11.isFunction)(val) ? val(el, el.state) : val !== void 0 ? val : def !== void 0 ? def : 50;
10257
+ const r = (0, import_utils12.isFunction)(val) ? val(el, el.state) : val !== void 0 ? val : def !== void 0 ? def : 50;
10246
10258
  return r + "";
10247
10259
  };
10248
10260
  var RangeWithButtons = {
@@ -10252,7 +10264,7 @@ var RangeWithButtons = {
10252
10264
  on: {
10253
10265
  click: (ev, el, s) => {
10254
10266
  const parentProps = el.parent.props;
10255
- if ((0, import_utils11.isFunction)(parentProps.onDecrease)) {
10267
+ if ((0, import_utils12.isFunction)(parentProps.onDecrease)) {
10256
10268
  parentProps.onDecrease(ev, el.parent, s);
10257
10269
  } else {
10258
10270
  const value = parseFloat(s.value);
@@ -10284,7 +10296,7 @@ var RangeWithButtons = {
10284
10296
  on: {
10285
10297
  input: (ev, el, s) => {
10286
10298
  const parentProps = el.parent.props;
10287
- if ((0, import_utils11.isFunction)(parentProps.onInput)) {
10299
+ if ((0, import_utils12.isFunction)(parentProps.onInput)) {
10288
10300
  parentProps.onInput(ev, el, s);
10289
10301
  } else {
10290
10302
  s.update({ value: parseFloat(el.node.value) });
@@ -10292,7 +10304,7 @@ var RangeWithButtons = {
10292
10304
  },
10293
10305
  change: (ev, el, s) => {
10294
10306
  const parentProps = el.parent.props;
10295
- if ((0, import_utils11.isFunction)(parentProps.onChange)) {
10307
+ if ((0, import_utils12.isFunction)(parentProps.onChange)) {
10296
10308
  parentProps.onChange(ev, el, s);
10297
10309
  } else {
10298
10310
  s.update({ value: parseFloat(el.node.value) });
@@ -10306,7 +10318,7 @@ var RangeWithButtons = {
10306
10318
  on: {
10307
10319
  click: (ev, el, s) => {
10308
10320
  const parentProps = el.parent.props;
10309
- if ((0, import_utils11.isFunction)(parentProps.onIncrease)) {
10321
+ if ((0, import_utils12.isFunction)(parentProps.onIncrease)) {
10310
10322
  parentProps.onIncrease(ev, el.parent, s);
10311
10323
  } else {
10312
10324
  const value = parseFloat(s.value);
@@ -10342,7 +10354,7 @@ var style_default = {
10342
10354
 
10343
10355
  // Slider/index.js
10344
10356
  var import_scratch12 = __toESM(require_cjs());
10345
- var import_utils12 = __toESM(require_cjs2());
10357
+ var import_utils13 = __toESM(require_cjs2());
10346
10358
  (0, import_scratch12.set)({
10347
10359
  theme: {
10348
10360
  sliderThumb: {
@@ -10374,7 +10386,7 @@ var RangeSlider = {
10374
10386
  };
10375
10387
  var listenProp = (el, prop, def) => {
10376
10388
  const val = el && el.props && el.props[prop];
10377
- const r = ((0, import_utils12.isFunction)(val) ? val() : val) || (def !== void 0 ? def : 50);
10389
+ const r = ((0, import_utils13.isFunction)(val) ? val() : val) || (def !== void 0 ? def : 50);
10378
10390
  return r;
10379
10391
  };
10380
10392
  var Slider = {
@@ -10385,10 +10397,10 @@ var Slider = {
10385
10397
  },
10386
10398
  on: {
10387
10399
  click: (ev, el, s) => {
10388
- el.props && (0, import_utils12.isFunction)(el.props.click) && el.props.click(ev, el, s);
10400
+ el.props && (0, import_utils13.isFunction)(el.props.click) && el.props.click(ev, el, s);
10389
10401
  const input = el.parent.input;
10390
10402
  const props4 = input.props;
10391
- const value = (0, import_utils12.isFunction)(props4.value) ? props4.value() : props4.value;
10403
+ const value = (0, import_utils13.isFunction)(props4.value) ? props4.value() : props4.value;
10392
10404
  input.node.value = value;
10393
10405
  }
10394
10406
  }
@@ -10411,8 +10423,8 @@ var Slider = {
10411
10423
  step: (el, s) => listenProp(el, "step", 1)
10412
10424
  },
10413
10425
  on: {
10414
- input: (ev, el, s) => el.props && (0, import_utils12.isFunction)(el.props.input) && el.props.input(ev, el, s),
10415
- change: (ev, el, s) => el.props && (0, import_utils12.isFunction)(el.props.change) && el.props.change(ev, el, s)
10426
+ input: (ev, el, s) => el.props && (0, import_utils13.isFunction)(el.props.input) && el.props.input(ev, el, s),
10427
+ change: (ev, el, s) => el.props && (0, import_utils13.isFunction)(el.props.change) && el.props.change(ev, el, s)
10416
10428
  }
10417
10429
  },
10418
10430
  button1: {
@@ -10422,10 +10434,10 @@ var Slider = {
10422
10434
  },
10423
10435
  on: {
10424
10436
  click: (ev, el, s) => {
10425
- el.props && (0, import_utils12.isFunction)(el.props.click) && el.props.click(ev, el, s);
10437
+ el.props && (0, import_utils13.isFunction)(el.props.click) && el.props.click(ev, el, s);
10426
10438
  const input = el.parent.input;
10427
10439
  const props4 = input.props;
10428
- const value = (0, import_utils12.isFunction)(props4.value) ? props4.value() : props4.value;
10440
+ const value = (0, import_utils13.isFunction)(props4.value) ? props4.value() : props4.value;
10429
10441
  input.node.value = value;
10430
10442
  }
10431
10443
  }
@@ -10642,7 +10654,7 @@ var NotificationIndicator = {
10642
10654
  };
10643
10655
 
10644
10656
  // Tooltip/index.js
10645
- var import_utils13 = __toESM(require_cjs2());
10657
+ var import_utils14 = __toESM(require_cjs2());
10646
10658
  var Tooltip = {
10647
10659
  extend: Flex,
10648
10660
  props: {
@@ -10661,7 +10673,7 @@ var Tooltip = {
10661
10673
  },
10662
10674
  attr: { tooltip: true },
10663
10675
  Title: {
10664
- if: ({ parent, props: props4 }) => (0, import_utils13.isDefined)(parent.props.title) || props4.text,
10676
+ if: ({ parent, props: props4 }) => (0, import_utils14.isDefined)(parent.props.title) || props4.text,
10665
10677
  props: ({ parent }) => ({
10666
10678
  width: "fit-content",
10667
10679
  fontWeight: 500,
@@ -10670,7 +10682,7 @@ var Tooltip = {
10670
10682
  })
10671
10683
  },
10672
10684
  P: {
10673
- if: ({ parent, props: props4 }) => (0, import_utils13.isDefined)(parent.props.description) || props4.text,
10685
+ if: ({ parent, props: props4 }) => (0, import_utils14.isDefined)(parent.props.description) || props4.text,
10674
10686
  props: ({ parent }) => ({
10675
10687
  width: "fit-content",
10676
10688
  fontSize: "Z2",