@uniformdev/design-system 18.22.0 → 18.24.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
@@ -8209,19 +8209,19 @@ var UniformBadge = ({
8209
8209
  css: [SVG, theme === "dark" ? SVGDark : SVGLight],
8210
8210
  ...props,
8211
8211
  children: [
8212
- /* @__PURE__ */ jsx16("path", { d: "M28.998 0 0 16.744V50.23l28.998-16.744 29.004-16.743L28.998 0Z", fill: "#83C6E1" }),
8212
+ /* @__PURE__ */ jsx16("path", { d: "M28.998 0 0 16.744V50.23l28.998-16.744 29.004-16.743L28.998 0Z", fill: "#7BB3FF" }),
8213
8213
  /* @__PURE__ */ jsx16(
8214
8214
  "path",
8215
8215
  {
8216
8216
  d: "M28.998 66.974V33.487L0 50.231v33.487l28.998 16.744 29.004-16.744V50.23L28.998 66.974Z",
8217
- fill: "#438FD5"
8217
+ fill: "#498DFF"
8218
8218
  }
8219
8219
  ),
8220
8220
  /* @__PURE__ */ jsx16(
8221
8221
  "path",
8222
8222
  {
8223
8223
  d: "M58.002 16.744 28.998 33.487l29.004 16.744v33.487L87 66.975V33.487L58.002 16.744Z",
8224
- fill: "#F4220B"
8224
+ fill: "#E61408"
8225
8225
  }
8226
8226
  )
8227
8227
  ]
@@ -8246,15 +8246,15 @@ var UniformLogo = ({
8246
8246
  css: [SVG, theme === "dark" ? SVGDark : SVGLight],
8247
8247
  ...props,
8248
8248
  children: [
8249
- /* @__PURE__ */ jsx17("path", { d: "M11.249 0 0 6.495v12.99l11.249-6.495L22.5 6.495 11.25 0Z", fill: "#83C6E1" }),
8249
+ /* @__PURE__ */ jsx17("path", { d: "M11.249 0 0 6.495v12.99l11.249-6.495L22.5 6.495 11.25 0Z", fill: "#7BB3FF" }),
8250
8250
  /* @__PURE__ */ jsx17(
8251
8251
  "path",
8252
8252
  {
8253
8253
  d: "M11.249 25.98V12.99L0 19.486v12.99l11.249 6.495L22.5 32.476v-12.99L11.25 25.98Z",
8254
- fill: "#438FD5"
8254
+ fill: "#498DFF"
8255
8255
  }
8256
8256
  ),
8257
- /* @__PURE__ */ jsx17("path", { d: "m22.5 6.495-11.25 6.496 11.25 6.495v12.99l11.25-6.495V12.99L22.5 6.495Z", fill: "#F4220B" }),
8257
+ /* @__PURE__ */ jsx17("path", { d: "m22.5 6.495-11.25 6.496 11.25 6.495v12.99l11.25-6.495V12.99L22.5 6.495Z", fill: "#E61408" }),
8258
8258
  /* @__PURE__ */ jsx17(
8259
8259
  "path",
8260
8260
  {
@@ -9103,7 +9103,7 @@ var summary = css26`
9103
9103
  display: grid;
9104
9104
  grid-template-columns: 1.25rem 1fr;
9105
9105
  gap: var(--spacing-sm);
9106
- padding: var(--spacing-sm);
9106
+ padding: var(--spacing-sm) 0;
9107
9107
 
9108
9108
  // hides the native arrow icon
9109
9109
  list-style: none;
@@ -9115,6 +9115,9 @@ var summaryIcon = css26`
9115
9115
  transition: rotate var(--duration-fast) var(--timing-ease-out);
9116
9116
  rotate: -90deg;
9117
9117
  `;
9118
+ var summaryIconVisiblyHidden = css26`
9119
+ visibility: hidden;
9120
+ `;
9118
9121
 
9119
9122
  // src/components/Details/Details.tsx
9120
9123
  import { jsx as jsx29, jsxs as jsxs16 } from "@emotion/react/jsx-runtime";
@@ -9139,7 +9142,15 @@ var Details = ({ summary: summary2, children, isOpenByDefault = false, ...props
9139
9142
  }, [detailsRef]);
9140
9143
  return /* @__PURE__ */ jsxs16("details", { "data-testid": "details", css: details, open, ref: detailsRef, ...props, children: [
9141
9144
  /* @__PURE__ */ jsxs16("summary", { "data-testid": "summary", css: summary, children: [
9142
- /* @__PURE__ */ jsx29(Icon, { css: summaryIcon, icon: "chevron-down", iconColor: "currentColor", size: "1.25rem" }),
9145
+ /* @__PURE__ */ jsx29(
9146
+ Icon,
9147
+ {
9148
+ css: [!children ? summaryIconVisiblyHidden : void 0, summaryIcon],
9149
+ icon: "chevron-down",
9150
+ iconColor: "currentColor",
9151
+ size: "1.25rem"
9152
+ }
9153
+ ),
9143
9154
  summary2
9144
9155
  ] }),
9145
9156
  open ? /* @__PURE__ */ jsx29("div", { "data-testid": "details-content", css: detailsContent, children }) : null
@@ -9183,7 +9194,7 @@ var drawerRendererStyles = (position) => css27`
9183
9194
  `;
9184
9195
  var drawerInnerStyles = css27`
9185
9196
  height: 100%;
9186
- padding: var(--spacing-base);
9197
+ padding: 0 var(--spacing-base) var(--spacing-base);
9187
9198
  overflow: auto;
9188
9199
  ${scrollbarStyles}
9189
9200
  `;
@@ -9276,6 +9287,13 @@ var DrawerProvider = ({ children }) => {
9276
9287
  var useDrawer = () => {
9277
9288
  return useContext4(DrawerContext);
9278
9289
  };
9290
+ var useCloseCurrentDrawer = () => {
9291
+ const context = useDrawer();
9292
+ if (context.drawersRegistry.length === 0) {
9293
+ return;
9294
+ }
9295
+ return context.drawersRegistry[context.drawersRegistry.length - 1].onRequestClose;
9296
+ };
9279
9297
  function isEqualDrawer(a, b) {
9280
9298
  return (a == null ? void 0 : a.id) === (b == null ? void 0 : b.id) && (a == null ? void 0 : a.stackId) === (b == null ? void 0 : b.stackId);
9281
9299
  }
@@ -9715,32 +9733,34 @@ var Input = React13.forwardRef(
9715
9733
  import Select from "react-select";
9716
9734
  import { jsx as jsx40 } from "@emotion/react/jsx-runtime";
9717
9735
  function InputComboBox(props) {
9736
+ var _a;
9718
9737
  return /* @__PURE__ */ jsx40(
9719
9738
  Select,
9720
9739
  {
9721
9740
  ...props,
9741
+ isClearable: (_a = props.isClearable) != null ? _a : false,
9722
9742
  classNamePrefix: "input-combobox",
9723
9743
  styles: {
9724
9744
  ...props.styles,
9725
9745
  singleValue: (base, sProps) => {
9726
- var _a, _b;
9746
+ var _a2, _b;
9727
9747
  return {
9728
9748
  ...base,
9729
9749
  color: "#828282",
9730
- ...(_b = (_a = props.styles) == null ? void 0 : _a.singleValue) == null ? void 0 : _b.call(_a, base, sProps)
9750
+ ...(_b = (_a2 = props.styles) == null ? void 0 : _a2.singleValue) == null ? void 0 : _b.call(_a2, base, sProps)
9731
9751
  };
9732
9752
  },
9733
9753
  valueContainer: (base, sProps) => {
9734
- var _a, _b;
9754
+ var _a2, _b;
9735
9755
  return {
9736
9756
  ...base,
9737
9757
  padding: "var(--spacing-base)",
9738
9758
  gap: "2px",
9739
- ...(_b = (_a = props.styles) == null ? void 0 : _a.valueContainer) == null ? void 0 : _b.call(_a, base, sProps)
9759
+ ...(_b = (_a2 = props.styles) == null ? void 0 : _a2.valueContainer) == null ? void 0 : _b.call(_a2, base, sProps)
9740
9760
  };
9741
9761
  },
9742
9762
  input: (base, sProps) => {
9743
- var _a, _b;
9763
+ var _a2, _b;
9744
9764
  return {
9745
9765
  ...base,
9746
9766
  margin: "0",
@@ -9749,19 +9769,19 @@ function InputComboBox(props) {
9749
9769
  "& > input": {
9750
9770
  boxShadow: "none !important"
9751
9771
  },
9752
- ...(_b = (_a = props.styles) == null ? void 0 : _a.input) == null ? void 0 : _b.call(_a, base, sProps)
9772
+ ...(_b = (_a2 = props.styles) == null ? void 0 : _a2.input) == null ? void 0 : _b.call(_a2, base, sProps)
9753
9773
  };
9754
9774
  },
9755
9775
  menu: (base, state) => {
9756
- var _a, _b;
9776
+ var _a2, _b;
9757
9777
  return {
9758
9778
  ...base,
9759
9779
  zIndex: "var(--z-20)",
9760
- ...(_b = (_a = props.styles) == null ? void 0 : _a.menu) == null ? void 0 : _b.call(_a, base, state)
9780
+ ...(_b = (_a2 = props.styles) == null ? void 0 : _a2.menu) == null ? void 0 : _b.call(_a2, base, state)
9761
9781
  };
9762
9782
  },
9763
9783
  control: (base, state) => {
9764
- var _a, _b;
9784
+ var _a2, _b;
9765
9785
  return {
9766
9786
  ...base,
9767
9787
  className: "input-combobox-control",
@@ -9776,11 +9796,11 @@ function InputComboBox(props) {
9776
9796
  "&:hover": {
9777
9797
  boxShadow: "none"
9778
9798
  },
9779
- ...(_b = (_a = props.styles) == null ? void 0 : _a.control) == null ? void 0 : _b.call(_a, base, state)
9799
+ ...(_b = (_a2 = props.styles) == null ? void 0 : _a2.control) == null ? void 0 : _b.call(_a2, base, state)
9780
9800
  };
9781
9801
  },
9782
9802
  indicatorsContainer: (base, state) => {
9783
- var _a, _b;
9803
+ var _a2, _b;
9784
9804
  return {
9785
9805
  ...base,
9786
9806
  backgroundImage: `url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%0A%3E%3Cpath d='M6.34317 7.75732L4.92896 9.17154L12 16.2426L19.0711 9.17157L17.6569 7.75735L12 13.4142L6.34317 7.75732Z' fill='currentColor' /%3E%3C/svg%3E")`,
@@ -9791,23 +9811,23 @@ function InputComboBox(props) {
9791
9811
  "& svg": {
9792
9812
  display: "none"
9793
9813
  },
9794
- ...(_b = (_a = props.styles) == null ? void 0 : _a.indicatorsContainer) == null ? void 0 : _b.call(_a, base, state)
9814
+ ...(_b = (_a2 = props.styles) == null ? void 0 : _a2.indicatorsContainer) == null ? void 0 : _b.call(_a2, base, state)
9795
9815
  };
9796
9816
  },
9797
9817
  indicatorSeparator: (base, state) => {
9798
- var _a, _b;
9818
+ var _a2, _b;
9799
9819
  return {
9800
9820
  display: "none",
9801
- ...(_b = (_a = props.styles) == null ? void 0 : _a.indicatorSeparator) == null ? void 0 : _b.call(_a, base, state)
9821
+ ...(_b = (_a2 = props.styles) == null ? void 0 : _a2.indicatorSeparator) == null ? void 0 : _b.call(_a2, base, state)
9802
9822
  };
9803
9823
  },
9804
9824
  option: (base, state) => {
9805
- var _a, _b;
9825
+ var _a2, _b;
9806
9826
  return {
9807
9827
  ...base,
9808
9828
  color: state.isDisabled ? "var(--gray-500)" : "var(--gray-700)",
9809
9829
  backgroundColor: state.isDisabled ? "transparent" : state.isSelected ? "var(--gray-200)" : state.isFocused ? "var(--gray-100)" : "transparent",
9810
- ...(_b = (_a = props.styles) == null ? void 0 : _a.option) == null ? void 0 : _b.call(_a, base, state)
9830
+ ...(_b = (_a2 = props.styles) == null ? void 0 : _a2.option) == null ? void 0 : _b.call(_a2, base, state)
9811
9831
  };
9812
9832
  },
9813
9833
  multiValue: (styles) => {
@@ -10165,40 +10185,94 @@ var Textarea = ({
10165
10185
  ] });
10166
10186
  };
10167
10187
 
10168
- // src/components/LimitsBar/LimitsBar.styles.ts
10188
+ // src/components/Layout/styles/Container.styles.ts
10169
10189
  import { css as css35 } from "@emotion/react";
10170
- var LimitsBarContainer = css35`
10190
+ var Container = ({ backgroundColor, border, rounded, padding, margin }) => css35`
10191
+ background: var(--${backgroundColor});
10192
+ ${border ? "border: 1px solid var(--gray-300)" : void 0};
10193
+ ${rounded ? `border-radius: var(--${rounded})` : void 0};
10194
+ ${padding ? `padding: ${padding}` : void 0};
10195
+ ${margin ? `margin: ${margin}` : void 0};
10196
+ `;
10197
+
10198
+ // src/components/Layout/Container.tsx
10199
+ import { jsx as jsx47 } from "@emotion/react/jsx-runtime";
10200
+ var Container2 = ({
10201
+ tag = "div",
10202
+ backgroundColor = "white",
10203
+ border,
10204
+ rounded,
10205
+ padding,
10206
+ margin,
10207
+ children,
10208
+ ...props
10209
+ }) => {
10210
+ const Tag = tag;
10211
+ return /* @__PURE__ */ jsx47(
10212
+ Tag,
10213
+ {
10214
+ css: Container({
10215
+ backgroundColor,
10216
+ border,
10217
+ rounded,
10218
+ padding,
10219
+ margin
10220
+ }),
10221
+ ...props,
10222
+ children
10223
+ }
10224
+ );
10225
+ };
10226
+
10227
+ // src/components/Layout/styles/VerticalRhythm.styles.ts
10228
+ import { css as css36 } from "@emotion/react";
10229
+ var VerticalRhythmContainer = (size) => css36`
10230
+ display: flex;
10231
+ flex-direction: column;
10232
+ gap: var(--spacing-${size});
10233
+ `;
10234
+
10235
+ // src/components/Layout/VerticalRhythm.tsx
10236
+ import { jsx as jsx48 } from "@emotion/react/jsx-runtime";
10237
+ var VerticalRhythm = ({ tag = "div", gap = "base", children, ...props }) => {
10238
+ const Tag = tag;
10239
+ return /* @__PURE__ */ jsx48(Tag, { css: VerticalRhythmContainer(gap), ...props, children });
10240
+ };
10241
+
10242
+ // src/components/LimitsBar/LimitsBar.styles.ts
10243
+ import { css as css37 } from "@emotion/react";
10244
+ var LimitsBarContainer = css37`
10171
10245
  margin-block: var(--spacing-sm);
10172
10246
  `;
10173
- var LimitsBarProgressBar = css35`
10247
+ var LimitsBarProgressBar = css37`
10174
10248
  background: var(--gray-100);
10175
10249
  margin-top: var(--spacing-sm);
10176
10250
  position: relative;
10177
10251
  overflow: hidden;
10178
10252
  height: 0.25rem;
10179
10253
  `;
10180
- var LimitsBarProgressBarLine = css35`
10254
+ var LimitsBarProgressBarLine = css37`
10181
10255
  position: absolute;
10182
10256
  inset: 0;
10183
10257
  transition: transform var(--duration-fast) var(--timing-ease-out);
10184
10258
  `;
10185
- var LimitsBarLabelContainer = css35`
10259
+ var LimitsBarLabelContainer = css37`
10186
10260
  display: flex;
10187
10261
  justify-content: space-between;
10188
10262
  font-weight: var(--fw-bold);
10189
10263
  `;
10190
- var LimitsBarLabel = css35`
10264
+ var LimitsBarLabel = css37`
10191
10265
  font-size: var(--fs-baase);
10192
10266
  `;
10193
- var LimitsBarBgColor = (statusColor) => css35`
10267
+ var LimitsBarBgColor = (statusColor) => css37`
10194
10268
  background: ${statusColor};
10195
10269
  `;
10196
- var LimitsBarTextColor = (statusColor) => css35`
10270
+ var LimitsBarTextColor = (statusColor) => css37`
10197
10271
  color: ${statusColor};
10198
10272
  `;
10199
10273
 
10200
10274
  // src/components/LimitsBar/LimitsBar.tsx
10201
- import { jsx as jsx47, jsxs as jsxs29 } from "@emotion/react/jsx-runtime";
10275
+ import { jsx as jsx49, jsxs as jsxs29 } from "@emotion/react/jsx-runtime";
10202
10276
  var LimitsBar = ({ current, max, label }) => {
10203
10277
  const maxPercentage = 100;
10204
10278
  const progressBarValue = Math.ceil(current / max * maxPercentage);
@@ -10211,14 +10285,14 @@ var LimitsBar = ({ current, max, label }) => {
10211
10285
  const statusColor = progressBarValue === 100 ? colorMap.danger : progressBarValue >= 75 ? colorMap.warn : colorMap.base;
10212
10286
  return /* @__PURE__ */ jsxs29("div", { css: LimitsBarContainer, children: [
10213
10287
  /* @__PURE__ */ jsxs29("div", { css: LimitsBarLabelContainer, children: [
10214
- /* @__PURE__ */ jsx47("span", { css: LimitsBarLabel, children: label }),
10288
+ /* @__PURE__ */ jsx49("span", { css: LimitsBarLabel, children: label }),
10215
10289
  /* @__PURE__ */ jsxs29("span", { css: [LimitsBarLabel, LimitsBarTextColor(statusColor)], children: [
10216
10290
  current,
10217
10291
  " of ",
10218
10292
  max
10219
10293
  ] })
10220
10294
  ] }),
10221
- /* @__PURE__ */ jsx47(
10295
+ /* @__PURE__ */ jsx49(
10222
10296
  "div",
10223
10297
  {
10224
10298
  role: "progressbar",
@@ -10227,7 +10301,7 @@ var LimitsBar = ({ current, max, label }) => {
10227
10301
  "aria-valuemax": max,
10228
10302
  "aria-valuetext": `${current} of ${max}`,
10229
10303
  css: LimitsBarProgressBar,
10230
- children: /* @__PURE__ */ jsx47(
10304
+ children: /* @__PURE__ */ jsx49(
10231
10305
  "span",
10232
10306
  {
10233
10307
  role: "presentation",
@@ -10243,8 +10317,8 @@ var LimitsBar = ({ current, max, label }) => {
10243
10317
  };
10244
10318
 
10245
10319
  // src/components/LinkList/LinkList.styles.ts
10246
- import { css as css36 } from "@emotion/react";
10247
- var LinkListContainer = css36`
10320
+ import { css as css38 } from "@emotion/react";
10321
+ var LinkListContainer = css38`
10248
10322
  padding: var(--spacing-md) var(--spacing-lg) var(--spacing-2xl);
10249
10323
  ${mq("sm")} {
10250
10324
  grid-column: last-col / span 1;
@@ -10253,23 +10327,23 @@ var LinkListContainer = css36`
10253
10327
  `;
10254
10328
 
10255
10329
  // src/components/LinkList/LinkList.tsx
10256
- import { jsx as jsx48, jsxs as jsxs30 } from "@emotion/react/jsx-runtime";
10330
+ import { jsx as jsx50, jsxs as jsxs30 } from "@emotion/react/jsx-runtime";
10257
10331
  var LinkList = ({ title, children, ...props }) => {
10258
10332
  return /* @__PURE__ */ jsxs30("div", { css: LinkListContainer, ...props, children: [
10259
- /* @__PURE__ */ jsx48(Heading, { level: 3, children: title }),
10333
+ /* @__PURE__ */ jsx50(Heading, { level: 3, children: title }),
10260
10334
  children
10261
10335
  ] });
10262
10336
  };
10263
10337
 
10264
10338
  // src/components/List/ScrollableList.tsx
10265
- import { css as css38 } from "@emotion/react";
10339
+ import { css as css40 } from "@emotion/react";
10266
10340
 
10267
10341
  // src/components/List/styles/ScrollableList.styles.ts
10268
- import { css as css37 } from "@emotion/react";
10269
- var ScrollableListContainer = css37`
10342
+ import { css as css39 } from "@emotion/react";
10343
+ var ScrollableListContainer = css39`
10270
10344
  position: relative;
10271
10345
  `;
10272
- var ScrollableListInner = css37`
10346
+ var ScrollableListInner = css39`
10273
10347
  background: var(--gray-50);
10274
10348
  border-top: 1px solid var(--gray-200);
10275
10349
  border-bottom: 1px solid var(--gray-200);
@@ -10287,19 +10361,19 @@ var ScrollableListInner = css37`
10287
10361
  `;
10288
10362
 
10289
10363
  // src/components/List/ScrollableList.tsx
10290
- import { jsx as jsx49, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
10364
+ import { jsx as jsx51, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
10291
10365
  var ScrollableList = ({ label, children, ...props }) => {
10292
10366
  return /* @__PURE__ */ jsxs31("div", { css: [ScrollableListContainer, scrollbarStyles], ...props, children: [
10293
- label ? /* @__PURE__ */ jsx49(
10367
+ label ? /* @__PURE__ */ jsx51(
10294
10368
  "span",
10295
10369
  {
10296
- css: css38`
10370
+ css: css40`
10297
10371
  ${labelText}
10298
10372
  `,
10299
10373
  children: label
10300
10374
  }
10301
10375
  ) : null,
10302
- /* @__PURE__ */ jsx49("div", { css: [ScrollableListInner, scrollbarStyles], children })
10376
+ /* @__PURE__ */ jsx51("div", { css: [ScrollableListInner, scrollbarStyles], children })
10303
10377
  ] });
10304
10378
  };
10305
10379
 
@@ -10307,8 +10381,8 @@ var ScrollableList = ({ label, children, ...props }) => {
10307
10381
  import { CgCheck } from "react-icons/cg";
10308
10382
 
10309
10383
  // src/components/List/styles/ScrollableListItem.styles.ts
10310
- import { css as css39 } from "@emotion/react";
10311
- var ScrollableListItemContainer = css39`
10384
+ import { css as css41 } from "@emotion/react";
10385
+ var ScrollableListItemContainer = css41`
10312
10386
  align-items: center;
10313
10387
  background: var(--white);
10314
10388
  border-radius: var(--rounded-base);
@@ -10318,10 +10392,10 @@ var ScrollableListItemContainer = css39`
10318
10392
  min-height: 52px;
10319
10393
  transition: border-color var(--duration-fast) var(--timing-ease-out);
10320
10394
  `;
10321
- var ScrollableListItemActive = css39`
10395
+ var ScrollableListItemActive = css41`
10322
10396
  border-color: var(--brand-secondary-3);
10323
10397
  `;
10324
- var ScrollableListItemBtn = css39`
10398
+ var ScrollableListItemBtn = css41`
10325
10399
  align-items: center;
10326
10400
  border: none;
10327
10401
  background: transparent;
@@ -10336,26 +10410,26 @@ var ScrollableListItemBtn = css39`
10336
10410
  outline: none;
10337
10411
  }
10338
10412
  `;
10339
- var ScrollableListInputLabel = css39`
10413
+ var ScrollableListInputLabel = css41`
10340
10414
  align-items: center;
10341
10415
  display: flex;
10342
10416
  padding: var(--spacing-xs) var(--spacing-base) var(--spacing-xs);
10343
10417
  flex-grow: 1;
10344
10418
  `;
10345
- var ScrollableListInputText = css39`
10419
+ var ScrollableListInputText = css41`
10346
10420
  align-items: center;
10347
10421
  display: flex;
10348
10422
  gap: var(--spacing-sm);
10349
10423
  font-weight: var(--fw-bold);
10350
10424
  flex-grow: 1;
10351
10425
  `;
10352
- var ScrollableListHiddenInput = css39`
10426
+ var ScrollableListHiddenInput = css41`
10353
10427
  position: absolute;
10354
10428
  height: 0;
10355
10429
  width: 0;
10356
10430
  opacity: 0;
10357
10431
  `;
10358
- var ScrollableListIcon = css39`
10432
+ var ScrollableListIcon = css41`
10359
10433
  border-radius: var(--rounded-full);
10360
10434
  background: var(--brand-secondary-3);
10361
10435
  color: var(--white);
@@ -10364,7 +10438,7 @@ var ScrollableListIcon = css39`
10364
10438
  `;
10365
10439
 
10366
10440
  // src/components/List/ScrollableListInputItem.tsx
10367
- import { jsx as jsx50, jsxs as jsxs32 } from "@emotion/react/jsx-runtime";
10441
+ import { jsx as jsx52, jsxs as jsxs32 } from "@emotion/react/jsx-runtime";
10368
10442
  var ScrollableListInputItem = ({
10369
10443
  label,
10370
10444
  icon,
@@ -10372,23 +10446,23 @@ var ScrollableListInputItem = ({
10372
10446
  children,
10373
10447
  labelTestId
10374
10448
  }) => {
10375
- return /* @__PURE__ */ jsx50("div", { css: [ScrollableListItemContainer, active ? ScrollableListItemActive : void 0], children: /* @__PURE__ */ jsxs32("label", { "data-test-id": labelTestId, css: ScrollableListInputLabel, children: [
10449
+ return /* @__PURE__ */ jsx52("div", { css: [ScrollableListItemContainer, active ? ScrollableListItemActive : void 0], children: /* @__PURE__ */ jsxs32("label", { "data-test-id": labelTestId, css: ScrollableListInputLabel, children: [
10376
10450
  /* @__PURE__ */ jsxs32("span", { css: ScrollableListInputText, children: [
10377
10451
  icon,
10378
10452
  label
10379
10453
  ] }),
10380
- /* @__PURE__ */ jsx50("div", { css: ScrollableListHiddenInput, children }),
10381
- active ? /* @__PURE__ */ jsx50(Icon, { icon: CgCheck, iconColor: "currentColor", css: ScrollableListIcon, size: 24 }) : null
10454
+ /* @__PURE__ */ jsx52("div", { css: ScrollableListHiddenInput, children }),
10455
+ active ? /* @__PURE__ */ jsx52(Icon, { icon: CgCheck, iconColor: "currentColor", css: ScrollableListIcon, size: 24 }) : null
10382
10456
  ] }) });
10383
10457
  };
10384
10458
 
10385
10459
  // src/components/List/ScrollableListItem.tsx
10386
- import { css as css40 } from "@emotion/react";
10387
- import { jsx as jsx51, jsxs as jsxs33 } from "@emotion/react/jsx-runtime";
10460
+ import { css as css42 } from "@emotion/react";
10461
+ import { jsx as jsx53, jsxs as jsxs33 } from "@emotion/react/jsx-runtime";
10388
10462
  var ScrollableListItem = ({ buttonText, active, ...props }) => {
10389
- return /* @__PURE__ */ jsx51("div", { css: [ScrollableListItemContainer, active ? ScrollableListItemActive : void 0], children: /* @__PURE__ */ jsxs33("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
10390
- /* @__PURE__ */ jsx51("span", { children: buttonText }),
10391
- /* @__PURE__ */ jsx51(
10463
+ return /* @__PURE__ */ jsx53("div", { css: [ScrollableListItemContainer, active ? ScrollableListItemActive : void 0], children: /* @__PURE__ */ jsxs33("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
10464
+ /* @__PURE__ */ jsx53("span", { children: buttonText }),
10465
+ /* @__PURE__ */ jsx53(
10392
10466
  "svg",
10393
10467
  {
10394
10468
  width: "24",
@@ -10397,14 +10471,14 @@ var ScrollableListItem = ({ buttonText, active, ...props }) => {
10397
10471
  fill: "currentColor",
10398
10472
  xmlns: "http://www.w3.org/2000/svg",
10399
10473
  "aria-hidden": !active,
10400
- css: css40`
10474
+ css: css42`
10401
10475
  color: var(--brand-secondary-3);
10402
10476
  transition: opacity var(--duration-fast) var(--timing-ease-out);
10403
- ${active ? css40`
10477
+ ${active ? css42`
10404
10478
  animation: ${fadeInBottom} var(--duration-fast) var(--timing-ease-out) forwards;
10405
10479
  ` : "opacity: 0;"}
10406
10480
  `,
10407
- children: /* @__PURE__ */ jsx51(
10481
+ children: /* @__PURE__ */ jsx53(
10408
10482
  "path",
10409
10483
  {
10410
10484
  fillRule: "evenodd",
@@ -10418,7 +10492,7 @@ var ScrollableListItem = ({ buttonText, active, ...props }) => {
10418
10492
  };
10419
10493
 
10420
10494
  // src/components/LoadingIndicator/LoadingIndicator.styles.ts
10421
- import { css as css41, keyframes as keyframes3 } from "@emotion/react";
10495
+ import { css as css43, keyframes as keyframes3 } from "@emotion/react";
10422
10496
  var bounceFade = keyframes3`
10423
10497
  0%, 100% {
10424
10498
  opacity: 1.0;
@@ -10436,11 +10510,11 @@ var bounceFade = keyframes3`
10436
10510
  transform: translateY(-5px);
10437
10511
  }
10438
10512
  `;
10439
- var loader = css41`
10513
+ var loader = css43`
10440
10514
  display: inline-flex;
10441
10515
  justify-content: center;
10442
10516
  `;
10443
- var loadingDot = css41`
10517
+ var loadingDot = css43`
10444
10518
  background-color: var(--gray-700);
10445
10519
  display: block;
10446
10520
  border-radius: var(--rounded-full);
@@ -10464,51 +10538,51 @@ var loadingDot = css41`
10464
10538
  `;
10465
10539
 
10466
10540
  // src/components/LoadingIndicator/LoadingIndicator.tsx
10467
- import { jsx as jsx52, jsxs as jsxs34 } from "@emotion/react/jsx-runtime";
10541
+ import { jsx as jsx54, jsxs as jsxs34 } from "@emotion/react/jsx-runtime";
10468
10542
  var LoadingIndicator = () => {
10469
10543
  return /* @__PURE__ */ jsxs34("div", { css: loader, role: "alert", "data-test-id": "loading-indicator", children: [
10470
- /* @__PURE__ */ jsx52("span", { css: loadingDot }),
10471
- /* @__PURE__ */ jsx52("span", { css: loadingDot }),
10472
- /* @__PURE__ */ jsx52("span", { css: loadingDot })
10544
+ /* @__PURE__ */ jsx54("span", { css: loadingDot }),
10545
+ /* @__PURE__ */ jsx54("span", { css: loadingDot }),
10546
+ /* @__PURE__ */ jsx54("span", { css: loadingDot })
10473
10547
  ] });
10474
10548
  };
10475
10549
 
10476
10550
  // src/components/LoadingOverlay/LoadingOverlay.tsx
10477
- import { css as css43 } from "@emotion/react";
10551
+ import { css as css45 } from "@emotion/react";
10478
10552
 
10479
10553
  // src/components/LoadingOverlay/LoadingOverlay.styles.ts
10480
- import { css as css42 } from "@emotion/react";
10481
- var loadingOverlayContainer = css42`
10554
+ import { css as css44 } from "@emotion/react";
10555
+ var loadingOverlayContainer = css44`
10482
10556
  align-items: center;
10483
10557
  position: absolute;
10484
10558
  inset: 0;
10485
10559
  overflow: hidden;
10486
10560
  justify-content: center;
10487
10561
  `;
10488
- var loadingOverlayVisible = css42`
10562
+ var loadingOverlayVisible = css44`
10489
10563
  display: flex;
10490
10564
  `;
10491
- var loadingOverlayHidden = css42`
10565
+ var loadingOverlayHidden = css44`
10492
10566
  display: none;
10493
10567
  `;
10494
- var loadingOverlayBackground = (bgColor) => css42`
10568
+ var loadingOverlayBackground = (bgColor) => css44`
10495
10569
  background: ${bgColor};
10496
10570
  opacity: var(--opacity-75);
10497
10571
  position: absolute;
10498
10572
  inset: 0 0;
10499
10573
  `;
10500
- var loadingOverlayBody = css42`
10574
+ var loadingOverlayBody = css44`
10501
10575
  align-items: center;
10502
10576
  display: flex;
10503
10577
  flex-direction: column;
10504
10578
  `;
10505
- var loadingOverlayMessage = css42`
10579
+ var loadingOverlayMessage = css44`
10506
10580
  color: var(--gray-600);
10507
10581
  margin: var(--spacing-base) 0 0;
10508
10582
  `;
10509
10583
 
10510
10584
  // src/components/LoadingOverlay/LoadingOverlay.tsx
10511
- import { jsx as jsx53, jsxs as jsxs35 } from "@emotion/react/jsx-runtime";
10585
+ import { jsx as jsx55, jsxs as jsxs35 } from "@emotion/react/jsx-runtime";
10512
10586
  var LoadingOverlay = ({
10513
10587
  isActive,
10514
10588
  statusMessage,
@@ -10523,16 +10597,16 @@ var LoadingOverlay = ({
10523
10597
  css: [loadingOverlayContainer, { zIndex }, isActive ? loadingOverlayVisible : loadingOverlayHidden],
10524
10598
  "aria-hidden": !isActive,
10525
10599
  children: [
10526
- /* @__PURE__ */ jsx53("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
10527
- /* @__PURE__ */ jsx53(
10600
+ /* @__PURE__ */ jsx55("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
10601
+ /* @__PURE__ */ jsx55(
10528
10602
  "div",
10529
10603
  {
10530
- css: css43`
10604
+ css: css45`
10531
10605
  position: relative;
10532
10606
  `,
10533
10607
  children: /* @__PURE__ */ jsxs35("div", { css: loadingOverlayBody, children: [
10534
- /* @__PURE__ */ jsx53(LoadingIcon, { height: size, width: size }),
10535
- statusMessage ? /* @__PURE__ */ jsx53("div", { css: loadingOverlayMessage, children: statusMessage }) : null
10608
+ /* @__PURE__ */ jsx55(LoadingIcon, { height: size, width: size }),
10609
+ statusMessage ? /* @__PURE__ */ jsx55("div", { css: loadingOverlayMessage, children: statusMessage }) : null
10536
10610
  ] })
10537
10611
  }
10538
10612
  )
@@ -10541,7 +10615,7 @@ var LoadingOverlay = ({
10541
10615
  );
10542
10616
  };
10543
10617
  var LoadingIcon = ({ height, width, ...props }) => {
10544
- return /* @__PURE__ */ jsx53(
10618
+ return /* @__PURE__ */ jsx55(
10545
10619
  "svg",
10546
10620
  {
10547
10621
  "data-testid": "svg",
@@ -10552,9 +10626,9 @@ var LoadingIcon = ({ height, width, ...props }) => {
10552
10626
  stroke: "currentColor",
10553
10627
  ...props,
10554
10628
  "data-test-id": "loading-icon",
10555
- children: /* @__PURE__ */ jsx53("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxs35("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
10556
- /* @__PURE__ */ jsx53("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
10557
- /* @__PURE__ */ jsx53("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ jsx53(
10629
+ children: /* @__PURE__ */ jsx55("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxs35("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
10630
+ /* @__PURE__ */ jsx55("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
10631
+ /* @__PURE__ */ jsx55("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ jsx55(
10558
10632
  "animateTransform",
10559
10633
  {
10560
10634
  attributeName: "transform",
@@ -10571,12 +10645,12 @@ var LoadingIcon = ({ height, width, ...props }) => {
10571
10645
  };
10572
10646
 
10573
10647
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
10574
- import { css as css45 } from "@emotion/react";
10648
+ import { css as css47 } from "@emotion/react";
10575
10649
  import { CgAdd as CgAdd2, CgChevronRight as CgChevronRight2 } from "react-icons/cg";
10576
10650
 
10577
10651
  // src/components/Tiles/styles/IntegrationTile.styles.ts
10578
- import { css as css44 } from "@emotion/react";
10579
- var IntegrationTileContainer = css44`
10652
+ import { css as css46 } from "@emotion/react";
10653
+ var IntegrationTileContainer = css46`
10580
10654
  align-items: center;
10581
10655
  box-sizing: border-box;
10582
10656
  border-radius: var(--rounded-base);
@@ -10607,22 +10681,22 @@ var IntegrationTileContainer = css44`
10607
10681
  }
10608
10682
  }
10609
10683
  `;
10610
- var IntegrationTileBtnDashedBorder = css44`
10684
+ var IntegrationTileBtnDashedBorder = css46`
10611
10685
  border: 1px dashed var(--brand-secondary-1);
10612
10686
  `;
10613
- var IntegrationTileTitle = css44`
10687
+ var IntegrationTileTitle = css46`
10614
10688
  display: block;
10615
10689
  font-weight: var(--fw-bold);
10616
10690
  margin: 0 0 var(--spacing-base);
10617
10691
  max-width: 13rem;
10618
10692
  `;
10619
- var IntegrationTitleLogo = css44`
10693
+ var IntegrationTitleLogo = css46`
10620
10694
  display: block;
10621
10695
  max-width: 10rem;
10622
10696
  max-height: 4rem;
10623
10697
  margin: 0 auto;
10624
10698
  `;
10625
- var IntegrationTileName = css44`
10699
+ var IntegrationTileName = css46`
10626
10700
  color: var(--gray-500);
10627
10701
  display: -webkit-box;
10628
10702
  -webkit-line-clamp: 1;
@@ -10635,7 +10709,7 @@ var IntegrationTileName = css44`
10635
10709
  position: absolute;
10636
10710
  bottom: calc(var(--spacing-base) * 3.8);
10637
10711
  `;
10638
- var IntegrationAddedText = css44`
10712
+ var IntegrationAddedText = css46`
10639
10713
  align-items: center;
10640
10714
  background: var(--brand-secondary-3);
10641
10715
  border-radius: 0 var(--rounded-md) 0 var(--rounded-md);
@@ -10650,7 +10724,7 @@ var IntegrationAddedText = css44`
10650
10724
  top: 0;
10651
10725
  right: 0;
10652
10726
  `;
10653
- var IntegrationCustomBadgeText = (theme) => css44`
10727
+ var IntegrationCustomBadgeText = (theme) => css46`
10654
10728
  align-items: center;
10655
10729
  border-radius: var(--rounded-sm) 0 var(--rounded-sm) 0;
10656
10730
  background: ${theme === "gray" ? "var(--brand-secondary-2)" : "var(--brand-secondary-1)"};
@@ -10664,26 +10738,26 @@ var IntegrationCustomBadgeText = (theme) => css44`
10664
10738
  top: 0;
10665
10739
  left: 0;
10666
10740
  `;
10667
- var IntegrationAuthorBadgeIcon = css44`
10741
+ var IntegrationAuthorBadgeIcon = css46`
10668
10742
  position: absolute;
10669
10743
  bottom: var(--spacing-sm);
10670
10744
  right: var(--spacing-xs);
10671
10745
  max-height: 1rem;
10672
10746
  `;
10673
- var IntegrationTitleFakeButton = css44`
10747
+ var IntegrationTitleFakeButton = css46`
10674
10748
  font-size: var(--fs-xs);
10675
10749
  gap: var(--spacing-sm);
10676
10750
  padding: var(--spacing-sm) var(--spacing-base);
10677
10751
  text-transform: uppercase;
10678
10752
  `;
10679
- var IntegrationTileFloatingButton = css44`
10753
+ var IntegrationTileFloatingButton = css46`
10680
10754
  position: absolute;
10681
10755
  bottom: var(--spacing-base);
10682
10756
  gap: var(--spacing-sm);
10683
10757
  font-size: var(--fs-xs);
10684
10758
  overflow: hidden;
10685
10759
  `;
10686
- var IntegrationTileFloatingButtonMessage = (clicked) => css44`
10760
+ var IntegrationTileFloatingButtonMessage = (clicked) => css46`
10687
10761
  strong,
10688
10762
  span:first-of-type {
10689
10763
  transition: opacity var(--duration-fast) var(--timing-ease-out);
@@ -10704,7 +10778,7 @@ var IntegrationTileFloatingButtonMessage = (clicked) => css44`
10704
10778
  `;
10705
10779
 
10706
10780
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
10707
- import { jsx as jsx54, jsxs as jsxs36 } from "@emotion/react/jsx-runtime";
10781
+ import { jsx as jsx56, jsxs as jsxs36 } from "@emotion/react/jsx-runtime";
10708
10782
  var CreateTeamIntegrationTile = ({
10709
10783
  title = "Create a custom integration for your team",
10710
10784
  buttonText = "Add Integration",
@@ -10713,7 +10787,7 @@ var CreateTeamIntegrationTile = ({
10713
10787
  ...props
10714
10788
  }) => {
10715
10789
  return /* @__PURE__ */ jsxs36("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
10716
- /* @__PURE__ */ jsx54("span", { css: IntegrationTileTitle, title, children: title }),
10790
+ /* @__PURE__ */ jsx56("span", { css: IntegrationTileTitle, title, children: title }),
10717
10791
  /* @__PURE__ */ jsxs36(
10718
10792
  Button,
10719
10793
  {
@@ -10724,23 +10798,23 @@ var CreateTeamIntegrationTile = ({
10724
10798
  css: IntegrationTitleFakeButton,
10725
10799
  children: [
10726
10800
  buttonText,
10727
- asDeepLink ? /* @__PURE__ */ jsx54(
10801
+ asDeepLink ? /* @__PURE__ */ jsx56(
10728
10802
  Icon,
10729
10803
  {
10730
10804
  icon: CgChevronRight2,
10731
10805
  iconColor: "currentColor",
10732
10806
  size: 20,
10733
- css: css45`
10807
+ css: css47`
10734
10808
  order: 1;
10735
10809
  `
10736
10810
  }
10737
- ) : /* @__PURE__ */ jsx54(
10811
+ ) : /* @__PURE__ */ jsx56(
10738
10812
  Icon,
10739
10813
  {
10740
10814
  icon: CgAdd2,
10741
10815
  iconColor: "currentColor",
10742
10816
  size: 16,
10743
- css: css45`
10817
+ css: css47`
10744
10818
  order: -1;
10745
10819
  `
10746
10820
  }
@@ -10753,31 +10827,31 @@ var CreateTeamIntegrationTile = ({
10753
10827
 
10754
10828
  // src/components/Tiles/IntegrationBadges.tsx
10755
10829
  import { CgCheck as CgCheck2, CgLock, CgSandClock } from "react-icons/cg";
10756
- import { jsx as jsx55, jsxs as jsxs37 } from "@emotion/react/jsx-runtime";
10830
+ import { jsx as jsx57, jsxs as jsxs37 } from "@emotion/react/jsx-runtime";
10757
10831
  var IntegrationedAddedBadge = ({ text = "Added" }) => {
10758
10832
  return /* @__PURE__ */ jsxs37("span", { "data-testid": "integration-icon-installed", css: IntegrationAddedText, children: [
10759
- /* @__PURE__ */ jsx55(Icon, { icon: CgCheck2, iconColor: "currentColor" }),
10833
+ /* @__PURE__ */ jsx57(Icon, { icon: CgCheck2, iconColor: "currentColor" }),
10760
10834
  text
10761
10835
  ] });
10762
10836
  };
10763
10837
  var IntegrationCustomBadge = ({ text = "Custom" }) => {
10764
- return /* @__PURE__ */ jsx55("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
10838
+ return /* @__PURE__ */ jsx57("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
10765
10839
  };
10766
10840
  var IntegrationPremiumBadge = ({ text = "Premium" }) => {
10767
10841
  return /* @__PURE__ */ jsxs37("span", { css: IntegrationCustomBadgeText("blue"), children: [
10768
- /* @__PURE__ */ jsx55(Icon, { icon: CgLock, iconColor: "currentColor", size: 12 }),
10842
+ /* @__PURE__ */ jsx57(Icon, { icon: CgLock, iconColor: "currentColor", size: 12 }),
10769
10843
  text
10770
10844
  ] });
10771
10845
  };
10772
10846
  var IntegrationComingSoonBadge = ({ text = "Coming soon" }) => {
10773
10847
  return /* @__PURE__ */ jsxs37("span", { css: IntegrationCustomBadgeText("blue"), children: [
10774
- /* @__PURE__ */ jsx55(Icon, { icon: CgSandClock, iconColor: "currentColor", size: 12 }),
10848
+ /* @__PURE__ */ jsx57(Icon, { icon: CgSandClock, iconColor: "currentColor", size: 12 }),
10775
10849
  text
10776
10850
  ] });
10777
10851
  };
10778
10852
 
10779
10853
  // src/components/Tiles/ResolveIcon.tsx
10780
- import { jsx as jsx56 } from "@emotion/react/jsx-runtime";
10854
+ import { jsx as jsx58 } from "@emotion/react/jsx-runtime";
10781
10855
  var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
10782
10856
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
10783
10857
  const mapClassName = {
@@ -10785,13 +10859,13 @@ var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
10785
10859
  logo: IntegrationTitleLogo
10786
10860
  };
10787
10861
  if (icon) {
10788
- return CompIcon ? /* @__PURE__ */ jsx56(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ jsx56("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
10862
+ return CompIcon ? /* @__PURE__ */ jsx58(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ jsx58("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
10789
10863
  }
10790
10864
  return null;
10791
10865
  };
10792
10866
 
10793
10867
  // src/components/Tiles/EditTeamIntegrationTile.tsx
10794
- import { jsx as jsx57, jsxs as jsxs38 } from "@emotion/react/jsx-runtime";
10868
+ import { jsx as jsx59, jsxs as jsxs38 } from "@emotion/react/jsx-runtime";
10795
10869
  var EditTeamIntegrationTile = ({
10796
10870
  id,
10797
10871
  icon,
@@ -10807,10 +10881,10 @@ var EditTeamIntegrationTile = ({
10807
10881
  "data-testid": "configure-integration-container",
10808
10882
  "integration-id": `${id.toLocaleLowerCase()}`,
10809
10883
  children: [
10810
- /* @__PURE__ */ jsx57(ResolveIcon, { icon, name, "data-test-id": "integration-logo" }),
10811
- /* @__PURE__ */ jsx57("span", { css: IntegrationTileName, "data-test-id": "integration-card-name", children: name }),
10812
- !isPublic ? /* @__PURE__ */ jsx57(IntegrationCustomBadge, {}) : null,
10813
- canEdit ? /* @__PURE__ */ jsx57(
10884
+ /* @__PURE__ */ jsx59(ResolveIcon, { icon, name, "data-test-id": "integration-logo" }),
10885
+ /* @__PURE__ */ jsx59("span", { css: IntegrationTileName, "data-test-id": "integration-card-name", children: name }),
10886
+ !isPublic ? /* @__PURE__ */ jsx59(IntegrationCustomBadge, {}) : null,
10887
+ canEdit ? /* @__PURE__ */ jsx59(
10814
10888
  Button,
10815
10889
  {
10816
10890
  buttonType: "unimportant",
@@ -10828,10 +10902,10 @@ var EditTeamIntegrationTile = ({
10828
10902
  };
10829
10903
 
10830
10904
  // src/components/Tiles/IntegrationComingSoon.tsx
10831
- import { css as css46 } from "@emotion/react";
10905
+ import { css as css48 } from "@emotion/react";
10832
10906
  import { useEffect as useEffect6, useState as useState6 } from "react";
10833
10907
  import { CgHeart } from "react-icons/cg";
10834
- import { jsx as jsx58, jsxs as jsxs39 } from "@emotion/react/jsx-runtime";
10908
+ import { jsx as jsx60, jsxs as jsxs39 } from "@emotion/react/jsx-runtime";
10835
10909
  var IntegrationComingSoon = ({
10836
10910
  name,
10837
10911
  icon,
@@ -10860,9 +10934,9 @@ var IntegrationComingSoon = ({
10860
10934
  "data-testid": `coming-soon-${id.toLowerCase()}-integration`,
10861
10935
  ...props,
10862
10936
  children: [
10863
- /* @__PURE__ */ jsx58(IntegrationComingSoonBadge, {}),
10864
- /* @__PURE__ */ jsx58(ResolveIcon, { icon, name }),
10865
- /* @__PURE__ */ jsx58("span", { css: IntegrationTileName, title: name, children: name }),
10937
+ /* @__PURE__ */ jsx60(IntegrationComingSoonBadge, {}),
10938
+ /* @__PURE__ */ jsx60(ResolveIcon, { icon, name }),
10939
+ /* @__PURE__ */ jsx60("span", { css: IntegrationTileName, title: name, children: name }),
10866
10940
  /* @__PURE__ */ jsxs39(
10867
10941
  Button,
10868
10942
  {
@@ -10873,11 +10947,11 @@ var IntegrationComingSoon = ({
10873
10947
  role: "link",
10874
10948
  css: [IntegrationTileFloatingButton, IntegrationTileFloatingButtonMessage(upVote)],
10875
10949
  children: [
10876
- /* @__PURE__ */ jsx58("strong", { children: "+1" }),
10877
- /* @__PURE__ */ jsx58(
10950
+ /* @__PURE__ */ jsx60("strong", { children: "+1" }),
10951
+ /* @__PURE__ */ jsx60(
10878
10952
  "span",
10879
10953
  {
10880
- css: css46`
10954
+ css: css48`
10881
10955
  text-transform: uppercase;
10882
10956
  color: var(--gray-500);
10883
10957
  `,
@@ -10885,7 +10959,7 @@ var IntegrationComingSoon = ({
10885
10959
  }
10886
10960
  ),
10887
10961
  /* @__PURE__ */ jsxs39("span", { "aria-hidden": !upVote, children: [
10888
- /* @__PURE__ */ jsx58(Icon, { icon: CgHeart, iconColor: "currentColor", size: 18 }),
10962
+ /* @__PURE__ */ jsx60(Icon, { icon: CgHeart, iconColor: "currentColor", size: 18 }),
10889
10963
  "Thanks!"
10890
10964
  ] })
10891
10965
  ]
@@ -10897,8 +10971,8 @@ var IntegrationComingSoon = ({
10897
10971
  };
10898
10972
 
10899
10973
  // src/components/Tiles/styles/IntegrationLoadingTile.styles.ts
10900
- import { css as css47 } from "@emotion/react";
10901
- var IntegrationLoadingTileContainer = css47`
10974
+ import { css as css49 } from "@emotion/react";
10975
+ var IntegrationLoadingTileContainer = css49`
10902
10976
  align-items: center;
10903
10977
  box-sizing: border-box;
10904
10978
  border-radius: var(--rounded-base);
@@ -10925,39 +10999,39 @@ var IntegrationLoadingTileContainer = css47`
10925
10999
  }
10926
11000
  }
10927
11001
  `;
10928
- var IntegrationLoadingTileImg = css47`
11002
+ var IntegrationLoadingTileImg = css49`
10929
11003
  width: 10rem;
10930
11004
  height: 4rem;
10931
11005
  margin: 0 auto;
10932
11006
  `;
10933
- var IntegrationLoadingTileText = css47`
11007
+ var IntegrationLoadingTileText = css49`
10934
11008
  width: 5rem;
10935
11009
  height: var(--spacing-sm);
10936
11010
  margin: var(--spacing-sm) 0;
10937
11011
  `;
10938
- var IntegrationLoadingFrame = css47`
11012
+ var IntegrationLoadingFrame = css49`
10939
11013
  animation: ${skeletonLoading} 1s linear infinite alternate;
10940
11014
  border-radius: var(--rounded-base);
10941
11015
  `;
10942
11016
 
10943
11017
  // src/components/Tiles/IntegrationLoadingTile.tsx
10944
- import { Fragment as Fragment7, jsx as jsx59, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
11018
+ import { Fragment as Fragment7, jsx as jsx61, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
10945
11019
  var IntegrationLoadingTile = ({ count = 1 }) => {
10946
11020
  const componentCount = Array.from(Array(count).keys());
10947
- return /* @__PURE__ */ jsx59(Fragment7, { children: componentCount.map((i) => /* @__PURE__ */ jsxs40("div", { css: IntegrationLoadingTileContainer, children: [
10948
- /* @__PURE__ */ jsx59("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
10949
- /* @__PURE__ */ jsx59("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
11021
+ return /* @__PURE__ */ jsx61(Fragment7, { children: componentCount.map((i) => /* @__PURE__ */ jsxs40("div", { css: IntegrationLoadingTileContainer, children: [
11022
+ /* @__PURE__ */ jsx61("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
11023
+ /* @__PURE__ */ jsx61("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
10950
11024
  ] }, i)) });
10951
11025
  };
10952
11026
 
10953
11027
  // src/components/Tiles/styles/IntegrationModalIcon.styles.ts
10954
- import { css as css48 } from "@emotion/react";
10955
- var IntegrationModalIconContainer = css48`
11028
+ import { css as css50 } from "@emotion/react";
11029
+ var IntegrationModalIconContainer = css50`
10956
11030
  position: relative;
10957
11031
  width: 50px;
10958
11032
  margin-bottom: var(--spacing-base);
10959
11033
  `;
10960
- var IntegrationModalImage = css48`
11034
+ var IntegrationModalImage = css50`
10961
11035
  position: absolute;
10962
11036
  inset: 0;
10963
11037
  margin: auto;
@@ -10966,12 +11040,12 @@ var IntegrationModalImage = css48`
10966
11040
  `;
10967
11041
 
10968
11042
  // src/components/Tiles/IntegrationModalIcon.tsx
10969
- import { jsx as jsx60, jsxs as jsxs41 } from "@emotion/react/jsx-runtime";
11043
+ import { jsx as jsx62, jsxs as jsxs41 } from "@emotion/react/jsx-runtime";
10970
11044
  var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
10971
11045
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
10972
11046
  return /* @__PURE__ */ jsxs41("div", { css: IntegrationModalIconContainer, children: [
10973
11047
  /* @__PURE__ */ jsxs41("svg", { width: "49", height: "57", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
10974
- /* @__PURE__ */ jsx60(
11048
+ /* @__PURE__ */ jsx62(
10975
11049
  "path",
10976
11050
  {
10977
11051
  d: "m24.367 1.813 22.786 13.322V41.78L24.367 55.102 1.581 41.78V15.135L24.367 1.814Z",
@@ -10980,12 +11054,12 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
10980
11054
  strokeWidth: "2"
10981
11055
  }
10982
11056
  ),
10983
- /* @__PURE__ */ jsx60("defs", { children: /* @__PURE__ */ jsxs41("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
10984
- /* @__PURE__ */ jsx60("stop", { stopColor: "#1768B2" }),
10985
- /* @__PURE__ */ jsx60("stop", { offset: "1", stopColor: "#B3EFE4" })
11057
+ /* @__PURE__ */ jsx62("defs", { children: /* @__PURE__ */ jsxs41("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
11058
+ /* @__PURE__ */ jsx62("stop", { stopColor: "#1768B2" }),
11059
+ /* @__PURE__ */ jsx62("stop", { offset: "1", stopColor: "#B3EFE4" })
10986
11060
  ] }) })
10987
11061
  ] }),
10988
- CompIcon ? /* @__PURE__ */ jsx60(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : /* @__PURE__ */ jsx60(
11062
+ CompIcon ? /* @__PURE__ */ jsx62(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : /* @__PURE__ */ jsx62(
10989
11063
  "img",
10990
11064
  {
10991
11065
  src: icon,
@@ -10999,7 +11073,7 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
10999
11073
  };
11000
11074
 
11001
11075
  // src/components/Tiles/IntegrationTile.tsx
11002
- import { jsx as jsx61, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
11076
+ import { jsx as jsx63, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
11003
11077
  var IntegrationTile = ({
11004
11078
  id,
11005
11079
  icon,
@@ -11021,68 +11095,68 @@ var IntegrationTile = ({
11021
11095
  "aria-label": name,
11022
11096
  ...btnProps,
11023
11097
  children: [
11024
- /* @__PURE__ */ jsx61(ResolveIcon, { icon, name }),
11025
- /* @__PURE__ */ jsx61("span", { css: IntegrationTileName, title: name, children: name }),
11026
- isInstalled ? /* @__PURE__ */ jsx61(IntegrationedAddedBadge, {}) : null,
11027
- requiedEntitlement && isPublic ? /* @__PURE__ */ jsx61(IntegrationPremiumBadge, {}) : null,
11028
- !isPublic ? /* @__PURE__ */ jsx61(IntegrationCustomBadge, {}) : null,
11029
- authorIcon ? /* @__PURE__ */ jsx61(ResolveIcon, { icon: authorIcon, name }) : null
11098
+ /* @__PURE__ */ jsx63(ResolveIcon, { icon, name }),
11099
+ /* @__PURE__ */ jsx63("span", { css: IntegrationTileName, title: name, children: name }),
11100
+ isInstalled ? /* @__PURE__ */ jsx63(IntegrationedAddedBadge, {}) : null,
11101
+ requiedEntitlement && isPublic ? /* @__PURE__ */ jsx63(IntegrationPremiumBadge, {}) : null,
11102
+ !isPublic ? /* @__PURE__ */ jsx63(IntegrationCustomBadge, {}) : null,
11103
+ authorIcon ? /* @__PURE__ */ jsx63(ResolveIcon, { icon: authorIcon, name }) : null
11030
11104
  ]
11031
11105
  }
11032
11106
  );
11033
11107
  };
11034
11108
 
11035
11109
  // src/components/Tiles/styles/TileContainer.styles.ts
11036
- import { css as css49 } from "@emotion/react";
11037
- var TileContainerWrapper = css49`
11110
+ import { css as css51 } from "@emotion/react";
11111
+ var TileContainerWrapper = css51`
11038
11112
  background: var(--brand-secondary-2);
11039
11113
  padding: var(--spacing-base);
11040
11114
  margin-bottom: var(--spacing-lg);
11041
11115
  `;
11042
- var TileContainerInner = css49`
11116
+ var TileContainerInner = css51`
11043
11117
  display: grid;
11044
11118
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
11045
11119
  gap: var(--spacing-base);
11046
11120
  `;
11047
11121
 
11048
11122
  // src/components/Tiles/TileContainer.tsx
11049
- import { jsx as jsx62 } from "@emotion/react/jsx-runtime";
11123
+ import { jsx as jsx64 } from "@emotion/react/jsx-runtime";
11050
11124
  var TileContainer = ({ children, ...props }) => {
11051
- return /* @__PURE__ */ jsx62("div", { css: TileContainerWrapper, ...props, children: /* @__PURE__ */ jsx62("div", { css: TileContainerInner, children }) });
11125
+ return /* @__PURE__ */ jsx64("div", { css: TileContainerWrapper, ...props, children: /* @__PURE__ */ jsx64("div", { css: TileContainerInner, children }) });
11052
11126
  };
11053
11127
 
11054
11128
  // src/components/Modal/IntegrationModalHeader.styles.ts
11055
- import { css as css50 } from "@emotion/react";
11056
- var IntegrationModalHeaderSVGBackground = css50`
11129
+ import { css as css52 } from "@emotion/react";
11130
+ var IntegrationModalHeaderSVGBackground = css52`
11057
11131
  position: absolute;
11058
11132
  top: 0;
11059
11133
  left: 0;
11060
11134
  `;
11061
- var IntegrationModalHeaderGroup = css50`
11135
+ var IntegrationModalHeaderGroup = css52`
11062
11136
  align-items: center;
11063
11137
  display: flex;
11064
11138
  gap: var(--spacing-sm);
11065
11139
  margin: 0 0 var(--spacing-md);
11066
11140
  position: relative;
11067
11141
  `;
11068
- var IntegrationModalHeaderTitleGroup = css50`
11142
+ var IntegrationModalHeaderTitleGroup = css52`
11069
11143
  align-items: center;
11070
11144
  display: flex;
11071
11145
  gap: var(--spacing-base);
11072
11146
  `;
11073
- var IntegrationModalHeaderTitle = css50`
11147
+ var IntegrationModalHeaderTitle = css52`
11074
11148
  margin-top: 0;
11075
11149
  `;
11076
- var IntegrationModalHeaderMenuPlacement = css50`
11150
+ var IntegrationModalHeaderMenuPlacement = css52`
11077
11151
  margin-bottom: var(--spacing-base);
11078
11152
  `;
11079
- var IntegrationModalHeaderContentWrapper = css50`
11153
+ var IntegrationModalHeaderContentWrapper = css52`
11080
11154
  position: relative;
11081
11155
  z-index: var(--z-10);
11082
11156
  `;
11083
11157
 
11084
11158
  // src/components/Modal/IntegrationModalHeader.tsx
11085
- import { Fragment as Fragment8, jsx as jsx63, jsxs as jsxs43 } from "@emotion/react/jsx-runtime";
11159
+ import { Fragment as Fragment8, jsx as jsx65, jsxs as jsxs43 } from "@emotion/react/jsx-runtime";
11086
11160
  var HexModalBackground = ({ ...props }) => {
11087
11161
  return /* @__PURE__ */ jsxs43(
11088
11162
  "svg",
@@ -11094,7 +11168,7 @@ var HexModalBackground = ({ ...props }) => {
11094
11168
  xmlns: "http://www.w3.org/2000/svg",
11095
11169
  ...props,
11096
11170
  children: [
11097
- /* @__PURE__ */ jsx63(
11171
+ /* @__PURE__ */ jsx65(
11098
11172
  "path",
11099
11173
  {
11100
11174
  fillRule: "evenodd",
@@ -11103,7 +11177,7 @@ var HexModalBackground = ({ ...props }) => {
11103
11177
  fill: "url(#paint0_linear_196_2737)"
11104
11178
  }
11105
11179
  ),
11106
- /* @__PURE__ */ jsx63("defs", { children: /* @__PURE__ */ jsxs43(
11180
+ /* @__PURE__ */ jsx65("defs", { children: /* @__PURE__ */ jsxs43(
11107
11181
  "linearGradient",
11108
11182
  {
11109
11183
  id: "paint0_linear_196_2737",
@@ -11113,8 +11187,8 @@ var HexModalBackground = ({ ...props }) => {
11113
11187
  y2: "-95.2742",
11114
11188
  gradientUnits: "userSpaceOnUse",
11115
11189
  children: [
11116
- /* @__PURE__ */ jsx63("stop", { stopColor: "#81DCDE" }),
11117
- /* @__PURE__ */ jsx63("stop", { offset: "1", stopColor: "#428ED4" })
11190
+ /* @__PURE__ */ jsx65("stop", { stopColor: "#81DCDE" }),
11191
+ /* @__PURE__ */ jsx65("stop", { offset: "1", stopColor: "#428ED4" })
11118
11192
  ]
11119
11193
  }
11120
11194
  ) })
@@ -11124,16 +11198,16 @@ var HexModalBackground = ({ ...props }) => {
11124
11198
  };
11125
11199
  var IntegrationModalHeader = ({ icon, name, menu: menu2, children }) => {
11126
11200
  return /* @__PURE__ */ jsxs43(Fragment8, { children: [
11127
- /* @__PURE__ */ jsx63(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
11128
- /* @__PURE__ */ jsx63("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ jsxs43("div", { css: IntegrationModalHeaderTitleGroup, children: [
11129
- icon ? /* @__PURE__ */ jsx63(IntegrationModalIcon, { icon, name: name || "" }) : null,
11130
- /* @__PURE__ */ jsx63(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-test-id": "integration-modal-title", children: name || "Create Team Integration" }),
11201
+ /* @__PURE__ */ jsx65(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
11202
+ /* @__PURE__ */ jsx65("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ jsxs43("div", { css: IntegrationModalHeaderTitleGroup, children: [
11203
+ icon ? /* @__PURE__ */ jsx65(IntegrationModalIcon, { icon, name: name || "" }) : null,
11204
+ /* @__PURE__ */ jsx65(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-test-id": "integration-modal-title", children: name || "Create Team Integration" }),
11131
11205
  menu2 ? /* @__PURE__ */ jsxs43("div", { css: IntegrationModalHeaderMenuPlacement, children: [
11132
11206
  menu2,
11133
11207
  " "
11134
11208
  ] }) : null
11135
11209
  ] }) }),
11136
- /* @__PURE__ */ jsx63("div", { css: IntegrationModalHeaderContentWrapper, children })
11210
+ /* @__PURE__ */ jsx65("div", { css: IntegrationModalHeaderContentWrapper, children })
11137
11211
  ] });
11138
11212
  };
11139
11213
 
@@ -11147,8 +11221,8 @@ import {
11147
11221
  } from "reakit/Tooltip";
11148
11222
 
11149
11223
  // src/components/Tooltip/Tooltip.styles.ts
11150
- import { css as css51 } from "@emotion/react";
11151
- var TooltipContainer = css51`
11224
+ import { css as css53 } from "@emotion/react";
11225
+ var TooltipContainer = css53`
11152
11226
  border: 2px solid var(--gray-300);
11153
11227
  border-radius: var(--rounded-base);
11154
11228
  padding: var(--spacing-xs) var(--spacing-sm);
@@ -11156,28 +11230,28 @@ var TooltipContainer = css51`
11156
11230
  font-size: var(--fs-xs);
11157
11231
  background: var(--white);
11158
11232
  `;
11159
- var TooltipArrowStyles = css51`
11233
+ var TooltipArrowStyles = css53`
11160
11234
  svg {
11161
11235
  fill: var(--gray-300);
11162
11236
  }
11163
11237
  `;
11164
11238
 
11165
11239
  // src/components/Tooltip/Tooltip.tsx
11166
- import { Fragment as Fragment9, jsx as jsx64, jsxs as jsxs44 } from "@emotion/react/jsx-runtime";
11240
+ import { Fragment as Fragment9, jsx as jsx66, jsxs as jsxs44 } from "@emotion/react/jsx-runtime";
11167
11241
  function Tooltip({ children, title, placement = "bottom", visible, ...props }) {
11168
11242
  const tooltip = useTooltipState({ placement });
11169
11243
  return /* @__PURE__ */ jsxs44(Fragment9, { children: [
11170
- /* @__PURE__ */ jsx64(TooltipReference, { ...tooltip, ...children.props, children: (referenceProps) => React14.cloneElement(children, referenceProps) }),
11244
+ /* @__PURE__ */ jsx66(TooltipReference, { ...tooltip, ...children.props, children: (referenceProps) => React14.cloneElement(children, referenceProps) }),
11171
11245
  /* @__PURE__ */ jsxs44(ReakitTooltip, { ...tooltip, ...props, css: TooltipContainer, visible: visible != null ? visible : tooltip.visible, children: [
11172
- /* @__PURE__ */ jsx64(TooltipArrow, { ...tooltip, css: TooltipArrowStyles }),
11246
+ /* @__PURE__ */ jsx66(TooltipArrow, { ...tooltip, css: TooltipArrowStyles }),
11173
11247
  title
11174
11248
  ] })
11175
11249
  ] });
11176
11250
  }
11177
11251
 
11178
11252
  // src/components/ParameterInputs/styles/ParameterBindingButton.styles.ts
11179
- import { css as css52 } from "@emotion/react";
11180
- var inputIconBtn = css52`
11253
+ import { css as css54 } from "@emotion/react";
11254
+ var inputIconBtn = css54`
11181
11255
  align-items: center;
11182
11256
  border: none;
11183
11257
  border-radius: var(--rounded-base);
@@ -11192,10 +11266,15 @@ var inputIconBtn = css52`
11192
11266
  background: var(--brand-secondary-3);
11193
11267
  color: var(--white);
11194
11268
  }
11269
+
11270
+ &[aria-disabled='true'] {
11271
+ background: none;
11272
+ color: currentColor;
11273
+ }
11195
11274
  `;
11196
11275
 
11197
11276
  // src/components/ParameterInputs/ConnectToDataElementButton.tsx
11198
- import { jsx as jsx65, jsxs as jsxs45 } from "@emotion/react/jsx-runtime";
11277
+ import { jsx as jsx67, jsxs as jsxs45 } from "@emotion/react/jsx-runtime";
11199
11278
  var ConnectToDataElementButton = ({
11200
11279
  icon,
11201
11280
  iconColor,
@@ -11205,17 +11284,27 @@ var ConnectToDataElementButton = ({
11205
11284
  ...props
11206
11285
  }) => {
11207
11286
  const title = isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
11208
- return /* @__PURE__ */ jsx65(Tooltip, { title, children: /* @__PURE__ */ jsxs45("button", { css: inputIconBtn, type: "button", "aria-pressed": isBound, ...props, disabled: isLocked, children: [
11209
- /* @__PURE__ */ jsx65(
11210
- Icon,
11211
- {
11212
- icon: isLocked ? "lock" : icon ? icon : "arrows-expand-down-right",
11213
- iconColor: iconColor ? iconColor : "currentColor",
11214
- size: "1rem"
11215
- }
11216
- ),
11217
- children
11218
- ] }) });
11287
+ return /* @__PURE__ */ jsx67(Tooltip, { title, children: /* @__PURE__ */ jsxs45(
11288
+ "button",
11289
+ {
11290
+ css: inputIconBtn,
11291
+ type: "button",
11292
+ "aria-pressed": isBound,
11293
+ "aria-disabled": isLocked,
11294
+ ...props,
11295
+ children: [
11296
+ /* @__PURE__ */ jsx67(
11297
+ Icon,
11298
+ {
11299
+ icon: isLocked ? "lock" : icon ? icon : "arrows-expand-down-right",
11300
+ iconColor: iconColor ? iconColor : "currentColor",
11301
+ size: "1rem"
11302
+ }
11303
+ ),
11304
+ children
11305
+ ]
11306
+ }
11307
+ ) });
11219
11308
  };
11220
11309
 
11221
11310
  // src/components/ParameterInputs/hooks/ParameterShellContext.tsx
@@ -11240,8 +11329,8 @@ var useParameterShell = () => {
11240
11329
  };
11241
11330
 
11242
11331
  // src/components/ParameterInputs/styles/ParameterInput.styles.ts
11243
- import { css as css53 } from "@emotion/react";
11244
- var inputContainer2 = css53`
11332
+ import { css as css55 } from "@emotion/react";
11333
+ var inputContainer2 = css55`
11245
11334
  position: relative;
11246
11335
 
11247
11336
  &:hover,
@@ -11253,14 +11342,14 @@ var inputContainer2 = css53`
11253
11342
  }
11254
11343
  }
11255
11344
  `;
11256
- var labelText2 = css53`
11345
+ var labelText2 = css55`
11257
11346
  align-items: center;
11258
11347
  display: flex;
11259
11348
  gap: var(--spacing-xs);
11260
11349
  font-weight: var(--fw-regular);
11261
11350
  margin: 0 0 var(--spacing-xs);
11262
11351
  `;
11263
- var input2 = css53`
11352
+ var input2 = css55`
11264
11353
  display: block;
11265
11354
  appearance: none;
11266
11355
  box-sizing: border-box;
@@ -11304,18 +11393,18 @@ var input2 = css53`
11304
11393
  color: var(--gray-400);
11305
11394
  }
11306
11395
  `;
11307
- var selectInput = css53`
11396
+ var selectInput = css55`
11308
11397
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%0A%3E%3Cpath d='M6.34317 7.75732L4.92896 9.17154L12 16.2426L19.0711 9.17157L17.6569 7.75735L12 13.4142L6.34317 7.75732Z' fill='currentColor' /%3E%3C/svg%3E");
11309
11398
  background-position: right var(--spacing-sm) center;
11310
11399
  background-repeat: no-repeat;
11311
11400
  background-size: 1rem;
11312
11401
  padding-right: var(--spacing-xl);
11313
11402
  `;
11314
- var inputWrapper = css53`
11403
+ var inputWrapper = css55`
11315
11404
  display: flex; // used to correct overflow with chrome textarea
11316
11405
  position: relative;
11317
11406
  `;
11318
- var inputIcon2 = css53`
11407
+ var inputIcon2 = css55`
11319
11408
  align-items: center;
11320
11409
  background: var(--white);
11321
11410
  border-radius: var(--rounded-md) 0 0 var(--rounded-md);
@@ -11331,7 +11420,7 @@ var inputIcon2 = css53`
11331
11420
  width: var(--spacing-lg);
11332
11421
  z-index: var(--z-10);
11333
11422
  `;
11334
- var inputToggleLabel2 = css53`
11423
+ var inputToggleLabel2 = css55`
11335
11424
  align-items: center;
11336
11425
  background: var(--white);
11337
11426
  cursor: pointer;
@@ -11342,7 +11431,7 @@ var inputToggleLabel2 = css53`
11342
11431
  min-height: var(--spacing-md);
11343
11432
  position: relative;
11344
11433
  `;
11345
- var toggleInput2 = css53`
11434
+ var toggleInput2 = css55`
11346
11435
  appearance: none;
11347
11436
  border: 1px solid var(--gray-300);
11348
11437
  background: var(--white);
@@ -11381,7 +11470,7 @@ var toggleInput2 = css53`
11381
11470
  border-color: var(--gray-300);
11382
11471
  }
11383
11472
  `;
11384
- var inlineLabel2 = css53`
11473
+ var inlineLabel2 = css55`
11385
11474
  padding-left: var(--spacing-lg);
11386
11475
  font-size: var(--fs-sm);
11387
11476
  font-weight: var(--fw-regular);
@@ -11397,7 +11486,7 @@ var inlineLabel2 = css53`
11397
11486
  }
11398
11487
  }
11399
11488
  `;
11400
- var inputMenu = css53`
11489
+ var inputMenu = css55`
11401
11490
  background: none;
11402
11491
  border: none;
11403
11492
  padding: 0;
@@ -11418,22 +11507,22 @@ var inputMenu = css53`
11418
11507
 
11419
11508
  }
11420
11509
  `;
11421
- var textarea2 = css53`
11510
+ var textarea2 = css55`
11422
11511
  resize: vertical;
11423
11512
  min-height: 2rem;
11424
11513
  `;
11425
- var imageWrapper = css53`
11514
+ var imageWrapper = css55`
11426
11515
  background: var(--white);
11427
11516
  `;
11428
- var img = css53`
11517
+ var img = css55`
11429
11518
  animation: ${fadeIn} var(--duration-fast) var(--timing-ease-out) forwards;
11430
- aspect-ratio: 1 / 1;
11519
+ object-fit: contain;
11431
11520
  max-width: 100%;
11432
11521
  height: auto;
11433
11522
  opacity: var(--opacity-0);
11434
- margin-top: var(--spacing-sm);
11523
+ margin: var(--spacing-sm) auto 0;
11435
11524
  `;
11436
- var dataConnectButton = css53`
11525
+ var dataConnectButton = css55`
11437
11526
  align-items: center;
11438
11527
  appearance: none;
11439
11528
  box-sizing: border-box;
@@ -11468,7 +11557,7 @@ var dataConnectButton = css53`
11468
11557
  pointer-events: none;
11469
11558
  }
11470
11559
  `;
11471
- var linkParameterBtn = css53`
11560
+ var linkParameterBtn = css55`
11472
11561
  border-radius: var(--rounded-base);
11473
11562
  background: var(--white);
11474
11563
  border: none;
@@ -11480,10 +11569,10 @@ var linkParameterBtn = css53`
11480
11569
  inset: 0 var(--spacing-base) 0 auto;
11481
11570
  padding: 0 var(--spacing-base);
11482
11571
  `;
11483
- var linkParameterInput = css53`
11572
+ var linkParameterInput = css55`
11484
11573
  padding-right: calc(var(--spacing-2xl) + var(--spacing-base));
11485
11574
  `;
11486
- var linkParameterIcon = css53`
11575
+ var linkParameterIcon = css55`
11487
11576
  align-items: center;
11488
11577
  color: var(--brand-secondary-3);
11489
11578
  display: flex;
@@ -11498,7 +11587,7 @@ var linkParameterIcon = css53`
11498
11587
  `;
11499
11588
 
11500
11589
  // src/components/ParameterInputs/ParameterDataResource.tsx
11501
- import { jsx as jsx66, jsxs as jsxs46 } from "@emotion/react/jsx-runtime";
11590
+ import { jsx as jsx68, jsxs as jsxs46 } from "@emotion/react/jsx-runtime";
11502
11591
  function ParameterDataResource({
11503
11592
  label,
11504
11593
  labelLeadingIcon,
@@ -11522,43 +11611,43 @@ function ParameterDataResource({
11522
11611
  disabled,
11523
11612
  onClick: onConnectDatasource,
11524
11613
  children: [
11525
- /* @__PURE__ */ jsx66("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ jsx66(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
11614
+ /* @__PURE__ */ jsx68("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ jsx68(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
11526
11615
  children
11527
11616
  ]
11528
11617
  }
11529
11618
  ),
11530
- caption ? /* @__PURE__ */ jsx66(Caption, { children: caption }) : null
11619
+ caption ? /* @__PURE__ */ jsx68(Caption, { children: caption }) : null
11531
11620
  ] });
11532
11621
  }
11533
11622
 
11534
11623
  // src/components/ParameterInputs/styles/ParameterDrawerHeader.styles.ts
11535
- import { css as css54 } from "@emotion/react";
11536
- var ParameterDrawerHeaderContainer = css54`
11624
+ import { css as css56 } from "@emotion/react";
11625
+ var ParameterDrawerHeaderContainer = css56`
11537
11626
  align-items: center;
11538
11627
  display: flex;
11539
11628
  gap: var(--spacing-base);
11540
11629
  justify-content: space-between;
11541
11630
  margin-bottom: var(--spacing-sm);
11542
11631
  `;
11543
- var ParameterDrawerHeaderTitleGroup = css54`
11632
+ var ParameterDrawerHeaderTitleGroup = css56`
11544
11633
  align-items: center;
11545
11634
  display: flex;
11546
11635
  gap: var(--spacing-sm);
11547
11636
  `;
11548
- var ParameterDrawerHeaderTitle = css54`
11637
+ var ParameterDrawerHeaderTitle = css56`
11549
11638
  text-overflow: ellipsis;
11550
11639
  white-space: nowrap;
11551
11640
  overflow: hidden;
11552
- max-width: 16ch;
11641
+ max-width: 22ch;
11553
11642
  `;
11554
11643
 
11555
11644
  // src/components/ParameterInputs/ParameterDrawerHeader.tsx
11556
- import { jsx as jsx67, jsxs as jsxs47 } from "@emotion/react/jsx-runtime";
11645
+ import { jsx as jsx69, jsxs as jsxs47 } from "@emotion/react/jsx-runtime";
11557
11646
  var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
11558
11647
  return /* @__PURE__ */ jsxs47("div", { css: ParameterDrawerHeaderContainer, children: [
11559
11648
  /* @__PURE__ */ jsxs47("header", { css: ParameterDrawerHeaderTitleGroup, children: [
11560
11649
  iconBeforeTitle,
11561
- /* @__PURE__ */ jsx67(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
11650
+ /* @__PURE__ */ jsx69(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
11562
11651
  ] }),
11563
11652
  children
11564
11653
  ] });
@@ -11568,8 +11657,8 @@ var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
11568
11657
  import { forwardRef as forwardRef7 } from "react";
11569
11658
 
11570
11659
  // src/components/ParameterInputs/styles/ParameterGroup.styles.ts
11571
- import { css as css55 } from "@emotion/react";
11572
- var fieldsetStyles = css55`
11660
+ import { css as css57 } from "@emotion/react";
11661
+ var fieldsetStyles = css57`
11573
11662
  &:disabled,
11574
11663
  [readonly] {
11575
11664
  pointer-events: none;
@@ -11580,45 +11669,46 @@ var fieldsetStyles = css55`
11580
11669
  }
11581
11670
  }
11582
11671
  `;
11583
- var fieldsetLegend2 = css55`
11672
+ var fieldsetLegend2 = css57`
11584
11673
  display: block;
11585
11674
  font-weight: var(--fw-medium);
11586
11675
  margin-bottom: var(--spacing-sm);
11676
+ width: 100%;
11587
11677
  `;
11588
11678
 
11589
11679
  // src/components/ParameterInputs/ParameterGroup.tsx
11590
- import { jsx as jsx68, jsxs as jsxs48 } from "@emotion/react/jsx-runtime";
11680
+ import { jsx as jsx70, jsxs as jsxs48 } from "@emotion/react/jsx-runtime";
11591
11681
  var ParameterGroup = forwardRef7(
11592
11682
  ({ legend, isDisabled, children, ...props }, ref) => {
11593
11683
  return /* @__PURE__ */ jsxs48("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
11594
- /* @__PURE__ */ jsx68("legend", { css: fieldsetLegend2, children: legend }),
11684
+ /* @__PURE__ */ jsx70("legend", { css: fieldsetLegend2, children: legend }),
11595
11685
  children
11596
11686
  ] });
11597
11687
  }
11598
11688
  );
11599
11689
 
11600
11690
  // src/components/ParameterInputs/ParameterImage.tsx
11601
- import { forwardRef as forwardRef9, useCallback as useCallback2, useDeferredValue, useState as useState8 } from "react";
11691
+ import { forwardRef as forwardRef9, useCallback as useCallback2, useDeferredValue, useEffect as useEffect7, useState as useState8 } from "react";
11602
11692
 
11603
11693
  // src/components/ParameterInputs/ParameterShell.tsx
11604
11694
  import { useState as useState7 } from "react";
11605
11695
 
11606
11696
  // src/components/ParameterInputs/ParameterLabel.tsx
11607
- import { jsx as jsx69 } from "@emotion/react/jsx-runtime";
11697
+ import { jsx as jsx71 } from "@emotion/react/jsx-runtime";
11608
11698
  var ParameterLabel = ({ id, asSpan, children, ...props }) => {
11609
- return !asSpan ? /* @__PURE__ */ jsx69("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ jsx69("span", { "aria-labelledby": id, css: labelText2, children });
11699
+ return !asSpan ? /* @__PURE__ */ jsx71("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ jsx71("span", { "aria-labelledby": id, css: labelText2, children });
11610
11700
  };
11611
11701
 
11612
11702
  // src/components/ParameterInputs/ParameterMenuButton.tsx
11613
11703
  import { forwardRef as forwardRef8 } from "react";
11614
- import { jsx as jsx70 } from "@emotion/react/jsx-runtime";
11704
+ import { jsx as jsx72 } from "@emotion/react/jsx-runtime";
11615
11705
  var ParameterMenuButton = forwardRef8(
11616
11706
  ({ label, children }, ref) => {
11617
- return /* @__PURE__ */ jsx70(
11707
+ return /* @__PURE__ */ jsx72(
11618
11708
  Menu,
11619
11709
  {
11620
11710
  menuLabel: `${label} menu`,
11621
- menuTrigger: /* @__PURE__ */ jsx70(
11711
+ menuTrigger: /* @__PURE__ */ jsx72(
11622
11712
  "button",
11623
11713
  {
11624
11714
  className: "parameter-menu",
@@ -11626,7 +11716,7 @@ var ParameterMenuButton = forwardRef8(
11626
11716
  type: "button",
11627
11717
  "aria-label": `${label} options`,
11628
11718
  ref,
11629
- children: /* @__PURE__ */ jsx70(Icon, { icon: "more-alt", iconColor: "currentColor" })
11719
+ children: /* @__PURE__ */ jsx72(Icon, { icon: "more-alt", iconColor: "currentColor" })
11630
11720
  }
11631
11721
  ),
11632
11722
  children
@@ -11636,15 +11726,15 @@ var ParameterMenuButton = forwardRef8(
11636
11726
  );
11637
11727
 
11638
11728
  // src/components/ParameterInputs/styles/ParameterShell.styles.ts
11639
- import { css as css56 } from "@emotion/react";
11640
- var emptyParameterShell = css56`
11729
+ import { css as css58 } from "@emotion/react";
11730
+ var emptyParameterShell = css58`
11641
11731
  border-radius: var(--rounded-sm);
11642
11732
  background: var(--white);
11643
11733
  flex-grow: 1;
11644
11734
  padding: var(--spacing-xs);
11645
11735
  position: relative;
11646
11736
  `;
11647
- var emptyParameterShellText = css56`
11737
+ var emptyParameterShellText = css58`
11648
11738
  background: var(--brand-secondary-6);
11649
11739
  border-radius: var(--rounded-sm);
11650
11740
  padding: var(--spacing-sm);
@@ -11652,7 +11742,7 @@ var emptyParameterShellText = css56`
11652
11742
  font-size: var(--fs-sm);
11653
11743
  margin: 0;
11654
11744
  `;
11655
- var overrideMarker = css56`
11745
+ var overrideMarker = css58`
11656
11746
  border-radius: var(--rounded-sm);
11657
11747
  border: 10px solid var(--gray-300);
11658
11748
  border-left-color: transparent;
@@ -11663,7 +11753,7 @@ var overrideMarker = css56`
11663
11753
  `;
11664
11754
 
11665
11755
  // src/components/ParameterInputs/ParameterShell.tsx
11666
- import { jsx as jsx71, jsxs as jsxs49 } from "@emotion/react/jsx-runtime";
11756
+ import { jsx as jsx73, jsxs as jsxs49 } from "@emotion/react/jsx-runtime";
11667
11757
  var extractParameterProps = (props) => {
11668
11758
  const {
11669
11759
  id,
@@ -11677,7 +11767,8 @@ var extractParameterProps = (props) => {
11677
11767
  menuItems,
11678
11768
  onManuallySetErrorMessage,
11679
11769
  title,
11680
- hasOverridingParams,
11770
+ hasOverriddenValue,
11771
+ onResetOverriddenValue,
11681
11772
  ...innerProps
11682
11773
  } = props;
11683
11774
  return {
@@ -11693,7 +11784,8 @@ var extractParameterProps = (props) => {
11693
11784
  menuItems,
11694
11785
  onManuallySetErrorMessage,
11695
11786
  title,
11696
- hasOverridingParams
11787
+ hasOverriddenValue,
11788
+ onResetOverriddenValue
11697
11789
  },
11698
11790
  innerProps
11699
11791
  };
@@ -11708,7 +11800,8 @@ var ParameterShell = ({
11708
11800
  errorTestId,
11709
11801
  captionTestId,
11710
11802
  menuItems,
11711
- hasOverridingParams,
11803
+ hasOverriddenValue,
11804
+ onResetOverriddenValue,
11712
11805
  title,
11713
11806
  children,
11714
11807
  ...props
@@ -11726,8 +11819,8 @@ var ParameterShell = ({
11726
11819
  title
11727
11820
  ] }),
11728
11821
  /* @__PURE__ */ jsxs49("div", { css: inputWrapper, children: [
11729
- menuItems ? /* @__PURE__ */ jsx71(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
11730
- /* @__PURE__ */ jsx71(
11822
+ menuItems ? /* @__PURE__ */ jsx73(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
11823
+ /* @__PURE__ */ jsx73(
11731
11824
  ParameterShellContext.Provider,
11732
11825
  {
11733
11826
  value: {
@@ -11737,30 +11830,27 @@ var ParameterShell = ({
11737
11830
  errorMessage: errorMessaging,
11738
11831
  onManuallySetErrorMessage: (message) => setErrorMessage(message)
11739
11832
  },
11740
- children: children ? /* @__PURE__ */ jsxs49("div", { css: emptyParameterShell, children: [
11833
+ children: /* @__PURE__ */ jsxs49(ParameterShellPlaceholder, { children: [
11741
11834
  children,
11742
- hasOverridingParams ? /* @__PURE__ */ jsx71(ParameterOverrideMarker, {}) : null
11743
- ] }) : /* @__PURE__ */ jsx71(ParameterShellPlaceholder, { hasOverridingParams: true })
11835
+ hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx73(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
11836
+ ] })
11744
11837
  }
11745
11838
  )
11746
11839
  ] }),
11747
- caption ? /* @__PURE__ */ jsx71(Caption, { testId: captionTestId, children: caption }) : null,
11748
- errorMessaging ? /* @__PURE__ */ jsx71(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null
11840
+ caption ? /* @__PURE__ */ jsx73(Caption, { testId: captionTestId, children: caption }) : null,
11841
+ errorMessaging ? /* @__PURE__ */ jsx73(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null
11749
11842
  ] });
11750
11843
  };
11751
- var ParameterShellPlaceholder = ({ hasOverridingParams }) => {
11752
- return /* @__PURE__ */ jsxs49("div", { role: "note", css: emptyParameterShell, children: [
11753
- /* @__PURE__ */ jsx71("p", { css: emptyParameterShellText, children: "Use component swap to replace with a parameter slot component" }),
11754
- hasOverridingParams ? /* @__PURE__ */ jsx71(ParameterOverrideMarker, {}) : null
11755
- ] });
11844
+ var ParameterShellPlaceholder = ({ children }) => {
11845
+ return /* @__PURE__ */ jsx73("div", { css: emptyParameterShell, children });
11756
11846
  };
11757
- var ParameterOverrideMarker = () => /* @__PURE__ */ jsx71(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx71("span", { role: "presentation", css: overrideMarker }) });
11847
+ var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx73(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx73("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx73("span", { hidden: true, children: "reset overridden value to default" }) }) });
11758
11848
 
11759
11849
  // src/components/ParameterInputs/ParameterImage.tsx
11760
- import { Fragment as Fragment10, jsx as jsx72, jsxs as jsxs50 } from "@emotion/react/jsx-runtime";
11850
+ import { Fragment as Fragment10, jsx as jsx74, jsxs as jsxs50 } from "@emotion/react/jsx-runtime";
11761
11851
  var ParameterImage = forwardRef9((props, ref) => {
11762
11852
  const { shellProps, innerProps } = extractParameterProps(props);
11763
- return /* @__PURE__ */ jsx72(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: /* @__PURE__ */ jsx72(ParameterImageInner, { ref, ...innerProps }) });
11853
+ return /* @__PURE__ */ jsx74(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: /* @__PURE__ */ jsx74(ParameterImageInner, { ref, ...innerProps }) });
11764
11854
  });
11765
11855
  var BrokenImage = ({ ...props }) => {
11766
11856
  return /* @__PURE__ */ jsxs50(
@@ -11774,11 +11864,11 @@ var BrokenImage = ({ ...props }) => {
11774
11864
  xmlnsXlink: "http://www.w3.org/1999/xlink",
11775
11865
  ...props,
11776
11866
  children: [
11777
- /* @__PURE__ */ jsx72("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
11778
- /* @__PURE__ */ jsx72("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
11867
+ /* @__PURE__ */ jsx74("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
11868
+ /* @__PURE__ */ jsx74("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
11779
11869
  /* @__PURE__ */ jsxs50("defs", { children: [
11780
- /* @__PURE__ */ jsx72("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ jsx72("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
11781
- /* @__PURE__ */ jsx72(
11870
+ /* @__PURE__ */ jsx74("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ jsx74("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
11871
+ /* @__PURE__ */ jsx74(
11782
11872
  "image",
11783
11873
  {
11784
11874
  id: "image0_761_4353",
@@ -11794,29 +11884,25 @@ var BrokenImage = ({ ...props }) => {
11794
11884
  };
11795
11885
  var ParameterImageInner = forwardRef9(
11796
11886
  ({ ...props }, ref) => {
11887
+ const { value } = props;
11797
11888
  const { id, label, hiddenLabel, errorMessage, onManuallySetErrorMessage } = useParameterShell();
11798
- const [imageSrc, setImageSrc] = useState8();
11799
11889
  const [loading, setLoading] = useState8(false);
11800
- const deferredValue = useDeferredValue(imageSrc);
11890
+ const deferredValue = useDeferredValue(value);
11801
11891
  const errorText = "The text you provided is not a valid URL";
11802
- const updateImageSrc = useCallback2(
11803
- (e) => {
11804
- let message = void 0;
11805
- try {
11806
- if (e.currentTarget.value !== "") {
11807
- new URL(e.currentTarget.value);
11808
- setImageSrc(e.currentTarget.value);
11809
- }
11810
- message = void 0;
11811
- } catch (e2) {
11812
- message = errorText;
11813
- }
11814
- if (onManuallySetErrorMessage) {
11815
- onManuallySetErrorMessage(message);
11892
+ const updateImageSrc = useCallback2(() => {
11893
+ let message = void 0;
11894
+ try {
11895
+ if (value !== "") {
11896
+ new URL(value);
11816
11897
  }
11817
- },
11818
- [onManuallySetErrorMessage]
11819
- );
11898
+ message = void 0;
11899
+ } catch (e) {
11900
+ message = errorText;
11901
+ }
11902
+ if (onManuallySetErrorMessage) {
11903
+ onManuallySetErrorMessage(message);
11904
+ }
11905
+ }, [onManuallySetErrorMessage, value]);
11820
11906
  const handleLoadEvent = () => {
11821
11907
  if (deferredValue) {
11822
11908
  setLoading(true);
@@ -11831,8 +11917,11 @@ var ParameterImageInner = forwardRef9(
11831
11917
  onManuallySetErrorMessage(errorText);
11832
11918
  }
11833
11919
  };
11920
+ useEffect7(() => {
11921
+ updateImageSrc();
11922
+ }, [value]);
11834
11923
  return /* @__PURE__ */ jsxs50(Fragment10, { children: [
11835
- /* @__PURE__ */ jsx72(
11924
+ /* @__PURE__ */ jsx74(
11836
11925
  "input",
11837
11926
  {
11838
11927
  css: input2,
@@ -11841,41 +11930,38 @@ var ParameterImageInner = forwardRef9(
11841
11930
  ref,
11842
11931
  "aria-label": hiddenLabel ? label : void 0,
11843
11932
  autoComplete: "off",
11844
- onChange: (e) => updateImageSrc(e),
11845
11933
  ...props
11846
11934
  }
11847
11935
  ),
11848
11936
  /* @__PURE__ */ jsxs50("div", { css: imageWrapper, children: [
11849
- deferredValue && !errorMessage ? /* @__PURE__ */ jsx72(
11937
+ deferredValue && !errorMessage ? /* @__PURE__ */ jsx74(
11850
11938
  "img",
11851
11939
  {
11852
11940
  src: deferredValue,
11853
11941
  css: img,
11854
11942
  onLoad: handleLoadEvent,
11855
11943
  onError: handleErrorEvent,
11856
- width: 214,
11857
- height: 214,
11858
11944
  loading: "lazy"
11859
11945
  }
11860
11946
  ) : null,
11861
- deferredValue && errorMessage ? /* @__PURE__ */ jsx72(BrokenImage, { css: img }) : null
11947
+ deferredValue && errorMessage ? /* @__PURE__ */ jsx74(BrokenImage, { css: img }) : null
11862
11948
  ] }),
11863
- loading ? /* @__PURE__ */ jsx72(LoadingIcon, {}) : null
11949
+ loading ? /* @__PURE__ */ jsx74(LoadingIcon, {}) : null
11864
11950
  ] });
11865
11951
  }
11866
11952
  );
11867
11953
 
11868
11954
  // src/components/ParameterInputs/ParameterInput.tsx
11869
11955
  import { forwardRef as forwardRef10 } from "react";
11870
- import { jsx as jsx73 } from "@emotion/react/jsx-runtime";
11956
+ import { jsx as jsx75 } from "@emotion/react/jsx-runtime";
11871
11957
  var ParameterInput = forwardRef10((props, ref) => {
11872
11958
  const { shellProps, innerProps } = extractParameterProps(props);
11873
- return /* @__PURE__ */ jsx73(ParameterShell, { "data-test-id": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx73(ParameterInputInner, { ref, ...innerProps }) });
11959
+ return /* @__PURE__ */ jsx75(ParameterShell, { "data-test-id": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx75(ParameterInputInner, { ref, ...innerProps }) });
11874
11960
  });
11875
11961
  var ParameterInputInner = forwardRef10(
11876
11962
  ({ ...props }, ref) => {
11877
11963
  const { id, label, hiddenLabel } = useParameterShell();
11878
- return /* @__PURE__ */ jsx73(
11964
+ return /* @__PURE__ */ jsx75(
11879
11965
  "input",
11880
11966
  {
11881
11967
  css: input2,
@@ -11892,18 +11978,18 @@ var ParameterInputInner = forwardRef10(
11892
11978
 
11893
11979
  // src/components/ParameterInputs/ParameterLink.tsx
11894
11980
  import { forwardRef as forwardRef11 } from "react";
11895
- import { jsx as jsx74, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
11981
+ import { jsx as jsx76, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
11896
11982
  var ParameterLink = forwardRef11(
11897
11983
  ({ buttonText = "Select project map node", disabled, onConnectLink, externalLink, ...props }, ref) => {
11898
11984
  const { shellProps, innerProps } = extractParameterProps(props);
11899
- return /* @__PURE__ */ jsx74(
11985
+ return /* @__PURE__ */ jsx76(
11900
11986
  ParameterShell,
11901
11987
  {
11902
- "data-test-id": "parameter-link",
11988
+ "data-test-id": "link-parameter-editor",
11903
11989
  ...shellProps,
11904
11990
  label: innerProps.value ? shellProps.label : "",
11905
11991
  title: !innerProps.value ? shellProps.label : void 0,
11906
- children: !innerProps.value ? /* @__PURE__ */ jsx74("button", { type: "button", css: dataConnectButton, disabled, onClick: onConnectLink, children: buttonText }) : /* @__PURE__ */ jsx74(
11992
+ children: !innerProps.value ? /* @__PURE__ */ jsx76("button", { type: "button", css: dataConnectButton, disabled, onClick: onConnectLink, children: buttonText }) : /* @__PURE__ */ jsx76(
11907
11993
  ParameterLinkInner,
11908
11994
  {
11909
11995
  onConnectLink,
@@ -11920,7 +12006,7 @@ var ParameterLinkInner = forwardRef11(
11920
12006
  ({ externalLink, onConnectLink, disabled, ...props }, ref) => {
11921
12007
  const { id, label, hiddenLabel } = useParameterShell();
11922
12008
  return /* @__PURE__ */ jsxs51("div", { css: inputWrapper, children: [
11923
- /* @__PURE__ */ jsx74(
12009
+ /* @__PURE__ */ jsx76(
11924
12010
  "input",
11925
12011
  {
11926
12012
  type: "text",
@@ -11932,7 +12018,7 @@ var ParameterLinkInner = forwardRef11(
11932
12018
  ...props
11933
12019
  }
11934
12020
  ),
11935
- /* @__PURE__ */ jsx74(
12021
+ /* @__PURE__ */ jsx76(
11936
12022
  "button",
11937
12023
  {
11938
12024
  type: "button",
@@ -11943,7 +12029,7 @@ var ParameterLinkInner = forwardRef11(
11943
12029
  children: "edit"
11944
12030
  }
11945
12031
  ),
11946
- externalLink ? /* @__PURE__ */ jsx74(
12032
+ externalLink ? /* @__PURE__ */ jsx76(
11947
12033
  "a",
11948
12034
  {
11949
12035
  href: externalLink,
@@ -11951,7 +12037,7 @@ var ParameterLinkInner = forwardRef11(
11951
12037
  title: "Open link in new tab",
11952
12038
  target: "_blank",
11953
12039
  rel: "noopener noreferrer",
11954
- children: /* @__PURE__ */ jsx74(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
12040
+ children: /* @__PURE__ */ jsx76(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
11955
12041
  }
11956
12042
  ) : null
11957
12043
  ] });
@@ -11959,7 +12045,7 @@ var ParameterLinkInner = forwardRef11(
11959
12045
  );
11960
12046
 
11961
12047
  // src/components/ParameterInputs/ParameterNameAndPublicIdInput.tsx
11962
- import { Fragment as Fragment11, jsx as jsx75, jsxs as jsxs52 } from "@emotion/react/jsx-runtime";
12048
+ import { Fragment as Fragment11, jsx as jsx77, jsxs as jsxs52 } from "@emotion/react/jsx-runtime";
11963
12049
  var ParameterNameAndPublicIdInput = ({
11964
12050
  id,
11965
12051
  onBlur,
@@ -11986,7 +12072,7 @@ var ParameterNameAndPublicIdInput = ({
11986
12072
  };
11987
12073
  autoFocus == null ? void 0 : autoFocus();
11988
12074
  return /* @__PURE__ */ jsxs52(Fragment11, { children: [
11989
- /* @__PURE__ */ jsx75(
12075
+ /* @__PURE__ */ jsx77(
11990
12076
  ParameterInput,
11991
12077
  {
11992
12078
  id: nameIdField,
@@ -12005,7 +12091,7 @@ var ParameterNameAndPublicIdInput = ({
12005
12091
  value: values[nameIdField]
12006
12092
  }
12007
12093
  ),
12008
- /* @__PURE__ */ jsx75(
12094
+ /* @__PURE__ */ jsx77(
12009
12095
  ParameterInput,
12010
12096
  {
12011
12097
  id: publicIdFieldName,
@@ -12019,11 +12105,11 @@ var ParameterNameAndPublicIdInput = ({
12019
12105
  caption: publicIdCaption,
12020
12106
  placeholder: publicIdPlaceholderText,
12021
12107
  errorMessage: publicIdError,
12022
- menuItems: /* @__PURE__ */ jsx75(
12108
+ menuItems: /* @__PURE__ */ jsx77(
12023
12109
  MenuItem,
12024
12110
  {
12025
12111
  disabled: !values[publicIdFieldName],
12026
- icon: /* @__PURE__ */ jsx75(Icon, { icon: "path-trim", iconColor: "currentColor" }),
12112
+ icon: /* @__PURE__ */ jsx77(Icon, { icon: "path-trim", iconColor: "currentColor" }),
12027
12113
  onClick: handleCopyPidFieldValue,
12028
12114
  children: "Copy"
12029
12115
  }
@@ -12031,13 +12117,13 @@ var ParameterNameAndPublicIdInput = ({
12031
12117
  value: values[publicIdFieldName]
12032
12118
  }
12033
12119
  ),
12034
- (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx75(Callout, { type: "caution", children: warnOverLength.message }) : null
12120
+ (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx77(Callout, { type: "caution", children: warnOverLength.message }) : null
12035
12121
  ] });
12036
12122
  };
12037
12123
 
12038
12124
  // src/components/ParameterInputs/ParameterRichText.tsx
12039
12125
  import { forwardRef as forwardRef12 } from "react";
12040
- import { Fragment as Fragment12, jsx as jsx76, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
12126
+ import { Fragment as Fragment12, jsx as jsx78, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
12041
12127
  var ParameterRichText = forwardRef12(
12042
12128
  ({
12043
12129
  label,
@@ -12064,8 +12150,8 @@ var ParameterRichText = forwardRef12(
12064
12150
  captionTestId,
12065
12151
  menuItems,
12066
12152
  children: [
12067
- /* @__PURE__ */ jsx76(ParameterRichTextInner, { ref, ...props }),
12068
- menuItems ? /* @__PURE__ */ jsx76(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx76(Fragment12, { children: menuItems }) }) : null
12153
+ /* @__PURE__ */ jsx78(ParameterRichTextInner, { ref, ...props }),
12154
+ menuItems ? /* @__PURE__ */ jsx78(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx78(Fragment12, { children: menuItems }) }) : null
12069
12155
  ]
12070
12156
  }
12071
12157
  );
@@ -12073,7 +12159,7 @@ var ParameterRichText = forwardRef12(
12073
12159
  );
12074
12160
  var ParameterRichTextInner = forwardRef12(({ ...props }, ref) => {
12075
12161
  const { id, label, hiddenLabel } = useParameterShell();
12076
- return /* @__PURE__ */ jsx76(
12162
+ return /* @__PURE__ */ jsx78(
12077
12163
  "textarea",
12078
12164
  {
12079
12165
  css: [input2, textarea2],
@@ -12087,11 +12173,11 @@ var ParameterRichTextInner = forwardRef12(({ ...props }, ref) => {
12087
12173
 
12088
12174
  // src/components/ParameterInputs/ParameterSelect.tsx
12089
12175
  import { forwardRef as forwardRef13 } from "react";
12090
- import { jsx as jsx77, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
12176
+ import { jsx as jsx79, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
12091
12177
  var ParameterSelect = forwardRef13(
12092
12178
  ({ defaultOption, options, ...props }, ref) => {
12093
12179
  const { shellProps, innerProps } = extractParameterProps(props);
12094
- return /* @__PURE__ */ jsx77(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx77(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
12180
+ return /* @__PURE__ */ jsx79(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx79(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
12095
12181
  }
12096
12182
  );
12097
12183
  var ParameterSelectInner = forwardRef13(
@@ -12106,10 +12192,10 @@ var ParameterSelectInner = forwardRef13(
12106
12192
  ref,
12107
12193
  ...props,
12108
12194
  children: [
12109
- defaultOption ? /* @__PURE__ */ jsx77("option", { value: "", children: defaultOption }) : null,
12195
+ defaultOption ? /* @__PURE__ */ jsx79("option", { value: "", children: defaultOption }) : null,
12110
12196
  options.map((option) => {
12111
12197
  var _a;
12112
- return /* @__PURE__ */ jsx77("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
12198
+ return /* @__PURE__ */ jsx79("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
12113
12199
  })
12114
12200
  ]
12115
12201
  }
@@ -12119,14 +12205,14 @@ var ParameterSelectInner = forwardRef13(
12119
12205
 
12120
12206
  // src/components/ParameterInputs/ParameterTextarea.tsx
12121
12207
  import { forwardRef as forwardRef14 } from "react";
12122
- import { jsx as jsx78 } from "@emotion/react/jsx-runtime";
12208
+ import { jsx as jsx80 } from "@emotion/react/jsx-runtime";
12123
12209
  var ParameterTextarea = forwardRef14((props, ref) => {
12124
12210
  const { shellProps, innerProps } = extractParameterProps(props);
12125
- return /* @__PURE__ */ jsx78(ParameterShell, { "data-test-id": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx78(ParameterTextareaInner, { ref, ...innerProps }) });
12211
+ return /* @__PURE__ */ jsx80(ParameterShell, { "data-test-id": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx80(ParameterTextareaInner, { ref, ...innerProps }) });
12126
12212
  });
12127
12213
  var ParameterTextareaInner = forwardRef14(({ ...props }, ref) => {
12128
12214
  const { id, label, hiddenLabel } = useParameterShell();
12129
- return /* @__PURE__ */ jsx78(
12215
+ return /* @__PURE__ */ jsx80(
12130
12216
  "textarea",
12131
12217
  {
12132
12218
  css: [input2, textarea2],
@@ -12140,34 +12226,80 @@ var ParameterTextareaInner = forwardRef14(({ ...props }, ref) => {
12140
12226
 
12141
12227
  // src/components/ParameterInputs/ParameterToggle.tsx
12142
12228
  import { forwardRef as forwardRef15 } from "react";
12143
- import { jsx as jsx79, jsxs as jsxs55 } from "@emotion/react/jsx-runtime";
12229
+ import { jsx as jsx81, jsxs as jsxs55 } from "@emotion/react/jsx-runtime";
12144
12230
  var ParameterToggle = forwardRef15((props, ref) => {
12145
12231
  const { shellProps, innerProps } = extractParameterProps(props);
12146
- return /* @__PURE__ */ jsx79(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx79(ParameterToggleInner, { ref, ...innerProps }) });
12232
+ return /* @__PURE__ */ jsx81(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx81(ParameterToggleInner, { ref, ...innerProps }) });
12147
12233
  });
12148
12234
  var ParameterToggleInner = forwardRef15(
12149
12235
  ({ ...props }, ref) => {
12150
12236
  const { id, label } = useParameterShell();
12151
12237
  return /* @__PURE__ */ jsxs55("label", { css: inputToggleLabel2, children: [
12152
- /* @__PURE__ */ jsx79("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
12153
- /* @__PURE__ */ jsx79("span", { css: inlineLabel2, children: label })
12238
+ /* @__PURE__ */ jsx81("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
12239
+ /* @__PURE__ */ jsx81("span", { css: inlineLabel2, children: label })
12154
12240
  ] });
12155
12241
  }
12156
12242
  );
12157
12243
 
12244
+ // src/components/Popover/Popover.tsx
12245
+ import {
12246
+ Popover as ReakitPopover,
12247
+ PopoverDisclosure,
12248
+ usePopoverState
12249
+ } from "reakit/Popover";
12250
+ import { Portal as Portal2 } from "reakit/Portal";
12251
+
12252
+ // src/components/Popover/Popover.styles.ts
12253
+ import { css as css59 } from "@emotion/react";
12254
+ var PopoverBtn = css59`
12255
+ border: none;
12256
+ background: none;
12257
+ padding: 0;
12258
+ `;
12259
+ var Popover = css59`
12260
+ border-left: var(--spacing-xs) solid var(--brand-secondary-3);
12261
+ border-radius: var(--rounded-base);
12262
+ box-shadow: var(--shadow-base);
12263
+ background: var(--white);
12264
+ display: grid;
12265
+ gap: var(--spacing-sm);
12266
+ padding: var(--spacing-sm);
12267
+ font-size: var(--fs-sm);
12268
+ max-width: 220px;
12269
+ `;
12270
+
12271
+ // src/components/Popover/Popover.tsx
12272
+ import { Fragment as Fragment13, jsx as jsx82, jsxs as jsxs56 } from "@emotion/react/jsx-runtime";
12273
+ var Popover2 = ({
12274
+ iconColor = "green",
12275
+ buttonText,
12276
+ ariaLabel,
12277
+ placement = "bottom",
12278
+ children
12279
+ }) => {
12280
+ const popover = usePopoverState({ placement });
12281
+ return /* @__PURE__ */ jsxs56(Fragment13, { children: [
12282
+ /* @__PURE__ */ jsxs56(PopoverDisclosure, { ...popover, css: PopoverBtn, title: buttonText, children: [
12283
+ /* @__PURE__ */ jsx82(Icon, { icon: "info", iconColor, size: "1rem" }),
12284
+ /* @__PURE__ */ jsx82("span", { hidden: true, children: buttonText })
12285
+ ] }),
12286
+ /* @__PURE__ */ jsx82(Portal2, { children: /* @__PURE__ */ jsx82(ReakitPopover, { css: Popover, ...popover, "aria-label": ariaLabel, children }) })
12287
+ ] });
12288
+ };
12289
+
12158
12290
  // src/components/Skeleton/Skeleton.styles.ts
12159
- import { css as css57, keyframes as keyframes4 } from "@emotion/react";
12291
+ import { css as css60, keyframes as keyframes4 } from "@emotion/react";
12160
12292
  var lightFadingOut = keyframes4`
12161
12293
  from { opacity: 0.1; }
12162
12294
  to { opacity: 0.025; }
12163
12295
  `;
12164
- var skeletonStyles = css57`
12296
+ var skeletonStyles = css60`
12165
12297
  animation: ${lightFadingOut} 1s ease-out infinite alternate;
12166
12298
  background-color: var(--gray-900);
12167
12299
  `;
12168
12300
 
12169
12301
  // src/components/Skeleton/Skeleton.tsx
12170
- import { jsx as jsx80 } from "@emotion/react/jsx-runtime";
12302
+ import { jsx as jsx83 } from "@emotion/react/jsx-runtime";
12171
12303
  var Skeleton = ({
12172
12304
  width = "100%",
12173
12305
  height = "1.25rem",
@@ -12175,7 +12307,7 @@ var Skeleton = ({
12175
12307
  circle = false,
12176
12308
  children,
12177
12309
  ...otherProps
12178
- }) => /* @__PURE__ */ jsx80(
12310
+ }) => /* @__PURE__ */ jsx83(
12179
12311
  "div",
12180
12312
  {
12181
12313
  css: [
@@ -12198,8 +12330,8 @@ var Skeleton = ({
12198
12330
  import * as React15 from "react";
12199
12331
 
12200
12332
  // src/components/Switch/Switch.styles.ts
12201
- import { css as css58 } from "@emotion/react";
12202
- var SwitchInputContainer = css58`
12333
+ import { css as css61 } from "@emotion/react";
12334
+ var SwitchInputContainer = css61`
12203
12335
  cursor: pointer;
12204
12336
  display: inline-block;
12205
12337
  position: relative;
@@ -12208,7 +12340,7 @@ var SwitchInputContainer = css58`
12208
12340
  vertical-align: middle;
12209
12341
  user-select: none;
12210
12342
  `;
12211
- var SwitchInput = css58`
12343
+ var SwitchInput = css61`
12212
12344
  appearance: none;
12213
12345
  border-radius: var(--rounded-full);
12214
12346
  background-color: var(--white);
@@ -12246,7 +12378,7 @@ var SwitchInput = css58`
12246
12378
  cursor: not-allowed;
12247
12379
  }
12248
12380
  `;
12249
- var SwitchInputDisabled = css58`
12381
+ var SwitchInputDisabled = css61`
12250
12382
  opacity: var(--opacity-50);
12251
12383
  cursor: not-allowed;
12252
12384
 
@@ -12254,7 +12386,7 @@ var SwitchInputDisabled = css58`
12254
12386
  cursor: not-allowed;
12255
12387
  }
12256
12388
  `;
12257
- var SwitchInputLabel = css58`
12389
+ var SwitchInputLabel = css61`
12258
12390
  align-items: center;
12259
12391
  color: var(--brand-secondary-1);
12260
12392
  display: inline-flex;
@@ -12276,26 +12408,26 @@ var SwitchInputLabel = css58`
12276
12408
  top: 0;
12277
12409
  }
12278
12410
  `;
12279
- var SwitchText = css58`
12411
+ var SwitchText = css61`
12280
12412
  color: var(--gray-500);
12281
12413
  font-size: var(--fs-sm);
12282
12414
  padding-inline: var(--spacing-2xl) 0;
12283
12415
  `;
12284
12416
 
12285
12417
  // src/components/Switch/Switch.tsx
12286
- import { Fragment as Fragment13, jsx as jsx81, jsxs as jsxs56 } from "@emotion/react/jsx-runtime";
12418
+ import { Fragment as Fragment14, jsx as jsx84, jsxs as jsxs57 } from "@emotion/react/jsx-runtime";
12287
12419
  var Switch = React15.forwardRef(
12288
12420
  ({ label, infoText, toggleText, children, ...inputProps }, ref) => {
12289
12421
  let additionalText = infoText;
12290
12422
  if (infoText && toggleText) {
12291
12423
  additionalText = inputProps.checked ? toggleText : infoText;
12292
12424
  }
12293
- return /* @__PURE__ */ jsxs56(Fragment13, { children: [
12294
- /* @__PURE__ */ jsxs56("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
12295
- /* @__PURE__ */ jsx81("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
12296
- /* @__PURE__ */ jsx81("span", { css: SwitchInputLabel, children: label })
12425
+ return /* @__PURE__ */ jsxs57(Fragment14, { children: [
12426
+ /* @__PURE__ */ jsxs57("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
12427
+ /* @__PURE__ */ jsx84("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
12428
+ /* @__PURE__ */ jsx84("span", { css: SwitchInputLabel, children: label })
12297
12429
  ] }),
12298
- additionalText ? /* @__PURE__ */ jsx81("p", { css: SwitchText, children: additionalText }) : null,
12430
+ additionalText ? /* @__PURE__ */ jsx84("p", { css: SwitchText, children: additionalText }) : null,
12299
12431
  children
12300
12432
  ] });
12301
12433
  }
@@ -12305,69 +12437,69 @@ var Switch = React15.forwardRef(
12305
12437
  import * as React16 from "react";
12306
12438
 
12307
12439
  // src/components/Table/Table.styles.ts
12308
- import { css as css59 } from "@emotion/react";
12309
- var table = css59`
12440
+ import { css as css62 } from "@emotion/react";
12441
+ var table = css62`
12310
12442
  border-bottom: 1px solid var(--gray-400);
12311
12443
  border-collapse: collapse;
12312
12444
  min-width: 100%;
12313
12445
  table-layout: auto;
12314
12446
  `;
12315
- var tableHead = css59`
12447
+ var tableHead = css62`
12316
12448
  background: var(--gray-100);
12317
12449
  color: var(--brand-secondary-1);
12318
12450
  text-align: left;
12319
12451
  `;
12320
- var tableRow = css59`
12452
+ var tableRow = css62`
12321
12453
  border-bottom: 1px solid var(--gray-200);
12322
12454
  `;
12323
- var tableCellHead = css59`
12455
+ var tableCellHead = css62`
12324
12456
  font-size: var(--fs-sm);
12325
12457
  padding: var(--spacing-base) var(--spacing-md);
12326
12458
  text-transform: uppercase;
12327
12459
  font-weight: var(--fw-bold);
12328
12460
  `;
12329
- var tableCellData = css59`
12461
+ var tableCellData = css62`
12330
12462
  padding: var(--spacing-base) var(--spacing-md);
12331
12463
  `;
12332
12464
 
12333
12465
  // src/components/Table/Table.tsx
12334
- import { jsx as jsx82 } from "@emotion/react/jsx-runtime";
12466
+ import { jsx as jsx85 } from "@emotion/react/jsx-runtime";
12335
12467
  var Table = React16.forwardRef(({ children, ...otherProps }, ref) => {
12336
- return /* @__PURE__ */ jsx82("table", { ref, css: table, ...otherProps, children });
12468
+ return /* @__PURE__ */ jsx85("table", { ref, css: table, ...otherProps, children });
12337
12469
  });
12338
12470
  var TableHead = React16.forwardRef(
12339
12471
  ({ children, ...otherProps }, ref) => {
12340
- return /* @__PURE__ */ jsx82("thead", { ref, css: tableHead, ...otherProps, children });
12472
+ return /* @__PURE__ */ jsx85("thead", { ref, css: tableHead, ...otherProps, children });
12341
12473
  }
12342
12474
  );
12343
12475
  var TableBody = React16.forwardRef(
12344
12476
  ({ children, ...otherProps }, ref) => {
12345
- return /* @__PURE__ */ jsx82("tbody", { ref, ...otherProps, children });
12477
+ return /* @__PURE__ */ jsx85("tbody", { ref, ...otherProps, children });
12346
12478
  }
12347
12479
  );
12348
12480
  var TableFoot = React16.forwardRef(
12349
12481
  ({ children, ...otherProps }, ref) => {
12350
- return /* @__PURE__ */ jsx82("tfoot", { ref, ...otherProps, children });
12482
+ return /* @__PURE__ */ jsx85("tfoot", { ref, ...otherProps, children });
12351
12483
  }
12352
12484
  );
12353
12485
  var TableRow = React16.forwardRef(
12354
12486
  ({ children, ...otherProps }, ref) => {
12355
- return /* @__PURE__ */ jsx82("tr", { ref, css: tableRow, ...otherProps, children });
12487
+ return /* @__PURE__ */ jsx85("tr", { ref, css: tableRow, ...otherProps, children });
12356
12488
  }
12357
12489
  );
12358
12490
  var TableCellHead = React16.forwardRef(
12359
12491
  ({ children, ...otherProps }, ref) => {
12360
- return /* @__PURE__ */ jsx82("th", { ref, css: tableCellHead, ...otherProps, children });
12492
+ return /* @__PURE__ */ jsx85("th", { ref, css: tableCellHead, ...otherProps, children });
12361
12493
  }
12362
12494
  );
12363
12495
  var TableCellData = React16.forwardRef(
12364
12496
  ({ children, ...otherProps }, ref) => {
12365
- return /* @__PURE__ */ jsx82("td", { ref, css: tableCellData, ...otherProps, children });
12497
+ return /* @__PURE__ */ jsx85("td", { ref, css: tableCellData, ...otherProps, children });
12366
12498
  }
12367
12499
  );
12368
12500
 
12369
12501
  // src/components/Tabs/Tabs.tsx
12370
- import { createContext as createContext6, useContext as useContext7, useEffect as useEffect7, useMemo as useMemo2 } from "react";
12502
+ import { createContext as createContext6, useContext as useContext7, useEffect as useEffect8, useMemo as useMemo2 } from "react";
12371
12503
  import {
12372
12504
  Tab as ReakitTab,
12373
12505
  TabList as ReakitTabList,
@@ -12376,8 +12508,8 @@ import {
12376
12508
  } from "reakit/Tab";
12377
12509
 
12378
12510
  // src/components/Tabs/Tabs.styles.ts
12379
- import { css as css60 } from "@emotion/react";
12380
- var tabButtonStyles = css60`
12511
+ import { css as css63 } from "@emotion/react";
12512
+ var tabButtonStyles = css63`
12381
12513
  align-items: center;
12382
12514
  border: 0;
12383
12515
  height: 2.5rem;
@@ -12394,14 +12526,14 @@ var tabButtonStyles = css60`
12394
12526
  -webkit-text-stroke-width: thin;
12395
12527
  }
12396
12528
  `;
12397
- var tabButtonGroupStyles = css60`
12529
+ var tabButtonGroupStyles = css63`
12398
12530
  display: flex;
12399
12531
  gap: var(--spacing-base);
12400
12532
  border-bottom: 1px solid var(--gray-300);
12401
12533
  `;
12402
12534
 
12403
12535
  // src/components/Tabs/Tabs.tsx
12404
- import { jsx as jsx83 } from "@emotion/react/jsx-runtime";
12536
+ import { jsx as jsx86 } from "@emotion/react/jsx-runtime";
12405
12537
  var CurrentTabContext = createContext6(null);
12406
12538
  var useCurrentTab = () => {
12407
12539
  const context = useContext7(CurrentTabContext);
@@ -12417,7 +12549,7 @@ var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...prop
12417
12549
  return useHashForState && typeof window !== "undefined" && window.location.hash ? window.location.hash.substring(1) : void 0;
12418
12550
  }, [selectedId, useHashForState]);
12419
12551
  const tab = useTabState({ ...props, selectedId: selected });
12420
- useEffect7(() => {
12552
+ useEffect8(() => {
12421
12553
  var _a;
12422
12554
  const selectedValueWithoutNull = (_a = tab.selectedId) != null ? _a : void 0;
12423
12555
  onSelectedIdChange == null ? void 0 : onSelectedIdChange(selectedValueWithoutNull);
@@ -12425,34 +12557,33 @@ var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...prop
12425
12557
  window.location.hash = selectedValueWithoutNull != null ? selectedValueWithoutNull : "";
12426
12558
  }
12427
12559
  }, [tab.selectedId, onSelectedIdChange, useHashForState]);
12428
- useEffect7(() => {
12560
+ useEffect8(() => {
12429
12561
  if (selected && selected !== tab.selectedId) {
12430
12562
  tab.setSelectedId(selected);
12431
12563
  }
12432
12564
  }, [selected]);
12433
- return /* @__PURE__ */ jsx83(CurrentTabContext.Provider, { value: tab, children });
12565
+ return /* @__PURE__ */ jsx86(CurrentTabContext.Provider, { value: tab, children });
12434
12566
  };
12435
12567
  var TabButtonGroup = ({ children, ...props }) => {
12436
12568
  const currentTab = useCurrentTab();
12437
- return /* @__PURE__ */ jsx83(ReakitTabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
12569
+ return /* @__PURE__ */ jsx86(ReakitTabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
12438
12570
  };
12439
12571
  var TabButton = ({ children, id, ...props }) => {
12440
12572
  const currentTab = useCurrentTab();
12441
- return /* @__PURE__ */ jsx83(ReakitTab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
12573
+ return /* @__PURE__ */ jsx86(ReakitTab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
12442
12574
  };
12443
12575
  var TabContent = ({ children, ...props }) => {
12444
12576
  const currentTab = useCurrentTab();
12445
- return /* @__PURE__ */ jsx83(ReakitTabPanel, { ...props, ...currentTab, children });
12577
+ return /* @__PURE__ */ jsx86(ReakitTabPanel, { ...props, ...currentTab, children });
12446
12578
  };
12447
12579
 
12448
12580
  // src/components/Validation/StatusBullet.styles.ts
12449
- import { css as css61 } from "@emotion/react";
12450
- var StatusBulletContainer = css61`
12581
+ import { css as css64 } from "@emotion/react";
12582
+ var StatusBulletContainer = css64`
12451
12583
  align-items: center;
12452
12584
  align-self: center;
12453
12585
  color: var(--gray-500);
12454
12586
  display: inline-flex;
12455
- font-size: var(--fs-sm);
12456
12587
  font-weight: var(--fw-regular);
12457
12588
  gap: var(--spacing-xs);
12458
12589
  line-height: 1;
@@ -12463,52 +12594,60 @@ var StatusBulletContainer = css61`
12463
12594
  border-radius: var(--rounded-full);
12464
12595
  content: '';
12465
12596
  display: block;
12597
+ }
12598
+ `;
12599
+ var StatusBulletBase = css64`
12600
+ font-size: var(--fs-sm);
12601
+ &:before {
12466
12602
  width: var(--fs-xs);
12467
12603
  height: var(--fs-xs);
12468
12604
  }
12469
12605
  `;
12470
- var StatusDraft = css61`
12606
+ var StatusBulletSmall = css64`
12607
+ font-size: var(--fs-xs);
12608
+ &:before {
12609
+ width: var(--fs-xxs);
12610
+ height: var(--fs-xxs);
12611
+ }
12612
+ `;
12613
+ var StatusDraft = css64`
12471
12614
  &:before {
12472
12615
  background: var(--white);
12473
12616
  box-shadow: inset 0 0 0 0.125rem var(--brand-primary-1);
12474
12617
  }
12475
12618
  `;
12476
- var StatusModified = css61`
12619
+ var StatusModified = css64`
12477
12620
  &:before {
12478
12621
  background: linear-gradient(to right, var(--white) 50%, var(--brand-primary-1) 50% 100%);
12479
12622
  box-shadow: inset 0 0 0 0.125rem var(--brand-primary-1);
12480
12623
  }
12481
12624
  `;
12482
- var StatusError = css61`
12625
+ var StatusError = css64`
12483
12626
  color: var(--error);
12484
12627
  &:before {
12485
- background: var(--error);
12486
- }
12487
- &:after {
12488
- background: var(--white);
12489
- content: '';
12490
- display: block;
12491
- width: var(--fs-xxs);
12492
- height: 0.12rem;
12493
- width: 100%;
12494
- position: absolute;
12495
- rotate: -45deg;
12628
+ background: linear-gradient(120deg, var(--error) 40%, var(--white) 50%, var(--error) 60%);
12496
12629
  }
12497
12630
  `;
12498
- var StatusPublished = css61`
12631
+ var StatusPublished = css64`
12499
12632
  &:before {
12500
12633
  background: var(--brand-secondary-3);
12501
12634
  }
12502
12635
  `;
12503
- var StatusOrphan = css61`
12636
+ var StatusOrphan = css64`
12504
12637
  &:before {
12505
12638
  background: var(--brand-secondary-5);
12506
12639
  }
12507
12640
  `;
12508
12641
 
12509
12642
  // src/components/Validation/StatusBullet.tsx
12510
- import { jsx as jsx84 } from "@emotion/react/jsx-runtime";
12511
- var StatusBullet = ({ status, hideText = false, message, ...props }) => {
12643
+ import { jsx as jsx87 } from "@emotion/react/jsx-runtime";
12644
+ var StatusBullet = ({
12645
+ status,
12646
+ hideText = false,
12647
+ size = "base",
12648
+ message,
12649
+ ...props
12650
+ }) => {
12512
12651
  const currentStateStyles = {
12513
12652
  Error: StatusError,
12514
12653
  Modified: StatusModified,
@@ -12517,10 +12656,12 @@ var StatusBullet = ({ status, hideText = false, message, ...props }) => {
12517
12656
  Published: StatusPublished,
12518
12657
  Draft: StatusDraft
12519
12658
  };
12520
- return /* @__PURE__ */ jsx84(
12659
+ const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
12660
+ return /* @__PURE__ */ jsx87(
12521
12661
  "span",
12522
12662
  {
12523
- css: [StatusBulletContainer, currentStateStyles[status]],
12663
+ role: "status",
12664
+ css: [StatusBulletContainer, currentStateStyles[status], statusSize],
12524
12665
  title: message != null ? message : status,
12525
12666
  ...props,
12526
12667
  children: hideText ? null : message ? message : status
@@ -12540,6 +12681,7 @@ export {
12540
12681
  CardContainer2 as CardContainer,
12541
12682
  CheckboxWithInfo,
12542
12683
  ConnectToDataElementButton,
12684
+ Container2 as Container,
12543
12685
  Counter,
12544
12686
  CreateTeamIntegrationTile,
12545
12687
  DashedBox,
@@ -12607,6 +12749,7 @@ export {
12607
12749
  ParameterTextareaInner,
12608
12750
  ParameterToggle,
12609
12751
  ParameterToggleInner,
12752
+ Popover2 as Popover,
12610
12753
  ResolveIcon,
12611
12754
  ScrollableList,
12612
12755
  ScrollableListInputItem,
@@ -12633,6 +12776,7 @@ export {
12633
12776
  Tooltip,
12634
12777
  UniformBadge,
12635
12778
  UniformLogo,
12779
+ VerticalRhythm,
12636
12780
  WarningMessage,
12637
12781
  breakpoints,
12638
12782
  button,
@@ -12664,6 +12808,7 @@ export {
12664
12808
  skeletonLoading,
12665
12809
  supports,
12666
12810
  useBreakpoint,
12811
+ useCloseCurrentDrawer,
12667
12812
  useCurrentDrawerRenderer,
12668
12813
  useCurrentTab,
12669
12814
  useDrawer,