@symbo.ls/uikit 2.11.263 → 2.11.267

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
@@ -1570,12 +1570,12 @@ var require_cjs2 = __commonJS({
1570
1570
  isDefined: () => isDefined2,
1571
1571
  isFunction: () => isFunction22,
1572
1572
  isNot: () => isNot2,
1573
- isNull: () => isNull,
1573
+ isNull: () => isNull2,
1574
1574
  isNumber: () => isNumber3,
1575
1575
  isObject: () => isObject8,
1576
1576
  isObjectLike: () => isObjectLike3,
1577
1577
  isString: () => isString10,
1578
- isUndefined: () => isUndefined4
1578
+ isUndefined: () => isUndefined22
1579
1579
  });
1580
1580
  module22.exports = __toCommonJS22(types_exports);
1581
1581
  var import_node = require_node2();
@@ -1588,7 +1588,7 @@ var require_cjs2 = __commonJS({
1588
1588
  var isNumber3 = (arg) => typeof arg === "number";
1589
1589
  var isFunction22 = (arg) => typeof arg === "function";
1590
1590
  var isBoolean = (arg) => arg === true || arg === false;
1591
- var isNull = (arg) => arg === null;
1591
+ var isNull2 = (arg) => arg === null;
1592
1592
  var isArray9 = (arg) => Array.isArray(arg);
1593
1593
  var isDate = (d) => d instanceof Date;
1594
1594
  var isObjectLike3 = (arg) => {
@@ -1597,9 +1597,9 @@ var require_cjs2 = __commonJS({
1597
1597
  return typeof arg === "object";
1598
1598
  };
1599
1599
  var isDefined2 = (arg) => {
1600
- return isObject8(arg) || isObjectLike3(arg) || isString10(arg) || isNumber3(arg) || isFunction22(arg) || isArray9(arg) || isObjectLike3(arg) || isBoolean(arg) || isDate(arg) || isNull(arg);
1600
+ return isObject8(arg) || isObjectLike3(arg) || isString10(arg) || isNumber3(arg) || isFunction22(arg) || isArray9(arg) || isObjectLike3(arg) || isBoolean(arg) || isDate(arg) || isNull2(arg);
1601
1601
  };
1602
- var isUndefined4 = (arg) => {
1602
+ var isUndefined22 = (arg) => {
1603
1603
  return arg === void 0;
1604
1604
  };
1605
1605
  var TYPES = {
@@ -1609,7 +1609,7 @@ var require_cjs2 = __commonJS({
1609
1609
  string: isString10,
1610
1610
  date: isDate,
1611
1611
  number: isNumber3,
1612
- null: isNull,
1612
+ null: isNull2,
1613
1613
  function: isFunction22,
1614
1614
  objectLike: isObjectLike3,
1615
1615
  node: import_node.isNode,
@@ -3429,7 +3429,7 @@ var require_cjs2 = __commonJS({
3429
3429
  var getSequenceValuePropertyPair = (value, propertyName, sequenceProps) => {
3430
3430
  if (typeof value !== "string") {
3431
3431
  console.warn(propertyName, value, "is not a string");
3432
- return {};
3432
+ return { [propertyName]: value };
3433
3433
  }
3434
3434
  if (value === "-" || value === "")
3435
3435
  return {};
@@ -3942,22 +3942,24 @@ var require_cjs2 = __commonJS({
3942
3942
  else
3943
3943
  return val;
3944
3944
  };
3945
- var getMediaTheme2 = (val, mod) => {
3946
- const CONFIG22 = getActiveConfig3();
3947
- if ((0, import_utils112.isString)(val) && val.slice(0, 2) === "--")
3948
- val = getMediaTheme2(val.slice(2));
3949
- if (!val || !(0, import_utils112.isString)(val)) {
3950
- if (CONFIG22.verbose)
3951
- console.warn(val, "- theme is not string");
3945
+ var getMediaTheme2 = (value, modifier) => {
3946
+ const activeConfig = getActiveConfig3();
3947
+ if ((0, import_utils112.isString)(value) && value.slice(0, 2) === "--") {
3948
+ value = getMediaTheme2(value.slice(2));
3949
+ }
3950
+ if (!value || !(0, import_utils112.isString)(value)) {
3951
+ if (activeConfig.verbose) {
3952
+ console.warn(`${value} - Theme is not a string`);
3953
+ }
3952
3954
  return;
3953
3955
  }
3954
- const [name, ...modifier] = (0, import_utils112.isArray)(val) ? val : val.split(" ");
3955
- let value = CONFIG22.THEME[name];
3956
- if (value && (modifier || mod)) {
3957
- value = findModifier(value, modifier.length ? modifier : mod);
3956
+ const [themeName, ...themeModifiers] = (0, import_utils112.isArray)(value) ? value : value.split(" ");
3957
+ let themeValue = activeConfig.THEME[themeName];
3958
+ if (themeValue && (themeModifiers || modifier)) {
3959
+ themeValue = findModifier(themeValue, themeModifiers.length ? themeModifiers : modifier);
3958
3960
  }
3959
- const r = recursiveTheme(value);
3960
- return r;
3961
+ const resolvedTheme = recursiveTheme(themeValue);
3962
+ return resolvedTheme;
3961
3963
  };
3962
3964
  var import_utils122 = __toESM2(require_cjs22(), 1);
3963
3965
  var setFont = (val, key) => {
@@ -4531,8 +4533,8 @@ var require_cjs2 = __commonJS({
4531
4533
  return (prop.includes("width") || prop.includes("height")) && !prop.includes("border");
4532
4534
  };
4533
4535
  var transformSize2 = (propertyName, val, props4 = {}, opts = {}) => {
4534
- let value = val !== void 0 ? val : props4[propertyName];
4535
- if (value === void 0)
4536
+ let value = val || props4[propertyName];
4537
+ if ((0, import_utils27.isUndefined)(value) && (0, import_utils27.isNull)(value))
4536
4538
  return;
4537
4539
  const shouldScaleBoxSize = props4.scaleBoxSize;
4538
4540
  const isBoxSize = checkIfBoxSize(propertyName);
@@ -5634,12 +5636,11 @@ __export(uikit_exports, {
5634
5636
  CheckStep: () => CheckStep,
5635
5637
  CheckSteps: () => CheckSteps,
5636
5638
  Checkbox: () => Checkbox,
5637
- CheckboxTitleParagraph: () => CheckboxTitleParagraph,
5639
+ CheckboxHgroup: () => CheckboxHgroup,
5638
5640
  Circle: () => Circle,
5639
5641
  CircleButton: () => CircleButton,
5640
5642
  Clickable: () => Clickable,
5641
5643
  Collection: () => Collection,
5642
- CommonButton: () => CommonButton,
5643
5644
  CommonField: () => CommonField,
5644
5645
  CommonFieldTemplate: () => CommonFieldTemplate,
5645
5646
  CommonForm: () => CommonForm,
@@ -5664,6 +5665,7 @@ __export(uikit_exports, {
5664
5665
  FieldWithTitleTemplate: () => FieldWithTitleTemplate,
5665
5666
  FileIcon: () => FileIcon,
5666
5667
  Flex: () => Flex,
5668
+ FlexButton: () => FlexButton,
5667
5669
  Focusable: () => Focusable,
5668
5670
  FocusableComponent: () => FocusableComponent,
5669
5671
  Footnote: () => Footnote,
@@ -5681,11 +5683,14 @@ __export(uikit_exports, {
5681
5683
  H5: () => H5,
5682
5684
  H6: () => H6,
5683
5685
  Headline: () => Headline,
5686
+ Hgroup: () => Hgroup,
5687
+ HgroupButton: () => HgroupButton,
5688
+ HgroupRows: () => HgroupRows,
5684
5689
  Hoverable: () => Hoverable,
5685
5690
  Hr: () => Hr,
5686
5691
  I: () => I,
5687
5692
  Icon: () => Icon,
5688
- IconCommonButton: () => IconCommonButton,
5693
+ IconFlexButton: () => IconFlexButton,
5689
5694
  IconTab: () => IconTab,
5690
5695
  IconText: () => IconText,
5691
5696
  IcontextButton: () => IcontextButton,
@@ -5698,7 +5703,7 @@ __export(uikit_exports, {
5698
5703
  Label: () => Label,
5699
5704
  LabelButton: () => LabelButton,
5700
5705
  LineSteps: () => LineSteps,
5701
- LineStepsWithTitleParagraph: () => LineStepsWithTitleParagraph,
5706
+ LineStepsWithHgroup: () => LineStepsWithHgroup,
5702
5707
  Link: () => Link,
5703
5708
  List: () => List,
5704
5709
  ListTemplate: () => ListTemplate,
@@ -5728,11 +5733,11 @@ __export(uikit_exports, {
5728
5733
  ProgressLineWithUnitValue: () => ProgressLineWithUnitValue,
5729
5734
  Pseudo: () => Pseudo,
5730
5735
  Radio: () => Radio,
5736
+ RadioHgroup: () => RadioHgroup,
5731
5737
  RadioIndicator: () => RadioIndicator,
5732
5738
  RadioIndicatorWithLabel: () => RadioIndicatorWithLabel,
5733
5739
  RadioStep: () => RadioStep,
5734
5740
  RadioSteps: () => RadioSteps,
5735
- RadioTitleParagraph: () => RadioTitleParagraph,
5736
5741
  Range: () => Range,
5737
5742
  RangeSlider: () => RangeSlider,
5738
5743
  RangeWithButtons: () => RangeWithButtons,
@@ -5767,11 +5772,8 @@ __export(uikit_exports, {
5767
5772
  TimeSwitcher: () => TimeSwitcher,
5768
5773
  Timing: () => Timing,
5769
5774
  Title: () => Title,
5770
- TitleParagraph: () => TitleParagraph,
5771
- TitleParagraphButton: () => TitleParagraphButton,
5772
- TitleParagraphRows: () => TitleParagraphRows,
5773
5775
  Toggle: () => Toggle,
5774
- ToggleTitleParagraph: () => ToggleTitleParagraph,
5776
+ ToggleHgroup: () => ToggleHgroup,
5775
5777
  Tooltip: () => Tooltip,
5776
5778
  TooltipHidden: () => TooltipHidden,
5777
5779
  TooltipParent: () => TooltipParent,
@@ -6362,8 +6364,15 @@ var Theme = {
6362
6364
  const globalTheme = deps.getSystemTheme(element);
6363
6365
  if (!props4.theme)
6364
6366
  return;
6365
- const getMediaTheme2 = deps.getMediaTheme(props4.theme, `@${props4.themeModifier || globalTheme}`);
6366
- return getMediaTheme2;
6367
+ const hasSubtheme = props4.theme.includes(" ") && !props4.theme.includes("@");
6368
+ const globalThemeForced = `@${props4.themeModifier || globalTheme}`;
6369
+ if (hasSubtheme) {
6370
+ const themeAppliedInVal = props4.theme.split(" ");
6371
+ themeAppliedInVal.splice(1, 0, globalThemeForced);
6372
+ return deps.getMediaTheme(themeAppliedInVal);
6373
+ } else if (props4.theme.includes("@{globalTheme}"))
6374
+ props4.theme.replace("@{globalTheme}", globalThemeForced);
6375
+ return deps.getMediaTheme(props4.theme, `@${props4.themeModifier || globalTheme}`);
6367
6376
  },
6368
6377
  color: (element) => {
6369
6378
  const { props: props4, deps } = element;
@@ -8745,9 +8754,10 @@ var FileIcon = {
8745
8754
  // Indicator/StatusIndicator.js
8746
8755
  var StatusIndicator = {
8747
8756
  props: {
8748
- boxSize: "Z+V",
8749
- background: "green2",
8757
+ widthRange: "Z+V",
8758
+ theme: "field",
8750
8759
  round: "100%",
8760
+ aspectRatio: "1/1",
8751
8761
  border: "solid, gray",
8752
8762
  borderWidth: "2px"
8753
8763
  }
@@ -8790,8 +8800,7 @@ var CountIndicator = {
8790
8800
  props: {
8791
8801
  text: "2",
8792
8802
  theme: "primary",
8793
- boxSize: "A1",
8794
- minWidth: "fit-content",
8803
+ widthRange: "A1",
8795
8804
  boxSizing: "content-box",
8796
8805
  lineHeight: "1em",
8797
8806
  padding: "X",
@@ -8841,14 +8850,14 @@ var SuccessIndicator = {
8841
8850
  }
8842
8851
  };
8843
8852
 
8844
- // TitleParagraph/index.js
8845
- var TitleParagraph = {
8853
+ // Hgroup/index.js
8854
+ var Hgroup = {
8846
8855
  extend: Flex,
8856
+ tag: "hgroup",
8847
8857
  props: { flow: "column", gap: "Y" },
8848
8858
  Title: {
8849
8859
  extend: Flex,
8850
8860
  props: {
8851
- lineHeight: "1em",
8852
8861
  fontWeight: "700",
8853
8862
  alignItems: "center"
8854
8863
  }
@@ -8857,7 +8866,6 @@ var TitleParagraph = {
8857
8866
  extend: Flex,
8858
8867
  props: {
8859
8868
  margin: "0",
8860
- fontWeight: "400",
8861
8869
  color: "caption",
8862
8870
  "> p": { margin: "0" }
8863
8871
  }
@@ -8877,18 +8885,19 @@ var TitleParagraph = {
8877
8885
  // })
8878
8886
  // }
8879
8887
  };
8880
- var TitleParagraphRows = {
8881
- extend: TitleParagraph,
8888
+ var HgroupRows = {
8889
+ extend: Hgroup,
8882
8890
  Title: {
8883
8891
  extend: Flex,
8884
- props: { align: "center space-between" }
8892
+ props: { color: "title", align: "center space-between" }
8885
8893
  },
8886
8894
  Paragraph: {
8887
- extend: Flex
8895
+ extend: Flex,
8896
+ props: { color: "paragraph", align: "center space-between" }
8888
8897
  }
8889
8898
  };
8890
- var TitleParagraphButton = {
8891
- extend: TitleParagraphRows,
8899
+ var HgroupButton = {
8900
+ extend: HgroupRows,
8892
8901
  Title: {
8893
8902
  props: { justifyContent: "space-between" },
8894
8903
  Span: {},
@@ -8944,7 +8953,6 @@ var List = {
8944
8953
  padding: "Z1 A1",
8945
8954
  position: "relative",
8946
8955
  cursor: "pointer",
8947
- fontSize: "A1",
8948
8956
  color: "caption",
8949
8957
  ":hover": {
8950
8958
  background: "gray .92 +4"
@@ -9017,7 +9025,6 @@ var ListWithTitle = {
9017
9025
  top: "0",
9018
9026
  zIndex: "3",
9019
9027
  text: "Group name",
9020
- fontSize: "Z",
9021
9028
  color: "gray .92 +68",
9022
9029
  fontWeight: "400",
9023
9030
  theme: "dialog",
@@ -9267,7 +9274,6 @@ var Field = {
9267
9274
  },
9268
9275
  Input: {
9269
9276
  props: {
9270
- fontSize: "Z",
9271
9277
  fontWeight: "400",
9272
9278
  padding: "0",
9273
9279
  background: "rgba(0, 0, 0, 0)",
@@ -9298,7 +9304,7 @@ var FieldWithTitle = {
9298
9304
  Hint: {
9299
9305
  color: "gray 1 +64",
9300
9306
  align: "center flex-start",
9301
- fontSize: "Y",
9307
+ fontSize: "Z2",
9302
9308
  gap: "Y",
9303
9309
  padding: "W Y2 - Y2"
9304
9310
  }
@@ -9306,7 +9312,6 @@ var FieldWithTitle = {
9306
9312
  Title: {
9307
9313
  props: {
9308
9314
  text: "Label",
9309
- fontSize: "Z",
9310
9315
  lineHeight: "1em",
9311
9316
  color: "title",
9312
9317
  fontWeight: "400",
@@ -9337,24 +9342,24 @@ var FieldWithTitleTemplate = {
9337
9342
  // Field/Search.js
9338
9343
  var Search = {
9339
9344
  extend: Field,
9345
+ tag: "search",
9340
9346
  props: {
9341
9347
  maxWidth: "G3",
9342
9348
  gap: "Z",
9343
9349
  theme: "dialog",
9344
- padding: "Z+V Z+V2",
9345
- Icon: {
9350
+ padding: "Z+V Z+V2"
9351
+ },
9352
+ Form: {
9353
+ IconButton: {
9346
9354
  name: "search",
9347
- fontSize: "C",
9348
9355
  color: "title",
9349
9356
  margin: "V - - -"
9350
- }
9351
- },
9352
- Icon: {},
9353
- Input: {
9354
- props: {
9355
- placeholder: "type a command or search",
9356
- fontSize: "Z",
9357
- "::placeholder": { color: "gray 1 +68" }
9357
+ },
9358
+ Input: {
9359
+ props: {
9360
+ placeholder: "type a command or search",
9361
+ "::placeholder": { color: "paragraph" }
9362
+ }
9358
9363
  }
9359
9364
  }
9360
9365
  };
@@ -9363,17 +9368,19 @@ var SearchWithButton = {
9363
9368
  props: {
9364
9369
  Button: { fontSize: "B" }
9365
9370
  },
9366
- Icon: {},
9367
- Input: { props: { ":focus ~ button": { opacity: "1" } } },
9368
- Button: {
9369
- props: {
9370
- opacity: "0",
9371
- icon: "x"
9372
- },
9373
- Icon: {
9374
- on: {
9375
- click: (e, el) => {
9376
- el.parent.parent.Input.node.value = "";
9371
+ Form: {
9372
+ Icon: {},
9373
+ Input: { props: { ":focus ~ button": { opacity: "1" } } },
9374
+ Button: {
9375
+ props: {
9376
+ opacity: "0",
9377
+ icon: "x"
9378
+ },
9379
+ Icon: {
9380
+ on: {
9381
+ click: (e, el) => {
9382
+ el.parent.parent.Input.node.value = "";
9383
+ }
9377
9384
  }
9378
9385
  }
9379
9386
  }
@@ -9409,7 +9416,6 @@ var TextAreaField = {
9409
9416
  tag: "textarea",
9410
9417
  attr: { placeholder: "Leave us a message..." },
9411
9418
  props: {
9412
- fontSize: "Z",
9413
9419
  minWidth: "H",
9414
9420
  minHeight: "D2+Y1",
9415
9421
  padding: "A",
@@ -9520,7 +9526,7 @@ var GroupListWithSearchTemplate = {
9520
9526
 
9521
9527
  // Banner/index.js
9522
9528
  var Banner = {
9523
- extend: TitleParagraph,
9529
+ extend: Hgroup,
9524
9530
  props: {
9525
9531
  height: "fit-content",
9526
9532
  padding: "D2+Z D+Y2 D D",
@@ -9582,7 +9588,7 @@ var Banner = {
9582
9588
  }
9583
9589
  },
9584
9590
  Flex: {
9585
- extend: TitleParagraph,
9591
+ extend: Hgroup,
9586
9592
  props: {
9587
9593
  gap: "A2",
9588
9594
  alignSelf: "flex-end",
@@ -9628,6 +9634,7 @@ var DoubleUnitValue = {
9628
9634
  extend: Flex,
9629
9635
  props: {
9630
9636
  align: "center flex-start",
9637
+ color: "caption",
9631
9638
  gap: "Y"
9632
9639
  },
9633
9640
  UnitValue: {
@@ -9638,11 +9645,10 @@ var DoubleUnitValue = {
9638
9645
  props: {
9639
9646
  boxSize: "W W",
9640
9647
  round: "100%",
9641
- background: "#A3A3A8"
9648
+ background: "currentColor"
9642
9649
  }
9643
9650
  },
9644
- UnitValue2: {
9645
- extend: UnitValue,
9651
+ UnitValue_2: {
9646
9652
  props: { gap: "X+W" },
9647
9653
  Value: { text: "2" },
9648
9654
  Unit: { text: "Second left" }
@@ -9653,18 +9659,16 @@ var UnitValueWithLabel = {
9653
9659
  props: { gap: "Y2" },
9654
9660
  UnitValue: {
9655
9661
  flow: "row-reverse",
9656
- fontSize: "D1",
9657
9662
  fontWeight: "700",
9658
9663
  Value: { text: "12,759" },
9659
9664
  Unit: { text: "$" }
9660
9665
  },
9661
9666
  dot: null,
9662
- UnitValue2: {
9667
+ UnitValue_2: {
9663
9668
  props: {
9664
- theme: "secondary",
9669
+ theme: "field",
9665
9670
  padding: "Z",
9666
9671
  round: "Y1",
9667
- fontSize: "Y2",
9668
9672
  gap: "0"
9669
9673
  },
9670
9674
  Value: { text: "+8.8" },
@@ -9893,7 +9897,7 @@ var Checkbox = {
9893
9897
  }
9894
9898
  }
9895
9899
  };
9896
- var CheckboxTitleParagraph = {
9900
+ var CheckboxHgroup = {
9897
9901
  extend: Flex,
9898
9902
  tag: "label",
9899
9903
  props: {
@@ -9902,7 +9906,7 @@ var CheckboxTitleParagraph = {
9902
9906
  gap: "A"
9903
9907
  },
9904
9908
  Checkbox: { tag: "div" },
9905
- TitleParagraphRows: {
9909
+ HgroupRows: {
9906
9910
  gap: "Z1",
9907
9911
  margin: "Y - - -"
9908
9912
  }
@@ -9933,8 +9937,8 @@ var Radio = {
9933
9937
  Icon: null
9934
9938
  }
9935
9939
  };
9936
- var RadioTitleParagraph = {
9937
- extend: CheckboxTitleParagraph,
9940
+ var RadioHgroup = {
9941
+ extend: CheckboxHgroup,
9938
9942
  Checkbox: null,
9939
9943
  Radio: {}
9940
9944
  };
@@ -9952,8 +9956,8 @@ var Toggle = {
9952
9956
  },
9953
9957
  Flex: {
9954
9958
  props: {
9955
- boxSize: "A+X B+Z",
9956
- padding: "- W",
9959
+ boxSize: "A1 B1",
9960
+ padding: "- W_default",
9957
9961
  round: "D",
9958
9962
  align: "center flex-start",
9959
9963
  theme: "field",
@@ -9970,8 +9974,8 @@ var Toggle = {
9970
9974
  Icon: null
9971
9975
  }
9972
9976
  };
9973
- var ToggleTitleParagraph = {
9974
- extend: CheckboxTitleParagraph,
9977
+ var ToggleHgroup = {
9978
+ extend: CheckboxHgroup,
9975
9979
  Checkbox: null,
9976
9980
  Toggle: {}
9977
9981
  };
@@ -10022,7 +10026,7 @@ var TextareaWithButton = {
10022
10026
  round: "Z2",
10023
10027
  minHeight: "fit-content"
10024
10028
  },
10025
- IconCommonButton: {
10029
+ IconFlexButton: {
10026
10030
  props: {
10027
10031
  background: "blue",
10028
10032
  Icon: { name: "send" }
@@ -10101,7 +10105,7 @@ var KangorooButton = {
10101
10105
  extend: Button,
10102
10106
  childExtend: IconText
10103
10107
  };
10104
- var CommonButton = {
10108
+ var FlexButton = {
10105
10109
  extend: Button,
10106
10110
  props: {
10107
10111
  theme: "primary",
@@ -10114,22 +10118,22 @@ var CommonButton = {
10114
10118
  Icon: {
10115
10119
  props: { fontSize: "B1" }
10116
10120
  },
10117
- text: "Button"
10121
+ Text: { text: "Button" }
10118
10122
  };
10119
- var IconCommonButton = {
10120
- extend: CommonButton,
10123
+ var IconFlexButton = {
10124
+ extend: FlexButton,
10121
10125
  props: {
10122
10126
  icon: "smile",
10123
10127
  boxSize: "fit-content fit-content",
10124
10128
  padding: "Z2",
10125
10129
  theme: "tertiary"
10126
10130
  },
10127
- caption: null
10131
+ Text: null
10128
10132
  };
10129
10133
  var ButtonSet = {
10130
10134
  tag: "nav",
10131
10135
  extend: Flex,
10132
- childExtend: IconCommonButton
10136
+ childExtend: IconFlexButton
10133
10137
  };
10134
10138
  var CancelConfirmButtons = {
10135
10139
  extend: Flex,
@@ -10138,7 +10142,7 @@ var CancelConfirmButtons = {
10138
10142
  maxWidth: "fit-content"
10139
10143
  },
10140
10144
  childExtend: {
10141
- extend: CommonButton,
10145
+ extend: FlexButton,
10142
10146
  props: {
10143
10147
  ":first-child": {
10144
10148
  theme: "transparent",
@@ -10147,12 +10151,12 @@ var CancelConfirmButtons = {
10147
10151
  }
10148
10152
  },
10149
10153
  ...[
10150
- { caption: { props: { text: "No" } } },
10151
- { caption: { props: { text: "Yes" } } }
10154
+ { Text: "No" },
10155
+ { Text: "Yes" }
10152
10156
  ]
10153
10157
  };
10154
10158
  var IcontextButton = {
10155
- extend: CommonButton,
10159
+ extend: FlexButton,
10156
10160
  props: {
10157
10161
  position: "relative",
10158
10162
  theme: "tertiary",
@@ -10161,7 +10165,7 @@ var IcontextButton = {
10161
10165
  }
10162
10166
  };
10163
10167
  var DropDownButton = {
10164
- extend: CommonButton,
10168
+ extend: FlexButton,
10165
10169
  props: {
10166
10170
  gap: "X2",
10167
10171
  boxSize: "fit-content fit-content",
@@ -10171,7 +10175,7 @@ var DropDownButton = {
10171
10175
  Icon: {
10172
10176
  fontSize: "D"
10173
10177
  },
10174
- caption: { text: "All" }
10178
+ Text: { text: "All" }
10175
10179
  }
10176
10180
  };
10177
10181
  var DropDownButtonWithAvatar = {
@@ -10201,12 +10205,12 @@ var PlusMinusButtons = {
10201
10205
  gap: "A"
10202
10206
  },
10203
10207
  Minus: {
10204
- extend: IconCommonButton,
10208
+ extend: IconFlexButton,
10205
10209
  props: { icon: "minus" }
10206
10210
  },
10207
10211
  Value: { props: { text: "1" } },
10208
10212
  Plus: {
10209
- extend: IconCommonButton,
10213
+ extend: IconFlexButton,
10210
10214
  props: { icon: "plus" }
10211
10215
  }
10212
10216
  };
@@ -10250,7 +10254,8 @@ var ProgressLineWithUnitValue = {
10250
10254
  // Progress/ProgressCircle.js
10251
10255
  var ProgressCircle = {
10252
10256
  props: {
10253
- boxSize: "D D",
10257
+ widthRange: "D",
10258
+ aspectRatio: "1 / 1",
10254
10259
  position: "relative",
10255
10260
  ":after": {
10256
10261
  content: '""',
@@ -10311,7 +10316,7 @@ var ProgressCircleWithSideUnitValue = {
10311
10316
  extend: Flex,
10312
10317
  props: {
10313
10318
  align: "center flex-start",
10314
- boxSize: "fit-content fit-content",
10319
+ boxSize: "fit-content",
10315
10320
  gap: "Y"
10316
10321
  },
10317
10322
  ProgressCircle: {
@@ -10321,7 +10326,7 @@ var ProgressCircleWithSideUnitValue = {
10321
10326
  height: "calc(100% - 5px)"
10322
10327
  }
10323
10328
  },
10324
- UnitValue: { fontSize: "Y1" }
10329
+ UnitValue: {}
10325
10330
  };
10326
10331
 
10327
10332
  // Range/index.js
@@ -10399,7 +10404,7 @@ var returnPropertyValue = (el, property, def) => {
10399
10404
  var RangeWithButtons = {
10400
10405
  minus: {
10401
10406
  extend: SquareButton,
10402
- props: { theme: "secondary", icon: "minus" },
10407
+ props: { theme: "field", icon: "minus" },
10403
10408
  on: {
10404
10409
  click: (ev, el, s) => {
10405
10410
  const parentProps = el.parent.props;
@@ -10453,7 +10458,7 @@ var RangeWithButtons = {
10453
10458
  },
10454
10459
  plus: {
10455
10460
  extend: SquareButton,
10456
- props: { theme: "secondary", icon: "plus" },
10461
+ props: { theme: "field", icon: "plus" },
10457
10462
  on: {
10458
10463
  click: (ev, el, s) => {
10459
10464
  const parentProps = el.parent.props;
@@ -10588,7 +10593,8 @@ var Label = {
10588
10593
  extend: Flex,
10589
10594
  props: {
10590
10595
  text: "-2.902x",
10591
- fontSize: "X2",
10596
+ fontSize: "Z",
10597
+ theme: "tertiary",
10592
10598
  boxSize: "fit-content fit-content",
10593
10599
  padding: "W2 Y2",
10594
10600
  round: "Y1",
@@ -10615,7 +10621,7 @@ var LabelButton = {
10615
10621
  var CardLabel = {
10616
10622
  props: {
10617
10623
  text: "-2.902x",
10618
- fontSize: "Y",
10624
+ fontSize: "Z",
10619
10625
  background: "#F4454E",
10620
10626
  boxSize: "fit-content fit-content",
10621
10627
  padding: "W Y",
@@ -10644,9 +10650,10 @@ var AvatarIndicator = {
10644
10650
  },
10645
10651
  Avatar: {},
10646
10652
  StatusIndicator: {
10653
+ theme: "success",
10647
10654
  position: "absolute",
10648
- bottom: "V",
10649
- right: "-V"
10655
+ bottom: "0",
10656
+ right: "0"
10650
10657
  }
10651
10658
  };
10652
10659
 
@@ -10656,10 +10663,10 @@ var AvatarBundle = {
10656
10663
  props: {
10657
10664
  childProps: {
10658
10665
  "@light": {
10659
- border: "X, var(--theme-document-light-background), solid"
10666
+ border: "2px, var(--theme-document-light-background), solid"
10660
10667
  },
10661
10668
  "@dark": {
10662
- border: "X, var(--theme-document-dark-background), solid"
10669
+ border: "2px, var(--theme-document-dark-background), solid"
10663
10670
  },
10664
10671
  ":not(:last-child)": {
10665
10672
  margin: "0 -Y2 0 0"
@@ -10698,7 +10705,6 @@ var AvatarChooser = {
10698
10705
  height: "100%",
10699
10706
  background: "none",
10700
10707
  color: "currentColor",
10701
- fontSize: "Z2",
10702
10708
  lineHeight: 1,
10703
10709
  padding: "- B - Y1",
10704
10710
  zIndex: "2",
@@ -10795,6 +10801,7 @@ var import_utils15 = __toESM(require_cjs());
10795
10801
  var Tooltip = {
10796
10802
  extend: Flex,
10797
10803
  props: {
10804
+ theme: "dialog",
10798
10805
  background: "black",
10799
10806
  flow: "column",
10800
10807
  shape: "tooltip",
@@ -10933,21 +10940,21 @@ var Tab = {
10933
10940
  padding: "Z Z1"
10934
10941
  },
10935
10942
  Icon: {},
10936
- caption: {},
10943
+ Text: "Caption",
10937
10944
  CountIndicator: {
10938
- fontSize: "Y1",
10945
+ fontSize: "Z1",
10939
10946
  text: "19",
10940
10947
  margin: "- - - X1"
10941
10948
  }
10942
10949
  };
10943
10950
  var IconTab = {
10944
- extend: IconCommonButton,
10951
+ extend: IconFlexButton,
10945
10952
  Span: null,
10946
10953
  CountIndicator: {
10954
+ fontSize: "Z",
10947
10955
  position: "absolute",
10948
10956
  top: "-Y2",
10949
10957
  right: "-Y2",
10950
- fontSize: "X",
10951
10958
  text: "19"
10952
10959
  }
10953
10960
  };
@@ -11088,7 +11095,7 @@ var LineSteps = {
11088
11095
  { props: { value: 0 } }
11089
11096
  ]
11090
11097
  };
11091
- var LineStepsWithTitleParagraph = {
11098
+ var LineStepsWithHgroup = {
11092
11099
  extend: Flex,
11093
11100
  props: {
11094
11101
  flow: "column",
@@ -11098,7 +11105,7 @@ var LineStepsWithTitleParagraph = {
11098
11105
  boxSize: "fit-content",
11099
11106
  gap: "A1"
11100
11107
  },
11101
- TitleParagraph: {
11108
+ Hgroup: {
11102
11109
  gap: "Y1",
11103
11110
  Title: {
11104
11111
  text: "Symbols",
@@ -11123,8 +11130,7 @@ var ParagraphButton = {
11123
11130
  extend: Flex,
11124
11131
  props: {
11125
11132
  alignItems: "center",
11126
- gap: "Y2",
11127
- fontSize: "Y1"
11133
+ gap: "Y2"
11128
11134
  },
11129
11135
  P: {
11130
11136
  props: {
@@ -11202,7 +11208,6 @@ var DialogFooter = {
11202
11208
  childExtend: {
11203
11209
  extend: Button,
11204
11210
  props: {
11205
- fontSize: "Z",
11206
11211
  textTransform: "uppercase",
11207
11212
  background: "transparent",
11208
11213
  "@dark": {
@@ -11236,42 +11241,31 @@ var Modal = {
11236
11241
  props: {
11237
11242
  flow: "column",
11238
11243
  boxSize: "fit-content",
11244
+ align: "stretch flex-start",
11239
11245
  minWidth: "G3",
11240
11246
  position: "relative",
11241
- padding: "Z1 Z2",
11247
+ padding: "Z2 A2",
11242
11248
  round: "A1"
11243
11249
  },
11244
- Header: {
11245
- extend: TitleParagraph,
11250
+ ModalHeader: {
11251
+ extend: Hgroup,
11246
11252
  props: {
11247
11253
  minWidth: "100%",
11248
11254
  gap: "A"
11249
11255
  },
11250
11256
  Title: {
11251
11257
  props: { align: "center space-between" },
11252
- caption: {
11253
- props: {
11254
- text: "Title",
11255
- fontSize: "D",
11256
- padding: "W2 W2 - W2"
11257
- }
11258
+ Text: {
11259
+ text: "Title"
11258
11260
  },
11259
- x: {
11260
- extend: Button,
11261
- props: {
11262
- icon: "x",
11263
- fontSize: "B2",
11264
- boxSize: "fit-content",
11265
- theme: "transparent",
11266
- padding: "0"
11267
- }
11261
+ SquareButton_x: {
11262
+ icon: "x",
11263
+ theme: "transparent"
11268
11264
  }
11269
11265
  },
11270
11266
  Paragraph: {
11271
11267
  props: {
11272
- fontSize: "Z",
11273
- color: "caption",
11274
- padding: "- Y"
11268
+ color: "caption"
11275
11269
  }
11276
11270
  }
11277
11271
  }
@@ -11281,36 +11275,32 @@ var Modal = {
11281
11275
  var CompleteProcess = {
11282
11276
  extend: Modal,
11283
11277
  props: {
11284
- alignItems: "center",
11285
- gap: "B",
11286
- padding: "A A A+V A"
11278
+ align: "center",
11279
+ gap: "B"
11287
11280
  },
11288
- Header: {
11281
+ ModalHeader: {
11289
11282
  Title: {
11290
- caption: null,
11291
- x: { props: { margin: "- - - auto" } }
11283
+ Text: null,
11284
+ SquareButton_x: { margin: "- - - auto" }
11292
11285
  },
11293
11286
  Paragraph: null
11294
11287
  },
11295
- SuccessIndicator: { fontSize: "F2" },
11296
- TitleParagraph: {
11288
+ SuccessIndicator: { fontSize: "D" },
11289
+ Hgroup: {
11297
11290
  alignItems: "center",
11298
11291
  gap: "Y",
11299
11292
  Title: {
11300
- text: "Reset complete!",
11301
- fontSize: "D1"
11293
+ text: "Reset complete!"
11302
11294
  },
11303
11295
  Paragraph: {
11304
- text: "Your request has been approved!",
11305
- fontSize: "Z",
11306
- color: "title"
11296
+ text: "Your request has been approved!"
11307
11297
  }
11308
11298
  },
11309
- CommonButton: {
11299
+ FlexButton: {
11310
11300
  minWidth: "100%",
11311
11301
  margin: "Y - - -",
11312
- text: "Done",
11313
- fontWeight: "500"
11302
+ fontWeight: "500",
11303
+ Text: { text: "Done" }
11314
11304
  }
11315
11305
  };
11316
11306
 
@@ -11318,16 +11308,15 @@ var CompleteProcess = {
11318
11308
  var Message = {
11319
11309
  extend: Modal,
11320
11310
  props: {
11321
- maxWidth: "G3",
11322
- padding: "Z1 Z2 Z2 Z2"
11311
+ maxWidth: "G3"
11323
11312
  },
11324
- Header: {
11313
+ ModalHeader: {
11325
11314
  Title: {
11326
- caption: {
11327
- props: { text: "Message", fontSize: "C2" }
11315
+ Text: {
11316
+ text: "Message"
11328
11317
  },
11329
- x: {
11330
- props: { padding: "V2" }
11318
+ SquareButton_x: {
11319
+ padding: "V2"
11331
11320
  }
11332
11321
  },
11333
11322
  Paragraph: {
@@ -11348,7 +11337,7 @@ var Pricing = {
11348
11337
  maxWidth: "G+B",
11349
11338
  padding: "A1"
11350
11339
  },
11351
- Header: null,
11340
+ ModalHeader: null,
11352
11341
  Content: {
11353
11342
  props: {
11354
11343
  flow: "column",
@@ -11376,18 +11365,17 @@ var Pricing = {
11376
11365
  }
11377
11366
  ]
11378
11367
  },
11379
- Footer: {
11368
+ ModalFooter: {
11380
11369
  props: {
11381
11370
  margin: "- -X -X"
11382
11371
  },
11383
- CommonButton: {
11372
+ FlexButton: {
11384
11373
  flex: "1",
11385
11374
  padding: "Z2 -",
11386
11375
  round: "Y2",
11387
- theme: "secondary",
11376
+ theme: "field",
11388
11377
  margin: "- -X -X",
11389
11378
  text: "Add promo code",
11390
- fontSize: "Z",
11391
11379
  fontWeight: "500"
11392
11380
  }
11393
11381
  }
@@ -11420,7 +11408,7 @@ var TimePickerItem = {
11420
11408
  max: 24,
11421
11409
  placeholder: "00",
11422
11410
  appearance: "textfield",
11423
- theme: "secondary",
11411
+ theme: "field",
11424
11412
  "::-webkit-inner-spin-button": {
11425
11413
  style: { appearance: "none" },
11426
11414
  margin: 0
@@ -11439,7 +11427,7 @@ var props3 = {
11439
11427
  flow: "column",
11440
11428
  overflow: "hidden",
11441
11429
  round: "Z",
11442
- theme: "secondary"
11430
+ theme: "field"
11443
11431
  };
11444
11432
  var TimeSwitcher = {
11445
11433
  props: props3,
@@ -11605,15 +11593,13 @@ var CommonForm = {
11605
11593
  boxSizing: "border-box",
11606
11594
  padding: "A+V A"
11607
11595
  },
11608
- Header: {
11596
+ ModalHeader: {
11609
11597
  props: { gap: "Z" },
11610
11598
  Title: {
11611
- caption: { props: { padding: "Y W2 - W2" } },
11612
- x: {
11613
- props: {
11614
- margin: "-Y+V - - -",
11615
- fontSize: "C"
11616
- }
11599
+ Text: {},
11600
+ SquareButton_x: {
11601
+ margin: "-Y+V - - -",
11602
+ fontSize: "C"
11617
11603
  }
11618
11604
  }
11619
11605
  },
@@ -11798,47 +11784,43 @@ var VerificationCode = {
11798
11784
  var ResetPassword = {
11799
11785
  extend: CommonForm,
11800
11786
  props: { minWidth: "G3+D" },
11801
- Header: {
11787
+ ModalHeader: {
11802
11788
  Title: { caption: { props: { text: "Choose new password" } } },
11803
11789
  Paragraph: { props: { text: "Almost done. Enter your new password and you\u2019re all set" } }
11804
11790
  },
11805
11791
  Form: {
11806
11792
  Fields: {
11807
- ...[
11808
- {
11809
- Title: { props: { text: "Old password" } },
11810
- Field: {}
11811
- },
11812
- {
11813
- Title: { props: { text: "New password" } },
11814
- Field: {},
11815
- Hint: {
11816
- extend: IconText,
11817
- props: {
11818
- icon: "info",
11819
- text: "8 character minimum"
11820
- }
11793
+ ...[{
11794
+ Title: { props: { text: "Old password" } },
11795
+ Field: {}
11796
+ }, {
11797
+ Title: { props: { text: "New password" } },
11798
+ Field: {},
11799
+ Hint: {
11800
+ extend: IconText,
11801
+ props: {
11802
+ icon: "info",
11803
+ text: "8 character minimum"
11821
11804
  }
11822
- },
11823
- {
11824
- Title: { props: { text: "Confirm new password" } },
11825
- Field: {},
11826
- Hint: {
11827
- extend: IconText,
11828
- props: {
11829
- icon: "info",
11830
- text: "8 character minimum"
11831
- }
11805
+ }
11806
+ }, {
11807
+ Title: { props: { text: "Confirm new password" } },
11808
+ Field: {},
11809
+ Hint: {
11810
+ extend: IconText,
11811
+ props: {
11812
+ icon: "info",
11813
+ text: "8 character minimum"
11832
11814
  }
11833
11815
  }
11834
- ]
11816
+ }]
11835
11817
  },
11836
11818
  Submit: {
11837
11819
  extend: CancelConfirmButtons,
11838
11820
  props: { justifyContent: "flex-end" },
11839
11821
  ...[
11840
- { caption: { props: { text: "Cancel" } } },
11841
- { caption: { props: { text: "Reset password" } } }
11822
+ { Text: "Cancel" },
11823
+ { Text: "Reset password" }
11842
11824
  ]
11843
11825
  }
11844
11826
  }
@@ -11847,8 +11829,8 @@ var ResetPassword = {
11847
11829
  // Form/ContactForm.js
11848
11830
  var ContactForm = {
11849
11831
  extend: CommonForm,
11850
- Header: {
11851
- Title: { caption: { props: { text: "We\u2019d love to help" } } },
11832
+ ModalHeader: {
11833
+ Title: { Text: { text: "We\u2019d love to help" } },
11852
11834
  Paragraph: { props: { text: "Reach out and we\u2019ll get in touch within 24 hours." } }
11853
11835
  },
11854
11836
  Form: {
@@ -11881,7 +11863,7 @@ var ContactForm = {
11881
11863
  },
11882
11864
  ParagraphButtonWithCheckbox: { padding: "Z1 Z - Z" },
11883
11865
  Submit: {
11884
- extend: CommonButton,
11866
+ extend: FlexButton,
11885
11867
  text: "Send message"
11886
11868
  }
11887
11869
  }
@@ -11891,7 +11873,7 @@ var ContactForm = {
11891
11873
  var SignUp = {
11892
11874
  extend: CommonForm,
11893
11875
  props: { minWidth: "H" },
11894
- Header: {
11876
+ ModalHeader: {
11895
11877
  Title: { caption: { props: { text: "Create your account" } } },
11896
11878
  Paragraph: { props: { text: "Let\u2019s get started with your 30 days free trial" } }
11897
11879
  },
@@ -11935,7 +11917,7 @@ var SignUp = {
11935
11917
  justifyContent: "flex-end"
11936
11918
  },
11937
11919
  Submit: {
11938
- extend: CommonButton,
11920
+ extend: FlexButton,
11939
11921
  text: "Create an account"
11940
11922
  }
11941
11923
  }
@@ -11945,7 +11927,7 @@ var SignUp = {
11945
11927
  var LogIn = {
11946
11928
  extend: CommonForm,
11947
11929
  props: { minWidth: "G3+C1" },
11948
- Header: {
11930
+ ModalHeader: {
11949
11931
  Title: { caption: { props: { text: "Log in to your account" } } },
11950
11932
  Paragraph: { props: { text: "Enter your email address and password to log in." } }
11951
11933
  },
@@ -11984,13 +11966,13 @@ var LogIn = {
11984
11966
  }
11985
11967
  },
11986
11968
  Submit: {
11987
- extend: CommonButton,
11969
+ extend: FlexButton,
11988
11970
  props: { margin: "A - - -" },
11989
11971
  text: "Sign in"
11990
11972
  }
11991
11973
  },
11992
11974
  DoubleHr: {},
11993
- Footer: {
11975
+ ModalFooter: {
11994
11976
  extend: Flex,
11995
11977
  props: {
11996
11978
  flow: "column",
@@ -12066,16 +12048,13 @@ var UploadIcon = {
12066
12048
 
12067
12049
  // Upload/UploadButton.js
12068
12050
  var UploadButton = {
12069
- extend: CommonButton,
12051
+ extend: FlexButton,
12070
12052
  props: {
12071
12053
  position: "relative",
12072
- theme: "transparent",
12073
12054
  padding: "0",
12074
- color: "#0474F2",
12055
+ theme: "field @{globalTheme} .color-only",
12075
12056
  boxSize: "fit-content fit-content",
12076
- overflow: "hidden",
12077
- cursor: "pointer",
12078
- text: "Choose file"
12057
+ cursor: "pointer"
12079
12058
  },
12080
12059
  Input: {
12081
12060
  type: "file",
@@ -12086,16 +12065,16 @@ var UploadButton = {
12086
12065
  left: "0",
12087
12066
  opacity: "0",
12088
12067
  cursor: "pointer"
12089
- }
12068
+ },
12069
+ Text: "Browse files"
12090
12070
  };
12091
12071
  var UploadButtonWithBackground = {
12092
12072
  extend: UploadButton,
12093
12073
  props: {
12094
- fontFamily: "Avenir",
12095
- theme: "primary",
12074
+ theme: "field",
12096
12075
  padding: "Z2 A1"
12097
12076
  },
12098
- caption: { props: { text: "Browse files" } }
12077
+ Text: "Browse files"
12099
12078
  };
12100
12079
 
12101
12080
  // Upload/UploadLabel.js
@@ -12114,10 +12093,10 @@ var UploadLabel = {
12114
12093
  },
12115
12094
  Icon: {
12116
12095
  name: "file",
12117
- fontSize: "I1",
12118
- color: "#818186"
12096
+ fontSize: "D",
12097
+ theme: "field .color-only"
12119
12098
  },
12120
- TitleParagraph: {
12099
+ Hgroup: {
12121
12100
  props: {
12122
12101
  align: "center flex-start",
12123
12102
  gap: "Z",
@@ -12130,12 +12109,10 @@ var UploadLabel = {
12130
12109
  fontWeight: "400",
12131
12110
  gap: "Y2",
12132
12111
  align: "center flex-start",
12133
- fontSize: "Z1",
12134
12112
  color: "title"
12135
12113
  },
12136
12114
  UploadButton: {
12137
12115
  caption: {
12138
- fontSize: "A1",
12139
12116
  fontWeight: "500"
12140
12117
  }
12141
12118
  }
@@ -12155,7 +12132,7 @@ var UploadLabel2 = {
12155
12132
  gap: "B"
12156
12133
  },
12157
12134
  Icon: {},
12158
- TitleParagraph: { Title: { UploadButton: null } },
12135
+ Hgroup: { Title: { UploadButton: null } },
12159
12136
  UploadButtonWithBackground: {
12160
12137
  padding: "A C",
12161
12138
  margin: "Z - - -",
@@ -12177,7 +12154,6 @@ var UploadFooter = {
12177
12154
  icon: "info",
12178
12155
  text: "Support",
12179
12156
  gap: "Y",
12180
- fontSize: "Z",
12181
12157
  fontWeight: "400"
12182
12158
  }
12183
12159
  },
@@ -12189,19 +12165,14 @@ var UploadFooter = {
12189
12165
  ":first-child": {
12190
12166
  theme: "tertiary",
12191
12167
  padding: "- A1"
12192
- },
12193
- caption: {
12194
- fontSize: "Z2",
12195
- fontWeight: "400",
12196
- letterSpacing: ".3px"
12197
12168
  }
12198
12169
  }
12199
12170
  },
12200
12171
  ...[
12201
- { caption: { props: { text: "Cancel" } } },
12172
+ { Text: "Cancel" },
12202
12173
  {
12203
12174
  extend: UploadButtonWithBackground,
12204
- caption: { props: { text: "Attach file" } }
12175
+ Text: "Attach file"
12205
12176
  }
12206
12177
  ]
12207
12178
  }
@@ -12213,16 +12184,13 @@ var UploadModal = {
12213
12184
  round: "A1",
12214
12185
  padding: "A"
12215
12186
  },
12216
- Header: {
12187
+ ModalHeader: {
12217
12188
  Title: {
12218
- caption: {
12219
- props: {
12220
- text: "File Upload",
12221
- fontSize: "C"
12222
- }
12189
+ Text: {
12190
+ text: "File Upload"
12223
12191
  },
12224
- x: {
12225
- props: { margin: "-V2 - - -" }
12192
+ SquareButton_x: {
12193
+ margin: "-V2 - - -"
12226
12194
  }
12227
12195
  },
12228
12196
  Paragraph: null
@@ -12236,18 +12204,18 @@ var UploadModal = {
12236
12204
  };
12237
12205
  var UploadModal2 = {
12238
12206
  extend: UploadModal,
12239
- Header: {},
12207
+ ModalHeader: {},
12240
12208
  UploadLabel: null,
12241
12209
  UploadLabel2: {
12242
12210
  width: "100%",
12243
12211
  Icon: {},
12244
- TitleParagraph: {},
12212
+ Hgroup: {},
12245
12213
  UploadButtonWithBackground: { theme: "tertiary" }
12246
12214
  }
12247
12215
  };
12248
12216
  var UploadModal3 = {
12249
12217
  extend: UploadModal2,
12250
- Header: {},
12218
+ ModalHeader: {},
12251
12219
  UploadLabel2: {},
12252
12220
  UploadFooter: {
12253
12221
  props: { padding: "0" },
@@ -12262,7 +12230,7 @@ var UploadModal3 = {
12262
12230
  };
12263
12231
  var UploadModal4 = {
12264
12232
  extend: UploadModal3,
12265
- Header: {},
12233
+ ModalHeader: {},
12266
12234
  UploadLabel2: {},
12267
12235
  UploadingProcess4: {
12268
12236
  minWidth: "100%"
@@ -12282,29 +12250,24 @@ var UploadingProcess = {
12282
12250
  },
12283
12251
  Image: { extend: UploadImage },
12284
12252
  Flex: {
12285
- extend: TitleParagraph,
12253
+ extend: Hgroup,
12286
12254
  props: {
12287
12255
  justifyContent: "space-between",
12288
12256
  padding: "W2 -"
12289
12257
  },
12290
12258
  Title: {
12291
12259
  props: { justifyContent: "space-between" },
12292
- caption: {
12293
- props: {
12294
- text: "Image.jpg",
12295
- fontSize: "Z2"
12296
- }
12260
+ Text: {
12261
+ text: "Image.jpg",
12262
+ fontSize: "Z2"
12297
12263
  },
12298
- x: {
12299
- extend: Button,
12300
- props: {
12301
- icon: "x",
12302
- fontSize: "B",
12303
- boxSize: "fit-content",
12304
- padding: "0",
12305
- theme: "transparent",
12306
- margin: "- -V1 - -"
12307
- }
12264
+ SquareButton_x: {
12265
+ icon: "x",
12266
+ fontSize: "B",
12267
+ boxSize: "fit-content",
12268
+ padding: "0",
12269
+ theme: "transparent",
12270
+ margin: "- -V1 - -"
12308
12271
  }
12309
12272
  },
12310
12273
  Paragraph: {
@@ -12312,7 +12275,7 @@ var UploadingProcess = {
12312
12275
  flow: "column",
12313
12276
  gap: "Y2"
12314
12277
  },
12315
- DoubleUnitValue: { fontSize: "Y" },
12278
+ DoubleUnitValue: { fontSize: "Z2" },
12316
12279
  ProgressLine: {}
12317
12280
  }
12318
12281
  }
@@ -12327,7 +12290,6 @@ var UploadedProcess = {
12327
12290
  span: {
12328
12291
  props: {
12329
12292
  text: "Done",
12330
- fontSize: "Y",
12331
12293
  lineHeight: "1em",
12332
12294
  color: "title",
12333
12295
  display: "block"
@@ -12355,7 +12317,7 @@ var UploadingProcess2 = {
12355
12317
  Paragraph: {
12356
12318
  ProgressLineWithUnitValue: {
12357
12319
  ProgressLine: {},
12358
- UnitValue: { fontSize: "Y1" }
12320
+ UnitValue: { fontSize: "Z1" }
12359
12321
  },
12360
12322
  DoubleUnitValue: null,
12361
12323
  ProgressLine: null
@@ -12393,19 +12355,17 @@ var UploadingProcess3 = {
12393
12355
  gap: "Z"
12394
12356
  },
12395
12357
  Title: {
12396
- caption: {
12397
- props: { fontSize: "Z2" }
12358
+ Text: {
12359
+ fontSize: "Z2"
12398
12360
  },
12399
- x: {
12400
- props: {
12401
- position: "absolute",
12402
- top: "50%",
12403
- right: "B+W1",
12404
- transform: "translate(50%, -50%)",
12405
- padding: "Y",
12406
- fontSize: "A1",
12407
- theme: "tertiary"
12408
- }
12361
+ SquareButton_x: {
12362
+ position: "absolute",
12363
+ top: "50%",
12364
+ right: "B+W1",
12365
+ transform: "translate(50%, -50%)",
12366
+ padding: "Y",
12367
+ fontSize: "A1",
12368
+ theme: "tertiary"
12409
12369
  }
12410
12370
  },
12411
12371
  Paragraph: {
@@ -12459,7 +12419,6 @@ var UploadingProcess4 = {
12459
12419
  text: "Uploading . . .",
12460
12420
  margin: "0",
12461
12421
  padding: "0",
12462
- fontSize: "Y1",
12463
12422
  color: "title"
12464
12423
  },
12465
12424
  ProgressCircleWithSideUnitValue: null
@@ -12502,12 +12461,10 @@ var User = {
12502
12461
  gap: "Y1",
12503
12462
  align: "center flex-start"
12504
12463
  },
12505
- Avatar: {
12506
- extend: AvatarIndicator,
12507
- Avatar: { props: { boxSize: "C+V" } }
12464
+ AvatarIndicator: {
12465
+ Avatar: { boxSize: "C+V" }
12508
12466
  },
12509
- Notes: {
12510
- extend: TitleParagraph,
12467
+ Hgroup: {
12511
12468
  props: {
12512
12469
  justifyContent: "center",
12513
12470
  gap: "W2",
@@ -12515,13 +12472,12 @@ var User = {
12515
12472
  },
12516
12473
  Title: {
12517
12474
  props: {
12518
- fontSize: "A1",
12519
12475
  fontWeight: "500"
12520
12476
  }
12521
12477
  },
12522
12478
  Paragraph: {
12523
12479
  props: {
12524
- fontSize: "Z",
12480
+ fontSize: "Z1",
12525
12481
  alignItems: "center"
12526
12482
  }
12527
12483
  }
@@ -12541,7 +12497,8 @@ var ChatUser = {
12541
12497
  time: {
12542
12498
  extend: UnitValue,
12543
12499
  props: {
12544
- fontSize: "X1",
12500
+ fontSize: "Z1",
12501
+ color: "paragraph",
12545
12502
  gap: "X2"
12546
12503
  },
12547
12504
  Unit: { props: { text: "2:22" } },
@@ -12559,10 +12516,7 @@ var ChatUser = {
12559
12516
  whiteSpace: "nowrap"
12560
12517
  }
12561
12518
  },
12562
- notification: {
12563
- extend: CountIndicator,
12564
- props: { fontSize: "X2" }
12565
- }
12519
+ CountIndicator: {}
12566
12520
  }
12567
12521
  }
12568
12522
  };
@@ -12581,27 +12535,24 @@ var UserButtonSet = {
12581
12535
  User: {
12582
12536
  padding: "0",
12583
12537
  gap: "Y2",
12584
- Avatar: { fontSize: "A1" },
12538
+ Avatar: { fontSize: "A" },
12585
12539
  Notes: {
12586
12540
  margin: "W - - -",
12587
12541
  gap: "X2",
12588
12542
  Title: {
12589
- text: "Group",
12590
- fontSize: "C1"
12543
+ text: "Group"
12591
12544
  },
12592
12545
  Paragraph: {
12593
- text: "Active now",
12594
- fontSize: "Y",
12595
- padding: "- - - W1"
12546
+ text: "Active now"
12596
12547
  }
12597
12548
  }
12598
12549
  },
12599
12550
  ButtonSet: {
12600
12551
  props: { gap: "Y2" },
12601
12552
  ...[
12602
- { props: { Icon: { name: "phone" } } },
12603
- { props: { Icon: { name: "video" } } },
12604
- { props: { Icon: { name: "moreHorizontal" } } }
12553
+ { props: { icon: "phone" } },
12554
+ { props: { icon: "video" } },
12555
+ { props: { icon: "moreHorizontal" } }
12605
12556
  ]
12606
12557
  }
12607
12558
  };
@@ -12621,10 +12572,10 @@ var UserButtonSetCircle = {
12621
12572
  var UserMessage = {
12622
12573
  extend: User,
12623
12574
  props: { gap: "Z", theme: "transparent" },
12624
- Avatar: {},
12625
- Notes: {
12626
- Title: null,
12575
+ AvatarIndicator: {},
12576
+ Hgroup: {
12627
12577
  props: { margin: "0" },
12578
+ Title: null,
12628
12579
  Paragraph: {
12629
12580
  props: {
12630
12581
  text: "Can you please review the latest design?",
@@ -12658,7 +12609,7 @@ var UserWithLabel = {
12658
12609
  tag: "p",
12659
12610
  props: {
12660
12611
  text: "Short ETH with up to 4x Leverage",
12661
- fontSize: "Y1"
12612
+ fontSize: "Z1"
12662
12613
  }
12663
12614
  }
12664
12615
  }
@@ -12689,19 +12640,17 @@ var UserWithButton = {
12689
12640
  props: { gap: "X" },
12690
12641
  Title: {
12691
12642
  props: {
12692
- text: "Wallet ID",
12693
- fontSize: "Y1"
12643
+ text: "Wallet ID"
12694
12644
  }
12695
12645
  },
12696
12646
  Paragraph: {
12697
12647
  props: {
12698
- text: "0xfb59...d862",
12699
- fontSize: "Y1"
12648
+ text: "0xfb59...d862"
12700
12649
  }
12701
12650
  }
12702
12651
  }
12703
12652
  },
12704
- IconCommonButton: {
12653
+ IconFlexButton: {
12705
12654
  background: "transparent",
12706
12655
  theme: null,
12707
12656
  color: "currentColor",
@@ -12733,7 +12682,7 @@ var Card = {
12733
12682
 
12734
12683
  // Card/BalanceCard.js
12735
12684
  var BalanceCard = {
12736
- extend: [Card, TitleParagraph],
12685
+ extend: [Card, Hgroup],
12737
12686
  props: {
12738
12687
  theme: "card .secondary",
12739
12688
  gap: "Z2",
@@ -12831,7 +12780,7 @@ var StepCard = {
12831
12780
  boxSize: "E"
12832
12781
  }
12833
12782
  },
12834
- LineStepsWithTitleParagraph: {
12783
+ LineStepsWithHgroup: {
12835
12784
  position: "absolute",
12836
12785
  left: "0",
12837
12786
  bottom: "0",
@@ -12843,7 +12792,7 @@ var StepCard = {
12843
12792
 
12844
12793
  // Card/ConvertCard.js
12845
12794
  var ConvertCard = {
12846
- extend: [Card, TitleParagraph],
12795
+ extend: [Card, Hgroup],
12847
12796
  props: {
12848
12797
  minWidth: "G1_default",
12849
12798
  theme: "dialog",
@@ -12862,12 +12811,7 @@ var ConvertCard = {
12862
12811
  text: "From"
12863
12812
  }
12864
12813
  },
12865
- balance: {
12866
- extend: UnitValueWithTitle,
12867
- props: {
12868
- // border: '1px sol'
12869
- }
12870
- }
12814
+ UnitValueWithTitle: {}
12871
12815
  },
12872
12816
  Paragraph: {
12873
12817
  props: {
@@ -12878,43 +12822,14 @@ var ConvertCard = {
12878
12822
  value: {
12879
12823
  props: {
12880
12824
  text: "0.00",
12881
- fontSize: "E2"
12825
+ fontSize: "C1"
12882
12826
  }
12883
12827
  },
12884
- dropDownButton: {
12885
- extend: DropDownButtonWithAvatar,
12886
- props: {
12887
- theme: "tertiary",
12888
- margin: "- -V"
12889
- }
12828
+ DropDownButtonWithAvatar: {
12829
+ theme: "tertiary",
12830
+ margin: "- -V"
12890
12831
  }
12891
12832
  }
12892
- // props: {
12893
- // boxSize: 'fit-content',
12894
- // gap: 'A',
12895
- // padding: 'Z2'
12896
- // },
12897
- // Title: {
12898
- // props: { gap: 'F' },
12899
- // caption: {
12900
- // props: {
12901
- // text: 'From',
12902
- // fontSize: 'Z1',
12903
- // fontWeight: '400'
12904
- // }
12905
- // },
12906
- // UnitValueWithTitle: { props: { fontWeight: '400' } }
12907
- // },
12908
- // Paragraph: {
12909
- // props: { align: 'center space-between' },
12910
- // Value: {
12911
- // props: {
12912
- // text: '0.00',
12913
- // fontSize: 'E2'
12914
- // }
12915
- // },
12916
- // DropDownButtonWithAvatar: { theme: 'card .child' }
12917
- // }
12918
12833
  };
12919
12834
 
12920
12835
  // Card/CurrencyConvertCard.js
@@ -12948,13 +12863,13 @@ var CurrencyConvert = {
12948
12863
  props: {
12949
12864
  theme: "tertiary",
12950
12865
  Paragraph: {
12951
- dropDownButton: { theme: "secondary" }
12866
+ dropDownButton: { theme: "field" }
12952
12867
  }
12953
12868
  }
12954
12869
  },
12955
12870
  ...[{}, {}]
12956
12871
  },
12957
- CommonButton: {
12872
+ FlexButton: {
12958
12873
  minWidth: "100%",
12959
12874
  margin: "Z - - -",
12960
12875
  text: "convert",