@uniformdev/design-system 19.161.0 → 19.162.2-alpha.11

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.js CHANGED
@@ -1434,6 +1434,13 @@ __export(src_exports, {
1434
1434
  Modal: () => Modal,
1435
1435
  ModalDialog: () => ModalDialog,
1436
1436
  MultilineChip: () => MultilineChip,
1437
+ ObjectGridContainer: () => ObjectGridContainer2,
1438
+ ObjectGridItem: () => ObjectGridItem2,
1439
+ ObjectGridItemCardCover: () => ObjectGridItemCardCover,
1440
+ ObjectGridItemCover: () => ObjectGridItemCover,
1441
+ ObjectGridItemCoverButton: () => ObjectGridItemCoverButton,
1442
+ ObjectGridItemHeading: () => ObjectGridItemHeading2,
1443
+ ObjectGridItemIconWithTooltip: () => ObjectGridItemIconWithTooltip,
1437
1444
  PageHeaderSection: () => PageHeaderSection,
1438
1445
  Pagination: () => Pagination,
1439
1446
  Paragraph: () => Paragraph,
@@ -1666,6 +1673,10 @@ var Theme = ({ disableReset = false, disableGlobalReset = false }) => {
1666
1673
 
1667
1674
  --action-destructive-default: var(--brand-secondary-5);
1668
1675
  --action-destructive-hover: #e07571;
1676
+ --action-destructive-active: rbga(210, 50, 45, 0.05); /* #d2322d */
1677
+ --action-destructive-disabled: #f87171;
1678
+
1679
+
1669
1680
 
1670
1681
  /* tertiary action */
1671
1682
  --tertiary-action-default: var(--gray-700);
@@ -2565,16 +2576,16 @@ var buttonPrimary = import_react10.css`
2565
2576
  })}
2566
2577
  `;
2567
2578
  var buttonDestructive = import_react10.css`
2568
- background: var(--brand-secondary-5);
2579
+ background: var(--action-destructive-default);
2569
2580
  color: var(--white);
2570
2581
 
2571
2582
  &:disabled {
2572
- background: var(--gray-300);
2573
2583
  color: var(--white);
2584
+ opacity: var(--opacity-50);
2574
2585
  }
2575
2586
 
2576
2587
  ${buttonRippleEffect({
2577
- hoverColor: "var(--brand-secondary-5)",
2588
+ hoverColor: "var(--action-destructive-default)",
2578
2589
  activeColor: "var(--action-destructive-hover)"
2579
2590
  })}
2580
2591
  `;
@@ -2652,19 +2663,20 @@ var buttonGhost = import_react10.css`
2652
2663
  `;
2653
2664
  var buttonGhostDestructive = import_react10.css`
2654
2665
  background: transparent;
2655
- color: var(--brand-secondary-5);
2666
+ color: var(--action-destructive-default);
2656
2667
 
2657
2668
  &:hover {
2658
- color: var(--brand-secondary-5);
2669
+ outline: 1px solid var(--action-destructive-hover);
2670
+ color: var(--action-destructive-hover);
2659
2671
  }
2660
2672
 
2661
2673
  &:disabled {
2662
2674
  background: transparent;
2663
- border-color: var(--gray-400);
2664
- color: var(--gray-400);
2675
+ color: var(--action-destructive-disabled);
2676
+ opacity: var(--opacity-50);
2665
2677
  }
2666
2678
 
2667
- ${buttonRippleEffect({ hoverColor: "var(--white)", activeColor: "var(--gray-100)" })}
2679
+ ${buttonRippleEffect({ hoverColor: "var(--white)", activeColor: "var(--action-destructive-active)" })}
2668
2680
  `;
2669
2681
  var buttonTertiary = import_react10.css`
2670
2682
  background: var(--tertiary-action-default);
@@ -2792,7 +2804,7 @@ var toastContainerStyles = import_react12.css`
2792
2804
  ${functionalColors}
2793
2805
 
2794
2806
  --toastify-color-light: white;
2795
- --toastify-color-info: var(--utility-caution-icon);
2807
+ --toastify-color-info: var(--utility-info-icon);
2796
2808
  --toastify-color-success: var(--utility-success-icon);
2797
2809
  --toastify-color-warning: var(--utility-caution-icon);
2798
2810
  --toastify-color-error: var(--utility-danger-icon);
@@ -14823,10 +14835,11 @@ function convertComboBoxGroupsToSelectableGroups(args) {
14823
14835
  return { groupedOptions, selectedOptions };
14824
14836
  }
14825
14837
  function getComboBoxSelectedSelectableGroups(selectedValues) {
14826
- const selectedOptionValues = selectedValues.flatMap(
14838
+ const selectedValuesNormalized = selectedValues ? Array.isArray(selectedValues) ? selectedValues : [selectedValues] : null;
14839
+ const selectedOptionValues = selectedValuesNormalized == null ? void 0 : selectedValuesNormalized.flatMap(
14827
14840
  (selectedValue) => Array.isArray(selectedValue.value) ? selectedValue.value : [selectedValue.value]
14828
14841
  );
14829
- return new Set(selectedOptionValues.filter((value) => value !== void 0));
14842
+ return new Set(selectedOptionValues == null ? void 0 : selectedOptionValues.filter((value) => value !== void 0));
14830
14843
  }
14831
14844
  function flatMapOptionValues(options) {
14832
14845
  return options.flatMap((option) => {
@@ -19961,6 +19974,305 @@ var ModalDialog = (0, import_react114.forwardRef)(
19961
19974
  );
19962
19975
  ModalDialog.displayName = "ModalDialog";
19963
19976
 
19977
+ // src/components/Objects/ObjectGridContainer.tsx
19978
+ init_emotion_jsx_shim();
19979
+
19980
+ // src/components/Objects/styles/ObjectGridContainer.styles.ts
19981
+ init_emotion_jsx_shim();
19982
+ var import_react115 = require("@emotion/react");
19983
+ var ObjectGridContainer = (gridCount) => import_react115.css`
19984
+ display: grid;
19985
+ grid-template-columns: repeat(${gridCount}, minmax(250px, 1fr));
19986
+ gap: var(--spacing-base);
19987
+ `;
19988
+
19989
+ // src/components/Objects/ObjectGridContainer.tsx
19990
+ var import_jsx_runtime101 = require("@emotion/react/jsx-runtime");
19991
+ var ObjectGridContainer2 = ({ gridCount = 3, children }) => {
19992
+ return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("div", { "data-testid": "object-grid-container", css: ObjectGridContainer(gridCount), children });
19993
+ };
19994
+
19995
+ // src/components/Objects/ObjectGridItem.tsx
19996
+ init_emotion_jsx_shim();
19997
+
19998
+ // src/components/Objects/styles/ObjectGridItem.styles.ts
19999
+ init_emotion_jsx_shim();
20000
+ var import_react116 = require("@emotion/react");
20001
+ var ObjectGridItem = import_react116.css`
20002
+ border: 1px solid var(--gray-300);
20003
+ border-radius: var(--rounded-base);
20004
+ background: var(--white);
20005
+ display: flex;
20006
+ flex-direction: column;
20007
+ transition: border-color var(--duration-fast) var(--timing-ease-out);
20008
+
20009
+ &[aria-selected='true'] {
20010
+ border: 1px solid var(--accent-dark);
20011
+ }
20012
+
20013
+ &[aria-selected='false'] {
20014
+ &:hover {
20015
+ border: 1px solid var(--accent-dark);
20016
+ }
20017
+ }
20018
+ `;
20019
+ var ObjectGridItemMediaWrapper = import_react116.css`
20020
+ display: flex;
20021
+ flex: 1 1 0;
20022
+ position: relative;
20023
+ `;
20024
+ var ObjectGridItemContentWrapper = import_react116.css`
20025
+ padding: 0 var(--spacing-sm) var(--spacing-sm);
20026
+ min-height: 52px;
20027
+ `;
20028
+ var ObjectGridItemImage = import_react116.css`
20029
+ object-fit: cover;
20030
+ width: 100%;
20031
+ height: auto;
20032
+ `;
20033
+ var MenuBtn = import_react116.css`
20034
+ border: none;
20035
+ background: transparent;
20036
+ padding: var(--spacing-xs);
20037
+ color: var(--gray-300);
20038
+ transition: color var(--duration-fast) var(--timing-ease-out);
20039
+
20040
+ &:focus,
20041
+ &:hover {
20042
+ outline: none;
20043
+ color: var(--gray-500);
20044
+ }
20045
+ `;
20046
+
20047
+ // src/components/Objects/ObjectGridItem.tsx
20048
+ var import_jsx_runtime102 = require("@emotion/react/jsx-runtime");
20049
+ var ObjectGridItem2 = ({
20050
+ header: header2,
20051
+ cover,
20052
+ rightSlot,
20053
+ menuItems,
20054
+ isSelected,
20055
+ children
20056
+ }) => {
20057
+ return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { css: ObjectGridItem, "aria-selected": isSelected, children: [
20058
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("div", { css: ObjectGridItemMediaWrapper, children: cover }),
20059
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(HorizontalRhythm, { css: ObjectGridItemContentWrapper, justify: "space-between", gap: "sm", children: [
20060
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(VerticalRhythm, { gap: "0", children: [
20061
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(HorizontalRhythm, { gap: "xs", align: "center", children: header2 }),
20062
+ children
20063
+ ] }),
20064
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(HorizontalRhythm, { gap: "xs", align: "flex-start", children: [
20065
+ rightSlot,
20066
+ menuItems ? /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
20067
+ Menu,
20068
+ {
20069
+ menuTrigger: (
20070
+ // TODO: once insights lands we should be able to replace this with MenuTrigger component
20071
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
20072
+ "button",
20073
+ {
20074
+ type: "button",
20075
+ "data-testid": "object-grid-item-menu-btn",
20076
+ title: "menu options",
20077
+ css: MenuBtn,
20078
+ children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Icon, { icon: "more-alt", size: "1rem", iconColor: "currentColor" })
20079
+ }
20080
+ )
20081
+ ),
20082
+ placement: "bottom-end",
20083
+ children: menuItems
20084
+ }
20085
+ ) : null
20086
+ ] })
20087
+ ] })
20088
+ ] });
20089
+ };
20090
+
20091
+ // src/components/Objects/ObjectGridItemCardCover.tsx
20092
+ init_emotion_jsx_shim();
20093
+
20094
+ // src/components/Objects/styles/ObjectGridItemCardCover.styles.ts
20095
+ init_emotion_jsx_shim();
20096
+ var import_react117 = require("@emotion/react");
20097
+ var CoverImage = import_react117.css`
20098
+ aspect-ratio: 16/9;
20099
+ max-width: 100%;
20100
+ max-height: 100%;
20101
+ height: auto;
20102
+ padding: var(--spacing-sm);
20103
+ `;
20104
+ var CoverIconWrapper = import_react117.css`
20105
+ position: relative;
20106
+ display: flex;
20107
+ align-items: center;
20108
+ justify-content: center;
20109
+ flex: 1;
20110
+ overflow: hidden;
20111
+ `;
20112
+ var CoverIconGhost = import_react117.css`
20113
+ position: absolute;
20114
+ width: 60%;
20115
+ height: auto;
20116
+ aspect-ratio: 1;
20117
+ opacity: 0.05;
20118
+ transform: rotateZ(-15deg) translate(35%, 30%);
20119
+ `;
20120
+ var CoverSlot = import_react117.css`
20121
+ align-items: center;
20122
+ background: var(--white);
20123
+ display: flex;
20124
+ justify-content: center;
20125
+ position: absolute;
20126
+ top: var(--spacing-sm);
20127
+ z-index: 1;
20128
+ width: 24px;
20129
+ height: 24px;
20130
+ `;
20131
+ var CoverSlotLeft = import_react117.css`
20132
+ border-bottom-right-radius: var(--rounded-base);
20133
+ left: var(--spacing-sm);
20134
+ `;
20135
+ var CoverSlotRight = import_react117.css`
20136
+ border-bottom-left-radius: var(--rounded-base);
20137
+ right: var(--spacing-sm);
20138
+ `;
20139
+ var CoverButton = import_react117.css`
20140
+ align-items: stretch;
20141
+ border: none;
20142
+ background: none;
20143
+ display: flex;
20144
+ flex: 1 1 0;
20145
+ padding: 0;
20146
+
20147
+ &:focus,
20148
+ &:hover {
20149
+ outline: none;
20150
+ }
20151
+ `;
20152
+ var CoverSelectedChip = import_react117.css`
20153
+ animation: ${fadeInBottom} var(--duration-fast) var(--timing-ease-out) forwards;
20154
+ opacity: 0;
20155
+ position: absolute;
20156
+ bottom: var(--spacing-base);
20157
+ right: var(--spacing-base);
20158
+ `;
20159
+
20160
+ // src/components/Objects/ObjectGridItemCardCover.tsx
20161
+ var import_jsx_runtime103 = require("@emotion/react/jsx-runtime");
20162
+ var ObjectGridItemCardCover = (props) => {
20163
+ if ("imageUrl" in props && props.imageUrl) {
20164
+ const { imageUrl } = props;
20165
+ return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
20166
+ "img",
20167
+ {
20168
+ src: imageUrl,
20169
+ css: CoverImage,
20170
+ loading: "lazy",
20171
+ role: "presentation",
20172
+ "data-testid": "object-grid-item-thumbnail"
20173
+ }
20174
+ );
20175
+ }
20176
+ if ("icon" in props && props.icon) {
20177
+ const { icon } = props;
20178
+ return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("div", { css: CoverIconWrapper, "data-testid": "object-grid-item-thumbnail", children: [
20179
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Icon, { icon, iconColor: "currentColor", css: CoverIconGhost }),
20180
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Icon, { icon, iconColor: "currentColor", size: 48 })
20181
+ ] });
20182
+ }
20183
+ };
20184
+ var ObjectGridItemCover = ({
20185
+ coverSlotLeft,
20186
+ coverSlotRight,
20187
+ ...props
20188
+ }) => {
20189
+ return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_jsx_runtime103.Fragment, { children: [
20190
+ coverSlotLeft ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { css: [CoverSlot, CoverSlotLeft], children: coverSlotLeft }) : null,
20191
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(ObjectGridItemCardCover, { ...props }),
20192
+ coverSlotRight ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { css: [CoverSlot, CoverSlotRight], children: coverSlotRight }) : null
20193
+ ] });
20194
+ };
20195
+ var ObjectGridItemCoverButton = ({
20196
+ id,
20197
+ isSelected,
20198
+ onSelection,
20199
+ coverSlotLeft,
20200
+ coverSlotRight,
20201
+ selectedText = "selected",
20202
+ ...props
20203
+ }) => {
20204
+ return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("button", { type: "button", css: CoverButton, onClick: () => onSelection(id), "aria-selected": isSelected, children: [
20205
+ coverSlotLeft ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { css: [CoverSlot, CoverSlotLeft], children: coverSlotLeft }) : null,
20206
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(ObjectGridItemCardCover, { ...props }),
20207
+ coverSlotRight ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { css: [CoverSlot, CoverSlotRight], children: coverSlotRight }) : null,
20208
+ isSelected ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { css: CoverSelectedChip, children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Chip, { text: selectedText, size: "xs", theme: "accent-dark" }) }) : null
20209
+ ] });
20210
+ };
20211
+
20212
+ // src/components/Objects/ObjectGridItemHeading.tsx
20213
+ init_emotion_jsx_shim();
20214
+ var import_react119 = require("react");
20215
+
20216
+ // src/components/Objects/styles/ObjectGridItemHeading.styles.ts
20217
+ init_emotion_jsx_shim();
20218
+ var import_react118 = require("@emotion/react");
20219
+ var ObjectGridItemHeading = import_react118.css`
20220
+ overflow: hidden;
20221
+ text-overflow: ellipsis;
20222
+ white-space: initial;
20223
+ display: -webkit-box;
20224
+ -webkit-line-clamp: 1;
20225
+ -webkit-box-orient: vertical;
20226
+ `;
20227
+ var PopoverContent = import_react118.css`
20228
+ min-width: 50px;
20229
+ `;
20230
+
20231
+ // src/components/Objects/ObjectGridItemHeading.tsx
20232
+ var import_jsx_runtime104 = require("@emotion/react/jsx-runtime");
20233
+ var ObjectGridItemHeading2 = ({
20234
+ heading,
20235
+ beforeHeadingSlot,
20236
+ afterHeadingSlot
20237
+ }) => {
20238
+ const [hasTruncation, setHasTruncation] = (0, import_react119.useState)(false);
20239
+ const headingRef = (0, import_react119.useRef)(null);
20240
+ (0, import_react119.useEffect)(() => {
20241
+ const currentHeading = headingRef.current;
20242
+ const observer = new ResizeObserver((entries) => {
20243
+ for (const entry of entries) {
20244
+ const isHeadingTruncated = entry.target.scrollHeight > entry.target.clientHeight;
20245
+ setHasTruncation(isHeadingTruncated);
20246
+ }
20247
+ });
20248
+ if (currentHeading) {
20249
+ observer.observe(currentHeading);
20250
+ }
20251
+ return () => {
20252
+ if (currentHeading) {
20253
+ observer.unobserve(currentHeading);
20254
+ }
20255
+ };
20256
+ }, []);
20257
+ return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(HorizontalRhythm, { align: "center", gap: "xs", children: [
20258
+ beforeHeadingSlot,
20259
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Tooltip, { title: hasTruncation ? heading : "", children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)("div", { role: "heading", css: ObjectGridItemHeading, ref: headingRef, children: heading }) }),
20260
+ afterHeadingSlot
20261
+ ] });
20262
+ };
20263
+
20264
+ // src/components/Objects/ObjectGridItemIconWithTooltip.tsx
20265
+ init_emotion_jsx_shim();
20266
+ var import_jsx_runtime105 = require("@emotion/react/jsx-runtime");
20267
+ var ObjectGridItemIconWithTooltip = ({
20268
+ tooltipTitle,
20269
+ placement = "bottom-start",
20270
+ icon,
20271
+ iconColor = "accent-dark"
20272
+ }) => {
20273
+ return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Tooltip, { title: tooltipTitle, placement, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Icon, { icon, iconColor, size: "1rem" }) }) });
20274
+ };
20275
+
19964
20276
  // src/components/Pagination/Pagination.tsx
