@uniformdev/design-system 19.58.2-alpha.0 → 19.59.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/esm/index.js CHANGED
@@ -27,7 +27,7 @@ var Theme = ({ disableReset = false, disableGlobalReset = false }) => {
27
27
  {
28
28
  dangerouslySetInnerHTML: {
29
29
  __html: `
30
- :root {
30
+ :root, :host {
31
31
  --brand-primary-1: #438fd5; /* bright blue */
32
32
  --brand-primary-2: #f4220b; /* red */
33
33
  --brand-primary-3: #83c6e1; /* slate blue */
@@ -134,10 +134,11 @@ var Theme = ({ disableReset = false, disableGlobalReset = false }) => {
134
134
  --prose: 65ch;
135
135
 
136
136
  /* brand shadow styles */
137
- --shadow-sm: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
138
- --shadow-base: rgba(50, 50, 93, 0.25) 0 2px 5px -1px,
139
- rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
140
- --shadow-md: 0px 4px 4px rgba(0, 0, 0, 0.25), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
137
+ --shadow-sm: rgba(31, 43, 52, 0.05) 0px 0px 0px 1px;
138
+ --shadow-base: rgba(31, 43, 52, 0.25) 0 2px 5px -1px,
139
+ rgba(31, 43, 52, 0.3) 0px 1px 3px -1px;
140
+ --shadow-md: 0px 4px 4px rgba(31, 43, 52, 0.25), 0 2px 4px -2px rgba(31, 43, 52, 0.1);
141
+ --shadow-xl: 0px 0px 24px rgba(31, 43, 52, 0.3);
141
142
 
142
143
  /* rounder corners */
143
144
  --rounded-sm: 0.125rem; /* 2px */
@@ -202,8 +203,7 @@ var Theme = ({ disableReset = false, disableGlobalReset = false }) => {
202
203
  {
203
204
  dangerouslySetInnerHTML: {
204
205
  __html: `
205
- html,
206
- body {
206
+ html, body, :host {
207
207
  color: var(--brand-secondary-1);
208
208
  font-family: var(--ff-base);
209
209
  scroll-behavior: smooth;
@@ -11013,14 +11013,31 @@ var TooltipArrowStyles = css17`
11013
11013
 
11014
11014
  // src/components/Tooltip/Tooltip.tsx
11015
11015
  import { Fragment as Fragment4, jsx as jsx17, jsxs as jsxs8 } from "@emotion/react/jsx-runtime";
11016
- function Tooltip({ children, title: title2, placement = "bottom", visible, ...props }) {
11016
+ function Tooltip({
11017
+ children,
11018
+ title: title2,
11019
+ placement = "bottom",
11020
+ visible,
11021
+ withoutPortal = false,
11022
+ ...props
11023
+ }) {
11017
11024
  const tooltip = useTooltipState({ placement });
11018
11025
  return !title2 ? children : /* @__PURE__ */ jsxs8(Fragment4, { children: [
11019
11026
  /* @__PURE__ */ jsx17(TooltipReference, { ...tooltip, ...children.props, children: (referenceProps) => React5.cloneElement(children, referenceProps) }),
11020
- /* @__PURE__ */ jsxs8(ReakitTooltip, { ...tooltip, ...props, css: TooltipContainer, visible: visible != null ? visible : tooltip.visible, children: [
11021
- /* @__PURE__ */ jsx17(TooltipArrow, { ...tooltip, css: TooltipArrowStyles }),
11022
- title2
11023
- ] })
11027
+ /* @__PURE__ */ jsxs8(
11028
+ ReakitTooltip,
11029
+ {
11030
+ ...tooltip,
11031
+ ...props,
11032
+ unstable_portal: !withoutPortal,
11033
+ css: TooltipContainer,
11034
+ visible: visible != null ? visible : tooltip.visible,
11035
+ children: [
11036
+ /* @__PURE__ */ jsx17(TooltipArrow, { ...tooltip, css: TooltipArrowStyles }),
11037
+ title2
11038
+ ]
11039
+ }
11040
+ )
11024
11041
  ] });
11025
11042
  }
11026
11043
 
@@ -11461,6 +11478,41 @@ var Button = React6.forwardRef(
11461
11478
 
11462
11479
  // src/components/ButtonWithMenu/ButtonWithMenu.tsx
11463
11480
  import { CgChevronDown } from "@react-icons/all-files/cg/CgChevronDown";
11481
+ import { CgMathPlus as CgMathPlus2 } from "@react-icons/all-files/cg/CgMathPlus";
11482
+
11483
+ // src/components/Layout/styles/HorizontalRhythm.styles.ts
11484
+ import { css as css23 } from "@emotion/react";
11485
+ var HorizontalRhythmContainer = (size) => css23`
11486
+ display: flex;
11487
+ gap: var(--spacing-${size});
11488
+ `;
11489
+
11490
+ // src/components/Layout/HorizontalRhythm.tsx
11491
+ import { jsx as jsx23 } from "@emotion/react/jsx-runtime";
11492
+ var HorizontalRhythm = ({
11493
+ align,
11494
+ justify,
11495
+ tag = "div",
11496
+ gap = "base",
11497
+ children,
11498
+ ...props
11499
+ }) => {
11500
+ const Tag = tag;
11501
+ return /* @__PURE__ */ jsx23(
11502
+ Tag,
11503
+ {
11504
+ css: [
11505
+ HorizontalRhythmContainer(gap),
11506
+ {
11507
+ justifyContent: justify,
11508
+ alignItems: align
11509
+ }
11510
+ ],
11511
+ ...props,
11512
+ children
11513
+ }
11514
+ );
11515
+ };
11464
11516
 
11465
11517
  // src/components/Menu/Menu.tsx
11466
11518
  import * as React8 from "react";
@@ -11475,13 +11527,13 @@ import { Portal } from "reakit/Portal";
11475
11527
  import React7, { isValidElement } from "react";
11476
11528
 
11477
11529
  // src/components/Menu/MenuGroup.styles.ts
11478
- import { css as css23 } from "@emotion/react";
11479
- var MenuGroupContainer = (hasTitle) => css23`
11530
+ import { css as css24 } from "@emotion/react";
11531
+ var MenuGroupContainer = (hasTitle) => css24`
11480
11532
  display: flex;
11481
11533
  flex-direction: column;
11482
11534
  ${hasTitle ? "margin-top: var(--spacing-sm);" : ""}
11483
11535
  `;
11484
- var MenuTitle = css23`
11536
+ var MenuTitle = css24`
11485
11537
  color: var(--gray-400);
11486
11538
  font-size: var(--fs-xs);
11487
11539
  font-weight: var(--fw-bold);
@@ -11490,22 +11542,22 @@ var MenuTitle = css23`
11490
11542
  `;
11491
11543
 
11492
11544
  // src/components/Menu/MenuGroup.tsx
11493
- import { jsx as jsx23, jsxs as jsxs14 } from "@emotion/react/jsx-runtime";
11545
+ import { jsx as jsx24, jsxs as jsxs14 } from "@emotion/react/jsx-runtime";
11494
11546
  var MenuGroup = ({ title: title2, children }) => {
11495
11547
  return /* @__PURE__ */ jsxs14("div", { css: MenuGroupContainer(!!title2), "data-testid": "menu-group", children: [
11496
- title2 ? /* @__PURE__ */ jsx23("span", { css: MenuTitle, children: title2 }) : null,
11548
+ title2 ? /* @__PURE__ */ jsx24("span", { css: MenuTitle, children: title2 }) : null,
11497
11549
  children
11498
11550
  ] });
11499
11551
  };
11500
11552
 
11501
11553
  // src/components/Menu/MenuItem.styles.ts
11502
- import { css as css24 } from "@emotion/react";
11503
- var activeMenuItem = css24`
11554
+ import { css as css25 } from "@emotion/react";
11555
+ var activeMenuItem = css25`
11504
11556
  box-shadow: none;
11505
11557
  background: var(--gray-200);
11506
11558
  outline: none;
11507
11559
  `;
11508
- var menuItem = (textTheme, forceActive) => css24`
11560
+ var menuItem = (textTheme, forceActive) => css25`
11509
11561
  align-items: center;
11510
11562
  border: none;
11511
11563
  border-radius: var(--rounded-base);
@@ -11530,7 +11582,7 @@ var menuItem = (textTheme, forceActive) => css24`
11530
11582
  ${typeof forceActive === "undefined" ? activeMenuItem : ""}
11531
11583
  }
11532
11584
  `;
11533
- var menuItemWithIcon = css24`
11585
+ var menuItemWithIcon = css25`
11534
11586
  align-items: center;
11535
11587
  display: flex;
11536
11588
  justify-content: space-between;
@@ -11542,15 +11594,15 @@ var menuItemWithIcon = css24`
11542
11594
  height: var(--spacing-base);
11543
11595
  }
11544
11596
  `;
11545
- var menuItemSeparator = css24`
11597
+ var menuItemSeparator = css25`
11546
11598
  border-top: 1px solid var(--gray-300);
11547
11599
  width: 100%;
11548
11600
  margin-block: var(--spacing-sm);
11549
11601
  `;
11550
11602
 
11551
11603
  // src/components/Menu/MenuItemSeparator.tsx
11552
- import { jsx as jsx24 } from "@emotion/react/jsx-runtime";
11553
- var MenuItemSeparator = () => /* @__PURE__ */ jsx24("hr", { css: menuItemSeparator, "data-testid": "menu-separator" });
11604
+ import { jsx as jsx25 } from "@emotion/react/jsx-runtime";
11605
+ var MenuItemSeparator = () => /* @__PURE__ */ jsx25("hr", { css: menuItemSeparator, "data-testid": "menu-separator" });
11554
11606
 
11555
11607
  // src/components/Menu/filterMenuSeparators.ts
11556
11608
  function filterMenuSeparators(children, context) {
@@ -11598,8 +11650,8 @@ function isMenuSeparator(child) {
11598
11650
  }
11599
11651
 
11600
11652
  // src/components/Menu/Menu.styles.ts
11601
- import { css as css25 } from "@emotion/react";
11602
- var menu = css25`
11653
+ import { css as css26 } from "@emotion/react";
11654
+ var menu = css26`
11603
11655
  box-shadow: var(--shadow-base);
11604
11656
  border-radius: var(--rounded-base);
11605
11657
  background: var(--gray-50);
@@ -11628,7 +11680,7 @@ var menu = css25`
11628
11680
  `;
11629
11681
 
11630
11682
  // src/components/Menu/Menu.tsx
11631
- import { jsx as jsx25, jsxs as jsxs15 } from "@emotion/react/jsx-runtime";
11683
+ import { jsx as jsx26, jsxs as jsxs15 } from "@emotion/react/jsx-runtime";
11632
11684
  var MenuContext = React8.createContext({});
11633
11685
  var useMenuContext = () => {
11634
11686
  return React8.useContext(MenuContext);
@@ -11657,8 +11709,8 @@ var Menu = ({
11657
11709
  }, [menuState.visible, setIsRendered]);
11658
11710
  const Wrapper = withoutPortal ? React8.Fragment : Portal;
11659
11711
  return /* @__PURE__ */ jsxs15(MenuContext.Provider, { value: menuState, children: [
11660
- /* @__PURE__ */ jsx25(MenuButton, { ...menuState, ref: menuTrigger.ref, ...menuTrigger.props, children: (triggerProps) => React8.cloneElement(menuTrigger, triggerProps) }),
11661
- /* @__PURE__ */ jsx25(Wrapper, { children: /* @__PURE__ */ jsx25(
11712
+ /* @__PURE__ */ jsx26(MenuButton, { ...menuState, ref: menuTrigger.ref, ...menuTrigger.props, children: (triggerProps) => React8.cloneElement(menuTrigger, triggerProps) }),
11713
+ /* @__PURE__ */ jsx26(Wrapper, { children: /* @__PURE__ */ jsx26(
11662
11714
  BaseMenu,
11663
11715
  {
11664
11716
  ...menuState,
@@ -11681,7 +11733,7 @@ var Menu = ({
11681
11733
  // src/components/Menu/MenuItem.tsx
11682
11734
  import * as React9 from "react";
11683
11735
  import { MenuItem as BaseMenuItem } from "reakit";
11684
- import { jsx as jsx26, jsxs as jsxs16 } from "@emotion/react/jsx-runtime";
11736
+ import { jsx as jsx27, jsxs as jsxs16 } from "@emotion/react/jsx-runtime";
11685
11737
  var MenuItem = React9.forwardRef(
11686
11738
  ({ children, className, hideMenuOnClick = true, icon, textColor = "base", active, ...props }, ref) => {
11687
11739
  const menuState = useMenuContext();
@@ -11699,7 +11751,7 @@ var MenuItem = React9.forwardRef(
11699
11751
  };
11700
11752
  const resolvedProps = hideMenuOnClick ? resolveProps(props) : props;
11701
11753
  const resolvedChildren = typeof children === "function" ? children(resolvedProps) : children;
11702
- return /* @__PURE__ */ jsx26(
11754
+ return /* @__PURE__ */ jsx27(
11703
11755
  BaseMenuItem,
11704
11756
  {
11705
11757
  ref,
@@ -11723,8 +11775,8 @@ function renderWithIcon(children, icon) {
11723
11775
  }
11724
11776
 
11725
11777
  // src/components/ButtonWithMenu/ButtonWithMenu.styles.ts
11726
- import { css as css26 } from "@emotion/react";
11727
- var buttonSizeBase = css26`
11778
+ import { css as css27 } from "@emotion/react";
11779
+ var buttonSizeBase = css27`
11728
11780
  --icon-padding: var(--spacing-xs);
11729
11781
  --svg-size: 1rem;
11730
11782
  --line-offset: -5px;
@@ -11734,7 +11786,7 @@ var buttonSizeBase = css26`
11734
11786
  padding: var(--spacing-sm) var(--spacing-base);
11735
11787
  }
11736
11788
  `;
11737
- var buttonSizeSmall = css26`
11789
+ var buttonSizeSmall = css27`
11738
11790
  --icon-padding: var(--spacing-xs);
11739
11791
  --svg-size: 0.85rem;
11740
11792
  --line-offset: -1px;
@@ -11744,10 +11796,10 @@ var buttonSizeSmall = css26`
11744
11796
  padding: var(--spacing-xs) var(--spacing-base);
11745
11797
  }
11746
11798
  `;
11747
- var buttonSizeLarge = css26`
11799
+ var buttonSizeLarge = css27`
11748
11800
  --icon-padding: var(--spacing-sm);
11749
11801
  --svg-size: 1.5rem;
11750
- --line-offset: -5px;
11802
+ --line-offset: -1px;
11751
11803
  font-size: var(--fs-sm);
11752
11804
  line-height: 1.25;
11753
11805
 
@@ -11755,7 +11807,7 @@ var buttonSizeLarge = css26`
11755
11807
  padding: var(--spacing-sm) var(--spacing-base);
11756
11808
  }
11757
11809
  `;
11758
- var ButtonWithMenuContainer = css26`
11810
+ var ButtonWithMenuContainer = css27`
11759
11811
  align-items: center;
11760
11812
  border: 1px solid transparent;
11761
11813
  border-radius: var(--rounded-sm);
@@ -11784,7 +11836,7 @@ var ButtonWithMenuContainer = css26`
11784
11836
  height: var(--svg-size);
11785
11837
  }
11786
11838
  `;
11787
- var ButtonWithMenuBtn = css26`
11839
+ var ButtonWithMenuBtn = css27`
11788
11840
  align-items: center;
11789
11841
  border: 1px solid transparent;
11790
11842
  background: transparent;
@@ -11806,7 +11858,7 @@ var ButtonWithMenuBtn = css26`
11806
11858
  pointer-events: none;
11807
11859
  }
11808
11860
  `;
11809
- var ButtonWithMenuIcon = css26`
11861
+ var ButtonWithMenuIcon = css27`
11810
11862
  padding: var(--icon-padding);
11811
11863
  position: relative;
11812
11864
 
@@ -11819,15 +11871,15 @@ var ButtonWithMenuIcon = css26`
11819
11871
  position: absolute;
11820
11872
  }
11821
11873
  `;
11822
- var buttonPrimary2 = css26`
11874
+ var buttonPrimary2 = css27`
11823
11875
  background: var(--brand-secondary-1);
11824
11876
  color: var(--white);
11825
11877
  `;
11826
- var buttonPrimaryDisabled = css26`
11878
+ var buttonPrimaryDisabled = css27`
11827
11879
  background: var(--gray-300);
11828
11880
  color: var(--white);
11829
11881
  `;
11830
- var buttonSecondary2 = css26`
11882
+ var buttonSecondary2 = css27`
11831
11883
  background: var(--primary-action-default);
11832
11884
  color: var(--white);
11833
11885
 
@@ -11835,17 +11887,17 @@ var buttonSecondary2 = css26`
11835
11887
  background: var(--primary-action-hover);
11836
11888
  }
11837
11889
  `;
11838
- var buttonSecondaryDisabled = css26`
11890
+ var buttonSecondaryDisabled = css27`
11839
11891
  ${buttonPrimaryDisabled}
11840
11892
  `;
11841
- var buttonUnimportant2 = css26`
11893
+ var buttonUnimportant2 = css27`
11842
11894
  background: var(--brand-secondary-2);
11843
11895
  color: var(--brand-secondary-1);
11844
11896
  `;
11845
- var buttonUnimportantDisabled = css26`
11897
+ var buttonUnimportantDisabled = css27`
11846
11898
  ${buttonPrimaryDisabled}
11847
11899
  `;
11848
- var buttonGhost2 = css26`
11900
+ var buttonGhost2 = css27`
11849
11901
  background: transparent;
11850
11902
  color: var(--brand-secondary-3);
11851
11903
 
@@ -11853,11 +11905,11 @@ var buttonGhost2 = css26`
11853
11905
  border-color: var(--brand-secondary-3);
11854
11906
  }
11855
11907
  `;
11856
- var buttonGhostDisabled = css26`
11908
+ var buttonGhostDisabled = css27`
11857
11909
  border-color: var(--gray-400);
11858
11910
  color: var(--gray-400);
11859
11911
  `;
11860
- var buttonSecondaryOutline = css26`
11912
+ var buttonSecondaryOutline = css27`
11861
11913
  background: var(--white);
11862
11914
  color: var(--primary-action-default);
11863
11915
  border-color: var(--primary-action-default);
@@ -11867,17 +11919,20 @@ var buttonSecondaryOutline = css26`
11867
11919
  border-color: var(--primary-action-hover);
11868
11920
  }
11869
11921
  `;
11870
- var buttonSecondaryOutlineDisabled = css26`
11922
+ var buttonSecondaryOutlineDisabled = css27`
11871
11923
  background: var(--white);
11872
11924
  color: var(--gray-400);
11873
11925
  border-color: var(--gray-400);
11874
11926
  `;
11875
- var buttonWithMenuIconOffset = css26`
11927
+ var buttonWithMenuIconOffset = css27`
11876
11928
  margin-left: -10px;
11877
11929
  `;
11930
+ var wholeButtonWithMenuIconOffset = css27`
11931
+ margin: 3px -10px 0 3px;
11932
+ `;
11878
11933
 
11879
11934
  // src/components/ButtonWithMenu/ButtonWithMenu.tsx
11880
- import { jsx as jsx27, jsxs as jsxs17 } from "@emotion/react/jsx-runtime";
11935
+ import { Fragment as Fragment6, jsx as jsx28, jsxs as jsxs17 } from "@emotion/react/jsx-runtime";
11881
11936
  var ButtonWithMenu = ({
11882
11937
  onButtonClick,
11883
11938
  buttonType = "secondary",
@@ -11908,7 +11963,12 @@ var ButtonWithMenu = ({
11908
11963
  sm: buttonSizeSmall,
11909
11964
  lg: buttonSizeLarge
11910
11965
  };
11911
- return /* @__PURE__ */ jsxs17(
11966
+ const clickableButton = /* @__PURE__ */ jsx28("div", { css: ButtonWithMenuIcon, "data-testid": "multioptions-button-call-menu", children: /* @__PURE__ */ jsx28(Icon, { icon: CgChevronDown, iconColor: "currentColor" }) });
11967
+ const dropdownButton = /* @__PURE__ */ jsx28("div", { css: ButtonWithMenuIcon, "data-testid": "multioptions-button-call-menu", children: /* @__PURE__ */ jsxs17(HorizontalRhythm, { justify: "center", children: [
11968
+ /* @__PURE__ */ jsx28(Icon, { icon: CgMathPlus2, iconColor: "currentColor", css: wholeButtonWithMenuIconOffset }),
11969
+ /* @__PURE__ */ jsx28("span", { css: { marginRight: "var(--spacing-xs)", fontSize: "var(--fs-sm)" }, children: buttonText })
11970
+ ] }) });
11971
+ return /* @__PURE__ */ jsx28(
11912
11972
  "div",
11913
11973
  {
11914
11974
  css: [
@@ -11917,7 +11977,7 @@ var ButtonWithMenu = ({
11917
11977
  disabled ? buttonDisabledTheme[buttonType] : buttonTheme[buttonType]
11918
11978
  ],
11919
11979
  "data-testid": "multioptions-button",
11920
- children: [
11980
+ children: onButtonClick ? /* @__PURE__ */ jsxs17(Fragment6, { children: [
11921
11981
  /* @__PURE__ */ jsxs17(
11922
11982
  "button",
11923
11983
  {
@@ -11928,38 +11988,30 @@ var ButtonWithMenu = ({
11928
11988
  "data-testid": "multioptions-button-main",
11929
11989
  ...buttonProps,
11930
11990
  children: [
11931
- icon ? /* @__PURE__ */ jsx27(Icon, { icon, iconColor: "currentColor", css: buttonWithMenuIconOffset }) : null,
11991
+ icon ? /* @__PURE__ */ jsx28(Icon, { icon, iconColor: "currentColor", css: buttonWithMenuIconOffset }) : null,
11932
11992
  buttonText
11933
11993
  ]
11934
11994
  }
11935
11995
  ),
11936
- /* @__PURE__ */ jsx27(
11937
- Menu,
11938
- {
11939
- menuLabel: "buttonMenu",
11940
- placement,
11941
- menuTrigger: /* @__PURE__ */ jsx27("div", { css: ButtonWithMenuIcon, "data-testid": "multioptions-button-call-menu", children: /* @__PURE__ */ jsx27(Icon, { icon: CgChevronDown, iconColor: "currentColor" }) }),
11942
- children
11943
- }
11944
- )
11945
- ]
11996
+ disabled ? clickableButton : /* @__PURE__ */ jsx28(Menu, { menuLabel: "buttonMenu", placement, menuTrigger: clickableButton, children })
11997
+ ] }) : /* @__PURE__ */ jsx28(Fragment6, { children: disabled ? dropdownButton : /* @__PURE__ */ jsx28(Menu, { menuLabel: "buttonMenu", placement, menuTrigger: dropdownButton, children }) })
11946
11998
  }
11947
11999
  );
11948
12000
  };
11949
12001
 
11950
12002
  // src/components/Callout/Callout.tsx
11951
- import { css as css28 } from "@emotion/react";
12003
+ import { css as css29 } from "@emotion/react";
11952
12004
 
11953
12005
  // src/components/Callout/Callout.styles.ts
11954
- import { css as css27 } from "@emotion/react";
11955
- var calloutContainer = css27`
12006
+ import { css as css28 } from "@emotion/react";
12007
+ var calloutContainer = css28`
11956
12008
  ${functionalColors}
11957
12009
 
11958
12010
  font-size: var(--fs-sm);
11959
12011
  border-radius: var(--rounded-base);
11960
12012
  padding: var(--spacing-base);
11961
12013
  `;
11962
- var calloutContainerCompact = css27`
12014
+ var calloutContainerCompact = css28`
11963
12015
  font-size: var(--fs-xs);
11964
12016
  padding: var(--spacing-sm);
11965
12017
  border-radius: 0 var(--rounded-base) var(--rounded-base) 0;
@@ -11971,33 +12023,33 @@ var calloutContainerCompact = css27`
11971
12023
  --note-desc: var(--brand-secondary-1);
11972
12024
  --success-desc: var(--brand-secondary-1);
11973
12025
  `;
11974
- var calloutInner = css27`
12026
+ var calloutInner = css28`
11975
12027
  display: flex;
11976
12028
  gap: var(--spacing-sm);
11977
12029
  `;
11978
- var calloutBody = css27`
12030
+ var calloutBody = css28`
11979
12031
  display: flex;
11980
12032
  flex-direction: column;
11981
12033
  gap: var(--spacing-base);
11982
12034
  flex: 1;
11983
12035
  `;
11984
- var calloutBodyCompact = css27`
12036
+ var calloutBodyCompact = css28`
11985
12037
  gap: var(--spacing-xs);
11986
12038
  `;
11987
- var calloutIconWrap = css27`
12039
+ var calloutIconWrap = css28`
11988
12040
  flex-shrink: 0;
11989
12041
  `;
11990
- var calloutTitle = css27`
12042
+ var calloutTitle = css28`
11991
12043
  font-weight: var(--fw-bold);
11992
12044
  `;
11993
- var calloutIcon = css27`
12045
+ var calloutIcon = css28`
11994
12046
  width: 1.25rem;
11995
12047
  height: 1.25rem;
11996
12048
  `;
11997
12049
 
11998
12050
  // src/components/Callout/CalloutIcons.tsx
11999
- import { jsx as jsx28 } from "@emotion/react/jsx-runtime";
12000
- var InfoIcon = ({ ...props }) => /* @__PURE__ */ jsx28(
12051
+ import { jsx as jsx29 } from "@emotion/react/jsx-runtime";
12052
+ var InfoIcon = ({ ...props }) => /* @__PURE__ */ jsx29(
12001
12053
  "svg",
12002
12054
  {
12003
12055
  role: "img",
@@ -12008,7 +12060,7 @@ var InfoIcon = ({ ...props }) => /* @__PURE__ */ jsx28(
12008
12060
  viewBox: "0 0 14 16",
12009
12061
  fill: "currentColor",
12010
12062
  ...props,
12011
- children: /* @__PURE__ */ jsx28(
12063
+ children: /* @__PURE__ */ jsx29(
12012
12064
  "path",
12013
12065
  {
12014
12066
  fillRule: "evenodd",
@@ -12017,7 +12069,7 @@ var InfoIcon = ({ ...props }) => /* @__PURE__ */ jsx28(
12017
12069
  )
12018
12070
  }
12019
12071
  );
12020
- var DangerIcon = ({ ...props }) => /* @__PURE__ */ jsx28(
12072
+ var DangerIcon = ({ ...props }) => /* @__PURE__ */ jsx29(
12021
12073
  "svg",
12022
12074
  {
12023
12075
  role: "img",
@@ -12028,7 +12080,7 @@ var DangerIcon = ({ ...props }) => /* @__PURE__ */ jsx28(
12028
12080
  viewBox: "0 0 12 16",
12029
12081
  fill: "currentColor",
12030
12082
  ...props,
12031
- children: /* @__PURE__ */ jsx28(
12083
+ children: /* @__PURE__ */ jsx29(
12032
12084
  "path",
12033
12085
  {
12034
12086
  fillRule: "evenodd",
@@ -12037,7 +12089,7 @@ var DangerIcon = ({ ...props }) => /* @__PURE__ */ jsx28(
12037
12089
  )
12038
12090
  }
12039
12091
  );
12040
- var NoteIcon = ({ ...props }) => /* @__PURE__ */ jsx28(
12092
+ var NoteIcon = ({ ...props }) => /* @__PURE__ */ jsx29(
12041
12093
  "svg",
12042
12094
  {
12043
12095
  role: "img",
@@ -12048,7 +12100,7 @@ var NoteIcon = ({ ...props }) => /* @__PURE__ */ jsx28(
12048
12100
  viewBox: "0 0 14 16",
12049
12101
  fill: "currentColor",
12050
12102
  ...props,
12051
- children: /* @__PURE__ */ jsx28(
12103
+ children: /* @__PURE__ */ jsx29(
12052
12104
  "path",
12053
12105
  {
12054
12106
  fillRule: "evenodd",
@@ -12057,7 +12109,7 @@ var NoteIcon = ({ ...props }) => /* @__PURE__ */ jsx28(
12057
12109
  )
12058
12110
  }
12059
12111
  );
12060
- var TipIcon = ({ ...props }) => /* @__PURE__ */ jsx28(
12112
+ var TipIcon = ({ ...props }) => /* @__PURE__ */ jsx29(
12061
12113
  "svg",
12062
12114
  {
12063
12115
  role: "img",
@@ -12068,7 +12120,7 @@ var TipIcon = ({ ...props }) => /* @__PURE__ */ jsx28(
12068
12120
  viewBox: "0 0 12 16",
12069
12121
  fill: "currentColor",
12070
12122
  ...props,
12071
- children: /* @__PURE__ */ jsx28(
12123
+ children: /* @__PURE__ */ jsx29(
12072
12124
  "path",
12073
12125
  {
12074
12126
  fillRule: "evenodd",
@@ -12077,7 +12129,7 @@ var TipIcon = ({ ...props }) => /* @__PURE__ */ jsx28(
12077
12129
  )
12078
12130
  }
12079
12131
  );
12080
- var CautionIcon = ({ ...props }) => /* @__PURE__ */ jsx28(
12132
+ var CautionIcon = ({ ...props }) => /* @__PURE__ */ jsx29(
12081
12133
  "svg",
12082
12134
  {
12083
12135
  role: "img",
@@ -12088,7 +12140,7 @@ var CautionIcon = ({ ...props }) => /* @__PURE__ */ jsx28(
12088
12140
  viewBox: "0 0 16 16",
12089
12141
  fill: "currentColor",
12090
12142
  ...props,
12091
- children: /* @__PURE__ */ jsx28(
12143
+ children: /* @__PURE__ */ jsx29(
12092
12144
  "path",
12093
12145
  {
12094
12146
  fillRule: "evenodd",
@@ -12097,7 +12149,7 @@ var CautionIcon = ({ ...props }) => /* @__PURE__ */ jsx28(
12097
12149
  )
12098
12150
  }
12099
12151
  );
12100
- var SuccessIcon = ({ ...props }) => /* @__PURE__ */ jsx28(
12152
+ var SuccessIcon = ({ ...props }) => /* @__PURE__ */ jsx29(
12101
12153
  "svg",
12102
12154
  {
12103
12155
  role: "img",
@@ -12108,7 +12160,7 @@ var SuccessIcon = ({ ...props }) => /* @__PURE__ */ jsx28(
12108
12160
  fill: "currentColor",
12109
12161
  xmlns: "http://www.w3.org/2000/svg",
12110
12162
  ...props,
12111
- children: /* @__PURE__ */ jsx28(
12163
+ children: /* @__PURE__ */ jsx29(
12112
12164
  "path",
12113
12165
  {
12114
12166
  fillRule: "evenodd",
@@ -12120,95 +12172,95 @@ var SuccessIcon = ({ ...props }) => /* @__PURE__ */ jsx28(
12120
12172
  );
12121
12173
 
12122
12174
  // src/components/Callout/Callout.tsx
12123
- import { jsx as jsx29, jsxs as jsxs18 } from "@emotion/react/jsx-runtime";
12175
+ import { jsx as jsx30, jsxs as jsxs18 } from "@emotion/react/jsx-runtime";
12124
12176
  var calloutTypeDataMap = {
12125
12177
  caution: {
12126
12178
  icon: CautionIcon,
12127
- descriptionColor: css28`
12179
+ descriptionColor: css29`
12128
12180
  color: var(--caution-desc);
12129
12181
  `,
12130
- iconColor: css28`
12182
+ iconColor: css29`
12131
12183
  color: var(--caution-icon);
12132
12184
  `,
12133
- containerStyles: css28`
12185
+ containerStyles: css29`
12134
12186
  color: var(--caution-title);
12135
12187
  background-color: var(--caution-container);
12136
12188
  `
12137
12189
  },
12138
12190
  danger: {
12139
12191
  icon: DangerIcon,
12140
- descriptionColor: css28`
12192
+ descriptionColor: css29`
12141
12193
  color: var(--danger-desc);
12142
12194
  `,
12143
- iconColor: css28`
12195
+ iconColor: css29`
12144
12196
  color: var(--danger-icon);
12145
12197
  `,
12146
- containerStyles: css28`
12198
+ containerStyles: css29`
12147
12199
  color: var(--danger-title);
12148
12200
  background-color: var(--danger-container);
12149
12201
  `
12150
12202
  },
12151
12203
  error: {
12152
12204
  icon: CautionIcon,
12153
- descriptionColor: css28`
12205
+ descriptionColor: css29`
12154
12206
  color: var(--danger-desc);
12155
12207
  `,
12156
- iconColor: css28`
12208
+ iconColor: css29`
12157
12209
  color: var(--danger-icon);
12158
12210
  `,
12159
- containerStyles: css28`
12211
+ containerStyles: css29`
12160
12212
  color: var(--danger-title);
12161
12213
  background-color: var(--danger-container);
12162
12214
  `
12163
12215
  },
12164
12216
  info: {
12165
12217
  icon: InfoIcon,
12166
- descriptionColor: css28`
12218
+ descriptionColor: css29`
12167
12219
  color: var(--info-desc);
12168
12220
  `,
12169
- iconColor: css28`
12221
+ iconColor: css29`
12170
12222
  color: var(--info-icon);
12171
12223
  `,
12172
- containerStyles: css28`
12224
+ containerStyles: css29`
12173
12225
  color: var(--info-title);
12174
12226
  background-color: var(--info-container);
12175
12227
  `
12176
12228
  },
12177
12229
  note: {
12178
12230
  icon: NoteIcon,
12179
- descriptionColor: css28`
12231
+ descriptionColor: css29`
12180
12232
  color: var(--note-desc);
12181
12233
  `,
12182
- iconColor: css28`
12234
+ iconColor: css29`
12183
12235
  color: var(--note-icon);
12184
12236
  `,
12185
- containerStyles: css28`
12237
+ containerStyles: css29`
12186
12238
  color: var(--note-title);
12187
12239
  background-color: var(--note-container);
12188
12240
  `
12189
12241
  },
12190
12242
  success: {
12191
12243
  icon: SuccessIcon,
12192
- descriptionColor: css28`
12244
+ descriptionColor: css29`
12193
12245
  color: var(--success-desc);
12194
12246
  `,
12195
- iconColor: css28`
12247
+ iconColor: css29`
12196
12248
  color: var(--success-icon);
12197
12249
  `,
12198
- containerStyles: css28`
12250
+ containerStyles: css29`
12199
12251
  color: var(--success-title);
12200
12252
  background-color: var(--success-container);
12201
12253
  `
12202
12254
  },
12203
12255
  tip: {
12204
12256
  icon: TipIcon,
12205
- descriptionColor: css28`
12257
+ descriptionColor: css29`
12206
12258
  color: var(--success-desc);
12207
12259
  `,
12208
- iconColor: css28`
12260
+ iconColor: css29`
12209
12261
  color: var(--success-icon);
12210
12262
  `,
12211
- containerStyles: css28`
12263
+ containerStyles: css29`
12212
12264
  color: var(--success-title);
12213
12265
  background-color: var(--success-container);
12214
12266
  `
@@ -12227,7 +12279,7 @@ var Callout = ({
12227
12279
  return null;
12228
12280
  }
12229
12281
  const Icon2 = calloutTypeData.icon;
12230
- return /* @__PURE__ */ jsx29(
12282
+ return /* @__PURE__ */ jsx30(
12231
12283
  "div",
12232
12284
  {
12233
12285
  "data-testid": testId ? testId : "sdk-ui-callout",
@@ -12239,10 +12291,10 @@ var Callout = ({
12239
12291
  ],
12240
12292
  className: `${typeof className === "string" ? className : ""}`,
12241
12293
  children: /* @__PURE__ */ jsxs18("div", { css: calloutInner, children: [
12242
- compact ? null : /* @__PURE__ */ jsx29("div", { css: calloutIconWrap, children: /* @__PURE__ */ jsx29(Icon2, { css: [calloutIcon, calloutTypeData.iconColor] }) }),
12294
+ compact ? null : /* @__PURE__ */ jsx30("div", { css: calloutIconWrap, children: /* @__PURE__ */ jsx30(Icon2, { css: [calloutIcon, calloutTypeData.iconColor] }) }),
12243
12295
  /* @__PURE__ */ jsxs18("div", { css: [calloutBody, compact ? calloutBodyCompact : void 0], children: [
12244
- title2 ? /* @__PURE__ */ jsx29("div", { css: [calloutTitle], "data-testid": "callout-title", children: title2 }) : null,
12245
- children ? /* @__PURE__ */ jsx29("div", { css: [calloutTypeData.descriptionColor], "data-testid": "callout-description", children }) : null
12296
+ title2 ? /* @__PURE__ */ jsx30("div", { css: [calloutTitle], "data-testid": "callout-title", children: title2 }) : null,
12297
+ children ? /* @__PURE__ */ jsx30("div", { css: [calloutTypeData.descriptionColor], "data-testid": "callout-description", children }) : null
12246
12298
  ] })
12247
12299
  ] })
12248
12300
  }
@@ -12253,8 +12305,8 @@ var Callout = ({
12253
12305
  import { CgMoreAlt } from "@react-icons/all-files/cg/CgMoreAlt";
12254
12306
 
12255
12307
  // src/components/Card/Card.styles.ts
12256
- import { css as css29 } from "@emotion/react";
12257
- var CardContainer = css29`
12308
+ import { css as css30 } from "@emotion/react";
12309
+ var CardContainer = css30`
12258
12310
  background: var(--white);
12259
12311
  border: 1px solid var(--gray-300);
12260
12312
  border-radius: var(--rounded-base);
@@ -12267,7 +12319,7 @@ var CardContainer = css29`
12267
12319
  background: var(--gray-50);
12268
12320
  }
12269
12321
  `;
12270
- var CardTitle = (marginBottom) => css29`
12322
+ var CardTitle = (marginBottom) => css30`
12271
12323
  display: flex;
12272
12324
  margin: ${marginBottom ? "0 0 var(--spacing-base)" : "0"};
12273
12325
  padding-right: var(--spacing-lg);
@@ -12275,7 +12327,7 @@ var CardTitle = (marginBottom) => css29`
12275
12327
  gap: var(--spacing-xs);
12276
12328
  font-weight: var(--fw-regular);
12277
12329
  `;
12278
- var CardMenu = css29`
12330
+ var CardMenu = css30`
12279
12331
  align-items: center;
12280
12332
  background: transparent;
12281
12333
  color: var(--gray-300);
@@ -12296,7 +12348,7 @@ var CardMenu = css29`
12296
12348
  `;
12297
12349
 
12298
12350
  // src/components/Card/Card.tsx
12299
- import { jsx as jsx30, jsxs as jsxs19 } from "@emotion/react/jsx-runtime";
12351
+ import { jsx as jsx31, jsxs as jsxs19 } from "@emotion/react/jsx-runtime";
12300
12352
  var Card = ({
12301
12353
  title: title2,
12302
12354
  menuItems,
@@ -12308,12 +12360,12 @@ var Card = ({
12308
12360
  ...props
12309
12361
  }) => {
12310
12362
  return /* @__PURE__ */ jsxs19(Tag, { css: CardContainer, ...props, children: [
12311
- title2 ? /* @__PURE__ */ jsx30(CardTitle2, { title: title2, titleWithMarginBottom }) : null,
12312
- menuItems ? /* @__PURE__ */ jsx30(
12363
+ title2 ? /* @__PURE__ */ jsx31(CardTitle2, { title: title2, titleWithMarginBottom }) : null,
12364
+ menuItems ? /* @__PURE__ */ jsx31(
12313
12365
  Menu,
12314
12366
  {
12315
12367
  menuLabel: "More options",
12316
- menuTrigger: /* @__PURE__ */ jsx30(
12368
+ menuTrigger: /* @__PURE__ */ jsx31(
12317
12369
  "button",
12318
12370
  {
12319
12371
  "aria-label": "More options",
@@ -12321,7 +12373,7 @@ var Card = ({
12321
12373
  disabled,
12322
12374
  css: CardMenu,
12323
12375
  "data-testid": menuButtonTestId != null ? menuButtonTestId : "list-card-menu",
12324
- children: /* @__PURE__ */ jsx30(Icon, { icon: CgMoreAlt, iconColor: "currentColor", size: 32 })
12376
+ children: /* @__PURE__ */ jsx31(Icon, { icon: CgMoreAlt, iconColor: "currentColor", size: 32 })
12325
12377
  }
12326
12378
  ),
12327
12379
  children: menuItems
@@ -12339,12 +12391,12 @@ var CardTitle2 = ({ title: title2, titleWithMarginBottom, children }) => {
12339
12391
  };
12340
12392
 
12341
12393
  // src/components/Card/CardContainer.styles.ts
12342
- import { css as css30 } from "@emotion/react";
12343
- var CardContainerWrapper = (bgColor) => css30`
12394
+ import { css as css31 } from "@emotion/react";
12395
+ var CardContainerWrapper = (bgColor) => css31`
12344
12396
  background: ${bgColor === "gray" ? `var(--gray-50)` : `var(--white)`};
12345
12397
  container-type: inline-size;
12346
12398
  `;
12347
- var CardContainerInner = ({ padding, withLastColumn }) => css30`
12399
+ var CardContainerInner = ({ padding, withLastColumn }) => css31`
12348
12400
  display: grid;
12349
12401
  gap: var(--spacing-lg);
12350
12402
  max-width: var(--site-width);
@@ -12358,7 +12410,7 @@ var CardContainerInner = ({ padding, withLastColumn }) => css30`
12358
12410
  `;
12359
12411
 
12360
12412
  // src/components/Card/CardContainer.tsx
12361
- import { jsx as jsx31 } from "@emotion/react/jsx-runtime";
12413
+ import { jsx as jsx32 } from "@emotion/react/jsx-runtime";
12362
12414
  var CardContainer2 = ({
12363
12415
  bgColor = "white",
12364
12416
  padding = true,
@@ -12366,15 +12418,15 @@ var CardContainer2 = ({
12366
12418
  children,
12367
12419
  ...props
12368
12420
  }) => {
12369
- return /* @__PURE__ */ jsx31("div", { css: CardContainerWrapper(bgColor), ...props, children: /* @__PURE__ */ jsx31("div", { css: CardContainerInner({ padding, withLastColumn }), children }) });
12421
+ return /* @__PURE__ */ jsx32("div", { css: CardContainerWrapper(bgColor), ...props, children: /* @__PURE__ */ jsx32("div", { css: CardContainerInner({ padding, withLastColumn }), children }) });
12370
12422
  };
12371
12423
 
12372
12424
  // src/components/Card/LoadingCardSkeleton.tsx
12373
12425
  import { CgMoreAlt as CgMoreAlt2 } from "@react-icons/all-files/cg/CgMoreAlt";
12374
12426
 
12375
12427
  // src/components/Layout/styles/Container.styles.ts
12376
- import { css as css31 } from "@emotion/react";
12377
- var Container = ({ backgroundColor, border, rounded, padding, margin }) => css31`
12428
+ import { css as css32 } from "@emotion/react";
12429
+ var Container = ({ backgroundColor, border, rounded, padding, margin }) => css32`
12378
12430
  background: var(--${backgroundColor});
12379
12431
  ${border ? "border: 1px solid var(--gray-300)" : void 0};
12380
12432
  ${rounded ? `border-radius: var(--${rounded})` : void 0};
@@ -12383,7 +12435,7 @@ var Container = ({ backgroundColor, border, rounded, padding, margin }) => css31
12383
12435
  `;
12384
12436
 
12385
12437
  // src/components/Layout/Container.tsx
12386
- import { jsx as jsx32 } from "@emotion/react/jsx-runtime";
12438
+ import { jsx as jsx33 } from "@emotion/react/jsx-runtime";
12387
12439
  var Container2 = ({
12388
12440
  tag = "div",
12389
12441
  backgroundColor = "white",
@@ -12395,7 +12447,7 @@ var Container2 = ({
12395
12447
  ...props
12396
12448
  }) => {
12397
12449
  const Tag = tag;
12398
- return /* @__PURE__ */ jsx32(
12450
+ return /* @__PURE__ */ jsx33(
12399
12451
  Tag,
12400
12452
  {
12401
12453
  css: Container({
@@ -12411,40 +12463,6 @@ var Container2 = ({
12411
12463
  );
12412
12464
  };
12413
12465
 
12414
- // src/components/Layout/styles/HorizontalRhythm.styles.ts
12415
- import { css as css32 } from "@emotion/react";
12416
- var HorizontalRhythmContainer = (size) => css32`
12417
- display: flex;
12418
- gap: var(--spacing-${size});
12419
- `;
12420
-
12421
- // src/components/Layout/HorizontalRhythm.tsx
12422
- import { jsx as jsx33 } from "@emotion/react/jsx-runtime";
12423
- var HorizontalRhythm = ({
12424
- align,
12425
- justify,
12426
- tag = "div",
12427
- gap = "base",
12428
- children,
12429
- ...props
12430
- }) => {
12431
- const Tag = tag;
12432
- return /* @__PURE__ */ jsx33(
12433
- Tag,
12434
- {
12435
- css: [
12436
- HorizontalRhythmContainer(gap),
12437
- {
12438
- justifyContent: justify,
12439
- alignItems: align
12440
- }
12441
- ],
12442
- ...props,
12443
- children
12444
- }
12445
- );
12446
- };
12447
-
12448
12466
  // src/components/Layout/styles/TwoColumnLayout.styles.ts
12449
12467
  import { css as css33 } from "@emotion/react";
12450
12468
  var TwoColumnLayoutContainer = (bgColor) => css33`
@@ -12758,7 +12776,7 @@ var ChipActionButton = css36`
12758
12776
  `;
12759
12777
 
12760
12778
  // src/components/Chip/Chip.tsx
12761
- import { Fragment as Fragment6, jsx as jsx37, jsxs as jsxs22 } from "@emotion/react/jsx-runtime";
12779
+ import { Fragment as Fragment7, jsx as jsx37, jsxs as jsxs22 } from "@emotion/react/jsx-runtime";
12762
12780
  var chipTheme = {
12763
12781
  "accent-light": ChipThemeAccentLight,
12764
12782
  "accent-dark": ChipThemeAccentDark,
@@ -12781,7 +12799,7 @@ var Chip = ({
12781
12799
  md: ChipMedium
12782
12800
  };
12783
12801
  return /* @__PURE__ */ jsxs22("span", { css: [ChipContainer, chipSize[size], chipTheme[theme]], ...props, children: [
12784
- icon ? /* @__PURE__ */ jsxs22(Fragment6, { children: [
12802
+ icon ? /* @__PURE__ */ jsxs22(Fragment7, { children: [
12785
12803
  /* @__PURE__ */ jsx37("span", { role: "presentation", css: [ChipIcon], children: /* @__PURE__ */ jsx37(Icon, { icon, iconColor: "currentColor", size: "1rem" }) }),
12786
12804
  /* @__PURE__ */ jsx37("span", { role: "separator", css: ChipSeparator })
12787
12805
  ] }) : null,
@@ -13473,7 +13491,7 @@ var DrawerContent2 = ({ children, buttonGroup, noPadding = false, ...props }) =>
13473
13491
 
13474
13492
  // src/components/Drawer/DrawerRenderer.tsx
13475
13493
  import { useEffect as useEffect6, useMemo as useMemo2 } from "react";
13476
- import { Fragment as Fragment7, jsx as jsx46, jsxs as jsxs28 } from "@emotion/react/jsx-runtime";
13494
+ import { Fragment as Fragment8, jsx as jsx46, jsxs as jsxs28 } from "@emotion/react/jsx-runtime";
13477
13495
  var drawerWidth = {
13478
13496
  narrow: "29rem",
13479
13497
  medium: "43rem",
@@ -13562,7 +13580,7 @@ var DrawerWrapper = ({
13562
13580
  offsetInPx = Math.round(maxLayeringInPx * relativeLevel);
13563
13581
  }
13564
13582
  const calculatedWidth = `calc(${width} - ${offsetInPx}px)`;
13565
- return /* @__PURE__ */ jsxs28(Fragment7, { children: [
13583
+ return /* @__PURE__ */ jsxs28(Fragment8, { children: [
13566
13584
  /* @__PURE__ */ jsx46("div", { css: drawerWrapperOverlayStyles, onClick: onOverlayClick }),
13567
13585
  /* @__PURE__ */ jsx46(
13568
13586
  "div",
@@ -14275,7 +14293,7 @@ var InputKeywordSearch = ({
14275
14293
  };
14276
14294
 
14277
14295
  // src/components/Input/InputSelect.tsx
14278
- import { Fragment as Fragment8, jsx as jsx59, jsxs as jsxs36 } from "@emotion/react/jsx-runtime";
14296
+ import { Fragment as Fragment9, jsx as jsx59, jsxs as jsxs36 } from "@emotion/react/jsx-runtime";
14279
14297
  var InputSelect = ({
14280
14298
  label,
14281
14299
  defaultOption,
@@ -14297,7 +14315,7 @@ var InputSelect = ({
14297
14315
  css: [inputContainer, typeof classNameContainer === "object" ? classNameContainer : void 0],
14298
14316
  className: typeof classNameContainer === "string" ? classNameContainer : "",
14299
14317
  children: [
14300
- showLabel ? /* @__PURE__ */ jsx59(Fragment8, { children: /* @__PURE__ */ jsxs36(
14318
+ showLabel ? /* @__PURE__ */ jsx59(Fragment9, { children: /* @__PURE__ */ jsxs36(
14301
14319
  Label,
14302
14320
  {
14303
14321
  htmlFor: props.id,
@@ -14419,10 +14437,10 @@ var SuccessMessage = ({ message, testId, ...props }) => {
14419
14437
 
14420
14438
  // src/components/Input/Textarea.tsx
14421
14439
  import { forwardRef as forwardRef9 } from "react";
14422
- import { Fragment as Fragment9, jsx as jsx63, jsxs as jsxs39 } from "@emotion/react/jsx-runtime";
14440
+ import { Fragment as Fragment10, jsx as jsx63, jsxs as jsxs39 } from "@emotion/react/jsx-runtime";
14423
14441
  var Textarea = forwardRef9(
14424
14442
  ({ label, icon, id, caption, showLabel = true, errorMessage, warningMessage, ...props }, ref) => {
14425
- return /* @__PURE__ */ jsxs39(Fragment9, { children: [
14443
+ return /* @__PURE__ */ jsxs39(Fragment10, { children: [
14426
14444
  showLabel ? /* @__PURE__ */ jsx63("label", { htmlFor: id, css: [labelText], children: label }) : null,
14427
14445
  /* @__PURE__ */ jsxs39("div", { css: [inputContainer], children: [
14428
14446
  /* @__PURE__ */ jsx63(
@@ -14526,7 +14544,7 @@ var ImageBroken = ({ width, height, ...props }) => {
14526
14544
  };
14527
14545
 
14528
14546
  // src/components/Image/Image.tsx
14529
- import { Fragment as Fragment10, jsx as jsx65, jsxs as jsxs41 } from "@emotion/react/jsx-runtime";
14547
+ import { Fragment as Fragment11, jsx as jsx65, jsxs as jsxs41 } from "@emotion/react/jsx-runtime";
14530
14548
  var MIN_LOADING_MS = 500;
14531
14549
  function Image({
14532
14550
  alt,
@@ -14605,7 +14623,7 @@ function Image({
14605
14623
  onError: handleErrorEvent
14606
14624
  }
14607
14625
  ) : null,
14608
- src && loadErrorText ? /* @__PURE__ */ jsxs41(Fragment10, { children: [
14626
+ src && loadErrorText ? /* @__PURE__ */ jsxs41(Fragment11, { children: [
14609
14627
  /* @__PURE__ */ jsx65(
14610
14628
  ImageBroken,
14611
14629
  {
@@ -14996,10 +15014,10 @@ var IntegrationLoadingFrame = css58`
14996
15014
  `;
14997
15015
 
14998
15016
  // src/components/Tiles/IntegrationLoadingTile.tsx
14999
- import { Fragment as Fragment11, jsx as jsx71, jsxs as jsxs46 } from "@emotion/react/jsx-runtime";
15017
+ import { Fragment as Fragment12, jsx as jsx71, jsxs as jsxs46 } from "@emotion/react/jsx-runtime";
15000
15018
  var IntegrationLoadingTile = ({ count = 1 }) => {
15001
15019
  const componentCount = Array.from(Array(count).keys());
15002
- return /* @__PURE__ */ jsx71(Fragment11, { children: componentCount.map((i) => /* @__PURE__ */ jsxs46("div", { css: IntegrationLoadingTileContainer, children: [
15020
+ return /* @__PURE__ */ jsx71(Fragment12, { children: componentCount.map((i) => /* @__PURE__ */ jsxs46("div", { css: IntegrationLoadingTileContainer, children: [
15003
15021
  /* @__PURE__ */ jsx71("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
15004
15022
  /* @__PURE__ */ jsx71("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
15005
15023
  ] }, i)) });
@@ -15221,7 +15239,7 @@ var IntegrationModalHeaderContentWrapper = css63`
15221
15239
  `;
15222
15240
 
15223
15241
  // src/components/IntegrationModalHeader/IntegrationModalHeader.tsx
15224
- import { Fragment as Fragment12, jsx as jsx77, jsxs as jsxs49 } from "@emotion/react/jsx-runtime";
15242
+ import { Fragment as Fragment13, jsx as jsx77, jsxs as jsxs49 } from "@emotion/react/jsx-runtime";
15225
15243
  var HexModalBackground = ({ ...props }) => {
15226
15244
  return /* @__PURE__ */ jsxs49(
15227
15245
  "svg",
@@ -15262,7 +15280,7 @@ var HexModalBackground = ({ ...props }) => {
15262
15280
  );
15263
15281
  };
15264
15282
  var IntegrationModalHeader = ({ icon, name, menu: menu2, children }) => {
15265
- return /* @__PURE__ */ jsxs49(Fragment12, { children: [
15283
+ return /* @__PURE__ */ jsxs49(Fragment13, { children: [
15266
15284
  /* @__PURE__ */ jsx77(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
15267
15285
  /* @__PURE__ */ jsx77("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ jsxs49("div", { css: IntegrationModalHeaderTitleGroup, children: [
15268
15286
  icon ? /* @__PURE__ */ jsx77(IntegrationModalIcon, { icon, name: name || "" }) : null,
@@ -15848,7 +15866,7 @@ var Popover = css71`
15848
15866
  `;
15849
15867
 
15850
15868
  // src/components/Popover/Popover.tsx
15851
- import { Fragment as Fragment13, jsx as jsx86, jsxs as jsxs57 } from "@emotion/react/jsx-runtime";
15869
+ import { Fragment as Fragment14, jsx as jsx86, jsxs as jsxs57 } from "@emotion/react/jsx-runtime";
15852
15870
  var Popover2 = ({
15853
15871
  iconColor = "action",
15854
15872
  icon = "info",
@@ -15862,7 +15880,7 @@ var Popover2 = ({
15862
15880
  ...otherProps
15863
15881
  }) => {
15864
15882
  const popover = usePopoverState({ placement });
15865
- return /* @__PURE__ */ jsxs57(Fragment13, { children: [
15883
+ return /* @__PURE__ */ jsxs57(Fragment14, { children: [
15866
15884
  /* @__PURE__ */ jsx86(
15867
15885
  PopoverDisclosure,
15868
15886
  {
@@ -15870,7 +15888,7 @@ var Popover2 = ({
15870
15888
  css: [PopoverBtn, trigger ? void 0 : PopoverDefaulterTriggerBtn],
15871
15889
  title: buttonText,
15872
15890
  "data-testid": testId,
15873
- children: trigger ? trigger : /* @__PURE__ */ jsxs57(Fragment13, { children: [
15891
+ children: trigger ? trigger : /* @__PURE__ */ jsxs57(Fragment14, { children: [
15874
15892
  /* @__PURE__ */ jsx86(Icon, { icon, iconColor, size: iconSize }),
15875
15893
  /* @__PURE__ */ jsx86("span", { hidden: true, children: buttonText })
15876
15894
  ] })
@@ -16201,6 +16219,7 @@ var ConnectToDataElementButton = LabelLeadingIcon;
16201
16219
  import { css as css75 } from "@emotion/react";
16202
16220
  var inputContainer2 = css75`
16203
16221
  position: relative;
16222
+ scroll-margin: var(--spacing-2xl);
16204
16223
 
16205
16224
  &:hover,
16206
16225
  &:focus,
@@ -16601,7 +16620,7 @@ var previewModalImage = css78`
16601
16620
  `;
16602
16621
 
16603
16622
  // src/components/ParameterInputs/ParameterImagePreview.tsx
16604
- import { Fragment as Fragment14, jsx as jsx93, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
16623
+ import { Fragment as Fragment15, jsx as jsx93, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
16605
16624
  function ParameterImagePreview({ imageSrc }) {
16606
16625
  const [showModal, setShowModal] = useState10(false);
16607
16626
  return imageSrc ? /* @__PURE__ */ jsxs64("div", { css: previewWrapper, children: [
@@ -16619,7 +16638,7 @@ function ParameterImagePreview({ imageSrc }) {
16619
16638
  ] }) : null;
16620
16639
  }
16621
16640
  var PreviewImageModal = ({ open, onRequestClose, imageSrc }) => {
16622
- return open ? /* @__PURE__ */ jsx93(Fragment14, { children: createPortal2(
16641
+ return open ? /* @__PURE__ */ jsx93(Fragment15, { children: createPortal2(
16623
16642
  /* @__PURE__ */ jsx93(
16624
16643
  Modal,
16625
16644
  {
@@ -16761,7 +16780,7 @@ var ParameterShell = ({
16761
16780
  const [manualErrorMessage, setManualErrorMessage] = useState11(void 0);
16762
16781
  const setErrorMessage = (message) => setManualErrorMessage(message);
16763
16782
  const errorMessaging = errorMessage || manualErrorMessage;
16764
- return /* @__PURE__ */ jsxs65("div", { css: inputContainer2, ...props, children: [
16783
+ return /* @__PURE__ */ jsxs65("div", { css: inputContainer2, ...props, id, children: [
16765
16784
  hiddenLabel || title2 ? null : /* @__PURE__ */ jsxs65(ParameterLabel, { id, css: labelText2, children: [
16766
16785
  labelLeadingIcon != null ? labelLeadingIcon : null,
16767
16786
  label,
@@ -16818,7 +16837,7 @@ var ParameterShellPlaceholder = ({ children }) => {
16818
16837
  var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx96(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx96("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx96("span", { hidden: true, children: "reset overridden value to default" }) }) });
16819
16838
 
16820
16839
  // src/components/ParameterInputs/ParameterImage.tsx
16821
- import { Fragment as Fragment15, jsx as jsx97, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
16840
+ import { Fragment as Fragment16, jsx as jsx97, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
16822
16841
  var ParameterImage = forwardRef12(
16823
16842
  ({ children, ...props }, ref) => {
16824
16843
  const { shellProps, innerProps } = extractParameterProps(props);
@@ -16832,7 +16851,7 @@ var ParameterImageInner = forwardRef12((props, ref) => {
16832
16851
  const { value } = props;
16833
16852
  const { id, label, hiddenLabel, errorMessage } = useParameterShell();
16834
16853
  const deferredValue = useDeferredValue(value);
16835
- return /* @__PURE__ */ jsxs66(Fragment15, { children: [
16854
+ return /* @__PURE__ */ jsxs66(Fragment16, { children: [
16836
16855
  /* @__PURE__ */ jsx97(
16837
16856
  "input",
16838
16857
  {
@@ -16947,7 +16966,7 @@ var ParameterLinkInner = forwardRef14(
16947
16966
  );
16948
16967
 
16949
16968
  // src/components/ParameterInputs/ParameterNameAndPublicIdInput.tsx
16950
- import { Fragment as Fragment16, jsx as jsx100, jsxs as jsxs68 } from "@emotion/react/jsx-runtime";
16969
+ import { Fragment as Fragment17, jsx as jsx100, jsxs as jsxs68 } from "@emotion/react/jsx-runtime";
16951
16970
  var ParameterNameAndPublicIdInput = ({
16952
16971
  id,
16953
16972
  onBlur,
@@ -16973,7 +16992,7 @@ var ParameterNameAndPublicIdInput = ({
16973
16992
  navigator.clipboard.writeText(values[publicIdFieldName]);
16974
16993
  };
16975
16994
  autoFocus == null ? void 0 : autoFocus();
16976
- return /* @__PURE__ */ jsxs68(Fragment16, { children: [
16995
+ return /* @__PURE__ */ jsxs68(Fragment17, { children: [
16977
16996
  /* @__PURE__ */ jsx100(
16978
16997
  ParameterInput,
16979
16998
  {
@@ -17409,7 +17428,7 @@ var getSelectedNode = (selection) => {
17409
17428
  };
17410
17429
 
17411
17430
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
17412
- import { Fragment as Fragment17, jsx as jsx101, jsxs as jsxs69 } from "@emotion/react/jsx-runtime";
17431
+ import { Fragment as Fragment18, jsx as jsx101, jsxs as jsxs69 } from "@emotion/react/jsx-runtime";
17413
17432
  var isProjectMapLinkValue = (value) => {
17414
17433
  return (value == null ? void 0 : value.type) === "projectMapNode" && Boolean(
17415
17434
  value.nodeId && value.path && value.projectMapId
@@ -17852,7 +17871,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17852
17871
  });
17853
17872
  });
17854
17873
  };
17855
- return /* @__PURE__ */ jsxs69(Fragment17, { children: [
17874
+ return /* @__PURE__ */ jsxs69(Fragment18, { children: [
17856
17875
  /* @__PURE__ */ jsx101(
17857
17876
  NodeEventPlugin,
17858
17877
  {
@@ -17975,7 +17994,7 @@ import {
17975
17994
  SELECTION_CHANGE_COMMAND
17976
17995
  } from "lexical";
17977
17996
  import { useCallback as useCallback6, useEffect as useEffect13, useMemo as useMemo3, useState as useState13 } from "react";
17978
- import { Fragment as Fragment18, jsx as jsx103, jsxs as jsxs70 } from "@emotion/react/jsx-runtime";
17997
+ import { Fragment as Fragment19, jsx as jsx103, jsxs as jsxs70 } from "@emotion/react/jsx-runtime";
17979
17998
  var toolbar = css83`
17980
17999
  background: var(--gray-50);
17981
18000
  border-radius: var(--rounded-base);
@@ -18212,7 +18231,7 @@ var RichTextToolbar = ({ config, customControls }) => {
18212
18231
  children: /* @__PURE__ */ jsx103(RichTextToolbarIcon, { icon: "link" })
18213
18232
  }
18214
18233
  ) }) : null,
18215
- visibleLists.size > 0 ? /* @__PURE__ */ jsxs70(Fragment18, { children: [
18234
+ visibleLists.size > 0 ? /* @__PURE__ */ jsxs70(Fragment19, { children: [
18216
18235
  visibleLists.has("unorderedList") ? /* @__PURE__ */ jsx103(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ jsx103(
18217
18236
  "button",
18218
18237
  {
@@ -18375,7 +18394,7 @@ var useRichTextToolbarState = ({ config }) => {
18375
18394
  };
18376
18395
 
18377
18396
  // src/components/ParameterInputs/ParameterRichText.tsx
18378
- import { Fragment as Fragment19, jsx as jsx104, jsxs as jsxs71 } from "@emotion/react/jsx-runtime";
18397
+ import { Fragment as Fragment20, jsx as jsx104, jsxs as jsxs71 } from "@emotion/react/jsx-runtime";
18379
18398
  var ParameterRichText = ({
18380
18399
  label,
18381
18400
  labelLeadingIcon,
@@ -18403,7 +18422,7 @@ var ParameterRichText = ({
18403
18422
  return /* @__PURE__ */ jsxs71(
18404
18423
  ParameterShell,
18405
18424
  {
18406
- "data-testid": "parameter-input",
18425
+ "data-testid": "parameter-richtext",
18407
18426
  label,
18408
18427
  hiddenLabel,
18409
18428
  labelLeadingIcon,
@@ -18432,7 +18451,7 @@ var ParameterRichText = ({
18432
18451
  children
18433
18452
  }
18434
18453
  ),
18435
- menuItems ? /* @__PURE__ */ jsx104(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx104(Fragment19, { children: menuItems }) }) : null
18454
+ menuItems ? /* @__PURE__ */ jsx104(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx104(Fragment20, { children: menuItems }) }) : null
18436
18455
  ]
18437
18456
  }
18438
18457
  );
@@ -18543,7 +18562,7 @@ var ParameterRichTextInner = ({
18543
18562
  },
18544
18563
  editable: !readOnly
18545
18564
  };
18546
- return /* @__PURE__ */ jsxs71(Fragment19, { children: [
18565
+ return /* @__PURE__ */ jsxs71(Fragment20, { children: [
18547
18566
  /* @__PURE__ */ jsx104("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ jsx104(LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ jsx104(
18548
18567
  RichText,
18549
18568
  {
@@ -18600,7 +18619,7 @@ var RichText = ({
18600
18619
  removeUpdateListener();
18601
18620
  };
18602
18621
  }, []);
18603
- return /* @__PURE__ */ jsxs71(Fragment19, { children: [
18622
+ return /* @__PURE__ */ jsxs71(Fragment20, { children: [
18604
18623
  readOnly ? null : /* @__PURE__ */ jsx104(RichTextToolbar_default, { config, customControls }),
18605
18624
  /* @__PURE__ */ jsxs71("div", { css: editorContainer, ref: editorContainerRef, "data-testid": "value-container", children: [
18606
18625
  /* @__PURE__ */ jsx104(
@@ -18626,7 +18645,7 @@ var RichText = ({
18626
18645
  /* @__PURE__ */ jsx104(ListIndentPlugin, { maxDepth: 4 }),
18627
18646
  /* @__PURE__ */ jsx104(DisableStylesPlugin, {}),
18628
18647
  /* @__PURE__ */ jsx104(MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS }),
18629
- /* @__PURE__ */ jsx104(Fragment19, { children })
18648
+ /* @__PURE__ */ jsx104(Fragment20, { children })
18630
18649
  ] })
18631
18650
  ] });
18632
18651
  };
@@ -19196,14 +19215,14 @@ var SwitchText = css91`
19196
19215
  `;
19197
19216
 
19198
19217
  // src/components/Switch/Switch.tsx
19199
- import { Fragment as Fragment20, jsx as jsx112, jsxs as jsxs76 } from "@emotion/react/jsx-runtime";
19218
+ import { Fragment as Fragment21, jsx as jsx112, jsxs as jsxs76 } from "@emotion/react/jsx-runtime";
19200
19219
  var Switch = React23.forwardRef(
19201
19220
  ({ label, infoText, toggleText, children, ...inputProps }, ref) => {
19202
19221
  let additionalText = infoText;
19203
19222
  if (infoText && toggleText) {
19204
19223
  additionalText = inputProps.checked ? toggleText : infoText;
19205
19224
  }
19206
- return /* @__PURE__ */ jsxs76(Fragment20, { children: [
19225
+ return /* @__PURE__ */ jsxs76(Fragment21, { children: [
19207
19226
  /* @__PURE__ */ jsxs76("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
19208
19227
  /* @__PURE__ */ jsx112("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
19209
19228
  /* @__PURE__ */ jsx112("span", { css: SwitchInputLabel, children: label })