@uniformdev/design-system 19.132.0 → 19.134.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -11754,7 +11754,6 @@ var activeMenuItem = css25`
11754
11754
  `;
11755
11755
  var menuItem = (textTheme, forceActive) => css25`
11756
11756
  align-items: center;
11757
- border: none;
11758
11757
  border-radius: var(--rounded-base);
11759
11758
  background: none;
11760
11759
  color: ${textTheme === "base" ? "var(--typography-base)" : "var(--brand-secondary-5)"};
@@ -11777,6 +11776,11 @@ var menuItem = (textTheme, forceActive) => css25`
11777
11776
  &[data-active-item] {
11778
11777
  ${typeof forceActive === "undefined" ? activeMenuItem : ""}
11779
11778
  }
11779
+
11780
+ // Remove border from input elements, this fixes UNI-4634
11781
+ &:not(input[type='radio'], input[type='checkbox']) {
11782
+ border: none;
11783
+ }
11780
11784
  `;
11781
11785
  var menuItemWithIcon = css25`
11782
11786
  align-items: center;
@@ -12141,6 +12145,7 @@ var ButtonWithMenu = ({
12141
12145
  placement,
12142
12146
  size = "lg",
12143
12147
  menuContainerCssClasses,
12148
+ withoutPortal = false,
12144
12149
  ...buttonProps
12145
12150
  }) => {
12146
12151
  const buttonTheme = {
@@ -12209,6 +12214,7 @@ var ButtonWithMenu = ({
12209
12214
  placement,
12210
12215
  menuTrigger: dropdownButton,
12211
12216
  menuItemsContainerCssClasses: menuContainerCssClasses,
12217
+ portal: withoutPortal,
12212
12218
  children
12213
12219
  }
12214
12220
  ) })
