@uniformdev/design-system 19.86.0 → 19.86.1-alpha.10

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
@@ -13746,7 +13746,7 @@ var CaptionText = (dynamicSize) => css45`
13746
13746
  color: var(--gray-500);
13747
13747
  display: block;
13748
13748
  font-size: ${dynamicSize ? "clamp(var(--fs-xs), 87.5%,var(--fs-sm))" : "var(--fs-sm)"};
13749
- margin: var(--spacing-xs) 0;
13749
+ margin-block: var(--spacing-2xs) 1px;
13750
13750
  max-width: var(--prose);
13751
13751
  `;
13752
13752
 
@@ -17287,7 +17287,7 @@ var ParameterNameAndPublicIdInput = ({
17287
17287
  "data-af": "true",
17288
17288
  onBlur,
17289
17289
  onChange: onNameChange,
17290
- caption: nameCaption,
17290
+ caption: !nameIdError ? nameCaption : void 0,
17291
17291
  placeholder: namePlaceholderText,
17292
17292
  readOnly,
17293
17293
  errorMessage: nameIdError,
@@ -17306,7 +17306,7 @@ var ParameterNameAndPublicIdInput = ({
17306
17306
  autoComplete: "off",
17307
17307
  onBlur,
17308
17308
  onChange: onPublicIdChange,
17309
- caption: publicIdCaption,
17309
+ caption: !publicIdError ? publicIdCaption : void 0,
17310
17310
  placeholder: publicIdPlaceholderText,
17311
17311
  errorMessage: publicIdError,
17312
17312
  menuItems: /* @__PURE__ */ jsx102(
@@ -19622,13 +19622,14 @@ var TableCellData = React24.forwardRef(
19622
19622
  );
19623
19623
 
19624
19624
  // src/components/Tabs/Tabs.tsx
19625
- import { createContext as createContext5, useContext as useContext6, useEffect as useEffect16, useMemo as useMemo6 } from "react";
19626
19625
  import {
19627
- Tab as ReakitTab,
19628
- TabList as ReakitTabList,
19629
- TabPanel as ReakitTabPanel,
19630
- useTabState
19631
- } from "reakit/Tab";
19626
+ Tab as AriakitTab,
19627
+ TabList as AriakitTabList,
19628
+ TabPanel as AriakitTabPanel,
19629
+ TabProvider as AriakitTabProvider,
19630
+ useTabStore as useAriakitTabStore
19631
+ } from "@ariakit/react";
19632
+ import { useCallback as useCallback8, useEffect as useEffect16, useMemo as useMemo6 } from "react";
19632
19633
 
19633
19634
  // src/components/Tabs/Tabs.styles.ts
19634
19635
  import { css as css94 } from "@emotion/react";
@@ -19657,9 +19658,8 @@ var tabButtonGroupStyles = css94`
19657
19658
 
19658
19659
  // src/components/Tabs/Tabs.tsx
19659
19660
  import { jsx as jsx116 } from "@emotion/react/jsx-runtime";
19660
- var CurrentTabContext = createContext5(null);
19661
19661
  var useCurrentTab = () => {
19662
- const context = useContext6(CurrentTabContext);
19662
+ const context = useAriakitTabStore();
19663
19663
  if (!context) {
19664
19664
  throw new Error("This component can only be used inside <Tabs>");
19665
19665
  }
@@ -19670,6 +19670,7 @@ var Tabs = ({
19670
19670
  onSelectedIdChange,
19671
19671
  useHashForState,
19672
19672
  selectedId,
19673
+ manual,
19673
19674
  ...props
19674
19675
  }) => {
19675
19676
  const selected = useMemo6(() => {
@@ -19677,44 +19678,40 @@ var Tabs = ({
19677
19678
  return selectedId;
19678
19679
  return useHashForState && typeof window !== "undefined" && window.location.hash ? window.location.hash.substring(1) : void 0;
19679
19680
  }, [selectedId, useHashForState]);
19680
- const tab = useTabState({ ...props, selectedId: selected });
19681
- useEffect16(() => {
19682
- var _a;
19683
- const selectedValueWithoutNull = (_a = tab.selectedId) != null ? _a : void 0;
19684
- if (selectedValueWithoutNull === selected) {
19685
- return;
19686
- }
19687
- onSelectedIdChange == null ? void 0 : onSelectedIdChange(selectedValueWithoutNull);
19688
- if (useHashForState && typeof window !== "undefined" && window.history) {
19689
- const hashValue = selectedValueWithoutNull ? `#${selectedValueWithoutNull}` : "";
19690
- window.history.replaceState(null, "", hashValue);
19691
- }
19692
- }, [selected, tab.selectedId, onSelectedIdChange, useHashForState]);
19681
+ const tab = useAriakitTabStore({ ...props, selectOnMove: !manual, selectedId: selected });
19682
+ const onTabSelect = useCallback8(
19683
+ (value) => {
19684
+ const selectedValueWithoutNull = value != null ? value : void 0;
19685
+ onSelectedIdChange == null ? void 0 : onSelectedIdChange(selectedValueWithoutNull);
19686
+ if (useHashForState && typeof window !== "undefined" && window.history) {
19687
+ const hashValue = selectedValueWithoutNull ? `#${selectedValueWithoutNull}` : "";
19688
+ window.history.replaceState(null, "", hashValue);
19689
+ }
19690
+ },
19691
+ [onSelectedIdChange, useHashForState]
19692
+ );
19693
19693
  useEffect16(() => {
19694
- if (selected && selected !== tab.selectedId) {
19694
+ if (selected && selected !== tab.getState().activeId) {
19695
19695
  tab.setSelectedId(selected);
19696
19696
  }
19697
- }, [selected]);
19698
- return /* @__PURE__ */ jsx116(CurrentTabContext.Provider, { value: tab, children });
19697
+ }, [selected, tab]);
19698
+ return /* @__PURE__ */ jsx116(AriakitTabProvider, { store: tab, setSelectedId: onTabSelect, children });
19699
19699
  };