19965
20277
  init_emotion_jsx_shim();
19966
20278
  var import_react_paginate = __toESM(require("react-paginate"));
@@ -19995,7 +20307,7 @@ var page = import_css.css`
19995
20307
  `;
19996
20308
 
19997
20309
  // src/components/Pagination/Pagination.tsx
19998
- var import_jsx_runtime101 = require("@emotion/react/jsx-runtime");
20310
+ var import_jsx_runtime106 = require("@emotion/react/jsx-runtime");
19999
20311
  function Pagination({
20000
20312
  limit,
20001
20313
  offset,
@@ -20010,12 +20322,12 @@ function Pagination({
20010
20322
  if (pageCount <= 1) {
20011
20323
  return null;
20012
20324
  }
20013
- return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
20325
+ return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
20014
20326
  import_react_paginate.default,
20015
20327
  {
20016
20328
  forcePage: currentPage,
20017
- previousLabel: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("div", { className: prevNextControls, children: "<" }),
20018
- nextLabel: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("div", { className: prevNextControls, children: ">" }),
20329
+ previousLabel: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: prevNextControls, children: "<" }),
20330
+ nextLabel: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { className: prevNextControls, children: ">" }),
20019
20331
  breakLabel: "...",
20020
20332
  pageCount,
20021
20333
  marginPagesDisplayed: 2,
@@ -20035,8 +20347,8 @@ function Pagination({
20035
20347
 
20036
20348
  // src/components/ParameterInputs/hooks/ParameterShellContext.tsx
20037
20349
  init_emotion_jsx_shim();
20038
- var import_react115 = require("react");
20039
- var ParameterShellContext = (0, import_react115.createContext)({
20350
+ var import_react120 = require("react");
20351
+ var ParameterShellContext = (0, import_react120.createContext)({
20040
20352
  id: "",
20041
20353
  label: "",
20042
20354
  hiddenLabel: void 0,
@@ -20045,7 +20357,7 @@ var ParameterShellContext = (0, import_react115.createContext)({
20045
20357
  }
20046
20358
  });
20047
20359
  var useParameterShell = () => {
20048
- const { id, label, hiddenLabel, errorMessage, handleManuallySetErrorMessage } = (0, import_react115.useContext)(ParameterShellContext);
20360
+ const { id, label, hiddenLabel, errorMessage, handleManuallySetErrorMessage } = (0, import_react120.useContext)(ParameterShellContext);
20049
20361
  return {
20050
20362
  id,
20051
20363
  label,
@@ -20060,8 +20372,8 @@ init_emotion_jsx_shim();
20060
20372
 
20061
20373
  // src/components/ParameterInputs/styles/LabelLeadingIcon.styles.ts
20062
20374
  init_emotion_jsx_shim();
20063
- var import_react116 = require("@emotion/react");
20064
- var inputIconBtn = import_react116.css`
20375
+ var import_react121 = require("@emotion/react");
20376
+ var inputIconBtn = import_react121.css`
20065
20377
  align-items: center;
20066
20378
  border: none;
20067
20379
  border-radius: var(--rounded-base);
@@ -20087,7 +20399,7 @@ var inputIconBtn = import_react116.css`
20087
20399
  `;
20088
20400
 
20089
20401
  // src/components/ParameterInputs/LabelLeadingIcon.tsx
20090
- var import_jsx_runtime102 = require("@emotion/react/jsx-runtime");
20402
+ var import_jsx_runtime107 = require("@emotion/react/jsx-runtime");
20091
20403
  var LabelLeadingIcon = ({
20092
20404
  icon,
20093
20405
  iconColor,
@@ -20099,7 +20411,7 @@ var LabelLeadingIcon = ({
20099
20411
  ...props
20100
20412
  }) => {
20101
20413
  const titleFr = title2 != null ? title2 : isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
20102
- return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Tooltip, { title: titleFr, children: /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(
20414
+ return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Tooltip, { title: titleFr, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
20103
20415
  "button",
20104
20416
  {
20105
20417
  css: inputIconBtn,
@@ -20109,7 +20421,7 @@ var LabelLeadingIcon = ({
20109
20421
  ...props,
20110
20422
  "data-testid": "lock-button",
20111
20423
  children: [
20112
- /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
20424
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
20113
20425
  Icon,
20114
20426
  {
20115
20427
  icon: isLocked ? "lock" : icon ? icon : "arrows-expand-down-right",
@@ -20129,8 +20441,8 @@ init_emotion_jsx_shim();
20129
20441
 
20130
20442
  // src/components/ParameterInputs/styles/ParameterInput.styles.ts
20131
20443
  init_emotion_jsx_shim();
20132
- var import_react117 = require("@emotion/react");
20133
- var inputContainer2 = import_react117.css`
20444
+ var import_react122 = require("@emotion/react");
20445
+ var inputContainer2 = import_react122.css`
20134
20446
  position: relative;
20135
20447
  scroll-margin: var(--spacing-2xl);
20136
20448
 
@@ -20143,14 +20455,14 @@ var inputContainer2 = import_react117.css`
20143
20455
  }
20144
20456
  }
20145
20457
  `;
20146
- var labelText2 = import_react117.css`
20458
+ var labelText2 = import_react122.css`
20147
20459
  align-items: center;
20148
20460
  display: flex;
20149
20461
  gap: var(--spacing-xs);
20150
20462
  font-weight: var(--fw-regular);
20151
20463
  margin: 0 0 var(--spacing-xs);
20152
20464
  `;
20153
- var input3 = import_react117.css`
20465
+ var input3 = import_react122.css`
20154
20466
  display: block;
20155
20467
  appearance: none;
20156
20468
  box-sizing: border-box;
@@ -20198,18 +20510,18 @@ var input3 = import_react117.css`
20198
20510
  color: var(--gray-400);
20199
20511
  }
20200
20512
  `;
20201
- var selectInput = import_react117.css`
20513
+ var selectInput = import_react122.css`
20202
20514
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%0A%3E%3Cpath d='M6.34317 7.75732L4.92896 9.17154L12 16.2426L19.0711 9.17157L17.6569 7.75735L12 13.4142L6.34317 7.75732Z' fill='currentColor' /%3E%3C/svg%3E");
20203
20515
  background-position: right var(--spacing-sm) center;
20204
20516
  background-repeat: no-repeat;
20205
20517
  background-size: 1rem;
20206
20518
  padding-right: var(--spacing-xl);
20207
20519
  `;
20208
- var inputWrapper = import_react117.css`
20520
+ var inputWrapper = import_react122.css`
20209
20521
  display: flex; // used to correct overflow with chrome textarea
20210
20522
  position: relative;
20211
20523
  `;
20212
- var inputIcon2 = import_react117.css`
20524
+ var inputIcon2 = import_react122.css`
20213
20525
  align-items: center;
20214
20526
  background: var(--white);
20215
20527
  border-radius: var(--rounded-md) 0 0 var(--rounded-md);
@@ -20225,7 +20537,7 @@ var inputIcon2 = import_react117.css`
20225
20537
  width: var(--spacing-lg);
20226
20538
  z-index: var(--z-10);
20227
20539
  `;
20228
- var inputToggleLabel2 = import_react117.css`
20540
+ var inputToggleLabel2 = import_react122.css`
20229
20541
  --inline-label-color: var(--typography-base);
20230
20542
  align-items: center;
20231
20543
  cursor: pointer;
@@ -20240,7 +20552,7 @@ var inputToggleLabel2 = import_react117.css`
20240
20552
  --inline-label-color: var(--gray-400);
20241
20553
  }
20242
20554
  `;
20243
- var toggleInput2 = import_react117.css`
20555
+ var toggleInput2 = import_react122.css`
20244
20556
  appearance: none;
20245
20557
  border: 1px solid var(--gray-200);
20246
20558
  background: var(--white);
@@ -20293,7 +20605,7 @@ var toggleInput2 = import_react117.css`
20293
20605
  border-color: var(--gray-300);
20294
20606
  }
20295
20607
  `;
20296
- var inlineLabel2 = import_react117.css`
20608
+ var inlineLabel2 = import_react122.css`
20297
20609
  color: var(--inline-label-color);
20298
20610
  padding-left: var(--spacing-md);
20299
20611
  font-size: var(--fs-sm);
@@ -20310,7 +20622,7 @@ var inlineLabel2 = import_react117.css`
20310
20622
  }
20311
20623
  }
20312
20624
  `;
20313
- var inputMenu = import_react117.css`
20625
+ var inputMenu = import_react122.css`
20314
20626
  background: none;
20315
20627
  border: none;
20316
20628
  padding: var(--spacing-2xs);
@@ -20318,10 +20630,10 @@ var inputMenu = import_react117.css`
20318
20630
  top: calc(var(--spacing-md) * -1.2);
20319
20631
  right: 0;
20320
20632
  `;
20321
- var inputActionItems = import_react117.css`
20633
+ var inputActionItems = import_react122.css`
20322
20634
  display: flex;
20323
20635
  `;
20324
- var inputMenuHover = import_react117.css`
20636
+ var inputMenuHover = import_react122.css`
20325
20637
  opacity: var(--opacity-50);
20326
20638
  transition: background-color var(--duration-fast) var(--timing-ease-out);
20327
20639
 
@@ -20331,11 +20643,11 @@ var inputMenuHover = import_react117.css`
20331
20643
  background-color: var(--gray-200);
20332
20644
  }
20333
20645
  `;
20334
- var textarea2 = import_react117.css`
20646
+ var textarea2 = import_react122.css`
20335
20647
  resize: vertical;
20336
20648
  min-height: 2rem;
20337
20649
  `;
20338
- var dataConnectButton = import_react117.css`
20650
+ var dataConnectButton = import_react122.css`
20339
20651
  align-items: center;
20340
20652
  appearance: none;
20341
20653
  box-sizing: border-box;
@@ -20370,7 +20682,7 @@ var dataConnectButton = import_react117.css`
20370
20682
  pointer-events: none;
20371
20683
  }
20372
20684
  `;
20373
- var linkParameterBtn = import_react117.css`
20685
+ var linkParameterBtn = import_react122.css`
20374
20686
  border-radius: var(--rounded-base);
20375
20687
  background: transparent;
20376
20688
  border: none;
@@ -20379,7 +20691,7 @@ var linkParameterBtn = import_react117.css`
20379
20691
  font-size: var(--fs-sm);
20380
20692
  line-height: 1;
20381
20693
  `;
20382
- var linkParameterControls = import_react117.css`
20694
+ var linkParameterControls = import_react122.css`
20383
20695
  position: absolute;
20384
20696
  inset: 0 0 0 auto;
20385
20697
  padding: 0 var(--spacing-base);
@@ -20388,7 +20700,7 @@ var linkParameterControls = import_react117.css`
20388
20700
  justify-content: center;
20389
20701
  gap: var(--spacing-base);
20390
20702
  `;
20391
- var linkParameterInput = (withExternalLinkIcon) => import_react117.css`
20703
+ var linkParameterInput = (withExternalLinkIcon) => import_react122.css`
20392
20704
  padding-right: calc(
20393
20705
  ${withExternalLinkIcon ? "calc(var(--spacing-lg) * 2 + var(--spacing-xs))" : "var(--spacing-xl)"} +
20394
20706
  var(--spacing-base)
@@ -20401,7 +20713,7 @@ var linkParameterInput = (withExternalLinkIcon) => import_react117.css`
20401
20713
  }
20402
20714
  }
20403
20715
  `;
20404
- var linkParameterIcon = import_react117.css`
20716
+ var linkParameterIcon = import_react122.css`
20405
20717
  align-items: center;
20406
20718
  color: var(--brand-secondary-3);
20407
20719
  display: flex;
@@ -20416,7 +20728,7 @@ var linkParameterIcon = import_react117.css`
20416
20728
  `;
20417
20729
 
20418
20730
  // src/components/ParameterInputs/ParameterDataResource.tsx
20419
- var import_jsx_runtime103 = require("@emotion/react/jsx-runtime");
20731
+ var import_jsx_runtime108 = require("@emotion/react/jsx-runtime");
20420
20732
  function ParameterDataResource({
20421
20733
  label,
20422
20734
  labelLeadingIcon,
@@ -20426,12 +20738,12 @@ function ParameterDataResource({
20426
20738
  disabled: disabled2,
20427
20739
  children
20428
20740
  }) {
20429
- return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("div", { "data-testid": "parameter-data-connect-button", children: [
20430
- /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("span", { css: labelText2, children: [
20741
+ return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)("div", { "data-testid": "parameter-data-connect-button", children: [
20742
+ /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)("span", { css: labelText2, children: [
20431
20743
  labelLeadingIcon ? labelLeadingIcon : null,
20432
20744
  label
20433
20745
  ] }),
20434
- /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(
20746
+ /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(
20435
20747
  "button",
20436
20748
  {
20437
20749
  type: "button",
@@ -20440,12 +20752,12 @@ function ParameterDataResource({
20440
20752
  disabled: disabled2,
20441
20753
  onClick: onConnectDatasource,
20442
20754
  children: [
20443
- /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
20755
+ /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
20444
20756
  children
20445
20757
  ]
20446
20758
  }
20447
20759
  ),
20448
- caption ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Caption, { children: caption }) : null
20760
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Caption, { children: caption }) : null
20449
20761
  ] });
20450
20762
  }
20451
20763
 
@@ -20454,20 +20766,20 @@ init_emotion_jsx_shim();
20454
20766
 
20455
20767
  // src/components/ParameterInputs/styles/ParameterDrawerHeader.styles.ts
20456
20768
  init_emotion_jsx_shim();
20457
- var import_react118 = require("@emotion/react");
20458
- var ParameterDrawerHeaderContainer = import_react118.css`
20769
+ var import_react123 = require("@emotion/react");
20770
+ var ParameterDrawerHeaderContainer = import_react123.css`
20459
20771
  align-items: center;
20460
20772
  display: flex;
20461
20773
  gap: var(--spacing-base);
20462
20774
  justify-content: space-between;
20463
20775
  margin-bottom: var(--spacing-sm);
20464
20776
  `;
20465
- var ParameterDrawerHeaderTitleGroup = import_react118.css`
20777
+ var ParameterDrawerHeaderTitleGroup = import_react123.css`
20466
20778
  align-items: center;
20467
20779
  display: flex;
20468
20780
  gap: var(--spacing-sm);
20469
20781
  `;
20470
- var ParameterDrawerHeaderTitle = import_react118.css`
20782
+ var ParameterDrawerHeaderTitle = import_react123.css`
20471
20783
  text-overflow: ellipsis;
20472
20784
  white-space: nowrap;
20473
20785
  overflow: hidden;
@@ -20475,12 +20787,12 @@ var ParameterDrawerHeaderTitle = import_react118.css`
20475
20787
  `;
20476
20788
 
20477
20789
  // src/components/ParameterInputs/ParameterDrawerHeader.tsx
20478
- var import_jsx_runtime104 = require("@emotion/react/jsx-runtime");
20790
+ var import_jsx_runtime109 = require("@emotion/react/jsx-runtime");
20479
20791
  var ParameterDrawerHeader = ({ title: title2, iconBeforeTitle, children }) => {
20480
- return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)("div", { css: ParameterDrawerHeaderContainer, children: [
20481
- /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)("header", { css: ParameterDrawerHeaderTitleGroup, children: [
20792
+ return /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)("div", { css: ParameterDrawerHeaderContainer, children: [
20793
+ /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)("header", { css: ParameterDrawerHeaderTitleGroup, children: [
20482
20794
  iconBeforeTitle,
20483
- /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Heading2, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title: title2, children: title2 })
20795
+ /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Heading2, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title: title2, children: title2 })
20484
20796
  ] }),
20485
20797
  children
20486
20798
  ] });
@@ -20488,12 +20800,12 @@ var ParameterDrawerHeader = ({ title: title2, iconBeforeTitle, children }) => {
20488
20800
 
20489
20801
  // src/components/ParameterInputs/ParameterGroup.tsx
20490
20802
  init_emotion_jsx_shim();
20491
- var import_react120 = require("react");
20803
+ var import_react125 = require("react");
20492
20804
 
20493
20805
  // src/components/ParameterInputs/styles/ParameterGroup.styles.ts
20494
20806
  init_emotion_jsx_shim();
20495
- var import_react119 = require("@emotion/react");
20496
- var fieldsetStyles = import_react119.css`
20807
+ var import_react124 = require("@emotion/react");
20808
+ var fieldsetStyles = import_react124.css`
20497
20809
  &:disabled,
20498
20810
  [readonly] {
20499
20811
  pointer-events: none;
@@ -20504,7 +20816,7 @@ var fieldsetStyles = import_react119.css`
20504
20816
  }
20505
20817
  }
20506
20818
  `;
20507
- var fieldsetLegend2 = import_react119.css`
20819
+ var fieldsetLegend2 = import_react124.css`
20508
20820
  display: block;
20509
20821
  font-weight: var(--fw-medium);
20510
20822
  margin-bottom: var(--spacing-sm);
@@ -20512,11 +20824,11 @@ var fieldsetLegend2 = import_react119.css`
20512
20824
  `;
20513
20825
 
20514
20826
  // src/components/ParameterInputs/ParameterGroup.tsx
20515
- var import_jsx_runtime105 = require("@emotion/react/jsx-runtime");
20516
- var ParameterGroup = (0, import_react120.forwardRef)(
20827
+ var import_jsx_runtime110 = require("@emotion/react/jsx-runtime");
20828
+ var ParameterGroup = (0, import_react125.forwardRef)(
20517
20829
  ({ legend, isDisabled, children, ...props }, ref) => {
20518
- return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
20519
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("legend", { css: fieldsetLegend2, children: legend }),
20830
+ return /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
20831
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsx)("legend", { css: fieldsetLegend2, children: legend }),
20520
20832
  children
20521
20833
  ] });
20522
20834
  }
@@ -20524,24 +20836,24 @@ var ParameterGroup = (0, import_react120.forwardRef)(
20524
20836
 
20525
20837
  // src/components/ParameterInputs/ParameterImage.tsx
20526
20838
  init_emotion_jsx_shim();
20527
- var import_react127 = require("react");
20839
+ var import_react132 = require("react");
20528
20840
 
20529
20841
  // src/components/ParameterInputs/ParameterImagePreview.tsx
20530
20842
  init_emotion_jsx_shim();
20531
- var import_react122 = require("react");
20843
+ var import_react127 = require("react");
20532
20844
  var import_react_dom2 = require("react-dom");
20533
20845
 
20534
20846
  // src/components/ParameterInputs/styles/ParameterImage.styles.ts
20535
20847
  init_emotion_jsx_shim();
20536
- var import_react121 = require("@emotion/react");
20537
- var previewWrapper = import_react121.css`
20848
+ var import_react126 = require("@emotion/react");
20849
+ var previewWrapper = import_react126.css`
20538
20850
  margin-top: var(--spacing-xs);
20539
20851
  background: var(--gray-50);
20540
20852
  padding: var(--spacing-sm);
20541
20853
  border: solid 1px var(--gray-300);
20542
20854
  border-radius: var(--rounded-sm);
20543
20855
  `;
20544
- var previewLink = import_react121.css`
20856
+ var previewLink = import_react126.css`
20545
20857
  display: block;
20546
20858
  width: 100%;
20547
20859
 
@@ -20549,7 +20861,7 @@ var previewLink = import_react121.css`
20549
20861
  max-height: 9rem;
20550
20862
  }
20551
20863
  `;
20552
- var previewModalWrapper = import_react121.css`
20864
+ var previewModalWrapper = import_react126.css`
20553
20865
  background: var(--gray-50);
20554
20866
  display: flex;
20555
20867
  height: 100%;
@@ -20558,7 +20870,7 @@ var previewModalWrapper = import_react121.css`
20558
20870
  border: solid 1px var(--gray-300);
20559
20871
  border-radius: var(--rounded-sm);
20560
20872
  `;
20561
- var previewModalImage = import_react121.css`
20873
+ var previewModalImage = import_react126.css`
20562
20874
  display: flex;
20563
20875
  height: 100%;
20564
20876
  width: 100%;
@@ -20570,32 +20882,32 @@ var previewModalImage = import_react121.css`
20570
20882
  `;
20571
20883
 
20572
20884
  // src/components/ParameterInputs/ParameterImagePreview.tsx
20573
- var import_jsx_runtime106 = require("@emotion/react/jsx-runtime");
20885
+ var import_jsx_runtime111 = require("@emotion/react/jsx-runtime");
20574
20886
  function ParameterImagePreview({ imageSrc }) {
20575
- const [showModal, setShowModal] = (0, import_react122.useState)(false);
20576
- return imageSrc ? /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { css: previewWrapper, children: [
20577
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(PreviewImageModal, { open: showModal, imageSrc, onRequestClose: () => setShowModal(false) }),
20578
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
20887
+ const [showModal, setShowModal] = (0, import_react127.useState)(false);
20888
+ return imageSrc ? /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { css: previewWrapper, children: [
20889
+ /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(PreviewImageModal, { open: showModal, imageSrc, onRequestClose: () => setShowModal(false) }),
20890
+ /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
20579
20891
  "button",
20580
20892
  {
20581
20893
  css: previewLink,
20582
20894
  onClick: () => {
20583
20895
  setShowModal(true);
20584
20896
  },
20585
- children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Image, { src: imageSrc, "data-testid": "parameter-image-preview" })
20897
+ children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Image, { src: imageSrc, "data-testid": "parameter-image-preview" })
20586
20898
  }
20587
20899
  )
20588
20900
  ] }) : null;
20589
20901
  }
20590
20902
  var PreviewImageModal = ({ open, onRequestClose, imageSrc }) => {
20591
- return open ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_jsx_runtime106.Fragment, { children: (0, import_react_dom2.createPortal)(
20592
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
20903
+ return open ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_jsx_runtime111.Fragment, { children: (0, import_react_dom2.createPortal)(
20904
+ /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
20593
20905
  Modal,
20594
20906
  {
20595
20907
  header: "Image Preview",
20596
20908
  onRequestClose,
20597
- buttonGroup: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Button, { buttonType: "secondary", onClick: onRequestClose, children: "Ok" }),
20598
- children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { css: previewModalWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Image, { src: imageSrc, css: previewModalImage, "data-testid": "parameter-image-preview" }) })
20909
+ buttonGroup: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Button, { buttonType: "secondary", onClick: onRequestClose, children: "Ok" }),
20910
+ children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("div", { css: previewModalWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Image, { src: imageSrc, css: previewModalImage, "data-testid": "parameter-image-preview" }) })
20599
20911
  }
20600
20912
  ),
20601
20913
  document.body
@@ -20604,27 +20916,27 @@ var PreviewImageModal = ({ open, onRequestClose, imageSrc }) => {
20604
20916
 
20605
20917
  // src/components/ParameterInputs/ParameterShell.tsx
20606
20918
  init_emotion_jsx_shim();
20607
- var import_react125 = require("@emotion/react");
20608
- var import_react126 = require("react");
20919
+ var import_react130 = require("@emotion/react");
20920
+ var import_react131 = require("react");
20609
20921
 
20610
20922
  // src/components/ParameterInputs/ParameterLabel.tsx
20611
20923
  init_emotion_jsx_shim();
20612
- var import_jsx_runtime107 = require("@emotion/react/jsx-runtime");
20924
+ var import_jsx_runtime112 = require("@emotion/react/jsx-runtime");
20613
20925
  var ParameterLabel = ({ id, asSpan, children, ...props }) => {
20614
- return !asSpan ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("span", { "aria-labelledby": id, css: labelText2, children });
20926
+ return !asSpan ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("span", { "aria-labelledby": id, css: labelText2, children });
20615
20927
  };
20616
20928
 
20617
20929
  // src/components/ParameterInputs/ParameterMenuButton.tsx
20618
20930
  init_emotion_jsx_shim();
20619
- var import_react123 = require("react");
20620
- var import_jsx_runtime108 = require("@emotion/react/jsx-runtime");
20621
- var ParameterMenuButton = (0, import_react123.forwardRef)(
20931
+ var import_react128 = require("react");
20932
+ var import_jsx_runtime113 = require("@emotion/react/jsx-runtime");
20933
+ var ParameterMenuButton = (0, import_react128.forwardRef)(
20622
20934
  ({ label, children }, ref) => {
20623
- return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
20935
+ return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
20624
20936
  Menu,
20625
20937
  {
20626
20938
  menuLabel: `${label} menu`,
20627
- menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
20939
+ menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
20628
20940
  "button",
20629
20941
  {
20630
20942
  className: "parameter-menu",
@@ -20632,7 +20944,7 @@ var ParameterMenuButton = (0, import_react123.forwardRef)(
20632
20944
  type: "button",
20633
20945
  "aria-label": `${label} options`,
20634
20946
  ref,
20635
- children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
20947
+ children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
20636
20948
  }
20637
20949
  ),
20638
20950
  children
@@ -20643,14 +20955,14 @@ var ParameterMenuButton = (0, import_react123.forwardRef)(
20643
20955
 
20644
20956
  // src/components/ParameterInputs/styles/ParameterShell.styles.ts
20645
20957
  init_emotion_jsx_shim();
20646
- var import_react124 = require("@emotion/react");
20647
- var emptyParameterShell = import_react124.css`
20958
+ var import_react129 = require("@emotion/react");
20959
+ var emptyParameterShell = import_react129.css`
20648
20960
  border-radius: var(--rounded-sm);
20649
20961
  flex-grow: 1;
20650
20962
  position: relative;
20651
20963
  max-width: 100%;
20652
20964
  `;
20653
- var emptyParameterShellText = import_react124.css`
20965
+ var emptyParameterShellText = import_react129.css`
20654
20966
  background: var(--brand-secondary-6);
20655
20967
  border-radius: var(--rounded-sm);
20656
20968
  padding: var(--spacing-sm);
@@ -20658,7 +20970,7 @@ var emptyParameterShellText = import_react124.css`
20658
20970
  font-size: var(--fs-sm);
20659
20971
  margin: 0;
20660
20972
  `;
20661
- var overrideMarker = import_react124.css`
20973
+ var overrideMarker = import_react129.css`
20662
20974
  border-radius: var(--rounded-sm);
20663
20975
  border: 10px solid var(--gray-300);
20664
20976
  border-left-color: transparent;
@@ -20669,7 +20981,7 @@ var overrideMarker = import_react124.css`
20669
20981
  `;
20670
20982
 
20671
20983
  // src/components/ParameterInputs/ParameterShell.tsx
20672
- var import_jsx_runtime109 = require("@emotion/react/jsx-runtime");
20984
+ var import_jsx_runtime114 = require("@emotion/react/jsx-runtime");
20673
20985
  var extractParameterProps = (props) => {
20674
20986
  const {
20675
20987
  id,
@@ -20729,36 +21041,36 @@ var ParameterShell = ({
20729
21041
  isParameterGroup = false,
20730
21042
  ...props
20731
21043
  }) => {
20732
- const [manualErrorMessage, setManualErrorMessage] = (0, import_react126.useState)(void 0);
21044
+ const [manualErrorMessage, setManualErrorMessage] = (0, import_react131.useState)(void 0);
20733
21045
  const setErrorMessage = (message) => setManualErrorMessage(message);
20734
21046
  const errorMessaging = errorMessage || manualErrorMessage;
20735
- return /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)("div", { css: inputContainer2, ...props, id, children: [
20736
- hiddenLabel || title2 ? null : /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(ParameterLabel, { id, css: labelText2, children: [
21047
+ return /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)("div", { css: inputContainer2, ...props, id, children: [
21048
+ hiddenLabel || title2 ? null : /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(ParameterLabel, { id, css: labelText2, children: [
20737
21049
  labelLeadingIcon != null ? labelLeadingIcon : null,
20738
21050
  label,
20739
21051
  labelTrailingIcon != null ? labelTrailingIcon : null
20740
21052
  ] }),
20741
- !title2 ? null : /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(ParameterLabel, { id, asSpan: true, children: [
21053
+ !title2 ? null : /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(ParameterLabel, { id, asSpan: true, children: [
20742
21054
  labelLeadingIcon != null ? labelLeadingIcon : null,
20743
21055
  title2,
20744
21056
  labelTrailingIcon != null ? labelTrailingIcon : null
20745
21057
  ] }),
20746
- /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)("div", { css: inputWrapper, children: [
20747
- actionItems ? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
21058
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)("div", { css: inputWrapper, children: [
21059
+ actionItems ? /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
20748
21060
  "div",
20749
21061
  {
20750
21062
  css: [
20751
21063
  inputMenu,
20752
21064
  inputActionItems,
20753
- menuItems ? import_react125.css`
21065
+ menuItems ? import_react130.css`
20754
21066
  right: var(--spacing-md);
20755
21067
  ` : void 0
20756
21068
  ],
20757
21069
  children: actionItems
20758
21070
  }
20759
21071
  ) : null,
20760
- menuItems ? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
20761
- /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
21072
+ menuItems ? /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
21073
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
20762
21074
  ParameterShellContext.Provider,
20763
21075
  {
20764
21076
  value: {
@@ -20768,14 +21080,14 @@ var ParameterShell = ({
20768
21080
  errorMessage: errorMessaging,
20769
21081
  handleManuallySetErrorMessage: (message) => setErrorMessage(message)
20770
21082
  },
20771
- children: isParameterGroup ? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)("div", { style: { flexGrow: 1 }, children }) : /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(ParameterShellPlaceholder, { children: [
21083
+ children: isParameterGroup ? /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { style: { flexGrow: 1 }, children }) : /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(ParameterShellPlaceholder, { children: [
20772
21084
  children,
20773
- hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
21085
+ hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
20774
21086
  ] })
20775
21087
  }
20776
21088
  )
20777
21089
  ] }),
20778
- /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
21090
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
20779
21091
  FieldMessage,
20780
21092
  {
20781
21093
  helperMessageTestId: captionTestId,
@@ -20789,27 +21101,27 @@ var ParameterShell = ({
20789
21101
  ] });
20790
21102
  };
20791
21103
  var ParameterShellPlaceholder = ({ children }) => {
20792
- return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)("div", { css: emptyParameterShell, children });
21104
+ return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { css: emptyParameterShell, children });
20793
21105
  };
20794
- var ParameterOverrideMarker = (props) => /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)("span", { hidden: true, children: "reset overridden value to default" }) }) });
21106
+ var ParameterOverrideMarker = (props) => /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("span", { hidden: true, children: "reset overridden value to default" }) }) });
20795
21107
 