@@ -13391,7 +13397,7 @@ var DashedBox = ({
13391
13397
  };
13392
13398
 
13393
13399
  // src/components/DateTimePicker/DateTimePicker.tsx
13394
- import { CalendarDate as CalendarDate3, parseDate as parseDate2, parseTime as parseTime2, Time as Time3 } from "@internationalized/date";
13400
+ import { CalendarDate as CalendarDate3, parseDate as parseDate2, parseTime as parseTime2, Time as Time2 } from "@internationalized/date";
13395
13401
  import { createContext as createContext2, useCallback as useCallback3, useContext as useContext3, useEffect as useEffect4, useMemo, useState as useState6 } from "react";
13396
13402
  import { Popover as Popover2, PopoverDisclosure, usePopoverState } from "reakit/Popover";
13397
13403
 
@@ -14292,7 +14298,8 @@ var InputTime = React13.forwardRef(
14292
14298
  isDisabled: !!disabled2,
14293
14299
  onChange: useCallback2(
14294
14300
  (time) => {
14295
- onChange == null ? void 0 : onChange(time.toString());
14301
+ var _a;
14302
+ onChange == null ? void 0 : onChange((_a = time == null ? void 0 : time.toString()) != null ? _a : "00:00:00");
14296
14303
  },
14297
14304
  [onChange]
14298
14305
  ),
@@ -14558,7 +14565,7 @@ function DateTimePickerSummary({
14558
14565
  import {
14559
14566
  getLocalTimeZone as libGetLocalTimeZone,
14560
14567
  parseAbsolute,
14561
- Time as Time2,
14568
+ Time,
14562
14569
  toCalendarDate,
14563
14570
  toCalendarDateTime,
14564
14571
  toTime,
@@ -14588,7 +14595,7 @@ function tryToTime(time) {
14588
14595
  }
14589
14596
  function dateTimePickerPartsToIsoString(date, time, draftTimeZone) {
14590
14597
  return date ? toZoned(
14591
- toCalendarDateTime(date, time != null ? time : new Time2(0, 0)),
14598
+ toCalendarDateTime(date, time != null ? time : new Time(0, 0)),
14592
14599
  draftTimeZone || getLocalTimeZone()
14593
14600
  ).toAbsoluteString() : null;
14594
14601
  }
@@ -14666,7 +14673,7 @@ var DateTimePicker = ({
14666
14673
  var _a;
14667
14674
  if (popover2.visible) {
14668
14675
  setDraftDate(tryToCalendarDate(parsedValue));
14669
- setDraftTime((_a = tryToTime(parsedValue)) != null ? _a : new Time3(0, 0));
14676
+ setDraftTime((_a = tryToTime(parsedValue)) != null ? _a : new Time2(0, 0));
14670
14677
  }
14671
14678
  }, [parsedValue, popover2.visible]);
14672
14679
  const handleDateChange = useCallback3((isoDate) => {
@@ -17135,7 +17142,7 @@ var modalInnerStyles = css76`
17135
17142
  gap: var(--spacing-base);
17136
17143
  background: var(--gray-50);
17137
17144
  color: unset;
17138
- padding: calc(var(--spacing-2xl) - 2px);
17145
+ padding: var(--spacing-base);
17139
17146
  box-shadow: var(--elevation-500);
17140
17147
  border-radius: var(--rounded-base);
17141
17148
  `;
@@ -17157,7 +17164,6 @@ var modalCloseButtonStyles = css76`
17157
17164
  display: block;
17158
17165
  padding: 0;
17159
17166
  margin-left: auto;
17160
- translate: calc(var(--spacing-base)) calc(var(--spacing-base) * -1);
17161
17167
  transition: color var(--duration-fast) var(--timing-ease-out);
17162
17168
 
17163
17169
  &:hover,
@@ -17170,21 +17176,33 @@ var modalContentStyles = css76`
17170
17176
  position: relative;
17171
17177
  flex: 1;
17172
17178
  overflow: auto;
17179
+ padding: var(--spacing-md);
17173
17180
  ${scrollbarStyles}
17174
17181
  `;
17182
+ var modalDialogWrapper = css76`
17183
+ padding: 0 var(--spacing-lg) var(--spacing-md);
17184
+ `;
17185
+ var modalDialogInnerStyles = css76`
17186
+ // we need to override the gap of the modalInnerStyles when using a modal dialog
17187
+ > div {
17188
+ gap: 0;
17189
+ }
17190
+ `;
17175
17191
 
17176
17192
  // src/components/Modal/Modal.tsx
17177
17193
  import { jsx as jsx94, jsxs as jsxs63 } from "@emotion/react/jsx-runtime";
17194
+ var defaultModalWidth = "75rem";
17178
17195
  var defaultModalHeight = "51rem";
17179
17196
  var Modal = React21.forwardRef(
17180
17197
  ({
17181
17198
  header: header2,
17182
17199
  children,
17183
17200
  onRequestClose,
17184
- width,
17201
+ width = defaultModalWidth,
17185
17202
  height = defaultModalHeight,
17186
17203
  buttonGroup,
17187
17204
  modalSize = "lg",
17205
+ withoutContentPadding = false,
17188
17206
  ...modalProps
17189
17207
  }, ref) => {
17190
17208
  const dialogRef = useRef6(null);
@@ -17227,7 +17245,7 @@ var Modal = React21.forwardRef(
17227
17245
  ref.current = element;
17228
17246
  }
17229
17247
  },
17230
- css: [modalStyles, width ? void 0 : size[modalSize]],
17248
+ css: [modalStyles, !width ? size[modalSize] : void 0],
17231
17249
  style: { width, height: height === "auto" ? "min-content" : height },
17232
17250
  "data-testid": "side-dialog",
17233
17251
  onClick: onRequestClose,
@@ -17242,7 +17260,7 @@ var Modal = React21.forwardRef(
17242
17260
  onClick: (e) => e.stopPropagation(),
17243
17261
  children: [
17244
17262
  /* @__PURE__ */ jsxs63("div", { css: modalHeaderStyles, children: [
17245
- /* @__PURE__ */ jsx94("div", { css: modalHeaderHeaderStyles, children: header2 }),
17263
+ !header2 ? null : /* @__PURE__ */ jsx94("div", { css: modalHeaderHeaderStyles, children: header2 }),
17246
17264
  /* @__PURE__ */ jsx94(
17247
17265
  Button,
17248
17266
  {
@@ -17256,7 +17274,7 @@ var Modal = React21.forwardRef(
17256
17274
  }
17257
17275
  )
17258
17276
  ] }),
17259
- /* @__PURE__ */ jsx94("div", { css: modalContentStyles, children }),
17277
+ /* @__PURE__ */ jsx94("div", { css: [modalContentStyles, !withoutContentPadding ? null : { padding: 0 }], children }),
17260
17278
  buttonGroup ? /* @__PURE__ */ jsx94(HorizontalRhythm, { children: buttonGroup }) : null
17261
17279
  ]
17262
17280
  }
@@ -17267,6 +17285,33 @@ var Modal = React21.forwardRef(
17267
17285
  );
17268
17286
  Modal.displayName = "Modal";
17269
17287
 
17288
+ // src/components/Modal/ModalDialog.tsx
17289
+ import { forwardRef as forwardRef13 } from "react";
17290
+ import { jsx as jsx95, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
17291
+ var ModalDialog = forwardRef13(
17292
+ ({ header: header2, buttonGroup, modalSize = "lg", children, height = "auto", onRequestClose, ...props }, ref) => {
17293
+ return /* @__PURE__ */ jsx95(
17294
+ Modal,
17295
+ {
17296
+ ...props,
17297
+ modalSize,
17298
+ ref,
17299
+ onRequestClose,
17300
+ height,
17301
+ withoutContentPadding: true,
17302
+ css: modalDialogInnerStyles,
17303
+ width: "",
17304
+ children: /* @__PURE__ */ jsxs64(VerticalRhythm, { css: modalDialogWrapper, children: [
17305
+ /* @__PURE__ */ jsx95("div", { css: modalHeaderStyles, children: header2 }),
17306
+ /* @__PURE__ */ jsx95("div", { children }),
17307
+ /* @__PURE__ */ jsx95(HorizontalRhythm, { children: buttonGroup })
17308
+ ] })
17309
+ }
17310
+ );
17311
+ }
17312
+ );
17313
+ ModalDialog.displayName = "ModalDialog";
17314
+
17270
17315
  // src/components/Pagination/Pagination.tsx
17271
17316
  import Paginate from "react-paginate";
17272
17317
 
@@ -17299,7 +17344,7 @@ var page = css77`
17299
17344
  `;
17300
17345
 
17301
17346
  // src/components/Pagination/Pagination.tsx
17302
- import { jsx as jsx95 } from "@emotion/react/jsx-runtime";
17347
+ import { jsx as jsx96 } from "@emotion/react/jsx-runtime";
17303
17348
  function Pagination({
17304
17349
  limit,
17305
17350
  offset,
@@ -17314,12 +17359,12 @@ function Pagination({
17314
17359
  if (pageCount <= 1) {
17315
17360
  return null;
17316
17361
  }
17317
- return /* @__PURE__ */ jsx95(
17362
+ return /* @__PURE__ */ jsx96(
17318
17363
  Paginate,
17319
17364
  {
17320
17365
  forcePage: currentPage,
17321
- previousLabel: /* @__PURE__ */ jsx95("div", { className: prevNextControls, children: "<" }),
17322
- nextLabel: /* @__PURE__ */ jsx95("div", { className: prevNextControls, children: ">" }),
17366
+ previousLabel: /* @__PURE__ */ jsx96("div", { className: prevNextControls, children: "<" }),
17367
+ nextLabel: /* @__PURE__ */ jsx96("div", { className: prevNextControls, children: ">" }),
17323
17368
  breakLabel: "...",
17324
17369
  pageCount,
17325
17370
  marginPagesDisplayed: 2,
@@ -17386,7 +17431,7 @@ var inputIconBtn = css78`
17386
17431
  `;
17387
17432
 
17388
17433
  // src/components/ParameterInputs/LabelLeadingIcon.tsx
17389
- import { jsx as jsx96, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
17434
+ import { jsx as jsx97, jsxs as jsxs65 } from "@emotion/react/jsx-runtime";
17390
17435
  var LabelLeadingIcon = ({
17391
17436
  icon,
17392
17437
  iconColor,
@@ -17398,7 +17443,7 @@ var LabelLeadingIcon = ({
17398
17443
  ...props
17399
17444
  }) => {
17400
17445
  const titleFr = title2 != null ? title2 : isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
17401
- return /* @__PURE__ */ jsx96(Tooltip, { title: titleFr, children: /* @__PURE__ */ jsxs64(
17446
+ return /* @__PURE__ */ jsx97(Tooltip, { title: titleFr, children: /* @__PURE__ */ jsxs65(
17402
17447
  "button",
17403
17448
  {
17404
17449
  css: inputIconBtn,
@@ -17408,7 +17453,7 @@ var LabelLeadingIcon = ({
17408
17453
  ...props,
17409
17454
  "data-testid": "lock-button",
17410
17455
  children: [
17411
- /* @__PURE__ */ jsx96(
17456
+ /* @__PURE__ */ jsx97(
17412
17457
  Icon,
17413
17458
  {
17414
17459
  icon: isLocked ? "lock" : icon ? icon : "arrows-expand-down-right",
@@ -17711,7 +17756,7 @@ var linkParameterIcon = css79`
17711
17756
  `;
17712
17757
 
17713
17758
  // src/components/ParameterInputs/ParameterDataResource.tsx
17714
- import { jsx as jsx97, jsxs as jsxs65 } from "@emotion/react/jsx-runtime";
17759
+ import { jsx as jsx98, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
17715
17760
  function ParameterDataResource({
17716
17761
  label,
17717
17762
  labelLeadingIcon,
@@ -17721,12 +17766,12 @@ function ParameterDataResource({
17721
17766
  disabled: disabled2,
17722
17767
  children
17723
17768
  }) {
17724
- return /* @__PURE__ */ jsxs65("div", { "data-testid": "parameter-data-connect-button", children: [
17725
- /* @__PURE__ */ jsxs65("span", { css: labelText2, children: [
17769
+ return /* @__PURE__ */ jsxs66("div", { "data-testid": "parameter-data-connect-button", children: [
17770
+ /* @__PURE__ */ jsxs66("span", { css: labelText2, children: [
17726
17771
  labelLeadingIcon ? labelLeadingIcon : null,
17727
17772
  label
17728
17773
  ] }),
17729
- /* @__PURE__ */ jsxs65(
17774
+ /* @__PURE__ */ jsxs66(
17730
17775
  "button",
17731
17776
  {
17732
17777
  type: "button",
@@ -17735,12 +17780,12 @@ function ParameterDataResource({
17735
17780
  disabled: disabled2,
17736
17781
  onClick: onConnectDatasource,
17737
17782
  children: [
17738
- /* @__PURE__ */ jsx97("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ jsx97(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
17783
+ /* @__PURE__ */ jsx98("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ jsx98(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
17739
17784
  children
17740
17785
  ]
17741
17786
  }
17742
17787
  ),
17743
- caption ? /* @__PURE__ */ jsx97(Caption, { children: caption }) : null
17788
+ caption ? /* @__PURE__ */ jsx98(Caption, { children: caption }) : null
17744
17789
  ] });
17745
17790
  }
17746
17791
 
@@ -17766,19 +17811,19 @@ var ParameterDrawerHeaderTitle = css80`
17766
17811
  `;
17767
17812
 
17768
17813
  // src/components/ParameterInputs/ParameterDrawerHeader.tsx
17769
- import { jsx as jsx98, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
17814
+ import { jsx as jsx99, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
17770
17815
  var ParameterDrawerHeader = ({ title: title2, iconBeforeTitle, children }) => {
17771
- return /* @__PURE__ */ jsxs66("div", { css: ParameterDrawerHeaderContainer, children: [
17772
- /* @__PURE__ */ jsxs66("header", { css: ParameterDrawerHeaderTitleGroup, children: [
17816
+ return /* @__PURE__ */ jsxs67("div", { css: ParameterDrawerHeaderContainer, children: [
17817
+ /* @__PURE__ */ jsxs67("header", { css: ParameterDrawerHeaderTitleGroup, children: [
17773
17818
  iconBeforeTitle,
17774
- /* @__PURE__ */ jsx98(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title: title2, children: title2 })
17819
+ /* @__PURE__ */ jsx99(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title: title2, children: title2 })
17775
17820
  ] }),
17776
17821
  children
17777
17822
  ] });
17778
17823
  };
17779
17824
 
17780
17825
  // src/components/ParameterInputs/ParameterGroup.tsx
17781
- import { forwardRef as forwardRef13 } from "react";
17826
+ import { forwardRef as forwardRef14 } from "react";
17782
17827
 
17783
17828
  // src/components/ParameterInputs/styles/ParameterGroup.styles.ts
17784
17829
  import { css as css81 } from "@emotion/react";
@@ -17801,18 +17846,18 @@ var fieldsetLegend2 = css81`
17801
17846
  `;
17802
17847
 
17803
17848
  // src/components/ParameterInputs/ParameterGroup.tsx
17804
- import { jsx as jsx99, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
17805
- var ParameterGroup = forwardRef13(
17849
+ import { jsx as jsx100, jsxs as jsxs68 } from "@emotion/react/jsx-runtime";
17850
+ var ParameterGroup = forwardRef14(
17806
17851
  ({ legend, isDisabled, children, ...props }, ref) => {
17807
- return /* @__PURE__ */ jsxs67("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
17808
- /* @__PURE__ */ jsx99("legend", { css: fieldsetLegend2, children: legend }),
17852
+ return /* @__PURE__ */ jsxs68("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
17853
+ /* @__PURE__ */ jsx100("legend", { css: fieldsetLegend2, children: legend }),
17809
17854
  children
17810
17855
  ] });
17811
17856
  }
17812
17857
  );
17813
17858
 
17814
17859
  // src/components/ParameterInputs/ParameterImage.tsx
17815
- import { forwardRef as forwardRef15, useDeferredValue } from "react";
17860
+ import { forwardRef as forwardRef16, useDeferredValue } from "react";
17816
17861
 
17817
17862
  // src/components/ParameterInputs/ParameterImagePreview.tsx
17818
17863
  import { useState as useState12 } from "react";
@@ -17856,32 +17901,32 @@ var previewModalImage = css82`
17856
17901
  `;
17857
17902
 
17858
17903
  // src/components/ParameterInputs/ParameterImagePreview.tsx
17859
- import { Fragment as Fragment13, jsx as jsx100, jsxs as jsxs68 } from "@emotion/react/jsx-runtime";
17904
+ import { Fragment as Fragment13, jsx as jsx101, jsxs as jsxs69 } from "@emotion/react/jsx-runtime";
17860
17905
  function ParameterImagePreview({ imageSrc }) {
17861
17906
  const [showModal, setShowModal] = useState12(false);
17862
- return imageSrc ? /* @__PURE__ */ jsxs68("div", { css: previewWrapper, children: [
17863
- /* @__PURE__ */ jsx100(PreviewImageModal, { open: showModal, imageSrc, onRequestClose: () => setShowModal(false) }),
17864
- /* @__PURE__ */ jsx100(
17907
+ return imageSrc ? /* @__PURE__ */ jsxs69("div", { css: previewWrapper, children: [
17908
+ /* @__PURE__ */ jsx101(PreviewImageModal, { open: showModal, imageSrc, onRequestClose: () => setShowModal(false) }),
17909
+ /* @__PURE__ */ jsx101(
17865
17910
  "button",
17866
17911
  {
17867
17912
  css: previewLink,
17868
17913
  onClick: () => {
17869
17914
  setShowModal(true);
17870
17915
  },
17871
- children: /* @__PURE__ */ jsx100(Image, { src: imageSrc, "data-testid": "parameter-image-preview" })
17916
+ children: /* @__PURE__ */ jsx101(Image, { src: imageSrc, "data-testid": "parameter-image-preview" })
17872
17917
  }
17873
17918
  )
17874
17919
  ] }) : null;
17875
17920
  }
17876
17921
  var PreviewImageModal = ({ open, onRequestClose, imageSrc }) => {
17877
- return open ? /* @__PURE__ */ jsx100(Fragment13, { children: createPortal2(
17878
- /* @__PURE__ */ jsx100(
17922
+ return open ? /* @__PURE__ */ jsx101(Fragment13, { children: createPortal2(
17923
+ /* @__PURE__ */ jsx101(
17879
17924
  Modal,
17880
17925
  {
17881
17926
  header: "Image Preview",
17882
17927
  onRequestClose,
17883
- buttonGroup: /* @__PURE__ */ jsx100(Button, { buttonType: "secondary", onClick: onRequestClose, children: "Ok" }),
17884
- children: /* @__PURE__ */ jsx100("div", { css: previewModalWrapper, children: /* @__PURE__ */ jsx100(Image, { src: imageSrc, css: previewModalImage, "data-testid": "parameter-image-preview" }) })
17928
+ buttonGroup: /* @__PURE__ */ jsx101(Button, { buttonType: "secondary", onClick: onRequestClose, children: "Ok" }),
17929
+ children: /* @__PURE__ */ jsx101("div", { css: previewModalWrapper, children: /* @__PURE__ */ jsx101(Image, { src: imageSrc, css: previewModalImage, "data-testid": "parameter-image-preview" }) })
17885
17930
  }
17886
17931
  ),
17887
17932
  document.body
@@ -17893,21 +17938,21 @@ import { css as css84 } from "@emotion/react";
17893
17938
  import { useState as useState13 } from "react";
17894
17939
 
17895
17940
  // src/components/ParameterInputs/ParameterLabel.tsx
17896
- import { jsx as jsx101 } from "@emotion/react/jsx-runtime";
17941
+ import { jsx as jsx102 } from "@emotion/react/jsx-runtime";
17897
17942
  var ParameterLabel = ({ id, asSpan, children, ...props }) => {
17898
- return !asSpan ? /* @__PURE__ */ jsx101("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ jsx101("span", { "aria-labelledby": id, css: labelText2, children });
17943
+ return !asSpan ? /* @__PURE__ */ jsx102("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ jsx102("span", { "aria-labelledby": id, css: labelText2, children });
17899
17944
  };
17900
17945
 
17901
17946
  // src/components/ParameterInputs/ParameterMenuButton.tsx
17902
- import { forwardRef as forwardRef14 } from "react";
17903
- import { jsx as jsx102 } from "@emotion/react/jsx-runtime";
17904
- var ParameterMenuButton = forwardRef14(
17947
+ import { forwardRef as forwardRef15 } from "react";
17948
+ import { jsx as jsx103 } from "@emotion/react/jsx-runtime";
17949
+ var ParameterMenuButton = forwardRef15(
17905
17950
  ({ label, children }, ref) => {
17906
- return /* @__PURE__ */ jsx102(
17951
+ return /* @__PURE__ */ jsx103(
17907
17952
  Menu,
17908
17953
  {
17909
17954
  menuLabel: `${label} menu`,
17910
- menuTrigger: /* @__PURE__ */ jsx102(
17955
+ menuTrigger: /* @__PURE__ */ jsx103(
17911
17956
  "button",
17912
17957
  {
17913
17958
  className: "parameter-menu",
@@ -17915,7 +17960,7 @@ var ParameterMenuButton = forwardRef14(
17915
17960
  type: "button",
17916
17961
  "aria-label": `${label} options`,
17917
17962
  ref,
17918
- children: /* @__PURE__ */ jsx102(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
17963
+ children: /* @__PURE__ */ jsx103(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
17919
17964
  }
17920
17965
  ),
17921
17966
  children
@@ -17951,7 +17996,7 @@ var overrideMarker = css83`
17951
17996
  `;
17952
17997
 
17953
17998
  // src/components/ParameterInputs/ParameterShell.tsx
17954
- import { jsx as jsx103, jsxs as jsxs69 } from "@emotion/react/jsx-runtime";
17999
+ import { jsx as jsx104, jsxs as jsxs70 } from "@emotion/react/jsx-runtime";
17955
18000
  var extractParameterProps = (props) => {
17956
18001
  const {
17957
18002
  id,
@@ -18014,19 +18059,19 @@ var ParameterShell = ({
18014
18059
  const [manualErrorMessage, setManualErrorMessage] = useState13(void 0);
18015
18060
  const setErrorMessage = (message) => setManualErrorMessage(message);
18016
18061
  const errorMessaging = errorMessage || manualErrorMessage;
18017
- return /* @__PURE__ */ jsxs69("div", { css: inputContainer2, ...props, id, children: [
18018
- hiddenLabel || title2 ? null : /* @__PURE__ */ jsxs69(ParameterLabel, { id, css: labelText2, children: [
18062
+ return /* @__PURE__ */ jsxs70("div", { css: inputContainer2, ...props, id, children: [
18063
+ hiddenLabel || title2 ? null : /* @__PURE__ */ jsxs70(ParameterLabel, { id, css: labelText2, children: [
18019
18064
  labelLeadingIcon != null ? labelLeadingIcon : null,
18020
18065
  label,
18021
18066
  labelTrailingIcon != null ? labelTrailingIcon : null
18022
18067
  ] }),
18023
- !title2 ? null : /* @__PURE__ */ jsxs69(ParameterLabel, { id, asSpan: true, children: [
18068
+ !title2 ? null : /* @__PURE__ */ jsxs70(ParameterLabel, { id, asSpan: true, children: [
18024
18069
  labelLeadingIcon != null ? labelLeadingIcon : null,
18025
18070
  title2,
18026
18071
  labelTrailingIcon != null ? labelTrailingIcon : null
18027
18072
  ] }),
18028
- /* @__PURE__ */ jsxs69("div", { css: inputWrapper, children: [
18029
- actionItems ? /* @__PURE__ */ jsx103(
18073
+ /* @__PURE__ */ jsxs70("div", { css: inputWrapper, children: [
18074
+ actionItems ? /* @__PURE__ */ jsx104(
18030
18075
  "div",
18031
18076
  {
18032
18077
  css: [
@@ -18039,8 +18084,8 @@ var ParameterShell = ({
18039
18084
  children: actionItems
18040
18085
  }
18041
18086
  ) : null,
18042
- menuItems ? /* @__PURE__ */ jsx103(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
18043
- /* @__PURE__ */ jsx103(
18087
+ menuItems ? /* @__PURE__ */ jsx104(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
18088
+ /* @__PURE__ */ jsx104(
18044
18089
  ParameterShellContext.Provider,
18045
18090
  {
18046
18091
  value: {
@@ -18050,14 +18095,14 @@ var ParameterShell = ({
18050
18095
  errorMessage: errorMessaging,
18051
18096
  handleManuallySetErrorMessage: (message) => setErrorMessage(message)
18052
18097
  },
18053
- children: isParameterGroup ? /* @__PURE__ */ jsx103("div", { style: { flexGrow: 1 }, children }) : /* @__PURE__ */ jsxs69(ParameterShellPlaceholder, { children: [
18098
+ children: isParameterGroup ? /* @__PURE__ */ jsx104("div", { style: { flexGrow: 1 }, children }) : /* @__PURE__ */ jsxs70(ParameterShellPlaceholder, { children: [
18054
18099
  children,
18055
- hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx103(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
18100
+ hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx104(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
18056
18101
  ] })
18057
18102
  }
18058
18103
  )
18059
18104
  ] }),
18060
- /* @__PURE__ */ jsx103(
18105
+ /* @__PURE__ */ jsx104(
18061
18106
  FieldMessage,
18062
18107
  {
18063
18108
  helperMessageTestId: captionTestId,
@@ -18071,27 +18116,27 @@ var ParameterShell = ({
18071
18116
  ] });
18072
18117
  };
18073
18118
  var ParameterShellPlaceholder = ({ children }) => {
18074
- return /* @__PURE__ */ jsx103("div", { css: emptyParameterShell, children });
18119
+ return /* @__PURE__ */ jsx104("div", { css: emptyParameterShell, children });
18075
18120
  };
18076
- var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx103(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx103("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx103("span", { hidden: true, children: "reset overridden value to default" }) }) });
18121
+ var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx104(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx104("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx104("span", { hidden: true, children: "reset overridden value to default" }) }) });
18077
18122
 
18078
18123
  // src/components/ParameterInputs/ParameterImage.tsx
18079
- import { Fragment as Fragment14, jsx as jsx104, jsxs as jsxs70 } from "@emotion/react/jsx-runtime";
18080
- var ParameterImage = forwardRef15(
18124
+ import { Fragment as Fragment14, jsx as jsx105, jsxs as jsxs71 } from "@emotion/react/jsx-runtime";
18125
+ var ParameterImage = forwardRef16(
18081
18126
  ({ children, ...props }, ref) => {
18082
18127
  const { shellProps, innerProps } = extractParameterProps(props);
18083
- return /* @__PURE__ */ jsxs70(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: [
18084
- /* @__PURE__ */ jsx104(ParameterImageInner, { ref, ...innerProps }),
18128
+ return /* @__PURE__ */ jsxs71(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: [
18129
+ /* @__PURE__ */ jsx105(ParameterImageInner, { ref, ...innerProps }),
18085
18130
  children
18086
18131
  ] });
18087
18132
  }
18088
18133
  );
18089
- var ParameterImageInner = forwardRef15((props, ref) => {
18134
+ var ParameterImageInner = forwardRef16((props, ref) => {
18090
18135
  const { value } = props;
18091
18136
  const { id, label, hiddenLabel, errorMessage } = useParameterShell();
18092
18137
  const deferredValue = useDeferredValue(value);
18093
- return /* @__PURE__ */ jsxs70(Fragment14, { children: [
18094
- /* @__PURE__ */ jsx104(
18138
+ return /* @__PURE__ */ jsxs71(Fragment14, { children: [
18139
+ /* @__PURE__ */ jsx105(
18095
18140
  "input",
18096
18141
  {
18097
18142
  css: input3,
@@ -18103,21 +18148,21 @@ var ParameterImageInner = forwardRef15((props, ref) => {
18103
18148
  ...props
18104
18149
  }
18105
18150
  ),
18106
- errorMessage || props.disablePreview ? null : /* @__PURE__ */ jsx104(ParameterImagePreview, { imageSrc: deferredValue })
18151
+ errorMessage || props.disablePreview ? null : /* @__PURE__ */ jsx105(ParameterImagePreview, { imageSrc: deferredValue })
18107
18152
  ] });
18108
18153
  });
18109
18154
 
18110
18155
  // src/components/ParameterInputs/ParameterInput.tsx
18111
- import { forwardRef as forwardRef16 } from "react";
18112
- import { jsx as jsx105 } from "@emotion/react/jsx-runtime";
18113
- var ParameterInput = forwardRef16((props, ref) => {
18156
+ import { forwardRef as forwardRef17 } from "react";
18157
+ import { jsx as jsx106 } from "@emotion/react/jsx-runtime";
18158
+ var ParameterInput = forwardRef17((props, ref) => {
18114
18159
  const { shellProps, innerProps } = extractParameterProps(props);
18115
- return /* @__PURE__ */ jsx105(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx105(ParameterInputInner, { ref, ...innerProps }) });
18160
+ return /* @__PURE__ */ jsx106(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx106(ParameterInputInner, { ref, ...innerProps }) });
18116
18161
  });
18117
- var ParameterInputInner = forwardRef16(
18162
+ var ParameterInputInner = forwardRef17(
18118
18163
  ({ ...props }, ref) => {
18119
18164
  const { id, label, hiddenLabel } = useParameterShell();
18120
- return /* @__PURE__ */ jsx105(
18165
+ return /* @__PURE__ */ jsx106(
18121
18166
  "input",
18122
18167
  {
18123
18168
  css: input3,
@@ -18133,19 +18178,19 @@ var ParameterInputInner = forwardRef16(
18133
18178
  );
18134
18179
 
18135
18180
  // src/components/ParameterInputs/ParameterLink.tsx
18136
- import { forwardRef as forwardRef17 } from "react";
18137
- import { jsx as jsx106, jsxs as jsxs71 } from "@emotion/react/jsx-runtime";
18138
- var ParameterLink = forwardRef17(
18181
+ import { forwardRef as forwardRef18 } from "react";
18182
+ import { jsx as jsx107, jsxs as jsxs72 } from "@emotion/react/jsx-runtime";
18183
+ var ParameterLink = forwardRef18(
18139
18184
  ({ disabled: disabled2, onConnectLink, externalLink, ...props }, ref) => {
18140
18185
  const { shellProps, innerProps } = extractParameterProps(props);
18141
- return /* @__PURE__ */ jsx106(
18186
+ return /* @__PURE__ */ jsx107(
18142
18187
  ParameterShell,
18143
18188
  {
18144
18189
  "data-testid": "link-parameter-editor",
18145
18190
  ...shellProps,
18146
18191
  label: innerProps.value ? shellProps.label : "",
18147
18192
  title: !innerProps.value ? shellProps.label : void 0,
18148
- children: /* @__PURE__ */ jsx106(
18193
+ children: /* @__PURE__ */ jsx107(
18149
18194
  ParameterLinkInner,
18150
18195
  {
18151
18196
  onConnectLink,
@@ -18158,13 +18203,13 @@ var ParameterLink = forwardRef17(
18158
18203
  );
18159
18204
  }
18160
18205
  );
18161
- var ParameterLinkInner = forwardRef17(
18206
+ var ParameterLinkInner = forwardRef18(
18162
18207
  ({ externalLink, onConnectLink, disabled: disabled2, buttonText = "Select link", ...props }, ref) => {
18163
18208
  const { id, label, hiddenLabel } = useParameterShell();
18164
18209
  if (!props.value)
18165
- return /* @__PURE__ */ jsx106("button", { type: "button", css: dataConnectButton, disabled: disabled2, onClick: onConnectLink, children: buttonText });
18166
- return /* @__PURE__ */ jsxs71("div", { css: inputWrapper, children: [
18167
- /* @__PURE__ */ jsx106(
18210
+ return /* @__PURE__ */ jsx107("button", { type: "button", css: dataConnectButton, disabled: disabled2, onClick: onConnectLink, children: buttonText });
18211
+ return /* @__PURE__ */ jsxs72("div", { css: inputWrapper, children: [
18212
+ /* @__PURE__ */ jsx107(
18168
18213
  "input",
18169
18214
  {
18170
18215
  type: "text",
@@ -18176,8 +18221,8 @@ var ParameterLinkInner = forwardRef17(
18176
18221
  ...props
18177
18222
  }
18178
18223
  ),
18179
- /* @__PURE__ */ jsxs71("div", { css: linkParameterControls, children: [
18180
- /* @__PURE__ */ jsx106(
18224
+ /* @__PURE__ */ jsxs72("div", { css: linkParameterControls, children: [
18225
+ /* @__PURE__ */ jsx107(
18181
18226
  "button",
18182
18227
  {
18183
18228
  type: "button",
@@ -18188,7 +18233,7 @@ var ParameterLinkInner = forwardRef17(
18188
18233
  children: "edit"
18189
18234
  }
18190
18235
  ),
18191
- externalLink ? /* @__PURE__ */ jsx106(
18236
+ externalLink ? /* @__PURE__ */ jsx107(
18192
18237
  "a",
18193
18238
  {
18194
18239
  href: externalLink,
@@ -18196,7 +18241,7 @@ var ParameterLinkInner = forwardRef17(
18196
18241
  title: "Open link in new tab",
18197
18242
  target: "_blank",
18198
18243
  rel: "noopener noreferrer",
18199
- children: /* @__PURE__ */ jsx106(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
18244
+ children: /* @__PURE__ */ jsx107(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
18200
18245
  }
18201
18246
  ) : null
18202
18247
  ] })
@@ -18205,7 +18250,7 @@ var ParameterLinkInner = forwardRef17(
18205
18250
  );
18206
18251
 
18207
18252
  // src/components/ParameterInputs/ParameterNameAndPublicIdInput.tsx
18208
- import { Fragment as Fragment15, jsx as jsx107, jsxs as jsxs72 } from "@emotion/react/jsx-runtime";
18253
+ import { Fragment as Fragment15, jsx as jsx108, jsxs as jsxs73 } from "@emotion/react/jsx-runtime";
18209
18254
  var ParameterNameAndPublicIdInput = ({
18210
18255
  id,
18211
18256
  onBlur,
@@ -18231,8 +18276,8 @@ var ParameterNameAndPublicIdInput = ({
18231
18276
  navigator.clipboard.writeText(values[publicIdFieldName]);
18232
18277
  };
18233
18278
  autoFocus == null ? void 0 : autoFocus();
18234
- return /* @__PURE__ */ jsxs72(Fragment15, { children: [
18235
- /* @__PURE__ */ jsx107(
18279
+ return /* @__PURE__ */ jsxs73(Fragment15, { children: [
18280
+ /* @__PURE__ */ jsx108(
18236
18281
  ParameterInput,
18237
18282
  {
18238
18283
  id: nameIdField,
@@ -18251,7 +18296,7 @@ var ParameterNameAndPublicIdInput = ({
18251
18296
  value: values[nameIdField]
18252
18297
  }
18253
18298
  ),
18254
- /* @__PURE__ */ jsx107(
18299
+ /* @__PURE__ */ jsx108(
18255
18300
  ParameterInput,
18256
18301
  {
18257
18302
  id: publicIdFieldName,
@@ -18265,11 +18310,11 @@ var ParameterNameAndPublicIdInput = ({
18265
18310
  caption: !publicIdError ? publicIdCaption : void 0,
18266
18311
  placeholder: publicIdPlaceholderText,
18267
18312
  errorMessage: publicIdError,
18268
- menuItems: /* @__PURE__ */ jsx107(
18313
+ menuItems: /* @__PURE__ */ jsx108(
18269
18314
  MenuItem,
18270
18315
  {
18271
18316
  disabled: !values[publicIdFieldName],
18272
- icon: /* @__PURE__ */ jsx107(Icon, { icon: "path-trim", iconColor: "currentColor" }),
18317
+ icon: /* @__PURE__ */ jsx108(Icon, { icon: "path-trim", iconColor: "currentColor" }),
18273
18318
  onClick: handleCopyPidFieldValue,
18274
18319
  children: "Copy"
18275
18320
  }
@@ -18277,7 +18322,7 @@ var ParameterNameAndPublicIdInput = ({
18277
18322
  value: values[publicIdFieldName]
18278
18323
  }
18279
18324
  ),
18280
- (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx107(Callout, { type: "caution", children: warnOverLength.message }) : null
18325
+ (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx108(Callout, { type: "caution", children: warnOverLength.message }) : null
18281
18326
  ] });
18282
18327
  };
18283
18328
 
@@ -18667,7 +18712,7 @@ var getSelectedNode = (selection) => {
18667
18712
  };
18668
18713
 
18669
18714
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
18670
- import { Fragment as Fragment16, jsx as jsx108, jsxs as jsxs73 } from "@emotion/react/jsx-runtime";
18715
+ import { Fragment as Fragment16, jsx as jsx109, jsxs as jsxs74 } from "@emotion/react/jsx-runtime";
18671
18716
  var isProjectMapLinkValue = (value) => {
18672
18717
  return (value == null ? void 0 : value.type) === "projectMapNode" && Boolean(
18673
18718
  value.nodeId && value.path && value.projectMapId
@@ -19110,8 +19155,8 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
19110
19155
  });
19111
19156
  });
19112
19157
  };
19113
- return /* @__PURE__ */ jsxs73(Fragment16, { children: [
19114
- /* @__PURE__ */ jsx108(
19158
+ return /* @__PURE__ */ jsxs74(Fragment16, { children: [
19159
+ /* @__PURE__ */ jsx109(
19115
19160
  NodeEventPlugin,
19116
19161
  {
19117
19162
  nodeType: LinkNode,
@@ -19121,7 +19166,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
19121
19166
  }
19122
19167
  }
19123
19168
  ),
19124
- linkPopoverState ? /* @__PURE__ */ jsx108(
19169
+ linkPopoverState ? /* @__PURE__ */ jsx109(
19125
19170
  "div",
19126
19171
  {
19127
19172
  css: linkPopover,
@@ -19130,8 +19175,8 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
19130
19175
  top: linkPopoverState.position.y
19131
19176
  },
19132
19177
  ref: linkPopoverElRef,
19133
- children: /* @__PURE__ */ jsxs73("div", { css: linkPopoverContainer, children: [
19134
- linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ jsx108(
19178
+ children: /* @__PURE__ */ jsxs74("div", { css: linkPopoverContainer, children: [
19179
+ linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ jsx109(
19135
19180
  "a",
19136
19181
  {
19137
19182
  href: parsePath(
@@ -19143,7 +19188,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
19143
19188
  children: parsePath(linkPopoverState.node.__link.path)
19144
19189
  }
19145
19190
  ),
19146
- /* @__PURE__ */ jsx108(
19191
+ /* @__PURE__ */ jsx109(
19147
19192
  Button,
19148
19193
  {
19149
19194
  size: "xs",
@@ -19151,7 +19196,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
19151
19196
  onEditLinkNode(linkPopoverState.node);
19152
19197
  },
19153
19198
  buttonType: "ghost",
19154
- children: /* @__PURE__ */ jsx108(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
19199
+ children: /* @__PURE__ */ jsx109(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
19155
19200
  }
19156
19201
  )
19157
19202
  ] })
@@ -19176,7 +19221,7 @@ import {
19176
19221
  INDENT_CONTENT_COMMAND
19177
19222
  } from "lexical";
19178
19223
  import { useEffect as useEffect14 } from "react";
19179
- import { jsx as jsx109 } from "@emotion/react/jsx-runtime";
19224
+ import { jsx as jsx110 } from "@emotion/react/jsx-runtime";
19180
19225
  function isIndentPermitted(maxDepth) {
19181
19226
  const selection = $getSelection2();
19182
19227
  if (!$isRangeSelection2(selection)) {
@@ -19206,7 +19251,7 @@ function ListIndentPlugin({ maxDepth }) {
19206
19251
  COMMAND_PRIORITY_CRITICAL
19207
19252
  );
19208
19253
  }, [editor, maxDepth]);
19209
- return /* @__PURE__ */ jsx109(TabIndentationPlugin, {});
19254
+ return /* @__PURE__ */ jsx110(TabIndentationPlugin, {});
19210
19255
  }
19211
19256
 
19212
19257
  // src/components/ParameterInputs/rich-text/RichTextToolbar.tsx
@@ -19233,7 +19278,7 @@ import {
19233
19278
  SELECTION_CHANGE_COMMAND
19234
19279
  } from "lexical";
19235
19280
  import { useCallback as useCallback9, useEffect as useEffect15, useMemo as useMemo4, useState as useState15 } from "react";
19236
- import { Fragment as Fragment17, jsx as jsx110, jsxs as jsxs74 } from "@emotion/react/jsx-runtime";
19281
+ import { Fragment as Fragment17, jsx as jsx111, jsxs as jsxs75 } from "@emotion/react/jsx-runtime";
19237
19282
  var toolbar = css87`
19238
19283
  background: var(--gray-50);
19239
19284
  border-radius: var(--rounded-base);
@@ -19285,7 +19330,7 @@ var toolbarChevron = css87`
19285
19330
  margin-left: var(--spacing-xs);
19286
19331
  `;
19287
19332
  var RichTextToolbarIcon = ({ icon }) => {
19288
- return /* @__PURE__ */ jsx110(Icon, { icon, css: toolbarIcon, size: "1rem" });
19333
+ return /* @__PURE__ */ jsx111(Icon, { icon, css: toolbarIcon, size: "1rem" });
19289
19334
  };
19290
19335
  var FORMATS_WITH_ICON = /* @__PURE__ */ new Map([
19291
19336
  ["bold", "format-bold"],
@@ -19394,15 +19439,15 @@ var RichTextToolbar = ({ config, customControls }) => {
19394
19439
  });
19395
19440
  });
19396
19441
  }, [editor, updateToolbar]);
19397
- return /* @__PURE__ */ jsxs74("div", { css: toolbar, children: [
19398
- /* @__PURE__ */ jsxs74(
19442
+ return /* @__PURE__ */ jsxs75("div", { css: toolbar, children: [
19443
+ /* @__PURE__ */ jsxs75(
19399
19444
  Menu,
19400
19445
  {
19401
19446
  menuLabel: "Elements",
19402
- menuTrigger: /* @__PURE__ */ jsxs74("button", { css: richTextToolbarButton, title: "Text styles", children: [
19447
+ menuTrigger: /* @__PURE__ */ jsxs75("button", { css: richTextToolbarButton, title: "Text styles", children: [
19403
19448
  visibleTextualElements.some((element) => element.type === activeElement) ? getLabelForElement(activeElement) : getLabelForElement("paragraph"),
19404
19449
  " ",
19405
- /* @__PURE__ */ jsx110(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
19450
+ /* @__PURE__ */ jsx111(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
19406
19451
  ] }),
19407
19452
  placement: "bottom-start",
19408
19453
  children: [
@@ -19412,7 +19457,7 @@ var RichTextToolbar = ({ config, customControls }) => {
19412
19457
  type: "paragraph"
19413
19458
  },
19414
19459
  ...visibleTextualElements
19415
- ].map((element) => /* @__PURE__ */ jsx110(
19460
+ ].map((element) => /* @__PURE__ */ jsx111(
19416
19461
  MenuItem,
19417
19462
  {
19418
19463
  onClick: () => {
@@ -19422,12 +19467,12 @@ var RichTextToolbar = ({ config, customControls }) => {
19422
19467
  },
19423
19468
  element.type
19424
19469
  )),
19425
- visibleTextualElements.length === 0 ? /* @__PURE__ */ jsx110(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
19470
+ visibleTextualElements.length === 0 ? /* @__PURE__ */ jsx111(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
19426
19471
  ]
19427
19472
  }
19428
19473
  ),
19429
- visibleFormatsWithIcon.length > 0 || visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsxs74("div", { css: toolbarGroup, children: [
19430
- visibleFormatsWithIcon.map((format) => /* @__PURE__ */ jsx110(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ jsx110(
19474
+ visibleFormatsWithIcon.length > 0 || visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsxs75("div", { css: toolbarGroup, children: [
19475
+ visibleFormatsWithIcon.map((format) => /* @__PURE__ */ jsx111(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ jsx111(
19431
19476
  "button",
19432
19477
  {
19433
19478
  onClick: () => {
@@ -19437,16 +19482,16 @@ var RichTextToolbar = ({ config, customControls }) => {
19437
19482
  richTextToolbarButton,
19438
19483
  activeFormats.includes(format.type) ? richTextToolbarButtonActive : null
19439
19484
  ],
19440
- children: /* @__PURE__ */ jsx110(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
19485
+ children: /* @__PURE__ */ jsx111(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
19441
19486
  }
19442
19487
  ) }, format.type)),
19443
- visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsx110(
19488
+ visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsx111(
19444
19489
  Menu,
19445
19490
  {
19446
19491
  menuLabel: "Alternative text styles",
19447
- menuTrigger: /* @__PURE__ */ jsx110("button", { css: richTextToolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ jsx110(Icon, { icon: "more-alt", css: toolbarIcon }) }),
19492
+ menuTrigger: /* @__PURE__ */ jsx111("button", { css: richTextToolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ jsx111(Icon, { icon: "more-alt", css: toolbarIcon }) }),
19448
19493
  placement: "bottom-start",
19449
- children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ jsx110(
19494
+ children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ jsx111(
19450
19495
  MenuItem,
19451
19496
  {
19452
19497
  onClick: () => {
@@ -19459,19 +19504,19 @@ var RichTextToolbar = ({ config, customControls }) => {
19459
19504
  }
19460
19505
  ) : null
19461
19506
  ] }) : null,
19462
- visibleElementsWithIcons.size > 0 ? /* @__PURE__ */ jsxs74("div", { css: toolbarGroup, children: [
19463
- linkElementVisible ? /* @__PURE__ */ jsx110(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ jsx110(
19507
+ visibleElementsWithIcons.size > 0 ? /* @__PURE__ */ jsxs75("div", { css: toolbarGroup, children: [
19508
+ linkElementVisible ? /* @__PURE__ */ jsx111(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ jsx111(
19464
19509
  "button",
19465
19510
  {
19466
19511
  onClick: () => {
19467
19512
  isLink ? editor.dispatchCommand(REMOVE_LINK_NODE_COMMAND, {}) : editor.dispatchCommand(OPEN_LINK_NODE_MODAL_COMMAND, {});
19468
19513
  },
19469
19514
  css: [richTextToolbarButton, isLink ? richTextToolbarButtonActive : null],
19470
- children: /* @__PURE__ */ jsx110(RichTextToolbarIcon, { icon: "link" })
19515
+ children: /* @__PURE__ */ jsx111(RichTextToolbarIcon, { icon: "link" })
19471
19516
  }
19472
19517
  ) }) : null,
19473
- visibleLists.size > 0 ? /* @__PURE__ */ jsxs74(Fragment17, { children: [
19474
- visibleLists.has("unorderedList") ? /* @__PURE__ */ jsx110(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ jsx110(
19518
+ visibleLists.size > 0 ? /* @__PURE__ */ jsxs75(Fragment17, { children: [
19519
+ visibleLists.has("unorderedList") ? /* @__PURE__ */ jsx111(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ jsx111(
19475
19520
  "button",
19476
19521
  {
19477
19522
  onClick: () => {
@@ -19481,10 +19526,10 @@ var RichTextToolbar = ({ config, customControls }) => {
19481
19526
  richTextToolbarButton,
19482
19527
  activeElement === "unorderedList" ? richTextToolbarButtonActive : null
19483
19528
  ],
19484
- children: /* @__PURE__ */ jsx110(RichTextToolbarIcon, { icon: "layout-list" })
19529
+ children: /* @__PURE__ */ jsx111(RichTextToolbarIcon, { icon: "layout-list" })
19485
19530
  }
19486
19531
  ) }) : null,
19487
- visibleLists.has("orderedList") ? /* @__PURE__ */ jsx110(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ jsx110(
19532
+ visibleLists.has("orderedList") ? /* @__PURE__ */ jsx111(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ jsx111(
19488
19533
  "button",
19489
19534
  {
19490
19535
  onClick: () => {
@@ -19494,32 +19539,32 @@ var RichTextToolbar = ({ config, customControls }) => {
19494
19539
  richTextToolbarButton,
19495
19540
  activeElement === "orderedList" ? richTextToolbarButtonActive : null
19496
19541
  ],
19497
- children: /* @__PURE__ */ jsx110(RichTextToolbarIcon, { icon: "layout-list-numbered" })
19542
+ children: /* @__PURE__ */ jsx111(RichTextToolbarIcon, { icon: "layout-list-numbered" })
19498
19543
  }
19499
19544
  ) }) : null
19500
19545
  ] }) : null,
19501
- quoteElementVisible ? /* @__PURE__ */ jsx110(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ jsx110(
19546
+ quoteElementVisible ? /* @__PURE__ */ jsx111(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ jsx111(
19502
19547
  "button",
19503
19548
  {
19504
19549
  onClick: () => {
19505
19550
  activeElement === "quote" ? onSelectElement("paragraph") : onSelectElement("quote");
19506
19551
  },
19507
19552
  css: [richTextToolbarButton, activeElement === "quote" ? richTextToolbarButtonActive : null],
19508
- children: /* @__PURE__ */ jsx110(RichTextToolbarIcon, { icon: "quote" })
19553
+ children: /* @__PURE__ */ jsx111(RichTextToolbarIcon, { icon: "quote" })
19509
19554
  }
19510
19555
  ) }) : null,
19511
- codeElementVisible ? /* @__PURE__ */ jsx110(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ jsx110(
19556
+ codeElementVisible ? /* @__PURE__ */ jsx111(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ jsx111(
19512
19557
  "button",
19513
19558
  {
19514
19559
  onClick: () => {
19515
19560
  activeElement === "code" ? onSelectElement("paragraph") : onSelectElement("code");
19516
19561
  },
19517
19562
  css: [richTextToolbarButton, activeElement === "code" ? richTextToolbarButtonActive : null],
19518
- children: /* @__PURE__ */ jsx110(RichTextToolbarIcon, { icon: "code-slash" })
19563
+ children: /* @__PURE__ */ jsx111(RichTextToolbarIcon, { icon: "code-slash" })
19519
19564
  }
19520
19565
  ) }) : null
19521
19566
  ] }) : null,
19522
- customControls ? /* @__PURE__ */ jsx110("div", { css: toolbarGroup, children: customControls }) : null
19567
+ customControls ? /* @__PURE__ */ jsx111("div", { css: toolbarGroup, children: customControls }) : null
19523
19568
  ] });
19524
19569
  };
19525
19570
  var RichTextToolbar_default = RichTextToolbar;
@@ -19633,7 +19678,7 @@ var useRichTextToolbarState = ({ config }) => {
19633
19678
  };
19634
19679
 
19635
19680
  // src/components/ParameterInputs/ParameterRichText.tsx
19636
- import { Fragment as Fragment18, jsx as jsx111, jsxs as jsxs75 } from "@emotion/react/jsx-runtime";
19681
+ import { Fragment as Fragment18, jsx as jsx112, jsxs as jsxs76 } from "@emotion/react/jsx-runtime";
19637
19682
  var ParameterRichText = ({
19638
19683
  label,
19639
19684
  labelLeadingIcon,
@@ -19658,7 +19703,7 @@ var ParameterRichText = ({
19658
19703
  variables,
19659
19704
  customControls
19660
19705
  }) => {
19661
- return /* @__PURE__ */ jsxs75(
19706
+ return /* @__PURE__ */ jsxs76(
19662
19707
  ParameterShell,
19663
19708
  {
19664
19709
  "data-testid": "parameter-richtext",
@@ -19672,7 +19717,7 @@ var ParameterRichText = ({
19672
19717
  captionTestId,
19673
19718
  menuItems,
19674
19719
  children: [
19675
- /* @__PURE__ */ jsx111(
19720
+ /* @__PURE__ */ jsx112(
19676
19721
  ParameterRichTextInner,
19677
19722
  {
19678
19723
  value,
@@ -19690,7 +19735,7 @@ var ParameterRichText = ({
19690
19735
  children
19691
19736
  }
19692
19737
  ),
19693
- menuItems ? /* @__PURE__ */ jsx111(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx111(Fragment18, { children: menuItems }) }) : null
19738
+ menuItems ? /* @__PURE__ */ jsx112(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx112(Fragment18, { children: menuItems }) }) : null
19694
19739
  ]
19695
19740
  }
19696
19741
  );
@@ -19801,8 +19846,8 @@ var ParameterRichTextInner = ({
19801
19846
  },
19802
19847
  editable: !readOnly
19803
19848
  };
19804
- return /* @__PURE__ */ jsxs75(Fragment18, { children: [
19805
- /* @__PURE__ */ jsx111("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ jsx111(LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ jsx111(
19849
+ return /* @__PURE__ */ jsxs76(Fragment18, { children: [
19850
+ /* @__PURE__ */ jsx112("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ jsx112(LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ jsx112(
19806
19851
  RichText,
19807
19852
  {
19808
19853
  onChange,
@@ -19861,20 +19906,20 @@ var RichText = ({
19861
19906
  useEffect16(() => {
19862
19907
  editor.setEditable(!readOnly);
19863
19908
  }, [editor, readOnly]);
19864
- return /* @__PURE__ */ jsxs75(Fragment18, { children: [
19865
- readOnly ? null : /* @__PURE__ */ jsx111(RichTextToolbar_default, { config, customControls }),
19866
- /* @__PURE__ */ jsxs75("div", { css: editorContainer, ref: editorContainerRef, "data-testid": "value-container", children: [
19867
- /* @__PURE__ */ jsx111(
19909
+ return /* @__PURE__ */ jsxs76(Fragment18, { children: [
19910
+ readOnly ? null : /* @__PURE__ */ jsx112(RichTextToolbar_default, { config, customControls }),
19911
+ /* @__PURE__ */ jsxs76("div", { css: editorContainer, ref: editorContainerRef, "data-testid": "value-container", children: [
19912
+ /* @__PURE__ */ jsx112(
19868
19913
  RichTextPlugin,
19869
19914
  {
19870
- contentEditable: /* @__PURE__ */ jsx111(ContentEditable, { css: editorInput, className: editorInputClassName }),
19871
- placeholder: /* @__PURE__ */ jsx111("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
19915
+ contentEditable: /* @__PURE__ */ jsx112(ContentEditable, { css: editorInput, className: editorInputClassName }),
19916
+ placeholder: /* @__PURE__ */ jsx112("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
19872
19917
  ErrorBoundary: LexicalErrorBoundary
19873
19918
  }
19874
19919
  ),
19875
- /* @__PURE__ */ jsx111(ListPlugin, {}),
19876
- readOnly ? null : /* @__PURE__ */ jsx111(HistoryPlugin, {}),
19877
- /* @__PURE__ */ jsx111(
19920
+ /* @__PURE__ */ jsx112(ListPlugin, {}),
19921
+ readOnly ? null : /* @__PURE__ */ jsx112(HistoryPlugin, {}),
19922
+ /* @__PURE__ */ jsx112(
19878
19923
  LinkNodePlugin,
19879
19924
  {
19880
19925
  onConnectLink: onConnectLink ? onConnectLink : () => Promise.resolve(),
@@ -19884,27 +19929,27 @@ var RichText = ({
19884
19929
  } : void 0
19885
19930
  }
19886
19931
  ),
19887
- /* @__PURE__ */ jsx111(ListIndentPlugin, { maxDepth: 4 }),
19888
- /* @__PURE__ */ jsx111(DisableStylesPlugin, {}),
19889
- /* @__PURE__ */ jsx111(MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS }),
19890
- /* @__PURE__ */ jsx111(Fragment18, { children })
19932
+ /* @__PURE__ */ jsx112(ListIndentPlugin, { maxDepth: 4 }),
19933
+ /* @__PURE__ */ jsx112(DisableStylesPlugin, {}),
19934
+ /* @__PURE__ */ jsx112(MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS }),
19935
+ /* @__PURE__ */ jsx112(Fragment18, { children })
19891
19936
  ] })
19892
19937
  ] });
19893
19938
  };
19894
19939
 
19895
19940
  // src/components/ParameterInputs/ParameterSelect.tsx
19896
- import { forwardRef as forwardRef18 } from "react";
19897
- import { jsx as jsx112, jsxs as jsxs76 } from "@emotion/react/jsx-runtime";
19898
- var ParameterSelect = forwardRef18(
19941
+ import { forwardRef as forwardRef19 } from "react";
19942
+ import { jsx as jsx113, jsxs as jsxs77 } from "@emotion/react/jsx-runtime";
19943
+ var ParameterSelect = forwardRef19(
19899
19944
  ({ defaultOption, options, ...props }, ref) => {
19900
19945
  const { shellProps, innerProps } = extractParameterProps(props);
19901
- return /* @__PURE__ */ jsx112(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx112(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
19946
+ return /* @__PURE__ */ jsx113(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx113(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
19902
19947
  }
19903
19948
  );
19904
- var ParameterSelectInner = forwardRef18(
19949
+ var ParameterSelectInner = forwardRef19(
19905
19950
  ({ defaultOption, options, ...props }, ref) => {
19906
19951
  const { id, label, hiddenLabel } = useParameterShell();
19907
- return /* @__PURE__ */ jsxs76(
19952
+ return /* @__PURE__ */ jsxs77(
19908
19953
  "select",
19909
19954
  {
19910
19955
  css: [input3, selectInput],
@@ -19913,10 +19958,10 @@ var ParameterSelectInner = forwardRef18(
19913
19958
  ref,
19914
19959
  ...props,
19915
19960
  children: [
19916
- defaultOption ? /* @__PURE__ */ jsx112("option", { value: "", children: defaultOption }) : null,
19961
+ defaultOption ? /* @__PURE__ */ jsx113("option", { value: "", children: defaultOption }) : null,
19917
19962
  options.map((option) => {
19918
19963
  var _a;
19919
- return /* @__PURE__ */ jsx112("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
19964
+ return /* @__PURE__ */ jsx113("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
19920
19965
  })
19921
19966
  ]
19922
19967
  }
@@ -19925,15 +19970,15 @@ var ParameterSelectInner = forwardRef18(
19925
19970
  );
19926
19971
 
19927
19972
  // src/components/ParameterInputs/ParameterTextarea.tsx
19928
- import { forwardRef as forwardRef19 } from "react";
19929
- import { jsx as jsx113 } from "@emotion/react/jsx-runtime";
19930
- var ParameterTextarea = forwardRef19((props, ref) => {
19973
+ import { forwardRef as forwardRef20 } from "react";
19974
+ import { jsx as jsx114 } from "@emotion/react/jsx-runtime";
19975
+ var ParameterTextarea = forwardRef20((props, ref) => {
19931
19976
  const { shellProps, innerProps } = extractParameterProps(props);
19932
- return /* @__PURE__ */ jsx113(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx113(ParameterTextareaInner, { ref, ...innerProps }) });
19977
+ return /* @__PURE__ */ jsx114(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx114(ParameterTextareaInner, { ref, ...innerProps }) });
19933
19978
  });
19934
- var ParameterTextareaInner = forwardRef19(({ ...props }, ref) => {
19979
+ var ParameterTextareaInner = forwardRef20(({ ...props }, ref) => {
19935
19980
  const { id, label, hiddenLabel } = useParameterShell();
19936
- return /* @__PURE__ */ jsx113(
19981
+ return /* @__PURE__ */ jsx114(
19937
19982
  "textarea",
19938
19983
  {
19939
19984
  css: [input3, textarea2],
@@ -19946,18 +19991,18 @@ var ParameterTextareaInner = forwardRef19(({ ...props }, ref) => {
19946
19991
  });
19947
19992
 
19948
19993
  // src/components/ParameterInputs/ParameterToggle.tsx
19949
- import { forwardRef as forwardRef20 } from "react";
19950
- import { jsx as jsx114, jsxs as jsxs77 } from "@emotion/react/jsx-runtime";
19951
- var ParameterToggle = forwardRef20((props, ref) => {
19994
+ import { forwardRef as forwardRef21 } from "react";
19995
+ import { jsx as jsx115, jsxs as jsxs78 } from "@emotion/react/jsx-runtime";
19996
+ var ParameterToggle = forwardRef21((props, ref) => {
19952
19997
  const { shellProps, innerProps } = extractParameterProps(props);
19953
- return /* @__PURE__ */ jsx114(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx114(ParameterToggleInner, { ref, ...innerProps }) });
19998
+ return /* @__PURE__ */ jsx115(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx115(ParameterToggleInner, { ref, ...innerProps }) });
19954
19999
  });
19955
- var ParameterToggleInner = forwardRef20(
20000
+ var ParameterToggleInner = forwardRef21(
19956
20001
  ({ children, ...props }, ref) => {
19957
20002
  const { id, label } = useParameterShell();
19958
- return /* @__PURE__ */ jsxs77("label", { css: inputToggleLabel2, children: [
19959
- /* @__PURE__ */ jsx114("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
19960
- /* @__PURE__ */ jsx114("span", { css: inlineLabel2, children: label }),
20003
+ return /* @__PURE__ */ jsxs78("label", { css: inputToggleLabel2, children: [
20004
+ /* @__PURE__ */ jsx115("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
20005
+ /* @__PURE__ */ jsx115("span", { css: inlineLabel2, children: label }),
19961
20006
  children
19962
20007
  ] });
19963
20008
  }
@@ -20018,7 +20063,7 @@ var bar = css89`
20018
20063
  `;
20019
20064
 
20020
20065
  // src/components/ProgressBar/ProgressBar.tsx
20021
- import { jsx as jsx115 } from "@emotion/react/jsx-runtime";
20066
+ import { jsx as jsx116 } from "@emotion/react/jsx-runtime";
20022
20067
  function ProgressBar({
20023
20068
  current,
20024
20069
  max,
@@ -20028,7 +20073,7 @@ function ProgressBar({
20028
20073
  }) {
20029
20074
  const valueNow = Math.min(current, max);
20030
20075
  const valuePercentage = max > 0 ? Math.ceil(100 / max * valueNow) : 0;
20031
- return /* @__PURE__ */ jsx115(
20076
+ return /* @__PURE__ */ jsx116(
20032
20077
  "div",
20033
20078
  {
20034
20079
  css: container3,
@@ -20039,7 +20084,7 @@ function ProgressBar({
20039
20084
  "aria-valuemax": max,
20040
20085
  "aria-valuenow": valueNow,
20041
20086
  ...props,
20042
- children: /* @__PURE__ */ jsx115(
20087
+ children: /* @__PURE__ */ jsx116(
20043
20088
  "div",
20044
20089
  {
20045
20090
  css: [
@@ -20079,7 +20124,7 @@ var progressListItemStyles = css90`
20079
20124
  `;
20080
20125
 
20081
20126
  // src/components/ProgressList/ProgressList.tsx
20082
- import { jsx as jsx116, jsxs as jsxs78 } from "@emotion/react/jsx-runtime";
20127
+ import { jsx as jsx117, jsxs as jsxs79 } from "@emotion/react/jsx-runtime";
20083
20128
  var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
20084
20129
  const itemsWithStatus = useMemo5(() => {
20085
20130
  const indexOfInProgressItem = items.findIndex(({ id }) => id === inProgressId);
@@ -20093,8 +20138,8 @@ var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
20093
20138
  return { ...item, status };
20094
20139
  });
20095
20140
  }, [items, inProgressId]);
20096
- return /* @__PURE__ */ jsx116("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
20097
- return /* @__PURE__ */ jsx116(
20141
+ return /* @__PURE__ */ jsx117("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
20142
+ return /* @__PURE__ */ jsx117(
20098
20143
  ProgressListItem,
20099
20144
  {
20100
20145
  status,
@@ -20152,11 +20197,11 @@ var ProgressListItem = ({
20152
20197
  };
20153
20198
  return colorPerStatus[status];
20154
20199
  }, [status, error, errorLevel]);
20155
- return /* @__PURE__ */ jsxs78("li", { css: [progressListItemStyles, statusStyles], children: [
20156
- /* @__PURE__ */ jsx116(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ jsx116("div", { children: /* @__PURE__ */ jsx116(Icon, { icon, size: 20, iconColor: "currentColor" }) }) }),
20157
- /* @__PURE__ */ jsxs78("div", { children: [
20200
+ return /* @__PURE__ */ jsxs79("li", { css: [progressListItemStyles, statusStyles], children: [
20201
+ /* @__PURE__ */ jsx117(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ jsx117("div", { children: /* @__PURE__ */ jsx117(Icon, { icon, size: 20, iconColor: "currentColor" }) }) }),
20202
+ /* @__PURE__ */ jsxs79("div", { children: [
20158
20203
  children,
20159
- /* @__PURE__ */ jsx116("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
20204
+ /* @__PURE__ */ jsx117("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
20160
20205
  ] })
20161
20206
  ] });
20162
20207
  };
@@ -20444,11 +20489,8 @@ var ConditionalInputRow = css92`
20444
20489
  }
20445
20490
  `;
20446
20491
  var SearchInput = css92`
20447
- ${input("nowrap")}
20448
- border-radius: var(--rounded-full);
20449
- padding: var(--spacing-sm) var(--spacing-base);
20450
- font-size: var(--fs-sm);
20451
- padding-right: var(--spacing-2xl);
20492
+ max-height: 40px;
20493
+ min-height: unset;
20452
20494
  `;
20453
20495
  var FilterButton = css92`
20454
20496
  align-items: center;
@@ -20457,8 +20499,10 @@ var FilterButton = css92`
20457
20499
  border-radius: var(--rounded-full);
20458
20500
  color: var(--typography-base);
20459
20501
  display: flex;
20502
+ font-size: var(--fs-sm);
20460
20503
  gap: var(--spacing-sm);
20461
20504
  padding: var(--spacing-sm) var(--spacing-base);
20505
+ max-height: 40px;
20462
20506
  transition: color var(--duration-fast) var(--timing-ease-out),
20463
20507
  background-color var(--duration-fast) var(--timing-ease-out),
20464
20508
  border-color var(--duration-fast) var(--timing-ease-out),
@@ -20597,15 +20641,16 @@ var SortFilterInputRow = css92`
20597
20641
  `;
20598
20642
 
20599
20643
  // src/components/SearchAndFilter/FilterButton.tsx
20600
- import { jsx as jsx117, jsxs as jsxs79 } from "@emotion/react/jsx-runtime";
20644
+ import { jsx as jsx118, jsxs as jsxs80 } from "@emotion/react/jsx-runtime";
20601
20645
  var FilterButton2 = ({
20602
20646
  text = "Filters",
20603
20647
  icon = "filter-add",
20604
20648
  filterCount,
20605
20649
  hasSelectedValue,
20650
+ dataTestId,
20606
20651
  ...props
20607
20652
  }) => {
20608
- return /* @__PURE__ */ jsxs79(
20653
+ return /* @__PURE__ */ jsxs80(
20609
20654
  "button",
20610
20655
  {
20611
20656
  type: "button",
@@ -20615,11 +20660,11 @@ var FilterButton2 = ({
20615
20660
  filterCount ? [FilterButtonWithOptions, FilterButtonSelected] : void 0
20616
20661
  ],
20617
20662
  ...props,
20618
- "data-testid": "filters-button",
20663
+ "data-testid": dataTestId,
20619
20664
  children: [
20620
- /* @__PURE__ */ jsx117(Icon, { icon, iconColor: "currentColor", size: "1rem" }),
20621
- /* @__PURE__ */ jsx117("span", { css: FilterButtonText, children: text }),
20622
- filterCount ? /* @__PURE__ */ jsx117(Counter, { count: filterCount, bgColor: "var(--white)" }) : null
20665
+ /* @__PURE__ */ jsx118(Icon, { icon, iconColor: "currentColor", size: "1rem" }),
20666
+ /* @__PURE__ */ jsx118("span", { css: FilterButtonText, children: text }),
20667
+ filterCount ? /* @__PURE__ */ jsx118(Counter, { count: filterCount, bgColor: "var(--white)" }) : null
20623
20668
  ]
20624
20669
  }
20625
20670
  );
@@ -20639,7 +20684,7 @@ import {
20639
20684
  useMemo as useMemo6,
20640
20685
  useState as useState16
20641
20686
  } from "react";
20642
- import { jsx as jsx118 } from "@emotion/react/jsx-runtime";
20687
+ import { jsx as jsx119 } from "@emotion/react/jsx-runtime";
20643
20688
  var SearchAndFilterContext = createContext6({
20644
20689
  searchTerm: "",
20645
20690
  setSearchTerm: () => {
@@ -20673,6 +20718,7 @@ var SearchAndFilterProvider = ({
20673
20718
  onSearchChange,
20674
20719
  onChange,
20675
20720
  onSortChange,
20721
+ resetFilterValues = [],
20676
20722
  totalResults,
20677
20723
  children
20678
20724
  }) => {
@@ -20702,8 +20748,8 @@ var SearchAndFilterProvider = ({
20702
20748
  onChange([...filters, { field: "", operator: "", value: "" }]);
20703
20749
  }, [filters, onChange]);
20704
20750
  const handleResetFilters = useCallback10(() => {
20705
- onChange([]);
20706
- }, [onChange]);
20751
+ onChange(resetFilterValues);
20752
+ }, [onChange, resetFilterValues]);
20707
20753
  const handleDeleteFilter = useCallback10(
20708
20754
  (index) => {
20709
20755
  const remainingFilters = filters.filter((_, i) => i !== index);
@@ -20730,7 +20776,7 @@ var SearchAndFilterProvider = ({
20730
20776
  };
20731
20777
  }
20732
20778
  }, [filterVisibility]);
20733
- return /* @__PURE__ */ jsx118(
20779
+ return /* @__PURE__ */ jsx119(
20734
20780
  SearchAndFilterContext.Provider,
20735
20781
  {
20736
20782
  value: {
@@ -20750,7 +20796,7 @@ var SearchAndFilterProvider = ({
20750
20796
  validFilterQuery,
20751
20797
  totalResults
20752
20798
  },
20753
- children: /* @__PURE__ */ jsx118(VerticalRhythm, { children })
20799
+ children: /* @__PURE__ */ jsx119(VerticalRhythm, { children })
20754
20800
  }
20755
20801
  );
20756
20802
  };
@@ -20760,7 +20806,7 @@ var useSearchAndFilter = () => {
20760
20806
  };
20761
20807
 
20762
20808
  // src/components/SearchAndFilter/FilterControls.tsx
20763
- import { Fragment as Fragment19, jsx as jsx119, jsxs as jsxs80 } from "@emotion/react/jsx-runtime";
20809
+ import { Fragment as Fragment19, jsx as jsx120, jsxs as jsxs81 } from "@emotion/react/jsx-runtime";
20764
20810
  var FilterControls = ({
20765
20811
  children,
20766
20812
  defaultSortByValue,
@@ -20811,8 +20857,8 @@ var FilterControls = ({
20811
20857
  setUserHasChangedSortByValue(true);
20812
20858
  }
20813
20859
  }, [initialSortValue, sortByValue]);
20814
- return /* @__PURE__ */ jsxs80(Fragment19, { children: [
20815
- /* @__PURE__ */ jsx119(
20860
+ return /* @__PURE__ */ jsxs81(Fragment19, { children: [
20861
+ /* @__PURE__ */ jsx120(
20816
20862
  FilterButton2,
20817
20863
  {
20818
20864
  "aria-controls": "search-and-filter-options",
@@ -20820,10 +20866,11 @@ var FilterControls = ({
20820
20866
  "aria-haspopup": "true",
20821
20867
  "aria-expanded": filterVisibility === "filters",
20822
20868
  filterCount: validFilterQuery == null ? void 0 : validFilterQuery.length,
20823
- onClick: () => handleFilterToggle("filters")
20869
+ onClick: () => handleFilterToggle("filters"),
20870
+ dataTestId: "filters-button"
20824
20871
  }
20825
20872
  ),
20826
- /* @__PURE__ */ jsx119(
20873
+ /* @__PURE__ */ jsx120(
20827
20874
  FilterButton2,
20828
20875
  {
20829
20876
  "aria-controls": "search-and-filter-sortBy",
@@ -20834,17 +20881,18 @@ var FilterControls = ({
20834
20881
  "aria-expanded": filterVisibility === "sort",
20835
20882
  hasSelectedValue: sortByValue !== "",
20836
20883
  onClick: () => handleFilterToggle("sort"),
20837
- "data-testid": "sort-by-dropdown"
20884
+ dataTestId: "sort-by-button"
20838
20885
  }
20839
20886
  ),
20840
- hideSearchInput ? null : /* @__PURE__ */ jsx119(
20887
+ hideSearchInput ? null : /* @__PURE__ */ jsx120(
20841
20888
  InputKeywordSearch,
20842
20889
  {
20843
20890
  placeholder: "Search...",
20844
20891
  onSearchTextChanged: (e) => setLocaleSearchTerm(e),
20845
20892
  value: localeSearchTerm,
20846
20893
  compact: true,
20847
- rounded: true
20894
+ rounded: true,
20895
+ css: SearchInput
20848
20896
  }
20849
20897
  ),
20850
20898
  children
@@ -20938,7 +20986,7 @@ var StatusDeleted = css93`
20938
20986
  `;
20939
20987
 
20940
20988
  // src/components/Validation/StatusBullet.tsx
20941
- import { jsx as jsx120 } from "@emotion/react/jsx-runtime";
20989
+ import { jsx as jsx121 } from "@emotion/react/jsx-runtime";
20942
20990
  var StatusBullet = ({
20943
20991
  status,
20944
20992
  hideText = false,
@@ -20958,7 +21006,7 @@ var StatusBullet = ({
20958
21006
  Deleted: StatusDeleted
20959
21007
  };
20960
21008
  const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
20961
- return /* @__PURE__ */ jsx120(
21009
+ return /* @__PURE__ */ jsx121(
20962
21010
  "span",
20963
21011
  {
20964
21012
  role: "status",
@@ -20971,7 +21019,7 @@ var StatusBullet = ({
20971
21019
  };
20972
21020
 
20973
21021
  // src/components/SearchAndFilter/FilterEditor.tsx
20974
- import { Fragment as Fragment20, jsx as jsx121, jsxs as jsxs81 } from "@emotion/react/jsx-runtime";
21022
+ import { Fragment as Fragment20, jsx as jsx122, jsxs as jsxs82 } from "@emotion/react/jsx-runtime";
20975
21023
  var readOnlyAttributes = {
20976
21024
  isSearchable: false,
20977
21025
  menuIsOpen: false,
@@ -20986,7 +21034,7 @@ var FilterMultiChoiceEditor = ({
20986
21034
  ...props
20987
21035
  }) => {
20988
21036
  const readOnlyProps = readOnly ? readOnlyAttributes : {};
20989
- return /* @__PURE__ */ jsx121("div", { "data-testid": valueTestId, children: /* @__PURE__ */ jsx121(
21037
+ return /* @__PURE__ */ jsx122("div", { "data-testid": valueTestId, children: /* @__PURE__ */ jsx122(
20990
21038
  InputComboBox,
20991
21039
  {
20992
21040
  ...props,
@@ -21022,7 +21070,7 @@ var FilterSingleChoiceEditor = ({
21022
21070
  valueTestId
21023
21071
  }) => {
21024
21072
  const readOnlyProps = readOnly ? readOnlyAttributes : {};
21025
- return /* @__PURE__ */ jsx121("div", { "data-testid": valueTestId, children: /* @__PURE__ */ jsx121(
21073
+ return /* @__PURE__ */ jsx122("div", { "data-testid": valueTestId, children: /* @__PURE__ */ jsx122(
21026
21074
  InputComboBox,
21027
21075
  {
21028
21076
  placeholder: "Type to search...",
@@ -21048,7 +21096,7 @@ var FilterSingleChoiceEditor = ({
21048
21096
  ) });
21049
21097
  };
21050
21098
  var CustomOptions = ({ label, value }) => {
21051
- return /* @__PURE__ */ jsx121(StatusBullet, { status: label, message: value });
21099
+ return /* @__PURE__ */ jsx122(StatusBullet, { status: label, message: value });
21052
21100
  };
21053
21101
  var StatusMultiEditor = ({
21054
21102
  options,
@@ -21059,7 +21107,7 @@ var StatusMultiEditor = ({
21059
21107
  valueTestId
21060
21108
  }) => {
21061
21109
  const readOnlyProps = readOnly ? readOnlyAttributes : {};
21062
- return /* @__PURE__ */ jsx121("div", { "data-testid": valueTestId, children: /* @__PURE__ */ jsx121(
21110
+ return /* @__PURE__ */ jsx122("div", { "data-testid": valueTestId, children: /* @__PURE__ */ jsx122(
21063
21111
  InputComboBox,
21064
21112
  {
21065
21113
  options,
@@ -21092,7 +21140,7 @@ var StatusSingleEditor = ({
21092
21140
  valueTestId
21093
21141
  }) => {
21094
21142
  const readOnlyProps = readOnly ? readOnlyAttributes : {};
21095
- return /* @__PURE__ */ jsx121("div", { "data-testid": valueTestId, children: /* @__PURE__ */ jsx121(
21143
+ return /* @__PURE__ */ jsx122("div", { "data-testid": valueTestId, children: /* @__PURE__ */ jsx122(
21096
21144
  InputComboBox,
21097
21145
  {
21098
21146
  options,
@@ -21117,7 +21165,7 @@ var StatusSingleEditor = ({
21117
21165
  };
21118
21166
  var TextEditor = ({ onChange, ariaLabel, value, readOnly, valueTestId }) => {
21119
21167
  useDebounce3(() => onChange, 500, [value]);
21120
- return /* @__PURE__ */ jsx121(
21168
+ return /* @__PURE__ */ jsx122(
21121
21169
  Input,
21122
21170
  {
21123
21171
  showLabel: false,
@@ -21160,9 +21208,9 @@ var NumberRangeEditor = ({
21160
21208
  setError("");
21161
21209
  onChange([minValue, maxValue]);
21162
21210
  }, [maxValue, minValue, setError]);
21163
- return /* @__PURE__ */ jsxs81(Fragment20, { children: [
21164
- /* @__PURE__ */ jsxs81("div", { css: twoColumnGrid, "data-testid": valueTestId, children: [
21165
- /* @__PURE__ */ jsx121(
21211
+ return /* @__PURE__ */ jsxs82(Fragment20, { children: [
21212
+ /* @__PURE__ */ jsxs82("div", { css: twoColumnGrid, "data-testid": valueTestId, children: [
21213
+ /* @__PURE__ */ jsx122(
21166
21214
  Input,
21167
21215
  {
21168
21216
  label: `${ariaLabel}-min`,
@@ -21177,7 +21225,7 @@ var NumberRangeEditor = ({
21177
21225
  readOnly
21178
21226
  }
21179
21227
  ),
21180
- /* @__PURE__ */ jsx121(
21228
+ /* @__PURE__ */ jsx122(
21181
21229
  Input,
21182
21230
  {
21183
21231
  type: "number",
@@ -21193,7 +21241,7 @@ var NumberRangeEditor = ({
21193
21241
  }
21194
21242
  )
21195
21243
  ] }),
21196
- /* @__PURE__ */ jsx121(ErrorContainer, { errorMessage: error })
21244
+ /* @__PURE__ */ jsx122(ErrorContainer, { errorMessage: error })
21197
21245
  ] });
21198
21246
  };
21199
21247
  var NumberEditor = ({
@@ -21204,7 +21252,7 @@ var NumberEditor = ({
21204
21252
  readOnly,
21205
21253
  valueTestId
21206
21254
  }) => {
21207
- return /* @__PURE__ */ jsx121(
21255
+ return /* @__PURE__ */ jsx122(
21208
21256
  Input,
21209
21257
  {
21210
21258
  label: ariaLabel,
@@ -21227,7 +21275,7 @@ var DateEditor = ({
21227
21275
  readOnly,
21228
21276
  valueTestId
21229
21277
  }) => {
21230
- return /* @__PURE__ */ jsx121(
21278
+ return /* @__PURE__ */ jsx122(
21231
21279
  Input,
21232
21280
  {
21233
21281
  type: "date",
@@ -21283,9 +21331,9 @@ var DateRangeEditor = ({
21283
21331
  setError("");
21284
21332
  onChange([minDateValue, maxDateValue]);
21285
21333
  }, [minDateValue, maxDateValue, setError]);
21286
- return /* @__PURE__ */ jsxs81(Fragment20, { children: [
21287
- /* @__PURE__ */ jsxs81("div", { css: twoColumnGrid, "data-testid": valueTestId, children: [
21288
- /* @__PURE__ */ jsx121(
21334
+ return /* @__PURE__ */ jsxs82(Fragment20, { children: [
21335
+ /* @__PURE__ */ jsxs82("div", { css: twoColumnGrid, "data-testid": valueTestId, children: [
21336
+ /* @__PURE__ */ jsx122(
21289
21337
  Input,
21290
21338
  {
21291
21339
  label: `${ariaLabel}-min-date`,
@@ -21298,7 +21346,7 @@ var DateRangeEditor = ({
21298
21346
  readOnly
21299
21347
  }
21300
21348
  ),
21301
- /* @__PURE__ */ jsx121(
21349
+ /* @__PURE__ */ jsx122(
21302
21350
  Input,
21303
21351
  {
21304
21352
  label: `${ariaLabel}-max-date`,
@@ -21312,7 +21360,7 @@ var DateRangeEditor = ({
21312
21360
  }
21313
21361
  )
21314
21362
  ] }),
21315
- /* @__PURE__ */ jsx121(ErrorContainer, { errorMessage: error })
21363
+ /* @__PURE__ */ jsx122(ErrorContainer, { errorMessage: error })
21316
21364
  ] });
21317
21365
  };
21318
21366
  var FilterEditorRenderer = ({ editorType, ...props }) => {
@@ -21323,7 +21371,7 @@ var FilterEditorRenderer = ({ editorType, ...props }) => {
21323
21371
  if (editorType === "empty") {
21324
21372
  return null;
21325
21373
  }
21326
- return /* @__PURE__ */ jsx121(Editor, { ...props, disabled: props.isDisabled });
21374
+ return /* @__PURE__ */ jsx122(Editor, { ...props, disabled: props.isDisabled });
21327
21375
  };
21328
21376
  var filterMapper = {
21329
21377
  multiChoice: FilterMultiChoiceEditor,
@@ -21338,14 +21386,14 @@ var filterMapper = {
21338
21386
  empty: null
21339
21387
  };
21340
21388
  var ErrorContainer = ({ errorMessage }) => {
21341
- return /* @__PURE__ */ jsx121(
21389
+ return /* @__PURE__ */ jsx122(
21342
21390
  "div",
21343
21391
  {
21344
21392
  css: {
21345
21393
  gridColumn: "span 6",
21346
21394
  order: 6
21347
21395
  },
21348
- children: /* @__PURE__ */ jsx121(FieldMessage, { errorMessage })
21396
+ children: /* @__PURE__ */ jsx122(FieldMessage, { errorMessage })
21349
21397
  }
21350
21398
  );
21351
21399
  };
@@ -21357,14 +21405,14 @@ var twoColumnGrid = {
21357
21405
 
21358
21406
  // src/components/SearchAndFilter/FilterMenu.tsx
21359
21407
  import React24, { useEffect as useEffect20 } from "react";
21360
- import { jsx as jsx122, jsxs as jsxs82 } from "@emotion/react/jsx-runtime";
21408
+ import { jsx as jsx123, jsxs as jsxs83 } from "@emotion/react/jsx-runtime";
21361
21409
  var SearchAndFilterOptionsContainer2 = ({
21362
21410
  buttonRow,
21363
21411
  children
21364
21412
  }) => {
21365
- return /* @__PURE__ */ jsxs82("div", { css: SearchAndFilterOptionsContainer, "data-testid": "search-and-filter-options", children: [
21366
- /* @__PURE__ */ jsx122("div", { css: SearchAndFilterOptionsInnerContainer, children }),
21367
- buttonRow ? /* @__PURE__ */ jsx122(
21413
+ return /* @__PURE__ */ jsxs83("div", { css: SearchAndFilterOptionsContainer, children: [
21414
+ /* @__PURE__ */ jsx123("div", { css: SearchAndFilterOptionsInnerContainer, children }),
21415
+ buttonRow ? /* @__PURE__ */ jsx123(
21368
21416
  HorizontalRhythm,
21369
21417
  {
21370
21418
  css: SearchAndFilterButtonGroup,
@@ -21376,7 +21424,13 @@ var SearchAndFilterOptionsContainer2 = ({
21376
21424
  ) : null
21377
21425
  ] });
21378
21426
  };
21379
- var FilterMenu = ({ id, filterTitle = "Show results", menuControls, children }) => {
21427
+ var FilterMenu = ({
21428
+ id,
21429
+ filterTitle = "Show results",
21430
+ menuControls,
21431
+ children,
21432
+ dataTestId
21433
+ }) => {
21380
21434
  const { filterVisibility, setFilterVisibility } = useSearchAndFilter();
21381
21435
  const innerMenuRef = React24.useRef(null);
21382
21436
  useEffect20(() => {
@@ -21385,16 +21439,17 @@ var FilterMenu = ({ id, filterTitle = "Show results", menuControls, children })
21385
21439
  (_a = innerMenuRef.current) == null ? void 0 : _a.focus();
21386
21440
  }
21387
21441
  }, [filterVisibility]);
21388
- return /* @__PURE__ */ jsx122(VerticalRhythm, { gap: "sm", "aria-haspopup": "true", id, children: filterVisibility ? /* @__PURE__ */ jsxs82(SearchAndFilterOptionsContainer2, { buttonRow: menuControls, children: [
21389
- /* @__PURE__ */ jsx122("span", { css: Title, ref: innerMenuRef, tabIndex: 0, children: filterTitle }),
21390
- /* @__PURE__ */ jsx122(
21442
+ return /* @__PURE__ */ jsx123(VerticalRhythm, { gap: "sm", "aria-haspopup": "true", id, "data-testid": dataTestId, children: filterVisibility ? /* @__PURE__ */ jsxs83(SearchAndFilterOptionsContainer2, { buttonRow: menuControls, children: [
21443
+ /* @__PURE__ */ jsx123("span", { css: Title, ref: innerMenuRef, tabIndex: 0, children: filterTitle }),
21444
+ /* @__PURE__ */ jsx123(
21391
21445
  "button",
21392
21446
  {
21393
21447
  type: "button",
21394
21448
  "aria-label": "close filters",
21395
21449
  css: [CloseBtn],
21396
21450
  onClick: () => setFilterVisibility(void 0),
21397
- children: /* @__PURE__ */ jsx122(Icon, { icon: "close", iconColor: "currentColor", size: "1.1rem" })
21451
+ "data-testid": "close-filters",
21452
+ children: /* @__PURE__ */ jsx123(Icon, { icon: "close", iconColor: "currentColor", size: "1.1rem" })
21398
21453
  }
21399
21454
  ),
21400
21455
  children
@@ -21402,7 +21457,7 @@ var FilterMenu = ({ id, filterTitle = "Show results", menuControls, children })
21402
21457
  };
21403
21458
 
21404
21459
  // src/components/SearchAndFilter/FilterItem.tsx
21405
- import { Fragment as Fragment21, jsx as jsx123, jsxs as jsxs83 } from "@emotion/react/jsx-runtime";
21460
+ import { Fragment as Fragment21, jsx as jsx124, jsxs as jsxs84 } from "@emotion/react/jsx-runtime";
21406
21461
  var FilterItem = ({
21407
21462
  index,
21408
21463
  paramOptions,
@@ -21450,10 +21505,10 @@ var FilterItem = ({
21450
21505
  menuIsOpen: false,
21451
21506
  isClearable: false
21452
21507
  } : {};
21453
- return /* @__PURE__ */ jsxs83("div", { css: ConditionalFilterRow, "data-testid": "filter-item", children: [
21454
- /* @__PURE__ */ jsx123("span", { children: index === 0 ? "Where" : "and" }),
21455
- /* @__PURE__ */ jsxs83("div", { css: ConditionalInputRow, children: [
21456
- /* @__PURE__ */ jsx123(
21508
+ return /* @__PURE__ */ jsxs84("div", { css: ConditionalFilterRow, "data-testid": "filter-item", children: [
21509
+ /* @__PURE__ */ jsx124("span", { children: index === 0 ? "Where" : "and" }),
21510
+ /* @__PURE__ */ jsxs84("div", { css: ConditionalInputRow, children: [
21511
+ /* @__PURE__ */ jsx124(
21457
21512
  InputComboBox,
21458
21513
  {
21459
21514
  "aria-label": label,
@@ -21479,7 +21534,7 @@ var FilterItem = ({
21479
21534
  id: "filter-field"
21480
21535
  }
21481
21536
  ),
21482
- /* @__PURE__ */ jsx123(
21537
+ /* @__PURE__ */ jsx124(
21483
21538
  InputComboBox,
21484
21539
  {
21485
21540
  "aria-label": operatorLabel,
@@ -21502,7 +21557,7 @@ var FilterItem = ({
21502
21557
  id: "filter-operator"
21503
21558
  }
21504
21559
  ),
21505
- /* @__PURE__ */ jsx123(
21560
+ /* @__PURE__ */ jsx124(
21506
21561
  FilterEditorRenderer,
21507
21562
  {
21508
21563
  "aria-label": metaDataLabel,
@@ -21515,7 +21570,7 @@ var FilterItem = ({
21515
21570
  valueTestId: "filter-value"
21516
21571
  }
21517
21572
  ),
21518
- readOnly ? null : /* @__PURE__ */ jsx123(
21573
+ readOnly ? null : /* @__PURE__ */ jsx124(
21519
21574
  "button",
21520
21575
  {
21521
21576
  type: "button",
@@ -21523,7 +21578,7 @@ var FilterItem = ({
21523
21578
  "aria-label": "delete filter",
21524
21579
  css: IconBtn,
21525
21580
  "data-testid": "delete-filter",
21526
- children: /* @__PURE__ */ jsx123(Icon, { icon: "trash", iconColor: "red", size: "1rem" })
21581
+ children: /* @__PURE__ */ jsx124(Icon, { icon: "trash", iconColor: "red", size: "1rem" })
21527
21582
  }
21528
21583
  )
21529
21584
  ] })
@@ -21539,7 +21594,12 @@ var FilterItems = ({
21539
21594
  const next = [...filters];
21540
21595
  next[index] = { ...next[index], [prop]: value };
21541
21596
  if (prop === "operator") {
21542
- next[index].value = "";
21597
+ if (["eq", "neq", "lt", "gt"].includes(value) && Array.isArray(next[index].value)) {
21598
+ next[index].value = next[index].value[0];
21599
+ }
21600
+ if (["between"].includes(value) && Array.isArray(next[index].value) === false) {
21601
+ next[index].value = [next[index].value, ""];
21602
+ }
21543
21603
  if (value === "def" || value === "true") {
21544
21604
  next[index].value = "true";
21545
21605
  }
@@ -21557,12 +21617,13 @@ var FilterItems = ({
21557
21617
  }
21558
21618
  setFilters(next);
21559
21619
  };
21560
- return /* @__PURE__ */ jsx123(
21620
+ return /* @__PURE__ */ jsx124(
21561
21621
  FilterMenu,
21562
21622
  {
21563
21623
  id: "search-and-filter-options",
21564
- menuControls: /* @__PURE__ */ jsxs83(Fragment21, { children: [
21565
- /* @__PURE__ */ jsxs83(
21624
+ dataTestId: "search-and-filter-options",
21625
+ menuControls: /* @__PURE__ */ jsxs84(Fragment21, { children: [
21626
+ /* @__PURE__ */ jsxs84(
21566
21627
  "button",
21567
21628
  {
21568
21629
  type: "button",
@@ -21570,12 +21631,12 @@ var FilterItems = ({
21570
21631
  onClick: handleAddFilter,
21571
21632
  "data-testid": "add-filter",
21572
21633
  children: [
21573
- /* @__PURE__ */ jsx123(Icon, { icon: "math-plus", iconColor: "currentColor", size: "1rem" }),
21634
+ /* @__PURE__ */ jsx124(Icon, { icon: "math-plus", iconColor: "currentColor", size: "1rem" }),
21574
21635
  addButtonText
21575
21636
  ]
21576
21637
  }
21577
21638
  ),
21578
- (filters == null ? void 0 : filters.length) ? /* @__PURE__ */ jsx123(
21639
+ (filters == null ? void 0 : filters.length) ? /* @__PURE__ */ jsx124(
21579
21640
  "button",
21580
21641
  {
21581
21642
  type: "button",
@@ -21597,7 +21658,7 @@ var FilterItems = ({
21597
21658
  })) == null ? void 0 : _a.options) != null ? _b : [];
21598
21659
  const possibleValueOptions = (_d = (_c = availableTypeOptions == null ? void 0 : availableTypeOptions.find((op) => op.value === item.field)) == null ? void 0 : _c.valueOptions) != null ? _d : [];
21599
21660
  const possibleOperators = (_f = (_e = availableTypeOptions == null ? void 0 : availableTypeOptions.find((op) => op.value === item.field)) == null ? void 0 : _e.operatorOptions) != null ? _f : [];
21600
- return /* @__PURE__ */ jsx123(
21661
+ return /* @__PURE__ */ jsx124(
21601
21662
  FilterItem,
21602
21663
  {
21603
21664
  index: i,
@@ -21742,7 +21803,7 @@ var segmentedControlLabelContentStyles = css94`
21742
21803
  var segmentedControlLabelTextStyles = css94``;
21743
21804
 
21744
21805
  // src/components/SegmentedControl/SegmentedControl.tsx
21745
- import { jsx as jsx124, jsxs as jsxs84 } from "@emotion/react/jsx-runtime";
21806
+ import { jsx as jsx125, jsxs as jsxs85 } from "@emotion/react/jsx-runtime";
21746
21807
  var SegmentedControl = ({
21747
21808
  name,
21748
21809
  options,
@@ -21773,7 +21834,7 @@ var SegmentedControl = ({
21773
21834
  const isIconOnly = useMemo8(() => {
21774
21835
  return options.every((option) => option && option.icon && !option.label);
21775
21836
  }, [options]);
21776
- return /* @__PURE__ */ jsx124(
21837
+ return /* @__PURE__ */ jsx125(
21777
21838
  "div",
21778
21839
  {
21779
21840
  css: [segmentedControlStyles, orientation === "vertical" ? segmentedControlVerticalStyles : void 0],
@@ -21785,7 +21846,7 @@ var SegmentedControl = ({
21785
21846
  }
21786
21847
  const text = option.label ? option.label : option.icon ? null : String(option.value);
21787
21848
  const isDisabled = disabled2 || option.disabled;
21788
- return /* @__PURE__ */ jsx124(Tooltip, { title: (_a = option.tooltip) != null ? _a : "", children: /* @__PURE__ */ jsx124("div", { css: segmentedControlItemStyles, "data-testid": "container-segmented-control", children: /* @__PURE__ */ jsxs84(
21849
+ return /* @__PURE__ */ jsx125(Tooltip, { title: (_a = option.tooltip) != null ? _a : "", children: /* @__PURE__ */ jsx125("div", { css: segmentedControlItemStyles, "data-testid": "container-segmented-control", children: /* @__PURE__ */ jsxs85(
21789
21850
  "label",
21790
21851
  {
21791
21852
  css: [
@@ -21794,7 +21855,7 @@ var SegmentedControl = ({
21794
21855
  isIconOnly ? segmentedControlLabelIconOnlyStyles : void 0
21795
21856
  ],
21796
21857
  children: [
21797
- /* @__PURE__ */ jsx124(
21858
+ /* @__PURE__ */ jsx125(
21798
21859
  "input",
21799
21860
  {
21800
21861
  css: segmentedControlInputStyles,
@@ -21806,10 +21867,10 @@ var SegmentedControl = ({
21806
21867
  disabled: isDisabled
21807
21868
  }
21808
21869
  ),
21809
- option.value !== value || noCheckmark ? null : /* @__PURE__ */ jsx124(CgCheck4, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
21810
- /* @__PURE__ */ jsxs84("span", { css: segmentedControlLabelContentStyles, children: [
21811
- !option.icon ? null : /* @__PURE__ */ jsx124(Icon, { icon: option.icon, size: "1.5em", iconColor: "currentColor" }),
21812
- !text ? null : /* @__PURE__ */ jsx124("span", { css: segmentedControlLabelTextStyles, children: text })
21870
+ option.value !== value || noCheckmark ? null : /* @__PURE__ */ jsx125(CgCheck4, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
21871
+ /* @__PURE__ */ jsxs85("span", { css: segmentedControlLabelContentStyles, children: [
21872
+ !option.icon ? null : /* @__PURE__ */ jsx125(Icon, { icon: option.icon, size: "1.5em", iconColor: "currentColor" }),
21873
+ !text ? null : /* @__PURE__ */ jsx125("span", { css: segmentedControlLabelTextStyles, children: text })
21813
21874
  ] })
21814
21875
  ]
21815
21876
  }
@@ -21820,7 +21881,7 @@ var SegmentedControl = ({
21820
21881
  };
21821
21882
 
21822
21883
  // src/components/SearchAndFilter/SortItems.tsx
21823
- import { jsx as jsx125, jsxs as jsxs85 } from "@emotion/react/jsx-runtime";
21884
+ import { jsx as jsx126, jsxs as jsxs86 } from "@emotion/react/jsx-runtime";
21824
21885
  var SortItems = () => {
21825
21886
  var _a, _b;
21826
21887
  const { sortOptions, setSortBy, sortByValue } = useSearchAndFilter();
@@ -21831,8 +21892,8 @@ var SortItems = () => {
21831
21892
  var _a2;
21832
21893
  return (_a2 = item.options) == null ? void 0 : _a2.find((option) => option.value === sortField);
21833
21894
  })) == null ? void 0 : _a.options) == null ? void 0 : _b.find((nestedOption) => nestedOption.value === sortField);
21834
- return /* @__PURE__ */ jsx125(FilterMenu, { id: "search-and-filter-options", filterTitle: "Sort by", children: /* @__PURE__ */ jsxs85("div", { css: SortFilterInputRow, children: [
21835
- /* @__PURE__ */ jsx125(
21895
+ return /* @__PURE__ */ jsx126(FilterMenu, { id: "search-and-filter-options", filterTitle: "Sort by", dataTestId: "sorting-options", children: /* @__PURE__ */ jsxs86("div", { css: SortFilterInputRow, children: [
21896
+ /* @__PURE__ */ jsx126(
21836
21897
  InputComboBox,
21837
21898
  {
21838
21899
  options: sortOptions,
@@ -21848,10 +21909,11 @@ var SortItems = () => {
21848
21909
  };
21849
21910
  }
21850
21911
  },
21851
- value: currentSelectedOption
21912
+ value: currentSelectedOption,
21913
+ id: "sort-by-field"
21852
21914
  }
21853
21915
  ),
21854
- /* @__PURE__ */ jsx125(
21916
+ /* @__PURE__ */ jsx126(
21855
21917
  SegmentedControl,
21856
21918
  {
21857
21919
  noCheckmark: true,
@@ -21861,25 +21923,26 @@ var SortItems = () => {
21861
21923
  { label: "Descending", value: `DESC` }
21862
21924
  ],
21863
21925
  onChange: (e) => setSortBy(`${sortField}_${e}`),
21864
- value: sortDirection
21926
+ value: sortDirection,
21927
+ "data-testid": "ordering-options"
21865
21928
  }
21866
21929
  )
21867
21930
  ] }) });
21868
21931
  };
21869
21932
 
21870
21933
  // src/components/SearchAndFilter/FilterModeView.tsx
21871
- import { jsx as jsx126 } from "@emotion/react/jsx-runtime";
21934
+ import { jsx as jsx127 } from "@emotion/react/jsx-runtime";
21872
21935
  var FilterModeView = () => {
21873
21936
  const { filterVisibility } = useSearchAndFilter();
21874
21937
  const modeView = {
21875
- filters: /* @__PURE__ */ jsx126(FilterItems, {}),
21876
- sort: /* @__PURE__ */ jsx126(SortItems, {})
21938
+ filters: /* @__PURE__ */ jsx127(FilterItems, {}),
21939
+ sort: /* @__PURE__ */ jsx127(SortItems, {})
21877
21940
  };
21878
21941
  return filterVisibility ? modeView[filterVisibility] : null;
21879
21942
  };
21880
21943
 
21881
21944
  // src/components/SearchAndFilter/SearchAndFilterResultContainer.tsx
21882
- import { Fragment as Fragment22, jsx as jsx127, jsxs as jsxs86 } from "@emotion/react/jsx-runtime";
21945
+ import { Fragment as Fragment22, jsx as jsx128, jsxs as jsxs87 } from "@emotion/react/jsx-runtime";
21883
21946
  var SearchAndFilterResultContainer = ({
21884
21947
  buttonText,
21885
21948
  clearButtonLabel = "clear",
@@ -21913,24 +21976,24 @@ var SearchAndFilterResultContainer = ({
21913
21976
  if (totalResults && totalResults > 0) {
21914
21977
  return null;
21915
21978
  }
21916
- return /* @__PURE__ */ jsxs86(Fragment22, { children: [
21917
- /* @__PURE__ */ jsxs86(HorizontalRhythm, { children: [
21918
- /* @__PURE__ */ jsxs86("span", { children: [
21979
+ return /* @__PURE__ */ jsxs87(Fragment22, { children: [
21980
+ /* @__PURE__ */ jsxs87(HorizontalRhythm, { children: [
21981
+ /* @__PURE__ */ jsxs87("span", { children: [
21919
21982
  totalResults,
21920
21983
  " results ",
21921
21984
  searchTerm ? `for "${searchTerm}"` : null
21922
21985
  ] }),
21923
- !searchTerm ? null : /* @__PURE__ */ jsx127(Button, { buttonType: "ghostDestructive", size: "zero", onClick: () => setSearchTerm(""), children: clearButtonLabel })
21986
+ !searchTerm ? null : /* @__PURE__ */ jsx128(Button, { buttonType: "ghostDestructive", size: "zero", onClick: () => setSearchTerm(""), children: clearButtonLabel })
21924
21987
  ] }),
21925
- totalResults === 0 ? /* @__PURE__ */ jsxs86(Callout, { title: calloutTitle2 != null ? calloutTitle2 : automateCalloutTitle(), type: "note", children: [
21926
- calloutText ? /* @__PURE__ */ jsx127(Paragraph, { children: calloutText }) : null,
21927
- /* @__PURE__ */ jsx127(Button, { buttonType: "tertiaryOutline", size: "xs", onClick: onHandleClear != null ? onHandleClear : handleResetFilters, children: buttonText != null ? buttonText : "Clear search" })
21988
+ totalResults === 0 ? /* @__PURE__ */ jsxs87(Callout, { title: calloutTitle2 != null ? calloutTitle2 : automateCalloutTitle(), type: "note", children: [
21989
+ calloutText ? /* @__PURE__ */ jsx128(Paragraph, { children: calloutText }) : null,
21990
+ /* @__PURE__ */ jsx128(Button, { buttonType: "tertiaryOutline", size: "xs", onClick: onHandleClear != null ? onHandleClear : handleResetFilters, children: buttonText != null ? buttonText : "Clear search" })
21928
21991
  ] }) : null
21929
21992
  ] });
21930
21993
  };
21931
21994
 
21932
21995
  // src/components/SearchAndFilter/SearchAndFilter.tsx
21933
- import { jsx as jsx128, jsxs as jsxs87 } from "@emotion/react/jsx-runtime";
21996
+ import { jsx as jsx129, jsxs as jsxs88 } from "@emotion/react/jsx-runtime";
21934
21997
  var SearchAndFilter = ({
21935
21998
  filters,
21936
21999
  filterOptions,
@@ -21939,14 +22002,15 @@ var SearchAndFilter = ({
21939
22002
  defaultSortByValue,
21940
22003
  filterControls,
21941
22004
  viewSwitchControls,
21942
- resultsContainerView = /* @__PURE__ */ jsx128(SearchAndFilterResultContainer, {}),
21943
- children = /* @__PURE__ */ jsx128(FilterModeView, {}),
22005
+ resultsContainerView = /* @__PURE__ */ jsx129(SearchAndFilterResultContainer, {}),
22006
+ children = /* @__PURE__ */ jsx129(FilterModeView, {}),
21944
22007
  onChange,
21945
22008
  onSearchChange,
21946
22009
  onSortChange,
21947
- totalResults
22010
+ totalResults,
22011
+ resetFilterValues = []
21948
22012
  }) => {
21949
- return /* @__PURE__ */ jsx128(
22013
+ return /* @__PURE__ */ jsx129(
21950
22014
  SearchAndFilterProvider,
21951
22015
  {
21952
22016
  filters,
@@ -21958,15 +22022,16 @@ var SearchAndFilter = ({
21958
22022
  onSearchChange,
21959
22023
  onSortChange,
21960
22024
  totalResults,
21961
- children: /* @__PURE__ */ jsxs87(VerticalRhythm, { css: SearchAndFilterContainer, "data-testid": "search-and-filter", children: [
21962
- /* @__PURE__ */ jsxs87("div", { css: SearchAndFilterOutterControlWrapper(viewSwitchControls ? "1fr auto" : "1fr"), children: [
21963
- /* @__PURE__ */ jsx128(
22025
+ resetFilterValues,
22026
+ children: /* @__PURE__ */ jsxs88(VerticalRhythm, { css: SearchAndFilterContainer, "data-testid": "search-and-filter", children: [
22027
+ /* @__PURE__ */ jsxs88("div", { css: SearchAndFilterOutterControlWrapper(viewSwitchControls ? "1fr auto" : "1fr"), children: [
22028
+ /* @__PURE__ */ jsx129(
21964
22029
  "div",
21965
22030
  {
21966
22031
  css: SearchAndFilterControlsWrapper(
21967
22032
  viewSwitchControls ? "auto auto 1fr 0.5fr" : "auto auto 1fr"
21968
22033
  ),
21969
- children: !filterControls ? /* @__PURE__ */ jsx128(FilterControls, { hideSearchInput: !onSearchChange, defaultSortByValue }) : filterControls
22034
+ children: !filterControls ? /* @__PURE__ */ jsx129(FilterControls, { hideSearchInput: !onSearchChange, defaultSortByValue }) : filterControls
21970
22035
  }
21971
22036
  ),
21972
22037
  viewSwitchControls
@@ -21981,7 +22046,7 @@ var SearchAndFilter = ({
21981
22046
  // src/components/SearchAndFilter/SearchOnlyFilter.tsx
21982
22047
  import { createContext as createContext7, useState as useState19 } from "react";
21983
22048
  import { useDebounce as useDebounce4 } from "react-use";
21984
- import { jsx as jsx129 } from "@emotion/react/jsx-runtime";
22049
+ import { jsx as jsx130 } from "@emotion/react/jsx-runtime";
21985
22050
  var SearchOnlyContext = createContext7({
21986
22051
  searchTerm: "",
21987
22052
  setSearchTerm: () => {
@@ -21998,14 +22063,14 @@ var SearchOnlyFilter = ({ onSearchChange, maxWidth }) => {
21998
22063
  300,
21999
22064
  [localeSearchTerm]
22000
22065
  );
22001
- return /* @__PURE__ */ jsx129(
22066
+ return /* @__PURE__ */ jsx130(
22002
22067
  SearchOnlyContext.Provider,
22003
22068
  {
22004
22069
  value: {
22005
22070
  searchTerm,
22006
22071
  setSearchTerm: setLocaleSearchTerm
22007
22072
  },
22008
- children: /* @__PURE__ */ jsx129("div", { css: { maxWidth: maxWidth != null ? maxWidth : "712px" }, children: /* @__PURE__ */ jsx129(
22073
+ children: /* @__PURE__ */ jsx130("div", { css: { maxWidth: maxWidth != null ? maxWidth : "712px" }, children: /* @__PURE__ */ jsx130(
22009
22074
  InputKeywordSearch,
22010
22075
  {
22011
22076
  placeholder: "Search...",
@@ -22031,7 +22096,7 @@ var skeletonStyles = css96`
22031
22096
  `;
22032
22097
 
22033
22098
  // src/components/Skeleton/Skeleton.tsx
22034
- import { jsx as jsx130 } from "@emotion/react/jsx-runtime";
22099
+ import { jsx as jsx131 } from "@emotion/react/jsx-runtime";
22035
22100
  var Skeleton = ({
22036
22101
  width = "100%",
22037
22102
  height = "1.25rem",
@@ -22039,7 +22104,7 @@ var Skeleton = ({
22039
22104
  circle = false,
22040
22105
  children,
22041
22106
  ...otherProps
22042
- }) => /* @__PURE__ */ jsx130(
22107
+ }) => /* @__PURE__ */ jsx131(
22043
22108
  "div",
22044
22109
  {
22045
22110
  css: [
@@ -22146,19 +22211,19 @@ var SwitchText = css97`
22146
22211
  `;
22147
22212
 
22148
22213
  // src/components/Switch/Switch.tsx
22149
- import { Fragment as Fragment23, jsx as jsx131, jsxs as jsxs88 } from "@emotion/react/jsx-runtime";
22214
+ import { Fragment as Fragment23, jsx as jsx132, jsxs as jsxs89 } from "@emotion/react/jsx-runtime";
22150
22215
  var Switch = React26.forwardRef(
22151
22216
  ({ label, infoText, toggleText, children, ...inputProps }, ref) => {
22152
22217
  let additionalText = infoText;
22153
22218
  if (infoText && toggleText) {
22154
22219
  additionalText = inputProps.checked ? toggleText : infoText;
22155
22220
  }
22156
- return /* @__PURE__ */ jsxs88(Fragment23, { children: [
22157
- /* @__PURE__ */ jsxs88("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
22158
- /* @__PURE__ */ jsx131("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
22159
- /* @__PURE__ */ jsx131("span", { css: SwitchInputLabel, children: label })
22221
+ return /* @__PURE__ */ jsxs89(Fragment23, { children: [
22222
+ /* @__PURE__ */ jsxs89("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
22223
+ /* @__PURE__ */ jsx132("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
22224
+ /* @__PURE__ */ jsx132("span", { css: SwitchInputLabel, children: label })
22160
22225
  ] }),
22161
- additionalText ? /* @__PURE__ */ jsx131("p", { css: SwitchText, children: additionalText }) : null,
22226
+ additionalText ? /* @__PURE__ */ jsx132("p", { css: SwitchText, children: additionalText }) : null,
22162
22227
  children
22163
22228
  ] });
22164
22229
  }
@@ -22195,40 +22260,40 @@ var tableCellHead = css98`
22195
22260
  `;
22196
22261
 
22197
22262
  // src/components/Table/Table.tsx
22198
- import { jsx as jsx132 } from "@emotion/react/jsx-runtime";
22263
+ import { jsx as jsx133 } from "@emotion/react/jsx-runtime";
22199
22264
  var Table = React27.forwardRef(
22200
22265
  ({ children, cellPadding, ...otherProps }, ref) => {
22201
- return /* @__PURE__ */ jsx132("table", { ref, css: table({ cellPadding }), ...otherProps, children });
22266
+ return /* @__PURE__ */ jsx133("table", { ref, css: table({ cellPadding }), ...otherProps, children });
22202
22267
  }
22203
22268
  );
22204
22269
  var TableHead = React27.forwardRef(
22205
22270
  ({ children, ...otherProps }, ref) => {
22206
- return /* @__PURE__ */ jsx132("thead", { ref, css: tableHead, ...otherProps, children });
22271
+ return /* @__PURE__ */ jsx133("thead", { ref, css: tableHead, ...otherProps, children });
22207
22272
  }
22208
22273
  );
22209
22274
  var TableBody = React27.forwardRef(
22210
22275
  ({ children, ...otherProps }, ref) => {
22211
- return /* @__PURE__ */ jsx132("tbody", { ref, ...otherProps, children });
22276
+ return /* @__PURE__ */ jsx133("tbody", { ref, ...otherProps, children });
22212
22277
  }
22213
22278
  );
22214
22279
  var TableFoot = React27.forwardRef(
22215
22280
  ({ children, ...otherProps }, ref) => {
22216
- return /* @__PURE__ */ jsx132("tfoot", { ref, ...otherProps, children });
22281
+ return /* @__PURE__ */ jsx133("tfoot", { ref, ...otherProps, children });
22217
22282
  }
22218
22283
  );
22219
22284
  var TableRow = React27.forwardRef(
22220
22285
  ({ children, ...otherProps }, ref) => {
22221
- return /* @__PURE__ */ jsx132("tr", { ref, css: tableRow, ...otherProps, children });
22286
+ return /* @__PURE__ */ jsx133("tr", { ref, css: tableRow, ...otherProps, children });
22222
22287
  }
22223
22288
  );
22224
22289
  var TableCellHead = React27.forwardRef(
22225
22290
  ({ children, ...otherProps }, ref) => {
22226
- return /* @__PURE__ */ jsx132("th", { ref, css: tableCellHead, ...otherProps, children });
22291
+ return /* @__PURE__ */ jsx133("th", { ref, css: tableCellHead, ...otherProps, children });
22227
22292
  }
22228
22293
  );
22229
22294
  var TableCellData = React27.forwardRef(
22230
22295
  ({ children, ...otherProps }, ref) => {
22231
- return /* @__PURE__ */ jsx132("td", { ref, ...otherProps, children });
22296
+ return /* @__PURE__ */ jsx133("td", { ref, ...otherProps, children });
22232
22297
  }
22233
22298
  );
22234
22299
 
@@ -22268,7 +22333,7 @@ var tabButtonGroupStyles = css99`
22268
22333
  `;
22269
22334
 
22270
22335
  // src/components/Tabs/Tabs.tsx
22271
- import { jsx as jsx133 } from "@emotion/react/jsx-runtime";
22336
+ import { jsx as jsx134 } from "@emotion/react/jsx-runtime";
22272
22337
  var useCurrentTab = () => {
22273
22338
  const context = useAriakitTabStore();
22274
22339
  if (!context) {
@@ -22306,23 +22371,23 @@ var Tabs = ({
22306
22371
  tab.setSelectedId(selected);
22307
22372
  }
22308
22373
  }, [selected, tab]);
22309
- return /* @__PURE__ */ jsx133(AriakitTabProvider, { store: tab, setSelectedId: onTabSelect, children });
22374
+ return /* @__PURE__ */ jsx134(AriakitTabProvider, { store: tab, setSelectedId: onTabSelect, children });
22310
22375
  };
22311
22376
  var TabButtonGroup = ({ children, ...props }) => {
22312
- return /* @__PURE__ */ jsx133(AriakitTabList, { ...props, css: tabButtonGroupStyles, children });
22377
+ return /* @__PURE__ */ jsx134(AriakitTabList, { ...props, css: tabButtonGroupStyles, children });
22313
22378
  };
22314
22379
  var TabButton = ({
22315
22380
  children,
22316
22381
  id,
22317
22382
  ...props
22318
22383
  }) => {
22319
- return /* @__PURE__ */ jsx133(AriakitTab, { type: "button", id, ...props, css: tabButtonStyles, children });
22384
+ return /* @__PURE__ */ jsx134(AriakitTab, { type: "button", id, ...props, css: tabButtonStyles, children });
22320
22385
  };
22321
22386
  var TabContent = ({
22322
22387
  children,
22323
22388
  ...props
22324
22389
  }) => {
22325
- return /* @__PURE__ */ jsx133(AriakitTabPanel, { ...props, children });
22390
+ return /* @__PURE__ */ jsx134(AriakitTabPanel, { ...props, children });
22326
22391
  };
22327
22392
 
22328
22393
  // src/components/Toast/Toast.tsx
@@ -22553,9 +22618,9 @@ var toastContainerStyles = css100`
22553
22618
  `;
22554
22619
 
22555
22620
  // src/components/Toast/Toast.tsx
22556
- import { jsx as jsx134 } from "@emotion/react/jsx-runtime";
22621
+ import { jsx as jsx135 } from "@emotion/react/jsx-runtime";
22557
22622
  var ToastContainer = ({ limit = 4 }) => {
22558
- return /* @__PURE__ */ jsx134(
22623
+ return /* @__PURE__ */ jsx135(
22559
22624
  ToastifyContainer,
22560
22625
  {
22561
22626
  css: toastContainerStyles,
@@ -22654,6 +22719,7 @@ export {
22654
22719
  MenuItemInner,
22655
22720
  MenuItemSeparator,
22656
22721
  Modal,
22722
+ ModalDialog,
22657
22723
  MultilineChip,
22658
22724
  NUMBER_OPERATORS,
22659
22725
  PageHeaderSection,