@uniformdev/design-system 19.179.2-alpha.22 → 19.179.2-alpha.27

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
@@ -12234,6 +12234,7 @@ var UniformLogoLarge = ({ ...props }) => {
12234
12234
 
12235
12235
  // src/components/ButtonWithMenu/ButtonWithMenu.tsx
12236
12236
  import { CgChevronDown as CgChevronDown3 } from "@react-icons/all-files/cg/CgChevronDown";
12237
+ import * as React13 from "react";
12237
12238
 
12238
12239
  // src/components/Menu/DropdownStyleMenuTrigger.tsx
12239
12240
  import { css as css24 } from "@emotion/react";
@@ -14059,6 +14060,7 @@ var ButtonWithMenu = ({
14059
14060
  }) => {
14060
14061
  const onButtonClickHandler = onButtonClick != null ? onButtonClick : shortcut == null ? void 0 : shortcut.handler;
14061
14062
  const disabledValue = disabled2 != null ? disabled2 : shortcut == null ? void 0 : shortcut.disabled;
14063
+ const menuRef = React13.useRef(null);
14062
14064
  if (typeof withoutPortal !== "undefined" && typeof portal === "undefined") {
14063
14065
  portal = !withoutPortal;
14064
14066
  }
@@ -14102,6 +14104,7 @@ var ButtonWithMenu = ({
14102
14104
  disabledValue ? menuButton2 : /* @__PURE__ */ jsx51(
14103
14105
  Menu,
14104
14106
  {
14107
+ ref: menuRef,
14105
14108
  menuLabel: "buttonMenu",
14106
14109
  placement,
14107
14110
  menuTrigger: menuButton2,
@@ -14385,7 +14388,7 @@ var Heading2 = ({
14385
14388
 
14386
14389
  // src/components/Typography/Link.tsx
14387
14390
  import { CgExternal } from "@react-icons/all-files/cg/CgExternal";
14388
- import * as React13 from "react";
14391
+ import * as React14 from "react";
14389
14392
 
14390
14393
  // src/components/Typography/styles/Link.styles.ts
14391
14394
  import { css as css41 } from "@emotion/react";
@@ -14410,7 +14413,7 @@ var linkColorCurrent = css41`
14410
14413
 
14411
14414
  // src/components/Typography/Link.tsx
14412
14415
  import { jsx as jsx54, jsxs as jsxs33 } from "@emotion/react/jsx-runtime";
14413
- var Link = React13.forwardRef(
14416
+ var Link = React14.forwardRef(
14414
14417
  ({ external, text, linkColor = "default", children, ...props }, ref) => {
14415
14418
  const textColor = {
14416
14419
  currentColor: linkColorCurrent,
@@ -14428,7 +14431,7 @@ var Link = React13.forwardRef(
14428
14431
  ] });
14429
14432
  }
14430
14433
  );
14431
- var LinkWithRef = React13.forwardRef(({ linkManagerComponent: LinkManager, href, as, onClick, ...props }, ref) => /* @__PURE__ */ jsx54(LinkManager, { ...props, as, href, ref, passHref: true, legacyBehavior: true, children: /* @__PURE__ */ jsx54(Link, { ...props, onClick }) }));
14434
+ var LinkWithRef = React14.forwardRef(({ linkManagerComponent: LinkManager, href, as, onClick, ...props }, ref) => /* @__PURE__ */ jsx54(LinkManager, { ...props, as, href, ref, passHref: true, legacyBehavior: true, children: /* @__PURE__ */ jsx54(Link, { ...props, onClick }) }));
14432
14435
 
14433
14436
  // src/components/Typography/styles/Paragraph.styles.ts
14434
14437
  import { css as css42 } from "@emotion/react";
@@ -15775,7 +15778,7 @@ var DateTimePicker = ({
15775
15778
  // src/components/DescriptionList/DescriptionList.tsx
15776
15779
  import { TbCheck } from "@react-icons/all-files/tb/TbCheck";
15777
15780
  import { TbMinus } from "@react-icons/all-files/tb/TbMinus";
15778
- import React14 from "react";
15781
+ import React15 from "react";
15779
15782
 
15780
15783
  // src/components/DescriptionList/DescriptionList.styles.ts
15781
15784
  import { css as css54 } from "@emotion/react";
@@ -15802,7 +15805,7 @@ var descriptionListValueStyles = css54`
15802
15805
 
15803
15806
  // src/components/DescriptionList/DescriptionList.tsx
15804
15807
  import { jsx as jsx67, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
15805
- var DescriptionList = React14.forwardRef(
15808
+ var DescriptionList = React15.forwardRef(
15806
15809
  ({ items, variant = "horizontal", ...listProps }, ref) => {
15807
15810
  if (!(items == null ? void 0 : items.length)) {
15808
15811
  return null;
@@ -15813,7 +15816,7 @@ var DescriptionList = React14.forwardRef(
15813
15816
  ref,
15814
15817
  css: variant === "vertical" ? descriptionListVertical : descriptionListHorizontal,
15815
15818
  ...listProps,
15816
- children: items == null ? void 0 : items.map(({ label, value }) => /* @__PURE__ */ jsxs42(React14.Fragment, { children: [
15819
+ children: items == null ? void 0 : items.map(({ label, value }) => /* @__PURE__ */ jsxs42(React15.Fragment, { children: [
15817
15820
  /* @__PURE__ */ jsx67("dt", { css: descriptionListLabelStyles, children: label }),
15818
15821
  /* @__PURE__ */ jsx67("dd", { css: descriptionListValueStyles, children: typeof value === "boolean" ? /* @__PURE__ */ jsx67(DescriptionListValueBoolean, { value }) : value })
15819
15822
  ] }, label))
@@ -15829,7 +15832,7 @@ var DescriptionListValueBoolean = ({ value }) => {
15829
15832
  };
15830
15833
 
15831
15834
  // src/components/Details/Details.tsx
15832
- import * as React15 from "react";
15835
+ import * as React16 from "react";
15833
15836
 
15834
15837
  // src/components/Details/Details.styles.ts
15835
15838
  import { css as css55 } from "@emotion/react";
@@ -15895,9 +15898,9 @@ var Details = ({
15895
15898
  onChange,
15896
15899
  ...props
15897
15900
  }) => {
15898
- const detailsRef = React15.useRef(null);
15899
- const [internalOpen, setInternalOpen] = React15.useState(isOpenByDefault);
15900
- const memoizedIsOpen = React15.useMemo(() => {
15901
+ const detailsRef = React16.useRef(null);
15902
+ const [internalOpen, setInternalOpen] = React16.useState(isOpenByDefault);
15903
+ const memoizedIsOpen = React16.useMemo(() => {
15901
15904
  return isOpen !== void 0 ? isOpen : internalOpen;
15902
15905
  }, [internalOpen, isOpen]);
15903
15906
  return /* @__PURE__ */ jsxs43(
@@ -15988,7 +15991,7 @@ var DragHandle = forwardRef14(
15988
15991
 
15989
15992
  // src/components/Drawer/Drawer.tsx
15990
15993
  import { CgChevronRight } from "@react-icons/all-files/cg/CgChevronRight";
15991
- import React17, { createContext as createContext4, useContext as useContext5, useEffect as useEffect6, useRef as useRef5, useState as useState9 } from "react";
15994
+ import React18, { createContext as createContext4, useContext as useContext5, useEffect as useEffect6, useRef as useRef6, useState as useState9 } from "react";
15992
15995
  import { createPortal } from "react-dom";
15993
15996
 
15994
15997
  // src/components/Drawer/Drawer.styles.ts
@@ -16099,7 +16102,7 @@ var drawerWrapperOverlayStyles = css57`
16099
16102
  `;
16100
16103
 
16101
16104
  // src/components/Drawer/DrawerProvider.tsx
16102
- import { createContext as createContext3, useCallback as useCallback5, useContext as useContext4, useRef as useRef4, useState as useState8 } from "react";
16105
+ import { createContext as createContext3, useCallback as useCallback5, useContext as useContext4, useRef as useRef5, useState as useState8 } from "react";
16103
16106
  import { jsx as jsx70 } from "@emotion/react/jsx-runtime";
16104
16107
  var DrawerContext = createContext3({
16105
16108
  providerId: "",
@@ -16118,7 +16121,7 @@ function renderDrawerId(drawer) {
16118
16121
  }
16119
16122
  var DrawerProvider = ({ children }) => {
16120
16123
  const [drawersRegistry, setDrawersRegistry] = useState8([]);
16121
- const providerId = useRef4(crypto.randomUUID());
16124
+ const providerId = useRef5(crypto.randomUUID());
16122
16125
  const [drawerTakeoverStackId, setDrawerTakeoverStackId] = useState8(void 0);
16123
16126
  useShortcut({
16124
16127
  handler: () => {
@@ -16233,13 +16236,13 @@ var CurrentDrawerContext = createContext4({});
16233
16236
  var useCurrentDrawer = () => {
16234
16237
  return useContext5(CurrentDrawerContext);
16235
16238
  };
16236
- var Drawer = React17.forwardRef(
16239
+ var Drawer = React18.forwardRef(
16237
16240
  ({ minWidth, maxWidth, position, leftAligned, ...drawerProps }, ref) => {
16238
16241
  var _a;
16239
16242
  const { stackId: inheritedStackId } = useCurrentDrawer();
16240
16243
  const { drawerTakeoverStackId } = useDrawer();
16241
16244
  const drawerRendererProps = { width: drawerProps.width, minWidth, maxWidth, position, leftAligned };
16242
- const resolvedStickyStackIdRef = useRef5((_a = drawerTakeoverStackId != null ? drawerTakeoverStackId : drawerProps.stackId) != null ? _a : inheritedStackId);
16245
+ const resolvedStickyStackIdRef = useRef6((_a = drawerTakeoverStackId != null ? drawerTakeoverStackId : drawerProps.stackId) != null ? _a : inheritedStackId);
16243
16246
  return resolvedStickyStackIdRef.current ? /* @__PURE__ */ jsx71(DrawerInner, { ref, ...drawerProps, stackId: resolvedStickyStackIdRef.current }) : /* @__PURE__ */ jsxs44(DrawerProvider, { children: [
16244
16247
  /* @__PURE__ */ jsx71(DrawerInner, { ref, ...drawerProps }),
16245
16248
  /* @__PURE__ */ jsx71(DrawerRenderer, { stackId: defaultSackId, ...drawerRendererProps })
@@ -16260,7 +16263,7 @@ var DrawerInner = ({
16260
16263
  testId = "side-dialog"
16261
16264
  }) => {
16262
16265
  const { registerDrawer, unregisterDrawer, providerId } = useDrawer();
16263
- const closeButtonRef = useRef5(null);
16266
+ const closeButtonRef = useRef6(null);
16264
16267
  const [rendererElement, setRendererElement] = useState9(null);
16265
16268
  useEffect6(() => {
16266
16269
  registerDrawer({
@@ -17467,15 +17470,15 @@ import {
17467
17470
  verticalListSortingStrategy
17468
17471
  } from "@dnd-kit/sortable";
17469
17472
  import { CSS } from "@dnd-kit/utilities";
17470
- import { useCallback as useCallback7, useEffect as useEffect12, useMemo as useMemo5, useRef as useRef7, useState as useState12 } from "react";
17473
+ import { useCallback as useCallback7, useEffect as useEffect12, useMemo as useMemo5, useRef as useRef8, useState as useState12 } from "react";
17471
17474
 
17472
17475
  // src/utils/useDebouncedCallback.ts
17473
- import { useEffect as useEffect11, useMemo as useMemo4, useRef as useRef6 } from "react";
17476
+ import { useEffect as useEffect11, useMemo as useMemo4, useRef as useRef7 } from "react";
17474
17477
  function useDebouncedCallback(callback, deps, delay, maxWait = 0) {
17475
- const timeout = useRef6();
17476
- const waitTimeout = useRef6();
17477
- const cb = useRef6(callback);
17478
- const lastCall = useRef6();
17478
+ const timeout = useRef7();
17479
+ const waitTimeout = useRef7();
17480
+ const cb = useRef7(callback);
17481
+ const lastCall = useRef7();
17479
17482
  const clear = () => {
17480
17483
  if (timeout.current) {
17481
17484
  clearTimeout(timeout.current);
@@ -17557,8 +17560,8 @@ var KeyValueInput = ({
17557
17560
  onFocusChange
17558
17561
  }) => {
17559
17562
  const [isDragging, setIsDragging] = useState12(false);
17560
- const popoverStoresMap = useRef7({});
17561
- const lastRowFirstInputRef = useRef7(null);
17563
+ const popoverStoresMap = useRef8({});
17564
+ const lastRowFirstInputRef = useRef8(null);
17562
17565
  const sensors = useSensors(
17563
17566
  useSensor(PointerSensor),
17564
17567
  useSensor(KeyboardSensor, {
@@ -18143,7 +18146,7 @@ var LoadingIndicator = ({
18143
18146
  };
18144
18147
 
18145
18148
  // src/components/LoadingOverlay/LoadingOverlay.tsx
18146
- import { useCallback as useCallback8, useEffect as useEffect13, useRef as useRef8 } from "react";
18149
+ import { useCallback as useCallback8, useEffect as useEffect13, useRef as useRef9 } from "react";
18147
18150
 
18148
18151
  // src/components/LoadingOverlay/LoadingOverlay.styles.ts
18149
18152
  import { css as css77 } from "@emotion/react";
@@ -18189,7 +18192,7 @@ var LoadingOverlay = ({
18189
18192
  isPaused = false,
18190
18193
  children
18191
18194
  }) => {
18192
- const lottieRef = useRef8(null);
18195
+ const lottieRef = useRef9(null);
18193
18196
  const onLoopComplete = useCallback8(() => {
18194
18197
  var _a, _b, _c;
18195
18198
  if (isPaused && !((_b = (_a = lottieRef.current) == null ? void 0 : _a.animationItem) == null ? void 0 : _b.isPaused)) {
@@ -18476,7 +18479,7 @@ var MediaCard = ({
18476
18479
  // src/components/Modal/Modal.tsx
18477
18480
  import { PortalContext } from "@ariakit/react";
18478
18481
  import { CgClose as CgClose4 } from "@react-icons/all-files/cg/CgClose";
18479
- import React20, { useEffect as useEffect15, useRef as useRef9 } from "react";
18482
+ import React21, { useEffect as useEffect15, useRef as useRef10 } from "react";
18480
18483
 
18481
18484
  // src/components/Modal/Modal.styles.ts
18482
18485
  import { css as css79 } from "@emotion/react";
@@ -18565,7 +18568,7 @@ var modalDialogInnerStyles = css79`
18565
18568
  import { jsx as jsx101, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
18566
18569
  var defaultModalWidth = "75rem";
18567
18570
  var defaultModalHeight = "51rem";
18568
- var Modal = React20.forwardRef(
18571
+ var Modal = React21.forwardRef(
18569
18572
  ({
18570
18573
  header: header2,
18571
18574
  children,
@@ -18578,7 +18581,7 @@ var Modal = React20.forwardRef(
18578
18581
  withoutContentBackground = false,
18579
18582
  ...modalProps
18580
18583
  }, ref) => {
18581
- const dialogRef = useRef9(null);
18584
+ const dialogRef = useRef10(null);
18582
18585
  const size = {
18583
18586
  sm: modalSizeSmall,
18584
18587
  md: modalSizeMedium,
@@ -18895,7 +18898,7 @@ var ObjectGridItemCoverButton = ({
18895
18898
  };
18896
18899
 
18897
18900
  // src/components/Objects/ObjectGridItemHeading.tsx
18898
- import { useEffect as useEffect16, useRef as useRef10, useState as useState13 } from "react";
18901
+ import { useEffect as useEffect16, useRef as useRef11, useState as useState13 } from "react";
18899
18902
 
18900
18903
  // src/components/Objects/styles/ObjectGridItemHeading.styles.ts
18901
18904
  import { css as css83 } from "@emotion/react";
@@ -18919,7 +18922,7 @@ var ObjectGridItemHeading2 = ({
18919
18922
  afterHeadingSlot
18920
18923
  }) => {
18921
18924
  const [hasTruncation, setHasTruncation] = useState13(false);
18922
- const headingRef = useRef10(null);
18925
+ const headingRef = useRef11(null);
18923
18926
  useEffect16(() => {
18924
18927
  const currentHeading = headingRef.current;
18925
18928
  const observer = new ResizeObserver((entries) => {
@@ -20421,7 +20424,7 @@ var getLabelForElement = (type) => {
20421
20424
  // src/components/ParameterInputs/ParameterRichText.tsx
20422
20425
  import { deepEqual as deepEqual2 } from "fast-equals";
20423
20426
  import { ParagraphNode as ParagraphNode2 } from "lexical";
20424
- import { useEffect as useEffect21, useRef as useRef12 } from "react";
20427
+ import { useEffect as useEffect21, useRef as useRef13 } from "react";
20425
20428
 
20426
20429
  // src/components/ParameterInputs/rich-text/CustomCodeNode.ts
20427
20430
  import { CodeNode } from "@lexical/code";
@@ -20654,7 +20657,7 @@ import {
20654
20657
  ElementNode as ElementNode2,
20655
20658
  FOCUS_COMMAND
20656
20659
  } from "lexical";
20657
- import { useCallback as useCallback10, useEffect as useEffect18, useRef as useRef11, useState as useState16 } from "react";
20660
+ import { useCallback as useCallback10, useEffect as useEffect18, useRef as useRef12, useState as useState16 } from "react";
20658
20661
 
20659
20662
  // src/components/ParameterInputs/rich-text/utils.ts
20660
20663
  import { $isAtNodeEnd } from "@lexical/selection";
@@ -20997,7 +21000,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
20997
21000
  };
20998
21001
  const [editor] = useLexicalComposerContext2();
20999
21002
  const [linkPopoverState, setLinkPopoverState] = useState16();
21000
- const linkPopoverElRef = useRef11(null);
21003
+ const linkPopoverElRef = useRef12(null);
21001
21004
  const [isEditorFocused, setIsEditorFocused] = useState16(false);
21002
21005
  const [isLinkPopoverFocused, setIsLinkPopoverFocused] = useState16(false);
21003
21006
  useEffect18(() => {
@@ -21863,7 +21866,7 @@ var RichText = ({
21863
21866
  variables,
21864
21867
  customControls
21865
21868
  }) => {
21866
- const editorContainerRef = useRef12(null);
21869
+ const editorContainerRef = useRef13(null);
21867
21870
  const [editor] = useLexicalComposerContext5();
21868
21871
  useEffect21(() => {
21869
21872
  if (onRichTextInit) {
@@ -22188,7 +22191,7 @@ var ProgressListItem = ({
22188
22191
  // src/components/SegmentedControl/SegmentedControl.tsx
22189
22192
  import { css as css103 } from "@emotion/react";
22190
22193
  import { CgCheck as CgCheck5 } from "@react-icons/all-files/cg/CgCheck";
22191
- import { useCallback as useCallback12, useEffect as useEffect22, useMemo as useMemo8, useRef as useRef13, useState as useState18 } from "react";
22194
+ import { useCallback as useCallback12, useEffect as useEffect22, useMemo as useMemo8, useRef as useRef14, useState as useState18 } from "react";
22192
22195
 
22193
22196
  // src/components/SegmentedControl/SegmentedControl.styles.ts
22194
22197
  import { css as css102 } from "@emotion/react";
@@ -22379,7 +22382,7 @@ var SegmentedControl = ({
22379
22382
  currentBackgroundColor = "white",
22380
22383
  ...props
22381
22384
  }) => {
22382
- const wrapperRef = useRef13(null);
22385
+ const wrapperRef = useRef14(null);
22383
22386
  const [isOverflowStartShadowVisible, setIsOverflowStartShadowVisible] = useState18(false);
22384
22387
  const [isOverflowEndShadowVisible, setIsOverflowEndShadowVisible] = useState18(false);
22385
22388
  const onOptionChange = useCallback12(
@@ -22647,7 +22650,7 @@ var Switch = forwardRef25(
22647
22650
  );
22648
22651
 
22649
22652
  // src/components/Table/Table.tsx
22650
- import * as React24 from "react";
22653
+ import * as React25 from "react";
22651
22654
 
22652
22655
  // src/components/Table/Table.styles.ts
22653
22656
  import { css as css106 } from "@emotion/react";
@@ -22686,37 +22689,37 @@ var tableCellHead = css106`
22686
22689
 
22687
22690
  // src/components/Table/Table.tsx
22688
22691
  import { jsx as jsx140 } from "@emotion/react/jsx-runtime";
22689
- var Table = React24.forwardRef(
22692
+ var Table = React25.forwardRef(
22690
22693
  ({ children, cellPadding, ...otherProps }, ref) => {
22691
22694
  return /* @__PURE__ */ jsx140("table", { ref, css: table({ cellPadding }), ...otherProps, children });
22692
22695
  }
22693
22696
  );
22694
- var TableHead = React24.forwardRef(
22697
+ var TableHead = React25.forwardRef(
22695
22698
  ({ children, ...otherProps }, ref) => {
22696
22699
  return /* @__PURE__ */ jsx140("thead", { ref, css: tableHead, ...otherProps, children });
22697
22700
  }
22698
22701
  );
22699
- var TableBody = React24.forwardRef(
22702
+ var TableBody = React25.forwardRef(
22700
22703
  ({ children, ...otherProps }, ref) => {
22701
22704
  return /* @__PURE__ */ jsx140("tbody", { ref, ...otherProps, children });
22702
22705
  }
22703
22706
  );
22704
- var TableFoot = React24.forwardRef(
22707
+ var TableFoot = React25.forwardRef(
22705
22708
  ({ children, ...otherProps }, ref) => {
22706
22709
  return /* @__PURE__ */ jsx140("tfoot", { ref, ...otherProps, children });
22707
22710
  }
22708
22711
  );
22709
- var TableRow = React24.forwardRef(
22712
+ var TableRow = React25.forwardRef(
22710
22713
  ({ children, ...otherProps }, ref) => {
22711
22714
  return /* @__PURE__ */ jsx140("tr", { ref, css: tableRow, ...otherProps, children });
22712
22715
  }
22713
22716
  );
22714
- var TableCellHead = React24.forwardRef(
22717
+ var TableCellHead = React25.forwardRef(
22715
22718
  ({ children, ...otherProps }, ref) => {
22716
22719
  return /* @__PURE__ */ jsx140("th", { ref, css: tableCellHead, ...otherProps, children });
22717
22720
  }
22718
22721
  );
22719
- var TableCellData = React24.forwardRef(
22722
+ var TableCellData = React25.forwardRef(
22720
22723
  ({ children, ...otherProps }, ref) => {
22721
22724
  return /* @__PURE__ */ jsx140("td", { ref, ...otherProps, children });
22722
22725
  }
package/dist/index.js CHANGED
@@ -13932,6 +13932,7 @@ var UniformLogoLarge = ({ ...props }) => {
13932
13932
  // src/components/ButtonWithMenu/ButtonWithMenu.tsx
13933
13933
  init_emotion_jsx_shim();
13934
13934
  var import_CgChevronDown4 = require("@react-icons/all-files/cg/CgChevronDown");
13935
+ var React13 = __toESM(require("react"));
13935
13936
 
13936
13937
  // src/components/Menu/DropdownStyleMenuTrigger.tsx
13937
13938
  init_emotion_jsx_shim();
@@ -15796,6 +15797,7 @@ var ButtonWithMenu = ({
15796
15797
  }) => {
15797
15798
  const onButtonClickHandler = onButtonClick != null ? onButtonClick : shortcut == null ? void 0 : shortcut.handler;
15798
15799
  const disabledValue = disabled2 != null ? disabled2 : shortcut == null ? void 0 : shortcut.disabled;
15800
+ const menuRef = React13.useRef(null);
15799
15801
  if (typeof withoutPortal !== "undefined" && typeof portal === "undefined") {
15800
15802
  portal = !withoutPortal;
15801
15803
  }
@@ -15839,6 +15841,7 @@ var ButtonWithMenu = ({
15839
15841
  disabledValue ? menuButton2 : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
15840
15842
  Menu,
15841
15843
  {
15844
+ ref: menuRef,
15842
15845
  menuLabel: "buttonMenu",
15843
15846
  placement,
15844
15847
  menuTrigger: menuButton2,
@@ -16125,7 +16128,7 @@ init_emotion_jsx_shim();
16125
16128
  // src/components/Typography/Link.tsx
16126
16129
  init_emotion_jsx_shim();
16127
16130
  var import_CgExternal2 = require("@react-icons/all-files/cg/CgExternal");
16128
- var React13 = __toESM(require("react"));
16131
+ var React14 = __toESM(require("react"));
16129
16132
 
16130
16133
  // src/components/Typography/styles/Link.styles.ts
16131
16134
  init_emotion_jsx_shim();
@@ -16151,7 +16154,7 @@ var linkColorCurrent = import_react61.css`
16151
16154
 
16152
16155
  // src/components/Typography/Link.tsx
16153
16156
  var import_jsx_runtime54 = require("@emotion/react/jsx-runtime");
16154
- var Link = React13.forwardRef(
16157
+ var Link = React14.forwardRef(
16155
16158
  ({ external, text, linkColor = "default", children, ...props }, ref) => {
16156
16159
  const textColor = {
16157
16160
  currentColor: linkColorCurrent,
@@ -16169,7 +16172,7 @@ var Link = React13.forwardRef(
16169
16172
  ] });
16170
16173
  }
16171
16174
  );
16172
- var LinkWithRef = React13.forwardRef(({ linkManagerComponent: LinkManager, href, as, onClick, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(LinkManager, { ...props, as, href, ref, passHref: true, legacyBehavior: true, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Link, { ...props, onClick }) }));
16175
+ var LinkWithRef = React14.forwardRef(({ linkManagerComponent: LinkManager, href, as, onClick, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(LinkManager, { ...props, as, href, ref, passHref: true, legacyBehavior: true, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Link, { ...props, onClick }) }));
16173
16176
 
16174
16177
  // src/components/Typography/Paragraph.tsx
16175
16178
  init_emotion_jsx_shim();
@@ -17605,7 +17608,7 @@ var DescriptionListValueBoolean = ({ value }) => {
17605
17608
 
17606
17609
  // src/components/Details/Details.tsx
17607
17610
  init_emotion_jsx_shim();
17608
- var React15 = __toESM(require("react"));
17611
+ var React16 = __toESM(require("react"));
17609
17612
 
17610
17613
  // src/components/Details/Details.styles.ts
17611
17614
  init_emotion_jsx_shim();
@@ -17672,9 +17675,9 @@ var Details = ({
17672
17675
  onChange,
17673
17676
  ...props
17674
17677
  }) => {
17675
- const detailsRef = React15.useRef(null);
17676
- const [internalOpen, setInternalOpen] = React15.useState(isOpenByDefault);
17677
- const memoizedIsOpen = React15.useMemo(() => {
17678
+ const detailsRef = React16.useRef(null);
17679
+ const [internalOpen, setInternalOpen] = React16.useState(isOpenByDefault);
17680
+ const memoizedIsOpen = React16.useMemo(() => {
17678
17681
  return isOpen !== void 0 ? isOpen : internalOpen;
17679
17682
  }, [internalOpen, isOpen]);
17680
17683
  return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
@@ -24540,7 +24543,7 @@ var Switch = (0, import_react164.forwardRef)(
24540
24543
 
24541
24544
  // src/components/Table/Table.tsx
24542
24545
  init_emotion_jsx_shim();
24543
- var React24 = __toESM(require("react"));
24546
+ var React25 = __toESM(require("react"));
24544
24547
 
24545
24548
  // src/components/Table/Table.styles.ts
24546
24549
  init_emotion_jsx_shim();
@@ -24580,37 +24583,37 @@ var tableCellHead = import_react165.css`
24580
24583
 
24581
24584
  // src/components/Table/Table.tsx
24582
24585
  var import_jsx_runtime140 = require("@emotion/react/jsx-runtime");
24583
- var Table = React24.forwardRef(
24586
+ var Table = React25.forwardRef(
24584
24587
  ({ children, cellPadding, ...otherProps }, ref) => {
24585
24588
  return /* @__PURE__ */ (0, import_jsx_runtime140.jsx)("table", { ref, css: table({ cellPadding }), ...otherProps, children });
24586
24589
  }
24587
24590
  );
24588
- var TableHead = React24.forwardRef(
24591
+ var TableHead = React25.forwardRef(
24589
24592
  ({ children, ...otherProps }, ref) => {
24590
24593
  return /* @__PURE__ */ (0, import_jsx_runtime140.jsx)("thead", { ref, css: tableHead, ...otherProps, children });
24591
24594
  }
24592
24595
  );
24593
- var TableBody = React24.forwardRef(
24596
+ var TableBody = React25.forwardRef(
24594
24597
  ({ children, ...otherProps }, ref) => {
24595
24598
  return /* @__PURE__ */ (0, import_jsx_runtime140.jsx)("tbody", { ref, ...otherProps, children });
24596
24599
  }
24597
24600
  );
24598
- var TableFoot = React24.forwardRef(
24601
+ var TableFoot = React25.forwardRef(
24599
24602
  ({ children, ...otherProps }, ref) => {
24600
24603
  return /* @__PURE__ */ (0, import_jsx_runtime140.jsx)("tfoot", { ref, ...otherProps, children });
24601
24604
  }
24602
24605
  );
24603
- var TableRow = React24.forwardRef(
24606
+ var TableRow = React25.forwardRef(
24604
24607
  ({ children, ...otherProps }, ref) => {
24605
24608
  return /* @__PURE__ */ (0, import_jsx_runtime140.jsx)("tr", { ref, css: tableRow, ...otherProps, children });
24606
24609
  }
24607
24610
  );
24608
- var TableCellHead = React24.forwardRef(
24611
+ var TableCellHead = React25.forwardRef(
24609
24612
  ({ children, ...otherProps }, ref) => {
24610
24613
  return /* @__PURE__ */ (0, import_jsx_runtime140.jsx)("th", { ref, css: tableCellHead, ...otherProps, children });
24611
24614
  }
24612
24615
  );
24613
- var TableCellData = React24.forwardRef(
24616
+ var TableCellData = React25.forwardRef(
24614
24617
  ({ children, ...otherProps }, ref) => {
24615
24618
  return /* @__PURE__ */ (0, import_jsx_runtime140.jsx)("td", { ref, ...otherProps, children });
24616
24619
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/design-system",
3
- "version": "19.179.2-alpha.22+79878be48f",
3
+ "version": "19.179.2-alpha.27+589d7d73ab",
4
4
  "description": "Uniform design system components",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -24,8 +24,8 @@
24
24
  "@storybook/react": "8.0.10",
25
25
  "@types/react": "18.3.3",
26
26
  "@types/react-dom": "18.3.0",
27
- "@uniformdev/canvas": "^19.179.2-alpha.22+79878be48f",
28
- "@uniformdev/richtext": "^19.179.2-alpha.22+79878be48f",
27
+ "@uniformdev/canvas": "^19.179.2-alpha.27+589d7d73ab",
28
+ "@uniformdev/richtext": "^19.179.2-alpha.27+589d7d73ab",
29
29
  "autoprefixer": "10.4.16",
30
30
  "hygen": "6.2.11",
31
31
  "postcss": "8.4.38",
@@ -76,5 +76,5 @@
76
76
  "publishConfig": {
77
77
  "access": "public"
78
78
  },
79
- "gitHead": "79878be48f2d4b1c6158026aa632e71c91473ac6"
79
+ "gitHead": "589d7d73ab917d574180f715fd978df3cf99d978"
80
80
  }