@cambly/syntax-core 6.3.0 → 6.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -60,7 +60,7 @@ var require_classnames = __commonJS({
60
60
  "use strict";
61
61
  var hasOwn = {}.hasOwnProperty;
62
62
  var nativeCodeString = "[native code]";
63
- function classNames10() {
63
+ function classNames11() {
64
64
  var classes = [];
65
65
  for (var i = 0; i < arguments.length; i++) {
66
66
  var arg = arguments[i];
@@ -71,7 +71,7 @@ var require_classnames = __commonJS({
71
71
  classes.push(arg);
72
72
  } else if (Array.isArray(arg)) {
73
73
  if (arg.length) {
74
- var inner = classNames10.apply(null, arg);
74
+ var inner = classNames11.apply(null, arg);
75
75
  if (inner) {
76
76
  classes.push(inner);
77
77
  }
@@ -91,14 +91,14 @@ var require_classnames = __commonJS({
91
91
  return classes.join(" ");
92
92
  }
93
93
  if (typeof module !== "undefined" && module.exports) {
94
- classNames10.default = classNames10;
95
- module.exports = classNames10;
94
+ classNames11.default = classNames11;
95
+ module.exports = classNames11;
96
96
  } else if (typeof define === "function" && typeof define.amd === "object" && define.amd) {
97
97
  define("classnames", [], function() {
98
- return classNames10;
98
+ return classNames11;
99
99
  });
100
100
  } else {
101
- window.classNames = classNames10;
101
+ window.classNames = classNames11;
102
102
  }
103
103
  })();
104
104
  }
@@ -398,6 +398,15 @@ var Box_default = Box;
398
398
 
399
399
  // src/Badge/Badge.tsx
400
400
  import { jsx as jsx4 } from "react/jsx-runtime";
401
+ var textColorForBackgroundColor = (color) => {
402
+ switch (color) {
403
+ case "gray200":
404
+ case "yellow700":
405
+ return "gray900";
406
+ default:
407
+ return "white";
408
+ }
409
+ };
401
410
  var Badge = ({
402
411
  text,
403
412
  color = "primary700"
@@ -412,7 +421,7 @@ var Badge = ({
412
421
  children: /* @__PURE__ */ jsx4(
413
422
  Typography_default,
414
423
  {
415
- color: color === "yellow700" ? "gray900" : "white",
424
+ color: textColorForBackgroundColor(color),
416
425
  size: 100,
417
426
  weight: "bold",
418
427
  children: text
@@ -424,6 +433,7 @@ var Badge_default = Badge;
424
433
 
425
434
  // src/Button/Button.tsx
426
435
  var import_classnames4 = __toESM(require_classnames());
436
+ import { forwardRef as forwardRef2 } from "react";
427
437
 
428
438
  // css-module:./colors.module.css#css-module
429
439
  var colors_module_default2 = { "inheritColor": "_inheritColor_11wj3_2", "destructive700Color": "_destructive700Color_11wj3_6", "gray700Color": "_gray700Color_11wj3_10", "gray900Color": "_gray900Color_11wj3_14", "primary700Color": "_primary700Color_11wj3_18", "whiteColor": "_whiteColor_11wj3_22", "blackBackgroundColor": "_blackBackgroundColor_11wj3_27", "destructive100BackgroundColor": "_destructive100BackgroundColor_11wj3_31", "destructive200BackgroundColor": "_destructive200BackgroundColor_11wj3_35", "destructive300BackgroundColor": "_destructive300BackgroundColor_11wj3_39", "destructive700BackgroundColor": "_destructive700BackgroundColor_11wj3_43", "destructive800BackgroundColor": "_destructive800BackgroundColor_11wj3_47", "destructive900BackgroundColor": "_destructive900BackgroundColor_11wj3_51", "gray10BackgroundColor": "_gray10BackgroundColor_11wj3_55", "gray30BackgroundColor": "_gray30BackgroundColor_11wj3_59", "gray60BackgroundColor": "_gray60BackgroundColor_11wj3_63", "gray80BackgroundColor": "_gray80BackgroundColor_11wj3_67", "gray100BackgroundColor": "_gray100BackgroundColor_11wj3_71", "gray200BackgroundColor": "_gray200BackgroundColor_11wj3_75", "gray300BackgroundColor": "_gray300BackgroundColor_11wj3_79", "gray700BackgroundColor": "_gray700BackgroundColor_11wj3_83", "gray800BackgroundColor": "_gray800BackgroundColor_11wj3_87", "gray900BackgroundColor": "_gray900BackgroundColor_11wj3_91", "orange100BackgroundColor": "_orange100BackgroundColor_11wj3_95", "orange200BackgroundColor": "_orange200BackgroundColor_11wj3_99", "orange300BackgroundColor": "_orange300BackgroundColor_11wj3_103", "orange700BackgroundColor": "_orange700BackgroundColor_11wj3_107", "orange800BackgroundColor": "_orange800BackgroundColor_11wj3_111", "orange900BackgroundColor": "_orange900BackgroundColor_11wj3_115", "primary100BackgroundColor": "_primary100BackgroundColor_11wj3_119", "primary200BackgroundColor": "_primary200BackgroundColor_11wj3_123", "primary300BackgroundColor": "_primary300BackgroundColor_11wj3_127", "primary700BackgroundColor": "_primary700BackgroundColor_11wj3_131", "primary800BackgroundColor": "_primary800BackgroundColor_11wj3_135", "primary900BackgroundColor": "_primary900BackgroundColor_11wj3_139", "success100BackgroundColor": "_success100BackgroundColor_11wj3_143", "success200BackgroundColor": "_success200BackgroundColor_11wj3_147", "success300BackgroundColor": "_success300BackgroundColor_11wj3_151", "success700BackgroundColor": "_success700BackgroundColor_11wj3_155", "success800BackgroundColor": "_success800BackgroundColor_11wj3_159", "success900BackgroundColor": "_success900BackgroundColor_11wj3_163", "purple100BackgroundColor": "_purple100BackgroundColor_11wj3_167", "purple200BackgroundColor": "_purple200BackgroundColor_11wj3_171", "purple300BackgroundColor": "_purple300BackgroundColor_11wj3_175", "purple700BackgroundColor": "_purple700BackgroundColor_11wj3_179", "purple800BackgroundColor": "_purple800BackgroundColor_11wj3_183", "purple900BackgroundColor": "_purple900BackgroundColor_11wj3_187", "whiteBackgroundColor": "_whiteBackgroundColor_11wj3_191", "yellow100BackgroundColor": "_yellow100BackgroundColor_11wj3_195", "yellow200BackgroundColor": "_yellow200BackgroundColor_11wj3_199", "yellow300BackgroundColor": "_yellow300BackgroundColor_11wj3_203", "yellow700BackgroundColor": "_yellow700BackgroundColor_11wj3_207", "yellow800BackgroundColor": "_yellow800BackgroundColor_11wj3_211", "yellow900BackgroundColor": "_yellow900BackgroundColor_11wj3_215" };
@@ -465,30 +475,54 @@ function foregroundColor(color) {
465
475
  }
466
476
  }
467
477
 
468
- // src/Button/Button.tsx
469
- import { forwardRef as forwardRef2 } from "react";
478
+ // src/colors/foregroundTypographyColor.ts
479
+ function foregroundTypographyColor(color) {
480
+ switch (color) {
481
+ case "secondary":
482
+ case "tertiary":
483
+ return "primary";
484
+ case "destructive-secondary":
485
+ case "destructive-tertiary":
486
+ return "destructive-primary";
487
+ case "branded":
488
+ return "gray900";
489
+ default:
490
+ return "white";
491
+ }
492
+ }
470
493
 
471
- // css-module:./Button.module.css#css-module
472
- var Button_module_default = { "button": "_button_1ixx9_1", "buttonGap": "_buttonGap_1ixx9_9", "fullWidth": "_fullWidth_1ixx9_50", "sm": "_sm_1ixx9_54", "md": "_md_1ixx9_61", "lg": "_lg_1ixx9_68", "icon": "_icon_1ixx9_75", "smIcon": "_smIcon_1ixx9_79", "mdIcon": "_mdIcon_1ixx9_86", "lgIcon": "_lgIcon_1ixx9_93", "textContainer": "_textContainer_1ixx9_100", "secondaryBorder": "_secondaryBorder_1ixx9_105", "secondaryDestructiveBorder": "_secondaryDestructiveBorder_1ixx9_109", "loading": "_loading_1ixx9_123", "syntaxButtonLoadingRotate": "_syntaxButtonLoadingRotate_1ixx9_1", "loadingCircle": "_loadingCircle_1ixx9_127", "buttonText": "_buttonText_1ixx9_135", "buttonTextSmall": "_buttonTextSmall_1ixx9_142", "buttonTextMedium": "_buttonTextMedium_1ixx9_146", "buttonTextLarge": "_buttonTextLarge_1ixx9_150" };
494
+ // css-module:../Button.module.css#css-module
495
+ var Button_module_default = { "button": "_button_1fo30_1", "buttonGap": "_buttonGap_1fo30_9", "fullWidth": "_fullWidth_1fo30_50", "sm": "_sm_1fo30_54", "md": "_md_1fo30_61", "lg": "_lg_1fo30_68", "icon": "_icon_1fo30_75", "smIcon": "_smIcon_1fo30_79", "mdIcon": "_mdIcon_1fo30_86", "lgIcon": "_lgIcon_1fo30_93", "secondaryBorder": "_secondaryBorder_1fo30_100", "secondaryDestructiveBorder": "_secondaryDestructiveBorder_1fo30_104", "loading": "_loading_1fo30_118", "syntaxButtonLoadingRotate": "_syntaxButtonLoadingRotate_1fo30_1", "loadingCircle": "_loadingCircle_1fo30_122" };
473
496
 
474
- // src/Button/Button.tsx
475
- import { jsx as jsx5, jsxs } from "react/jsx-runtime";
497
+ // src/Button/constants/iconSize.ts
498
+ var iconSize = {
499
+ ["sm"]: Button_module_default.smIcon,
500
+ ["md"]: Button_module_default.mdIcon,
501
+ ["lg"]: Button_module_default.lgIcon
502
+ };
503
+ var iconSize_default = iconSize;
504
+
505
+ // src/Button/constants/textVariant.ts
476
506
  var textVariant = {
477
- // Replace with `Typography` once it lands in `syntax-core`
478
- ["sm"]: Button_module_default.buttonTextSmall,
479
- ["md"]: Button_module_default.buttonTextMedium,
480
- ["lg"]: Button_module_default.buttonTextLarge
507
+ ["sm"]: 100,
508
+ ["md"]: 200,
509
+ ["lg"]: 300
481
510
  };
511
+ var textVariant_default = textVariant;
512
+
513
+ // src/Button/constants/loadingIconSize.ts
482
514
  var loadingIconSize = {
483
515
  ["sm"]: 16,
484
516
  ["md"]: 20,
485
517
  ["lg"]: 24
486
518
  };
487
- var iconSize = {
488
- ["sm"]: Button_module_default.smIcon,
489
- ["md"]: Button_module_default.mdIcon,
490
- ["lg"]: Button_module_default.lgIcon
491
- };
519
+ var loadingIconSize_default = loadingIconSize;
520
+
521
+ // css-module:./Button.module.css#css-module
522
+ var Button_module_default2 = { "button": "_button_1fo30_1", "buttonGap": "_buttonGap_1fo30_9", "fullWidth": "_fullWidth_1fo30_50", "sm": "_sm_1fo30_54", "md": "_md_1fo30_61", "lg": "_lg_1fo30_68", "icon": "_icon_1fo30_75", "smIcon": "_smIcon_1fo30_79", "mdIcon": "_mdIcon_1fo30_86", "lgIcon": "_lgIcon_1fo30_93", "secondaryBorder": "_secondaryBorder_1fo30_100", "secondaryDestructiveBorder": "_secondaryDestructiveBorder_1fo30_104", "loading": "_loading_1fo30_118", "syntaxButtonLoadingRotate": "_syntaxButtonLoadingRotate_1fo30_1", "loadingCircle": "_loadingCircle_1fo30_122" };
523
+
524
+ // src/Button/Button.tsx
525
+ import { jsx as jsx5, jsxs } from "react/jsx-runtime";
492
526
  var Button = forwardRef2(
493
527
  ({
494
528
  "data-testid": dataTestId,
@@ -517,32 +551,39 @@ var Button = forwardRef2(
517
551
  disabled: disabled || loading,
518
552
  onClick,
519
553
  className: (0, import_classnames4.default)(
520
- Button_module_default.button,
554
+ Button_module_default2.button,
521
555
  foregroundColor(color),
522
556
  backgroundColor(color),
523
- Button_module_default[size],
557
+ Button_module_default2[size],
524
558
  {
525
- [Button_module_default.fullWidth]: fullWidth,
526
- [Button_module_default.buttonGap]: size === "lg" || size === "md",
527
- [Button_module_default.secondaryBorder]: color === "secondary",
528
- [Button_module_default.secondaryDestructiveBorder]: color === "destructive-secondary"
559
+ [Button_module_default2.fullWidth]: fullWidth,
560
+ [Button_module_default2.buttonGap]: size === "lg" || size === "md",
561
+ [Button_module_default2.secondaryBorder]: color === "secondary",
562
+ [Button_module_default2.secondaryDestructiveBorder]: color === "destructive-secondary"
529
563
  }
530
564
  ),
531
565
  children: [
532
- !loading && StartIcon && /* @__PURE__ */ jsx5(StartIcon, { className: (0, import_classnames4.default)(Button_module_default.icon, iconSize[size]) }),
533
- (loading && loadingText || !loading && text) && /* @__PURE__ */ jsx5("div", { className: Button_module_default.textContainer, children: /* @__PURE__ */ jsx5("div", { className: (0, import_classnames4.default)(Button_module_default.buttonText, textVariant[size]), children: loading ? loadingText : text }) }),
534
- !loading && EndIcon && /* @__PURE__ */ jsx5(EndIcon, { className: (0, import_classnames4.default)(Button_module_default.icon, iconSize[size]) }),
566
+ !loading && StartIcon && /* @__PURE__ */ jsx5(StartIcon, { className: (0, import_classnames4.default)(Button_module_default2.icon, iconSize_default[size]) }),
567
+ (loading && loadingText || !loading && text) && /* @__PURE__ */ jsx5(Box_default, { paddingX: 1, children: /* @__PURE__ */ jsx5(
568
+ Typography_default,
569
+ {
570
+ size: textVariant_default[size],
571
+ color: foregroundTypographyColor(color),
572
+ children: /* @__PURE__ */ jsx5("span", { style: { fontWeight: 500 }, children: loading ? loadingText : text })
573
+ }
574
+ ) }),
575
+ !loading && EndIcon && /* @__PURE__ */ jsx5(EndIcon, { className: (0, import_classnames4.default)(Button_module_default2.icon, iconSize_default[size]) }),
535
576
  loading && /* @__PURE__ */ jsx5(
536
577
  "svg",
537
578
  {
538
- className: (0, import_classnames4.default)(Button_module_default.loading, foregroundColor(color)),
579
+ className: (0, import_classnames4.default)(Button_module_default2.loading, foregroundColor(color)),
539
580
  viewBox: "22 22 44 44",
540
- width: loadingIconSize[size],
541
- height: loadingIconSize[size],
581
+ width: loadingIconSize_default[size],
582
+ height: loadingIconSize_default[size],
542
583
  children: /* @__PURE__ */ jsx5(
543
584
  "circle",
544
585
  {
545
- className: Button_module_default.loadingCircle,
586
+ className: Button_module_default2.loadingCircle,
546
587
  cx: "44",
547
588
  cy: "44",
548
589
  r: "20.2",
@@ -610,81 +651,8 @@ function Card({
610
651
  );
611
652
  }
612
653
 
613
- // css-module:./Divider.module.css#css-module
614
- var Divider_module_default = { "divider": "_divider_1ddgq_1" };
615
-
616
- // src/Divider/Divider.tsx
617
- import { jsx as jsx8 } from "react/jsx-runtime";
618
- function Divider() {
619
- return /* @__PURE__ */ jsx8("hr", { className: Divider_module_default.divider });
620
- }
621
- Divider.displayName = "Divider";
622
-
623
- // src/Heading/Heading.tsx
624
- import { jsx as jsx9 } from "react/jsx-runtime";
625
- var Heading = ({
626
- align = "start",
627
- as = "h1",
628
- children,
629
- color = "gray900",
630
- size = 500
631
- }) => {
632
- const weight = [700, 800].includes(size) ? "heavy" : "bold";
633
- return /* @__PURE__ */ jsx9(Typography_default, { align, as, color, size, weight, children });
634
- };
635
- var Heading_default = Heading;
636
-
637
- // src/IconButton/IconButton.tsx
638
- var import_classnames6 = __toESM(require_classnames());
639
- import { forwardRef as forwardRef3 } from "react";
640
-
641
- // css-module:./IconButton.module.css#css-module
642
- var IconButton_module_default = { "iconButton": "_iconButton_13wmh_1", "sm": "_sm_13wmh_46", "md": "_md_13wmh_51", "lg": "_lg_13wmh_56", "smIcon": "_smIcon_13wmh_61", "mdIcon": "_mdIcon_13wmh_68", "lgIcon": "_lgIcon_13wmh_75" };
643
-
644
- // src/IconButton/IconButton.tsx
645
- import { jsx as jsx10 } from "react/jsx-runtime";
646
- var iconSize2 = {
647
- ["sm"]: IconButton_module_default.smIcon,
648
- ["md"]: IconButton_module_default.mdIcon,
649
- ["lg"]: IconButton_module_default.lgIcon
650
- };
651
- var IconButton = forwardRef3(
652
- ({
653
- accessibilityLabel,
654
- color = "primary",
655
- "data-testid": dataTestId,
656
- disabled = false,
657
- icon: Icon,
658
- size = "md",
659
- tooltip,
660
- onClick
661
- }, ref) => {
662
- return /* @__PURE__ */ jsx10(
663
- "button",
664
- {
665
- "aria-label": accessibilityLabel,
666
- "data-testid": dataTestId,
667
- type: "button",
668
- title: tooltip,
669
- disabled,
670
- onClick,
671
- className: (0, import_classnames6.default)(
672
- IconButton_module_default.iconButton,
673
- foregroundColor(color),
674
- backgroundColor(color),
675
- IconButton_module_default[size]
676
- ),
677
- ref,
678
- children: /* @__PURE__ */ jsx10(Icon, { className: iconSize2[size] })
679
- }
680
- );
681
- }
682
- );
683
- IconButton.displayName = "IconButton";
684
- var IconButton_default = IconButton;
685
-
686
654
  // src/Checkbox/Checkbox.tsx
687
- var import_classnames7 = __toESM(require_classnames());
655
+ var import_classnames6 = __toESM(require_classnames());
688
656
  import { useState as useState2 } from "react";
689
657
 
690
658
  // src/useFocusVisible.tsx
@@ -784,7 +752,7 @@ var Checkbox_module_default = { "mainContainer": "_mainContainer_1omm6_1", "inpu
784
752
  var Focus_module_default = { "accessibilityOutlineFocus": "_accessibilityOutlineFocus_1h8bq_1" };
785
753
 
786
754
  // src/Checkbox/Checkbox.tsx
787
- import { jsx as jsx11, jsxs as jsxs2 } from "react/jsx-runtime";
755
+ import { jsx as jsx8, jsxs as jsxs2 } from "react/jsx-runtime";
788
756
  var typographySize = {
789
757
  sm: 100,
790
758
  md: 200
@@ -804,13 +772,13 @@ var Checkbox = ({
804
772
  }) => {
805
773
  const [isFocused, setIsFocused] = useState2(false);
806
774
  const { isFocusVisible: isFocusVisible2 } = useFocusVisible();
807
- const checkboxStyling = (0, import_classnames7.default)(Checkbox_module_default.checkbox, Checkbox_module_default[size]);
808
- const uncheckedStyling = (0, import_classnames7.default)(checkboxStyling, Checkbox_module_default.uncheckedBox, {
775
+ const checkboxStyling = (0, import_classnames6.default)(Checkbox_module_default.checkbox, Checkbox_module_default[size]);
776
+ const uncheckedStyling = (0, import_classnames6.default)(checkboxStyling, Checkbox_module_default.uncheckedBox, {
809
777
  [Checkbox_module_default.uncheckedBorder]: !error,
810
778
  [Checkbox_module_default.uncheckedErrorBorder]: error,
811
779
  [Focus_module_default.accessibilityOutlineFocus]: isFocused && isFocusVisible2
812
780
  });
813
- const checkedStyling = (0, import_classnames7.default)(checkboxStyling, Checkbox_module_default.checkedBox, {
781
+ const checkedStyling = (0, import_classnames6.default)(checkboxStyling, Checkbox_module_default.checkedBox, {
814
782
  [Checkbox_module_default.checkedNonError]: !error,
815
783
  [Checkbox_module_default.checkedError]: error,
816
784
  [Focus_module_default.accessibilityOutlineFocus]: isFocused && isFocusVisible2
@@ -818,7 +786,7 @@ var Checkbox = ({
818
786
  return /* @__PURE__ */ jsxs2(
819
787
  "label",
820
788
  {
821
- className: (0, import_classnames7.default)(
789
+ className: (0, import_classnames6.default)(
822
790
  Checkbox_module_default.mainContainer,
823
791
  Checkbox_module_default[`cursor${disabled ? "Disabled" : "Enabled"}`],
824
792
  {
@@ -826,19 +794,19 @@ var Checkbox = ({
826
794
  }
827
795
  ),
828
796
  children: [
829
- /* @__PURE__ */ jsx11("div", { className: checked ? checkedStyling : uncheckedStyling, children: checked && /* @__PURE__ */ jsx11("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", width: iconWidth[size], children: /* @__PURE__ */ jsx11(
797
+ /* @__PURE__ */ jsx8("div", { className: checked ? checkedStyling : uncheckedStyling, children: checked && /* @__PURE__ */ jsx8("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", width: iconWidth[size], children: /* @__PURE__ */ jsx8(
830
798
  "path",
831
799
  {
832
800
  fill: "#fff",
833
801
  d: "m9 16.2-3.5-3.5a.9839.9839 0 0 0-1.4 0c-.39.39-.39 1.01 0 1.4l4.19 4.19c.39.39 1.02.39 1.41 0L20.3 7.7c.39-.39.39-1.01 0-1.4a.9839.9839 0 0 0-1.4 0L9 16.2z"
834
802
  }
835
803
  ) }) }),
836
- /* @__PURE__ */ jsx11(
804
+ /* @__PURE__ */ jsx8(
837
805
  "input",
838
806
  {
839
807
  "data-testid": dataTestId,
840
808
  type: "checkbox",
841
- className: (0, import_classnames7.default)(
809
+ className: (0, import_classnames6.default)(
842
810
  Checkbox_module_default.inputOverlay,
843
811
  Checkbox_module_default[size],
844
812
  Checkbox_module_default[`cursor${disabled ? "Disabled" : "Enabled"}`]
@@ -854,7 +822,7 @@ var Checkbox = ({
854
822
  }
855
823
  }
856
824
  ),
857
- /* @__PURE__ */ jsx11(
825
+ /* @__PURE__ */ jsx8(
858
826
  Typography_default,
859
827
  {
860
828
  size: typographySize[size],
@@ -868,22 +836,155 @@ var Checkbox = ({
868
836
  };
869
837
  var Checkbox_default = Checkbox;
870
838
 
839
+ // css-module:./Divider.module.css#css-module
840
+ var Divider_module_default = { "divider": "_divider_1ddgq_1" };
841
+
842
+ // src/Divider/Divider.tsx
843
+ import { jsx as jsx9 } from "react/jsx-runtime";
844
+ function Divider() {
845
+ return /* @__PURE__ */ jsx9("hr", { className: Divider_module_default.divider });
846
+ }
847
+ Divider.displayName = "Divider";
848
+
849
+ // src/Heading/Heading.tsx
850
+ import { jsx as jsx10 } from "react/jsx-runtime";
851
+ var Heading = ({
852
+ align = "start",
853
+ as = "h1",
854
+ children,
855
+ color = "gray900",
856
+ size = 500
857
+ }) => {
858
+ const weight = [700, 800].includes(size) ? "heavy" : "bold";
859
+ return /* @__PURE__ */ jsx10(Typography_default, { align, as, color, size, weight, children });
860
+ };
861
+ var Heading_default = Heading;
862
+
863
+ // src/IconButton/IconButton.tsx
864
+ var import_classnames7 = __toESM(require_classnames());
865
+ import { forwardRef as forwardRef3 } from "react";
866
+
867
+ // css-module:./IconButton.module.css#css-module
868
+ var IconButton_module_default = { "iconButton": "_iconButton_13wmh_1", "sm": "_sm_13wmh_46", "md": "_md_13wmh_51", "lg": "_lg_13wmh_56", "smIcon": "_smIcon_13wmh_61", "mdIcon": "_mdIcon_13wmh_68", "lgIcon": "_lgIcon_13wmh_75" };
869
+
870
+ // src/IconButton/IconButton.tsx
871
+ import { jsx as jsx11 } from "react/jsx-runtime";
872
+ var iconSize2 = {
873
+ ["sm"]: IconButton_module_default.smIcon,
874
+ ["md"]: IconButton_module_default.mdIcon,
875
+ ["lg"]: IconButton_module_default.lgIcon
876
+ };
877
+ var IconButton = forwardRef3(
878
+ ({
879
+ accessibilityLabel,
880
+ color = "primary",
881
+ "data-testid": dataTestId,
882
+ disabled = false,
883
+ icon: Icon,
884
+ size = "md",
885
+ tooltip,
886
+ onClick
887
+ }, ref) => {
888
+ return /* @__PURE__ */ jsx11(
889
+ "button",
890
+ {
891
+ "aria-label": accessibilityLabel,
892
+ "data-testid": dataTestId,
893
+ type: "button",
894
+ title: tooltip,
895
+ disabled,
896
+ onClick,
897
+ className: (0, import_classnames7.default)(
898
+ IconButton_module_default.iconButton,
899
+ foregroundColor(color),
900
+ backgroundColor(color),
901
+ IconButton_module_default[size]
902
+ ),
903
+ ref,
904
+ children: /* @__PURE__ */ jsx11(Icon, { className: iconSize2[size] })
905
+ }
906
+ );
907
+ }
908
+ );
909
+ IconButton.displayName = "IconButton";
910
+ var IconButton_default = IconButton;
911
+
912
+ // src/LinkButton/LinkButton.tsx
913
+ var import_classnames8 = __toESM(require_classnames());
914
+
915
+ // css-module:../Button/Button.module.css#css-module
916
+ var Button_module_default3 = { "button": "_button_1fo30_1", "buttonGap": "_buttonGap_1fo30_9", "fullWidth": "_fullWidth_1fo30_50", "sm": "_sm_1fo30_54", "md": "_md_1fo30_61", "lg": "_lg_1fo30_68", "icon": "_icon_1fo30_75", "smIcon": "_smIcon_1fo30_79", "mdIcon": "_mdIcon_1fo30_86", "lgIcon": "_lgIcon_1fo30_93", "secondaryBorder": "_secondaryBorder_1fo30_100", "secondaryDestructiveBorder": "_secondaryDestructiveBorder_1fo30_104", "loading": "_loading_1fo30_118", "syntaxButtonLoadingRotate": "_syntaxButtonLoadingRotate_1fo30_1", "loadingCircle": "_loadingCircle_1fo30_122" };
917
+
918
+ // css-module:./LinkButton.module.css#css-module
919
+ var LinkButton_module_default = { "linkButton": "_linkButton_1r7tz_1", "fitContent": "_fitContent_1r7tz_5" };
920
+
921
+ // src/LinkButton/LinkButton.tsx
922
+ import { jsx as jsx12, jsxs as jsxs3 } from "react/jsx-runtime";
923
+ function LinkButton({
924
+ text,
925
+ href,
926
+ target,
927
+ "data-testid": dataTestId,
928
+ color = "primary",
929
+ size = "md",
930
+ fullWidth = false,
931
+ startIcon: StartIcon,
932
+ endIcon: EndIcon,
933
+ onClick
934
+ }) {
935
+ return /* @__PURE__ */ jsxs3(
936
+ "a",
937
+ {
938
+ href,
939
+ "data-testid": dataTestId,
940
+ target,
941
+ className: (0, import_classnames8.default)(
942
+ LinkButton_module_default.linkButton,
943
+ Button_module_default3.button,
944
+ foregroundColor(color),
945
+ backgroundColor(color),
946
+ Button_module_default3[size],
947
+ {
948
+ [Button_module_default3.fullWidth]: fullWidth,
949
+ [LinkButton_module_default.fitContent]: !fullWidth,
950
+ [Button_module_default3.buttonGap]: size === "lg" || size === "md",
951
+ [Button_module_default3.secondaryBorder]: color === "secondary",
952
+ [Button_module_default3.secondaryDestructiveBorder]: color === "destructive-secondary"
953
+ }
954
+ ),
955
+ onClick,
956
+ children: [
957
+ StartIcon && /* @__PURE__ */ jsx12(StartIcon, { className: (0, import_classnames8.default)(Button_module_default3.icon, iconSize_default[size]) }),
958
+ /* @__PURE__ */ jsx12(
959
+ Typography_default,
960
+ {
961
+ color: foregroundTypographyColor(color),
962
+ size: textVariant_default[size],
963
+ children: /* @__PURE__ */ jsx12("span", { style: { fontWeight: 500 }, children: text })
964
+ }
965
+ ),
966
+ EndIcon && /* @__PURE__ */ jsx12(EndIcon, { className: (0, import_classnames8.default)(Button_module_default3.icon, iconSize_default[size]) })
967
+ ]
968
+ }
969
+ );
970
+ }
971
+
871
972
  // css-module:./MiniActionCard.module.css#css-module
872
973
  var MiniActionCard_module_default = { "miniActionCard": "_miniActionCard_qebkn_1", "card": "_card_qebkn_9" };
873
974
 
874
975
  // src/MiniActionCard/MiniActionCard.tsx
875
- import { jsx as jsx12 } from "react/jsx-runtime";
976
+ import { jsx as jsx13 } from "react/jsx-runtime";
876
977
  var MiniActionCard = ({
877
978
  children
878
- }) => /* @__PURE__ */ jsx12("div", { className: MiniActionCard_module_default.miniActionCard, children });
979
+ }) => /* @__PURE__ */ jsx13("div", { className: MiniActionCard_module_default.miniActionCard, children });
879
980
  var MiniActionCard_default = MiniActionCard;
880
981
 
881
982
  // src/Modal/Modal.tsx
882
- var import_classnames8 = __toESM(require_classnames());
983
+ var import_classnames9 = __toESM(require_classnames());
883
984
 
884
985
  // src/Modal/FocusTrap.tsx
885
986
  import { useEffect as useEffect2, useRef } from "react";
886
- import { jsx as jsx13 } from "react/jsx-runtime";
987
+ import { jsx as jsx14 } from "react/jsx-runtime";
887
988
  function queryFocusableAll(el) {
888
989
  const selector = [
889
990
  "a[href]",
@@ -944,7 +1045,7 @@ function FocusTrap({
944
1045
  }
945
1046
  };
946
1047
  }, [elRef, previouslyFocusedElRef]);
947
- return /* @__PURE__ */ jsx13("div", { "data-testid": "syntax-focus-trap", ref: elRef, children });
1048
+ return /* @__PURE__ */ jsx14("div", { "data-testid": "syntax-focus-trap", ref: elRef, children });
948
1049
  }
949
1050
 
950
1051
  // src/Modal/StopScroll.tsx
@@ -962,13 +1063,13 @@ function StopScroll(props) {
962
1063
 
963
1064
  // src/Modal/Layer.tsx
964
1065
  import { createPortal } from "react-dom";
965
- import { jsx as jsx14 } from "react/jsx-runtime";
1066
+ import { jsx as jsx15 } from "react/jsx-runtime";
966
1067
  function Layer({
967
1068
  children,
968
1069
  zIndex = 1
969
1070
  }) {
970
1071
  return createPortal(
971
- /* @__PURE__ */ jsx14(
1072
+ /* @__PURE__ */ jsx15(
972
1073
  Box_default,
973
1074
  {
974
1075
  "data-testid": "syntax-layer",
@@ -987,9 +1088,9 @@ function Layer({
987
1088
  var Modal_module_default = { "backdrop": "_backdrop_30t3h_1", "closeButton": "_closeButton_30t3h_12", "closeButtonWithImage": "_closeButtonWithImage_30t3h_32" };
988
1089
 
989
1090
  // src/Modal/Modal.tsx
990
- import { jsx as jsx15, jsxs as jsxs3 } from "react/jsx-runtime";
1091
+ import { jsx as jsx16, jsxs as jsxs4 } from "react/jsx-runtime";
991
1092
  function XIcon({ color = "#000" }) {
992
- return /* @__PURE__ */ jsx15("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", fill: color, children: /* @__PURE__ */ jsx15(
1093
+ return /* @__PURE__ */ jsx16("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", fill: color, children: /* @__PURE__ */ jsx16(
993
1094
  "path",
994
1095
  {
995
1096
  fill: "inherit",
@@ -1012,14 +1113,14 @@ function Modal({
1012
1113
  zIndex = 1,
1013
1114
  "data-testid": dataTestId
1014
1115
  }) {
1015
- return /* @__PURE__ */ jsx15(Layer, { zIndex, children: /* @__PURE__ */ jsx15(StopScroll, { children: /* @__PURE__ */ jsx15(FocusTrap, { children: /* @__PURE__ */ jsx15(
1116
+ return /* @__PURE__ */ jsx16(Layer, { zIndex, children: /* @__PURE__ */ jsx16(StopScroll, { children: /* @__PURE__ */ jsx16(FocusTrap, { children: /* @__PURE__ */ jsx16(
1016
1117
  "div",
1017
1118
  {
1018
1119
  className: Modal_module_default.backdrop,
1019
1120
  role: "presentation",
1020
1121
  onClick: (e) => e.target === e.currentTarget && onDismiss(),
1021
1122
  onKeyDown: (e) => e.key === "Escape" && onDismiss(),
1022
- children: /* @__PURE__ */ jsxs3(
1123
+ children: /* @__PURE__ */ jsxs4(
1023
1124
  Box_default,
1024
1125
  {
1025
1126
  "data-testid": dataTestId,
@@ -1032,23 +1133,23 @@ function Modal({
1032
1133
  width: "100%",
1033
1134
  dangerouslySetInlineStyle: { __style: { overflow: "hidden" } },
1034
1135
  children: [
1035
- /* @__PURE__ */ jsx15(Box_default, { position: "relative", children: /* @__PURE__ */ jsx15(
1136
+ /* @__PURE__ */ jsx16(Box_default, { position: "relative", children: /* @__PURE__ */ jsx16(
1036
1137
  "button",
1037
1138
  {
1038
1139
  "aria-label": accessibilityCloseLabel,
1039
1140
  type: "button",
1040
- className: (0, import_classnames8.default)(Modal_module_default.closeButton, {
1141
+ className: (0, import_classnames9.default)(Modal_module_default.closeButton, {
1041
1142
  [Modal_module_default.closeButtonWithImage]: !!image
1042
1143
  }),
1043
1144
  onClick: onDismiss,
1044
- children: /* @__PURE__ */ jsx15(XIcon, { color: image ? "#fff" : "#000" })
1145
+ children: /* @__PURE__ */ jsx16(XIcon, { color: image ? "#fff" : "#000" })
1045
1146
  }
1046
1147
  ) }),
1047
- image && /* @__PURE__ */ jsx15(Box_default, { maxHeight: 200, children: image }),
1048
- /* @__PURE__ */ jsxs3(Box_default, { display: "flex", gap: 3, direction: "column", padding: 9, children: [
1049
- /* @__PURE__ */ jsx15(Heading_default, { as: "h1", size: 500, children: header }),
1050
- /* @__PURE__ */ jsx15(Box_default, { marginBottom: 4, children }),
1051
- footer && /* @__PURE__ */ jsx15(
1148
+ image && /* @__PURE__ */ jsx16(Box_default, { maxHeight: 200, children: image }),
1149
+ /* @__PURE__ */ jsxs4(Box_default, { display: "flex", gap: 3, direction: "column", padding: 9, children: [
1150
+ /* @__PURE__ */ jsx16(Heading_default, { as: "h1", size: 500, children: header }),
1151
+ /* @__PURE__ */ jsx16(Box_default, { marginBottom: 4, children }),
1152
+ footer && /* @__PURE__ */ jsx16(
1052
1153
  Box_default,
1053
1154
  {
1054
1155
  display: "flex",
@@ -1071,14 +1172,14 @@ function Modal({
1071
1172
  Modal.displayName = "Modal";
1072
1173
 
1073
1174
  // src/RadioButton/RadioButton.tsx
1074
- var import_classnames9 = __toESM(require_classnames());
1175
+ var import_classnames10 = __toESM(require_classnames());
1075
1176
  import { useState as useState3 } from "react";
1076
1177
 
1077
1178
  // css-module:./RadioButton.module.css#css-module
1078
1179
  var RadioButton_module_default = { "radioBaseContainer": "_radioBaseContainer_6h2zg_1", "disabled": "_disabled_6h2zg_9", "cursorDisabled": "_cursorDisabled_6h2zg_13", "cursorEnabled": "_cursorEnabled_6h2zg_17", "smBase": "_smBase_6h2zg_21", "mdBase": "_mdBase_6h2zg_25", "radioStyleOverride": "_radioStyleOverride_6h2zg_29", "smOverride": "_smOverride_6h2zg_34", "mdOverride": "_mdOverride_6h2zg_39", "background": "_background_6h2zg_44", "sm": "_sm_6h2zg_21", "md": "_md_6h2zg_25", "neutralBorder": "_neutralBorder_6h2zg_61", "smCheckedBorder": "_smCheckedBorder_6h2zg_65", "mdCheckedBorder": "_mdCheckedBorder_6h2zg_69", "errorBorderColor": "_errorBorderColor_6h2zg_73", "borderColor": "_borderColor_6h2zg_77" };
1079
1180
 
1080
1181
  // src/RadioButton/RadioButton.tsx
1081
- import { jsx as jsx16, jsxs as jsxs4 } from "react/jsx-runtime";
1182
+ import { jsx as jsx17, jsxs as jsxs5 } from "react/jsx-runtime";
1082
1183
  var RadioButton = ({
1083
1184
  checked = false,
1084
1185
  "data-testid": dataTestId,
@@ -1093,15 +1194,15 @@ var RadioButton = ({
1093
1194
  }) => {
1094
1195
  const [isFocused, setIsFocused] = useState3(false);
1095
1196
  const { isFocusVisible: isFocusVisible2 } = useFocusVisible();
1096
- const sharedStyles = (0, import_classnames9.default)(RadioButton_module_default.background, RadioButton_module_default[size], {
1197
+ const sharedStyles = (0, import_classnames10.default)(RadioButton_module_default.background, RadioButton_module_default[size], {
1097
1198
  [RadioButton_module_default.errorBorderColor]: error,
1098
1199
  [RadioButton_module_default.borderColor]: !error,
1099
1200
  [Focus_module_default.accessibilityOutlineFocus]: isFocused && isFocusVisible2
1100
1201
  });
1101
- return /* @__PURE__ */ jsxs4(
1202
+ return /* @__PURE__ */ jsxs5(
1102
1203
  "label",
1103
1204
  {
1104
- className: (0, import_classnames9.default)(
1205
+ className: (0, import_classnames10.default)(
1105
1206
  RadioButton_module_default.radioBaseContainer,
1106
1207
  RadioButton_module_default[`cursor${disabled ? "Disabled" : "Enabled"}`],
1107
1208
  {
@@ -1111,23 +1212,23 @@ var RadioButton = ({
1111
1212
  }
1112
1213
  ),
1113
1214
  children: [
1114
- checked ? /* @__PURE__ */ jsx16(
1215
+ checked ? /* @__PURE__ */ jsx17(
1115
1216
  "div",
1116
1217
  {
1117
- className: (0, import_classnames9.default)(sharedStyles, {
1218
+ className: (0, import_classnames10.default)(sharedStyles, {
1118
1219
  [RadioButton_module_default.mdCheckedBorder]: size === "md",
1119
1220
  [RadioButton_module_default.smCheckedBorder]: size === "sm"
1120
1221
  })
1121
1222
  }
1122
- ) : /* @__PURE__ */ jsx16("div", { className: (0, import_classnames9.default)(sharedStyles, RadioButton_module_default.neutralBorder) }),
1123
- /* @__PURE__ */ jsx16(
1223
+ ) : /* @__PURE__ */ jsx17("div", { className: (0, import_classnames10.default)(sharedStyles, RadioButton_module_default.neutralBorder) }),
1224
+ /* @__PURE__ */ jsx17(
1124
1225
  "input",
1125
1226
  {
1126
1227
  "data-testid": dataTestId,
1127
1228
  type: "radio",
1128
1229
  id,
1129
1230
  name,
1130
- className: (0, import_classnames9.default)(
1231
+ className: (0, import_classnames10.default)(
1131
1232
  RadioButton_module_default.radioStyleOverride,
1132
1233
  RadioButton_module_default[`cursor${disabled ? "Disabled" : "Enabled"}`],
1133
1234
  {
@@ -1147,7 +1248,7 @@ var RadioButton = ({
1147
1248
  }
1148
1249
  }
1149
1250
  ),
1150
- label && /* @__PURE__ */ jsx16(
1251
+ label && /* @__PURE__ */ jsx17(
1151
1252
  Typography_default,
1152
1253
  {
1153
1254
  size: size === "md" ? 200 : 100,
@@ -1162,7 +1263,7 @@ var RadioButton = ({
1162
1263
  var RadioButton_default = RadioButton;
1163
1264
 
1164
1265
  // src/SelectList/SelectList.tsx
1165
- var import_classnames10 = __toESM(require_classnames());
1266
+ var import_classnames11 = __toESM(require_classnames());
1166
1267
  import {
1167
1268
  useId,
1168
1269
  useState as useState4
@@ -1176,17 +1277,17 @@ var ColorBaseGray800 = "#353535";
1176
1277
  var SelectList_module_default = { "selectContainer": "_selectContainer_1cdwo_1", "opacityOverlay": "_opacityOverlay_1cdwo_7", "outerTextContainer": "_outerTextContainer_1cdwo_11", "selectWrapper": "_selectWrapper_1cdwo_16", "selectBox": "_selectBox_1cdwo_21", "selectMouseFocusStyling": "_selectMouseFocusStyling_1cdwo_37", "unselected": "_unselected_1cdwo_42", "selected": "_selected_1cdwo_46", "arrowIcon": "_arrowIcon_1cdwo_50", "sm": "_sm_1cdwo_64", "md": "_md_1cdwo_70", "lg": "_lg_1cdwo_76", "selectError": "_selectError_1cdwo_82" };
1177
1278
 
1178
1279
  // src/SelectList/SelectOption.tsx
1179
- import { jsx as jsx17 } from "react/jsx-runtime";
1280
+ import { jsx as jsx18 } from "react/jsx-runtime";
1180
1281
  var SelectOption = ({
1181
1282
  "data-testid": dataTestId,
1182
1283
  value,
1183
1284
  label,
1184
1285
  disabled = false
1185
- }) => /* @__PURE__ */ jsx17("option", { "data-testid": dataTestId, value, disabled, children: label });
1286
+ }) => /* @__PURE__ */ jsx18("option", { "data-testid": dataTestId, value, disabled, children: label });
1186
1287
  var SelectOption_default = SelectOption;
1187
1288
 
1188
1289
  // src/SelectList/SelectList.tsx
1189
- import { jsx as jsx18, jsxs as jsxs5 } from "react/jsx-runtime";
1290
+ import { jsx as jsx19, jsxs as jsxs6 } from "react/jsx-runtime";
1190
1291
  var iconSize3 = {
1191
1292
  sm: 20,
1192
1293
  md: 24,
@@ -1208,22 +1309,22 @@ function SelectList({
1208
1309
  const id = useId();
1209
1310
  const { isFocusVisible: isFocusVisible2 } = useFocusVisible();
1210
1311
  const [isFocused, setIsFocused] = useState4(false);
1211
- return /* @__PURE__ */ jsxs5(
1312
+ return /* @__PURE__ */ jsxs6(
1212
1313
  "div",
1213
1314
  {
1214
- className: (0, import_classnames10.default)(SelectList_module_default.selectContainer, {
1315
+ className: (0, import_classnames11.default)(SelectList_module_default.selectContainer, {
1215
1316
  [SelectList_module_default.opacityOverlay]: disabled
1216
1317
  }),
1217
1318
  children: [
1218
- label && /* @__PURE__ */ jsx18("label", { htmlFor: id, className: SelectList_module_default.outerTextContainer, children: /* @__PURE__ */ jsx18(Typography_default, { size: 100, color: "gray700", children: label }) }),
1219
- /* @__PURE__ */ jsxs5("div", { className: SelectList_module_default.selectWrapper, children: [
1220
- /* @__PURE__ */ jsxs5(
1319
+ label && /* @__PURE__ */ jsx19("label", { htmlFor: id, className: SelectList_module_default.outerTextContainer, children: /* @__PURE__ */ jsx19(Typography_default, { size: 100, color: "gray700", children: label }) }),
1320
+ /* @__PURE__ */ jsxs6("div", { className: SelectList_module_default.selectWrapper, children: [
1321
+ /* @__PURE__ */ jsxs6(
1221
1322
  "select",
1222
1323
  {
1223
1324
  id,
1224
1325
  "data-testid": dataTestId,
1225
1326
  disabled,
1226
- className: (0, import_classnames10.default)(SelectList_module_default.selectBox, SelectList_module_default[size], {
1327
+ className: (0, import_classnames11.default)(SelectList_module_default.selectBox, SelectList_module_default[size], {
1227
1328
  [SelectList_module_default.unselected]: !selectedValue && !errorText,
1228
1329
  [SelectList_module_default.selected]: selectedValue && !errorText,
1229
1330
  [SelectList_module_default.selectError]: errorText,
@@ -1238,19 +1339,19 @@ function SelectList({
1238
1339
  onFocus: () => setIsFocused(true),
1239
1340
  onBlur: () => setIsFocused(false),
1240
1341
  children: [
1241
- placeholderText && /* @__PURE__ */ jsx18("option", { disabled: true, value: placeholderText, children: placeholderText }),
1342
+ placeholderText && /* @__PURE__ */ jsx19("option", { disabled: true, value: placeholderText, children: placeholderText }),
1242
1343
  children
1243
1344
  ]
1244
1345
  }
1245
1346
  ),
1246
- /* @__PURE__ */ jsx18("div", { className: SelectList_module_default.arrowIcon, children: /* @__PURE__ */ jsx18(
1347
+ /* @__PURE__ */ jsx19("div", { className: SelectList_module_default.arrowIcon, children: /* @__PURE__ */ jsx19(
1247
1348
  "svg",
1248
1349
  {
1249
1350
  focusable: "false",
1250
1351
  "aria-hidden": "true",
1251
1352
  viewBox: "0 0 24 24",
1252
1353
  width: iconSize3[size],
1253
- children: /* @__PURE__ */ jsx18(
1354
+ children: /* @__PURE__ */ jsx19(
1254
1355
  "path",
1255
1356
  {
1256
1357
  fill: errorText ? ColorBaseDestructive700 : ColorBaseGray800,
@@ -1260,7 +1361,7 @@ function SelectList({
1260
1361
  }
1261
1362
  ) })
1262
1363
  ] }),
1263
- (helperText || errorText) && /* @__PURE__ */ jsx18("div", { className: SelectList_module_default.outerTextContainer, children: /* @__PURE__ */ jsx18(
1364
+ (helperText || errorText) && /* @__PURE__ */ jsx19("div", { className: SelectList_module_default.outerTextContainer, children: /* @__PURE__ */ jsx19(
1264
1365
  Typography_default,
1265
1366
  {
1266
1367
  size: 100,
@@ -1275,7 +1376,7 @@ function SelectList({
1275
1376
  SelectList.Option = SelectOption_default;
1276
1377
 
1277
1378
  // src/TextField/TextField.tsx
1278
- var import_classnames11 = __toESM(require_classnames());
1379
+ var import_classnames12 = __toESM(require_classnames());
1279
1380
  import {
1280
1381
  useId as useId2
1281
1382
  } from "react";
@@ -1284,7 +1385,7 @@ import {
1284
1385
  var TextField_module_default = { "textfield": "_textfield_cltsv_1", "label": "_label_cltsv_21", "sm": "_sm_cltsv_25", "md": "_md_cltsv_30", "lg": "_lg_cltsv_35", "inputError": "_inputError_cltsv_40" };
1285
1386
 
1286
1387
  // src/TextField/TextField.tsx
1287
- import { jsx as jsx19, jsxs as jsxs6 } from "react/jsx-runtime";
1388
+ import { jsx as jsx20, jsxs as jsxs7 } from "react/jsx-runtime";
1288
1389
  function TextField({
1289
1390
  autoComplete,
1290
1391
  "data-testid": dataTestId,
@@ -1301,7 +1402,7 @@ function TextField({
1301
1402
  }) {
1302
1403
  const reactId = useId2();
1303
1404
  const inputId = id != null ? id : reactId;
1304
- return /* @__PURE__ */ jsxs6(
1405
+ return /* @__PURE__ */ jsxs7(
1305
1406
  Box_default,
1306
1407
  {
1307
1408
  display: "flex",
@@ -1314,12 +1415,12 @@ function TextField({
1314
1415
  }
1315
1416
  },
1316
1417
  children: [
1317
- label && /* @__PURE__ */ jsx19("label", { className: TextField_module_default.label, htmlFor: inputId, children: /* @__PURE__ */ jsx19(Box_default, { paddingX: 1, children: /* @__PURE__ */ jsx19(Typography_default, { size: 100, color: "gray700", children: label }) }) }),
1318
- /* @__PURE__ */ jsx19(
1418
+ label && /* @__PURE__ */ jsx20("label", { className: TextField_module_default.label, htmlFor: inputId, children: /* @__PURE__ */ jsx20(Box_default, { paddingX: 1, children: /* @__PURE__ */ jsx20(Typography_default, { size: 100, color: "gray700", children: label }) }) }),
1419
+ /* @__PURE__ */ jsx20(
1319
1420
  "input",
1320
1421
  {
1321
1422
  autoComplete,
1322
- className: (0, import_classnames11.default)(TextField_module_default.textfield, TextField_module_default[size], {
1423
+ className: (0, import_classnames12.default)(TextField_module_default.textfield, TextField_module_default[size], {
1323
1424
  [TextField_module_default.inputError]: errorText
1324
1425
  }),
1325
1426
  "data-testid": dataTestId,
@@ -1331,7 +1432,7 @@ function TextField({
1331
1432
  value
1332
1433
  }
1333
1434
  ),
1334
- (helperText || errorText) && /* @__PURE__ */ jsx19(Box_default, { paddingX: 1, children: /* @__PURE__ */ jsx19(
1435
+ (helperText || errorText) && /* @__PURE__ */ jsx20(Box_default, { paddingX: 1, children: /* @__PURE__ */ jsx20(
1335
1436
  Typography_default,
1336
1437
  {
1337
1438
  size: 100,
@@ -1354,6 +1455,7 @@ export {
1354
1455
  Divider,
1355
1456
  Heading_default as Heading,
1356
1457
  IconButton_default as IconButton,
1458
+ LinkButton,
1357
1459
  MiniActionCard_default as MiniActionCard,
1358
1460
  Modal,
1359
1461
  RadioButton_default as RadioButton,