@symbo.ls/uikit 2.11.147 → 2.11.148

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
@@ -9276,6 +9276,7 @@ __export(domql_exports, {
9276
9276
  Caption: () => Caption,
9277
9277
  Card: () => Card,
9278
9278
  CardLabel: () => CardLabel,
9279
+ ChangePasswordModal: () => ChangePasswordModal,
9279
9280
  ChatUser: () => ChatUser,
9280
9281
  ChatUserWithButtonSet: () => ChatUserWithButtonSet,
9281
9282
  ChatUserWithNotification: () => ChatUserWithNotification,
@@ -9288,6 +9289,7 @@ __export(domql_exports, {
9288
9289
  Clickable: () => Clickable,
9289
9290
  CodeField: () => CodeField,
9290
9291
  Collection: () => Collection,
9292
+ ContactForm: () => ContactForm,
9291
9293
  ConvertCard: () => ConvertCard,
9292
9294
  CustomizedField: () => CustomizedField,
9293
9295
  DateIndicator: () => DateIndicator,
@@ -9342,6 +9344,7 @@ __export(domql_exports, {
9342
9344
  Media: () => Media,
9343
9345
  MessageModal: () => MessageModal,
9344
9346
  Modal: () => Modal,
9347
+ ModalWithTitleParagraph: () => ModalWithTitleParagraph,
9345
9348
  Notification: () => Notification,
9346
9349
  NotificationAlert: () => NotificationAlert,
9347
9350
  NumberInput: () => NumberInput,
@@ -9377,6 +9380,7 @@ __export(domql_exports, {
9377
9380
  Table: () => Table,
9378
9381
  Text: () => Text,
9379
9382
  Textarea: () => Textarea,
9383
+ TextareaWithTitle: () => TextareaWithTitle,
9380
9384
  Theme: () => Theme,
9381
9385
  TimePicker: () => TimePicker,
9382
9386
  TimePickerItem: () => TimePickerItem,
@@ -9395,6 +9399,7 @@ __export(domql_exports, {
9395
9399
  UploadModalLabel: () => UploadModalLabel,
9396
9400
  UploadProgress: () => UploadProgress,
9397
9401
  UploadResult: () => UploadResult,
9402
+ VerificationCodeModal: () => VerificationCodeModal,
9398
9403
  Video: () => Video,
9399
9404
  XYZ: () => XYZ,
9400
9405
  calendar: () => calendar,
@@ -12118,6 +12123,7 @@ var CancenConfirmButtons = {
12118
12123
  ],
12119
12124
  props: {
12120
12125
  gap: "Y",
12126
+ maxWidth: "fit-content",
12121
12127
  childProps: {
12122
12128
  fontWeight: "500",
12123
12129
  color: "white",
@@ -13427,178 +13433,65 @@ var ToggleSwithWithLabel = {
13427
13433
  FieldLabel: { padding: "Z - - -" }
13428
13434
  };
13429
13435
 
13430
- // node_modules/@symbo.ls/icon/index.js
13431
- var Icon3 = {
13432
- extend: Svg,
13433
- props: ({ key, props: props6, parent, context }) => {
13434
- const { ICONS, useIconSprite, verbose } = context && context.designSystem;
13435
- const { toCamelCase } = context && context.utils;
13436
- const iconName = props6.inheritedString || props6.name || props6.icon || key;
13437
- const camelCase = toCamelCase(iconName);
13438
- const isArray5 = camelCase.split(/([a-z])([A-Z])/g);
13439
- let activeIconName;
13440
- if (props6.active) {
13441
- activeIconName = props6[".active"].name || props6[".active"].icon;
13442
- }
13443
- if (parent && parent.props && parent.props.active && parent.props[".active"] && parent.props[".active"].icon) {
13444
- activeIconName = parent.props[".active"].icon.name || parent.props[".active"].icon.icon || parent.props[".active"].icon;
13445
- }
13446
- let validIconName;
13447
- if (ICONS[activeIconName])
13448
- validIconName = activeIconName;
13449
- if (ICONS[camelCase])
13450
- validIconName = camelCase;
13451
- else if (ICONS[isArray5[0] + isArray5[1]])
13452
- validIconName = isArray5[0] + isArray5[1];
13453
- else if (ICONS[isArray5[0]])
13454
- validIconName = isArray5[0];
13455
- else {
13456
- if (verbose)
13457
- console.warn("Can't find icon:", iconName, validIconName);
13458
- }
13459
- const iconFromLibrary = ICONS[validIconName];
13460
- const directSrc = parent && parent.props && parent.props.src || props6.src;
13461
- return {
13462
- width: "A",
13463
- height: "A",
13464
- display: "inline-block",
13465
- spriteId: useIconSprite && validIconName,
13466
- src: iconFromLibrary || directSrc || ICONS.noIcon,
13467
- style: { fill: "currentColor" }
13468
- };
13469
- },
13470
- attr: { viewBox: "0 0 24 24" }
13471
- };
13472
- var IconText2 = {
13436
+ // TextComponents/index.js
13437
+ var TitleParagraph = {
13473
13438
  extend: Flex,
13474
- props: {
13475
- align: "center center",
13476
- lineHeight: 1
13477
- },
13478
- // TODO: remove this variant
13479
- icon: {
13480
- extend: Icon3,
13481
- if: ({ parent }) => parent.props.icon
13482
- },
13483
- Icon: {
13484
- props: {},
13485
- if: ({ props: props6 }) => props6.name || props6.icon
13439
+ title: {
13440
+ tag: "h5",
13441
+ props: { text: "Log in to your account" }
13486
13442
  },
13487
- text: ({ props: props6 }) => props6.text,
13488
- ".reversed": {
13489
- props: { flow: "row-reverse" }
13443
+ paragraph: {
13444
+ tag: "p",
13445
+ props: { text: "Enter your email address and password to log in." }
13490
13446
  },
13491
- ".vertical": {
13492
- props: { flow: "column" }
13447
+ props: {
13448
+ flow: "column",
13449
+ gap: "Y",
13450
+ maxWidth: "fit-content",
13451
+ title: { fontSize: "D" },
13452
+ paragraph: {
13453
+ fontSize: "Z",
13454
+ padding: "0",
13455
+ margin: "0",
13456
+ color: "#E0E0E2"
13457
+ }
13493
13458
  }
13494
13459
  };
13495
- var FileIcon = {
13460
+ var ParagraphWithUnderlineButton = {
13496
13461
  extend: Flex,
13497
- props: {
13498
- theme: "tertiary",
13499
- boxSize: "C1",
13500
- align: "center center",
13501
- round: "Z"
13462
+ p: { props: { text: "Didnt get the code?" } },
13463
+ underlined: {
13464
+ extend: Button,
13465
+ props: { text: "Click to resend" }
13502
13466
  },
13503
- Icon: {
13504
- fontSize: "B",
13505
- margin: "auto",
13506
- icon: "file"
13507
- }
13508
- };
13509
-
13510
- // Link/index.js
13511
- var import_router = __toESM(require_cjs6());
13512
- var Link = {
13513
- extend: Focusable,
13514
- tag: "a",
13515
13467
  props: {
13516
- aria: {},
13517
- fontWeight: "bold",
13518
- textDecoration: "none",
13519
- color: "currentColor",
13520
- draggable: false
13521
- },
13522
- attr: {
13523
- href: (el, s, ctx) => {
13524
- const { exec: exec3 } = ctx.utils;
13525
- return exec3(el.props.href, el) || exec3(el.props, el).href;
13468
+ align: "center flex-start",
13469
+ gap: "Z",
13470
+ fontSize: "Z",
13471
+ p: {
13472
+ color: "#A3A3A8",
13473
+ margin: "0"
13526
13474
  },
13527
- target: ({ props: props6 }) => props6.target,
13528
- "aria-label": ({ props: props6 }) => props6.aria ? props6.aria.label : props6.text,
13529
- draggable: ({ props: props6 }) => props6.draggable
13530
- }
13531
- };
13532
- var RouterLink = {
13533
- on: {
13534
- click: (event, el, s, ctx) => {
13535
- const { props: props6 } = el;
13536
- const { href } = props6;
13537
- if (!href)
13538
- return;
13539
- const { utils, routerOptions } = ctx;
13540
- const { router } = utils;
13541
- const root = el.__ref.__root;
13542
- console.log(href);
13543
- const linkIsExternal = href.includes("http://") || href.includes("https://") || href.includes("mailto:") || href.includes("tel:");
13544
- const options = props6.routerOptions || routerOptions || {
13545
- scrollToOptions: { behaviour: "instant" }
13546
- };
13547
- if (href && !linkIsExternal) {
13548
- (router || import_router.router)(href, root, {}, options);
13549
- event.preventDefault();
13550
- }
13475
+ underlined: {
13476
+ padding: "0",
13477
+ background: "transparent",
13478
+ color: "#E0E0E2",
13479
+ cursor: "pointer",
13480
+ textDecoration: "underline",
13481
+ fontWeight: "500"
13551
13482
  }
13552
13483
  }
13553
13484
  };
13554
- var RouteLink = {
13555
- extend: [Link, RouterLink]
13556
- };
13557
-
13558
- // Input/index.js
13559
- var import_utils7 = __toESM(require_cjs2());
13560
- var Input2 = {
13561
- extend: [Focusable],
13562
- tag: "input",
13563
- deps: { isString: import_utils7.isString, replaceLiteralsWithObjectFields: import_utils7.replaceLiteralsWithObjectFields },
13564
- props: {
13565
- border: "none",
13566
- type: "input",
13567
- theme: "tertiary",
13568
- fontSize: "A",
13569
- round: "C",
13570
- lineHeight: 1,
13571
- fontFamily: "smbls",
13572
- padding: "Z A"
13573
- },
13574
- attr: {
13575
- pattern: ({ props: props6 }) => props6.pattern,
13576
- minlength: ({ props: props6 }) => props6.minlength,
13577
- maxlength: ({ props: props6 }) => props6.maxlength,
13578
- name: ({ props: props6 }) => props6.name,
13579
- autocomplete: ({ props: props6 }) => props6.autocomplete,
13580
- placeholder: ({ props: props6 }) => props6.placeholder,
13581
- value: ({ props: props6, state, deps }) => {
13582
- const { isString: isString7, replaceLiteralsWithObjectFields: replaceLiteralsWithObjectFields2 } = deps;
13583
- if (isString7(props6.value) && props6.value.includes("{{"))
13584
- return replaceLiteralsWithObjectFields2(props6.value, state);
13585
- return props6.value;
13586
- },
13587
- disabled: ({ props: props6 }) => props6.disabled || null,
13588
- readonly: ({ props: props6 }) => props6.readonly,
13589
- required: ({ props: props6 }) => props6.required,
13590
- type: ({ props: props6 }) => props6.type
13591
- }
13592
- };
13593
- var NumberInput = {
13594
- extend: Input2,
13485
+ var ParagrapUnderlineLinkWithCheckbox = {
13486
+ extend: Flex,
13487
+ checkBox: { extend: Checkbox },
13488
+ paragraph: { extend: ParagraphWithUnderlineButton },
13595
13489
  props: {
13596
- type: "number"
13597
- },
13598
- attr: {
13599
- step: ({ props: props6 }) => props6.step,
13600
- min: ({ props: props6 }) => props6.min,
13601
- max: ({ props: props6 }) => props6.max
13490
+ align: "center flex-start",
13491
+ gap: "X",
13492
+ checkBox: {
13493
+ Flex: { boxSize: "A+X" }
13494
+ }
13602
13495
  }
13603
13496
  };
13604
13497
 
@@ -13626,7 +13519,7 @@ var Flex2 = {
13626
13519
  var import_scratch11 = __toESM(require_cjs());
13627
13520
 
13628
13521
  // Field/node_modules/@symbo.ls/atoms/Media.js
13629
- var import_utils8 = __toESM(require_cjs2());
13522
+ var import_utils7 = __toESM(require_cjs2());
13630
13523
 
13631
13524
  // Field/node_modules/@symbo.ls/atoms/Theme.js
13632
13525
  var import_scratch14 = __toESM(require_cjs());
@@ -13666,13 +13559,13 @@ var Focusable2 = {
13666
13559
 
13667
13560
  // Field/node_modules/@symbo.ls/atoms/Collection.js
13668
13561
  var import_state2 = __toESM(require_cjs5());
13669
- var import_utils9 = __toESM(require_cjs2());
13562
+ var import_utils8 = __toESM(require_cjs2());
13670
13563
 
13671
13564
  // Field/node_modules/@symbo.ls/atoms/Position.js
13672
13565
  var import_scratch15 = __toESM(require_cjs());
13673
13566
 
13674
13567
  // Field/node_modules/@symbo.ls/atoms/Shape/index.js
13675
- var import_utils10 = __toESM(require_cjs2());
13568
+ var import_utils9 = __toESM(require_cjs2());
13676
13569
  var import_scratch16 = __toESM(require_cjs());
13677
13570
 
13678
13571
  // Field/node_modules/@symbo.ls/atoms/Text.js
@@ -13680,7 +13573,7 @@ var import_scratch17 = __toESM(require_cjs());
13680
13573
 
13681
13574
  // Field/node_modules/@symbo.ls/atoms/Animation.js
13682
13575
  var import_scratch18 = __toESM(require_cjs());
13683
- var import_utils11 = __toESM(require_cjs2());
13576
+ var import_utils10 = __toESM(require_cjs2());
13684
13577
 
13685
13578
  // Field/node_modules/@symbo.ls/emotion/index.js
13686
13579
  var createEmotion4 = (key = "smbls", container) => {
@@ -13692,93 +13585,584 @@ var emotion2 = createEmotion4();
13692
13585
  // Field/node_modules/@symbo.ls/atoms/Animation.js
13693
13586
  var { keyframes: keyframes2 } = emotion2;
13694
13587
 
13695
- // Field/index.js
13696
- var Field = {
13697
- extend: [IconText],
13698
- props: ({ state, key }) => ({
13699
- value: state[key],
13700
- depth: 16,
13701
- placeholder: "",
13702
- padding: "A B",
13703
- round: "C",
13704
- type: "text",
13705
- position: "relative",
13706
- width: "G",
13707
- appearance: "none",
13708
- outline: 0,
13709
- border: "none",
13710
- cursor: "pointer",
13711
- fontFamily: "inherit",
13712
- boxSizing: "border-box",
13713
- input: {
13714
- width: "100%",
13715
- height: "100%",
13716
- border: "none"
13717
- },
13718
- svg: {
13719
- position: "absolute",
13720
- right: "A"
13721
- }
13722
- }),
13723
- input: { extend: [Focusable2, Input2] }
13724
- };
13725
- var CustomizedField = {
13726
- extend: Field,
13588
+ // Input/index.js
13589
+ var import_utils11 = __toESM(require_cjs2());
13590
+ var Input2 = {
13591
+ extend: [Focusable],
13592
+ tag: "input",
13593
+ deps: { isString: import_utils11.isString, replaceLiteralsWithObjectFields: import_utils11.replaceLiteralsWithObjectFields },
13727
13594
  props: {
13728
- background: "transparent",
13729
- border: "1px solid #3F3F43",
13730
- padding: "0",
13731
- minHeight: "C+W",
13732
- round: "Z",
13733
- overflow: "hidden",
13734
- input: {
13735
- background: "transparent",
13736
- placeholder: "placeholder",
13737
- color: "white",
13738
- fontSize: "Z",
13739
- round: "0",
13740
- "::placeholder": { textTransform: "capitalize" }
13741
- }
13595
+ border: "none",
13596
+ type: "input",
13597
+ theme: "tertiary",
13598
+ fontSize: "A",
13599
+ round: "C",
13600
+ lineHeight: 1,
13601
+ fontFamily: "smbls",
13602
+ padding: "Z A"
13603
+ },
13604
+ attr: {
13605
+ pattern: ({ props: props6 }) => props6.pattern,
13606
+ minlength: ({ props: props6 }) => props6.minlength,
13607
+ maxlength: ({ props: props6 }) => props6.maxlength,
13608
+ name: ({ props: props6 }) => props6.name,
13609
+ autocomplete: ({ props: props6 }) => props6.autocomplete,
13610
+ placeholder: ({ props: props6 }) => props6.placeholder,
13611
+ value: ({ props: props6, state, deps }) => {
13612
+ const { isString: isString7, replaceLiteralsWithObjectFields: replaceLiteralsWithObjectFields2 } = deps;
13613
+ if (isString7(props6.value) && props6.value.includes("{{"))
13614
+ return replaceLiteralsWithObjectFields2(props6.value, state);
13615
+ return props6.value;
13616
+ },
13617
+ disabled: ({ props: props6 }) => props6.disabled || null,
13618
+ readonly: ({ props: props6 }) => props6.readonly,
13619
+ required: ({ props: props6 }) => props6.required,
13620
+ type: ({ props: props6 }) => props6.type
13742
13621
  }
13743
13622
  };
13623
+ var NumberInput = {
13624
+ extend: Input2,
13625
+ props: {
13626
+ type: "number"
13627
+ },
13628
+ attr: {
13629
+ step: ({ props: props6 }) => props6.step,
13630
+ min: ({ props: props6 }) => props6.min,
13631
+ max: ({ props: props6 }) => props6.max
13632
+ }
13633
+ };
13634
+
13635
+ // Field/index.js
13636
+ var Field = {
13637
+ extend: [IconText],
13638
+ props: ({ state, key }) => ({
13639
+ value: state[key],
13640
+ depth: 16,
13641
+ placeholder: "",
13642
+ padding: "A B",
13643
+ round: "C",
13644
+ type: "text",
13645
+ position: "relative",
13646
+ width: "G",
13647
+ appearance: "none",
13648
+ outline: 0,
13649
+ border: "none",
13650
+ cursor: "pointer",
13651
+ fontFamily: "inherit",
13652
+ boxSizing: "border-box",
13653
+ input: {
13654
+ width: "100%",
13655
+ height: "100%",
13656
+ border: "none"
13657
+ },
13658
+ svg: {
13659
+ position: "absolute",
13660
+ right: "A"
13661
+ }
13662
+ }),
13663
+ input: { extend: [Focusable2, Input2] }
13664
+ };
13665
+ var CustomizedField = {
13666
+ extend: Field,
13667
+ props: {
13668
+ padding: "0",
13669
+ round: "0",
13670
+ input: {
13671
+ background: "transparent",
13672
+ border: "1px solid #3F3F43",
13673
+ round: "Z",
13674
+ minHeight: "C+W",
13675
+ color: "white"
13676
+ }
13677
+ },
13678
+ input: { props: { placeholder: "placeholder" } }
13679
+ };
13744
13680
  var CodeField = {
13745
13681
  extend: Flex2,
13746
13682
  childExtend: {
13747
13683
  extend: CustomizedField,
13748
13684
  props: {
13749
- boxSize: "D D",
13685
+ boxSize: "D+Z D+Z",
13750
13686
  input: {
13751
13687
  type: "number",
13752
13688
  placeholder: "0",
13753
13689
  textAlign: "center",
13754
- fontSize: "E"
13690
+ fontSize: "E",
13691
+ round: "Y"
13692
+ },
13693
+ style: { "input[type=number]::-webkit-inner-spin-button": { "-webkit-appearance": " none" } }
13694
+ }
13695
+ },
13696
+ ...[{}, {}, {}, {}],
13697
+ props: {
13698
+ align: "center space-between",
13699
+ gap: "A"
13700
+ }
13701
+ };
13702
+ var FieldWithTitle = {
13703
+ extend: Flex2,
13704
+ title: { tag: "h6", props: { text: "Old password" } },
13705
+ field: { extend: CustomizedField },
13706
+ props: {
13707
+ flow: "column",
13708
+ gap: "Y",
13709
+ title: {
13710
+ fontSize: "Z",
13711
+ color: "#CFCFD1",
13712
+ fontWeight: "400"
13713
+ },
13714
+ subTitle: {
13715
+ fontSize: "Z",
13716
+ gap: "X+V",
13717
+ padding: "X - - -",
13718
+ icon: { boxSize: "Z+X Z+X" }
13719
+ }
13720
+ }
13721
+ };
13722
+
13723
+ // node_modules/@symbo.ls/icon/index.js
13724
+ var Icon3 = {
13725
+ extend: Svg,
13726
+ props: ({ key, props: props6, parent, context }) => {
13727
+ const { ICONS, useIconSprite, verbose } = context && context.designSystem;
13728
+ const { toCamelCase } = context && context.utils;
13729
+ const iconName = props6.inheritedString || props6.name || props6.icon || key;
13730
+ const camelCase = toCamelCase(iconName);
13731
+ const isArray5 = camelCase.split(/([a-z])([A-Z])/g);
13732
+ let activeIconName;
13733
+ if (props6.active) {
13734
+ activeIconName = props6[".active"].name || props6[".active"].icon;
13735
+ }
13736
+ if (parent && parent.props && parent.props.active && parent.props[".active"] && parent.props[".active"].icon) {
13737
+ activeIconName = parent.props[".active"].icon.name || parent.props[".active"].icon.icon || parent.props[".active"].icon;
13738
+ }
13739
+ let validIconName;
13740
+ if (ICONS[activeIconName])
13741
+ validIconName = activeIconName;
13742
+ if (ICONS[camelCase])
13743
+ validIconName = camelCase;
13744
+ else if (ICONS[isArray5[0] + isArray5[1]])
13745
+ validIconName = isArray5[0] + isArray5[1];
13746
+ else if (ICONS[isArray5[0]])
13747
+ validIconName = isArray5[0];
13748
+ else {
13749
+ if (verbose)
13750
+ console.warn("Can't find icon:", iconName, validIconName);
13751
+ }
13752
+ const iconFromLibrary = ICONS[validIconName];
13753
+ const directSrc = parent && parent.props && parent.props.src || props6.src;
13754
+ return {
13755
+ width: "A",
13756
+ height: "A",
13757
+ display: "inline-block",
13758
+ spriteId: useIconSprite && validIconName,
13759
+ src: iconFromLibrary || directSrc || ICONS.noIcon,
13760
+ style: { fill: "currentColor" }
13761
+ };
13762
+ },
13763
+ attr: { viewBox: "0 0 24 24" }
13764
+ };
13765
+ var IconText2 = {
13766
+ extend: Flex,
13767
+ props: {
13768
+ align: "center center",
13769
+ lineHeight: 1
13770
+ },
13771
+ // TODO: remove this variant
13772
+ icon: {
13773
+ extend: Icon3,
13774
+ if: ({ parent }) => parent.props.icon
13775
+ },
13776
+ Icon: {
13777
+ props: {},
13778
+ if: ({ props: props6 }) => props6.name || props6.icon
13779
+ },
13780
+ text: ({ props: props6 }) => props6.text,
13781
+ ".reversed": {
13782
+ props: { flow: "row-reverse" }
13783
+ },
13784
+ ".vertical": {
13785
+ props: { flow: "column" }
13786
+ }
13787
+ };
13788
+ var FileIcon = {
13789
+ extend: Flex,
13790
+ props: {
13791
+ theme: "tertiary",
13792
+ boxSize: "C1",
13793
+ align: "center center",
13794
+ round: "Z"
13795
+ },
13796
+ Icon: {
13797
+ fontSize: "B",
13798
+ margin: "auto",
13799
+ icon: "file"
13800
+ }
13801
+ };
13802
+
13803
+ // Modal/index.js
13804
+ var Modal = {
13805
+ extend: Flex,
13806
+ header: {
13807
+ extend: Flex,
13808
+ close: {
13809
+ extend: Button,
13810
+ props: { icon: "x" }
13811
+ }
13812
+ },
13813
+ content: { extend: Flex },
13814
+ footer: { extend: Flex },
13815
+ props: {
13816
+ background: "#1C1C1F",
13817
+ padding: "A",
13818
+ flow: "column",
13819
+ round: "Z+V",
13820
+ header: {
13821
+ title: { fontSize: "B" },
13822
+ close: {
13823
+ margin: "- - - auto",
13824
+ background: "transparent",
13825
+ color: "white",
13826
+ fontSize: "D",
13827
+ padding: "0"
13828
+ }
13829
+ },
13830
+ content: { flow: "column" }
13831
+ }
13832
+ };
13833
+ var ModalWithTitleParagraph = {
13834
+ extend: Modal,
13835
+ header: { heading: { extend: TitleParagraph } },
13836
+ props: {
13837
+ header: {
13838
+ alignItems: "flex-start",
13839
+ heading: {
13840
+ gap: "A",
13841
+ title: { fontSize: "B" }
13842
+ }
13843
+ }
13844
+ }
13845
+ };
13846
+ var ResetCompleteModal = {
13847
+ extend: Modal,
13848
+ header: {},
13849
+ content: {
13850
+ icon: { extend: CheckMark },
13851
+ titleParagraph: {
13852
+ extend: TitleParagraph,
13853
+ title: { props: { text: "Reset complete!" } },
13854
+ paragraph: { props: { text: "Your request has been approved!" } }
13855
+ }
13856
+ },
13857
+ footer: {
13858
+ button: {
13859
+ extend: Button,
13860
+ props: { text: "Done" }
13861
+ }
13862
+ },
13863
+ props: {
13864
+ minWidth: "G+E",
13865
+ maxWidth: "G+E",
13866
+ gap: "B",
13867
+ content: {
13868
+ flow: "column",
13869
+ align: "center center",
13870
+ gap: "B",
13871
+ titleParagraph: {
13872
+ align: "center center",
13873
+ title: { fontSize: "B" }
13874
+ }
13875
+ },
13876
+ footer: {
13877
+ minWidth: "100%",
13878
+ button: {
13879
+ background: "#0474F2",
13880
+ color: "white",
13881
+ minWidth: "100%",
13882
+ padding: "A -",
13883
+ round: "A"
13884
+ }
13885
+ }
13886
+ }
13887
+ };
13888
+ var MessageModal = {
13889
+ extend: Modal,
13890
+ header: {
13891
+ title: {
13892
+ tag: "h5",
13893
+ props: { text: "Message" }
13894
+ },
13895
+ close: {}
13896
+ },
13897
+ content: {
13898
+ p: {
13899
+ props: { text: "Yes. If you change your mind and no longer wish to keep your iPhone, you have the option to return it to us. The returned iPhone must be in good condition and in the original packaging, which contains all accessories, manuals and instructions. Returns are subject to Apples Sales and Refunds Policy." }
13900
+ }
13901
+ },
13902
+ footer: null,
13903
+ props: {
13904
+ minWidth: "G+E",
13905
+ maxWidth: "G+E",
13906
+ content: { p: { fontSize: "Z" } }
13907
+ }
13908
+ };
13909
+ var ChangePasswordModal = {
13910
+ extend: ModalWithTitleParagraph,
13911
+ header: {},
13912
+ content: {
13913
+ childExtend: { extend: FieldWithTitle },
13914
+ ...[
13915
+ { title: { props: { text: "Old password" } } },
13916
+ {
13917
+ title: { props: { text: "New password" } },
13918
+ field: { input: {} },
13919
+ subTitle: {
13920
+ extend: IconText2,
13921
+ props: {
13922
+ icon: { name: "info" },
13923
+ text: "8 character minimum",
13924
+ align: "center flex-start",
13925
+ boxSize: "fit-content"
13926
+ }
13927
+ }
13928
+ },
13929
+ {
13930
+ title: { props: { text: "Confirm new password" } },
13931
+ field: {
13932
+ input: {}
13933
+ },
13934
+ subTitle: {
13935
+ extend: IconText2,
13936
+ props: {
13937
+ icon: { name: "info" },
13938
+ text: "8 character minimum",
13939
+ align: "center flex-start",
13940
+ boxSize: "fit-content"
13941
+ }
13942
+ }
13943
+ }
13944
+ ]
13945
+ },
13946
+ footer: { "CancenConfirmButtons.1": { ...[{}, { text: "Reset password" }] } },
13947
+ props: {
13948
+ minWidth: "H",
13949
+ maxWidth: "H",
13950
+ gap: "B",
13951
+ content: {
13952
+ flow: "column",
13953
+ gap: "B",
13954
+ childProps: {
13955
+ field: {
13956
+ width: "100%",
13957
+ input: { type: "password" }
13958
+ }
13959
+ }
13960
+ },
13961
+ footer: { justifyContent: "flex-end" }
13962
+ }
13963
+ };
13964
+ var VerificationCodeModal = {
13965
+ extend: ModalWithTitleParagraph,
13966
+ header: {
13967
+ heading: {
13968
+ title: { props: { text: "Verify your email" } },
13969
+ paragraph: { props: { text: "Verification code has been sent to you. Enter the code below." } }
13970
+ }
13971
+ },
13972
+ content: {
13973
+ codeField: { extend: CodeField },
13974
+ paragraph: { extend: ParagraphWithUnderlineButton }
13975
+ },
13976
+ footer: { "CancenConfirmButtons.1": { ...[{}, { text: "Verify" }] } },
13977
+ props: {
13978
+ maxWidth: "G+E",
13979
+ minWidth: "G+E",
13980
+ gap: "B",
13981
+ content: { gap: "B" },
13982
+ footer: {
13983
+ justifyContent: "flex-end"
13984
+ }
13985
+ }
13986
+ };
13987
+
13988
+ // Textarea/index.js
13989
+ var Textarea = {
13990
+ extend: [Input2],
13991
+ tag: "textarea",
13992
+ props: {
13993
+ theme: "tertiary",
13994
+ round: "Z2",
13995
+ width: "G1",
13996
+ height: "E1",
13997
+ lineHeight: 1.4
13998
+ }
13999
+ };
14000
+ var TextareaWithTitle = {
14001
+ extend: Flex,
14002
+ title: { tag: "h5", props: { text: "Message" } },
14003
+ textArea: { extend: Textarea },
14004
+ props: {
14005
+ flow: "column",
14006
+ gap: "Y",
14007
+ title: {
14008
+ fontSize: "Z",
14009
+ color: "#CFCFD1",
14010
+ fontWeight: "400"
14011
+ },
14012
+ textArea: {
14013
+ background: "transparent",
14014
+ border: "1px solid #3F3F43",
14015
+ round: "Z",
14016
+ minHeight: "D",
14017
+ color: "white"
14018
+ }
14019
+ }
14020
+ };
14021
+
14022
+ // Form/ContactForm.js
14023
+ var ContactForm = {
14024
+ extend: ModalWithTitleParagraph,
14025
+ header: {
14026
+ heading: {
14027
+ title: { props: { text: "We\u2019d love to help" } },
14028
+ paragraph: { props: { text: "Reach out and we\u2019ll get in touch within 24 hours." } }
14029
+ }
14030
+ },
14031
+ content: {
14032
+ fields: {
14033
+ extend: Flex,
14034
+ names: {
14035
+ extend: Flex,
14036
+ childExtend: FieldWithTitle,
14037
+ ...[
14038
+ {
14039
+ title: { props: { text: "First name" } },
14040
+ field: { input: { props: { placeholder: "First name" } } }
14041
+ },
14042
+ {
14043
+ title: { props: { text: "Last name" } },
14044
+ field: { input: { props: { placeholder: "Last name" } } }
14045
+ }
14046
+ ]
13755
14047
  },
13756
- style: { "input[type=number]::-webkit-inner-spin-button": { "-webkit-appearance": " none" } }
14048
+ mail: {
14049
+ extend: FieldWithTitle,
14050
+ title: { props: { text: "Email" } },
14051
+ field: { input: { props: { placeholder: "example@email.com" } } }
14052
+ },
14053
+ message: { extend: TextareaWithTitle }
14054
+ },
14055
+ checkParagraph: {
14056
+ extend: ParagrapUnderlineLinkWithCheckbox,
14057
+ checkBox: {},
14058
+ paragraph: {
14059
+ p: { props: { text: "You agree to " } },
14060
+ underlined: { props: { text: "privacy policy" } }
14061
+ }
14062
+ }
14063
+ },
14064
+ footer: {
14065
+ sendButton: {
14066
+ extend: Button,
14067
+ props: { text: "Send message" }
13757
14068
  }
13758
14069
  },
13759
- ...[{}, {}, {}, {}],
13760
14070
  props: {
13761
- align: "center flex-start",
13762
- gap: "A"
14071
+ padding: "B",
14072
+ minWidth: "H+C",
14073
+ maxWidth: "H+C",
14074
+ header: {
14075
+ heading: {
14076
+ gap: "Y",
14077
+ title: {
14078
+ fontSize: `${24 / 16}em`,
14079
+ fontWeight: "800"
14080
+ }
14081
+ }
14082
+ },
14083
+ content: {
14084
+ padding: "B - A -",
14085
+ fields: {
14086
+ flow: "column",
14087
+ gap: "A",
14088
+ names: {
14089
+ gap: "B+Z",
14090
+ childProps: {
14091
+ width: "50%",
14092
+ field: { width: "100%" }
14093
+ }
14094
+ },
14095
+ mail: { field: { width: "100%" } },
14096
+ message: { textArea: { width: "100%" } }
14097
+ },
14098
+ checkParagraph: {
14099
+ padding: "A - - -",
14100
+ paragraph: {
14101
+ p: { color: "#E0E0E2" },
14102
+ underlined: { fontWeight: "400" }
14103
+ }
14104
+ }
14105
+ },
14106
+ footer: {
14107
+ sendButton: {
14108
+ background: "#0474F2",
14109
+ color: "white",
14110
+ minWidth: "100%",
14111
+ padding: "A -",
14112
+ round: "Z",
14113
+ fontWeight: "500"
14114
+ }
14115
+ }
13763
14116
  }
13764
14117
  };
13765
- var FieldWithTitle = {
13766
- extend: Flex2,
13767
- title: {
13768
- tag: "h6",
13769
- props: { text: "Old password" }
13770
- },
13771
- field: { extend: CustomizedField },
14118
+
14119
+ // Link/index.js
14120
+ var import_router = __toESM(require_cjs6());
14121
+ var Link = {
14122
+ extend: Focusable,
14123
+ tag: "a",
13772
14124
  props: {
13773
- flow: "column",
13774
- gap: "Y",
13775
- title: {
13776
- fontSize: "Z",
13777
- color: "#CFCFD1",
13778
- padding: "- - - Y+W"
14125
+ aria: {},
14126
+ fontWeight: "bold",
14127
+ textDecoration: "none",
14128
+ color: "currentColor",
14129
+ draggable: false
14130
+ },
14131
+ attr: {
14132
+ href: (el, s, ctx) => {
14133
+ const { exec: exec3 } = ctx.utils;
14134
+ return exec3(el.props.href, el) || exec3(el.props, el).href;
14135
+ },
14136
+ target: ({ props: props6 }) => props6.target,
14137
+ "aria-label": ({ props: props6 }) => props6.aria ? props6.aria.label : props6.text,
14138
+ draggable: ({ props: props6 }) => props6.draggable
14139
+ }
14140
+ };
14141
+ var RouterLink = {
14142
+ on: {
14143
+ click: (event, el, s, ctx) => {
14144
+ const { props: props6 } = el;
14145
+ const { href } = props6;
14146
+ if (!href)
14147
+ return;
14148
+ const { utils, routerOptions } = ctx;
14149
+ const { router } = utils;
14150
+ const root = el.__ref.__root;
14151
+ console.log(href);
14152
+ const linkIsExternal = href.includes("http://") || href.includes("https://") || href.includes("mailto:") || href.includes("tel:");
14153
+ const options = props6.routerOptions || routerOptions || {
14154
+ scrollToOptions: { behaviour: "instant" }
14155
+ };
14156
+ if (href && !linkIsExternal) {
14157
+ (router || import_router.router)(href, root, {}, options);
14158
+ event.preventDefault();
14159
+ }
13779
14160
  }
13780
14161
  }
13781
14162
  };
14163
+ var RouteLink = {
14164
+ extend: [Link, RouterLink]
14165
+ };
13782
14166
 
13783
14167
  // Video/index.js
13784
14168
  var Video = {
@@ -14116,19 +14500,6 @@ var TooltipParent = {
14116
14500
  }
14117
14501
  };
14118
14502
 
14119
- // Textarea/index.js
14120
- var Textarea = {
14121
- extend: [Input2],
14122
- tag: "textarea",
14123
- props: {
14124
- theme: "tertiary",
14125
- round: "Z2",
14126
- width: "G1",
14127
- height: "E1",
14128
- lineHeight: 1.4
14129
- }
14130
- };
14131
-
14132
14503
  // Upload/UploadResult.js
14133
14504
  var Captions = {
14134
14505
  extend: Flex,
@@ -14894,161 +15265,6 @@ var IconTextWithNotification = {
14894
15265
  }
14895
15266
  };
14896
15267
 
14897
- // TextComponents/index.js
14898
- var TitleParagraph = {
14899
- extend: Flex,
14900
- title: {
14901
- tag: "h5",
14902
- props: { text: "Log in to your account" }
14903
- },
14904
- paragraph: {
14905
- tag: "p",
14906
- props: { text: "Enter your email address and password to log in." }
14907
- },
14908
- props: {
14909
- flow: "column",
14910
- gap: "Y",
14911
- maxWidth: "fit-content",
14912
- heading: { title: { fontSize: "D" } },
14913
- paragraph: {
14914
- fontSize: "Z",
14915
- padding: "0",
14916
- margin: "0",
14917
- color: "#E0E0E2"
14918
- }
14919
- }
14920
- };
14921
- var ParagraphWithUnderlineButton = {
14922
- extend: Flex,
14923
- p: { props: { text: "Didnt get the code?" } },
14924
- underlined: {
14925
- extend: Button,
14926
- props: { text: "Click to reset" }
14927
- },
14928
- props: {
14929
- align: "center flex-start",
14930
- gap: "Z",
14931
- fontSize: "Z",
14932
- p: { color: "#A3A3A8" },
14933
- underlined: {
14934
- padding: "0",
14935
- background: "transparent",
14936
- color: "#E0E0E2",
14937
- cursor: "pointer",
14938
- textDecoration: "underline",
14939
- fontWeight: "500"
14940
- }
14941
- }
14942
- };
14943
- var ParagrapUnderlineLinkWithCheckbox = {
14944
- extend: Flex,
14945
- checkBox: { extend: Checkbox },
14946
- paragraph: { extend: ParagraphWithUnderlineButton },
14947
- props: {
14948
- align: "center flex-start",
14949
- gap: "X",
14950
- checkBox: {
14951
- Flex: { boxSize: "A+X" }
14952
- }
14953
- }
14954
- };
14955
-
14956
- // Modal/index.js
14957
- var Modal = {
14958
- extend: Flex,
14959
- header: {
14960
- extend: Flex,
14961
- close: {
14962
- extend: Button,
14963
- props: { icon: "x" }
14964
- }
14965
- },
14966
- content: { extend: Flex },
14967
- footer: {},
14968
- props: {
14969
- background: "#1C1C1F",
14970
- padding: "A",
14971
- flow: "column",
14972
- round: "Z+V",
14973
- header: {
14974
- alignItems: "center",
14975
- title: { fontSize: "B" },
14976
- close: {
14977
- margin: "- - - auto",
14978
- background: "transparent",
14979
- color: "white",
14980
- fontSize: "D",
14981
- padding: "0"
14982
- }
14983
- }
14984
- }
14985
- };
14986
- var ResetCompleteModal = {
14987
- extend: Modal,
14988
- header: {},
14989
- content: {
14990
- icon: { extend: CheckMark },
14991
- titleParagraph: {
14992
- extend: TitleParagraph,
14993
- title: { props: { text: "Reset complete!" } },
14994
- paragraph: { props: { text: "Your request has been approved!" } }
14995
- }
14996
- },
14997
- footer: {
14998
- button: {
14999
- extend: Button,
15000
- props: { text: "Done" }
15001
- }
15002
- },
15003
- props: {
15004
- minWidth: "G+E",
15005
- maxWidth: "G+E",
15006
- gap: "B",
15007
- content: {
15008
- flow: "column",
15009
- align: "center center",
15010
- gap: "B",
15011
- titleParagraph: {
15012
- align: "center center",
15013
- title: { fontSize: "B" }
15014
- }
15015
- },
15016
- footer: {
15017
- minWidth: "100%",
15018
- button: {
15019
- background: "#0474F2",
15020
- color: "white",
15021
- minWidth: "100%",
15022
- padding: "A -",
15023
- round: "A"
15024
- }
15025
- }
15026
- }
15027
- };
15028
- var MessageModal = {
15029
- extend: Modal,
15030
- header: {
15031
- title: {
15032
- tag: "h5",
15033
- props: { text: "Message" }
15034
- },
15035
- close: {}
15036
- },
15037
- content: {
15038
- p: {
15039
- props: { text: "Yes. If you change your mind and no longer wish to keep your iPhone, you have the option to return it to us. The returned iPhone must be in good condition and in the original packaging, which contains all accessories, manuals and instructions. Returns are subject to Apples Sales and Refunds Policy." }
15040
- }
15041
- },
15042
- footer: null,
15043
- props: {
15044
- minWidth: "G+E",
15045
- maxWidth: "G+E",
15046
- content: {
15047
- p: { fontSize: "Z" }
15048
- }
15049
- }
15050
- };
15051
-
15052
15268
  // SlideTabs/index.js
15053
15269
  var SlideTabs = {
15054
15270
  extend: Flex,