20796
21108
  // src/components/ParameterInputs/ParameterImage.tsx
20797
- var import_jsx_runtime110 = require("@emotion/react/jsx-runtime");
20798
- var ParameterImage = (0, import_react127.forwardRef)(
21109
+ var import_jsx_runtime115 = require("@emotion/react/jsx-runtime");
21110
+ var ParameterImage = (0, import_react132.forwardRef)(
20799
21111
  ({ children, ...props }, ref) => {
20800
21112
  const { shellProps, innerProps } = extractParameterProps(props);
20801
- return /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: [
20802
- /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(ParameterImageInner, { ref, ...innerProps }),
21113
+ return /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: [
21114
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(ParameterImageInner, { ref, ...innerProps }),
20803
21115
  children
20804
21116
  ] });
20805
21117
  }
20806
21118
  );
20807
- var ParameterImageInner = (0, import_react127.forwardRef)((props, ref) => {
21119
+ var ParameterImageInner = (0, import_react132.forwardRef)((props, ref) => {
20808
21120
  const { value } = props;
20809
21121
  const { id, label, hiddenLabel, errorMessage } = useParameterShell();
20810
- const deferredValue = (0, import_react127.useDeferredValue)(value);
20811
- return /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_jsx_runtime110.Fragment, { children: [
20812
- /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
21122
+ const deferredValue = (0, import_react132.useDeferredValue)(value);
21123
+ return /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_jsx_runtime115.Fragment, { children: [
21124
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
20813
21125
  "input",
20814
21126
  {
20815
21127
  css: input3,
@@ -20821,22 +21133,22 @@ var ParameterImageInner = (0, import_react127.forwardRef)((props, ref) => {
20821
21133
  ...props
20822
21134
  }
20823
21135
  ),
20824
- errorMessage || props.disablePreview ? null : /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(ParameterImagePreview, { imageSrc: deferredValue })
21136
+ errorMessage || props.disablePreview ? null : /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(ParameterImagePreview, { imageSrc: deferredValue })
20825
21137
  ] });
20826
21138
  });
20827
21139
 
20828
21140
  // src/components/ParameterInputs/ParameterInput.tsx
20829
21141
  init_emotion_jsx_shim();
20830
- var import_react128 = require("react");
20831
- var import_jsx_runtime111 = require("@emotion/react/jsx-runtime");
20832
- var ParameterInput = (0, import_react128.forwardRef)((props, ref) => {
21142
+ var import_react133 = require("react");
21143
+ var import_jsx_runtime116 = require("@emotion/react/jsx-runtime");
21144
+ var ParameterInput = (0, import_react133.forwardRef)((props, ref) => {
20833
21145
  const { shellProps, innerProps } = extractParameterProps(props);
20834
- return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(ParameterInputInner, { ref, ...innerProps }) });
21146
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(ParameterInputInner, { ref, ...innerProps }) });
20835
21147
  });
20836
- var ParameterInputInner = (0, import_react128.forwardRef)(
21148
+ var ParameterInputInner = (0, import_react133.forwardRef)(
20837
21149
  ({ ...props }, ref) => {
20838
21150
  const { id, label, hiddenLabel } = useParameterShell();
20839
- return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
21151
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
20840
21152
  "input",
20841
21153
  {
20842
21154
  css: input3,
@@ -20853,19 +21165,19 @@ var ParameterInputInner = (0, import_react128.forwardRef)(
20853
21165
 
20854
21166
  // src/components/ParameterInputs/ParameterLink.tsx
20855
21167
  init_emotion_jsx_shim();
20856
- var import_react129 = require("react");
20857
- var import_jsx_runtime112 = require("@emotion/react/jsx-runtime");
20858
- var ParameterLink = (0, import_react129.forwardRef)(
21168
+ var import_react134 = require("react");
21169
+ var import_jsx_runtime117 = require("@emotion/react/jsx-runtime");
21170
+ var ParameterLink = (0, import_react134.forwardRef)(
20859
21171
  ({ disabled: disabled2, onConnectLink, externalLink, ...props }, ref) => {
20860
21172
  const { shellProps, innerProps } = extractParameterProps(props);
20861
- return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
21173
+ return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
20862
21174
  ParameterShell,
20863
21175
  {
20864
21176
  "data-testid": "link-parameter-editor",
20865
21177
  ...shellProps,
20866
21178
  label: innerProps.value ? shellProps.label : "",
20867
21179
  title: !innerProps.value ? shellProps.label : void 0,
20868
- children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
21180
+ children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
20869
21181
  ParameterLinkInner,
20870
21182
  {
20871
21183
  onConnectLink,
@@ -20878,13 +21190,13 @@ var ParameterLink = (0, import_react129.forwardRef)(
20878
21190
  );
20879
21191
  }
20880
21192
  );
20881
- var ParameterLinkInner = (0, import_react129.forwardRef)(
21193
+ var ParameterLinkInner = (0, import_react134.forwardRef)(
20882
21194
  ({ externalLink, onConnectLink, disabled: disabled2, buttonText = "Select link", ...props }, ref) => {
20883
21195
  const { id, label, hiddenLabel } = useParameterShell();
20884
21196
  if (!props.value)
20885
- return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("button", { type: "button", css: dataConnectButton, disabled: disabled2, onClick: onConnectLink, children: buttonText });
20886
- return /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { css: inputWrapper, children: [
20887
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
21197
+ return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)("button", { type: "button", css: dataConnectButton, disabled: disabled2, onClick: onConnectLink, children: buttonText });
21198
+ return /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)("div", { css: inputWrapper, children: [
21199
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
20888
21200
  "input",
20889
21201
  {
20890
21202
  type: "text",
@@ -20896,8 +21208,8 @@ var ParameterLinkInner = (0, import_react129.forwardRef)(
20896
21208
  ...props
20897
21209
  }
20898
21210
  ),
20899
- /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { css: linkParameterControls, children: [
20900
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
21211
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)("div", { css: linkParameterControls, children: [
21212
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
20901
21213
  "button",
20902
21214
  {
20903
21215
  type: "button",
@@ -20908,7 +21220,7 @@ var ParameterLinkInner = (0, import_react129.forwardRef)(
20908
21220
  children: "edit"
20909
21221
  }
20910
21222
  ),
20911
- externalLink ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
21223
+ externalLink ? /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
20912
21224
  "a",
20913
21225
  {
20914
21226
  href: externalLink,
@@ -20916,7 +21228,7 @@ var ParameterLinkInner = (0, import_react129.forwardRef)(
20916
21228
  title: "Open link in new tab",
20917
21229
  target: "_blank",
20918
21230
  rel: "noopener noreferrer",
20919
- children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
21231
+ children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
20920
21232
  }
20921
21233
  ) : null
20922
21234
  ] })
@@ -20926,15 +21238,15 @@ var ParameterLinkInner = (0, import_react129.forwardRef)(
20926
21238
 
20927
21239
  // src/components/ParameterInputs/ParameterMultiSelect.tsx
20928
21240
  init_emotion_jsx_shim();
20929
- var import_jsx_runtime113 = require("@emotion/react/jsx-runtime");
21241
+ var import_jsx_runtime118 = require("@emotion/react/jsx-runtime");
20930
21242
  var ParameterMultiSelect = ({ disabled: disabled2 = false, ...props }) => {
20931
21243
  const { shellProps, innerProps } = extractParameterProps(props);
20932
- return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(ParameterMultiSelectInner, { isDisabled: disabled2, ...innerProps }) });
21244
+ return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(ParameterMultiSelectInner, { isDisabled: disabled2, ...innerProps }) });
20933
21245
  };
20934
21246
  var ParameterMultiSelectInner = (props) => {
20935
21247
  var _a;
20936
21248
  const { id, label } = useParameterShell();
20937
- return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
21249
+ return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
20938
21250
  InputComboBox,
20939
21251
  {
20940
21252
  menuPortalTarget: document.body,
@@ -20985,7 +21297,7 @@ var ParameterMultiSelectInner = (props) => {
20985
21297
 
20986
21298
  // src/components/ParameterInputs/ParameterNameAndPublicIdInput.tsx
20987
21299
  init_emotion_jsx_shim();
20988
- var import_jsx_runtime114 = require("@emotion/react/jsx-runtime");
21300
+ var import_jsx_runtime119 = require("@emotion/react/jsx-runtime");
20989
21301
  var ParameterNameAndPublicIdInput = ({
20990
21302
  id,
20991
21303
  onBlur,
@@ -21011,8 +21323,8 @@ var ParameterNameAndPublicIdInput = ({
21011
21323
  navigator.clipboard.writeText(values[publicIdFieldName]);
21012
21324
  };
21013
21325
  autoFocus == null ? void 0 : autoFocus();
21014
- return /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_jsx_runtime114.Fragment, { children: [
21015
- /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
21326
+ return /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)(import_jsx_runtime119.Fragment, { children: [
21327
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
21016
21328
  ParameterInput,
21017
21329
  {
21018
21330
  id: nameIdField,
@@ -21031,7 +21343,7 @@ var ParameterNameAndPublicIdInput = ({
21031
21343
  value: values[nameIdField]
21032
21344
  }
21033
21345
  ),
21034
- /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
21346
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
21035
21347
  ParameterInput,
21036
21348
  {
21037
21349
  id: publicIdFieldName,
@@ -21045,11 +21357,11 @@ var ParameterNameAndPublicIdInput = ({
21045
21357
  caption: !publicIdError ? publicIdCaption : void 0,
21046
21358
  placeholder: publicIdPlaceholderText,
21047
21359
  errorMessage: publicIdError,
21048
- menuItems: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
21360
+ menuItems: /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
21049
21361
  MenuItem,
21050
21362
  {
21051
21363
  disabled: !values[publicIdFieldName],
21052
- icon: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Icon, { icon: "path-trim", iconColor: "currentColor" }),
21364
+ icon: /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(Icon, { icon: "path-trim", iconColor: "currentColor" }),
21053
21365
  onClick: handleCopyPidFieldValue,
21054
21366
  children: "Copy"
21055
21367
  }
@@ -21057,13 +21369,13 @@ var ParameterNameAndPublicIdInput = ({
21057
21369
  value: values[publicIdFieldName]
21058
21370
  }
21059
21371
  ),
21060
- (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(Callout, { type: "caution", children: warnOverLength.message }) : null
21372
+ (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(Callout, { type: "caution", children: warnOverLength.message }) : null
21061
21373
  ] });
21062
21374
  };
21063
21375
 
21064
21376
  // src/components/ParameterInputs/ParameterRichText.tsx
21065
21377
  init_emotion_jsx_shim();
21066
- var import_react136 = require("@emotion/react");
21378
+ var import_react141 = require("@emotion/react");
21067
21379
  var import_list3 = require("@lexical/list");
21068
21380
  var import_markdown = require("@lexical/markdown");
21069
21381
  var import_LexicalComposer = require("@lexical/react/LexicalComposer");
@@ -21170,7 +21482,7 @@ var getLabelForElement = (type) => {
21170
21482
  // src/components/ParameterInputs/ParameterRichText.tsx
21171
21483
  var import_fast_equals2 = require("fast-equals");
21172
21484
  var import_lexical6 = require("lexical");
21173
- var import_react137 = require("react");
21485
+ var import_react142 = require("react");
21174
21486
 
21175
21487
  // src/components/ParameterInputs/rich-text/CustomCodeNode.ts
21176
21488
  init_emotion_jsx_shim();
@@ -21193,10 +21505,10 @@ init_emotion_jsx_shim();
21193
21505
  var import_LexicalComposerContext = require("@lexical/react/LexicalComposerContext");
21194
21506
  var import_utils2 = require("@lexical/utils");
21195
21507
  var import_lexical = require("lexical");
21196
- var import_react130 = require("react");
21508
+ var import_react135 = require("react");
21197
21509
  function DisableStylesPlugin() {
21198
21510
  const [editor] = (0, import_LexicalComposerContext.useLexicalComposerContext)();
21199
- (0, import_react130.useEffect)(() => {
21511
+ (0, import_react135.useEffect)(() => {
21200
21512
  return (0, import_utils2.mergeRegister)(
21201
21513
  // Disable text alignment on paragraph nodes
21202
21514
  editor.registerNodeTransform(import_lexical.ParagraphNode, (node) => {
@@ -21391,13 +21703,13 @@ var codeElement = import_css2.css`
21391
21703
 
21392
21704
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
21393
21705
  init_emotion_jsx_shim();
21394
- var import_react131 = require("@emotion/react");
21706
+ var import_react136 = require("@emotion/react");
21395
21707
  var import_LexicalComposerContext2 = require("@lexical/react/LexicalComposerContext");
21396
21708
  var import_LexicalNodeEventPlugin = require("@lexical/react/LexicalNodeEventPlugin");
21397
21709
  var import_utils3 = require("@lexical/utils");
21398
21710
  var import_fast_equals = require("fast-equals");
21399
21711
  var import_lexical3 = require("lexical");
21400
- var import_react132 = require("react");
21712
+ var import_react137 = require("react");
21401
21713
 
21402
21714
  // src/components/ParameterInputs/rich-text/utils.ts
21403
21715
  init_emotion_jsx_shim();
@@ -21436,7 +21748,7 @@ var getSelectedNode = (selection) => {
21436
21748
  };
21437
21749
 
21438
21750
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
21439
- var import_jsx_runtime115 = require("@emotion/react/jsx-runtime");
21751
+ var import_jsx_runtime120 = require("@emotion/react/jsx-runtime");
21440
21752
  var isProjectMapLinkValue = (value) => {
21441
21753
  return (value == null ? void 0 : value.type) === "projectMapNode" && Boolean(
21442
21754
  value.nodeId && value.path && value.projectMapId
@@ -21723,16 +22035,16 @@ var OPEN_LINK_NODE_MODAL_COMMAND = (0, import_lexical3.createCommand)(
21723
22035
  );
21724
22036
  var LINK_POPOVER_OFFSET_X = 0;
21725
22037
  var LINK_POPOVER_OFFSET_Y = 8;
21726
- var linkPopover = import_react131.css`
22038
+ var linkPopover = import_react136.css`
21727
22039
  position: absolute;
21728
22040
  z-index: 5;
21729
22041
  `;
21730
- var linkPopoverContainer = import_react131.css`
22042
+ var linkPopoverContainer = import_react136.css`
21731
22043
  ${Popover};
21732
22044
  align-items: center;
21733
22045
  display: flex;
21734
22046
  `;
21735
- var linkPopoverAnchor = import_react131.css`
22047
+ var linkPopoverAnchor = import_react136.css`
21736
22048
  ${link}
21737
22049
  ${linkColorDefault}
21738
22050
  `;
@@ -21741,17 +22053,17 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
21741
22053
  return path;
21742
22054
  };
21743
22055
  const [editor] = (0, import_LexicalComposerContext2.useLexicalComposerContext)();
21744
- const [linkPopoverState, setLinkPopoverState] = (0, import_react132.useState)();
21745
- const linkPopoverElRef = (0, import_react132.useRef)(null);
21746
- const [isEditorFocused, setIsEditorFocused] = (0, import_react132.useState)(false);
21747
- const [isLinkPopoverFocused, setIsLinkPopoverFocused] = (0, import_react132.useState)(false);
21748
- (0, import_react132.useEffect)(() => {
22056
+ const [linkPopoverState, setLinkPopoverState] = (0, import_react137.useState)();
22057
+ const linkPopoverElRef = (0, import_react137.useRef)(null);
22058
+ const [isEditorFocused, setIsEditorFocused] = (0, import_react137.useState)(false);
22059
+ const [isLinkPopoverFocused, setIsLinkPopoverFocused] = (0, import_react137.useState)(false);
22060
+ (0, import_react137.useEffect)(() => {
21749
22061
  if (!isEditorFocused && !isLinkPopoverFocused) {
21750
22062
  setLinkPopoverState(void 0);
21751
22063
  return;
21752
22064
  }
21753
22065
  }, [isEditorFocused, isLinkPopoverFocused]);
21754
- (0, import_react132.useEffect)(() => {
22066
+ (0, import_react137.useEffect)(() => {
21755
22067
  if (!editor.hasNodes([LinkNode])) {
21756
22068
  throw new Error("LinkNode not registered on editor");
21757
22069
  }
@@ -21820,7 +22132,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
21820
22132
  )
21821
22133
  );
21822
22134
  }, [editor, onConnectLink]);
21823
- const maybeShowLinkToolbar = (0, import_react132.useCallback)(() => {
22135
+ const maybeShowLinkToolbar = (0, import_react137.useCallback)(() => {
21824
22136
  if (!editor.isEditable()) {
21825
22137
  return;
21826
22138
  }
@@ -21852,7 +22164,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
21852
22164
  }
21853
22165
  });
21854
22166
  }, [editor]);
21855
- (0, import_react132.useEffect)(() => {
22167
+ (0, import_react137.useEffect)(() => {
21856
22168
  return editor.registerUpdateListener(({ editorState }) => {
21857
22169
  requestAnimationFrame(() => {
21858
22170
  editorState.read(() => {
@@ -21879,8 +22191,8 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
21879
22191
  });
21880
22192
  });
21881
22193
  };
21882
- return /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_jsx_runtime115.Fragment, { children: [
21883
- /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
22194
+ return /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(import_jsx_runtime120.Fragment, { children: [
22195
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
21884
22196
  import_LexicalNodeEventPlugin.NodeEventPlugin,
21885
22197
  {
21886
22198
  nodeType: LinkNode,
@@ -21890,7 +22202,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
21890
22202
  }
21891
22203
  }
21892
22204
  ),
21893
- linkPopoverState ? /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
22205
+ linkPopoverState ? /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
21894
22206
  "div",
21895
22207
  {
21896
22208
  css: linkPopover,
@@ -21899,8 +22211,8 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
21899
22211
  top: linkPopoverState.position.y
21900
22212
  },
21901
22213
  ref: linkPopoverElRef,
21902
- children: /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)("div", { css: linkPopoverContainer, children: [
21903
- linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
22214
+ children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("div", { css: linkPopoverContainer, children: [
22215
+ linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
21904
22216
  "a",
21905
22217
  {
21906
22218
  href: parsePath(
@@ -21912,7 +22224,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
21912
22224
  children: parsePath(linkPopoverState.node.__link.path)
21913
22225
  }
21914
22226
  ),
21915
- /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
22227
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
21916
22228
  Button,
21917
22229
  {
21918
22230
  size: "xs",
@@ -21920,7 +22232,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
21920
22232
  onEditLinkNode(linkPopoverState.node);
21921
22233
  },
21922
22234
  buttonType: "ghost",
21923
- children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
22235
+ children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
21924
22236
  }
21925
22237
  )
21926
22238
  ] })
@@ -21940,8 +22252,8 @@ var import_list = require("@lexical/list");
21940
22252
  var import_LexicalComposerContext3 = require("@lexical/react/LexicalComposerContext");
21941
22253
  var import_LexicalTabIndentationPlugin = require("@lexical/react/LexicalTabIndentationPlugin");
21942
22254
  var import_lexical4 = require("lexical");
21943
- var import_react133 = require("react");
21944
- var import_jsx_runtime116 = require("@emotion/react/jsx-runtime");
22255
+ var import_react138 = require("react");
22256
+ var import_jsx_runtime121 = require("@emotion/react/jsx-runtime");
21945
22257
  function isIndentPermitted(maxDepth) {
21946
22258
  const selection = (0, import_lexical4.$getSelection)();
21947
22259
  if (!(0, import_lexical4.$isRangeSelection)(selection)) {
@@ -21964,19 +22276,19 @@ function isIndentPermitted(maxDepth) {
21964
22276
  }
21965
22277
  function ListIndentPlugin({ maxDepth }) {
21966
22278
  const [editor] = (0, import_LexicalComposerContext3.useLexicalComposerContext)();
21967
- (0, import_react133.useEffect)(() => {
22279
+ (0, import_react138.useEffect)(() => {
21968
22280
  return editor.registerCommand(
21969
22281
  import_lexical4.INDENT_CONTENT_COMMAND,
21970
22282
  () => !isIndentPermitted(maxDepth),
21971
22283
  import_lexical4.COMMAND_PRIORITY_CRITICAL
21972
22284
  );
21973
22285
  }, [editor, maxDepth]);
21974
- return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_LexicalTabIndentationPlugin.TabIndentationPlugin, {});
22286
+ return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(import_LexicalTabIndentationPlugin.TabIndentationPlugin, {});
21975
22287
  }
21976
22288
 
21977
22289
  // src/components/ParameterInputs/rich-text/RichTextToolbar.tsx
21978
22290
  init_emotion_jsx_shim();
21979
- var import_react134 = require("@emotion/react");
22291
+ var import_react139 = require("@emotion/react");
21980
22292
  var import_code2 = require("@lexical/code");
21981
22293
  var import_list2 = require("@lexical/list");
21982
22294
  var import_LexicalComposerContext4 = require("@lexical/react/LexicalComposerContext");
@@ -21984,9 +22296,9 @@ var import_rich_text = require("@lexical/rich-text");
21984
22296
  var import_selection2 = require("@lexical/selection");
21985
22297
  var import_utils6 = require("@lexical/utils");
21986
22298
  var import_lexical5 = require("lexical");
21987
- var import_react135 = require("react");
21988
- var import_jsx_runtime117 = require("@emotion/react/jsx-runtime");
21989
- var toolbar = import_react134.css`
22299
+ var import_react140 = require("react");
22300
+ var import_jsx_runtime122 = require("@emotion/react/jsx-runtime");
22301
+ var toolbar = import_react139.css`
21990
22302
  background: var(--gray-50);
21991
22303
  border-radius: var(--rounded-base);
21992
22304
  display: flex;
@@ -21998,7 +22310,7 @@ var toolbar = import_react134.css`
21998
22310
  top: calc(var(--spacing-sm) * -2);
21999
22311
  z-index: 10;
22000
22312
  `;
22001
- var toolbarGroup = import_react134.css`
22313
+ var toolbarGroup = import_react139.css`
22002
22314
  display: flex;
22003
22315
  gap: var(--spacing-xs);
22004
22316
  position: relative;
@@ -22014,7 +22326,7 @@ var toolbarGroup = import_react134.css`
22014
22326
  width: 1px;
22015
22327
  }
22016
22328
  `;
22017
- var richTextToolbarButton = import_react134.css`
22329
+ var richTextToolbarButton = import_react139.css`
22018
22330
  align-items: center;
22019
22331
  appearance: none;
22020
22332
  border: 0;
@@ -22027,17 +22339,17 @@ var richTextToolbarButton = import_react134.css`
22027
22339
  min-width: 32px;
22028
22340
  padding: 0 var(--spacing-sm);
22029
22341
  `;
22030
- var richTextToolbarButtonActive = import_react134.css`
22342
+ var richTextToolbarButtonActive = import_react139.css`
22031
22343
  background: var(--gray-200);
22032
22344
  `;
22033
- var toolbarIcon = import_react134.css`
22345
+ var toolbarIcon = import_react139.css`
22034
22346
  color: inherit;
22035
22347
  `;
22036
- var toolbarChevron = import_react134.css`
22348
+ var toolbarChevron = import_react139.css`
22037
22349
  margin-left: var(--spacing-xs);
22038
22350
  `;
22039
22351
  var RichTextToolbarIcon = ({ icon }) => {
22040
- return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Icon, { icon, css: toolbarIcon, size: "1rem" });
22352
+ return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(Icon, { icon, css: toolbarIcon, size: "1rem" });
22041
22353
  };
22042
22354
  var FORMATS_WITH_ICON = /* @__PURE__ */ new Map([
22043
22355
  ["bold", "format-bold"],
@@ -22088,7 +22400,7 @@ var RichTextToolbar = ({ config, customControls }) => {
22088
22400
  }
22089
22401
  });
22090
22402
  };
22091
- const updateToolbar = (0, import_react135.useCallback)(() => {
22403
+ const updateToolbar = (0, import_react140.useCallback)(() => {
22092
22404
  const selection = (0, import_lexical5.$getSelection)();
22093
22405
  if (!(0, import_lexical5.$isRangeSelection)(selection)) {
22094
22406
  return;
@@ -22127,7 +22439,7 @@ var RichTextToolbar = ({ config, customControls }) => {
22127
22439
  setIsLink(false);
22128
22440
  }
22129
22441
  }, [editor, setActiveElement, setActiveFormats, setIsLink]);
22130
- (0, import_react135.useEffect)(() => {
22442
+ (0, import_react140.useEffect)(() => {
22131
22443
  return editor.registerCommand(
22132
22444
  import_lexical5.SELECTION_CHANGE_COMMAND,
22133
22445
  (_payload) => {
@@ -22137,7 +22449,7 @@ var RichTextToolbar = ({ config, customControls }) => {
22137
22449
  import_lexical5.COMMAND_PRIORITY_CRITICAL
22138
22450
  );
22139
22451
  }, [editor, updateToolbar]);
22140
- (0, import_react135.useEffect)(() => {
22452
+ (0, import_react140.useEffect)(() => {
22141
22453
  return editor.registerUpdateListener(({ editorState }) => {
22142
22454
  requestAnimationFrame(() => {
22143
22455
  editorState.read(() => {
@@ -22146,15 +22458,15 @@ var RichTextToolbar = ({ config, customControls }) => {
22146
22458
  });
22147
22459
  });
22148
22460
  }, [editor, updateToolbar]);
22149
- return /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)("div", { css: toolbar, children: [
22150
- /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(
22461
+ return /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)("div", { css: toolbar, children: [
22462
+ /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(
22151
22463
  Menu,
22152
22464
  {
22153
22465
  menuLabel: "Elements",
22154
- menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)("button", { css: richTextToolbarButton, title: "Text styles", children: [
22466
+ menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)("button", { css: richTextToolbarButton, title: "Text styles", children: [
22155
22467
  visibleTextualElements.some((element) => element.type === activeElement) ? getLabelForElement(activeElement) : getLabelForElement("paragraph"),
22156
22468
  " ",
22157
- /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
22469
+ /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
22158
22470
  ] }),
22159
22471
  placement: "bottom-start",
22160
22472
  children: [
@@ -22164,7 +22476,7 @@ var RichTextToolbar = ({ config, customControls }) => {
22164
22476
  type: "paragraph"
22165
22477
  },
22166
22478
  ...visibleTextualElements
22167
- ].map((element) => /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
22479
+ ].map((element) => /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
22168
22480
  MenuItem,
22169
22481
  {
22170
22482
  onClick: () => {
@@ -22174,12 +22486,12 @@ var RichTextToolbar = ({ config, customControls }) => {
22174
22486
  },
22175
22487
  element.type
22176
22488
  )),
22177
- visibleTextualElements.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
22489
+ visibleTextualElements.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
22178
22490
  ]
22179
22491
  }
22180
22492
  ),
22181
- visibleFormatsWithIcon.length > 0 || visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)("div", { css: toolbarGroup, children: [
22182
- visibleFormatsWithIcon.map((format) => /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
22493
+ visibleFormatsWithIcon.length > 0 || visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)("div", { css: toolbarGroup, children: [
22494
+ visibleFormatsWithIcon.map((format) => /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
22183
22495
  "button",
22184
22496
  {
22185
22497
  onClick: () => {
@@ -22189,16 +22501,16 @@ var RichTextToolbar = ({ config, customControls }) => {
22189
22501
  richTextToolbarButton,
22190
22502
  activeFormats.includes(format.type) ? richTextToolbarButtonActive : null
22191
22503
  ],
22192
- children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
22504
+ children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
22193
22505
  }
22194
22506
  ) }, format.type)),
22195
- visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
22507
+ visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
22196
22508
  Menu,
22197
22509
  {
22198
22510
  menuLabel: "Alternative text styles",
22199
- menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)("button", { css: richTextToolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Icon, { icon: "more-alt", css: toolbarIcon }) }),
22511
+ menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("button", { css: richTextToolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(Icon, { icon: "more-alt", css: toolbarIcon }) }),
22200
22512
  placement: "bottom-start",
22201
- children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
22513
+ children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
22202
22514
  MenuItem,
22203
22515
  {
22204
22516
  onClick: () => {
@@ -22211,19 +22523,19 @@ var RichTextToolbar = ({ config, customControls }) => {
22211
22523
  }
22212
22524
  ) : null
22213
22525
  ] }) : null,
22214
- visibleElementsWithIcons.size > 0 ? /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)("div", { css: toolbarGroup, children: [
22215
- linkElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
22526
+ visibleElementsWithIcons.size > 0 ? /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)("div", { css: toolbarGroup, children: [
22527
+ linkElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
22216
22528
  "button",
22217
22529
  {
22218
22530
  onClick: () => {
22219
22531
  isLink ? editor.dispatchCommand(REMOVE_LINK_NODE_COMMAND, {}) : editor.dispatchCommand(OPEN_LINK_NODE_MODAL_COMMAND, {});
22220
22532
  },
22221
22533
  css: [richTextToolbarButton, isLink ? richTextToolbarButtonActive : null],
22222
- children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(RichTextToolbarIcon, { icon: "link" })
22534
+ children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(RichTextToolbarIcon, { icon: "link" })
22223
22535
  }
22224
22536
  ) }) : null,
22225
- visibleLists.size > 0 ? /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)(import_jsx_runtime117.Fragment, { children: [
22226
- visibleLists.has("unorderedList") ? /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
22537
+ visibleLists.size > 0 ? /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_jsx_runtime122.Fragment, { children: [
22538
+ visibleLists.has("unorderedList") ? /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
22227
22539
  "button",
22228
22540
  {
22229
22541
  onClick: () => {
@@ -22233,10 +22545,10 @@ var RichTextToolbar = ({ config, customControls }) => {
22233
22545
  richTextToolbarButton,
22234
22546
  activeElement === "unorderedList" ? richTextToolbarButtonActive : null
22235
22547
  ],
22236
- children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(RichTextToolbarIcon, { icon: "layout-list" })
22548
+ children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(RichTextToolbarIcon, { icon: "layout-list" })
22237
22549
  }
22238
22550
  ) }) : null,
22239
- visibleLists.has("orderedList") ? /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
22551
+ visibleLists.has("orderedList") ? /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
22240
22552
  "button",
22241
22553
  {
22242
22554
  onClick: () => {
@@ -22246,57 +22558,57 @@ var RichTextToolbar = ({ config, customControls }) => {
22246
22558
  richTextToolbarButton,
22247
22559
  activeElement === "orderedList" ? richTextToolbarButtonActive : null
22248
22560
  ],
22249
- children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(RichTextToolbarIcon, { icon: "layout-list-numbered" })
22561
+ children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(RichTextToolbarIcon, { icon: "layout-list-numbered" })
22250
22562
  }
22251
22563
  ) }) : null
22252
22564
  ] }) : null,
22253
- quoteElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
22565
+ quoteElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
22254
22566
  "button",
22255
22567
  {
22256
22568
  onClick: () => {
22257
22569
  activeElement === "quote" ? onSelectElement("paragraph") : onSelectElement("quote");
22258
22570
  },
22259
22571
  css: [richTextToolbarButton, activeElement === "quote" ? richTextToolbarButtonActive : null],
22260
- children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(RichTextToolbarIcon, { icon: "quote" })
22572
+ children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(RichTextToolbarIcon, { icon: "quote" })
22261
22573
  }
22262
22574
  ) }) : null,
22263
- codeElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
22575
+ codeElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
22264
22576
  "button",
22265
22577
  {
22266
22578
  onClick: () => {
22267
22579
  activeElement === "code" ? onSelectElement("paragraph") : onSelectElement("code");
22268
22580
  },
22269
22581
  css: [richTextToolbarButton, activeElement === "code" ? richTextToolbarButtonActive : null],
22270
- children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(RichTextToolbarIcon, { icon: "code-slash" })
22582
+ children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(RichTextToolbarIcon, { icon: "code-slash" })
22271
22583
  }
22272
22584
  ) }) : null
22273
22585
  ] }) : null,
22274
- customControls ? /* @__PURE__ */ (0, import_jsx_runtime117.jsx)("div", { css: toolbarGroup, children: customControls }) : null
22586
+ customControls ? /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("div", { css: toolbarGroup, children: customControls }) : null
22275
22587
  ] });
22276
22588
  };
22277
22589
  var RichTextToolbar_default = RichTextToolbar;
22278
22590
  var useRichTextToolbarState = ({ config }) => {
22279
22591
  var _a;
22280
- const enabledBuiltInFormats = (0, import_react135.useMemo)(() => {
22592
+ const enabledBuiltInFormats = (0, import_react140.useMemo)(() => {
22281
22593
  return richTextBuiltInFormats.filter((format) => {
22282
22594
  var _a2, _b;
22283
22595
  return (_b = (_a2 = config == null ? void 0 : config.formatting) == null ? void 0 : _a2.builtIn) == null ? void 0 : _b.includes(format.type);
22284
22596
  });
22285
22597
  }, [config]);
22286
- const enabledBuiltInElements = (0, import_react135.useMemo)(() => {
22598
+ const enabledBuiltInElements = (0, import_react140.useMemo)(() => {
22287
22599
  return richTextBuiltInElements.filter((element) => {
22288
22600
  var _a2, _b;
22289
22601
  return (_b = (_a2 = config == null ? void 0 : config.elements) == null ? void 0 : _a2.builtIn) == null ? void 0 : _b.includes(element.type);
22290
22602
  });
22291
22603
  }, [config]);
22292
- const enabledBuiltInFormatsWithIcon = (0, import_react135.useMemo)(() => {
22604
+ const enabledBuiltInFormatsWithIcon = (0, import_react140.useMemo)(() => {
22293
22605
  return enabledBuiltInFormats.filter((format) => FORMATS_WITH_ICON.has(format.type));
22294
22606
  }, [enabledBuiltInFormats]);
22295
22607
  const enabledBuiltInFormatsWithoutIcon = enabledBuiltInFormats.filter(
22296
22608
  (format) => !FORMATS_WITH_ICON.has(format.type)
22297
22609
  );
22298
- const [activeFormats, setActiveFormats] = (0, import_react135.useState)([]);
22299
- const visibleFormatsWithIcon = (0, import_react135.useMemo)(() => {
22610
+ const [activeFormats, setActiveFormats] = (0, import_react140.useState)([]);
22611
+ const visibleFormatsWithIcon = (0, import_react140.useMemo)(() => {
22300
22612
  const visibleFormats = /* @__PURE__ */ new Set();
22301
22613
  activeFormats.filter((type) => FORMATS_WITH_ICON.has(type)).forEach((type) => {
22302
22614
  visibleFormats.add(type);
@@ -22306,7 +22618,7 @@ var useRichTextToolbarState = ({ config }) => {
22306
22618
  });
22307
22619
  return richTextBuiltInFormats.filter((format) => visibleFormats.has(format.type));
22308
22620
  }, [activeFormats, enabledBuiltInFormatsWithIcon]);
22309
- const visibleFormatsWithoutIcon = (0, import_react135.useMemo)(() => {
22621
+ const visibleFormatsWithoutIcon = (0, import_react140.useMemo)(() => {
22310
22622
  const visibleFormats = /* @__PURE__ */ new Set();
22311
22623
  activeFormats.filter((type) => !FORMATS_WITH_ICON.has(type)).forEach((type) => {
22312
22624
  visibleFormats.add(type);
@@ -22316,11 +22628,11 @@ var useRichTextToolbarState = ({ config }) => {
22316
22628
  });
22317
22629
  return richTextBuiltInFormats.filter((format) => visibleFormats.has(format.type));
22318
22630
  }, [activeFormats, enabledBuiltInFormatsWithoutIcon]);
22319
- const [activeElement, setActiveElement] = (0, import_react135.useState)("paragraph");
22631
+ const [activeElement, setActiveElement] = (0, import_react140.useState)("paragraph");
22320
22632
  const enabledTextualElements = enabledBuiltInElements.filter(
22321
22633
  (element) => TEXTUAL_ELEMENTS.includes(element.type)
22322
22634
  );
22323
- const visibleTextualElements = (0, import_react135.useMemo)(() => {
22635
+ const visibleTextualElements = (0, import_react140.useMemo)(() => {
22324
22636
  if (!TEXTUAL_ELEMENTS.includes(activeElement)) {
22325
22637
  return enabledTextualElements;
22326
22638
  }
@@ -22331,24 +22643,24 @@ var useRichTextToolbarState = ({ config }) => {
22331
22643
  }
22332
22644
  );
22333
22645
  }, [activeElement, (_a = config == null ? void 0 : config.elements) == null ? void 0 : _a.builtIn, enabledTextualElements]);
22334
- const [isLink, setIsLink] = (0, import_react135.useState)(false);
22335
- const linkElementVisible = (0, import_react135.useMemo)(() => {
22646
+ const [isLink, setIsLink] = (0, import_react140.useState)(false);
22647
+ const linkElementVisible = (0, import_react140.useMemo)(() => {
22336
22648
  return enabledBuiltInElements.some((element) => element.type === "link") || isLink;
22337
22649
  }, [isLink, enabledBuiltInElements]);
22338
- const visibleLists = (0, import_react135.useMemo)(() => {
22650
+ const visibleLists = (0, import_react140.useMemo)(() => {
22339
22651
  return new Set(
22340
22652
  ["orderedList", "unorderedList"].filter(
22341
22653
  (type) => enabledBuiltInElements.some((element) => element.type === type) || activeElement === type
22342
22654
  )
22343
22655
  );
22344
22656
  }, [activeElement, enabledBuiltInElements]);
22345
- const quoteElementVisible = (0, import_react135.useMemo)(() => {
22657
+ const quoteElementVisible = (0, import_react140.useMemo)(() => {
22346
22658
  return enabledBuiltInElements.some((element) => element.type === "quote") || activeElement === "quote";
22347
22659
  }, [activeElement, enabledBuiltInElements]);
22348
- const codeElementVisible = (0, import_react135.useMemo)(() => {
22660
+ const codeElementVisible = (0, import_react140.useMemo)(() => {
22349
22661
  return enabledBuiltInElements.some((element) => element.type === "code") || activeElement === "code";
22350
22662
  }, [activeElement, enabledBuiltInElements]);
22351
- const visibleElementsWithIcons = (0, import_react135.useMemo)(() => {
22663
+ const visibleElementsWithIcons = (0, import_react140.useMemo)(() => {
22352
22664
  const visibleElements = /* @__PURE__ */ new Set();
22353
22665
  if (linkElementVisible) {
22354
22666
  visibleElements.add("link");
@@ -22385,7 +22697,7 @@ var useRichTextToolbarState = ({ config }) => {
22385
22697
  };
22386
22698
 
22387
22699
  // src/components/ParameterInputs/ParameterRichText.tsx
22388
- var import_jsx_runtime118 = require("@emotion/react/jsx-runtime");
22700
+ var import_jsx_runtime123 = require("@emotion/react/jsx-runtime");
22389
22701
  var ParameterRichText = ({
22390
22702
  label,
22391
22703
  labelLeadingIcon,
@@ -22410,7 +22722,7 @@ var ParameterRichText = ({
22410
22722
  variables,
22411
22723
  customControls
22412
22724
  }) => {
22413
- return /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(
22725
+ return /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(
22414
22726
  ParameterShell,
22415
22727
  {
22416
22728
  "data-testid": "parameter-richtext",
@@ -22424,7 +22736,7 @@ var ParameterRichText = ({
22424
22736
  captionTestId,
22425
22737
  menuItems,
22426
22738
  children: [
22427
- /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
22739
+ /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
22428
22740
  ParameterRichTextInner,
22429
22741
  {
22430
22742
  value,
@@ -22442,23 +22754,23 @@ var ParameterRichText = ({
22442
22754
  children
22443
22755
  }
22444
22756
  ),
22445
- menuItems ? /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_jsx_runtime118.Fragment, { children: menuItems }) }) : null
22757
+ menuItems ? /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_jsx_runtime123.Fragment, { children: menuItems }) }) : null
22446
22758
  ]
22447
22759
  }
22448
22760
  );
22449
22761
  };
22450
- var editorWrapper = import_react136.css`
22762
+ var editorWrapper = import_react141.css`
22451
22763
  display: flex;
22452
22764
  flex-flow: column;
22453
22765
  flex-grow: 1;
22454
22766
  `;
22455
- var editorContainer = import_react136.css`
22767
+ var editorContainer = import_react141.css`
22456
22768
  display: flex;
22457
22769
  flex-flow: column;
22458
22770
  flex-grow: 1;
22459
22771
  position: relative;
22460
22772
  `;
22461
- var editorPlaceholder = import_react136.css`
22773
+ var editorPlaceholder = import_react141.css`
22462
22774
  color: var(--gray-500);
22463
22775
  font-style: italic;
22464
22776
  /* 1px is added to make sure caret is clearly visible when field is focused
@@ -22469,7 +22781,7 @@ var editorPlaceholder = import_react136.css`
22469
22781
  top: var(--spacing-sm);
22470
22782
  user-select: none;
22471
22783
  `;
22472
- var editorInput = import_react136.css`
22784
+ var editorInput = import_react141.css`
22473
22785
  background: var(--white);
22474
22786
  border: 1px solid var(--gray-200);
22475
22787
  border-radius: var(--rounded-sm);
@@ -22553,8 +22865,8 @@ var ParameterRichTextInner = ({
22553
22865
  },
22554
22866
  editable: !readOnly
22555
22867
  };
22556
- return /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(import_jsx_runtime118.Fragment, { children: [
22557
- /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_LexicalComposer.LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
22868
+ return /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_jsx_runtime123.Fragment, { children: [
22869
+ /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_LexicalComposer.LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
22558
22870
  RichText,
22559
22871
  {
22560
22872
  onChange,
@@ -22591,14 +22903,14 @@ var RichText = ({
22591
22903
  variables,
22592
22904
  customControls
22593
22905
  }) => {
22594
- const editorContainerRef = (0, import_react137.useRef)(null);
22906
+ const editorContainerRef = (0, import_react142.useRef)(null);
22595
22907
  const [editor] = (0, import_LexicalComposerContext5.useLexicalComposerContext)();
22596
- (0, import_react137.useEffect)(() => {
22908
+ (0, import_react142.useEffect)(() => {
22597
22909
  if (onRichTextInit) {
22598
22910
  onRichTextInit(editor);
22599
22911
  }
22600
22912
  }, [editor, onRichTextInit]);
22601
- (0, import_react137.useEffect)(() => {
22913
+ (0, import_react142.useEffect)(() => {
22602
22914
  const removeUpdateListener = editor.registerUpdateListener(({ editorState, prevEditorState }) => {
22603
22915
  requestAnimationFrame(() => {
22604
22916
  if (!(0, import_fast_equals2.deepEqual)(editorState.toJSON(), prevEditorState.toJSON())) {
@@ -22610,23 +22922,23 @@ var RichText = ({
22610
22922
  removeUpdateListener();
22611
22923
  };
22612
22924
  }, [editor, onChange]);
22613
- (0, import_react137.useEffect)(() => {
22925
+ (0, import_react142.useEffect)(() => {
22614
22926
  editor.setEditable(!readOnly);
22615
22927
  }, [editor, readOnly]);
22616
- return /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(import_jsx_runtime118.Fragment, { children: [
22617
- readOnly ? null : /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(RichTextToolbar_default, { config, customControls }),
22618
- /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { css: editorContainer, ref: editorContainerRef, "data-testid": "value-container", children: [
22619
- /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
22928
+ return /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)(import_jsx_runtime123.Fragment, { children: [
22929
+ readOnly ? null : /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(RichTextToolbar_default, { config, customControls }),
22930
+ /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)("div", { css: editorContainer, ref: editorContainerRef, "data-testid": "value-container", children: [
22931
+ /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
22620
22932
  import_LexicalRichTextPlugin.RichTextPlugin,
22621
22933
  {
22622
- contentEditable: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_LexicalContentEditable.ContentEditable, { css: editorInput, className: editorInputClassName }),
22623
- placeholder: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
22934
+ contentEditable: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_LexicalContentEditable.ContentEditable, { css: editorInput, className: editorInputClassName }),
22935
+ placeholder: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
22624
22936
  ErrorBoundary: import_LexicalErrorBoundary.default
22625
22937
  }
22626
22938
  ),
22627
- /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_LexicalListPlugin.ListPlugin, {}),
22628
- readOnly ? null : /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_LexicalHistoryPlugin.HistoryPlugin, {}),
22629
- /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
22939
+ /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_LexicalListPlugin.ListPlugin, {}),
22940
+ readOnly ? null : /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_LexicalHistoryPlugin.HistoryPlugin, {}),
22941
+ /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
22630
22942
  LinkNodePlugin,
22631
22943
  {
22632
22944
  onConnectLink: onConnectLink ? onConnectLink : () => Promise.resolve(),
@@ -22636,28 +22948,28 @@ var RichText = ({
22636
22948
  } : void 0
22637
22949
  }
22638
22950
  ),
22639
- /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(ListIndentPlugin, { maxDepth: 4 }),
22640
- /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(DisableStylesPlugin, {}),
22641
- /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_LexicalMarkdownShortcutPlugin.MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS }),
22642
- /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_jsx_runtime118.Fragment, { children })
22951
+ /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(ListIndentPlugin, { maxDepth: 4 }),
22952
+ /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(DisableStylesPlugin, {}),
22953
+ /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_LexicalMarkdownShortcutPlugin.MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS }),
22954
+ /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_jsx_runtime123.Fragment, { children })
22643
22955
  ] })
22644
22956
  ] });
22645
22957
  };
22646
22958
 
22647
22959
  // src/components/ParameterInputs/ParameterSelect.tsx
22648
22960
  init_emotion_jsx_shim();
22649
- var import_react138 = require("react");
22650
- var import_jsx_runtime119 = require("@emotion/react/jsx-runtime");
22651
- var ParameterSelect = (0, import_react138.forwardRef)(
22961
+ var import_react143 = require("react");
22962
+ var import_jsx_runtime124 = require("@emotion/react/jsx-runtime");
22963
+ var ParameterSelect = (0, import_react143.forwardRef)(
22652
22964
  ({ defaultOption, options, ...props }, ref) => {
22653
22965
  const { shellProps, innerProps } = extractParameterProps(props);
22654
- return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
22966
+ return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
22655
22967
  }
22656
22968
  );
22657
- var ParameterSelectInner = (0, import_react138.forwardRef)(
22969
+ var ParameterSelectInner = (0, import_react143.forwardRef)(
22658
22970
  ({ defaultOption, options, ...props }, ref) => {
22659
22971
  const { id, label, hiddenLabel } = useParameterShell();
22660
- return /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)(
22972
+ return /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(
22661
22973
  "select",
22662
22974
  {
22663
22975
  css: [input3, selectInput],
@@ -22666,10 +22978,10 @@ var ParameterSelectInner = (0, import_react138.forwardRef)(
22666
22978
  ref,
22667
22979
  ...props,
22668
22980
  children: [
22669
- defaultOption ? /* @__PURE__ */ (0, import_jsx_runtime119.jsx)("option", { value: "", children: defaultOption }) : null,
22981
+ defaultOption ? /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("option", { value: "", children: defaultOption }) : null,
22670
22982
  options.map((option) => {
22671
22983
  var _a;
22672
- return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
22984
+ return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
22673
22985
  })
22674
22986
  ]
22675
22987
  }
@@ -22679,15 +22991,15 @@ var ParameterSelectInner = (0, import_react138.forwardRef)(
22679
22991
 
22680
22992
  // src/components/ParameterInputs/ParameterTextarea.tsx
22681
22993
  init_emotion_jsx_shim();
22682
- var import_react139 = require("react");
22683
- var import_jsx_runtime120 = require("@emotion/react/jsx-runtime");
22684
- var ParameterTextarea = (0, import_react139.forwardRef)((props, ref) => {
22994
+ var import_react144 = require("react");
22995
+ var import_jsx_runtime125 = require("@emotion/react/jsx-runtime");
22996
+ var ParameterTextarea = (0, import_react144.forwardRef)((props, ref) => {
22685
22997
  const { shellProps, innerProps } = extractParameterProps(props);
22686
- return /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(ParameterTextareaInner, { ref, ...innerProps }) });
22998
+ return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(ParameterTextareaInner, { ref, ...innerProps }) });
22687
22999
  });
22688
- var ParameterTextareaInner = (0, import_react139.forwardRef)(({ ...props }, ref) => {
23000
+ var ParameterTextareaInner = (0, import_react144.forwardRef)(({ ...props }, ref) => {
22689
23001
  const { id, label, hiddenLabel } = useParameterShell();
22690
- return /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
23002
+ return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
22691
23003
  "textarea",
22692
23004
  {
22693
23005
  css: [input3, textarea2],
@@ -22701,18 +23013,18 @@ var ParameterTextareaInner = (0, import_react139.forwardRef)(({ ...props }, ref)
22701
23013
 
22702
23014
  // src/components/ParameterInputs/ParameterToggle.tsx
22703
23015
  init_emotion_jsx_shim();
22704
- var import_react140 = require("react");
22705
- var import_jsx_runtime121 = require("@emotion/react/jsx-runtime");
22706
- var ParameterToggle = (0, import_react140.forwardRef)((props, ref) => {
23016
+ var import_react145 = require("react");
23017
+ var import_jsx_runtime126 = require("@emotion/react/jsx-runtime");
23018
+ var ParameterToggle = (0, import_react145.forwardRef)((props, ref) => {
22707
23019
  const { shellProps, innerProps } = extractParameterProps(props);
22708
- return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(ParameterToggleInner, { ref, ...innerProps }) });
23020
+ return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(ParameterToggleInner, { ref, ...innerProps }) });
22709
23021
  });
22710
- var ParameterToggleInner = (0, import_react140.forwardRef)(
23022
+ var ParameterToggleInner = (0, import_react145.forwardRef)(
22711
23023
  ({ children, ...props }, ref) => {
22712
23024
  const { id, label } = useParameterShell();
22713
- return /* @__PURE__ */ (0, import_jsx_runtime121.jsxs)("label", { css: inputToggleLabel2, children: [
22714
- /* @__PURE__ */ (0, import_jsx_runtime121.jsx)("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
22715
- /* @__PURE__ */ (0, import_jsx_runtime121.jsx)("span", { css: inlineLabel2, children: label }),
23025
+ return /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)("label", { css: inputToggleLabel2, children: [
23026
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsx)("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
23027
+ /* @__PURE__ */ (0, import_jsx_runtime126.jsx)("span", { css: inlineLabel2, children: label }),
22716
23028
  children
22717
23029
  ] });
22718
23030
  }
@@ -22723,8 +23035,8 @@ init_emotion_jsx_shim();
22723
23035
 
22724
23036
  // src/components/ProgressBar/ProgressBar.styles.ts
22725
23037
  init_emotion_jsx_shim();
22726
- var import_react141 = require("@emotion/react");
22727
- var container3 = import_react141.css`
23038
+ var import_react146 = require("@emotion/react");
23039
+ var container3 = import_react146.css`
22728
23040
  background: var(--gray-50);
22729
23041
  margin-block: var(--spacing-sm);
22730
23042
  position: relative;
@@ -22734,17 +23046,17 @@ var container3 = import_react141.css`
22734
23046
  border: solid 1px var(--gray-300);
22735
23047
  `;
22736
23048
  var themeMap = {
22737
- primary: import_react141.css`
23049
+ primary: import_react146.css`
22738
23050
  --progress-color: var(--accent-light);
22739
23051
  `,
22740
- secondary: import_react141.css`
23052
+ secondary: import_react146.css`
22741
23053
  --progress-color: var(--accent-alt-light);
22742
23054
  `,
22743
- destructive: import_react141.css`
23055
+ destructive: import_react146.css`
22744
23056
  --progress-color: var(--brand-secondary-5);
22745
23057
  `
22746
23058
  };
22747
- var slidingBackgroundPosition = import_react141.keyframes`
23059
+ var slidingBackgroundPosition = import_react146.keyframes`
22748
23060
  from {
22749
23061
  background-position: 0 0;
22750
23062
  }
@@ -22752,10 +23064,10 @@ var slidingBackgroundPosition = import_react141.keyframes`
22752
23064
  background-position: 64px 0;
22753
23065
  }
22754
23066
  `;
22755
- var determinate = import_react141.css`
23067
+ var determinate = import_react146.css`
22756
23068
  background-color: var(--progress-color);
22757
23069
  `;
22758
- var indeterminate = import_react141.css`
23070
+ var indeterminate = import_react146.css`
22759
23071
  background-image: linear-gradient(
22760
23072
  45deg,
22761
23073
  var(--progress-color) 25%,
@@ -22769,7 +23081,7 @@ var indeterminate = import_react141.css`
22769
23081
  background-size: 64px 64px;
22770
23082
  animation: ${slidingBackgroundPosition} 1s linear infinite;
22771
23083
  `;
22772
- var bar = import_react141.css`
23084
+ var bar = import_react146.css`
22773
23085
  position: absolute;
22774
23086
  inset: 0;
22775
23087
  transition: transform var(--duration-fast) var(--timing-ease-out);
@@ -22777,7 +23089,7 @@ var bar = import_react141.css`
22777
23089
  `;
22778
23090
 
22779
23091
  // src/components/ProgressBar/ProgressBar.tsx
22780
- var import_jsx_runtime122 = require("@emotion/react/jsx-runtime");
23092
+ var import_jsx_runtime127 = require("@emotion/react/jsx-runtime");
22781
23093
  function ProgressBar({
22782
23094
  current,
22783
23095
  max,
@@ -22787,7 +23099,7 @@ function ProgressBar({
22787
23099
  }) {
22788
23100
  const valueNow = Math.min(current, max);
22789
23101
  const valuePercentage = max > 0 ? Math.ceil(100 / max * valueNow) : 0;
22790
- return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
23102
+ return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
22791
23103
  "div",
22792
23104
  {
22793
23105
  css: container3,
@@ -22798,7 +23110,7 @@ function ProgressBar({
22798
23110
  "aria-valuemax": max,
22799
23111
  "aria-valuenow": valueNow,
22800
23112
  ...props,
22801
- children: /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
23113
+ children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
22802
23114
  "div",
22803
23115
  {
22804
23116
  css: [
@@ -22818,31 +23130,31 @@ function ProgressBar({
22818
23130
 
22819
23131
  // src/components/ProgressList/ProgressList.tsx
22820
23132
  init_emotion_jsx_shim();
22821
- var import_react143 = require("@emotion/react");
23133
+ var import_react148 = require("@emotion/react");
22822
23134
  var import_CgCheckO3 = require("@react-icons/all-files/cg/CgCheckO");
22823
23135
  var import_CgRadioCheck2 = require("@react-icons/all-files/cg/CgRadioCheck");
22824
23136
  var import_CgRecord2 = require("@react-icons/all-files/cg/CgRecord");
22825
- var import_react144 = require("react");
23137
+ var import_react149 = require("react");
22826
23138
 
22827
23139
  // src/components/ProgressList/styles/ProgressList.styles.ts
22828
23140
  init_emotion_jsx_shim();
22829
- var import_react142 = require("@emotion/react");
22830
- var progressListStyles = import_react142.css`
23141
+ var import_react147 = require("@emotion/react");
23142
+ var progressListStyles = import_react147.css`
22831
23143
  display: flex;
22832
23144
  flex-direction: column;
22833
23145
  gap: var(--spacing-sm);
22834
23146
  list-style-type: none;
22835
23147
  `;
22836
- var progressListItemStyles = import_react142.css`
23148
+ var progressListItemStyles = import_react147.css`
22837
23149
  display: flex;
22838
23150
  gap: var(--spacing-base);
22839
23151
  align-items: center;
22840
23152
  `;
22841
23153
 
22842
23154
  // src/components/ProgressList/ProgressList.tsx
22843
- var import_jsx_runtime123 = require("@emotion/react/jsx-runtime");
23155
+ var import_jsx_runtime128 = require("@emotion/react/jsx-runtime");
22844
23156
  var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
22845
- const itemsWithStatus = (0, import_react144.useMemo)(() => {
23157
+ const itemsWithStatus = (0, import_react149.useMemo)(() => {
22846
23158
  const indexOfInProgressItem = items.findIndex(({ id }) => id === inProgressId);
22847
23159
  return items.map((item, index) => {
22848
23160
  let status = "queued";
@@ -22854,8 +23166,8 @@ var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
22854
23166
  return { ...item, status };
22855
23167
  });
22856
23168
  }, [items, inProgressId]);
22857
- return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
22858
- return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
23169
+ return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
23170
+ return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
22859
23171
  ProgressListItem,
22860
23172
  {
22861
23173
  status,
@@ -22875,7 +23187,7 @@ var ProgressListItem = ({
22875
23187
  errorLevel = "danger",
22876
23188
  autoEllipsis = false
22877
23189
  }) => {
22878
- const icon = (0, import_react144.useMemo)(() => {
23190
+ const icon = (0, import_react149.useMemo)(() => {
22879
23191
  if (error) {
22880
23192
  return warningIcon;
22881
23193
  }
@@ -22886,14 +23198,14 @@ var ProgressListItem = ({
22886
23198
  };
22887
23199
  return iconPerStatus[status];
22888
23200
  }, [status, error]);
22889
- const statusStyles = (0, import_react144.useMemo)(() => {
23201
+ const statusStyles = (0, import_react149.useMemo)(() => {
22890
23202
  if (error) {
22891
- return errorLevel === "caution" ? import_react143.css`
23203
+ return errorLevel === "caution" ? import_react148.css`
22892
23204
  color: rgb(161, 98, 7);
22893
23205
  & svg {
22894
23206
  color: rgb(250, 204, 21);
22895
23207
  }
22896
- ` : import_react143.css`
23208
+ ` : import_react148.css`
22897
23209
  color: rgb(185, 28, 28);
22898
23210
  & svg {
22899
23211
  color: var(--brand-primary-2);
@@ -22901,40 +23213,40 @@ var ProgressListItem = ({
22901
23213
  `;
22902
23214
  }
22903
23215
  const colorPerStatus = {
22904
- completed: import_react143.css`
23216
+ completed: import_react148.css`
22905
23217
  opacity: 0.75;
22906
23218
  `,
22907
- inProgress: import_react143.css`
23219
+ inProgress: import_react148.css`
22908
23220
  -webkit-text-stroke-width: thin;
22909
23221
  `,
22910
- queued: import_react143.css`
23222
+ queued: import_react148.css`
22911
23223
  opacity: 0.5;
22912
23224
  `
22913
23225
  };
22914
23226
  return colorPerStatus[status];
22915
23227
  }, [status, error, errorLevel]);
22916
- return /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)("li", { css: [progressListItemStyles, statusStyles], children: [
22917
- /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(Icon, { icon, size: 20, iconColor: "currentColor" }) }) }),
22918
- /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)("div", { children: [
23228
+ return /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)("li", { css: [progressListItemStyles, statusStyles], children: [
23229
+ /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(Icon, { icon, size: 20, iconColor: "currentColor" }) }) }),
23230
+ /* @__PURE__ */ (0, import_jsx_runtime128.jsxs)("div", { children: [
22919
23231
  children,
22920
- /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
23232
+ /* @__PURE__ */ (0, import_jsx_runtime128.jsx)("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
22921
23233
  ] })
22922
23234
  ] });
22923
23235
  };
22924
23236
 
22925
23237
  // src/components/SegmentedControl/SegmentedControl.tsx
22926
23238
  init_emotion_jsx_shim();
22927
- var import_react146 = require("@emotion/react");
23239
+ var import_react151 = require("@emotion/react");
22928
23240
  var import_CgCheck6 = require("@react-icons/all-files/cg/CgCheck");
22929
- var import_react147 = require("react");
23241
+ var import_react152 = require("react");
22930
23242
 
22931
23243
  // src/components/SegmentedControl/SegmentedControl.styles.ts
22932
23244
  init_emotion_jsx_shim();
22933
- var import_react145 = require("@emotion/react");
22934
- var segmentedControlRootStyles = import_react145.css`
23245
+ var import_react150 = require("@emotion/react");
23246
+ var segmentedControlRootStyles = import_react150.css`
22935
23247
  position: relative;
22936
23248
  `;
22937
- var segmentedControlScrollIndicatorsStyles = import_react145.css`
23249
+ var segmentedControlScrollIndicatorsStyles = import_react150.css`
22938
23250
  position: absolute;
22939
23251
  inset: 0;
22940
23252
  z-index: 1;
@@ -22962,17 +23274,17 @@ var segmentedControlScrollIndicatorsStyles = import_react145.css`
22962
23274
  background: linear-gradient(to left, var(--background-color) 10%, transparent);
22963
23275
  }
22964
23276
  `;
22965
- var segmentedControlScrollIndicatorStartVisibleStyles = import_react145.css`
23277
+ var segmentedControlScrollIndicatorStartVisibleStyles = import_react150.css`
22966
23278
  &::before {
22967
23279
  opacity: 1;
22968
23280
  }
22969
23281
  `;
22970
- var segmentedControlScrollIndicatorEndVisibleStyles = import_react145.css`
23282
+ var segmentedControlScrollIndicatorEndVisibleStyles = import_react150.css`
22971
23283
  &::after {
22972
23284
  opacity: 1;
22973
23285
  }
22974
23286
  `;
22975
- var segmentedControlWrapperStyles = import_react145.css`
23287
+ var segmentedControlWrapperStyles = import_react150.css`
22976
23288
  overflow-y: auto;
22977
23289
  scroll-behavior: smooth;
22978
23290
  scrollbar-width: none;
@@ -22981,7 +23293,7 @@ var segmentedControlWrapperStyles = import_react145.css`
22981
23293
  height: 0px;
22982
23294
  }
22983
23295
  `;
22984
- var segmentedControlStyles = import_react145.css`
23296
+ var segmentedControlStyles = import_react150.css`
22985
23297
  --segmented-control-rounded-value: var(--rounded-base);
22986
23298
  --segmented-control-border-width: 1px;
22987
23299
  --segmented-control-selected-color: var(--brand-secondary-3);
@@ -23000,14 +23312,14 @@ var segmentedControlStyles = import_react145.css`
23000
23312
  border-radius: calc(var(--segmented-control-rounded-value) + var(--segmented-control-border-width));
23001
23313
  font-size: var(--fs-xs);
23002
23314
  `;
23003
- var segmentedControlVerticalStyles = import_react145.css`
23315
+ var segmentedControlVerticalStyles = import_react150.css`
23004
23316
  flex-direction: column;
23005
23317
  --segmented-control-first-border-radius: var(--segmented-control-rounded-value)
23006
23318
  var(--segmented-control-rounded-value) 0 0;
23007
23319
  --segmented-control-last-border-radius: 0 0 var(--segmented-control-rounded-value)
23008
23320
  var(--segmented-control-rounded-value);
23009
23321
  `;
23010
- var segmentedControlItemStyles = import_react145.css`
23322
+ var segmentedControlItemStyles = import_react150.css`
23011
23323
  &:first-of-type label {
23012
23324
  border-radius: var(--segmented-control-first-border-radius);
23013
23325
  }
@@ -23015,10 +23327,10 @@ var segmentedControlItemStyles = import_react145.css`
23015
23327
  border-radius: var(--segmented-control-last-border-radius);
23016
23328
  }
23017
23329
  `;
23018
- var segmentedControlInputStyles = import_react145.css`
23330
+ var segmentedControlInputStyles = import_react150.css`
23019
23331
  ${accessibleHidden}
23020
23332
  `;
23021
- var segmentedControlLabelStyles = (checked, disabled2) => import_react145.css`
23333
+ var segmentedControlLabelStyles = (checked, disabled2) => import_react150.css`
23022
23334
  position: relative;
23023
23335
  display: flex;
23024
23336
  align-items: center;
@@ -23085,25 +23397,25 @@ var segmentedControlLabelStyles = (checked, disabled2) => import_react145.css`
23085
23397
  `}
23086
23398
  }
23087
23399
  `;
23088
- var segmentedControlLabelIconOnlyStyles = import_react145.css`
23400
+ var segmentedControlLabelIconOnlyStyles = import_react150.css`
23089
23401
  padding-inline: 0.5em;
23090
23402
  `;
23091
- var segmentedControlLabelCheckStyles = import_react145.css`
23403
+ var segmentedControlLabelCheckStyles = import_react150.css`
23092
23404
  opacity: 0.5;
23093
23405
  `;
23094
- var segmentedControlLabelContentStyles = import_react145.css`
23406
+ var segmentedControlLabelContentStyles = import_react150.css`
23095
23407
  display: flex;
23096
23408
  align-items: center;
23097
23409
  justify-content: center;
23098
23410
  gap: var(--spacing-sm);
23099
23411
  height: 100%;
23100
23412
  `;
23101
- var segmentedControlLabelTextStyles = import_react145.css`
23413
+ var segmentedControlLabelTextStyles = import_react150.css`
23102
23414
  white-space: nowrap;
23103
23415
  `;
23104
23416
 
23105
23417
  // src/components/SegmentedControl/SegmentedControl.tsx
23106
- var import_jsx_runtime124 = require("@emotion/react/jsx-runtime");
23418
+ var import_jsx_runtime129 = require("@emotion/react/jsx-runtime");
23107
23419
  var SegmentedControl = ({
23108
23420
  name,
23109
23421
  options,
@@ -23118,10 +23430,10 @@ var SegmentedControl = ({
23118
23430
  currentBackgroundColor = "white",
23119
23431
  ...props
23120
23432
  }) => {
23121
- const wrapperRef = (0, import_react147.useRef)(null);
23122
- const [isOverflowStartShadowVisible, setIsOverflowStartShadowVisible] = (0, import_react147.useState)(false);
23123
- const [isOverflowEndShadowVisible, setIsOverflowEndShadowVisible] = (0, import_react147.useState)(false);
23124
- const onOptionChange = (0, import_react147.useCallback)(
23433
+ const wrapperRef = (0, import_react152.useRef)(null);
23434
+ const [isOverflowStartShadowVisible, setIsOverflowStartShadowVisible] = (0, import_react152.useState)(false);
23435
+ const [isOverflowEndShadowVisible, setIsOverflowEndShadowVisible] = (0, import_react152.useState)(false);
23436
+ const onOptionChange = (0, import_react152.useCallback)(
23125
23437
  (event) => {
23126
23438
  if (event.target.checked) {
23127
23439
  onChange == null ? void 0 : onChange(options[parseInt(event.target.value)].value);
@@ -23129,19 +23441,19 @@ var SegmentedControl = ({
23129
23441
  },
23130
23442
  [options, onChange]
23131
23443
  );
23132
- const sizeStyles = (0, import_react147.useMemo)(() => {
23444
+ const sizeStyles = (0, import_react152.useMemo)(() => {
23133
23445
  const map = {
23134
- sm: (0, import_react146.css)({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
23135
- md: (0, import_react146.css)({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
23136
- lg: (0, import_react146.css)({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" }),
23137
- xl: (0, import_react146.css)({ height: "calc(48px - 2px)", fontSize: "var(--fs-base)" })
23446
+ sm: (0, import_react151.css)({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
23447
+ md: (0, import_react151.css)({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
23448
+ lg: (0, import_react151.css)({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" }),
23449
+ xl: (0, import_react151.css)({ height: "calc(48px - 2px)", fontSize: "var(--fs-base)" })
23138
23450
  };
23139
23451
  return map[size];
23140
23452
  }, [size]);
23141
- const isIconOnly = (0, import_react147.useMemo)(() => {
23453
+ const isIconOnly = (0, import_react152.useMemo)(() => {
23142
23454
  return options.every((option) => option && option.icon && !option.label);
23143
23455
  }, [options]);
23144
- (0, import_react147.useEffect)(() => {
23456
+ (0, import_react152.useEffect)(() => {
23145
23457
  const wrapperElement = wrapperRef.current;
23146
23458
  const onScroll = () => {
23147
23459
  if (!wrapperElement) {
@@ -23162,8 +23474,8 @@ var SegmentedControl = ({
23162
23474
  wrapperElement == null ? void 0 : wrapperElement.removeEventListener("scroll", onScroll);
23163
23475
  };
23164
23476
  }, []);
23165
- return /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)("div", { css: [segmentedControlRootStyles, { "--background-color": currentBackgroundColor }], children: [
23166
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("div", { ref: wrapperRef, css: segmentedControlWrapperStyles, children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
23477
+ return /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)("div", { css: [segmentedControlRootStyles, { "--background-color": currentBackgroundColor }], children: [
23478
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("div", { ref: wrapperRef, css: segmentedControlWrapperStyles, children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
23167
23479
  "div",
23168
23480
  {
23169
23481
  css: [
@@ -23179,12 +23491,12 @@ var SegmentedControl = ({
23179
23491
  }
23180
23492
  const text = option.label ? option.label : option.icon ? null : String(option.value);
23181
23493
  const isDisabled = disabled2 || option.disabled;
23182
- return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(Tooltip, { title: (_a = option.tooltip) != null ? _a : "", children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
23494
+ return /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(Tooltip, { title: (_a = option.tooltip) != null ? _a : "", children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
23183
23495
  "div",
23184
23496
  {
23185
23497
  css: segmentedControlItemStyles,
23186
23498
  "data-testid": option["data-testid"] ? option["data-testid"] : "container-segmented-control",
23187
- children: /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(
23499
+ children: /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)(
23188
23500
  "label",
23189
23501
  {
23190
23502
  css: [
@@ -23193,7 +23505,7 @@ var SegmentedControl = ({
23193
23505
  isIconOnly ? segmentedControlLabelIconOnlyStyles : void 0
23194
23506
  ],
23195
23507
  children: [
23196
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
23508
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
23197
23509
  "input",
23198
23510
  {
23199
23511
  css: segmentedControlInputStyles,
@@ -23205,10 +23517,10 @@ var SegmentedControl = ({
23205
23517
  disabled: isDisabled
23206
23518
  }
23207
23519
  ),
23208
- option.value !== value || noCheckmark ? null : /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_CgCheck6.CgCheck, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
23209
- /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)("span", { css: segmentedControlLabelContentStyles, children: [
23210
- !option.icon ? null : /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(Icon, { icon: option.icon, size: iconSize, iconColor: "currentColor" }),
23211
- !text || hideOptionText ? null : /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("span", { css: segmentedControlLabelTextStyles, children: text })
23520
+ option.value !== value || noCheckmark ? null : /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_CgCheck6.CgCheck, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
23521
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsxs)("span", { css: segmentedControlLabelContentStyles, children: [
23522
+ !option.icon ? null : /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(Icon, { icon: option.icon, size: iconSize, iconColor: "currentColor" }),
23523
+ !text || hideOptionText ? null : /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("span", { css: segmentedControlLabelTextStyles, children: text })
23212
23524
  ] })
23213
23525
  ]
23214
23526
  }
@@ -23218,7 +23530,7 @@ var SegmentedControl = ({
23218
23530
  })
23219
23531
  }
23220
23532
  ) }),
23221
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
23533
+ /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
23222
23534
  "div",
23223
23535
  {
23224
23536
  css: [
@@ -23236,18 +23548,18 @@ init_emotion_jsx_shim();
23236
23548
 
23237
23549
  // src/components/Skeleton/Skeleton.styles.ts
23238
23550
  init_emotion_jsx_shim();
23239
- var import_react148 = require("@emotion/react");
23240
- var lightFadingOut = import_react148.keyframes`
23551
+ var import_react153 = require("@emotion/react");
23552
+ var lightFadingOut = import_react153.keyframes`
23241
23553
  from { opacity: 0.1; }
23242
23554
  to { opacity: 0.025; }
23243
23555
  `;
23244
- var skeletonStyles = import_react148.css`
23556
+ var skeletonStyles = import_react153.css`
23245
23557
  animation: ${lightFadingOut} 1s ease-out infinite alternate;
23246
23558
  background-color: var(--gray-900);
23247
23559
  `;
23248
23560
 
23249
23561
  // src/components/Skeleton/Skeleton.tsx
23250
- var import_jsx_runtime125 = require("@emotion/react/jsx-runtime");
23562
+ var import_jsx_runtime130 = require("@emotion/react/jsx-runtime");
23251
23563
  var Skeleton = ({
23252
23564
  width = "100%",
23253
23565
  height = "1.25rem",
@@ -23255,7 +23567,7 @@ var Skeleton = ({
23255
23567
  circle = false,
23256
23568
  children,
23257
23569
  ...otherProps
23258
- }) => /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
23570
+ }) => /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
23259
23571
  "div",
23260
23572
  {
23261
23573
  css: [
@@ -23280,8 +23592,8 @@ var React24 = __toESM(require("react"));
23280
23592
 
23281
23593
  // src/components/Switch/Switch.styles.ts
23282
23594
  init_emotion_jsx_shim();
23283
- var import_react149 = require("@emotion/react");
23284
- var SwitchInputContainer = import_react149.css`
23595
+ var import_react154 = require("@emotion/react");
23596
+ var SwitchInputContainer = import_react154.css`
23285
23597
  cursor: pointer;
23286
23598
  display: inline-block;
23287
23599
  position: relative;
@@ -23290,7 +23602,7 @@ var SwitchInputContainer = import_react149.css`
23290
23602
  vertical-align: middle;
23291
23603
  user-select: none;
23292
23604
  `;
23293
- var SwitchInput = import_react149.css`
23605
+ var SwitchInput = import_react154.css`
23294
23606
  appearance: none;
23295
23607
  border-radius: var(--rounded-full);
23296
23608
  background-color: var(--white);
@@ -23328,7 +23640,7 @@ var SwitchInput = import_react149.css`
23328
23640
  cursor: not-allowed;
23329
23641
  }
23330
23642
  `;
23331
- var SwitchInputDisabled = import_react149.css`
23643
+ var SwitchInputDisabled = import_react154.css`
23332
23644
  opacity: var(--opacity-50);
23333
23645
  cursor: not-allowed;
23334
23646
 
@@ -23336,7 +23648,7 @@ var SwitchInputDisabled = import_react149.css`
23336
23648
  cursor: not-allowed;
23337
23649
  }
23338
23650
  `;
23339
- var SwitchInputLabel = import_react149.css`
23651
+ var SwitchInputLabel = import_react154.css`
23340
23652
  align-items: center;
23341
23653
  color: var(--typography-base);
23342
23654
  display: inline-flex;
@@ -23357,26 +23669,26 @@ var SwitchInputLabel = import_react149.css`
23357
23669
  top: 0;
23358
23670
  }
23359
23671
  `;
23360
- var SwitchText = import_react149.css`
23672
+ var SwitchText = import_react154.css`
23361
23673
  color: var(--gray-500);
23362
23674
  font-size: var(--fs-sm);
23363
23675
  padding-inline: var(--spacing-2xl) 0;
23364
23676
  `;
23365
23677
 
23366
23678
  // src/components/Switch/Switch.tsx
23367
- var import_jsx_runtime126 = require("@emotion/react/jsx-runtime");
23679
+ var import_jsx_runtime131 = require("@emotion/react/jsx-runtime");
23368
23680
  var Switch = React24.forwardRef(
23369
23681
  ({ label, infoText, toggleText, children, ...inputProps }, ref) => {
23370
23682
  let additionalText = infoText;
23371
23683
  if (infoText && toggleText) {
23372
23684
  additionalText = inputProps.checked ? toggleText : infoText;
23373
23685
  }
23374
- return /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(import_jsx_runtime126.Fragment, { children: [
23375
- /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
23376
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
23377
- /* @__PURE__ */ (0, import_jsx_runtime126.jsx)("span", { css: SwitchInputLabel, children: label })
23686
+ return /* @__PURE__ */ (0, import_jsx_runtime131.jsxs)(import_jsx_runtime131.Fragment, { children: [
23687
+ /* @__PURE__ */ (0, import_jsx_runtime131.jsxs)("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
23688
+ /* @__PURE__ */ (0, import_jsx_runtime131.jsx)("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
23689
+ /* @__PURE__ */ (0, import_jsx_runtime131.jsx)("span", { css: SwitchInputLabel, children: label })
23378
23690
  ] }),
23379
- additionalText ? /* @__PURE__ */ (0, import_jsx_runtime126.jsx)("p", { css: SwitchText, children: additionalText }) : null,
23691
+ additionalText ? /* @__PURE__ */ (0, import_jsx_runtime131.jsx)("p", { css: SwitchText, children: additionalText }) : null,
23380
23692
  children
23381
23693
  ] });
23382
23694
  }
@@ -23388,79 +23700,87 @@ var React25 = __toESM(require("react"));
23388
23700
 
23389
23701
  // src/components/Table/Table.styles.ts
23390
23702
  init_emotion_jsx_shim();
23391
- var import_react150 = require("@emotion/react");
23392
- var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => import_react150.css`
23703
+ var import_react155 = require("@emotion/react");
23704
+ var table = ({ cellPadding = "var(--spacing-sm) var(--spacing-md)" }) => import_react155.css`
23393
23705
  border-bottom: 1px solid var(--gray-400);
23394
23706
  border-collapse: collapse;
23395
23707
  min-width: 100%;
23396
23708
  table-layout: auto;
23709
+ transition: background-color var(--duration-fast) var(--timing-ease-out);
23397
23710
 
23398
23711
  th,
23399
23712
  td {
23400
23713
  padding: ${cellPadding};
23401
23714
  }
23715
+
23716
+ thead tr {
23717
+ border-color: var(--gray-300);
23718
+ }
23719
+
23720
+ tbody tr:hover {
23721
+ background-color: var(--gray-50);
23722
+ }
23402
23723
  `;
23403
- var tableHead = import_react150.css`
23404
- background: var(--gray-100);
23724
+ var tableHead = import_react155.css`
23405
23725
  color: var(--typography-base);
23406
23726
  text-align: left;
23407
23727
  `;
23408
- var tableRow = import_react150.css`
23409
- border-bottom: 1px solid var(--gray-200);
23728
+ var tableRow = import_react155.css`
23729
+ border-bottom: 1px solid var(--gray-100);
23410
23730
  `;
23411
- var tableCellHead = import_react150.css`
23731
+ var tableCellHead = import_react155.css`
23412
23732
  font-size: var(--fs-sm);
23413
23733
  text-transform: uppercase;
23414
23734
  font-weight: var(--fw-bold);
23415
23735
  `;
23416
23736
 
23417
23737
  // src/components/Table/Table.tsx
23418
- var import_jsx_runtime127 = require("@emotion/react/jsx-runtime");
23738
+ var import_jsx_runtime132 = require("@emotion/react/jsx-runtime");
23419
23739
  var Table = React25.forwardRef(
23420
23740
  ({ children, cellPadding, ...otherProps }, ref) => {
23421
- return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)("table", { ref, css: table({ cellPadding }), ...otherProps, children });
23741
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)("table", { ref, css: table({ cellPadding }), ...otherProps, children });
23422
23742
  }
23423
23743
  );
23424
23744
  var TableHead = React25.forwardRef(
23425
23745
  ({ children, ...otherProps }, ref) => {
23426
- return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)("thead", { ref, css: tableHead, ...otherProps, children });
23746
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)("thead", { ref, css: tableHead, ...otherProps, children });
23427
23747
  }
23428
23748
  );
23429
23749
  var TableBody = React25.forwardRef(
23430
23750
  ({ children, ...otherProps }, ref) => {
23431
- return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)("tbody", { ref, ...otherProps, children });
23751
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)("tbody", { ref, ...otherProps, children });
23432
23752
  }
23433
23753
  );
23434
23754
  var TableFoot = React25.forwardRef(
23435
23755
  ({ children, ...otherProps }, ref) => {
23436
- return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)("tfoot", { ref, ...otherProps, children });
23756
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)("tfoot", { ref, ...otherProps, children });
23437
23757
  }
23438
23758
  );
23439
23759
  var TableRow = React25.forwardRef(
23440
23760
  ({ children, ...otherProps }, ref) => {
23441
- return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)("tr", { ref, css: tableRow, ...otherProps, children });
23761
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)("tr", { ref, css: tableRow, ...otherProps, children });
23442
23762
  }
23443
23763
  );
23444
23764
  var TableCellHead = React25.forwardRef(
23445
23765
  ({ children, ...otherProps }, ref) => {
23446
- return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)("th", { ref, css: tableCellHead, ...otherProps, children });
23766
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)("th", { ref, css: tableCellHead, ...otherProps, children });
23447
23767
  }
23448
23768
  );
23449
23769
  var TableCellData = React25.forwardRef(
23450
23770
  ({ children, ...otherProps }, ref) => {
23451
- return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)("td", { ref, ...otherProps, children });
23771
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)("td", { ref, ...otherProps, children });
23452
23772
  }
23453
23773
  );
23454
23774
 
23455
23775
  // src/components/Tabs/Tabs.tsx
23456
23776
  init_emotion_jsx_shim();
23457
- var import_react152 = require("@ariakit/react");
23458
- var import_react153 = require("react");
23777
+ var import_react157 = require("@ariakit/react");
23778
+ var import_react158 = require("react");
23459
23779
 
23460
23780
  // src/components/Tabs/Tabs.styles.ts
23461
23781
  init_emotion_jsx_shim();
23462
- var import_react151 = require("@emotion/react");
23463
- var tabButtonStyles = import_react151.css`
23782
+ var import_react156 = require("@emotion/react");
23783
+ var tabButtonStyles = import_react156.css`
23464
23784
  align-items: center;
23465
23785
  border: 0;
23466
23786
  height: 2.5rem;
@@ -23477,16 +23797,16 @@ var tabButtonStyles = import_react151.css`
23477
23797
  box-shadow: inset 0 -2px 0 var(--brand-secondary-3);
23478
23798
  }
23479
23799
  `;
23480
- var tabButtonGroupStyles = import_react151.css`
23800
+ var tabButtonGroupStyles = import_react156.css`
23481
23801
  display: flex;
23482
23802
  gap: var(--spacing-base);
23483
23803
  border-bottom: 1px solid var(--gray-300);
23484
23804
  `;
23485
23805
 
23486
23806
  // src/components/Tabs/Tabs.tsx
23487
- var import_jsx_runtime128 = require("@emotion/react/jsx-runtime");
23807
+ var import_jsx_runtime133 = require("@emotion/react/jsx-runtime");
23488
23808
  var useCurrentTab = () => {
23489
- const context = (0, import_react152.useTabStore)();
23809
+ const context = (0, import_react157.useTabStore)();
23490
23810
  if (!context) {
23491
23811
  throw new Error("This component can only be used inside <Tabs>");
23492
23812
  }
@@ -23500,13 +23820,13 @@ var Tabs = ({
23500
23820
  manual,
23501
23821
  ...props
23502
23822
  }) => {
23503
- const selected = (0, import_react153.useMemo)(() => {
23823
+ const selected = (0, import_react158.useMemo)(() => {
23504
23824
  if (selectedId)
23505
23825
  return selectedId;
23506
23826
  return useHashForState && typeof window !== "undefined" && window.location.hash ? window.location.hash.substring(1) : void 0;
23507
23827
  }, [selectedId, useHashForState]);
23508
- const tab = (0, import_react152.useTabStore)({ ...props, selectOnMove: !manual, selectedId: selected });
23509
- const onTabSelect = (0, import_react153.useCallback)(
23828
+ const tab = (0, import_react157.useTabStore)({ ...props, selectOnMove: !manual, selectedId: selected });
23829
+ const onTabSelect = (0, import_react158.useCallback)(
23510
23830
  (value) => {
23511
23831
  const selectedValueWithoutNull = value != null ? value : void 0;
23512
23832
  onSelectedIdChange == null ? void 0 : onSelectedIdChange(selectedValueWithoutNull);
@@ -23517,28 +23837,28 @@ var Tabs = ({
23517
23837
  },
23518
23838
  [onSelectedIdChange, useHashForState]
23519
23839
  );
23520
- (0, import_react153.useEffect)(() => {
23840
+ (0, import_react158.useEffect)(() => {
23521
23841
  if (selected && selected !== tab.getState().activeId) {
23522
23842
  tab.setSelectedId(selected);
23523
23843
  }
23524
23844
  }, [selected, tab]);
23525
- return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_react152.TabProvider, { store: tab, setSelectedId: onTabSelect, children });
23845
+ return /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_react157.TabProvider, { store: tab, setSelectedId: onTabSelect, children });
23526
23846
  };
23527
23847
  var TabButtonGroup = ({ children, ...props }) => {
23528
- return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_react152.TabList, { ...props, css: tabButtonGroupStyles, children });
23848
+ return /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_react157.TabList, { ...props, css: tabButtonGroupStyles, children });
23529
23849
  };
23530
23850
  var TabButton = ({
23531
23851
  children,
23532
23852
  id,
23533
23853
  ...props
23534
23854
  }) => {
23535
- return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_react152.Tab, { type: "button", id, ...props, css: tabButtonStyles, children });
23855
+ return /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_react157.Tab, { type: "button", id, ...props, css: tabButtonStyles, children });
23536
23856
  };
23537
23857
  var TabContent = ({
23538
23858
  children,
23539
23859
  ...props
23540
23860
  }) => {
23541
- return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(import_react152.TabPanel, { ...props, children });
23861
+ return /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(import_react157.TabPanel, { ...props, children });
23542
23862
  };
23543
23863
 
23544
23864
  // src/components/Validation/StatusBullet.tsx
@@ -23546,8 +23866,8 @@ init_emotion_jsx_shim();
23546
23866
 
23547
23867
  // src/components/Validation/StatusBullet.styles.ts
23548
23868
  init_emotion_jsx_shim();
23549
- var import_react154 = require("@emotion/react");
23550
- var StatusBulletContainer = import_react154.css`
23869
+ var import_react159 = require("@emotion/react");
23870
+ var StatusBulletContainer = import_react159.css`
23551
23871
  align-items: center;
23552
23872
  align-self: center;
23553
23873
  color: var(--gray-500);
@@ -23564,33 +23884,33 @@ var StatusBulletContainer = import_react154.css`
23564
23884
  display: block;
23565
23885
  }
23566
23886
  `;
23567
- var StatusBulletBase = import_react154.css`
23887
+ var StatusBulletBase = import_react159.css`
23568
23888
  font-size: var(--fs-sm);
23569
23889
  &:before {
23570
23890
  width: var(--fs-xs);
23571
23891
  height: var(--fs-xs);
23572
23892
  }
23573
23893
  `;
23574
- var StatusBulletSmall = import_react154.css`
23894
+ var StatusBulletSmall = import_react159.css`
23575
23895
  font-size: var(--fs-xs);
23576
23896
  &:before {
23577
23897
  width: var(--fs-xxs);
23578
23898
  height: var(--fs-xxs);
23579
23899
  }
23580
23900
  `;
23581
- var StatusDraft = import_react154.css`
23901
+ var StatusDraft = import_react159.css`
23582
23902
  &:before {
23583
23903
  background: var(--white);
23584
23904
  box-shadow: inset 0 0 0 0.125rem var(--accent-dark);
23585
23905
  }
23586
23906
  `;
23587
- var StatusModified = import_react154.css`
23907
+ var StatusModified = import_react159.css`
23588
23908
  &:before {
23589
23909
  background: linear-gradient(to right, var(--white) 50%, var(--accent-dark) 50% 100%);
23590
23910
  box-shadow: inset 0 0 0 0.125rem var(--accent-dark);
23591
23911
  }
23592
23912
  `;
23593
- var StatusError = import_react154.css`
23913
+ var StatusError = import_react159.css`
23594
23914
  color: var(--error);
23595
23915
  &:before {
23596
23916
  /* TODO: replace this with an svg icon */
@@ -23603,29 +23923,29 @@ var StatusError = import_react154.css`
23603
23923
  );
23604
23924
  }
23605
23925
  `;
23606
- var StatusPublished = import_react154.css`
23926
+ var StatusPublished = import_react159.css`
23607
23927
  &:before {
23608
23928
  background: var(--accent-dark);
23609
23929
  }
23610
23930
  `;
23611
- var StatusOrphan = import_react154.css`
23931
+ var StatusOrphan = import_react159.css`
23612
23932
  &:before {
23613
23933
  background: var(--brand-secondary-5);
23614
23934
  }
23615
23935
  `;
23616
- var StatusUnknown = import_react154.css`
23936
+ var StatusUnknown = import_react159.css`
23617
23937
  &:before {
23618
23938
  background: var(--gray-800);
23619
23939
  }
23620
23940
  `;
23621
- var StatusDeleted = import_react154.css`
23941
+ var StatusDeleted = import_react159.css`
23622
23942
  &:before {
23623
23943
  background: var(--error);
23624
23944
  }
23625
23945
  `;
23626
23946
 
23627
23947
  // src/components/Validation/StatusBullet.tsx
23628
- var import_jsx_runtime129 = require("@emotion/react/jsx-runtime");
23948
+ var import_jsx_runtime134 = require("@emotion/react/jsx-runtime");
23629
23949
  var StatusBullet = ({
23630
23950
  status,
23631
23951
  hideText = false,
@@ -23645,7 +23965,7 @@ var StatusBullet = ({
23645
23965
  Deleted: StatusDeleted
23646
23966
  };
23647
23967
  const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
23648
- return /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
23968
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(
23649
23969
  "span",
23650
23970
  {
23651
23971
  role: "status",
@@ -23746,6 +24066,13 @@ var StatusBullet = ({
23746
24066
  Modal,
23747
24067
  ModalDialog,
23748
24068
  MultilineChip,
24069
+ ObjectGridContainer,
24070
+ ObjectGridItem,
24071
+ ObjectGridItemCardCover,
24072
+ ObjectGridItemCover,
24073
+ ObjectGridItemCoverButton,
24074
+ ObjectGridItemHeading,
24075
+ ObjectGridItemIconWithTooltip,
23749
24076
  PageHeaderSection,
23750
24077
  Pagination,
23751
24078
  Paragraph,