@uniformdev/design-system 19.204.0 → 19.204.1-alpha.2

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
@@ -13451,7 +13451,11 @@ var InputKeywordSearch = forwardRef8(
13451
13451
  }
13452
13452
  };
13453
13453
  const handleClear = () => {
13454
- onClear ? onClear() : onSearchTextChanged("");
13454
+ if (onClear) {
13455
+ onClear();
13456
+ } else {
13457
+ onSearchTextChanged("");
13458
+ }
13455
13459
  };
13456
13460
  return /* @__PURE__ */ jsx43(
13457
13461
  Input,
@@ -22767,7 +22771,11 @@ var RichTextToolbar = ({ config, customControls, onInsertTable, onInsertAsset })
22767
22771
  "button",
22768
22772
  {
22769
22773
  onClick: () => {
22770
- isLink ? editor.dispatchCommand(REMOVE_LINK_NODE_COMMAND, {}) : editor.dispatchCommand(OPEN_LINK_NODE_MODAL_COMMAND, {});
22774
+ if (isLink) {
22775
+ editor.dispatchCommand(REMOVE_LINK_NODE_COMMAND, {});
22776
+ } else {
22777
+ editor.dispatchCommand(OPEN_LINK_NODE_MODAL_COMMAND, {});
22778
+ }
22771
22779
  },
22772
22780
  css: [richTextToolbarButton, isLink ? richTextToolbarButtonActive : null],
22773
22781
  children: /* @__PURE__ */ jsx132(RichTextToolbarIcon, { icon: "link" })
@@ -22778,7 +22786,11 @@ var RichTextToolbar = ({ config, customControls, onInsertTable, onInsertAsset })
22778
22786
  "button",
22779
22787
  {
22780
22788
  onClick: () => {
22781
- activeElement === "unorderedList" ? editor.dispatchCommand(REMOVE_LIST_COMMAND, void 0) : editor.dispatchCommand(INSERT_UNORDERED_LIST_COMMAND, void 0);
22789
+ if (activeElement === "unorderedList") {
22790
+ editor.dispatchCommand(REMOVE_LIST_COMMAND, void 0);
22791
+ } else {
22792
+ editor.dispatchCommand(INSERT_UNORDERED_LIST_COMMAND, void 0);
22793
+ }
22782
22794
  },
22783
22795
  css: [
22784
22796
  richTextToolbarButton,
@@ -22791,7 +22803,11 @@ var RichTextToolbar = ({ config, customControls, onInsertTable, onInsertAsset })
22791
22803
  "button",
22792
22804
  {
22793
22805
  onClick: () => {
22794
- activeElement === "orderedList" ? editor.dispatchCommand(REMOVE_LIST_COMMAND, void 0) : editor.dispatchCommand(INSERT_ORDERED_LIST_COMMAND, void 0);
22806
+ if (activeElement === "orderedList") {
22807
+ editor.dispatchCommand(REMOVE_LIST_COMMAND, void 0);
22808
+ } else {
22809
+ editor.dispatchCommand(INSERT_ORDERED_LIST_COMMAND, void 0);
22810
+ }
22795
22811
  },
22796
22812
  css: [
22797
22813
  richTextToolbarButton,
package/dist/index.d.mts CHANGED
@@ -20435,38 +20435,38 @@ type ButtonProps = ButtonProps$1 & {
20435
20435
  declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
20436
20436
 
20437
20437
  declare const allSupportedIcons: {
20438
- 'rectangle-rounded': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20439
- card: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20440
- 'image-text': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20441
- 'border-top': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20442
- 'full-width-screen': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20443
- 'text-input': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20444
- 'number-input': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20445
- 'canvas-alert': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20446
- warning: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20447
- 'info-filled': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20438
+ 'rectangle-rounded': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20439
+ card: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20440
+ 'image-text': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20441
+ 'border-top': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20442
+ 'full-width-screen': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20443
+ 'text-input': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20444
+ 'number-input': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20445
+ 'canvas-alert': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20446
+ warning: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20447
+ 'info-filled': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20448
20448
  settings: (props: IconProps) => _emotion_react_jsx_runtime.JSX.Element;
20449
- 'query-string': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20450
- json: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20451
- 'format-bold': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20452
- 'format-code': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20453
- 'format-strike': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20454
- 'format-superscript': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20455
- 'format-subscript': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20456
- 'layout-list-numbered': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20457
- 'clear-formatting': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20458
- 'yes-no': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20459
- 'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20460
- 'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20461
- 'magic-wand': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20462
- 'list-view-short': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20463
- 'list-view-long': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20464
- 'filter-add': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20465
- 'clipboard-copy': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20466
- 'clipboard-paste': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20467
- refresh: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20468
- 'zig-zag': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20469
- 'zig-zag-thick': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20449
+ 'query-string': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20450
+ json: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20451
+ 'format-bold': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20452
+ 'format-code': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20453
+ 'format-strike': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20454
+ 'format-superscript': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20455
+ 'format-subscript': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20456
+ 'layout-list-numbered': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20457
+ 'clear-formatting': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20458
+ 'yes-no': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20459
+ 'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20460
+ 'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20461
+ 'magic-wand': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20462
+ 'list-view-short': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20463
+ 'list-view-long': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20464
+ 'filter-add': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20465
+ 'clipboard-copy': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20466
+ 'clipboard-paste': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20467
+ refresh: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20468
+ 'zig-zag': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20469
+ 'zig-zag-thick': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20470
20470
  'add-r': _react_icons_all_files.IconType;
20471
20471
  add: _react_icons_all_files.IconType;
20472
20472
  airplane: _react_icons_all_files.IconType;
@@ -21139,57 +21139,57 @@ interface IconProps extends IconBaseProps {
21139
21139
  */
21140
21140
  declare const Icon: React__default.MemoExoticComponent<({ icon, iconColor, size, ...otherProps }: IconProps) => _emotion_react_jsx_runtime.JSX.Element | null>;
21141
21141
 
21142
- declare const rectangleRoundedIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21143
- declare const cardIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21144
- declare const imageTextIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21145
- declare const borderTopIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21146
- declare const fullWidthScreenIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21147
- declare const textInput: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21148
- declare const numberInput: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21149
- declare const canvasAlertIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21150
- declare const warningIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21151
- declare const infoFilledIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21142
+ declare const rectangleRoundedIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21143
+ declare const cardIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21144
+ declare const imageTextIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21145
+ declare const borderTopIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21146
+ declare const fullWidthScreenIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21147
+ declare const textInput: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21148
+ declare const numberInput: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21149
+ declare const canvasAlertIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21150
+ declare const warningIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21151
+ declare const infoFilledIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21152
21152
  declare const settingsIcon: IconType$2;
21153
21153
  declare const settings: (props: IconProps) => _emotion_react_jsx_runtime.JSX.Element;
21154
- declare const queryStringIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21155
- declare const structurePanelIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21156
- declare const jsonIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21157
- declare const yesNoIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21158
- declare const zigZag: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21159
- declare const zigZagThick: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21154
+ declare const queryStringIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21155
+ declare const structurePanelIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21156
+ declare const jsonIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21157
+ declare const yesNoIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21158
+ declare const zigZag: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21159
+ declare const zigZagThick: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21160
21160
  declare const customIcons: {
21161
- 'rectangle-rounded': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21162
- card: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21163
- 'image-text': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21164
- 'border-top': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21165
- 'full-width-screen': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21166
- 'text-input': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21167
- 'number-input': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21168
- 'canvas-alert': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21169
- warning: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21170
- 'info-filled': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21161
+ 'rectangle-rounded': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21162
+ card: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21163
+ 'image-text': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21164
+ 'border-top': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21165
+ 'full-width-screen': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21166
+ 'text-input': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21167
+ 'number-input': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21168
+ 'canvas-alert': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21169
+ warning: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21170
+ 'info-filled': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21171
21171
  settings: (props: IconProps) => _emotion_react_jsx_runtime.JSX.Element;
21172
- 'query-string': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21173
- json: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21174
- 'format-bold': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21175
- 'format-code': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21176
- 'format-strike': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21177
- 'format-superscript': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21178
- 'format-subscript': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21179
- 'layout-list-numbered': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21180
- 'clear-formatting': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21181
- 'yes-no': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21182
- 'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21183
- 'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21184
- 'magic-wand': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21185
- 'list-view-short': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21186
- 'list-view-long': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21187
- 'filter-add': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21188
- 'clipboard-copy': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21189
- 'clipboard-paste': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21190
- refresh: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21191
- 'zig-zag': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21192
- 'zig-zag-thick': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21172
+ 'query-string': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21173
+ json: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21174
+ 'format-bold': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21175
+ 'format-code': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21176
+ 'format-strike': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21177
+ 'format-superscript': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21178
+ 'format-subscript': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21179
+ 'layout-list-numbered': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21180
+ 'clear-formatting': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21181
+ 'yes-no': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21182
+ 'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21183
+ 'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21184
+ 'magic-wand': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21185
+ 'list-view-short': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21186
+ 'list-view-long': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21187
+ 'filter-add': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21188
+ 'clipboard-copy': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21189
+ 'clipboard-paste': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21190
+ refresh: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21191
+ 'zig-zag': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21192
+ 'zig-zag-thick': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21193
21193
  };
21194
21194
 
21195
21195
  type IconsMap = Record<string, IconType$1>;
@@ -21207,7 +21207,7 @@ declare function IconsProvider({ children }: {
21207
21207
 
21208
21208
  declare const uniformComponentIcon: IconType$1;
21209
21209
  declare const uniformConditionalValuesIcon: IconType$1;
21210
- declare const uniformAiIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21210
+ declare const uniformAiIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21211
21211
  declare const uniformLocaleIcon: IconType$1;
21212
21212
  declare const uniformLocaleDisabledIcon: IconType$1;
21213
21213
  declare const uniformComponentPatternIcon: IconType$1;
package/dist/index.d.ts CHANGED
@@ -20435,38 +20435,38 @@ type ButtonProps = ButtonProps$1 & {
20435
20435
  declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
20436
20436
 
20437
20437
  declare const allSupportedIcons: {
20438
- 'rectangle-rounded': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20439
- card: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20440
- 'image-text': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20441
- 'border-top': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20442
- 'full-width-screen': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20443
- 'text-input': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20444
- 'number-input': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20445
- 'canvas-alert': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20446
- warning: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20447
- 'info-filled': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20438
+ 'rectangle-rounded': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20439
+ card: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20440
+ 'image-text': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20441
+ 'border-top': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20442
+ 'full-width-screen': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20443
+ 'text-input': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20444
+ 'number-input': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20445
+ 'canvas-alert': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20446
+ warning: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20447
+ 'info-filled': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20448
20448
  settings: (props: IconProps) => _emotion_react_jsx_runtime.JSX.Element;
20449
- 'query-string': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20450
- json: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20451
- 'format-bold': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20452
- 'format-code': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20453
- 'format-strike': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20454
- 'format-superscript': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20455
- 'format-subscript': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20456
- 'layout-list-numbered': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20457
- 'clear-formatting': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20458
- 'yes-no': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20459
- 'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20460
- 'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20461
- 'magic-wand': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20462
- 'list-view-short': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20463
- 'list-view-long': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20464
- 'filter-add': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20465
- 'clipboard-copy': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20466
- 'clipboard-paste': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20467
- refresh: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20468
- 'zig-zag': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20469
- 'zig-zag-thick': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
20449
+ 'query-string': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20450
+ json: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20451
+ 'format-bold': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20452
+ 'format-code': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20453
+ 'format-strike': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20454
+ 'format-superscript': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20455
+ 'format-subscript': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20456
+ 'layout-list-numbered': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20457
+ 'clear-formatting': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20458
+ 'yes-no': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20459
+ 'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20460
+ 'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20461
+ 'magic-wand': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20462
+ 'list-view-short': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20463
+ 'list-view-long': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20464
+ 'filter-add': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20465
+ 'clipboard-copy': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20466
+ 'clipboard-paste': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20467
+ refresh: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20468
+ 'zig-zag': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20469
+ 'zig-zag-thick': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
20470
20470
  'add-r': _react_icons_all_files.IconType;
20471
20471
  add: _react_icons_all_files.IconType;
20472
20472
  airplane: _react_icons_all_files.IconType;
@@ -21139,57 +21139,57 @@ interface IconProps extends IconBaseProps {
21139
21139
  */
21140
21140
  declare const Icon: React__default.MemoExoticComponent<({ icon, iconColor, size, ...otherProps }: IconProps) => _emotion_react_jsx_runtime.JSX.Element | null>;
21141
21141
 
21142
- declare const rectangleRoundedIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21143
- declare const cardIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21144
- declare const imageTextIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21145
- declare const borderTopIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21146
- declare const fullWidthScreenIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21147
- declare const textInput: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21148
- declare const numberInput: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21149
- declare const canvasAlertIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21150
- declare const warningIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21151
- declare const infoFilledIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21142
+ declare const rectangleRoundedIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21143
+ declare const cardIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21144
+ declare const imageTextIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21145
+ declare const borderTopIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21146
+ declare const fullWidthScreenIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21147
+ declare const textInput: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21148
+ declare const numberInput: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21149
+ declare const canvasAlertIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21150
+ declare const warningIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21151
+ declare const infoFilledIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21152
21152
  declare const settingsIcon: IconType$2;
21153
21153
  declare const settings: (props: IconProps) => _emotion_react_jsx_runtime.JSX.Element;
21154
- declare const queryStringIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21155
- declare const structurePanelIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21156
- declare const jsonIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21157
- declare const yesNoIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21158
- declare const zigZag: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21159
- declare const zigZagThick: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21154
+ declare const queryStringIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21155
+ declare const structurePanelIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21156
+ declare const jsonIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21157
+ declare const yesNoIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21158
+ declare const zigZag: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21159
+ declare const zigZagThick: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21160
21160
  declare const customIcons: {
21161
- 'rectangle-rounded': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21162
- card: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21163
- 'image-text': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21164
- 'border-top': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21165
- 'full-width-screen': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21166
- 'text-input': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21167
- 'number-input': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21168
- 'canvas-alert': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21169
- warning: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21170
- 'info-filled': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21161
+ 'rectangle-rounded': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21162
+ card: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21163
+ 'image-text': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21164
+ 'border-top': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21165
+ 'full-width-screen': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21166
+ 'text-input': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21167
+ 'number-input': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21168
+ 'canvas-alert': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21169
+ warning: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21170
+ 'info-filled': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21171
21171
  settings: (props: IconProps) => _emotion_react_jsx_runtime.JSX.Element;
21172
- 'query-string': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21173
- json: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21174
- 'format-bold': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21175
- 'format-code': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21176
- 'format-strike': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21177
- 'format-superscript': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21178
- 'format-subscript': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21179
- 'layout-list-numbered': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21180
- 'clear-formatting': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21181
- 'yes-no': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21182
- 'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21183
- 'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21184
- 'magic-wand': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21185
- 'list-view-short': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21186
- 'list-view-long': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21187
- 'filter-add': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21188
- 'clipboard-copy': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21189
- 'clipboard-paste': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21190
- refresh: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21191
- 'zig-zag': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21192
- 'zig-zag-thick': (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21172
+ 'query-string': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21173
+ json: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21174
+ 'format-bold': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21175
+ 'format-code': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21176
+ 'format-strike': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21177
+ 'format-superscript': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21178
+ 'format-subscript': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21179
+ 'layout-list-numbered': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21180
+ 'clear-formatting': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21181
+ 'yes-no': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21182
+ 'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21183
+ 'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21184
+ 'magic-wand': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21185
+ 'list-view-short': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21186
+ 'list-view-long': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21187
+ 'filter-add': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21188
+ 'clipboard-copy': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21189
+ 'clipboard-paste': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21190
+ refresh: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21191
+ 'zig-zag': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21192
+ 'zig-zag-thick': (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21193
21193
  };
21194
21194
 
21195
21195
  type IconsMap = Record<string, IconType$1>;
@@ -21207,7 +21207,7 @@ declare function IconsProvider({ children }: {
21207
21207
 
21208
21208
  declare const uniformComponentIcon: IconType$1;
21209
21209
  declare const uniformConditionalValuesIcon: IconType$1;
21210
- declare const uniformAiIcon: (props: _react_icons_all_files.IconBaseProps) => React$1.JSX.Element;
21210
+ declare const uniformAiIcon: (props: _react_icons_all_files.IconBaseProps) => React.JSX.Element;
21211
21211
  declare const uniformLocaleIcon: IconType$1;
21212
21212
  declare const uniformLocaleDisabledIcon: IconType$1;
21213
21213
  declare const uniformComponentPatternIcon: IconType$1;
package/dist/index.js CHANGED
@@ -15203,7 +15203,11 @@ var InputKeywordSearch = (0, import_react50.forwardRef)(
15203
15203
  }
15204
15204
  };
15205
15205
  const handleClear = () => {
15206
- onClear ? onClear() : onSearchTextChanged("");
15206
+ if (onClear) {
15207
+ onClear();
15208
+ } else {
15209
+ onSearchTextChanged("");
15210
+ }
15207
15211
  };
15208
15212
  return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
15209
15213
  Input,
@@ -24621,7 +24625,11 @@ var RichTextToolbar = ({ config, customControls, onInsertTable, onInsertAsset })
24621
24625
  "button",
24622
24626
  {
24623
24627
  onClick: () => {
24624
- isLink ? editor.dispatchCommand(REMOVE_LINK_NODE_COMMAND, {}) : editor.dispatchCommand(OPEN_LINK_NODE_MODAL_COMMAND, {});
24628
+ if (isLink) {
24629
+ editor.dispatchCommand(REMOVE_LINK_NODE_COMMAND, {});
24630
+ } else {
24631
+ editor.dispatchCommand(OPEN_LINK_NODE_MODAL_COMMAND, {});
24632
+ }
24625
24633
  },
24626
24634
  css: [richTextToolbarButton, isLink ? richTextToolbarButtonActive : null],
24627
24635
  children: /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(RichTextToolbarIcon, { icon: "link" })
@@ -24632,7 +24640,11 @@ var RichTextToolbar = ({ config, customControls, onInsertTable, onInsertAsset })
24632
24640
  "button",
24633
24641
  {
24634
24642
  onClick: () => {
24635
- activeElement === "unorderedList" ? editor.dispatchCommand(import_list2.REMOVE_LIST_COMMAND, void 0) : editor.dispatchCommand(import_list2.INSERT_UNORDERED_LIST_COMMAND, void 0);
24643
+ if (activeElement === "unorderedList") {
24644
+ editor.dispatchCommand(import_list2.REMOVE_LIST_COMMAND, void 0);
24645
+ } else {
24646
+ editor.dispatchCommand(import_list2.INSERT_UNORDERED_LIST_COMMAND, void 0);
24647
+ }
24636
24648
  },
24637
24649
  css: [
24638
24650
  richTextToolbarButton,
@@ -24645,7 +24657,11 @@ var RichTextToolbar = ({ config, customControls, onInsertTable, onInsertAsset })
24645
24657
  "button",
24646
24658
  {
24647
24659
  onClick: () => {
24648
- activeElement === "orderedList" ? editor.dispatchCommand(import_list2.REMOVE_LIST_COMMAND, void 0) : editor.dispatchCommand(import_list2.INSERT_ORDERED_LIST_COMMAND, void 0);
24660
+ if (activeElement === "orderedList") {
24661
+ editor.dispatchCommand(import_list2.REMOVE_LIST_COMMAND, void 0);
24662
+ } else {
24663
+ editor.dispatchCommand(import_list2.INSERT_ORDERED_LIST_COMMAND, void 0);
24664
+ }
24649
24665
  },
24650
24666
  css: [
24651
24667
  richTextToolbarButton,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/design-system",
3
- "version": "19.204.0",
3
+ "version": "19.204.1-alpha.2+0262cf78a6",
4
4
  "description": "Uniform design system components",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -24,17 +24,17 @@
24
24
  "@storybook/preview-api": "^8.3.3",
25
25
  "@storybook/react": "8.3.3",
26
26
  "@storybook/theming": "^8.3.3",
27
- "@types/react": "18.3.3",
28
- "@types/react-dom": "18.3.0",
29
- "@uniformdev/canvas": "^19.204.0",
30
- "@uniformdev/richtext": "^19.204.0",
27
+ "@types/react": "18.3.11",
28
+ "@types/react-dom": "18.3.1",
29
+ "@uniformdev/canvas": "^19.204.1-alpha.2+0262cf78a6",
30
+ "@uniformdev/richtext": "^19.204.1-alpha.2+0262cf78a6",
31
31
  "autoprefixer": "10.4.16",
32
32
  "hygen": "6.2.11",
33
- "postcss": "8.4.38",
33
+ "postcss": "8.4.47",
34
34
  "react": "18.3.1",
35
35
  "react-dom": "18.3.1",
36
36
  "react-select-event": "^5.5.1",
37
- "tsup": "8.1.0"
37
+ "tsup": "8.3.0"
38
38
  },
39
39
  "dependencies": {
40
40
  "@ariakit/react": "^0.3.5",
@@ -65,7 +65,7 @@
65
65
  "react-paginate": "8.2.0",
66
66
  "react-select": "5.8.0",
67
67
  "react-toastify": "10.0.5",
68
- "react-use": "17.5.0",
68
+ "react-use": "17.5.1",
69
69
  "reakit": "1.3.11",
70
70
  "zod-to-json-schema": "3.21.4"
71
71
  },
@@ -79,5 +79,5 @@
79
79
  "publishConfig": {
80
80
  "access": "public"
81
81
  },
82
- "gitHead": "526d22d188132e5d47dc117808be6ead40532cb1"
82
+ "gitHead": "0262cf78a6bd7179419e2e1505c1a985fd1103de"
83
83
  }