@uniformdev/design-system 19.15.0 → 19.19.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
@@ -56,8 +56,8 @@ var Theme = ({ disableReset = false }) => {
56
56
  --raspberry-beret-300: #ff6aba;
57
57
  --raspberry-beret-400: #ff40a7;
58
58
  --raspberry-beret-500: #f5168e;
59
- --raspberry-beret-600: #f5168e;
60
- --raspberry-beret-700: #f5168e;
59
+ --raspberry-beret-600: #cc006e;
60
+ --raspberry-beret-700: #a30058;
61
61
 
62
62
 
63
63
  /* action colours */
@@ -579,10 +579,17 @@ var toggleInput = css2`
579
579
  }
580
580
 
581
581
  &:disabled {
582
+ filter: grayscale(100%);
582
583
  cursor: not-allowed;
583
584
  color: var(--gray-300);
584
585
  border-color: var(--gray-300);
585
586
  }
587
+
588
+ &:disabled:checked {
589
+ background: var(--white)
590
+ 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='M10.5858 13.4142L7.75735 10.5858L6.34314 12L10.5858 16.2427L17.6568 9.1716L16.2426 7.75739L10.5858 13.4142Z' fill='%23000' /%3E%3C/svg%3E")
591
+ no-repeat center center;
592
+ }
586
593
  `;
587
594
  var inlineLabel = (fontWeight) => css2`
588
595
  font-weight: ${fontWeight === "medium" ? "var(--fw-medium)" : fontWeight === "normal" ? "var(--fw-regular)" : "var(--fw-bold)"};
@@ -1495,6 +1502,74 @@ var formatSubscript = GenIcon({
1495
1502
  }
1496
1503
  ]
1497
1504
  });
1505
+ var jsonIcon = GenIcon({
1506
+ tag: "svg",
1507
+ attr: {
1508
+ role: "img",
1509
+ viewBox: "0 0 40 40"
1510
+ },
1511
+ child: [
1512
+ {
1513
+ tag: "path",
1514
+ attr: {
1515
+ fill: "currentColor",
1516
+ d: "M3.3335 20.0719V18.1118C4.82718 18.1118 5.87011 17.8113 6.46228 17.2102C7.05446 16.6005 7.35054 15.5943 7.35054 14.1918V10.4417C7.35054 9.10884 7.50079 7.98945 7.8013 7.08349C8.11064 6.16882 8.57908 5.43708 9.2066 4.88827C9.83413 4.33947 10.6296 3.94311 11.593 3.6992C12.5563 3.45528 13.6921 3.33333 15.0002 3.33333V6.43015C13.9749 6.43015 13.175 6.57824 12.6005 6.87442C12.026 7.1706 11.6239 7.6323 11.3941 8.2595C11.1731 8.878 11.0627 9.67071 11.0627 10.6377V15.394C11.0627 16.0647 10.961 16.6876 10.7577 17.2625C10.5545 17.8287 10.1788 18.3209 9.63084 18.7391C9.08286 19.1572 8.30067 19.4839 7.28425 19.7191C6.26784 19.9543 4.95092 20.0719 3.3335 20.0719ZM15.0002 36.6667C13.6921 36.6667 12.5563 36.5447 11.593 36.3008C10.6296 36.0569 9.83413 35.6605 9.2066 35.1117C8.57908 34.5629 8.11064 33.8312 7.8013 32.9165C7.50079 32.0105 7.35054 30.8911 7.35054 29.5583V25.7951C7.35054 24.4013 7.05446 23.3995 6.46228 22.7897C5.87011 22.18 4.82718 21.8751 3.3335 21.8751V19.9281C4.95092 19.9281 6.26784 20.0457 7.28425 20.2809C8.30067 20.5074 9.08286 20.8341 9.63084 21.2609C10.1788 21.6791 10.5545 22.1756 10.7577 22.7506C10.961 23.3168 11.0627 23.9353 11.0627 24.606V29.3623C11.0627 30.3206 11.1731 31.1089 11.3941 31.7274C11.6239 32.3546 12.026 32.8163 12.6005 33.1125C13.175 33.4174 13.9749 33.5698 15.0002 33.5698V36.6667ZM3.3335 21.8751V18.1118H7.00584V21.8751H3.3335Z"
1517
+ },
1518
+ child: []
1519
+ },
1520
+ {
1521
+ tag: "path",
1522
+ attr: {
1523
+ fill: "currentColor",
1524
+ d: "M14.9998 20C14.9998 20.9205 14.2536 21.6667 13.3332 21.6667C12.4127 21.6667 11.6665 20.9205 11.6665 20C11.6665 19.0795 12.4127 18.3333 13.3332 18.3333C14.2536 18.3333 14.9998 19.0795 14.9998 20Z"
1525
+ },
1526
+ child: []
1527
+ },
1528
+ {
1529
+ tag: "path",
1530
+ attr: {
1531
+ fill: "currentColor",
1532
+ d: "M21.6665 20C21.6665 20.9205 20.9203 21.6667 19.9998 21.6667C19.0794 21.6667 18.3332 20.9205 18.3332 20C18.3332 19.0795 19.0794 18.3333 19.9998 18.3333C20.9203 18.3333 21.6665 19.0795 21.6665 20Z"
1533
+ },
1534
+ child: []
1535
+ },
1536
+ {
1537
+ tag: "path",
1538
+ attr: {
1539
+ fill: "currentColor",
1540
+ d: "M28.3332 20C28.3332 20.9205 27.587 21.6667 26.6665 21.6667C25.746 21.6667 24.9998 20.9205 24.9998 20C24.9998 19.0795 25.746 18.3333 26.6665 18.3333C27.587 18.3333 28.3332 19.0795 28.3332 20Z"
1541
+ },
1542
+ child: []
1543
+ },
1544
+ {
1545
+ tag: "path",
1546
+ attr: {
1547
+ fill: "currentColor",
1548
+ d: "M36.6667 19.9281V21.8751C35.173 21.8751 34.1301 22.18 33.5379 22.7898C32.9457 23.3995 32.6496 24.4013 32.6496 25.7951V29.5583C32.6496 30.8912 32.4949 32.0105 32.1856 32.9165C31.8851 33.8312 31.4211 34.5629 30.7936 35.1117C30.166 35.6605 29.3706 36.0569 28.4072 36.3008C27.4438 36.5447 26.3081 36.6667 25 36.6667V33.5698C26.0253 33.5698 26.8251 33.4174 27.3996 33.1125C27.9741 32.8163 28.3718 32.3546 28.5928 31.7274C28.8226 31.1089 28.9375 30.3206 28.9375 29.3623V24.606C28.9375 23.9353 29.0391 23.3168 29.2424 22.7506C29.4457 22.1756 29.8213 21.6791 30.3693 21.2609C30.9173 20.8341 31.6995 20.5074 32.7159 20.2809C33.7323 20.0457 35.0492 19.9281 36.6667 19.9281ZM25 3.33333C26.3081 3.33333 27.4438 3.45528 28.4072 3.6992C29.3706 3.94311 30.166 4.33947 30.7936 4.88827C31.4211 5.43708 31.8851 6.16882 32.1856 7.08349C32.4949 7.98945 32.6496 9.10884 32.6496 10.4417V14.1918C32.6496 15.5943 32.9457 16.6005 33.5379 17.2102C34.1301 17.8113 35.173 18.1118 36.6667 18.1118V20.0719C35.0492 20.0719 33.7323 19.9543 32.7159 19.7191C31.6995 19.4839 30.9173 19.1572 30.3693 18.7391C29.8213 18.3209 29.4457 17.8287 29.2424 17.2625C29.0391 16.6876 28.9375 16.0647 28.9375 15.394V10.6377C28.9375 9.67071 28.8226 8.878 28.5928 8.2595C28.3718 7.6323 27.9741 7.1706 27.3996 6.87442C26.8251 6.57824 26.0253 6.43015 25 6.43015V3.33333ZM36.6667 18.1118V21.8751H32.9943V18.1118H36.6667Z"
1549
+ },
1550
+ child: []
1551
+ }
1552
+ ]
1553
+ });
1554
+ var clearFormatting = GenIcon({
1555
+ tag: "svg",
1556
+ attr: {
1557
+ role: "img",
1558
+ viewBox: "0 0 24 24"
1559
+ },
1560
+ child: [
1561
+ {
1562
+ tag: "path",
1563
+ attr: {
1564
+ fill: "currentColor",
1565
+ fillRule: "evenodd",
1566
+ clipRule: "evenodd",
1567
+ d: "M4.904 12.75a1.67 1.67 0 0 0 0 2.362l3.22 3.22h-2.73a.835.835 0 0 0 0 1.67H18.75a.835.835 0 1 0 0-1.67h-7.622l7.943-7.942a1.67 1.67 0 0 0 0-2.362L15.53 4.487a1.67 1.67 0 0 0-2.362 0L4.904 12.75Zm3.611-1.25-2.43 2.431 3.542 3.542 2.43-2.43L8.515 11.5Zm1.181-1.18 3.542 3.542L17.89 9.21l-3.542-3.542-4.653 4.653Z"
1568
+ },
1569
+ child: []
1570
+ }
1571
+ ]
1572
+ });
1498
1573
  var customIcons = {
1499
1574
  "rectangle-rounded": rectangleRoundedIcon,
1500
1575
  card: cardIcon,
@@ -1508,12 +1583,14 @@ var customIcons = {
1508
1583
  "info-filled": infoFilledIcon,
1509
1584
  settings,
1510
1585
  "query-string": queryStringIcon,
1586
+ json: jsonIcon,
1511
1587
  "format-bold": formatBoldIcon,
1512
1588
  "format-code": formatCode,
1513
1589
  "format-strike": formatStrike,
1514
1590
  "format-superscript": formatSuperscript,
1515
1591
  "format-subscript": formatSubscript,
1516
- "layout-list-numbered": layoutListNumberedIcon
1592
+ "layout-list-numbered": layoutListNumberedIcon,
1593
+ "clear-formatting": clearFormatting
1517
1594
  };
1518
1595
 
1519
1596
  // src/components/AddListButton/AddListButton.styles.ts
@@ -10975,7 +11052,7 @@ var Button = React5.forwardRef(
10975
11052
  import { CgChevronDown } from "react-icons/cg";
10976
11053
 
10977
11054
  // src/components/Menu/Menu.tsx
10978
- import * as React6 from "react";
11055
+ import * as React7 from "react";
10979
11056
  import {
10980
11057
  Menu as BaseMenu,
10981
11058
  MenuButton,
@@ -10983,66 +11060,16 @@ import {
10983
11060
  } from "reakit/Menu";
10984
11061
  import { Portal } from "reakit/Portal";
10985
11062
 
10986
- // src/components/Menu/Menu.styles.ts
10987
- import { css as css20 } from "@emotion/react";
10988
- var menu = css20`
10989
- box-shadow: var(--shadow-base);
10990
- border-radius: var(--rounded-base);
10991
- background: var(--gray-50);
10992
- display: flex;
10993
- flex-direction: column;
10994
- padding: var(--spacing-sm);
10995
- outline: none;
10996
- overflow: hidden;
10997
- position: relative;
10998
- z-index: var(--z-50);
10999
- `;
11000
-
11001
- // src/components/Menu/Menu.tsx
11002
- import { jsx as jsx21, jsxs as jsxs11 } from "@emotion/react/jsx-runtime";
11003
- var MenuContext = React6.createContext({});
11004
- var useMenuContext = () => {
11005
- return React6.useContext(MenuContext);
11006
- };
11007
- var Menu = ({
11008
- menuLabel,
11009
- menuTrigger,
11010
- placement = "auto",
11011
- menuItemsContainerCssClasses,
11012
- children,
11013
- forceVisible
11014
- }) => {
11015
- const menuState = useMenuState({ placement, visible: forceVisible });
11016
- React6.useEffect(() => {
11017
- if (forceVisible !== void 0) {
11018
- menuState.setVisible(forceVisible);
11019
- }
11020
- });
11021
- return /* @__PURE__ */ jsxs11(MenuContext.Provider, { value: menuState, children: [
11022
- /* @__PURE__ */ jsx21(MenuButton, { ...menuState, ref: menuTrigger.ref, ...menuTrigger.props, children: (triggerProps) => React6.cloneElement(menuTrigger, triggerProps) }),
11023
- /* @__PURE__ */ jsx21(Portal, { children: /* @__PURE__ */ jsx21(
11024
- BaseMenu,
11025
- {
11026
- ...menuState,
11027
- "aria-label": menuLabel,
11028
- css: [
11029
- menu,
11030
- typeof menuItemsContainerCssClasses === "object" ? menuItemsContainerCssClasses : void 0
11031
- ],
11032
- className: typeof menuItemsContainerCssClasses === "string" ? menuItemsContainerCssClasses : "",
11033
- children
11034
- }
11035
- ) })
11036
- ] });
11037
- };
11063
+ // src/components/Menu/filterMenuSeparators.ts
11064
+ import React6, { isValidElement } from "react";
11038
11065
 
11039
11066
  // src/components/Menu/MenuGroup.styles.ts
11040
- import { css as css21 } from "@emotion/react";
11041
- var MenuGroupContainer = css21`
11067
+ import { css as css20 } from "@emotion/react";
11068
+ var MenuGroupContainer = css20`
11042
11069
  display: flex;
11043
11070
  flex-direction: column;
11044
11071
  `;
11045
- var MenuTitle = css21`
11072
+ var MenuTitle = css20`
11046
11073
  color: var(--gray-400);
11047
11074
  font-size: var(--fs-xs);
11048
11075
  font-weight: var(--fw-bold);
@@ -11050,21 +11077,17 @@ var MenuTitle = css21`
11050
11077
  `;
11051
11078
 
11052
11079
  // src/components/Menu/MenuGroup.tsx
11053
- import { jsx as jsx22, jsxs as jsxs12 } from "@emotion/react/jsx-runtime";
11080
+ import { jsx as jsx21, jsxs as jsxs11 } from "@emotion/react/jsx-runtime";
11054
11081
  var MenuGroup = ({ title, children }) => {
11055
- return /* @__PURE__ */ jsxs12("div", { css: MenuGroupContainer, "data-test-id": "menu-group", children: [
11056
- /* @__PURE__ */ jsx22("span", { css: MenuTitle, children: title }),
11082
+ return /* @__PURE__ */ jsxs11("div", { css: MenuGroupContainer, "data-test-id": "menu-group", children: [
11083
+ /* @__PURE__ */ jsx21("span", { css: MenuTitle, children: title }),
11057
11084
  children
11058
11085
  ] });
11059
11086
  };
11060
11087
 
11061
- // src/components/Menu/MenuItem.tsx
11062
- import * as React7 from "react";
11063
- import { MenuItem as BaseMenuItem } from "reakit";
11064
-
11065
11088
  // src/components/Menu/MenuItem.styles.ts
11066
- import { css as css22 } from "@emotion/react";
11067
- var menuItem = (textTheme) => css22`
11089
+ import { css as css21 } from "@emotion/react";
11090
+ var menuItem = (textTheme) => css21`
11068
11091
  align-items: center;
11069
11092
  border: none;
11070
11093
  border-radius: var(--rounded-base);
@@ -11090,7 +11113,7 @@ var menuItem = (textTheme) => css22`
11090
11113
  outline: none;
11091
11114
  }
11092
11115
  `;
11093
- var menuItemWithIcon = css22`
11116
+ var menuItemWithIcon = css21`
11094
11117
  align-items: center;
11095
11118
  display: flex;
11096
11119
  justify-content: space-between;
@@ -11102,15 +11125,120 @@ var menuItemWithIcon = css22`
11102
11125
  height: var(--spacing-base);
11103
11126
  }
11104
11127
  `;
11105
- var menuItemSeparator = css22`
11128
+ var menuItemSeparator = css21`
11106
11129
  border-top: 1px solid var(--gray-300);
11107
11130
  width: 100%;
11108
11131
  margin-block: var(--spacing-sm);
11109
11132
  `;
11110
11133
 
11134
+ // src/components/Menu/MenuItemSeparator.tsx
11135
+ import { jsx as jsx22 } from "@emotion/react/jsx-runtime";
11136
+ var MenuItemSeparator = () => /* @__PURE__ */ jsx22("hr", { css: menuItemSeparator, "data-testid": "menu-separator" });
11137
+
11138
+ // src/components/Menu/filterMenuSeparators.ts
11139
+ function filterMenuSeparators(children, context) {
11140
+ const currentContext = context || { lastChildWasSeparator: false, effectiveIndex: 0 };
11141
+ if (!Array.isArray(children)) {
11142
+ return children;
11143
+ }
11144
+ const filteredList = [];
11145
+ children.forEach((child, index) => {
11146
+ if (child === null || child === false) {
11147
+ return;
11148
+ }
11149
+ const isSeparator = isMenuSeparator(child);
11150
+ if (currentContext.effectiveIndex === 0 && isSeparator) {
11151
+ return;
11152
+ }
11153
+ if (isSeparator && index === children.length - 1) {
11154
+ return;
11155
+ }
11156
+ if (isSeparator && currentContext.lastChildWasSeparator) {
11157
+ return;
11158
+ }
11159
+ if (isSubgroup(child)) {
11160
+ child = {
11161
+ ...child,
11162
+ props: {
11163
+ ...child.props,
11164
+ children: filterMenuSeparators(child.props.children, currentContext)
11165
+ }
11166
+ };
11167
+ filteredList.push(child);
11168
+ return;
11169
+ }
11170
+ currentContext.effectiveIndex++;
11171
+ currentContext.lastChildWasSeparator = isSeparator;
11172
+ filteredList.push(child);
11173
+ });
11174
+ return filteredList;
11175
+ }
11176
+ function isSubgroup(child) {
11177
+ return isValidElement(child) && (child.type === React6.Fragment || child.type === MenuGroup);
11178
+ }
11179
+ function isMenuSeparator(child) {
11180
+ return isValidElement(child) && child.type === MenuItemSeparator;
11181
+ }
11182
+
11183
+ // src/components/Menu/Menu.styles.ts
11184
+ import { css as css22 } from "@emotion/react";
11185
+ var menu = css22`
11186
+ box-shadow: var(--shadow-base);
11187
+ border-radius: var(--rounded-base);
11188
+ background: var(--gray-50);
11189
+ display: flex;
11190
+ flex-direction: column;
11191
+ padding: var(--spacing-sm);
11192
+ outline: none;
11193
+ overflow: hidden;
11194
+ position: relative;
11195
+ z-index: var(--z-50);
11196
+ `;
11197
+
11198
+ // src/components/Menu/Menu.tsx
11199
+ import { jsx as jsx23, jsxs as jsxs12 } from "@emotion/react/jsx-runtime";
11200
+ var MenuContext = React7.createContext({});
11201
+ var useMenuContext = () => {
11202
+ return React7.useContext(MenuContext);
11203
+ };
11204
+ var Menu = ({
11205
+ menuLabel,
11206
+ menuTrigger,
11207
+ placement = "auto",
11208
+ menuItemsContainerCssClasses,
11209
+ children,
11210
+ forceVisible,
11211
+ disableAutoSeparatorManagement
11212
+ }) => {
11213
+ const menuState = useMenuState({ placement, visible: forceVisible });
11214
+ React7.useEffect(() => {
11215
+ if (forceVisible !== void 0) {
11216
+ menuState.setVisible(forceVisible);
11217
+ }
11218
+ });
11219
+ return /* @__PURE__ */ jsxs12(MenuContext.Provider, { value: menuState, children: [
11220
+ /* @__PURE__ */ jsx23(MenuButton, { ...menuState, ref: menuTrigger.ref, ...menuTrigger.props, children: (triggerProps) => React7.cloneElement(menuTrigger, triggerProps) }),
11221
+ /* @__PURE__ */ jsx23(Portal, { children: /* @__PURE__ */ jsx23(
11222
+ BaseMenu,
11223
+ {
11224
+ ...menuState,
11225
+ "aria-label": menuLabel,
11226
+ css: [
11227
+ menu,
11228
+ typeof menuItemsContainerCssClasses === "object" ? menuItemsContainerCssClasses : void 0
11229
+ ],
11230
+ className: typeof menuItemsContainerCssClasses === "string" ? menuItemsContainerCssClasses : "",
11231
+ children: disableAutoSeparatorManagement ? children : filterMenuSeparators(children)
11232
+ }
11233
+ ) })
11234
+ ] });
11235
+ };
11236
+
11111
11237
  // src/components/Menu/MenuItem.tsx
11112
- import { jsx as jsx23, jsxs as jsxs13 } from "@emotion/react/jsx-runtime";
11113
- var MenuItem = React7.forwardRef(
11238
+ import * as React8 from "react";
11239
+ import { MenuItem as BaseMenuItem } from "reakit";
11240
+ import { jsx as jsx24, jsxs as jsxs13 } from "@emotion/react/jsx-runtime";
11241
+ var MenuItem = React8.forwardRef(
11114
11242
  ({ children, className, hideMenuOnClick = true, icon, textColor = "base", ...props }, ref) => {
11115
11243
  const menuState = useMenuContext();
11116
11244
  const resolveProps = (originalProps) => {
@@ -11126,7 +11254,7 @@ var MenuItem = React7.forwardRef(
11126
11254
  };
11127
11255
  const resolvedProps = hideMenuOnClick ? resolveProps(props) : props;
11128
11256
  const resolvedChildren = typeof children === "function" ? children(resolvedProps) : children;
11129
- return /* @__PURE__ */ jsx23(
11257
+ return /* @__PURE__ */ jsx24(
11130
11258
  BaseMenuItem,
11131
11259
  {
11132
11260
  ref,
@@ -11149,10 +11277,6 @@ function renderWithIcon(children, icon) {
11149
11277
  ] });
11150
11278
  }
11151
11279
 
11152
- // src/components/Menu/MenuItemSeparator.tsx
11153
- import { jsx as jsx24 } from "@emotion/react/jsx-runtime";
11154
- var MenuItemSeparator = () => /* @__PURE__ */ jsx24("hr", { css: menuItemSeparator });
11155
-
11156
11280
  // src/components/ButtonWithMenu/ButtonWithMenu.styles.ts
11157
11281
  import { css as css23 } from "@emotion/react";
11158
11282
  var ButtonWithMenuContainer = css23`
@@ -11909,13 +12033,15 @@ import { css as css35 } from "@emotion/react";
11909
12033
  var ChipContainer = css35`
11910
12034
  border-radius: var(--rounded-full);
11911
12035
  background: lime;
11912
- cursor: pointer;
11913
12036
  display: inline-flex;
11914
- gap: var(--spacing-sm);
11915
12037
  transition: background var(--duration-fast) var(--timing-ease-out),
11916
12038
  color var(--duration-fast) var(--timing-ease-out);
11917
12039
  position: relative;
11918
12040
 
12041
+ [role='button'] {
12042
+ cursor: pointer;
12043
+ }
12044
+
11919
12045
  &:hover {
11920
12046
  [role='presentation'],
11921
12047
  [role='separator'] {
@@ -11925,10 +12051,12 @@ var ChipContainer = css35`
11925
12051
  }
11926
12052
  `;
11927
12053
  var ChipText = css35`
12054
+ align-self: center;
11928
12055
  line-height: 1;
11929
12056
  `;
11930
12057
  var ChipIcon = css35`
11931
- align-items: center;
12058
+ align-self: center;
12059
+ justify-content: center;
11932
12060
  display: flex;
11933
12061
  opacity: var(--opacity-50);
11934
12062
  `;
@@ -11936,48 +12064,54 @@ var ChipSeparator = css35`
11936
12064
  display: flex;
11937
12065
  border-right: 1px solid var(--white);
11938
12066
  opacity: var(--opacity-50);
12067
+ margin-left: -1px;
11939
12068
  `;
11940
- var ChipTiny = css35`
12069
+ var ChipTiny = (withIcon) => css35`
11941
12070
  font-size: var(--fs-xs);
11942
- padding-inline: var(--spacing-sm);
12071
+ padding-inline: ${withIcon ? "calc(var(--spacing-2xs) + 2px) var(--spacing-sm)" : "var(--spacing-sm)"};
12072
+ gap: var(--spacing-2xs);
11943
12073
 
11944
12074
  > :where(span:last-of-type) {
11945
- padding-block: var(--spacing-xs);
12075
+ padding: var(--spacing-xs) var(--spacing-xs);
11946
12076
  }
11947
12077
  `;
11948
12078
  var ChipSmall = css35`
11949
12079
  font-size: var(--fs-sm);
11950
- padding-inline: var(--spacing-base);
12080
+ padding-inline: var(--spacing-sm);
12081
+ gap: var(--spacing-xs);
11951
12082
 
11952
12083
  > :where(span:last-of-type) {
11953
- padding-block: var(--spacing-sm);
12084
+ padding: var(--spacing-sm) var(--spacing-xs);
11954
12085
  }
11955
12086
  `;
11956
12087
  var ChipMedium = css35`
11957
12088
  font-size: var(--fs-base);
11958
- padding-inline: var(--spacing-base);
12089
+ padding-inline: var(--spacing-sm);
12090
+ gap: var(--spacing-xs);
11959
12091
 
11960
12092
  > :where(span:last-of-type) {
11961
- padding-block: var(--spacing-sm);
12093
+ padding: var(--spacing-sm) var(--spacing-xs);
11962
12094
  }
11963
12095
  `;
11964
12096
  var ChipThemeAccentLight = css35`
11965
12097
  background: var(--accent-light);
11966
12098
  color: var(--brand-secondary-1);
11967
12099
 
11968
- &:hover,
11969
- &:focus {
11970
- background: var(--accent-light-hover);
11971
- }
12100
+ :where([role='button']) {
12101
+ &:hover,
12102
+ &:focus {
12103
+ background: var(--accent-light-hover);
12104
+ }
11972
12105
 
11973
- &:active {
11974
- background: var(--accent-light-active);
11975
- }
12106
+ &:active {
12107
+ background: var(--accent-light-active);
12108
+ }
11976
12109
 
11977
- &:hover,
11978
- &:focus,
11979
- &:active {
11980
- color: var(--white);
12110
+ &:hover,
12111
+ &:focus,
12112
+ &:active {
12113
+ color: var(--white);
12114
+ }
11981
12115
  }
11982
12116
 
11983
12117
  [data-icon] {
@@ -11988,38 +12122,42 @@ var ChipThemeAccentDark = css35`
11988
12122
  background: var(--accent-dark);
11989
12123
  color: var(--white);
11990
12124
 
11991
- &:hover,
11992
- &:focus {
11993
- background: var(--accent-dark-hover);
11994
- }
12125
+ :where([role='button']) {
12126
+ &:hover,
12127
+ &:focus {
12128
+ background: var(--accent-dark-hover);
12129
+ }
11995
12130
 
11996
- &:active {
11997
- background: var(--accent-dark-active);
11998
- }
12131
+ &:active {
12132
+ background: var(--accent-dark-active);
12133
+ }
11999
12134
 
12000
- &:hover,
12001
- &:focus,
12002
- &:active {
12003
- color: var(--white);
12135
+ &:hover,
12136
+ &:focus,
12137
+ &:active {
12138
+ color: var(--white);
12139
+ }
12004
12140
  }
12005
12141
  `;
12006
12142
  var ChipAltThemeAccentLight = css35`
12007
12143
  background: var(--accent-alt-light);
12008
12144
  color: var(--brand-secondary-1);
12009
12145
 
12010
- &:hover,
12011
- &:focus {
12012
- background: var(--accent-alt-light-hover);
12013
- }
12146
+ :where([role='button']) {
12147
+ &:hover,
12148
+ &:focus {
12149
+ background: var(--accent-alt-light-hover);
12150
+ }
12014
12151
 
12015
- &:active {
12016
- background: var(--accent-alt-light-active);
12017
- }
12152
+ &:active {
12153
+ background: var(--accent-alt-light-active);
12154
+ }
12018
12155
 
12019
- &:hover,
12020
- &:focus,
12021
- &:active {
12022
- color: var(--white);
12156
+ &:hover,
12157
+ &:focus,
12158
+ &:active {
12159
+ color: var(--white);
12160
+ }
12023
12161
  }
12024
12162
 
12025
12163
  [data-icon] {
@@ -12030,41 +12168,45 @@ var ChipAltThemeAccentDark = css35`
12030
12168
  background: var(--accent-alt-dark);
12031
12169
  color: var(--white);
12032
12170
 
12033
- &:hover,
12034
- &:focus {
12035
- background: var(--accent-alt-dark-hover);
12036
- }
12171
+ :where([role='button']) {
12172
+ &:hover,
12173
+ &:focus {
12174
+ background: var(--accent-alt-dark-hover);
12175
+ }
12037
12176
 
12038
- &:active {
12039
- background: var(--accent-alt-dark-active);
12040
- }
12177
+ &:active {
12178
+ background: var(--accent-alt-dark-active);
12179
+ }
12041
12180
 
12042
- &:hover,
12043
- &:focus,
12044
- &:active {
12045
- color: var(--white);
12181
+ &:hover,
12182
+ &:focus,
12183
+ &:active {
12184
+ color: var(--white);
12185
+ }
12046
12186
  }
12047
12187
  `;
12048
12188
  var ChipThemeNeutralLight = css35`
12049
12189
  background: var(--gray-100);
12050
12190
  color: var(--brand-secondary-1);
12051
-
12052
- &:active,
12053
- &:focus {
12054
- background: var(--gray-400);
12191
+ :where([role='button']) {
12192
+ &:active,
12193
+ &:focus {
12194
+ background: var(--gray-400);
12195
+ }
12055
12196
  }
12056
12197
  `;
12057
12198
  var ChipThemeNeutralDark = css35`
12058
12199
  background: var(--gray-700);
12059
12200
  color: var(--white);
12201
+ :where([role='button']) {
12202
+ &:hover,
12203
+ &:focus {
12204
+ background: var(--gray-600);
12205
+ }
12060
12206
 
12061
- &:hover,
12062
- &:focus {
12063
- background: var(--gray-600);
12064
- }
12065
-
12066
- &:active {
12067
- background: var(--gray-900);
12207
+ &:active {
12208
+ background: var(--gray-900);
12209
+ }
12068
12210
  }
12069
12211
  `;
12070
12212
  var ChipActionButton = css35`
@@ -12085,7 +12227,7 @@ var Chip = ({
12085
12227
  ...props
12086
12228
  }) => {
12087
12229
  const chipSize = {
12088
- xs: ChipTiny,
12230
+ xs: ChipTiny(Boolean(icon)),
12089
12231
  sm: ChipSmall,
12090
12232
  md: ChipMedium
12091
12233
  };
@@ -12099,7 +12241,7 @@ var Chip = ({
12099
12241
  };
12100
12242
  return /* @__PURE__ */ jsxs19("span", { css: [ChipContainer, chipSize[size], chipTheme[theme]], ...props, children: [
12101
12243
  icon ? /* @__PURE__ */ jsxs19(Fragment4, { children: [
12102
- /* @__PURE__ */ jsx35("span", { role: "presentation", css: ChipIcon, children: /* @__PURE__ */ jsx35(Icon, { icon, iconColor: "currentColor", size: "0.85rem" }) }),
12244
+ /* @__PURE__ */ jsx35("span", { role: "presentation", css: [ChipIcon], children: /* @__PURE__ */ jsx35(Icon, { icon, iconColor: "currentColor", size: "1rem" }) }),
12103
12245
  /* @__PURE__ */ jsx35("span", { role: "separator", css: ChipSeparator })
12104
12246
  ] }) : null,
12105
12247
  /* @__PURE__ */ jsx35("span", { css: ChipText, children: text }),
@@ -12215,7 +12357,7 @@ var DashedBox = ({
12215
12357
  };
12216
12358
 
12217
12359
  // src/components/Details/Details.tsx
12218
- import * as React8 from "react";
12360
+ import * as React9 from "react";
12219
12361
 
12220
12362
  // src/components/Details/Details.styles.ts
12221
12363
  import { css as css38 } from "@emotion/react";
@@ -12255,9 +12397,9 @@ var summaryIconVisiblyHidden = css38`
12255
12397
  // src/components/Details/Details.tsx
12256
12398
  import { jsx as jsx38, jsxs as jsxs21 } from "@emotion/react/jsx-runtime";
12257
12399
  var Details = ({ summary: summary2, children, isOpenByDefault = false, ...props }) => {
12258
- const detailsRef = React8.useRef(null);
12259
- const [open, setOpen] = React8.useState(isOpenByDefault);
12260
- React8.useEffect(() => {
12400
+ const detailsRef = React9.useRef(null);
12401
+ const [open, setOpen] = React9.useState(isOpenByDefault);
12402
+ React9.useEffect(() => {
12261
12403
  var _a;
12262
12404
  if (!detailsRef) {
12263
12405
  return;
@@ -12291,7 +12433,7 @@ var Details = ({ summary: summary2, children, isOpenByDefault = false, ...props
12291
12433
  };
12292
12434
 
12293
12435
  // src/components/Drawer/Drawer.tsx
12294
- import React11, { useEffect as useEffect6, useMemo, useRef as useRef2 } from "react";
12436
+ import React12, { useEffect as useEffect6, useMemo, useRef as useRef2 } from "react";
12295
12437
  import { CgChevronRight } from "react-icons/cg";
12296
12438
 
12297
12439
  // src/components/Drawer/Drawer.styles.ts
@@ -12504,7 +12646,7 @@ var DrawerWrapper = ({
12504
12646
  // src/components/Drawer/Drawer.tsx
12505
12647
  import { jsx as jsx41, jsxs as jsxs23 } from "@emotion/react/jsx-runtime";
12506
12648
  var defaultSackId = "_default";
12507
- var Drawer = React11.forwardRef(
12649
+ var Drawer = React12.forwardRef(
12508
12650
  ({ width, minWidth, maxWidth, position, ...drawerProps }, ref) => {
12509
12651
  const drawerRendererProps = { width, minWidth, maxWidth, position };
12510
12652
  const { stackId: inheritedStackId } = useCurrentDrawerRenderer();
@@ -12714,7 +12856,7 @@ var ErrorMessage = ({ message, testId, ...otherProps }) => {
12714
12856
  };
12715
12857
 
12716
12858
  // src/components/Input/Fieldset.tsx
12717
- import * as React12 from "react";
12859
+ import * as React13 from "react";
12718
12860
 
12719
12861
  // src/components/Input/styles/Fieldset.styles.ts
12720
12862
  import { css as css43 } from "@emotion/react";
@@ -12758,7 +12900,7 @@ var fieldsetBody = css43`
12758
12900
 
12759
12901
  // src/components/Input/Fieldset.tsx
12760
12902
  import { jsx as jsx45, jsxs as jsxs26 } from "@emotion/react/jsx-runtime";
12761
- var Fieldset = React12.forwardRef(
12903
+ var Fieldset = React13.forwardRef(
12762
12904
  ({ legend, disabled, children, invert, ...props }, ref) => {
12763
12905
  return /* @__PURE__ */ jsxs26("fieldset", { css: fieldsetContainer(Boolean(invert)), ref, disabled, ...props, children: [
12764
12906
  legend,
@@ -12795,7 +12937,7 @@ var InfoMessage = ({ message, testId, ...props }) => {
12795
12937
  };
12796
12938
 
12797
12939
  // src/components/Input/Input.tsx
12798
- import * as React13 from "react";
12940
+ import * as React14 from "react";
12799
12941
 
12800
12942
  // src/components/Input/Label.tsx
12801
12943
  import { jsx as jsx47 } from "@emotion/react/jsx-runtime";
@@ -12838,7 +12980,7 @@ var WarningMessage = ({ message, testId, ...props }) => {
12838
12980
 
12839
12981
  // src/components/Input/Input.tsx
12840
12982
  import { jsx as jsx49, jsxs as jsxs29 } from "@emotion/react/jsx-runtime";
12841
- var Input = React13.forwardRef(
12983
+ var Input = React14.forwardRef(
12842
12984
  ({
12843
12985
  label,
12844
12986
  icon,
@@ -13276,9 +13418,9 @@ var InputSelect = ({
13276
13418
  };
13277
13419
 
13278
13420
  // src/components/Input/InputToggle.tsx
13279
- import * as React14 from "react";
13421
+ import * as React15 from "react";
13280
13422
  import { jsx as jsx54, jsxs as jsxs32 } from "@emotion/react/jsx-runtime";
13281
- var InputToggle = React14.forwardRef(
13423
+ var InputToggle = React15.forwardRef(
13282
13424
  ({
13283
13425
  label,
13284
13426
  type,
@@ -13292,26 +13434,33 @@ var InputToggle = React14.forwardRef(
13292
13434
  fontWeight = "medium",
13293
13435
  ...props
13294
13436
  }, ref) => {
13295
- return /* @__PURE__ */ jsxs32(Label, { css: [inputToggleLabel, disabled ? inputDisabled : void 0], "data-test-id": testId, children: [
13296
- /* @__PURE__ */ jsx54(
13297
- "input",
13298
- {
13299
- ref,
13300
- type,
13301
- css: toggleInput,
13302
- checked,
13303
- name,
13304
- disabled,
13305
- ...props
13306
- }
13307
- ),
13308
- /* @__PURE__ */ jsx54("span", { css: inlineLabel(fontWeight), dangerouslySetInnerHTML: { __html: label } }),
13309
- caption || errorMessage ? /* @__PURE__ */ jsxs32("span", { css: inputToggleMessageContainer, children: [
13310
- caption ? /* @__PURE__ */ jsx54(Caption, { children: caption }) : null,
13311
- errorMessage ? /* @__PURE__ */ jsx54(ErrorMessage, { message: errorMessage }) : null,
13312
- warningMessage && !errorMessage ? /* @__PURE__ */ jsx54(WarningMessage, { message: warningMessage }) : null
13313
- ] }) : null
13314
- ] });
13437
+ return /* @__PURE__ */ jsxs32(
13438
+ Label,
13439
+ {
13440
+ css: [inputToggleLabel, disabled ? inputDisabled : void 0],
13441
+ "data-test-id": testId ? testId : "input-toggle",
13442
+ children: [
13443
+ /* @__PURE__ */ jsx54(
13444
+ "input",
13445
+ {
13446
+ ref,
13447
+ type,
13448
+ css: toggleInput,
13449
+ checked,
13450
+ name,
13451
+ disabled,
13452
+ ...props
13453
+ }
13454
+ ),
13455
+ /* @__PURE__ */ jsx54("span", { css: inlineLabel(fontWeight), children: label }),
13456
+ caption || errorMessage ? /* @__PURE__ */ jsxs32("span", { css: inputToggleMessageContainer, children: [
13457
+ caption ? /* @__PURE__ */ jsx54(Caption, { children: caption }) : null,
13458
+ errorMessage ? /* @__PURE__ */ jsx54(ErrorMessage, { message: errorMessage }) : null,
13459
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx54(WarningMessage, { message: warningMessage }) : null
13460
+ ] }) : null
13461
+ ]
13462
+ }
13463
+ );
13315
13464
  }
13316
13465
  );
13317
13466
 
@@ -14374,57 +14523,116 @@ var IntegrationTile = ({
14374
14523
  );
14375
14524
  };
14376
14525
 
14377
- // src/components/Tiles/styles/TileContainer.styles.ts
14526
+ // src/components/Tiles/styles/Tile.styles.ts
14378
14527
  import { css as css61 } from "@emotion/react";
14379
- var TileContainerWrapper = css61`
14380
- background: var(--brand-secondary-2);
14528
+ var Tile = css61`
14529
+ background: var(--white);
14530
+ border: none;
14531
+ cursor: pointer;
14532
+ outline: 1px solid var(--gray-300);
14533
+ display: grid;
14381
14534
  padding: var(--spacing-base);
14382
- margin-bottom: var(--spacing-lg);
14535
+ place-items: center;
14536
+ place-content: flex-start center;
14537
+ gap: var(--spacing-sm);
14538
+ transition: background-color var(--duration-fast) var(--timing-ease-out);
14539
+ min-height: 128px;
14540
+
14541
+ &:hover,
14542
+ &:focus {
14543
+ background: var(--gray-50);
14544
+ }
14545
+ `;
14546
+
14547
+ // src/components/Tiles/Tile.tsx
14548
+ import { jsx as jsx74 } from "@emotion/react/jsx-runtime";
14549
+ var Tile2 = ({ children, ...props }) => {
14550
+ return /* @__PURE__ */ jsx74("button", { type: "button", css: Tile, ...props, children });
14551
+ };
14552
+
14553
+ // src/components/Tiles/styles/TileContainer.styles.ts
14554
+ import { css as css62 } from "@emotion/react";
14555
+ var TileContainerWrapper = (theme, padding) => css62`
14556
+ background: ${theme};
14557
+ padding: ${padding != "none" ? `var(--spacing-${padding})` : "0"};
14383
14558
  `;
14384
- var TileContainerInner = css61`
14559
+ var TileContainerInner = (gap, templateColumns) => css62`
14385
14560
  display: grid;
14386
- grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
14387
- gap: var(--spacing-base);
14561
+ grid-template-columns: ${templateColumns};
14562
+ gap: var(--spacing-${gap});
14388
14563
  `;
14389
14564
 
14390
14565
  // src/components/Tiles/TileContainer.tsx
14391
- import { jsx as jsx74 } from "@emotion/react/jsx-runtime";
14392
- var TileContainer = ({ children, ...props }) => {
14393
- return /* @__PURE__ */ jsx74("div", { css: TileContainerWrapper, ...props, children: /* @__PURE__ */ jsx74("div", { css: TileContainerInner, children }) });
14566
+ import { jsx as jsx75 } from "@emotion/react/jsx-runtime";
14567
+ var TileContainer = ({
14568
+ bgColor = "var(--brand-secondary-2)",
14569
+ containerPadding = "base",
14570
+ gap = "base",
14571
+ gridTemplateColumns = "repeat(auto-fill, minmax(13rem, 1fr))",
14572
+ children,
14573
+ ...props
14574
+ }) => {
14575
+ return /* @__PURE__ */ jsx75("div", { css: TileContainerWrapper(bgColor, containerPadding), ...props, children: /* @__PURE__ */ jsx75("div", { css: TileContainerInner(gap, gridTemplateColumns), children }) });
14576
+ };
14577
+
14578
+ // src/components/Tiles/styles/TileText.styles.ts
14579
+ import { css as css63 } from "@emotion/react";
14580
+ var TileHeading = css63`
14581
+ font-size: var(--fs-base);
14582
+ `;
14583
+ var TileText = css63`
14584
+ color: var(--gray-500);
14585
+ font-size: var(--fs-sm);
14586
+ line-height: 1.2;
14587
+ `;
14588
+
14589
+ // src/components/Tiles/TileText.tsx
14590
+ import { jsx as jsx76 } from "@emotion/react/jsx-runtime";
14591
+ var TileText2 = ({ as = "heading", children, ...props }) => {
14592
+ const isHeading = as === "heading";
14593
+ return /* @__PURE__ */ jsx76(
14594
+ "span",
14595
+ {
14596
+ role: isHeading ? "heading" : void 0,
14597
+ css: isHeading ? TileHeading : TileText,
14598
+ ...props,
14599
+ children
14600
+ }
14601
+ );
14394
14602
  };
14395
14603
 
14396
14604
  // src/components/Modal/IntegrationModalHeader.styles.ts
14397
- import { css as css62 } from "@emotion/react";
14398
- var IntegrationModalHeaderSVGBackground = css62`
14605
+ import { css as css64 } from "@emotion/react";
14606
+ var IntegrationModalHeaderSVGBackground = css64`
14399
14607
  position: absolute;
14400
14608
  top: 0;
14401
14609
  left: 0;
14402
14610
  `;
14403
- var IntegrationModalHeaderGroup = css62`
14611
+ var IntegrationModalHeaderGroup = css64`
14404
14612
  align-items: center;
14405
14613
  display: flex;
14406
14614
  gap: var(--spacing-sm);
14407
14615
  margin: 0 0 var(--spacing-md);
14408
14616
  position: relative;
14409
14617
  `;
14410
- var IntegrationModalHeaderTitleGroup = css62`
14618
+ var IntegrationModalHeaderTitleGroup = css64`
14411
14619
  align-items: center;
14412
14620
  display: flex;
14413
14621
  gap: var(--spacing-base);
14414
14622
  `;
14415
- var IntegrationModalHeaderTitle = css62`
14623
+ var IntegrationModalHeaderTitle = css64`
14416
14624
  margin-top: 0;
14417
14625
  `;
14418
- var IntegrationModalHeaderMenuPlacement = css62`
14626
+ var IntegrationModalHeaderMenuPlacement = css64`
14419
14627
  margin-bottom: var(--spacing-base);
14420
14628
  `;
14421
- var IntegrationModalHeaderContentWrapper = css62`
14629
+ var IntegrationModalHeaderContentWrapper = css64`
14422
14630
  position: relative;
14423
14631
  z-index: var(--z-10);
14424
14632
  `;
14425
14633
 
14426
14634
  // src/components/Modal/IntegrationModalHeader.tsx
14427
- import { Fragment as Fragment9, jsx as jsx75, jsxs as jsxs49 } from "@emotion/react/jsx-runtime";
14635
+ import { Fragment as Fragment9, jsx as jsx77, jsxs as jsxs49 } from "@emotion/react/jsx-runtime";
14428
14636
  var HexModalBackground = ({ ...props }) => {
14429
14637
  return /* @__PURE__ */ jsxs49(
14430
14638
  "svg",
@@ -14436,7 +14644,7 @@ var HexModalBackground = ({ ...props }) => {
14436
14644
  xmlns: "http://www.w3.org/2000/svg",
14437
14645
  ...props,
14438
14646
  children: [
14439
- /* @__PURE__ */ jsx75(
14647
+ /* @__PURE__ */ jsx77(
14440
14648
  "path",
14441
14649
  {
14442
14650
  fillRule: "evenodd",
@@ -14445,7 +14653,7 @@ var HexModalBackground = ({ ...props }) => {
14445
14653
  fill: "url(#paint0_linear_196_2737)"
14446
14654
  }
14447
14655
  ),
14448
- /* @__PURE__ */ jsx75("defs", { children: /* @__PURE__ */ jsxs49(
14656
+ /* @__PURE__ */ jsx77("defs", { children: /* @__PURE__ */ jsxs49(
14449
14657
  "linearGradient",
14450
14658
  {
14451
14659
  id: "paint0_linear_196_2737",
@@ -14455,8 +14663,8 @@ var HexModalBackground = ({ ...props }) => {
14455
14663
  y2: "-95.2742",
14456
14664
  gradientUnits: "userSpaceOnUse",
14457
14665
  children: [
14458
- /* @__PURE__ */ jsx75("stop", { stopColor: "#81DCDE" }),
14459
- /* @__PURE__ */ jsx75("stop", { offset: "1", stopColor: "#428ED4" })
14666
+ /* @__PURE__ */ jsx77("stop", { stopColor: "#81DCDE" }),
14667
+ /* @__PURE__ */ jsx77("stop", { offset: "1", stopColor: "#428ED4" })
14460
14668
  ]
14461
14669
  }
14462
14670
  ) })
@@ -14466,21 +14674,21 @@ var HexModalBackground = ({ ...props }) => {
14466
14674
  };
14467
14675
  var IntegrationModalHeader = ({ icon, name, menu: menu2, children }) => {
14468
14676
  return /* @__PURE__ */ jsxs49(Fragment9, { children: [
14469
- /* @__PURE__ */ jsx75(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
14470
- /* @__PURE__ */ jsx75("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ jsxs49("div", { css: IntegrationModalHeaderTitleGroup, children: [
14471
- icon ? /* @__PURE__ */ jsx75(IntegrationModalIcon, { icon, name: name || "" }) : null,
14472
- /* @__PURE__ */ jsx75(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-test-id": "integration-modal-title", children: name || "Create Team Integration" }),
14677
+ /* @__PURE__ */ jsx77(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
14678
+ /* @__PURE__ */ jsx77("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ jsxs49("div", { css: IntegrationModalHeaderTitleGroup, children: [
14679
+ icon ? /* @__PURE__ */ jsx77(IntegrationModalIcon, { icon, name: name || "" }) : null,
14680
+ /* @__PURE__ */ jsx77(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-test-id": "integration-modal-title", children: name || "Create Team Integration" }),
14473
14681
  menu2 ? /* @__PURE__ */ jsxs49("div", { css: IntegrationModalHeaderMenuPlacement, children: [
14474
14682
  menu2,
14475
14683
  " "
14476
14684
  ] }) : null
14477
14685
  ] }) }),
14478
- /* @__PURE__ */ jsx75("div", { css: IntegrationModalHeaderContentWrapper, children })
14686
+ /* @__PURE__ */ jsx77("div", { css: IntegrationModalHeaderContentWrapper, children })
14479
14687
  ] });
14480
14688
  };
14481
14689
 
14482
14690
  // src/components/Tooltip/Tooltip.tsx
14483
- import React16 from "react";
14691
+ import React17 from "react";
14484
14692
  import {
14485
14693
  Tooltip as ReakitTooltip,
14486
14694
  TooltipArrow,
@@ -14489,8 +14697,8 @@ import {
14489
14697
  } from "reakit/Tooltip";
14490
14698
 
14491
14699
  // src/components/Tooltip/Tooltip.styles.ts
14492
- import { css as css63 } from "@emotion/react";
14493
- var TooltipContainer = css63`
14700
+ import { css as css65 } from "@emotion/react";
14701
+ var TooltipContainer = css65`
14494
14702
  z-index: var(--z-tooltip);
14495
14703
  border: 2px solid var(--gray-300);
14496
14704
  border-radius: var(--rounded-base);
@@ -14499,28 +14707,28 @@ var TooltipContainer = css63`
14499
14707
  font-size: var(--fs-xs);
14500
14708
  background: var(--white);
14501
14709
  `;
14502
- var TooltipArrowStyles = css63`
14710
+ var TooltipArrowStyles = css65`
14503
14711
  svg {
14504
14712
  fill: var(--gray-300);
14505
14713
  }
14506
14714
  `;
14507
14715
 
14508
14716
  // src/components/Tooltip/Tooltip.tsx
14509
- import { Fragment as Fragment10, jsx as jsx76, jsxs as jsxs50 } from "@emotion/react/jsx-runtime";
14717
+ import { Fragment as Fragment10, jsx as jsx78, jsxs as jsxs50 } from "@emotion/react/jsx-runtime";
14510
14718
  function Tooltip({ children, title, placement = "bottom", visible, ...props }) {
14511
14719
  const tooltip = useTooltipState({ placement });
14512
14720
  return !title ? children : /* @__PURE__ */ jsxs50(Fragment10, { children: [
14513
- /* @__PURE__ */ jsx76(TooltipReference, { ...tooltip, ...children.props, children: (referenceProps) => React16.cloneElement(children, referenceProps) }),
14721
+ /* @__PURE__ */ jsx78(TooltipReference, { ...tooltip, ...children.props, children: (referenceProps) => React17.cloneElement(children, referenceProps) }),
14514
14722
  /* @__PURE__ */ jsxs50(ReakitTooltip, { ...tooltip, ...props, css: TooltipContainer, visible: visible != null ? visible : tooltip.visible, children: [
14515
- /* @__PURE__ */ jsx76(TooltipArrow, { ...tooltip, css: TooltipArrowStyles }),
14723
+ /* @__PURE__ */ jsx78(TooltipArrow, { ...tooltip, css: TooltipArrowStyles }),
14516
14724
  title
14517
14725
  ] })
14518
14726
  ] });
14519
14727
  }
14520
14728
 
14521
14729
  // src/components/ParameterInputs/styles/ParameterBindingButton.styles.ts
14522
- import { css as css64 } from "@emotion/react";
14523
- var inputIconBtn = css64`
14730
+ import { css as css66 } from "@emotion/react";
14731
+ var inputIconBtn = css66`
14524
14732
  align-items: center;
14525
14733
  border: none;
14526
14734
  border-radius: var(--rounded-base);
@@ -14544,7 +14752,7 @@ var inputIconBtn = css64`
14544
14752
  `;
14545
14753
 
14546
14754
  // src/components/ParameterInputs/ConnectToDataElementButton.tsx
14547
- import { jsx as jsx77, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
14755
+ import { jsx as jsx79, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
14548
14756
  var ConnectToDataElementButton = ({
14549
14757
  icon,
14550
14758
  iconColor,
@@ -14554,7 +14762,7 @@ var ConnectToDataElementButton = ({
14554
14762
  ...props
14555
14763
  }) => {
14556
14764
  const title = isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
14557
- return /* @__PURE__ */ jsx77(Tooltip, { title, children: /* @__PURE__ */ jsxs51(
14765
+ return /* @__PURE__ */ jsx79(Tooltip, { title, children: /* @__PURE__ */ jsxs51(
14558
14766
  "button",
14559
14767
  {
14560
14768
  css: inputIconBtn,
@@ -14563,7 +14771,7 @@ var ConnectToDataElementButton = ({
14563
14771
  "aria-disabled": isLocked,
14564
14772
  ...props,
14565
14773
  children: [
14566
- /* @__PURE__ */ jsx77(
14774
+ /* @__PURE__ */ jsx79(
14567
14775
  Icon,
14568
14776
  {
14569
14777
  icon: isLocked ? "lock" : icon ? icon : "arrows-expand-down-right",
@@ -14599,8 +14807,8 @@ var useParameterShell = () => {
14599
14807
  };
14600
14808
 
14601
14809
  // src/components/ParameterInputs/styles/ParameterInput.styles.ts
14602
- import { css as css65 } from "@emotion/react";
14603
- var inputContainer2 = css65`
14810
+ import { css as css67 } from "@emotion/react";
14811
+ var inputContainer2 = css67`
14604
14812
  position: relative;
14605
14813
 
14606
14814
  &:hover,
@@ -14612,14 +14820,14 @@ var inputContainer2 = css65`
14612
14820
  }
14613
14821
  }
14614
14822
  `;
14615
- var labelText2 = css65`
14823
+ var labelText2 = css67`
14616
14824
  align-items: center;
14617
14825
  display: flex;
14618
14826
  gap: var(--spacing-xs);
14619
14827
  font-weight: var(--fw-regular);
14620
14828
  margin: 0 0 var(--spacing-xs);
14621
14829
  `;
14622
- var input2 = css65`
14830
+ var input2 = css67`
14623
14831
  display: block;
14624
14832
  appearance: none;
14625
14833
  box-sizing: border-box;
@@ -14663,18 +14871,18 @@ var input2 = css65`
14663
14871
  color: var(--gray-400);
14664
14872
  }
14665
14873
  `;
14666
- var selectInput = css65`
14874
+ var selectInput = css67`
14667
14875
  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");
14668
14876
  background-position: right var(--spacing-sm) center;
14669
14877
  background-repeat: no-repeat;
14670
14878
  background-size: 1rem;
14671
14879
  padding-right: var(--spacing-xl);
14672
14880
  `;
14673
- var inputWrapper = css65`
14881
+ var inputWrapper = css67`
14674
14882
  display: flex; // used to correct overflow with chrome textarea
14675
14883
  position: relative;
14676
14884
  `;
14677
- var inputIcon2 = css65`
14885
+ var inputIcon2 = css67`
14678
14886
  align-items: center;
14679
14887
  background: var(--white);
14680
14888
  border-radius: var(--rounded-md) 0 0 var(--rounded-md);
@@ -14690,7 +14898,7 @@ var inputIcon2 = css65`
14690
14898
  width: var(--spacing-lg);
14691
14899
  z-index: var(--z-10);
14692
14900
  `;
14693
- var inputToggleLabel2 = css65`
14901
+ var inputToggleLabel2 = css67`
14694
14902
  align-items: center;
14695
14903
  background: var(--white);
14696
14904
  cursor: pointer;
@@ -14701,7 +14909,7 @@ var inputToggleLabel2 = css65`
14701
14909
  min-height: var(--spacing-md);
14702
14910
  position: relative;
14703
14911
  `;
14704
- var toggleInput2 = css65`
14912
+ var toggleInput2 = css67`
14705
14913
  appearance: none;
14706
14914
  border: 1px solid var(--gray-300);
14707
14915
  background: var(--white);
@@ -14740,7 +14948,7 @@ var toggleInput2 = css65`
14740
14948
  border-color: var(--gray-300);
14741
14949
  }
14742
14950
  `;
14743
- var inlineLabel2 = css65`
14951
+ var inlineLabel2 = css67`
14744
14952
  padding-left: var(--spacing-lg);
14745
14953
  font-size: var(--fs-sm);
14746
14954
  font-weight: var(--fw-regular);
@@ -14756,7 +14964,7 @@ var inlineLabel2 = css65`
14756
14964
  }
14757
14965
  }
14758
14966
  `;
14759
- var inputMenu = css65`
14967
+ var inputMenu = css67`
14760
14968
  background: none;
14761
14969
  border: none;
14762
14970
  padding: var(--spacing-2xs);
@@ -14772,14 +14980,14 @@ var inputMenu = css65`
14772
14980
  background-color: var(--gray-200);
14773
14981
  }
14774
14982
  `;
14775
- var textarea2 = css65`
14983
+ var textarea2 = css67`
14776
14984
  resize: vertical;
14777
14985
  min-height: 2rem;
14778
14986
  `;
14779
- var imageWrapper = css65`
14987
+ var imageWrapper = css67`
14780
14988
  background: var(--white);
14781
14989
  `;
14782
- var img = css65`
14990
+ var img = css67`
14783
14991
  animation: ${fadeIn} var(--duration-fast) var(--timing-ease-out) forwards;
14784
14992
  object-fit: contain;
14785
14993
  max-width: 100%;
@@ -14787,7 +14995,7 @@ var img = css65`
14787
14995
  opacity: var(--opacity-0);
14788
14996
  margin: var(--spacing-sm) auto 0;
14789
14997
  `;
14790
- var dataConnectButton = css65`
14998
+ var dataConnectButton = css67`
14791
14999
  align-items: center;
14792
15000
  appearance: none;
14793
15001
  box-sizing: border-box;
@@ -14822,7 +15030,7 @@ var dataConnectButton = css65`
14822
15030
  pointer-events: none;
14823
15031
  }
14824
15032
  `;
14825
- var linkParameterBtn = css65`
15033
+ var linkParameterBtn = css67`
14826
15034
  border-radius: var(--rounded-base);
14827
15035
  background: var(--white);
14828
15036
  border: none;
@@ -14831,7 +15039,7 @@ var linkParameterBtn = css65`
14831
15039
  font-size: var(--fs-sm);
14832
15040
  line-height: 1;
14833
15041
  `;
14834
- var linkParameterControls = css65`
15042
+ var linkParameterControls = css67`
14835
15043
  position: absolute;
14836
15044
  inset: 0 0 0 auto;
14837
15045
  padding: 0 var(--spacing-base);
@@ -14840,13 +15048,13 @@ var linkParameterControls = css65`
14840
15048
  justify-content: center;
14841
15049
  gap: var(--spacing-base);
14842
15050
  `;
14843
- var linkParameterInput = (withExternalLinkIcon) => css65`
15051
+ var linkParameterInput = (withExternalLinkIcon) => css67`
14844
15052
  padding-right: calc(
14845
15053
  ${withExternalLinkIcon ? "calc(var(--spacing-lg) * 2 + var(--spacing-xs))" : "var(--spacing-xl)"} +
14846
15054
  var(--spacing-base)
14847
15055
  );
14848
15056
  `;
14849
- var linkParameterIcon = css65`
15057
+ var linkParameterIcon = css67`
14850
15058
  align-items: center;
14851
15059
  color: var(--brand-secondary-3);
14852
15060
  display: flex;
@@ -14861,7 +15069,7 @@ var linkParameterIcon = css65`
14861
15069
  `;
14862
15070
 
14863
15071
  // src/components/ParameterInputs/ParameterDataResource.tsx
14864
- import { jsx as jsx78, jsxs as jsxs52 } from "@emotion/react/jsx-runtime";
15072
+ import { jsx as jsx80, jsxs as jsxs52 } from "@emotion/react/jsx-runtime";
14865
15073
  function ParameterDataResource({
14866
15074
  label,
14867
15075
  labelLeadingIcon,
@@ -14885,30 +15093,30 @@ function ParameterDataResource({
14885
15093
  disabled,
14886
15094
  onClick: onConnectDatasource,
14887
15095
  children: [
14888
- /* @__PURE__ */ jsx78("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ jsx78(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
15096
+ /* @__PURE__ */ jsx80("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ jsx80(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
14889
15097
  children
14890
15098
  ]
14891
15099
  }
14892
15100
  ),
14893
- caption ? /* @__PURE__ */ jsx78(Caption, { children: caption }) : null
15101
+ caption ? /* @__PURE__ */ jsx80(Caption, { children: caption }) : null
14894
15102
  ] });
14895
15103
  }
14896
15104
 
14897
15105
  // src/components/ParameterInputs/styles/ParameterDrawerHeader.styles.ts
14898
- import { css as css66 } from "@emotion/react";
14899
- var ParameterDrawerHeaderContainer = css66`
15106
+ import { css as css68 } from "@emotion/react";
15107
+ var ParameterDrawerHeaderContainer = css68`
14900
15108
  align-items: center;
14901
15109
  display: flex;
14902
15110
  gap: var(--spacing-base);
14903
15111
  justify-content: space-between;
14904
15112
  margin-bottom: var(--spacing-sm);
14905
15113
  `;
14906
- var ParameterDrawerHeaderTitleGroup = css66`
15114
+ var ParameterDrawerHeaderTitleGroup = css68`
14907
15115
  align-items: center;
14908
15116
  display: flex;
14909
15117
  gap: var(--spacing-sm);
14910
15118
  `;
14911
- var ParameterDrawerHeaderTitle = css66`
15119
+ var ParameterDrawerHeaderTitle = css68`
14912
15120
  text-overflow: ellipsis;
14913
15121
  white-space: nowrap;
14914
15122
  overflow: hidden;
@@ -14916,12 +15124,12 @@ var ParameterDrawerHeaderTitle = css66`
14916
15124
  `;
14917
15125
 
14918
15126
  // src/components/ParameterInputs/ParameterDrawerHeader.tsx
14919
- import { jsx as jsx79, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
15127
+ import { jsx as jsx81, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
14920
15128
  var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
14921
15129
  return /* @__PURE__ */ jsxs53("div", { css: ParameterDrawerHeaderContainer, children: [
14922
15130
  /* @__PURE__ */ jsxs53("header", { css: ParameterDrawerHeaderTitleGroup, children: [
14923
15131
  iconBeforeTitle,
14924
- /* @__PURE__ */ jsx79(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
15132
+ /* @__PURE__ */ jsx81(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
14925
15133
  ] }),
14926
15134
  children
14927
15135
  ] });
@@ -14931,8 +15139,8 @@ var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
14931
15139
  import { forwardRef as forwardRef8 } from "react";
14932
15140
 
14933
15141
  // src/components/ParameterInputs/styles/ParameterGroup.styles.ts
14934
- import { css as css67 } from "@emotion/react";
14935
- var fieldsetStyles = css67`
15142
+ import { css as css69 } from "@emotion/react";
15143
+ var fieldsetStyles = css69`
14936
15144
  &:disabled,
14937
15145
  [readonly] {
14938
15146
  pointer-events: none;
@@ -14943,7 +15151,7 @@ var fieldsetStyles = css67`
14943
15151
  }
14944
15152
  }
14945
15153
  `;
14946
- var fieldsetLegend2 = css67`
15154
+ var fieldsetLegend2 = css69`
14947
15155
  display: block;
14948
15156
  font-weight: var(--fw-medium);
14949
15157
  margin-bottom: var(--spacing-sm);
@@ -14951,11 +15159,11 @@ var fieldsetLegend2 = css67`
14951
15159
  `;
14952
15160
 
14953
15161
  // src/components/ParameterInputs/ParameterGroup.tsx
14954
- import { jsx as jsx80, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
15162
+ import { jsx as jsx82, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
14955
15163
  var ParameterGroup = forwardRef8(
14956
15164
  ({ legend, isDisabled, children, ...props }, ref) => {
14957
15165
  return /* @__PURE__ */ jsxs54("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
14958
- /* @__PURE__ */ jsx80("legend", { css: fieldsetLegend2, children: legend }),
15166
+ /* @__PURE__ */ jsx82("legend", { css: fieldsetLegend2, children: legend }),
14959
15167
  children
14960
15168
  ] });
14961
15169
  }
@@ -14968,21 +15176,21 @@ import { forwardRef as forwardRef10, useCallback as useCallback3, useDeferredVal
14968
15176
  import { useState as useState7 } from "react";
14969
15177
 
14970
15178
  // src/components/ParameterInputs/ParameterLabel.tsx
14971
- import { jsx as jsx81 } from "@emotion/react/jsx-runtime";
15179
+ import { jsx as jsx83 } from "@emotion/react/jsx-runtime";
14972
15180
  var ParameterLabel = ({ id, asSpan, children, ...props }) => {
14973
- return !asSpan ? /* @__PURE__ */ jsx81("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ jsx81("span", { "aria-labelledby": id, css: labelText2, children });
15181
+ return !asSpan ? /* @__PURE__ */ jsx83("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ jsx83("span", { "aria-labelledby": id, css: labelText2, children });
14974
15182
  };
14975
15183
 
14976
15184
  // src/components/ParameterInputs/ParameterMenuButton.tsx
14977
15185
  import { forwardRef as forwardRef9 } from "react";
14978
- import { jsx as jsx82 } from "@emotion/react/jsx-runtime";
15186
+ import { jsx as jsx84 } from "@emotion/react/jsx-runtime";
14979
15187
  var ParameterMenuButton = forwardRef9(
14980
15188
  ({ label, children }, ref) => {
14981
- return /* @__PURE__ */ jsx82(
15189
+ return /* @__PURE__ */ jsx84(
14982
15190
  Menu,
14983
15191
  {
14984
15192
  menuLabel: `${label} menu`,
14985
- menuTrigger: /* @__PURE__ */ jsx82(
15193
+ menuTrigger: /* @__PURE__ */ jsx84(
14986
15194
  "button",
14987
15195
  {
14988
15196
  className: "parameter-menu",
@@ -14990,7 +15198,7 @@ var ParameterMenuButton = forwardRef9(
14990
15198
  type: "button",
14991
15199
  "aria-label": `${label} options`,
14992
15200
  ref,
14993
- children: /* @__PURE__ */ jsx82(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
15201
+ children: /* @__PURE__ */ jsx84(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
14994
15202
  }
14995
15203
  ),
14996
15204
  children
@@ -15000,15 +15208,15 @@ var ParameterMenuButton = forwardRef9(
15000
15208
  );
15001
15209
 
15002
15210
  // src/components/ParameterInputs/styles/ParameterShell.styles.ts
15003
- import { css as css68 } from "@emotion/react";
15004
- var emptyParameterShell = css68`
15211
+ import { css as css70 } from "@emotion/react";
15212
+ var emptyParameterShell = css70`
15005
15213
  border-radius: var(--rounded-sm);
15006
15214
  background: var(--white);
15007
15215
  flex-grow: 1;
15008
15216
  padding: var(--spacing-xs);
15009
15217
  position: relative;
15010
15218
  `;
15011
- var emptyParameterShellText = css68`
15219
+ var emptyParameterShellText = css70`
15012
15220
  background: var(--brand-secondary-6);
15013
15221
  border-radius: var(--rounded-sm);
15014
15222
  padding: var(--spacing-sm);
@@ -15016,7 +15224,7 @@ var emptyParameterShellText = css68`
15016
15224
  font-size: var(--fs-sm);
15017
15225
  margin: 0;
15018
15226
  `;
15019
- var overrideMarker = css68`
15227
+ var overrideMarker = css70`
15020
15228
  border-radius: var(--rounded-sm);
15021
15229
  border: 10px solid var(--gray-300);
15022
15230
  border-left-color: transparent;
@@ -15027,7 +15235,7 @@ var overrideMarker = css68`
15027
15235
  `;
15028
15236
 
15029
15237
  // src/components/ParameterInputs/ParameterShell.tsx
15030
- import { jsx as jsx83, jsxs as jsxs55 } from "@emotion/react/jsx-runtime";
15238
+ import { jsx as jsx85, jsxs as jsxs55 } from "@emotion/react/jsx-runtime";
15031
15239
  var extractParameterProps = (props) => {
15032
15240
  const {
15033
15241
  id,
@@ -15041,7 +15249,6 @@ var extractParameterProps = (props) => {
15041
15249
  hiddenLabel,
15042
15250
  labelLeadingIcon,
15043
15251
  menuItems,
15044
- handleManuallySetErrorMessage,
15045
15252
  title,
15046
15253
  hasOverriddenValue,
15047
15254
  onResetOverriddenValue,
@@ -15060,7 +15267,6 @@ var extractParameterProps = (props) => {
15060
15267
  hiddenLabel,
15061
15268
  labelLeadingIcon,
15062
15269
  menuItems,
15063
- handleManuallySetErrorMessage,
15064
15270
  title,
15065
15271
  hasOverriddenValue,
15066
15272
  onResetOverriddenValue
@@ -15099,8 +15305,8 @@ var ParameterShell = ({
15099
15305
  title
15100
15306
  ] }),
15101
15307
  /* @__PURE__ */ jsxs55("div", { css: inputWrapper, children: [
15102
- menuItems ? /* @__PURE__ */ jsx83(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
15103
- /* @__PURE__ */ jsx83(
15308
+ menuItems ? /* @__PURE__ */ jsx85(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
15309
+ /* @__PURE__ */ jsx85(
15104
15310
  ParameterShellContext.Provider,
15105
15311
  {
15106
15312
  value: {
@@ -15112,27 +15318,27 @@ var ParameterShell = ({
15112
15318
  },
15113
15319
  children: /* @__PURE__ */ jsxs55(ParameterShellPlaceholder, { children: [
15114
15320
  children,
15115
- hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx83(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
15321
+ hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx85(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
15116
15322
  ] })
15117
15323
  }
15118
15324
  )
15119
15325
  ] }),
15120
- caption ? /* @__PURE__ */ jsx83(Caption, { testId: captionTestId, children: caption }) : null,
15121
- errorMessaging ? /* @__PURE__ */ jsx83(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null,
15122
- warningMessage ? /* @__PURE__ */ jsx83(WarningMessage, { message: warningMessage }) : null,
15123
- infoMessage ? /* @__PURE__ */ jsx83(InfoMessage, { message: infoMessage }) : null
15326
+ caption ? /* @__PURE__ */ jsx85(Caption, { testId: captionTestId, children: caption }) : null,
15327
+ errorMessaging ? /* @__PURE__ */ jsx85(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null,
15328
+ warningMessage ? /* @__PURE__ */ jsx85(WarningMessage, { message: warningMessage }) : null,
15329
+ infoMessage ? /* @__PURE__ */ jsx85(InfoMessage, { message: infoMessage }) : null
15124
15330
  ] });
15125
15331
  };
15126
15332
  var ParameterShellPlaceholder = ({ children }) => {
15127
- return /* @__PURE__ */ jsx83("div", { css: emptyParameterShell, children });
15333
+ return /* @__PURE__ */ jsx85("div", { css: emptyParameterShell, children });
15128
15334
  };
15129
- var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx83(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx83("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx83("span", { hidden: true, children: "reset overridden value to default" }) }) });
15335
+ var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx85(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx85("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx85("span", { hidden: true, children: "reset overridden value to default" }) }) });
15130
15336
 
15131
15337
  // src/components/ParameterInputs/ParameterImage.tsx
15132
- import { Fragment as Fragment11, jsx as jsx84, jsxs as jsxs56 } from "@emotion/react/jsx-runtime";
15338
+ import { Fragment as Fragment11, jsx as jsx86, jsxs as jsxs56 } from "@emotion/react/jsx-runtime";
15133
15339
  var ParameterImage = forwardRef10((props, ref) => {
15134
15340
  const { shellProps, innerProps } = extractParameterProps(props);
15135
- return /* @__PURE__ */ jsx84(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: /* @__PURE__ */ jsx84(ParameterImageInner, { ref, ...innerProps }) });
15341
+ return /* @__PURE__ */ jsx86(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: /* @__PURE__ */ jsx86(ParameterImageInner, { ref, ...innerProps }) });
15136
15342
  });
15137
15343
  var BrokenImage = ({ ...props }) => {
15138
15344
  return /* @__PURE__ */ jsxs56(
@@ -15147,11 +15353,11 @@ var BrokenImage = ({ ...props }) => {
15147
15353
  xmlnsXlink: "http://www.w3.org/1999/xlink",
15148
15354
  ...props,
15149
15355
  children: [
15150
- /* @__PURE__ */ jsx84("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
15151
- /* @__PURE__ */ jsx84("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
15356
+ /* @__PURE__ */ jsx86("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
15357
+ /* @__PURE__ */ jsx86("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
15152
15358
  /* @__PURE__ */ jsxs56("defs", { children: [
15153
- /* @__PURE__ */ jsx84("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ jsx84("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
15154
- /* @__PURE__ */ jsx84(
15359
+ /* @__PURE__ */ jsx86("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ jsx86("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
15360
+ /* @__PURE__ */ jsx86(
15155
15361
  "image",
15156
15362
  {
15157
15363
  id: "image0_761_4353",
@@ -15211,7 +15417,7 @@ var ParameterImageInner = forwardRef10(
15211
15417
  updateImageSrc();
15212
15418
  }, [deferredValue]);
15213
15419
  return /* @__PURE__ */ jsxs56(Fragment11, { children: [
15214
- /* @__PURE__ */ jsx84(
15420
+ /* @__PURE__ */ jsx86(
15215
15421
  "input",
15216
15422
  {
15217
15423
  css: input2,
@@ -15224,7 +15430,7 @@ var ParameterImageInner = forwardRef10(
15224
15430
  }
15225
15431
  ),
15226
15432
  /* @__PURE__ */ jsxs56("div", { css: imageWrapper, children: [
15227
- deferredValue && !errorMessage ? /* @__PURE__ */ jsx84(
15433
+ deferredValue && !errorMessage ? /* @__PURE__ */ jsx86(
15228
15434
  "img",
15229
15435
  {
15230
15436
  src: deferredValue,
@@ -15235,24 +15441,24 @@ var ParameterImageInner = forwardRef10(
15235
15441
  loading: "lazy"
15236
15442
  }
15237
15443
  ) : null,
15238
- deferredValue && errorMessage ? /* @__PURE__ */ jsx84(BrokenImage, { css: img }) : null
15444
+ deferredValue && errorMessage ? /* @__PURE__ */ jsx86(BrokenImage, { css: img }) : null
15239
15445
  ] }),
15240
- loading ? /* @__PURE__ */ jsx84(LoadingIcon, {}) : null
15446
+ loading ? /* @__PURE__ */ jsx86(LoadingIcon, {}) : null
15241
15447
  ] });
15242
15448
  }
15243
15449
  );
15244
15450
 
15245
15451
  // src/components/ParameterInputs/ParameterInput.tsx
15246
15452
  import { forwardRef as forwardRef11 } from "react";
15247
- import { jsx as jsx85 } from "@emotion/react/jsx-runtime";
15453
+ import { jsx as jsx87 } from "@emotion/react/jsx-runtime";
15248
15454
  var ParameterInput = forwardRef11((props, ref) => {
15249
15455
  const { shellProps, innerProps } = extractParameterProps(props);
15250
- return /* @__PURE__ */ jsx85(ParameterShell, { "data-test-id": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx85(ParameterInputInner, { ref, ...innerProps }) });
15456
+ return /* @__PURE__ */ jsx87(ParameterShell, { "data-test-id": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx87(ParameterInputInner, { ref, ...innerProps }) });
15251
15457
  });
15252
15458
  var ParameterInputInner = forwardRef11(
15253
15459
  ({ ...props }, ref) => {
15254
15460
  const { id, label, hiddenLabel } = useParameterShell();
15255
- return /* @__PURE__ */ jsx85(
15461
+ return /* @__PURE__ */ jsx87(
15256
15462
  "input",
15257
15463
  {
15258
15464
  css: input2,
@@ -15269,18 +15475,18 @@ var ParameterInputInner = forwardRef11(
15269
15475
 
15270
15476
  // src/components/ParameterInputs/ParameterLink.tsx
15271
15477
  import { forwardRef as forwardRef12 } from "react";
15272
- import { jsx as jsx86, jsxs as jsxs57 } from "@emotion/react/jsx-runtime";
15478
+ import { jsx as jsx88, jsxs as jsxs57 } from "@emotion/react/jsx-runtime";
15273
15479
  var ParameterLink = forwardRef12(
15274
15480
  ({ buttonText = "Select link", disabled, onConnectLink, externalLink, ...props }, ref) => {
15275
15481
  const { shellProps, innerProps } = extractParameterProps(props);
15276
- return /* @__PURE__ */ jsx86(
15482
+ return /* @__PURE__ */ jsx88(
15277
15483
  ParameterShell,
15278
15484
  {
15279
15485
  "data-test-id": "link-parameter-editor",
15280
15486
  ...shellProps,
15281
15487
  label: innerProps.value ? shellProps.label : "",
15282
15488
  title: !innerProps.value ? shellProps.label : void 0,
15283
- children: !innerProps.value ? /* @__PURE__ */ jsx86("button", { type: "button", css: dataConnectButton, disabled, onClick: onConnectLink, children: buttonText }) : /* @__PURE__ */ jsx86(
15489
+ children: !innerProps.value ? /* @__PURE__ */ jsx88("button", { type: "button", css: dataConnectButton, disabled, onClick: onConnectLink, children: buttonText }) : /* @__PURE__ */ jsx88(
15284
15490
  ParameterLinkInner,
15285
15491
  {
15286
15492
  onConnectLink,
@@ -15297,7 +15503,7 @@ var ParameterLinkInner = forwardRef12(
15297
15503
  ({ externalLink, onConnectLink, disabled, ...props }, ref) => {
15298
15504
  const { id, label, hiddenLabel } = useParameterShell();
15299
15505
  return /* @__PURE__ */ jsxs57("div", { css: inputWrapper, children: [
15300
- /* @__PURE__ */ jsx86(
15506
+ /* @__PURE__ */ jsx88(
15301
15507
  "input",
15302
15508
  {
15303
15509
  type: "text",
@@ -15310,7 +15516,7 @@ var ParameterLinkInner = forwardRef12(
15310
15516
  }
15311
15517
  ),
15312
15518
  /* @__PURE__ */ jsxs57("div", { css: linkParameterControls, children: [
15313
- /* @__PURE__ */ jsx86(
15519
+ /* @__PURE__ */ jsx88(
15314
15520
  "button",
15315
15521
  {
15316
15522
  type: "button",
@@ -15321,7 +15527,7 @@ var ParameterLinkInner = forwardRef12(
15321
15527
  children: "edit"
15322
15528
  }
15323
15529
  ),
15324
- externalLink ? /* @__PURE__ */ jsx86(
15530
+ externalLink ? /* @__PURE__ */ jsx88(
15325
15531
  "a",
15326
15532
  {
15327
15533
  href: externalLink,
@@ -15329,7 +15535,7 @@ var ParameterLinkInner = forwardRef12(
15329
15535
  title: "Open link in new tab",
15330
15536
  target: "_blank",
15331
15537
  rel: "noopener noreferrer",
15332
- children: /* @__PURE__ */ jsx86(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
15538
+ children: /* @__PURE__ */ jsx88(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
15333
15539
  }
15334
15540
  ) : null
15335
15541
  ] })
@@ -15338,7 +15544,7 @@ var ParameterLinkInner = forwardRef12(
15338
15544
  );
15339
15545
 
15340
15546
  // src/components/ParameterInputs/ParameterNameAndPublicIdInput.tsx
15341
- import { Fragment as Fragment12, jsx as jsx87, jsxs as jsxs58 } from "@emotion/react/jsx-runtime";
15547
+ import { Fragment as Fragment12, jsx as jsx89, jsxs as jsxs58 } from "@emotion/react/jsx-runtime";
15342
15548
  var ParameterNameAndPublicIdInput = ({
15343
15549
  id,
15344
15550
  onBlur,
@@ -15365,7 +15571,7 @@ var ParameterNameAndPublicIdInput = ({
15365
15571
  };
15366
15572
  autoFocus == null ? void 0 : autoFocus();
15367
15573
  return /* @__PURE__ */ jsxs58(Fragment12, { children: [
15368
- /* @__PURE__ */ jsx87(
15574
+ /* @__PURE__ */ jsx89(
15369
15575
  ParameterInput,
15370
15576
  {
15371
15577
  id: nameIdField,
@@ -15384,7 +15590,7 @@ var ParameterNameAndPublicIdInput = ({
15384
15590
  value: values[nameIdField]
15385
15591
  }
15386
15592
  ),
15387
- /* @__PURE__ */ jsx87(
15593
+ /* @__PURE__ */ jsx89(
15388
15594
  ParameterInput,
15389
15595
  {
15390
15596
  id: publicIdFieldName,
@@ -15398,11 +15604,11 @@ var ParameterNameAndPublicIdInput = ({
15398
15604
  caption: publicIdCaption,
15399
15605
  placeholder: publicIdPlaceholderText,
15400
15606
  errorMessage: publicIdError,
15401
- menuItems: /* @__PURE__ */ jsx87(
15607
+ menuItems: /* @__PURE__ */ jsx89(
15402
15608
  MenuItem,
15403
15609
  {
15404
15610
  disabled: !values[publicIdFieldName],
15405
- icon: /* @__PURE__ */ jsx87(Icon, { icon: "path-trim", iconColor: "currentColor" }),
15611
+ icon: /* @__PURE__ */ jsx89(Icon, { icon: "path-trim", iconColor: "currentColor" }),
15406
15612
  onClick: handleCopyPidFieldValue,
15407
15613
  children: "Copy"
15408
15614
  }
@@ -15410,12 +15616,13 @@ var ParameterNameAndPublicIdInput = ({
15410
15616
  value: values[publicIdFieldName]
15411
15617
  }
15412
15618
  ),
15413
- (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx87(Callout, { type: "caution", children: warnOverLength.message }) : null
15619
+ (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx89(Callout, { type: "caution", children: warnOverLength.message }) : null
15414
15620
  ] });
15415
15621
  };
15416
15622
 
15417
15623
  // src/components/ParameterInputs/ParameterRichText.tsx
15418
- import { css as css73 } from "@emotion/react";
15624
+ import { css as css75 } from "@emotion/react";
15625
+ import { CodeNode } from "@lexical/code";
15419
15626
  import { ListItemNode, ListNode as ListNode2 } from "@lexical/list";
15420
15627
  import { LexicalComposer } from "@lexical/react/LexicalComposer";
15421
15628
  import { useLexicalComposerContext as useLexicalComposerContext4 } from "@lexical/react/LexicalComposerContext";
@@ -15424,7 +15631,7 @@ import LexicalErrorBoundary from "@lexical/react/LexicalErrorBoundary";
15424
15631
  import { HistoryPlugin } from "@lexical/react/LexicalHistoryPlugin";
15425
15632
  import { ListPlugin } from "@lexical/react/LexicalListPlugin";
15426
15633
  import { RichTextPlugin } from "@lexical/react/LexicalRichTextPlugin";
15427
- import { HeadingNode } from "@lexical/rich-text";
15634
+ import { HeadingNode, QuoteNode } from "@lexical/rich-text";
15428
15635
  import { deepEqual as deepEqual2 } from "fast-equals";
15429
15636
  import { ParagraphNode } from "lexical";
15430
15637
  import { useEffect as useEffect13, useRef as useRef6 } from "react";
@@ -15466,6 +15673,14 @@ var richTextBuiltInElements = [
15466
15673
  {
15467
15674
  label: "Link",
15468
15675
  type: "link"
15676
+ },
15677
+ {
15678
+ label: "Blockquote",
15679
+ type: "quote"
15680
+ },
15681
+ {
15682
+ label: "Code Block",
15683
+ type: "code"
15469
15684
  }
15470
15685
  ];
15471
15686
 
@@ -15502,93 +15717,93 @@ var richTextBuiltInFormats = [
15502
15717
  ];
15503
15718
 
15504
15719
  // src/components/ParameterInputs/rich-text/editorStyles.ts
15505
- import { css as css69 } from "@emotion/css";
15506
- var textBold = css69`
15720
+ import { css as css71 } from "@emotion/css";
15721
+ var textBold = css71`
15507
15722
  font-weight: 700;
15508
15723
  `;
15509
- var textItalic = css69`
15724
+ var textItalic = css71`
15510
15725
  font-style: italic;
15511
15726
  `;
15512
- var textUnderline = css69`
15727
+ var textUnderline = css71`
15513
15728
  text-decoration: underline;
15514
15729
  `;
15515
- var textStrikethrough = css69`
15730
+ var textStrikethrough = css71`
15516
15731
  text-decoration: line-through;
15517
15732
  `;
15518
- var textUnderlineStrikethrough = css69`
15733
+ var textUnderlineStrikethrough = css71`
15519
15734
  text-decoration: underline line-through;
15520
15735
  `;
15521
- var textCode = css69`
15736
+ var textCode = css71`
15522
15737
  background-color: var(--gray-100);
15523
15738
  border-radius: var(--rounded-sm);
15524
15739
  display: inline-block;
15525
15740
  font-family: var(--ff-mono);
15526
- font-size: 94%;
15741
+ font-size: var(--fs-sm);
15527
15742
  padding-left: var(--spacing-xs);
15528
15743
  padding-right: var(--spacing-xs);
15529
15744
  `;
15530
- var textSuperscript = css69`
15745
+ var textSuperscript = css71`
15531
15746
  vertical-align: super;
15532
15747
  font-size: smaller;
15533
15748
  `;
15534
- var textSubscript = css69`
15749
+ var textSubscript = css71`
15535
15750
  vertical-align: sub;
15536
15751
  font-size: smaller;
15537
15752
  `;
15538
- var linkElement = css69`
15753
+ var linkElement = css71`
15539
15754
  ${link}
15540
15755
  ${linkColorDefault}
15541
15756
  text-decoration: underline;
15542
15757
  `;
15543
- var h12 = css69`
15758
+ var h12 = css71`
15544
15759
  font-size: clamp(1.35rem, var(--fluid-font-base), 1.7rem);
15545
15760
  `;
15546
- var h22 = css69`
15761
+ var h22 = css71`
15547
15762
  font-size: clamp(1.35rem, var(--fluid-font-base), 1.6rem);
15548
15763
  `;
15549
- var h32 = css69`
15764
+ var h32 = css71`
15550
15765
  font-size: clamp(1.25rem, var(--fluid-font-base), 1.5rem);
15551
15766
  `;
15552
- var h42 = css69`
15767
+ var h42 = css71`
15553
15768
  font-size: clamp(1.15rem, var(--fluid-font-base), 1.25rem);
15554
15769
  `;
15555
- var h52 = css69`
15770
+ var h52 = css71`
15556
15771
  font-size: clamp(var(--fs-base), var(--fluid-font-base), 1.15rem);
15557
15772
  `;
15558
- var h62 = css69`
15773
+ var h62 = css71`
15559
15774
  font-size: var(--fs-base);
15560
15775
  `;
15561
- var heading1Element = css69`
15776
+ var heading1Element = css71`
15562
15777
  ${h12}
15563
15778
  ${commonHeadingAttr(true)}
15564
15779
  ${commonLineHeight}
15565
15780
  `;
15566
- var heading2Element = css69`
15781
+ var heading2Element = css71`
15567
15782
  ${h22}
15568
15783
  ${commonHeadingAttr(true)}
15569
15784
  ${commonLineHeight}
15570
15785
  `;
15571
- var heading3Element = css69`
15786
+ var heading3Element = css71`
15572
15787
  ${h32}
15573
15788
  ${commonHeadingAttr(true)}
15574
15789
  ${commonLineHeight}
15575
15790
  `;
15576
- var heading4Element = css69`
15791
+ var heading4Element = css71`
15577
15792
  ${h42}
15578
15793
  ${commonHeadingAttr(true)}
15579
15794
  ${commonLineHeight}
15580
15795
  `;
15581
- var heading5Element = css69`
15796
+ var heading5Element = css71`
15582
15797
  ${h52}
15583
15798
  ${commonHeadingAttr(true)}
15584
15799
  ${commonLineHeight}
15585
15800
  `;
15586
- var heading6Element = css69`
15801
+ var heading6Element = css71`
15587
15802
  ${h62}
15588
15803
  ${commonHeadingAttr(true)}
15589
15804
  ${commonLineHeight}
15590
15805
  `;
15591
- var paragraphElement = css69`
15806
+ var paragraphElement = css71`
15592
15807
  line-height: 1.5;
15593
15808
  margin-bottom: var(--spacing-base);
15594
15809
 
@@ -15596,7 +15811,7 @@ var paragraphElement = css69`
15596
15811
  margin-bottom: 0;
15597
15812
  }
15598
15813
  `;
15599
- var orderedListElement = css69`
15814
+ var orderedListElement = css71`
15600
15815
  ${commonLineHeight}
15601
15816
  display: block;
15602
15817
  list-style: decimal;
@@ -15625,7 +15840,7 @@ var orderedListElement = css69`
15625
15840
  }
15626
15841
  }
15627
15842
  `;
15628
- var unorderedListElement = css69`
15843
+ var unorderedListElement = css71`
15629
15844
  ${commonLineHeight}
15630
15845
  display: block;
15631
15846
  list-style: disc;
@@ -15646,15 +15861,38 @@ var unorderedListElement = css69`
15646
15861
  }
15647
15862
  }
15648
15863
  `;
15649
- var listItemElement = css69`
15864
+ var listItemElement = css71`
15650
15865
  margin-left: var(--spacing-md);
15651
15866
  `;
15652
- var nestedListItemElement = css69`
15867
+ var nestedListItemElement = css71`
15653
15868
  list-style-type: none;
15654
15869
  `;
15870
+ var blockquoteElement = css71`
15871
+ border-left: 0.25rem solid var(--gray-300);
15872
+ color: var(--gray-600);
15873
+ margin-bottom: var(--spacing-base);
15874
+ padding-left: var(--spacing-base);
15875
+
15876
+ &:last-child {
15877
+ margin-bottom: 0;
15878
+ }
15879
+ `;
15880
+ var codeElement = css71`
15881
+ background-color: var(--gray-100);
15882
+ border-radius: var(--rounded-sm);
15883
+ display: block;
15884
+ font-family: var(--ff-mono);
15885
+ font-size: var(--fs-sm);
15886
+ margin-bottom: var(--spacing-base);
15887
+ padding: var(--spacing-sm);
15888
+
15889
+ &:last-child {
15890
+ margin-bottom: 0;
15891
+ }
15892
+ `;
15655
15893
 
15656
15894
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
15657
- import { css as css71 } from "@emotion/react";
15895
+ import { css as css73 } from "@emotion/react";
15658
15896
  import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
15659
15897
  import { NodeEventPlugin } from "@lexical/react/LexicalNodeEventPlugin";
15660
15898
  import { addClassNamesToElement, isHTMLAnchorElement, mergeRegister } from "@lexical/utils";
@@ -15673,13 +15911,13 @@ import {
15673
15911
  import { useCallback as useCallback4, useEffect as useEffect10, useRef as useRef5, useState as useState9 } from "react";
15674
15912
 
15675
15913
  // src/components/Popover/Popover.styles.ts
15676
- import { css as css70 } from "@emotion/react";
15677
- var PopoverBtn = css70`
15914
+ import { css as css72 } from "@emotion/react";
15915
+ var PopoverBtn = css72`
15678
15916
  border: none;
15679
15917
  background: none;
15680
15918
  padding: 0;
15681
15919
  `;
15682
- var Popover = css70`
15920
+ var Popover = css72`
15683
15921
  border-left: var(--spacing-xs) solid var(--brand-secondary-3);
15684
15922
  border-radius: var(--rounded-base);
15685
15923
  box-shadow: var(--shadow-base);
@@ -15745,7 +15983,7 @@ var richTextIsValueConsideredEmpty = (value) => {
15745
15983
  };
15746
15984
 
15747
15985
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
15748
- import { Fragment as Fragment13, jsx as jsx88, jsxs as jsxs59 } from "@emotion/react/jsx-runtime";
15986
+ import { Fragment as Fragment13, jsx as jsx90, jsxs as jsxs59 } from "@emotion/react/jsx-runtime";
15749
15987
  var isProjectMapLinkValue = (value) => {
15750
15988
  return (value == null ? void 0 : value.type) === "projectMapNode" && Boolean(
15751
15989
  value.nodeId && value.path && value.projectMapId
@@ -16011,16 +16249,16 @@ var OPEN_LINK_NODE_MODAL_COMMAND = createCommand(
16011
16249
  );
16012
16250
  var LINK_POPOVER_OFFSET_X = 0;
16013
16251
  var LINK_POPOVER_OFFSET_Y = 8;
16014
- var linkPopover = css71`
16252
+ var linkPopover = css73`
16015
16253
  position: absolute;
16016
16254
  z-index: 5;
16017
16255
  `;
16018
- var linkPopoverContainer = css71`
16256
+ var linkPopoverContainer = css73`
16019
16257
  ${Popover};
16020
16258
  align-items: center;
16021
16259
  display: flex;
16022
16260
  `;
16023
- var linkPopoverAnchor = css71`
16261
+ var linkPopoverAnchor = css73`
16024
16262
  ${link}
16025
16263
  ${linkColorDefault}
16026
16264
  `;
@@ -16157,7 +16395,7 @@ function LinkNodePlugin({ onConnectLink }) {
16157
16395
  });
16158
16396
  };
16159
16397
  return /* @__PURE__ */ jsxs59(Fragment13, { children: [
16160
- /* @__PURE__ */ jsx88(
16398
+ /* @__PURE__ */ jsx90(
16161
16399
  NodeEventPlugin,
16162
16400
  {
16163
16401
  nodeType: LinkNode,
@@ -16167,7 +16405,7 @@ function LinkNodePlugin({ onConnectLink }) {
16167
16405
  }
16168
16406
  }
16169
16407
  ),
16170
- linkPopoverState ? /* @__PURE__ */ jsx88(
16408
+ linkPopoverState ? /* @__PURE__ */ jsx90(
16171
16409
  "div",
16172
16410
  {
16173
16411
  css: linkPopover,
@@ -16177,7 +16415,7 @@ function LinkNodePlugin({ onConnectLink }) {
16177
16415
  },
16178
16416
  ref: linkPopoverElRef,
16179
16417
  children: /* @__PURE__ */ jsxs59("div", { css: linkPopoverContainer, children: [
16180
- linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ jsx88(
16418
+ linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ jsx90(
16181
16419
  "a",
16182
16420
  {
16183
16421
  href: `${linkPopoverState.node.__link.type === "email" ? "mailto:" : linkPopoverState.node.__link.type === "tel" ? "tel:" : ""}${linkPopoverState.node.__link.path}`,
@@ -16187,7 +16425,7 @@ function LinkNodePlugin({ onConnectLink }) {
16187
16425
  children: linkPopoverState.node.__link.path
16188
16426
  }
16189
16427
  ),
16190
- /* @__PURE__ */ jsx88(
16428
+ /* @__PURE__ */ jsx90(
16191
16429
  Button,
16192
16430
  {
16193
16431
  size: "xs",
@@ -16195,7 +16433,7 @@ function LinkNodePlugin({ onConnectLink }) {
16195
16433
  onEditLinkNode(linkPopoverState.node);
16196
16434
  },
16197
16435
  buttonType: "ghost",
16198
- children: /* @__PURE__ */ jsx88(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
16436
+ children: /* @__PURE__ */ jsx90(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
16199
16437
  }
16200
16438
  )
16201
16439
  ] })
@@ -16220,7 +16458,7 @@ import {
16220
16458
  INDENT_CONTENT_COMMAND
16221
16459
  } from "lexical";
16222
16460
  import { useEffect as useEffect11 } from "react";
16223
- import { jsx as jsx89 } from "@emotion/react/jsx-runtime";
16461
+ import { jsx as jsx91 } from "@emotion/react/jsx-runtime";
16224
16462
  function isIndentPermitted(maxDepth) {
16225
16463
  const selection = $getSelection2();
16226
16464
  if (!$isRangeSelection2(selection)) {
@@ -16250,11 +16488,12 @@ function ListIndentPlugin({ maxDepth }) {
16250
16488
  COMMAND_PRIORITY_CRITICAL
16251
16489
  );
16252
16490
  }, [editor, maxDepth]);
16253
- return /* @__PURE__ */ jsx89(TabIndentationPlugin, {});
16491
+ return /* @__PURE__ */ jsx91(TabIndentationPlugin, {});
16254
16492
  }
16255
16493
 
16256
16494
  // src/components/ParameterInputs/rich-text/RichTextToolbar.tsx
16257
- import { css as css72 } from "@emotion/react";
16495
+ import { css as css74 } from "@emotion/react";
16496
+ import { $createCodeNode } from "@lexical/code";
16258
16497
  import {
16259
16498
  $isListNode as $isListNode2,
16260
16499
  INSERT_ORDERED_LIST_COMMAND,
@@ -16263,21 +16502,32 @@ import {
16263
16502
  REMOVE_LIST_COMMAND
16264
16503
  } from "@lexical/list";
16265
16504
  import { useLexicalComposerContext as useLexicalComposerContext3 } from "@lexical/react/LexicalComposerContext";
16266
- import { $createHeadingNode, $isHeadingNode } from "@lexical/rich-text";
16505
+ import { $isDecoratorBlockNode } from "@lexical/react/LexicalDecoratorBlockNode";
16506
+ import {
16507
+ $createHeadingNode,
16508
+ $createQuoteNode,
16509
+ $isHeadingNode,
16510
+ $isQuoteNode
16511
+ } from "@lexical/rich-text";
16267
16512
  import { $setBlocksType } from "@lexical/selection";
16268
- import { $findMatchingParent, $getNearestNodeOfType } from "@lexical/utils";
16513
+ import {
16514
+ $findMatchingParent,
16515
+ $getNearestBlockElementAncestorOrThrow,
16516
+ $getNearestNodeOfType
16517
+ } from "@lexical/utils";
16269
16518
  import {
16270
16519
  $createParagraphNode,
16271
16520
  $getSelection as $getSelection3,
16272
16521
  $isRangeSelection as $isRangeSelection3,
16273
16522
  $isRootOrShadowRoot,
16523
+ $isTextNode,
16274
16524
  COMMAND_PRIORITY_CRITICAL as COMMAND_PRIORITY_CRITICAL2,
16275
16525
  FORMAT_TEXT_COMMAND,
16276
16526
  SELECTION_CHANGE_COMMAND
16277
16527
  } from "lexical";
16278
16528
  import { useCallback as useCallback5, useEffect as useEffect12, useMemo as useMemo2, useState as useState10 } from "react";
16279
- import { Fragment as Fragment14, jsx as jsx90, jsxs as jsxs60 } from "@emotion/react/jsx-runtime";
16280
- var toolbar = css72`
16529
+ import { Fragment as Fragment14, jsx as jsx92, jsxs as jsxs60 } from "@emotion/react/jsx-runtime";
16530
+ var toolbar = css74`
16281
16531
  background: var(--gray-50);
16282
16532
  border-radius: var(--rounded-base);
16283
16533
  display: flex;
@@ -16289,7 +16539,7 @@ var toolbar = css72`
16289
16539
  top: 0;
16290
16540
  z-index: 10;
16291
16541
  `;
16292
- var toolbarGroup = css72`
16542
+ var toolbarGroup = css74`
16293
16543
  display: flex;
16294
16544
  gap: var(--spacing-xs);
16295
16545
  position: relative;
@@ -16305,7 +16555,7 @@ var toolbarGroup = css72`
16305
16555
  width: 1px;
16306
16556
  }
16307
16557
  `;
16308
- var toolbarButton = css72`
16558
+ var toolbarButton = css74`
16309
16559
  align-items: center;
16310
16560
  appearance: none;
16311
16561
  border: 0;
@@ -16318,17 +16568,17 @@ var toolbarButton = css72`
16318
16568
  min-width: 32px;
16319
16569
  padding: 0 var(--spacing-sm);
16320
16570
  `;
16321
- var toolbarButtonActive = css72`
16571
+ var toolbarButtonActive = css74`
16322
16572
  background: var(--gray-200);
16323
16573
  `;
16324
- var toolbarIcon = css72`
16574
+ var toolbarIcon = css74`
16325
16575
  color: inherit;
16326
16576
  `;
16327
- var toolbarChevron = css72`
16577
+ var toolbarChevron = css74`
16328
16578
  margin-left: var(--spacing-xs);
16329
16579
  `;
16330
16580
  var ToolbarIcon = ({ icon }) => {
16331
- return /* @__PURE__ */ jsx90(Icon, { icon, css: toolbarIcon, size: "1rem" });
16581
+ return /* @__PURE__ */ jsx92(Icon, { icon, css: toolbarIcon, size: "1rem" });
16332
16582
  };
16333
16583
  var RichTextToolbar = ({ config }) => {
16334
16584
  const [editor] = useLexicalComposerContext3();
@@ -16344,7 +16594,6 @@ var RichTextToolbar = ({ config }) => {
16344
16594
  return (_b = (_a = config == null ? void 0 : config.elements) == null ? void 0 : _a.builtIn) == null ? void 0 : _b.includes(element.type);
16345
16595
  }
16346
16596
  );
16347
- const showToolbar = enabledBuiltInFormats.length > 0 || enabledBuiltInElements.length > 0;
16348
16597
  const formatsWithIcon = /* @__PURE__ */ new Map([
16349
16598
  ["bold", "format-bold"],
16350
16599
  ["italic", "format-italic"],
@@ -16370,7 +16619,7 @@ var RichTextToolbar = ({ config }) => {
16370
16619
  if (type === "paragraph") {
16371
16620
  return "Normal";
16372
16621
  }
16373
- const element = enabledBuiltInElements.find((element2) => element2.type === type);
16622
+ const element = richTextBuiltInElements.find((element2) => element2.type === type);
16374
16623
  return (_a = element == null ? void 0 : element.label) != null ? _a : type;
16375
16624
  };
16376
16625
  const onSelectElement = (type) => {
@@ -16386,6 +16635,10 @@ var RichTextToolbar = ({ config }) => {
16386
16635
  $setBlocksType(selection, () => $createHeadingNode(type));
16387
16636
  } else if (type === "paragraph") {
16388
16637
  $setBlocksType(selection, () => $createParagraphNode());
16638
+ } else if (type === "quote") {
16639
+ $setBlocksType(selection, () => $createQuoteNode());
16640
+ } else if (type === "code") {
16641
+ $setBlocksType(selection, () => $createCodeNode());
16389
16642
  }
16390
16643
  });
16391
16644
  };
@@ -16398,6 +16651,12 @@ var RichTextToolbar = ({ config }) => {
16398
16651
  enabledBuiltInElements.filter((element) => ["orderedList", "unorderedList"].includes(element.type)).map((element) => element.type)
16399
16652
  );
16400
16653
  }, [enabledBuiltInElements]);
16654
+ const quoteElementEnabled = useMemo2(() => {
16655
+ return enabledBuiltInElements.some((element) => element.type === "quote");
16656
+ }, [enabledBuiltInElements]);
16657
+ const codeElementEnabled = useMemo2(() => {
16658
+ return enabledBuiltInElements.some((element) => element.type === "code");
16659
+ }, [enabledBuiltInElements]);
16401
16660
  const updateToolbar = useCallback5(() => {
16402
16661
  const selection = $getSelection3();
16403
16662
  if (!$isRangeSelection3(selection)) {
@@ -16456,18 +16715,65 @@ var RichTextToolbar = ({ config }) => {
16456
16715
  });
16457
16716
  });
16458
16717
  }, [editor, updateToolbar]);
16459
- if (!showToolbar) {
16460
- return null;
16461
- }
16718
+ const clearFormatting2 = useCallback5(() => {
16719
+ editor.update(() => {
16720
+ const selection = $getSelection3();
16721
+ if ($isRangeSelection3(selection)) {
16722
+ const anchor = selection.anchor;
16723
+ const focus = selection.focus;
16724
+ const nodes = selection.getNodes();
16725
+ if (anchor.key === focus.key && anchor.offset === focus.offset) {
16726
+ return;
16727
+ }
16728
+ nodes.forEach((node, idx) => {
16729
+ if ($isTextNode(node)) {
16730
+ if (idx === 0 && anchor.offset !== 0) {
16731
+ node = node.splitText(anchor.offset)[1] || node;
16732
+ }
16733
+ if (idx === nodes.length - 1) {
16734
+ node = node.splitText(focus.offset)[0] || node;
16735
+ }
16736
+ if (node.__style !== "") {
16737
+ node.setStyle("");
16738
+ }
16739
+ if (node.__format !== 0) {
16740
+ node.setFormat(0);
16741
+ $getNearestBlockElementAncestorOrThrow(node).setFormat("");
16742
+ }
16743
+ } else if ($isHeadingNode(node) || $isQuoteNode(node)) {
16744
+ node.replace($createParagraphNode(), true);
16745
+ } else if ($isDecoratorBlockNode(node)) {
16746
+ node.setFormat("");
16747
+ }
16748
+ });
16749
+ }
16750
+ updateToolbar();
16751
+ });
16752
+ }, [editor, updateToolbar]);
16753
+ const elementsThatShouldBeVisibleInDropdown = useMemo2(() => {
16754
+ if (activeElement === "paragraph") {
16755
+ return enabledTextualElements;
16756
+ }
16757
+ if (enabledBuiltInElements.some((element) => element.type === activeElement)) {
16758
+ return enabledTextualElements;
16759
+ }
16760
+ return [
16761
+ ...enabledTextualElements,
16762
+ {
16763
+ label: elementTypeToLabel(activeElement),
16764
+ type: activeElement
16765
+ }
16766
+ ];
16767
+ }, [enabledBuiltInElements, enabledTextualElements, activeElement]);
16462
16768
  return /* @__PURE__ */ jsxs60("div", { css: toolbar, children: [
16463
- enabledTextualElements.length > 0 ? /* @__PURE__ */ jsx90(
16769
+ elementsThatShouldBeVisibleInDropdown.length > 0 ? /* @__PURE__ */ jsx92(
16464
16770
  Menu,
16465
16771
  {
16466
16772
  menuLabel: "Elements",
16467
16773
  menuTrigger: /* @__PURE__ */ jsxs60("button", { css: toolbarButton, title: "Text formatting", children: [
16468
- enabledTextualElements.some((textualElement) => textualElement.type === activeElement) ? elementTypeToLabel(activeElement) : elementTypeToLabel("paragraph"),
16774
+ elementsThatShouldBeVisibleInDropdown.some((element) => element.type === activeElement) ? elementTypeToLabel(activeElement) : elementTypeToLabel("paragraph"),
16469
16775
  " ",
16470
- /* @__PURE__ */ jsx90(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
16776
+ /* @__PURE__ */ jsx92(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
16471
16777
  ] }),
16472
16778
  placement: "bottom-start",
16473
16779
  children: [
@@ -16475,8 +16781,8 @@ var RichTextToolbar = ({ config }) => {
16475
16781
  label: "Normal",
16476
16782
  type: "paragraph"
16477
16783
  },
16478
- ...enabledTextualElements
16479
- ].map((element) => /* @__PURE__ */ jsx90(
16784
+ ...elementsThatShouldBeVisibleInDropdown
16785
+ ].map((element) => /* @__PURE__ */ jsx92(
16480
16786
  MenuItem,
16481
16787
  {
16482
16788
  onClick: () => {
@@ -16489,23 +16795,23 @@ var RichTextToolbar = ({ config }) => {
16489
16795
  }
16490
16796
  ) : null,
16491
16797
  enabledBuiltInFormatsWithIcon.length > 0 || enabledBuiltInFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsxs60("div", { css: toolbarGroup, children: [
16492
- enabledBuiltInFormatsWithIcon.map((format) => /* @__PURE__ */ jsx90(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ jsx90(
16798
+ enabledBuiltInFormatsWithIcon.map((format) => /* @__PURE__ */ jsx92(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ jsx92(
16493
16799
  "button",
16494
16800
  {
16495
16801
  onClick: () => {
16496
16802
  editor.dispatchCommand(FORMAT_TEXT_COMMAND, format.type);
16497
16803
  },
16498
16804
  css: [toolbarButton, activeFormats.includes(format.type) ? toolbarButtonActive : null],
16499
- children: /* @__PURE__ */ jsx90(ToolbarIcon, { icon: formatsWithIcon.get(format.type) })
16805
+ children: /* @__PURE__ */ jsx92(ToolbarIcon, { icon: formatsWithIcon.get(format.type) })
16500
16806
  }
16501
16807
  ) }, format.type)),
16502
- enabledBuiltInFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsx90(
16808
+ enabledBuiltInFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsx92(
16503
16809
  Menu,
16504
16810
  {
16505
16811
  menuLabel: "Text formatting",
16506
- menuTrigger: /* @__PURE__ */ jsx90("button", { css: toolbarButton, title: "Text formatting", children: /* @__PURE__ */ jsx90(Icon, { icon: "more-alt", css: toolbarIcon }) }),
16812
+ menuTrigger: /* @__PURE__ */ jsx92("button", { css: toolbarButton, title: "Text formatting", children: /* @__PURE__ */ jsx92(Icon, { icon: "more-alt", css: toolbarIcon }) }),
16507
16813
  placement: "bottom-start",
16508
- children: enabledBuiltInFormatsWithoutIcon.map((format) => /* @__PURE__ */ jsx90(
16814
+ children: enabledBuiltInFormatsWithoutIcon.map((format) => /* @__PURE__ */ jsx92(
16509
16815
  MenuItem,
16510
16816
  {
16511
16817
  onClick: () => {
@@ -16518,46 +16824,87 @@ var RichTextToolbar = ({ config }) => {
16518
16824
  }
16519
16825
  ) : null
16520
16826
  ] }) : null,
16521
- linkElementEnabled || enabledLists.size > 0 ? /* @__PURE__ */ jsxs60("div", { css: toolbarGroup, children: [
16522
- linkElementEnabled ? /* @__PURE__ */ jsx90(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ jsx90(
16827
+ linkElementEnabled || enabledLists.size > 0 || quoteElementEnabled || codeElementEnabled ? /* @__PURE__ */ jsxs60("div", { css: toolbarGroup, children: [
16828
+ linkElementEnabled ? /* @__PURE__ */ jsx92(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ jsx92(
16523
16829
  "button",
16524
16830
  {
16525
16831
  onClick: () => {
16526
16832
  editor.dispatchCommand(OPEN_LINK_NODE_MODAL_COMMAND, {});
16527
16833
  },
16528
16834
  css: [toolbarButton, isLink ? toolbarButtonActive : null],
16529
- children: /* @__PURE__ */ jsx90(ToolbarIcon, { icon: "link" })
16835
+ children: /* @__PURE__ */ jsx92(ToolbarIcon, { icon: "link" })
16530
16836
  }
16531
16837
  ) }) : null,
16532
16838
  enabledLists.size > 0 ? /* @__PURE__ */ jsxs60(Fragment14, { children: [
16533
- enabledLists.has("unorderedList") ? /* @__PURE__ */ jsx90(Tooltip, { title: "Bullet list", placement: "top", children: /* @__PURE__ */ jsx90(
16839
+ enabledLists.has("unorderedList") ? /* @__PURE__ */ jsx92(Tooltip, { title: "Bullet list", placement: "top", children: /* @__PURE__ */ jsx92(
16534
16840
  "button",
16535
16841
  {
16536
16842
  onClick: () => {
16537
16843
  activeElement === "unorderedList" ? editor.dispatchCommand(REMOVE_LIST_COMMAND, void 0) : editor.dispatchCommand(INSERT_UNORDERED_LIST_COMMAND, void 0);
16538
16844
  },
16539
16845
  css: [toolbarButton, activeElement === "unorderedList" ? toolbarButtonActive : null],
16540
- children: /* @__PURE__ */ jsx90(ToolbarIcon, { icon: "layout-list" })
16846
+ children: /* @__PURE__ */ jsx92(ToolbarIcon, { icon: "layout-list" })
16541
16847
  }
16542
16848
  ) }) : null,
16543
- enabledLists.has("orderedList") ? /* @__PURE__ */ jsx90(Tooltip, { title: "Numbered list", placement: "top", children: /* @__PURE__ */ jsx90(
16849
+ enabledLists.has("orderedList") ? /* @__PURE__ */ jsx92(Tooltip, { title: "Numbered list", placement: "top", children: /* @__PURE__ */ jsx92(
16544
16850
  "button",
16545
16851
  {
16546
16852
  onClick: () => {
16547
16853
  activeElement === "orderedList" ? editor.dispatchCommand(REMOVE_LIST_COMMAND, void 0) : editor.dispatchCommand(INSERT_ORDERED_LIST_COMMAND, void 0);
16548
16854
  },
16549
16855
  css: [toolbarButton, activeElement === "orderedList" ? toolbarButtonActive : null],
16550
- children: /* @__PURE__ */ jsx90(ToolbarIcon, { icon: "layout-list-numbered" })
16856
+ children: /* @__PURE__ */ jsx92(ToolbarIcon, { icon: "layout-list-numbered" })
16551
16857
  }
16552
16858
  ) }) : null
16553
- ] }) : null
16554
- ] }) : null
16859
+ ] }) : null,
16860
+ quoteElementEnabled ? /* @__PURE__ */ jsx92(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ jsx92(
16861
+ "button",
16862
+ {
16863
+ onClick: () => {
16864
+ activeElement === "quote" ? onSelectElement("paragraph") : onSelectElement("quote");
16865
+ },
16866
+ css: [toolbarButton, activeElement === "quote" ? toolbarButtonActive : null],
16867
+ children: /* @__PURE__ */ jsx92(ToolbarIcon, { icon: "quote" })
16868
+ }
16869
+ ) }) : null,
16870
+ codeElementEnabled ? /* @__PURE__ */ jsx92(Tooltip, { title: "Code", placement: "top", children: /* @__PURE__ */ jsx92(
16871
+ "button",
16872
+ {
16873
+ onClick: () => {
16874
+ activeElement === "code" ? onSelectElement("paragraph") : onSelectElement("code");
16875
+ },
16876
+ css: [toolbarButton, activeElement === "code" ? toolbarButtonActive : null],
16877
+ children: /* @__PURE__ */ jsx92(ToolbarIcon, { icon: "code-slash" })
16878
+ }
16879
+ ) }) : null
16880
+ ] }) : null,
16881
+ /* @__PURE__ */ jsx92(
16882
+ "div",
16883
+ {
16884
+ css: [
16885
+ toolbarGroup,
16886
+ {
16887
+ marginLeft: "auto"
16888
+ }
16889
+ ],
16890
+ children: /* @__PURE__ */ jsx92(Tooltip, { title: "Clear formatting", placement: "top", children: /* @__PURE__ */ jsx92(
16891
+ "button",
16892
+ {
16893
+ onClick: () => {
16894
+ clearFormatting2();
16895
+ },
16896
+ css: [toolbarButton],
16897
+ children: /* @__PURE__ */ jsx92(ToolbarIcon, { icon: "clear-formatting" })
16898
+ }
16899
+ ) })
16900
+ }
16901
+ )
16555
16902
  ] });
16556
16903
  };
16557
16904
  var RichTextToolbar_default = RichTextToolbar;
16558
16905
 
16559
16906
  // src/components/ParameterInputs/ParameterRichText.tsx
16560
- import { Fragment as Fragment15, jsx as jsx91, jsxs as jsxs61 } from "@emotion/react/jsx-runtime";
16907
+ import { Fragment as Fragment15, jsx as jsx93, jsxs as jsxs61 } from "@emotion/react/jsx-runtime";
16561
16908
  var ParameterRichText = ({
16562
16909
  label,
16563
16910
  labelLeadingIcon,
@@ -16592,7 +16939,7 @@ var ParameterRichText = ({
16592
16939
  captionTestId,
16593
16940
  menuItems,
16594
16941
  children: [
16595
- /* @__PURE__ */ jsx91(
16942
+ /* @__PURE__ */ jsx93(
16596
16943
  ParameterRichTextInner,
16597
16944
  {
16598
16945
  value,
@@ -16606,23 +16953,23 @@ var ParameterRichText = ({
16606
16953
  editorFooter
16607
16954
  }
16608
16955
  ),
16609
- menuItems ? /* @__PURE__ */ jsx91(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx91(Fragment15, { children: menuItems }) }) : null
16956
+ menuItems ? /* @__PURE__ */ jsx93(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx93(Fragment15, { children: menuItems }) }) : null
16610
16957
  ]
16611
16958
  }
16612
16959
  );
16613
16960
  };
16614
- var editorWrapper = css73`
16961
+ var editorWrapper = css75`
16615
16962
  display: flex;
16616
16963
  flex-flow: column;
16617
16964
  flex-grow: 1;
16618
16965
  `;
16619
- var editorContainer = css73`
16966
+ var editorContainer = css75`
16620
16967
  display: flex;
16621
16968
  flex-flow: column;
16622
16969
  flex-grow: 1;
16623
16970
  position: relative;
16624
16971
  `;
16625
- var editorPlaceholder = css73`
16972
+ var editorPlaceholder = css75`
16626
16973
  color: var(--gray-500);
16627
16974
  font-style: italic;
16628
16975
  /* 1px is added to make sure caret is clearly visible when field is focused
@@ -16633,11 +16980,11 @@ var editorPlaceholder = css73`
16633
16980
  top: var(--spacing-xs);
16634
16981
  user-select: none;
16635
16982
  `;
16636
- var editorInput = css73`
16983
+ var editorInput = css75`
16637
16984
  background: var(--white);
16638
16985
  border: 1px solid var(--white);
16639
16986
  border-radius: var(--rounded-sm);
16640
- color: var(--gray-700);
16987
+ color: var(--gray-900);
16641
16988
  flex-grow: 1;
16642
16989
  font-size: var(--fs-base);
16643
16990
  line-height: 1.2;
@@ -16669,7 +17016,7 @@ var ParameterRichTextInner = ({
16669
17016
  console.error(error);
16670
17017
  },
16671
17018
  editorState: value ? JSON.stringify(value) : void 0,
16672
- nodes: [ListNode2, ListItemNode, LinkNode, HeadingNode, ParagraphNode],
17019
+ nodes: [ListNode2, ListItemNode, LinkNode, HeadingNode, QuoteNode, CodeNode, ParagraphNode],
16673
17020
  theme: {
16674
17021
  text: {
16675
17022
  bold: textBold,
@@ -16698,12 +17045,14 @@ var ParameterRichTextInner = ({
16698
17045
  nested: {
16699
17046
  listitem: nestedListItemElement
16700
17047
  }
16701
- }
17048
+ },
17049
+ quote: blockquoteElement,
17050
+ code: codeElement
16702
17051
  },
16703
17052
  editable: !readOnly
16704
17053
  };
16705
17054
  return /* @__PURE__ */ jsxs61(Fragment15, { children: [
16706
- /* @__PURE__ */ jsx91("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ jsx91(LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ jsx91(
17055
+ /* @__PURE__ */ jsx93("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ jsx93(LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ jsx93(
16707
17056
  RichText,
16708
17057
  {
16709
17058
  onChange,
@@ -16745,31 +17094,31 @@ var RichText = ({
16745
17094
  };
16746
17095
  }, []);
16747
17096
  return /* @__PURE__ */ jsxs61(Fragment15, { children: [
16748
- readOnly ? null : /* @__PURE__ */ jsx91(RichTextToolbar_default, { config }),
17097
+ readOnly ? null : /* @__PURE__ */ jsx93(RichTextToolbar_default, { config }),
16749
17098
  /* @__PURE__ */ jsxs61("div", { css: editorContainer, ref: editorContainerRef, children: [
16750
- /* @__PURE__ */ jsx91(
17099
+ /* @__PURE__ */ jsx93(
16751
17100
  RichTextPlugin,
16752
17101
  {
16753
- contentEditable: /* @__PURE__ */ jsx91(ContentEditable, { css: editorInput, className: editorInputClassName }),
16754
- placeholder: /* @__PURE__ */ jsx91("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
17102
+ contentEditable: /* @__PURE__ */ jsx93(ContentEditable, { css: editorInput, className: editorInputClassName }),
17103
+ placeholder: /* @__PURE__ */ jsx93("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
16755
17104
  ErrorBoundary: LexicalErrorBoundary
16756
17105
  }
16757
17106
  ),
16758
- /* @__PURE__ */ jsx91(ListPlugin, {}),
16759
- readOnly ? null : /* @__PURE__ */ jsx91(HistoryPlugin, {}),
16760
- /* @__PURE__ */ jsx91(LinkNodePlugin, { onConnectLink: onConnectLink ? onConnectLink : () => Promise.resolve() }),
16761
- /* @__PURE__ */ jsx91(ListIndentPlugin, { maxDepth: 4 })
17107
+ /* @__PURE__ */ jsx93(ListPlugin, {}),
17108
+ readOnly ? null : /* @__PURE__ */ jsx93(HistoryPlugin, {}),
17109
+ /* @__PURE__ */ jsx93(LinkNodePlugin, { onConnectLink: onConnectLink ? onConnectLink : () => Promise.resolve() }),
17110
+ /* @__PURE__ */ jsx93(ListIndentPlugin, { maxDepth: 4 })
16762
17111
  ] })
16763
17112
  ] });
16764
17113
  };
16765
17114
 
16766
17115
  // src/components/ParameterInputs/ParameterSelect.tsx
16767
17116
  import { forwardRef as forwardRef13 } from "react";
16768
- import { jsx as jsx92, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
17117
+ import { jsx as jsx94, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
16769
17118
  var ParameterSelect = forwardRef13(
16770
17119
  ({ defaultOption, options, ...props }, ref) => {
16771
17120
  const { shellProps, innerProps } = extractParameterProps(props);
16772
- return /* @__PURE__ */ jsx92(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx92(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
17121
+ return /* @__PURE__ */ jsx94(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx94(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
16773
17122
  }
16774
17123
  );
16775
17124
  var ParameterSelectInner = forwardRef13(
@@ -16784,10 +17133,10 @@ var ParameterSelectInner = forwardRef13(
16784
17133
  ref,
16785
17134
  ...props,
16786
17135
  children: [
16787
- defaultOption ? /* @__PURE__ */ jsx92("option", { value: "", children: defaultOption }) : null,
17136
+ defaultOption ? /* @__PURE__ */ jsx94("option", { value: "", children: defaultOption }) : null,
16788
17137
  options.map((option) => {
16789
17138
  var _a;
16790
- return /* @__PURE__ */ jsx92("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
17139
+ return /* @__PURE__ */ jsx94("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
16791
17140
  })
16792
17141
  ]
16793
17142
  }
@@ -16797,14 +17146,14 @@ var ParameterSelectInner = forwardRef13(
16797
17146
 
16798
17147
  // src/components/ParameterInputs/ParameterTextarea.tsx
16799
17148
  import { forwardRef as forwardRef14 } from "react";
16800
- import { jsx as jsx93 } from "@emotion/react/jsx-runtime";
17149
+ import { jsx as jsx95 } from "@emotion/react/jsx-runtime";
16801
17150
  var ParameterTextarea = forwardRef14((props, ref) => {
16802
17151
  const { shellProps, innerProps } = extractParameterProps(props);
16803
- return /* @__PURE__ */ jsx93(ParameterShell, { "data-test-id": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx93(ParameterTextareaInner, { ref, ...innerProps }) });
17152
+ return /* @__PURE__ */ jsx95(ParameterShell, { "data-test-id": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx95(ParameterTextareaInner, { ref, ...innerProps }) });
16804
17153
  });
16805
17154
  var ParameterTextareaInner = forwardRef14(({ ...props }, ref) => {
16806
17155
  const { id, label, hiddenLabel } = useParameterShell();
16807
- return /* @__PURE__ */ jsx93(
17156
+ return /* @__PURE__ */ jsx95(
16808
17157
  "textarea",
16809
17158
  {
16810
17159
  css: [input2, textarea2],
@@ -16818,17 +17167,17 @@ var ParameterTextareaInner = forwardRef14(({ ...props }, ref) => {
16818
17167
 
16819
17168
  // src/components/ParameterInputs/ParameterToggle.tsx
16820
17169
  import { forwardRef as forwardRef15 } from "react";
16821
- import { jsx as jsx94, jsxs as jsxs63 } from "@emotion/react/jsx-runtime";
17170
+ import { jsx as jsx96, jsxs as jsxs63 } from "@emotion/react/jsx-runtime";
16822
17171
  var ParameterToggle = forwardRef15((props, ref) => {
16823
17172
  const { shellProps, innerProps } = extractParameterProps(props);
16824
- return /* @__PURE__ */ jsx94(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx94(ParameterToggleInner, { ref, ...innerProps }) });
17173
+ return /* @__PURE__ */ jsx96(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx96(ParameterToggleInner, { ref, ...innerProps }) });
16825
17174
  });
16826
17175
  var ParameterToggleInner = forwardRef15(
16827
17176
  ({ ...props }, ref) => {
16828
17177
  const { id, label } = useParameterShell();
16829
17178
  return /* @__PURE__ */ jsxs63("label", { css: inputToggleLabel2, children: [
16830
- /* @__PURE__ */ jsx94("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
16831
- /* @__PURE__ */ jsx94("span", { css: inlineLabel2, children: label })
17179
+ /* @__PURE__ */ jsx96("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
17180
+ /* @__PURE__ */ jsx96("span", { css: inlineLabel2, children: label })
16832
17181
  ] });
16833
17182
  }
16834
17183
  );
@@ -16840,7 +17189,7 @@ import {
16840
17189
  usePopoverState
16841
17190
  } from "reakit/Popover";
16842
17191
  import { Portal as Portal2 } from "reakit/Portal";
16843
- import { Fragment as Fragment16, jsx as jsx95, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
17192
+ import { Fragment as Fragment16, jsx as jsx97, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
16844
17193
  var Popover2 = ({
16845
17194
  iconColor = "action",
16846
17195
  icon = "info",
@@ -16854,34 +17203,34 @@ var Popover2 = ({
16854
17203
  const popover = usePopoverState({ placement });
16855
17204
  return /* @__PURE__ */ jsxs64(Fragment16, { children: [
16856
17205
  /* @__PURE__ */ jsxs64(PopoverDisclosure, { ...popover, css: PopoverBtn, title: buttonText, "data-test-id": testId, children: [
16857
- /* @__PURE__ */ jsx95(Icon, { icon, iconColor, size: iconSize }),
16858
- /* @__PURE__ */ jsx95("span", { hidden: true, children: buttonText })
17206
+ /* @__PURE__ */ jsx97(Icon, { icon, iconColor, size: iconSize }),
17207
+ /* @__PURE__ */ jsx97("span", { hidden: true, children: buttonText })
16859
17208
  ] }),
16860
- /* @__PURE__ */ jsx95(Portal2, { children: /* @__PURE__ */ jsx95(ReakitPopover, { css: Popover, ...popover, "aria-label": ariaLabel, children }) })
17209
+ /* @__PURE__ */ jsx97(Portal2, { children: /* @__PURE__ */ jsx97(ReakitPopover, { css: Popover, ...popover, "aria-label": ariaLabel, children }) })
16861
17210
  ] });
16862
17211
  };
16863
17212
 
16864
17213
  // src/components/ProgressList/ProgressList.tsx
16865
- import { css as css75 } from "@emotion/react";
17214
+ import { css as css77 } from "@emotion/react";
16866
17215
  import { useMemo as useMemo3 } from "react";
16867
17216
  import { CgCheckO as CgCheckO2, CgRadioCheck, CgRecord } from "react-icons/cg";
16868
17217
 
16869
17218
  // src/components/ProgressList/styles/ProgressList.styles.ts
16870
- import { css as css74 } from "@emotion/react";
16871
- var progressListStyles = css74`
17219
+ import { css as css76 } from "@emotion/react";
17220
+ var progressListStyles = css76`
16872
17221
  display: flex;
16873
17222
  flex-direction: column;
16874
17223
  gap: var(--spacing-sm);
16875
17224
  list-style-type: none;
16876
17225
  `;
16877
- var progressListItemStyles = css74`
17226
+ var progressListItemStyles = css76`
16878
17227
  display: flex;
16879
17228
  gap: var(--spacing-base);
16880
17229
  align-items: center;
16881
17230
  `;
16882
17231
 
16883
17232
  // src/components/ProgressList/ProgressList.tsx
16884
- import { jsx as jsx96, jsxs as jsxs65 } from "@emotion/react/jsx-runtime";
17233
+ import { jsx as jsx98, jsxs as jsxs65 } from "@emotion/react/jsx-runtime";
16885
17234
  var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
16886
17235
  const itemsWithStatus = useMemo3(() => {
16887
17236
  const indexOfInProgressItem = items.findIndex(({ id }) => id === inProgressId);
@@ -16895,8 +17244,8 @@ var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
16895
17244
  return { ...item, status };
16896
17245
  });
16897
17246
  }, [items, inProgressId]);
16898
- return /* @__PURE__ */ jsx96("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
16899
- return /* @__PURE__ */ jsx96(
17247
+ return /* @__PURE__ */ jsx98("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
17248
+ return /* @__PURE__ */ jsx98(
16900
17249
  ProgressListItem,
16901
17250
  {
16902
17251
  status,
@@ -16929,12 +17278,12 @@ var ProgressListItem = ({
16929
17278
  }, [status, error]);
16930
17279
  const statusStyles = useMemo3(() => {
16931
17280
  if (error) {
16932
- return errorLevel === "caution" ? css75`
17281
+ return errorLevel === "caution" ? css77`
16933
17282
  color: rgb(161, 98, 7);
16934
17283
  & svg {
16935
17284
  color: rgb(250, 204, 21);
16936
17285
  }
16937
- ` : css75`
17286
+ ` : css77`
16938
17287
  color: rgb(185, 28, 28);
16939
17288
  & svg {
16940
17289
  color: var(--brand-primary-2);
@@ -16942,35 +17291,35 @@ var ProgressListItem = ({
16942
17291
  `;
16943
17292
  }
16944
17293
  const colorPerStatus = {
16945
- completed: css75`
17294
+ completed: css77`
16946
17295
  opacity: 0.75;
16947
17296
  `,
16948
- inProgress: css75`
17297
+ inProgress: css77`
16949
17298
  -webkit-text-stroke-width: thin;
16950
17299
  `,
16951
- queued: css75`
17300
+ queued: css77`
16952
17301
  opacity: 0.5;
16953
17302
  `
16954
17303
  };
16955
17304
  return colorPerStatus[status];
16956
17305
  }, [status, error, errorLevel]);
16957
17306
  return /* @__PURE__ */ jsxs65("li", { css: [progressListItemStyles, statusStyles], children: [
16958
- /* @__PURE__ */ jsx96(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ jsx96("div", { children: /* @__PURE__ */ jsx96(Icon2, { size: 20 }) }) }),
17307
+ /* @__PURE__ */ jsx98(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ jsx98("div", { children: /* @__PURE__ */ jsx98(Icon2, { size: 20 }) }) }),
16959
17308
  /* @__PURE__ */ jsxs65("div", { children: [
16960
17309
  children,
16961
- /* @__PURE__ */ jsx96("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
17310
+ /* @__PURE__ */ jsx98("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
16962
17311
  ] })
16963
17312
  ] });
16964
17313
  };
16965
17314
 
16966
17315
  // src/components/SegmentedControl/SegmentedControl.tsx
16967
- import { css as css77 } from "@emotion/react";
17316
+ import { css as css79 } from "@emotion/react";
16968
17317
  import { useCallback as useCallback6, useMemo as useMemo4 } from "react";
16969
17318
  import { CgCheck as CgCheck4 } from "react-icons/cg";
16970
17319
 
16971
17320
  // src/components/SegmentedControl/SegmentedControl.styles.ts
16972
- import { css as css76 } from "@emotion/react";
16973
- var segmentedControlStyles = css76`
17321
+ import { css as css78 } from "@emotion/react";
17322
+ var segmentedControlStyles = css78`
16974
17323
  --segmented-control-rounded-value: var(--rounded-base);
16975
17324
  --segmented-control-border-width: 1px;
16976
17325
  --segmented-control-selected-color: var(--brand-secondary-3);
@@ -16989,14 +17338,14 @@ var segmentedControlStyles = css76`
16989
17338
  border-radius: calc(var(--segmented-control-rounded-value) + var(--segmented-control-border-width));
16990
17339
  font-size: var(--fs-xs);
16991
17340
  `;
16992
- var segmentedControlVerticalStyles = css76`
17341
+ var segmentedControlVerticalStyles = css78`
16993
17342
  flex-direction: column;
16994
17343
  --segmented-control-first-border-radius: var(--segmented-control-rounded-value)
16995
17344
  var(--segmented-control-rounded-value) 0 0;
16996
17345
  --segmented-control-last-border-radius: 0 0 var(--segmented-control-rounded-value)
16997
17346
  var(--segmented-control-rounded-value);
16998
17347
  `;
16999
- var segmentedControlItemStyles = css76`
17348
+ var segmentedControlItemStyles = css78`
17000
17349
  &:first-of-type label {
17001
17350
  border-radius: var(--segmented-control-first-border-radius);
17002
17351
  }
@@ -17004,10 +17353,10 @@ var segmentedControlItemStyles = css76`
17004
17353
  border-radius: var(--segmented-control-last-border-radius);
17005
17354
  }
17006
17355
  `;
17007
- var segmentedControlInputStyles = css76`
17356
+ var segmentedControlInputStyles = css78`
17008
17357
  ${accessibleHidden}
17009
17358
  `;
17010
- var segmentedControlLabelStyles = css76`
17359
+ var segmentedControlLabelStyles = css78`
17011
17360
  position: relative;
17012
17361
  display: flex;
17013
17362
  align-items: center;
@@ -17044,23 +17393,23 @@ var segmentedControlLabelStyles = css76`
17044
17393
  background-color: var(--gray-400);
17045
17394
  }
17046
17395
  `;
17047
- var segmentedControlLabelIconOnlyStyles = css76`
17396
+ var segmentedControlLabelIconOnlyStyles = css78`
17048
17397
  padding-inline: 0.5em;
17049
17398
  `;
17050
- var segmentedControlLabelCheckStyles = css76`
17399
+ var segmentedControlLabelCheckStyles = css78`
17051
17400
  opacity: 0.5;
17052
17401
  `;
17053
- var segmentedControlLabelContentStyles = css76`
17402
+ var segmentedControlLabelContentStyles = css78`
17054
17403
  display: flex;
17055
17404
  align-items: center;
17056
17405
  justify-content: center;
17057
17406
  gap: var(--spacing-sm);
17058
17407
  height: 100%;
17059
17408
  `;
17060
- var segmentedControlLabelTextStyles = css76``;
17409
+ var segmentedControlLabelTextStyles = css78``;
17061
17410
 
17062
17411
  // src/components/SegmentedControl/SegmentedControl.tsx
17063
- import { jsx as jsx97, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
17412
+ import { jsx as jsx99, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
17064
17413
  var SegmentedControl = ({
17065
17414
  name,
17066
17415
  options,
@@ -17082,16 +17431,16 @@ var SegmentedControl = ({
17082
17431
  );
17083
17432
  const sizeStyles = useMemo4(() => {
17084
17433
  const map = {
17085
- sm: css77({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
17086
- md: css77({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
17087
- lg: css77({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
17434
+ sm: css79({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
17435
+ md: css79({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
17436
+ lg: css79({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
17088
17437
  };
17089
17438
  return map[size];
17090
17439
  }, [size]);
17091
17440
  const isIconOnly = useMemo4(() => {
17092
17441
  return options.every((option) => option.icon && !option.label);
17093
17442
  }, [options]);
17094
- return /* @__PURE__ */ jsx97(
17443
+ return /* @__PURE__ */ jsx99(
17095
17444
  "div",
17096
17445
  {
17097
17446
  css: [segmentedControlStyles, orientation === "vertical" ? segmentedControlVerticalStyles : void 0],
@@ -17099,11 +17448,11 @@ var SegmentedControl = ({
17099
17448
  children: options.map((option, index) => {
17100
17449
  const text = option.label ? option.label : option.icon ? null : String(option.value);
17101
17450
  const isDisabled = disabled || option.disabled;
17102
- return /* @__PURE__ */ jsx97(
17451
+ return /* @__PURE__ */ jsx99(
17103
17452
  Tooltip,
17104
17453
  {
17105
17454
  title: isDisabled || !option.tooltip ? "" : option.tooltip,
17106
- children: /* @__PURE__ */ jsx97("div", { css: segmentedControlItemStyles, "data-test-id": "container-segmented-control", children: /* @__PURE__ */ jsxs66(
17455
+ children: /* @__PURE__ */ jsx99("div", { css: segmentedControlItemStyles, "data-test-id": "container-segmented-control", children: /* @__PURE__ */ jsxs66(
17107
17456
  "label",
17108
17457
  {
17109
17458
  css: [
@@ -17112,7 +17461,7 @@ var SegmentedControl = ({
17112
17461
  isIconOnly ? segmentedControlLabelIconOnlyStyles : void 0
17113
17462
  ],
17114
17463
  children: [
17115
- /* @__PURE__ */ jsx97(
17464
+ /* @__PURE__ */ jsx99(
17116
17465
  "input",
17117
17466
  {
17118
17467
  css: segmentedControlInputStyles,
@@ -17124,10 +17473,10 @@ var SegmentedControl = ({
17124
17473
  disabled: isDisabled
17125
17474
  }
17126
17475
  ),
17127
- option.value !== value || noCheckmark ? null : /* @__PURE__ */ jsx97(CgCheck4, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
17476
+ option.value !== value || noCheckmark ? null : /* @__PURE__ */ jsx99(CgCheck4, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
17128
17477
  /* @__PURE__ */ jsxs66("span", { css: segmentedControlLabelContentStyles, children: [
17129
- !option.icon ? null : /* @__PURE__ */ jsx97(option.icon, { size: "1.5em" }),
17130
- !text ? null : /* @__PURE__ */ jsx97("span", { css: segmentedControlLabelTextStyles, children: text })
17478
+ !option.icon ? null : /* @__PURE__ */ jsx99(option.icon, { size: "1.5em" }),
17479
+ !text ? null : /* @__PURE__ */ jsx99("span", { css: segmentedControlLabelTextStyles, children: text })
17131
17480
  ] })
17132
17481
  ]
17133
17482
  }
@@ -17141,18 +17490,18 @@ var SegmentedControl = ({
17141
17490
  };
17142
17491
 
17143
17492
  // src/components/Skeleton/Skeleton.styles.ts
17144
- import { css as css78, keyframes as keyframes4 } from "@emotion/react";
17493
+ import { css as css80, keyframes as keyframes4 } from "@emotion/react";
17145
17494
  var lightFadingOut = keyframes4`
17146
17495
  from { opacity: 0.1; }
17147
17496
  to { opacity: 0.025; }
17148
17497
  `;
17149
- var skeletonStyles = css78`
17498
+ var skeletonStyles = css80`
17150
17499
  animation: ${lightFadingOut} 1s ease-out infinite alternate;
17151
17500
  background-color: var(--gray-900);
17152
17501
  `;
17153
17502
 
17154
17503
  // src/components/Skeleton/Skeleton.tsx
17155
- import { jsx as jsx98 } from "@emotion/react/jsx-runtime";
17504
+ import { jsx as jsx100 } from "@emotion/react/jsx-runtime";
17156
17505
  var Skeleton = ({
17157
17506
  width = "100%",
17158
17507
  height = "1.25rem",
@@ -17160,7 +17509,7 @@ var Skeleton = ({
17160
17509
  circle = false,
17161
17510
  children,
17162
17511
  ...otherProps
17163
- }) => /* @__PURE__ */ jsx98(
17512
+ }) => /* @__PURE__ */ jsx100(
17164
17513
  "div",
17165
17514
  {
17166
17515
  css: [
@@ -17180,11 +17529,11 @@ var Skeleton = ({
17180
17529
  );
17181
17530
 
17182
17531
  // src/components/Switch/Switch.tsx
17183
- import * as React19 from "react";
17532
+ import * as React20 from "react";
17184
17533
 
17185
17534
  // src/components/Switch/Switch.styles.ts
17186
- import { css as css79 } from "@emotion/react";
17187
- var SwitchInputContainer = css79`
17535
+ import { css as css81 } from "@emotion/react";
17536
+ var SwitchInputContainer = css81`
17188
17537
  cursor: pointer;
17189
17538
  display: inline-block;
17190
17539
  position: relative;
@@ -17193,7 +17542,7 @@ var SwitchInputContainer = css79`
17193
17542
  vertical-align: middle;
17194
17543
  user-select: none;
17195
17544
  `;
17196
- var SwitchInput = css79`
17545
+ var SwitchInput = css81`
17197
17546
  appearance: none;
17198
17547
  border-radius: var(--rounded-full);
17199
17548
  background-color: var(--white);
@@ -17231,7 +17580,7 @@ var SwitchInput = css79`
17231
17580
  cursor: not-allowed;
17232
17581
  }
17233
17582
  `;
17234
- var SwitchInputDisabled = css79`
17583
+ var SwitchInputDisabled = css81`
17235
17584
  opacity: var(--opacity-50);
17236
17585
  cursor: not-allowed;
17237
17586
 
@@ -17239,7 +17588,7 @@ var SwitchInputDisabled = css79`
17239
17588
  cursor: not-allowed;
17240
17589
  }
17241
17590
  `;
17242
- var SwitchInputLabel = css79`
17591
+ var SwitchInputLabel = css81`
17243
17592
  align-items: center;
17244
17593
  color: var(--brand-secondary-1);
17245
17594
  display: inline-flex;
@@ -17261,15 +17610,15 @@ var SwitchInputLabel = css79`
17261
17610
  top: 0;
17262
17611
  }
17263
17612
  `;
17264
- var SwitchText = css79`
17613
+ var SwitchText = css81`
17265
17614
  color: var(--gray-500);
17266
17615
  font-size: var(--fs-sm);
17267
17616
  padding-inline: var(--spacing-2xl) 0;
17268
17617
  `;
17269
17618
 
17270
17619
  // src/components/Switch/Switch.tsx
17271
- import { Fragment as Fragment17, jsx as jsx99, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
17272
- var Switch = React19.forwardRef(
17620
+ import { Fragment as Fragment17, jsx as jsx101, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
17621
+ var Switch = React20.forwardRef(
17273
17622
  ({ label, infoText, toggleText, children, ...inputProps }, ref) => {
17274
17623
  let additionalText = infoText;
17275
17624
  if (infoText && toggleText) {
@@ -17277,77 +17626,77 @@ var Switch = React19.forwardRef(
17277
17626
  }
17278
17627
  return /* @__PURE__ */ jsxs67(Fragment17, { children: [
17279
17628
  /* @__PURE__ */ jsxs67("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
17280
- /* @__PURE__ */ jsx99("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
17281
- /* @__PURE__ */ jsx99("span", { css: SwitchInputLabel, children: label })
17629
+ /* @__PURE__ */ jsx101("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
17630
+ /* @__PURE__ */ jsx101("span", { css: SwitchInputLabel, children: label })
17282
17631
  ] }),
17283
- additionalText ? /* @__PURE__ */ jsx99("p", { css: SwitchText, children: additionalText }) : null,
17632
+ additionalText ? /* @__PURE__ */ jsx101("p", { css: SwitchText, children: additionalText }) : null,
17284
17633
  children
17285
17634
  ] });
17286
17635
  }
17287
17636
  );
17288
17637
 
17289
17638
  // src/components/Table/Table.tsx
17290
- import * as React20 from "react";
17639
+ import * as React21 from "react";
17291
17640
 
17292
17641
  // src/components/Table/Table.styles.ts
17293
- import { css as css80 } from "@emotion/react";
17294
- var table = css80`
17642
+ import { css as css82 } from "@emotion/react";
17643
+ var table = css82`
17295
17644
  border-bottom: 1px solid var(--gray-400);
17296
17645
  border-collapse: collapse;
17297
17646
  min-width: 100%;
17298
17647
  table-layout: auto;
17299
17648
  `;
17300
- var tableHead = css80`
17649
+ var tableHead = css82`
17301
17650
  background: var(--gray-100);
17302
17651
  color: var(--brand-secondary-1);
17303
17652
  text-align: left;
17304
17653
  `;
17305
- var tableRow = css80`
17654
+ var tableRow = css82`
17306
17655
  border-bottom: 1px solid var(--gray-200);
17307
17656
  `;
17308
- var tableCellHead = css80`
17657
+ var tableCellHead = css82`
17309
17658
  font-size: var(--fs-sm);
17310
17659
  padding: var(--spacing-base) var(--spacing-md);
17311
17660
  text-transform: uppercase;
17312
17661
  font-weight: var(--fw-bold);
17313
17662
  `;
17314
- var tableCellData = css80`
17663
+ var tableCellData = css82`
17315
17664
  padding: var(--spacing-base) var(--spacing-md);
17316
17665
  `;
17317
17666
 
17318
17667
  // src/components/Table/Table.tsx
17319
- import { jsx as jsx100 } from "@emotion/react/jsx-runtime";
17320
- var Table = React20.forwardRef(({ children, ...otherProps }, ref) => {
17321
- return /* @__PURE__ */ jsx100("table", { ref, css: table, ...otherProps, children });
17668
+ import { jsx as jsx102 } from "@emotion/react/jsx-runtime";
17669
+ var Table = React21.forwardRef(({ children, ...otherProps }, ref) => {
17670
+ return /* @__PURE__ */ jsx102("table", { ref, css: table, ...otherProps, children });
17322
17671
  });
17323
- var TableHead = React20.forwardRef(
17672
+ var TableHead = React21.forwardRef(
17324
17673
  ({ children, ...otherProps }, ref) => {
17325
- return /* @__PURE__ */ jsx100("thead", { ref, css: tableHead, ...otherProps, children });
17674
+ return /* @__PURE__ */ jsx102("thead", { ref, css: tableHead, ...otherProps, children });
17326
17675
  }
17327
17676
  );
17328
- var TableBody = React20.forwardRef(
17677
+ var TableBody = React21.forwardRef(
17329
17678
  ({ children, ...otherProps }, ref) => {
17330
- return /* @__PURE__ */ jsx100("tbody", { ref, ...otherProps, children });
17679
+ return /* @__PURE__ */ jsx102("tbody", { ref, ...otherProps, children });
17331
17680
  }
17332
17681
  );
17333
- var TableFoot = React20.forwardRef(
17682
+ var TableFoot = React21.forwardRef(
17334
17683
  ({ children, ...otherProps }, ref) => {
17335
- return /* @__PURE__ */ jsx100("tfoot", { ref, ...otherProps, children });
17684
+ return /* @__PURE__ */ jsx102("tfoot", { ref, ...otherProps, children });
17336
17685
  }
17337
17686
  );
17338
- var TableRow = React20.forwardRef(
17687
+ var TableRow = React21.forwardRef(
17339
17688
  ({ children, ...otherProps }, ref) => {
17340
- return /* @__PURE__ */ jsx100("tr", { ref, css: tableRow, ...otherProps, children });
17689
+ return /* @__PURE__ */ jsx102("tr", { ref, css: tableRow, ...otherProps, children });
17341
17690
  }
17342
17691
  );
17343
- var TableCellHead = React20.forwardRef(
17692
+ var TableCellHead = React21.forwardRef(
17344
17693
  ({ children, ...otherProps }, ref) => {
17345
- return /* @__PURE__ */ jsx100("th", { ref, css: tableCellHead, ...otherProps, children });
17694
+ return /* @__PURE__ */ jsx102("th", { ref, css: tableCellHead, ...otherProps, children });
17346
17695
  }
17347
17696
  );
17348
- var TableCellData = React20.forwardRef(
17697
+ var TableCellData = React21.forwardRef(
17349
17698
  ({ children, ...otherProps }, ref) => {
17350
- return /* @__PURE__ */ jsx100("td", { ref, css: tableCellData, ...otherProps, children });
17699
+ return /* @__PURE__ */ jsx102("td", { ref, css: tableCellData, ...otherProps, children });
17351
17700
  }
17352
17701
  );
17353
17702
 
@@ -17361,8 +17710,8 @@ import {
17361
17710
  } from "reakit/Tab";
17362
17711
 
17363
17712
  // src/components/Tabs/Tabs.styles.ts
17364
- import { css as css81 } from "@emotion/react";
17365
- var tabButtonStyles = css81`
17713
+ import { css as css83 } from "@emotion/react";
17714
+ var tabButtonStyles = css83`
17366
17715
  align-items: center;
17367
17716
  border: 0;
17368
17717
  height: 2.5rem;
@@ -17379,14 +17728,14 @@ var tabButtonStyles = css81`
17379
17728
  box-shadow: inset 0 -2px 0 var(--brand-secondary-3);
17380
17729
  }
17381
17730
  `;
17382
- var tabButtonGroupStyles = css81`
17731
+ var tabButtonGroupStyles = css83`
17383
17732
  display: flex;
17384
17733
  gap: var(--spacing-base);
17385
17734
  border-bottom: 1px solid var(--gray-300);
17386
17735
  `;
17387
17736
 
17388
17737
  // src/components/Tabs/Tabs.tsx
17389
- import { jsx as jsx101 } from "@emotion/react/jsx-runtime";
17738
+ import { jsx as jsx103 } from "@emotion/react/jsx-runtime";
17390
17739
  var CurrentTabContext = createContext6(null);
17391
17740
  var useCurrentTab = () => {
17392
17741
  const context = useContext7(CurrentTabContext);
@@ -17415,24 +17764,24 @@ var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...prop
17415
17764
  tab.setSelectedId(selected);
17416
17765
  }
17417
17766
  }, [selected]);
17418
- return /* @__PURE__ */ jsx101(CurrentTabContext.Provider, { value: tab, children });
17767
+ return /* @__PURE__ */ jsx103(CurrentTabContext.Provider, { value: tab, children });
17419
17768
  };
17420
17769
  var TabButtonGroup = ({ children, ...props }) => {
17421
17770
  const currentTab = useCurrentTab();
17422
- return /* @__PURE__ */ jsx101(ReakitTabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
17771
+ return /* @__PURE__ */ jsx103(ReakitTabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
17423
17772
  };
17424
17773
  var TabButton = ({ children, id, ...props }) => {
17425
17774
  const currentTab = useCurrentTab();
17426
- return /* @__PURE__ */ jsx101(ReakitTab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
17775
+ return /* @__PURE__ */ jsx103(ReakitTab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
17427
17776
  };
17428
17777
  var TabContent = ({ children, ...props }) => {
17429
17778
  const currentTab = useCurrentTab();
17430
- return /* @__PURE__ */ jsx101(ReakitTabPanel, { ...props, ...currentTab, children });
17779
+ return /* @__PURE__ */ jsx103(ReakitTabPanel, { ...props, ...currentTab, children });
17431
17780
  };
17432
17781
 
17433
17782
  // src/components/Validation/StatusBullet.styles.ts
17434
- import { css as css82 } from "@emotion/react";
17435
- var StatusBulletContainer = css82`
17783
+ import { css as css84 } from "@emotion/react";
17784
+ var StatusBulletContainer = css84`
17436
17785
  align-items: center;
17437
17786
  align-self: center;
17438
17787
  color: var(--gray-500);
@@ -17449,51 +17798,51 @@ var StatusBulletContainer = css82`
17449
17798
  display: block;
17450
17799
  }
17451
17800
  `;
17452
- var StatusBulletBase = css82`
17801
+ var StatusBulletBase = css84`
17453
17802
  font-size: var(--fs-sm);
17454
17803
  &:before {
17455
17804
  width: var(--fs-xs);
17456
17805
  height: var(--fs-xs);
17457
17806
  }
17458
17807
  `;
17459
- var StatusBulletSmall = css82`
17808
+ var StatusBulletSmall = css84`
17460
17809
  font-size: var(--fs-xs);
17461
17810
  &:before {
17462
17811
  width: var(--fs-xxs);
17463
17812
  height: var(--fs-xxs);
17464
17813
  }
17465
17814
  `;
17466
- var StatusDraft = css82`
17815
+ var StatusDraft = css84`
17467
17816
  &:before {
17468
17817
  background: var(--white);
17469
17818
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
17470
17819
  }
17471
17820
  `;
17472
- var StatusModified = css82`
17821
+ var StatusModified = css84`
17473
17822
  &:before {
17474
17823
  background: linear-gradient(to right, var(--white) 50%, var(--primary-action-default) 50% 100%);
17475
17824
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
17476
17825
  }
17477
17826
  `;
17478
- var StatusError = css82`
17827
+ var StatusError = css84`
17479
17828
  color: var(--error);
17480
17829
  &:before {
17481
17830
  background: linear-gradient(120deg, var(--error) 40%, var(--white) 50%, var(--error) 60%);
17482
17831
  }
17483
17832
  `;
17484
- var StatusPublished = css82`
17833
+ var StatusPublished = css84`
17485
17834
  &:before {
17486
17835
  background: var(--primary-action-default);
17487
17836
  }
17488
17837
  `;
17489
- var StatusOrphan = css82`
17838
+ var StatusOrphan = css84`
17490
17839
  &:before {
17491
17840
  background: var(--brand-secondary-5);
17492
17841
  }
17493
17842
  `;
17494
17843
 
17495
17844
  // src/components/Validation/StatusBullet.tsx
17496
- import { jsx as jsx102 } from "@emotion/react/jsx-runtime";
17845
+ import { jsx as jsx104 } from "@emotion/react/jsx-runtime";
17497
17846
  var StatusBullet = ({
17498
17847
  status,
17499
17848
  hideText = false,
@@ -17507,10 +17856,11 @@ var StatusBullet = ({
17507
17856
  Unsaved: StatusDraft,
17508
17857
  Orphan: StatusOrphan,
17509
17858
  Published: StatusPublished,
17510
- Draft: StatusDraft
17859
+ Draft: StatusDraft,
17860
+ Previous: StatusDraft
17511
17861
  };
17512
17862
  const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
17513
- return /* @__PURE__ */ jsx102(
17863
+ return /* @__PURE__ */ jsx104(
17514
17864
  "span",
17515
17865
  {
17516
17866
  role: "status",
@@ -17638,7 +17988,9 @@ export {
17638
17988
  Tabs,
17639
17989
  Textarea,
17640
17990
  Theme,
17991
+ Tile2 as Tile,
17641
17992
  TileContainer,
17993
+ TileText2 as TileText,
17642
17994
  Tooltip,
17643
17995
  TwoColumnLayout,
17644
17996
  UniformBadge,
@@ -17680,6 +18032,7 @@ export {
17680
18032
  inputError,
17681
18033
  inputSelect,
17682
18034
  isMacLike,
18035
+ jsonIcon,
17683
18036
  labelText,
17684
18037
  loader_default as loaderAnimationData,
17685
18038
  macifyShortcut,