19700
19700
  var TabButtonGroup = ({ children, ...props }) => {
19701
- const currentTab = useCurrentTab();
19702
- return /* @__PURE__ */ jsx116(ReakitTabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
19701
+ return /* @__PURE__ */ jsx116(AriakitTabList, { ...props, css: tabButtonGroupStyles, children });
19703
19702
  };
19704
19703
  var TabButton = ({
19705
19704
  children,
19706
19705
  id,
19707
19706
  ...props
19708
19707
  }) => {
19709
- const currentTab = useCurrentTab();
19710
- return /* @__PURE__ */ jsx116(ReakitTab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
19708
+ return /* @__PURE__ */ jsx116(AriakitTab, { type: "button", id, ...props, css: tabButtonStyles, children });
19711
19709
  };
19712
19710
  var TabContent = ({
19713
19711
  children,
19714
19712
  ...props
19715
19713
  }) => {
19716
- const currentTab = useCurrentTab();
19717
- return /* @__PURE__ */ jsx116(ReakitTabPanel, { ...props, ...currentTab, children });
19714
+ return /* @__PURE__ */ jsx116(AriakitTabPanel, { ...props, children });
19718
19715
  };
19719
19716
 
19720
19717
  // src/components/Validation/StatusBullet.styles.ts
package/dist/index.d.mts CHANGED
@@ -14,14 +14,14 @@ import * as _react_icons_all_files from '@react-icons/all-files';
14
14
  import InternalSelect from 'react-select/dist/declarations/src/Select';
15
15
  import { StateManagerProps } from 'react-select/dist/declarations/src/useStateManager';
16
16
  import { JsonSchema7Type } from 'zod-to-json-schema/src/parseDef';
17
- import { MenuProps as MenuProps$2, MenuStoreProps, MenuItemProps as MenuItemProps$1 } from '@ariakit/react';
17
+ import * as _ariakit_react from '@ariakit/react';
18
+ import { MenuProps as MenuProps$2, MenuStoreProps, MenuItemProps as MenuItemProps$1, TabStoreState, TabListProps, TabProps, TabPanelProps } from '@ariakit/react';
18
19
  import { InitialConfigType } from '@lexical/react/LexicalComposer';
19
20
  import { LinkParamValue, RichTextParamConfiguration } from '@uniformdev/canvas';
20
21
  export { RichTextBuiltInElement, RichTextBuiltInFormat } from '@uniformdev/canvas';
21
22
  import { Spread, SerializedElementNode, ElementNode, NodeKey, EditorConfig, DOMConversionMap, RangeSelection, SerializedEditorState, LexicalEditor } from 'lexical';
22
23
  import { PopoverProps as PopoverProps$1, PopoverInitialState } from 'reakit/Popover';
23
24
  import * as react_hotkeys_hook_dist_types from 'react-hotkeys-hook/dist/types';
24
- import { TabState, TabListProps, TabProps, TabPanelProps } from 'reakit/Tab';
25
25
  import { TooltipOptions, TooltipInitialState } from 'reakit/Tooltip';
26
26
  export { richTextBuiltInElements, richTextBuiltInFormats } from '@uniformdev/richtext';
27
27
 
@@ -22908,19 +22908,19 @@ declare const TableRow: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedH
22908
22908
  declare const TableCellHead: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref"> & React$1.RefAttributes<HTMLTableCellElement>>;
22909
22909
  declare const TableCellData: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, "ref"> & React$1.RefAttributes<HTMLTableCellElement>>;
22910
22910
 
22911
- declare const useCurrentTab: () => TabState;
22911
+ declare const useCurrentTab: () => _ariakit_react.TabStore;
22912
22912
  type TabsProps<TTabName extends string = string> = {
22913
22913
  children: React__default.ReactNode;
22914
22914
  selectedId?: TTabName;
22915
22915
  manual?: boolean;
22916
- orientation?: TabState['orientation'];
22916
+ orientation?: TabStoreState['orientation'];
22917
22917
  onSelectedIdChange?: (tabName: TTabName | undefined) => void;
22918
22918
  /**
22919
22919
  * @deprecated you can control the route state on the application level.
22920
22920
  */
22921
22921
  useHashForState?: boolean;
22922
22922
  };
22923
- declare const Tabs: <TTabName extends string = string>({ children, onSelectedIdChange, useHashForState, selectedId, ...props }: TabsProps<TTabName>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22923
+ declare const Tabs: <TTabName extends string = string>({ children, onSelectedIdChange, useHashForState, selectedId, manual, ...props }: TabsProps<TTabName>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22924
22924
  declare const TabButtonGroup: ({ children, ...props }: Partial<TabListProps>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22925
22925
  type TabButtonProps<TTabName extends string = string> = Partial<TabProps> & {
22926
22926
  id: TTabName;
package/dist/index.d.ts CHANGED
@@ -14,14 +14,14 @@ import * as _react_icons_all_files from '@react-icons/all-files';
14
14
  import InternalSelect from 'react-select/dist/declarations/src/Select';
15
15
  import { StateManagerProps } from 'react-select/dist/declarations/src/useStateManager';
16
16
  import { JsonSchema7Type } from 'zod-to-json-schema/src/parseDef';
17
- import { MenuProps as MenuProps$2, MenuStoreProps, MenuItemProps as MenuItemProps$1 } from '@ariakit/react';
17
+ import * as _ariakit_react from '@ariakit/react';
18
+ import { MenuProps as MenuProps$2, MenuStoreProps, MenuItemProps as MenuItemProps$1, TabStoreState, TabListProps, TabProps, TabPanelProps } from '@ariakit/react';
18
19
  import { InitialConfigType } from '@lexical/react/LexicalComposer';
19
20
  import { LinkParamValue, RichTextParamConfiguration } from '@uniformdev/canvas';
20
21
  export { RichTextBuiltInElement, RichTextBuiltInFormat } from '@uniformdev/canvas';
21
22
  import { Spread, SerializedElementNode, ElementNode, NodeKey, EditorConfig, DOMConversionMap, RangeSelection, SerializedEditorState, LexicalEditor } from 'lexical';
22
23
  import { PopoverProps as PopoverProps$1, PopoverInitialState } from 'reakit/Popover';
23
24
  import * as react_hotkeys_hook_dist_types from 'react-hotkeys-hook/dist/types';
24
- import { TabState, TabListProps, TabProps, TabPanelProps } from 'reakit/Tab';
25
25
  import { TooltipOptions, TooltipInitialState } from 'reakit/Tooltip';
26
26
  export { richTextBuiltInElements, richTextBuiltInFormats } from '@uniformdev/richtext';
27
27
 
@@ -22908,19 +22908,19 @@ declare const TableRow: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedH
22908
22908
  declare const TableCellHead: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref"> & React$1.RefAttributes<HTMLTableCellElement>>;
22909
22909
  declare const TableCellData: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, "ref"> & React$1.RefAttributes<HTMLTableCellElement>>;
22910
22910
 
22911
- declare const useCurrentTab: () => TabState;
22911
+ declare const useCurrentTab: () => _ariakit_react.TabStore;
22912
22912
  type TabsProps<TTabName extends string = string> = {
22913
22913
  children: React__default.ReactNode;
22914
22914
  selectedId?: TTabName;
22915
22915
  manual?: boolean;
22916
- orientation?: TabState['orientation'];
22916
+ orientation?: TabStoreState['orientation'];
22917
22917
  onSelectedIdChange?: (tabName: TTabName | undefined) => void;
22918
22918
  /**
22919
22919
  * @deprecated you can control the route state on the application level.
22920
22920
  */
22921
22921
  useHashForState?: boolean;
22922
22922
  };
22923
- declare const Tabs: <TTabName extends string = string>({ children, onSelectedIdChange, useHashForState, selectedId, ...props }: TabsProps<TTabName>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22923
+ declare const Tabs: <TTabName extends string = string>({ children, onSelectedIdChange, useHashForState, selectedId, manual, ...props }: TabsProps<TTabName>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22924
22924
  declare const TabButtonGroup: ({ children, ...props }: Partial<TabListProps>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22925
22925
  type TabButtonProps<TTabName extends string = string> = Partial<TabProps> & {
22926
22926
  id: TTabName;
package/dist/index.js CHANGED
@@ -15458,7 +15458,7 @@ var CaptionText = (dynamicSize) => import_react62.css`
15458
15458
  color: var(--gray-500);
15459
15459
  display: block;
15460
15460
  font-size: ${dynamicSize ? "clamp(var(--fs-xs), 87.5%,var(--fs-sm))" : "var(--fs-sm)"};
15461
- margin: var(--spacing-xs) 0;
15461
+ margin-block: var(--spacing-2xs) 1px;
15462
15462
  max-width: var(--prose);
15463
15463
  `;
15464
15464
 
@@ -19108,7 +19108,7 @@ var ParameterNameAndPublicIdInput = ({
19108
19108
  "data-af": "true",
19109
19109
  onBlur,
19110
19110
  onChange: onNameChange,
19111
- caption: nameCaption,
19111
+ caption: !nameIdError ? nameCaption : void 0,
19112
19112
  placeholder: namePlaceholderText,
19113
19113
  readOnly,
19114
19114
  errorMessage: nameIdError,
@@ -19127,7 +19127,7 @@ var ParameterNameAndPublicIdInput = ({
19127
19127
  autoComplete: "off",
19128
19128
  onBlur,
19129
19129
  onChange: onPublicIdChange,
19130
- caption: publicIdCaption,
19130
+ caption: !publicIdError ? publicIdCaption : void 0,
19131
19131
  placeholder: publicIdPlaceholderText,
19132
19132
  errorMessage: publicIdError,
19133
19133
  menuItems: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
@@ -21435,8 +21435,8 @@ var TableCellData = React24.forwardRef(
21435
21435
 
21436
21436
  // src/components/Tabs/Tabs.tsx
21437
21437
  init_emotion_jsx_shim();
21438
- var import_react137 = require("react");
21439
- var import_Tab = require("reakit/Tab");
21438
+ var import_react137 = require("@ariakit/react");
21439
+ var import_react138 = require("react");
21440
21440
 
21441
21441
  // src/components/Tabs/Tabs.styles.ts
21442
21442
  init_emotion_jsx_shim();
@@ -21466,9 +21466,8 @@ var tabButtonGroupStyles = import_react136.css`
21466
21466
 
21467
21467
  // src/components/Tabs/Tabs.tsx
21468
21468
  var import_jsx_runtime116 = require("@emotion/react/jsx-runtime");
21469
- var CurrentTabContext = (0, import_react137.createContext)(null);
21470
21469
  var useCurrentTab = () => {
21471
- const context = (0, import_react137.useContext)(CurrentTabContext);
21470
+ const context = (0, import_react137.useTabStore)();
21472
21471
  if (!context) {
21473
21472
  throw new Error("This component can only be used inside <Tabs>");
21474
21473
  }
@@ -21479,51 +21478,48 @@ var Tabs = ({
21479
21478
  onSelectedIdChange,
21480
21479
  useHashForState,
21481
21480
  selectedId,
21481
+ manual,
21482
21482
  ...props
21483
21483
  }) => {
21484
- const selected = (0, import_react137.useMemo)(() => {
21484
+ const selected = (0, import_react138.useMemo)(() => {
21485
21485
  if (selectedId)
21486
21486
  return selectedId;
21487
21487
  return useHashForState && typeof window !== "undefined" && window.location.hash ? window.location.hash.substring(1) : void 0;
21488
21488
  }, [selectedId, useHashForState]);
21489
- const tab = (0, import_Tab.useTabState)({ ...props, selectedId: selected });
21490
- (0, import_react137.useEffect)(() => {
21491
- var _a;
21492
- const selectedValueWithoutNull = (_a = tab.selectedId) != null ? _a : void 0;
21493
- if (selectedValueWithoutNull === selected) {
21494
- return;
21495
- }
21496
- onSelectedIdChange == null ? void 0 : onSelectedIdChange(selectedValueWithoutNull);
21497
- if (useHashForState && typeof window !== "undefined" && window.history) {
21498
- const hashValue = selectedValueWithoutNull ? `#${selectedValueWithoutNull}` : "";
21499
- window.history.replaceState(null, "", hashValue);
21500
- }
21501
- }, [selected, tab.selectedId, onSelectedIdChange, useHashForState]);
21502
- (0, import_react137.useEffect)(() => {
21503
- if (selected && selected !== tab.selectedId) {
21489
+ const tab = (0, import_react137.useTabStore)({ ...props, selectOnMove: !manual, selectedId: selected });
21490
+ const onTabSelect = (0, import_react138.useCallback)(
21491
+ (value) => {
21492
+ const selectedValueWithoutNull = value != null ? value : void 0;
21493
+ onSelectedIdChange == null ? void 0 : onSelectedIdChange(selectedValueWithoutNull);
21494
+ if (useHashForState && typeof window !== "undefined" && window.history) {
21495
+ const hashValue = selectedValueWithoutNull ? `#${selectedValueWithoutNull}` : "";
21496
+ window.history.replaceState(null, "", hashValue);
21497
+ }
21498
+ },
21499
+ [onSelectedIdChange, useHashForState]
21500
+ );
21501
+ (0, import_react138.useEffect)(() => {
21502
+ if (selected && selected !== tab.getState().activeId) {
21504
21503
  tab.setSelectedId(selected);
21505
21504
  }
21506
- }, [selected]);
21507
- return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(CurrentTabContext.Provider, { value: tab, children });
21505
+ }, [selected, tab]);
21506
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_react137.TabProvider, { store: tab, setSelectedId: onTabSelect, children });
21508
21507
  };
21509
21508
  var TabButtonGroup = ({ children, ...props }) => {
21510
- const currentTab = useCurrentTab();
21511
- return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_Tab.TabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
21509
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_react137.TabList, { ...props, css: tabButtonGroupStyles, children });
21512
21510
  };
21513
21511
  var TabButton = ({
21514
21512
  children,
21515
21513
  id,
21516
21514
  ...props
21517
21515
  }) => {
21518
- const currentTab = useCurrentTab();
21519
- return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_Tab.Tab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
21516
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_react137.Tab, { type: "button", id, ...props, css: tabButtonStyles, children });
21520
21517
  };
21521
21518
  var TabContent = ({
21522
21519
  children,
21523
21520
  ...props
21524
21521
  }) => {
21525
- const currentTab = useCurrentTab();
21526
- return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_Tab.TabPanel, { ...props, ...currentTab, children });
21522
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_react137.TabPanel, { ...props, children });
21527
21523
  };
21528
21524
 
21529
21525
  // src/components/Validation/StatusBullet.tsx
@@ -21531,8 +21527,8 @@ init_emotion_jsx_shim();
21531
21527
 
21532
21528
  // src/components/Validation/StatusBullet.styles.ts
21533
21529
  init_emotion_jsx_shim();
21534
- var import_react138 = require("@emotion/react");
21535
- var StatusBulletContainer = import_react138.css`
21530
+ var import_react139 = require("@emotion/react");
21531
+ var StatusBulletContainer = import_react139.css`
21536
21532
  align-items: center;
21537
21533
  align-self: center;
21538
21534
  color: var(--gray-500);
@@ -21549,33 +21545,33 @@ var StatusBulletContainer = import_react138.css`
21549
21545
  display: block;
21550
21546
  }
21551
21547
  `;
21552
- var StatusBulletBase = import_react138.css`
21548
+ var StatusBulletBase = import_react139.css`
21553
21549
  font-size: var(--fs-sm);
21554
21550
  &:before {
21555
21551
  width: var(--fs-xs);
21556
21552
  height: var(--fs-xs);
21557
21553
  }
21558
21554
  `;
21559
- var StatusBulletSmall = import_react138.css`
21555
+ var StatusBulletSmall = import_react139.css`
21560
21556
  font-size: var(--fs-xs);
21561
21557
  &:before {
21562
21558
  width: var(--fs-xxs);
21563
21559
  height: var(--fs-xxs);
21564
21560
  }
21565
21561
  `;
21566
- var StatusDraft = import_react138.css`
21562
+ var StatusDraft = import_react139.css`
21567
21563
  &:before {
21568
21564
  background: var(--white);
21569
21565
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
21570
21566
  }
21571
21567
  `;
21572
- var StatusModified = import_react138.css`
21568
+ var StatusModified = import_react139.css`
21573
21569
  &:before {
21574
21570
  background: linear-gradient(to right, var(--white) 50%, var(--primary-action-default) 50% 100%);
21575
21571
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
21576
21572
  }
21577
21573
  `;
21578
- var StatusError = import_react138.css`
21574
+ var StatusError = import_react139.css`
21579
21575
  color: var(--error);
21580
21576
  &:before {
21581
21577
  /* TODO: replace this with an svg icon */
@@ -21588,17 +21584,17 @@ var StatusError = import_react138.css`
21588
21584
  );
21589
21585
  }
21590
21586
  `;
21591
- var StatusPublished = import_react138.css`
21587
+ var StatusPublished = import_react139.css`
21592
21588
  &:before {
21593
21589
  background: var(--primary-action-default);
21594
21590
  }
21595
21591
  `;
21596
- var StatusOrphan = import_react138.css`
21592
+ var StatusOrphan = import_react139.css`
21597
21593
  &:before {
21598
21594
  background: var(--brand-secondary-5);
21599
21595
  }
21600
21596
  `;
21601
- var StatusUnknown = import_react138.css`
21597
+ var StatusUnknown = import_react139.css`
21602
21598
  &:before {
21603
21599
  background: var(--brand-secondary-1);
21604
21600
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/design-system",
3
- "version": "19.86.0",
3
+ "version": "19.86.1-alpha.10+3a63322d8",
4
4
  "description": "Uniform design system components",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -21,10 +21,10 @@
21
21
  "@emotion/jest": "11.11.0",
22
22
  "@storybook/client-api": "6.5.16",
23
23
  "@storybook/react": "6.5.16",
24
- "@types/react": "18.2.39",
24
+ "@types/react": "18.2.40",
25
25
  "@types/react-dom": "18.2.17",
26
- "@uniformdev/canvas": "^19.86.0",
27
- "@uniformdev/richtext": "^19.86.0",
26
+ "@uniformdev/canvas": "^19.86.1-alpha.10+3a63322d8",
27
+ "@uniformdev/richtext": "^19.86.1-alpha.10+3a63322d8",
28
28
  "autoprefixer": "10.4.16",
29
29
  "hygen": "6.2.11",
30
30
  "postcss": "8.4.31",
@@ -67,5 +67,5 @@
67
67
  "publishConfig": {
68
68
  "access": "public"
69
69
  },
70
- "gitHead": "33b5e38f48fe693bf6a4b195009222fd34b9e9f3"
70
+ "gitHead": "3a63322d8e6be500eec846e067b9afb7cd28c6fd"
71
71
  }