@orioro/react-ui-core 0.0.2 → 0.0.3

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.
@@ -26,7 +26,7 @@ export type TableBlock = Block & {
26
26
  content: {
27
27
  type: 'tableContent';
28
28
  rows: {
29
- cells: InlineContent[];
29
+ cells: InlineContent[][];
30
30
  }[];
31
31
  };
32
32
  children: Block[];
@@ -15,5 +15,6 @@ export type ShadowExpandableProps = {
15
15
  color?: string;
16
16
  style?: React.CSSProperties;
17
17
  buttonStyle?: React.CSSProperties;
18
+ collapsedOnPrint?: boolean;
18
19
  };
19
- export declare function ShadowExpandable({ collapsedHeight, open: externalOpen, onSetOpen: onSetExternalOpen, children, renderTrigger, expandLabel, collapseLabel, color, style, buttonStyle, }: ShadowExpandableProps): React.JSX.Element;
20
+ export declare function ShadowExpandable({ collapsedHeight, open: externalOpen, onSetOpen: onSetExternalOpen, children, renderTrigger, expandLabel, collapseLabel, color, style, buttonStyle, collapsedOnPrint, }: ShadowExpandableProps): React.JSX.Element;
package/dist/index.mjs CHANGED
@@ -4,7 +4,7 @@ import { kebabCase, pickBy, isPlainObject, pick, merge, get, omit, range, random
4
4
  import isPropValid from '@emotion/is-prop-valid';
5
5
  import useMeasure from 'react-use-measure';
6
6
  import * as Dialog from '@radix-ui/react-dialog';
7
- import { Theme, Button as Button$2, DataList as DataList$1, AlertDialog, TextField, Tooltip, Spinner as Spinner$1, Text, IconButton, Callout, Code, DropdownMenu as DropdownMenu$1, Separator, Checkbox, Dialog as Dialog$1, Tabs, Slot, Popover } from '@radix-ui/themes';
7
+ import { Theme, Button as Button$1, DataList as DataList$1, AlertDialog, TextField, Tooltip, Spinner as Spinner$1, Text, IconButton, Callout, Code, DropdownMenu as DropdownMenu$1, Separator, Checkbox, Dialog as Dialog$1, Tabs, Slot, Popover } from '@radix-ui/themes';
8
8
  import { switchExec, typeOf, validateAsync } from '@orioro/util';
9
9
  export { switchExec, switchValue, typeOf } from '@orioro/util';
10
10
  import { useFirstMountState, useDebounce, useClickAway, useBeforeUnload, useLocation, useMeasure as useMeasure$1 } from 'react-use';
@@ -1422,7 +1422,7 @@ function makeLinkButton(LinkComponent) {
1422
1422
  }
1423
1423
  } : undefined;
1424
1424
  }, [otherProps.disabled]);
1425
- return /*#__PURE__*/React.createElement(Button$2, _assign({}, otherProps, {
1425
+ return /*#__PURE__*/React.createElement(Button$1, _assign({}, otherProps, {
1426
1426
  asChild: true
1427
1427
  }), /*#__PURE__*/React.createElement(LinkComponent, _assign({}, linkProps, {
1428
1428
  onClick: onClick
@@ -1460,9 +1460,9 @@ var ClickTarget = makeClickTarget({
1460
1460
  });
1461
1461
  var templateObject_1$t, templateObject_2$b;
1462
1462
 
1463
- var Button$1 = makeClickTarget({
1463
+ var Button = makeClickTarget({
1464
1464
  Link: LinkButton,
1465
- Button: Button$2
1465
+ Button: Button$1
1466
1466
  });
1467
1467
 
1468
1468
  var _defaultItemKey = function _defaultItemKey(item, index) {
@@ -1511,7 +1511,7 @@ function makeListOf(ItemComponent, _a) {
1511
1511
  };
1512
1512
  }
1513
1513
 
1514
- var ButtonList = makeListOf(Button$1, {
1514
+ var ButtonList = makeListOf(Button, {
1515
1515
  itemProps: function itemProps(item, _a) {
1516
1516
  var onClickItem = _a.onClickItem,
1517
1517
  size = _a.size;
@@ -1976,11 +1976,11 @@ var Title$3 = replaceable(AlertDialog.Title);
1976
1976
  var Message = replaceable(AlertDialog.Description, {
1977
1977
  size: '2'
1978
1978
  });
1979
- var Cancel$3 = mergeable(Button$2, {
1979
+ var Cancel$3 = mergeable(Button$1, {
1980
1980
  variant: 'soft',
1981
1981
  color: 'gray'
1982
1982
  });
1983
- var Confirm = mergeable(Button$2, {
1983
+ var Confirm = mergeable(Button$1, {
1984
1984
  variant: 'solid',
1985
1985
  color: 'red'
1986
1986
  });
@@ -3499,7 +3499,9 @@ function isBlockEmpty(block) {
3499
3499
  case 'table':
3500
3500
  var tableContent = block.content;
3501
3501
  return tableContent.rows.every(function (row) {
3502
- return row.cells.every(isInlineContentEmpty);
3502
+ return row.cells.every(function (cellContents) {
3503
+ return cellContents.every(isInlineContentEmpty);
3504
+ });
3503
3505
  });
3504
3506
  case 'image':
3505
3507
  return !block.props.url && block.props.caption.trim() === '';
@@ -3801,7 +3803,7 @@ function ErrorDisplay(_a) {
3801
3803
  size: 1
3802
3804
  })), /*#__PURE__*/React.createElement(Callout.Text, null, message, ' ', /*#__PURE__*/React.createElement(Code, null, [name, httpCode ? "(".concat(httpCode, ")") : null, errorLogId ? "[ID: ".concat(errorLogId, "]") : null].filter(Boolean).join(' '))), action && ( /*#__PURE__*/React.createElement(Flex, {
3803
3805
  direction: "row"
3804
- }, /*#__PURE__*/React.createElement(Button$2, {
3806
+ }, /*#__PURE__*/React.createElement(Button$1, {
3805
3807
  size: "1",
3806
3808
  onClick: function onClick(e) {
3807
3809
  return action.handle();
@@ -4133,7 +4135,7 @@ DropdownMenu.Item = DropdownMenu$1.Item;
4133
4135
 
4134
4136
  var DEFAULT_COMPONENTS = {
4135
4137
  Separator: Separator,
4136
- Button: Button$1,
4138
+ Button: Button,
4137
4139
  DropdownMenu: DropdownMenu
4138
4140
  };
4139
4141
  function MenuItem(_a) {
@@ -4774,7 +4776,7 @@ function FinalAddItem() {
4774
4776
  addItem = _a.addItem,
4775
4777
  isAdding = _a.isAdding,
4776
4778
  props = _a.props;
4777
- return typeof addItem === 'function' && ( /*#__PURE__*/React.createElement(Button$2, {
4779
+ return typeof addItem === 'function' && ( /*#__PURE__*/React.createElement(Button$1, {
4778
4780
  type: "button",
4779
4781
  loading: isAdding,
4780
4782
  disabled: isAdding,
@@ -5669,15 +5671,15 @@ function LoginForm(_ref) {
5669
5671
  justifyContent: "space-between"
5670
5672
  }, /*#__PURE__*/React.createElement(Flex, {
5671
5673
  direction: "row"
5672
- }, onCancel && /*#__PURE__*/React.createElement(Button$2, {
5674
+ }, onCancel && /*#__PURE__*/React.createElement(Button$1, {
5673
5675
  type: "button",
5674
5676
  variant: "ghost",
5675
5677
  onClick: onCancel
5676
- }, messages.cancelButtonLabel), onRequestAccountRecovery && /*#__PURE__*/React.createElement(Button$2, {
5678
+ }, messages.cancelButtonLabel), onRequestAccountRecovery && /*#__PURE__*/React.createElement(Button$1, {
5677
5679
  type: "button",
5678
5680
  variant: "ghost",
5679
5681
  onClick: onRequestAccountRecovery
5680
- }, messages.forgottenPasswordButtonLabel)), /*#__PURE__*/React.createElement(Button$2, {
5682
+ }, messages.forgottenPasswordButtonLabel)), /*#__PURE__*/React.createElement(Button$1, {
5681
5683
  type: "submit",
5682
5684
  size: "3",
5683
5685
  loading: logInState.status === 'loading'
@@ -5893,11 +5895,11 @@ function SignupForm(_ref) {
5893
5895
  justifyContent: "space-between"
5894
5896
  }, /*#__PURE__*/React.createElement(Flex, {
5895
5897
  direction: "row"
5896
- }, onCancel && /*#__PURE__*/React.createElement(Button$2, {
5898
+ }, onCancel && /*#__PURE__*/React.createElement(Button$1, {
5897
5899
  type: "button",
5898
5900
  variant: "ghost",
5899
5901
  onClick: onCancel
5900
- }, messages.cancelButtonLabel)), /*#__PURE__*/React.createElement(Button$2, {
5902
+ }, messages.cancelButtonLabel)), /*#__PURE__*/React.createElement(Button$1, {
5901
5903
  loading: signUpState.status === 'loading',
5902
5904
  type: "submit",
5903
5905
  size: "3"
@@ -5968,15 +5970,15 @@ function AccountRecoveryForm(_ref) {
5968
5970
  justifyContent: "space-between"
5969
5971
  }, /*#__PURE__*/React.createElement(Flex, {
5970
5972
  direction: "row"
5971
- }, onCancel && /*#__PURE__*/React.createElement(Button$2, {
5973
+ }, onCancel && /*#__PURE__*/React.createElement(Button$1, {
5972
5974
  type: "button",
5973
5975
  variant: "ghost",
5974
5976
  onClick: onCancel
5975
- }, messages.cancelButtonLabel), onLogIn && /*#__PURE__*/React.createElement(Button$2, {
5977
+ }, messages.cancelButtonLabel), onLogIn && /*#__PURE__*/React.createElement(Button$1, {
5976
5978
  type: "button",
5977
5979
  variant: "ghost",
5978
5980
  onClick: onLogIn
5979
- }, messages.logIn)), /*#__PURE__*/React.createElement(Button$2, {
5981
+ }, messages.logIn)), /*#__PURE__*/React.createElement(Button$1, {
5980
5982
  type: "submit",
5981
5983
  size: "3",
5982
5984
  loading: state.status === 'loading'
@@ -6280,7 +6282,7 @@ function useAuthDialog(props) {
6280
6282
 
6281
6283
  var Title$2 = replaceable(Dialog$1.Title);
6282
6284
  var Body$1 = replaceable(Box);
6283
- var Acknowledge = mergeable(Button$2);
6285
+ var Acknowledge = mergeable(Button$1);
6284
6286
  function resolveMessage(_a) {
6285
6287
  var message = _a.message,
6286
6288
  errorActionHandlers = _a.errorActionHandlers;
@@ -6563,17 +6565,17 @@ var pickPromptUIProps = propPicker(PROMPT_UI_PROPS);
6563
6565
  var Title$1 = replaceable(Dialog$1.Title);
6564
6566
  var BeforeInput = replaceable(Box);
6565
6567
  var AfterInput = replaceable(Box);
6566
- var Restore$1 = mergeable(Button$2, {
6568
+ var Restore$1 = mergeable(Button$1, {
6567
6569
  variant: 'soft',
6568
6570
  color: 'gray',
6569
6571
  type: 'button'
6570
6572
  });
6571
- var Cancel$2 = mergeable(Button$2, {
6573
+ var Cancel$2 = mergeable(Button$1, {
6572
6574
  variant: 'soft',
6573
6575
  color: 'gray',
6574
6576
  type: 'button'
6575
6577
  });
6576
- var Submit$1 = mergeable(Button$2, {
6578
+ var Submit$1 = mergeable(Button$1, {
6577
6579
  type: 'submit'
6578
6580
  });
6579
6581
  var PromptDialogContext = /*#__PURE__*/createContext({
@@ -6865,8 +6867,8 @@ function useLoadingDialog(baseDialogProps) {
6865
6867
 
6866
6868
  var Title = replaceable(Dialog$1.Title);
6867
6869
  var Body = replaceable(Box);
6868
- var OptionButton = replaceable(Button$2);
6869
- var Cancel$1 = mergeable(Button$2, {
6870
+ var OptionButton = replaceable(Button$1);
6871
+ var Cancel$1 = mergeable(Button$1, {
6870
6872
  variant: 'soft',
6871
6873
  color: 'gray',
6872
6874
  type: 'button'
@@ -7419,19 +7421,19 @@ function locationAwareLink(Link, _a) {
7419
7421
  }
7420
7422
  var templateObject_1$4;
7421
7423
 
7422
- var Restore = mergeable(Button$2, {
7424
+ var Restore = mergeable(Button$1, {
7423
7425
  variant: 'soft',
7424
7426
  color: 'gray',
7425
7427
  type: 'button',
7426
7428
  size: '1'
7427
7429
  });
7428
- var Cancel = mergeable(Button$2, {
7430
+ var Cancel = mergeable(Button$1, {
7429
7431
  variant: 'soft',
7430
7432
  color: 'gray',
7431
7433
  type: 'button',
7432
7434
  size: '1'
7433
7435
  });
7434
- var Submit = mergeable(Button$2, {
7436
+ var Submit = mergeable(Button$1, {
7435
7437
  type: 'submit',
7436
7438
  variant: 'soft',
7437
7439
  size: '1'
@@ -7638,8 +7640,11 @@ function defaultRenderTrigger(_a) {
7638
7640
  }
7639
7641
  }, open ? collapseLabel : expandLabel);
7640
7642
  }
7641
- var Container$1 = styled.div(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject(["\n transition: height 0.2s ease;\n"], ["\n transition: height 0.2s ease;\n"])));
7642
- var Button = styled.button(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n box-sizing: border-box;\n\n padding: 0;\n width: 100%;\n position: absolute;\n bottom: 0;\n z-index: 2;\n\n cursor: pointer;\n\n border: 1px solid red;\n border: none;\n position: absolute;\n bottom: 0;\n right: 0;\n max-height: 50%;\n line-height: 1;\n font-size: 1em;\n\n display: flex;\n align-items: flex-end;\n background-color: transparent;\n font-family: inherit;\n\n > * {\n z-index: 2;\n }\n\n height: 1.5em;\n\n &::after {\n content: '';\n position: absolute;\n pointer-events: none;\n left: 0;\n right: 0;\n bottom: 0;\n background-image: ", ";\n height: ", ";\n transition: height 0.6s ease;\n }\n\n &:hover::after {\n height: ", ";\n }\n"], ["\n box-sizing: border-box;\n\n padding: 0;\n width: 100%;\n position: absolute;\n bottom: 0;\n z-index: 2;\n\n cursor: pointer;\n\n border: 1px solid red;\n border: none;\n position: absolute;\n bottom: 0;\n right: 0;\n max-height: 50%;\n line-height: 1;\n font-size: 1em;\n\n display: flex;\n align-items: flex-end;\n background-color: transparent;\n font-family: inherit;\n\n > * {\n z-index: 2;\n }\n\n height: 1.5em;\n\n &::after {\n content: '';\n position: absolute;\n pointer-events: none;\n left: 0;\n right: 0;\n bottom: 0;\n background-image: ", ";\n height: ", ";\n transition: height 0.6s ease;\n }\n\n &:hover::after {\n height: ", ";\n }\n"])), function (_a) {
7643
+ var Container$1 = styled.div(templateObject_1$2 || (templateObject_1$2 = __makeTemplateObject(["\n transition: height 0.2s ease;\n\n ", "\n"], ["\n transition: height 0.2s ease;\n\n ", "\n"])), function (_a) {
7644
+ var $collapsedOnPrint = _a.$collapsedOnPrint;
7645
+ return !$collapsedOnPrint ? "@media print { height: auto !important; }" : '';
7646
+ });
7647
+ var ToggleCollapsedBtn = styled.button(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\n box-sizing: border-box;\n\n padding: 0;\n width: 100%;\n position: absolute;\n bottom: 0;\n z-index: 2;\n\n cursor: pointer;\n\n border: 1px solid red;\n border: none;\n position: absolute;\n bottom: 0;\n right: 0;\n max-height: 50%;\n line-height: 1;\n font-size: 1em;\n\n display: flex;\n align-items: flex-end;\n background-color: transparent;\n font-family: inherit;\n\n > * {\n z-index: 2;\n }\n\n height: 1.5em;\n\n &::after {\n content: '';\n position: absolute;\n pointer-events: none;\n left: 0;\n right: 0;\n bottom: 0;\n background-image: ", ";\n height: ", ";\n transition: height 0.6s ease;\n }\n\n &:hover::after {\n height: ", ";\n }\n\n ", "\n"], ["\n box-sizing: border-box;\n\n padding: 0;\n width: 100%;\n position: absolute;\n bottom: 0;\n z-index: 2;\n\n cursor: pointer;\n\n border: 1px solid red;\n border: none;\n position: absolute;\n bottom: 0;\n right: 0;\n max-height: 50%;\n line-height: 1;\n font-size: 1em;\n\n display: flex;\n align-items: flex-end;\n background-color: transparent;\n font-family: inherit;\n\n > * {\n z-index: 2;\n }\n\n height: 1.5em;\n\n &::after {\n content: '';\n position: absolute;\n pointer-events: none;\n left: 0;\n right: 0;\n bottom: 0;\n background-image: ", ";\n height: ", ";\n transition: height 0.6s ease;\n }\n\n &:hover::after {\n height: ", ";\n }\n\n ", "\n"])), function (_a) {
7643
7648
  var _b = _a.$color,
7644
7649
  $color = _b === void 0 ? 'white' : _b,
7645
7650
  $open = _a.$open;
@@ -7650,6 +7655,9 @@ var Button = styled.button(templateObject_2$1 || (templateObject_2$1 = __makeTem
7650
7655
  }, function (_a) {
7651
7656
  var $open = _a.$open;
7652
7657
  return $open ? '100%' : '4em';
7658
+ }, function (_a) {
7659
+ var $collapsedOnPrint = _a.$collapsedOnPrint;
7660
+ return !$collapsedOnPrint ? "@media print { display: none !important; }" : '';
7653
7661
  });
7654
7662
  function ShadowExpandable(_a) {
7655
7663
  var _b = _a.collapsedHeight,
@@ -7666,17 +7674,19 @@ function ShadowExpandable(_a) {
7666
7674
  _e = _a.style,
7667
7675
  style = _e === void 0 ? {} : _e,
7668
7676
  _f = _a.buttonStyle,
7669
- buttonStyle = _f === void 0 ? {} : _f;
7670
- var _g = useMeasure$1(),
7671
- buttonMeasureRef = _g[0],
7672
- buttonHeight = _g[1].height;
7677
+ buttonStyle = _f === void 0 ? {} : _f,
7678
+ _g = _a.collapsedOnPrint,
7679
+ collapsedOnPrint = _g === void 0 ? false : _g;
7673
7680
  var _h = useMeasure$1(),
7674
- measureRef = _h[0],
7675
- contentHeight = _h[1].height;
7681
+ buttonMeasureRef = _h[0],
7682
+ buttonHeight = _h[1].height;
7683
+ var _j = useMeasure$1(),
7684
+ measureRef = _j[0],
7685
+ contentHeight = _j[1].height;
7676
7686
  var contentRef = useRef(null);
7677
- var _j = useLocalState(externalOpen),
7678
- localOpen = _j[0],
7679
- setLocalOpen = _j[1];
7687
+ var _k = useLocalState(externalOpen),
7688
+ localOpen = _k[0],
7689
+ setLocalOpen = _k[1];
7680
7690
  useEffect(function () {
7681
7691
  if (localOpen !== externalOpen && typeof onSetExternalOpen === 'function') {
7682
7692
  onSetExternalOpen(localOpen);
@@ -7686,6 +7696,7 @@ function ShadowExpandable(_a) {
7686
7696
  var contentOverflows = typeof contentHeight === 'number' && collapsedHeight < contentHeight;
7687
7697
  var $closestBg = useClosestBackgroundColor(contentRef, 'transparent')[0];
7688
7698
  return /*#__PURE__*/React.createElement(Container$1, {
7699
+ "$collapsedOnPrint": collapsedOnPrint,
7689
7700
  style: _assign({
7690
7701
  position: 'relative',
7691
7702
  height: !measureReady || !contentOverflows ? 'auto' : localOpen ? Math.ceil(contentHeight + buttonHeight) : collapsedHeight,
@@ -7698,14 +7709,15 @@ function ShadowExpandable(_a) {
7698
7709
  }, style)
7699
7710
  }, /*#__PURE__*/React.createElement("div", {
7700
7711
  ref: mergeRefs([measureRef, contentRef])
7701
- }, children), contentOverflows ? ( /*#__PURE__*/React.createElement(Button, {
7712
+ }, children), contentOverflows ? ( /*#__PURE__*/React.createElement(ToggleCollapsedBtn, {
7702
7713
  ref: buttonMeasureRef,
7703
7714
  "$open": localOpen,
7704
7715
  "$color": color || $closestBg,
7705
7716
  onClick: function onClick() {
7706
7717
  return setLocalOpen(!localOpen);
7707
7718
  },
7708
- style: buttonStyle
7719
+ style: buttonStyle,
7720
+ "$collapsedOnPrint": collapsedOnPrint
7709
7721
  }, renderTrigger({
7710
7722
  open: localOpen,
7711
7723
  expandLabel: expandLabel,
@@ -7948,4 +7960,4 @@ function TextEllipsis(_a) {
7948
7960
  }, children);
7949
7961
  }
7950
7962
 
7951
- export { AUTH_DIALOG_DEFAULT_MESSAGES, AnimatedDots, AppHeader, ArrayInput, ArrayOutput, AspectRatio, AuthDialog, BOX_PROPS, BREAKPOINTS, BooleanCheckboxOutput, Box, Button$1 as Button, ButtonBarMenu, ButtonList, CANCELLED, COLOR, CSSReset, CheckboxSelectOutput, ClickTarget, ConfirmDialog, ConfirmDialogContent, Container$b as Container, DEFAULT_ACTION_HANDLERS, DEFAULT_RENDERERS, DIALOGS, DataList, DateTimeInput, DateTimeOutput, DateTimeOutputInner, Debug, DialogSystem, DotDotDot, DropdownMenu, Editable, EditableContext, EditableField, ErrorDisplay, ErrorHandlingContext, ErrorHandlingProvider, EvenSpacedList, FLEX_BASE_STYLE_PROPS, FLEX_GRID_PROPS, FLEX_PROPS, FileDropzone, FileIcon, FileOutput, FilePreview, Flex, FlexGrid, HoverElement, ICON_BY_TYPE, INPUTS, INPUT_GRID_PROPS, INPUT_PROPS, Image, ImageWithFallback, InfoDialog, InfoDialogAcknowledge, Input, InputGrid, InputProvider, LabeledBox, LabeledLayout, LinkButton, LoadingDialog, LoadingIndicator, LoadingOverlay, LocalImagePreview, Markdown, MarkdownInput, MarkdownOutput, MarkdownOutputInner, MarkdownRaw, MultiFileInput, MultiFileOutput, OUTPUTS, ObjectInput, ObjectOutput, Output, OutputProvider, PROMPT_UI_PROPS, PromptDialog, PromptPopover, RICH_TEXT_INPUT_DEFAULT_VALUE, RadioSelectInput, RandomIcon, RendererContext, Responsive, RichText, RichTextInput, RichTextOutput, RichTextRenderer, SPACING, SearchForm, ShadowExpandable, SingleFileInput, Spinner, SpinnerIcon, StylableFileInput, TextEllipsis, TextInput, TextOutput, TextOutputInner, TextareaInput, areInputValuesEqual, arrayAddAt, arrayAppend, arrayMove, arrayRemoveAt, arrayRenderer, arrayReplaceAt, breakpoint, color, computeUpdatedKeys, createDataContext, createDialogSystem, diffInputValues, domProps, fileReadAs, flexBaseStyles, flexGapStyles, getClosestBackgroundColor, getErrorData, isSettled, locationAwareLink, makeClickTarget, makeLinkButton, makeListOf, maybeReactNode, maybeValue, mergeable, objectRenderer, omitInputProps, parseLength, parseMenuItems, parseOptions, pickPromptUIProps, propPicker, randomText, recursiveRendererSystem, renderPromptInput, rendererSpecList, replaceable, resolveInput, resolveOptions, responsive, responsiveProperty, richTextIsEmpty, richTextToPlainText, richTextTrimEmptyBlocks, s3Upload, s3UploadSingle, simpleBlockChildren, simpleBlockRenderer, spacing, strValue, styleResolver, themableValueResolver, theme, toCss, toDataProps, transformResponsiveValue, unitMath, useAuthDialog, useClosestBackgroundColor, useConfirmDialog, useDefer, useDependentFetch, useDialog, useDialogs, useErrorHandling, useFetch, useFileReadAs, useInfoDialog, useListOverflow, useLoadingDialog, useLocalState, useLogError, useMergedContext, usePromiseCreator, usePromiseState, usePromptDialog, usePromptUI, useResolvable, wait, withDefaults, withLabeledLayout, withPermission, withPlaceholder, withStaticProps };
7963
+ export { AUTH_DIALOG_DEFAULT_MESSAGES, AnimatedDots, AppHeader, ArrayInput, ArrayOutput, AspectRatio, AuthDialog, BOX_PROPS, BREAKPOINTS, BooleanCheckboxOutput, Box, Button, ButtonBarMenu, ButtonList, CANCELLED, COLOR, CSSReset, CheckboxSelectOutput, ClickTarget, ConfirmDialog, ConfirmDialogContent, Container$b as Container, DEFAULT_ACTION_HANDLERS, DEFAULT_RENDERERS, DIALOGS, DataList, DateTimeInput, DateTimeOutput, DateTimeOutputInner, Debug, DialogSystem, DotDotDot, DropdownMenu, Editable, EditableContext, EditableField, ErrorDisplay, ErrorHandlingContext, ErrorHandlingProvider, EvenSpacedList, FLEX_BASE_STYLE_PROPS, FLEX_GRID_PROPS, FLEX_PROPS, FileDropzone, FileIcon, FileOutput, FilePreview, Flex, FlexGrid, HoverElement, ICON_BY_TYPE, INPUTS, INPUT_GRID_PROPS, INPUT_PROPS, Image, ImageWithFallback, InfoDialog, InfoDialogAcknowledge, Input, InputGrid, InputProvider, LabeledBox, LabeledLayout, LinkButton, LoadingDialog, LoadingIndicator, LoadingOverlay, LocalImagePreview, Markdown, MarkdownInput, MarkdownOutput, MarkdownOutputInner, MarkdownRaw, MultiFileInput, MultiFileOutput, OUTPUTS, ObjectInput, ObjectOutput, Output, OutputProvider, PROMPT_UI_PROPS, PromptDialog, PromptPopover, RICH_TEXT_INPUT_DEFAULT_VALUE, RadioSelectInput, RandomIcon, RendererContext, Responsive, RichText, RichTextInput, RichTextOutput, RichTextRenderer, SPACING, SearchForm, ShadowExpandable, SingleFileInput, Spinner, SpinnerIcon, StylableFileInput, TextEllipsis, TextInput, TextOutput, TextOutputInner, TextareaInput, areInputValuesEqual, arrayAddAt, arrayAppend, arrayMove, arrayRemoveAt, arrayRenderer, arrayReplaceAt, breakpoint, color, computeUpdatedKeys, createDataContext, createDialogSystem, diffInputValues, domProps, fileReadAs, flexBaseStyles, flexGapStyles, getClosestBackgroundColor, getErrorData, isSettled, locationAwareLink, makeClickTarget, makeLinkButton, makeListOf, maybeReactNode, maybeValue, mergeable, objectRenderer, omitInputProps, parseLength, parseMenuItems, parseOptions, pickPromptUIProps, propPicker, randomText, recursiveRendererSystem, renderPromptInput, rendererSpecList, replaceable, resolveInput, resolveOptions, responsive, responsiveProperty, richTextIsEmpty, richTextToPlainText, richTextTrimEmptyBlocks, s3Upload, s3UploadSingle, simpleBlockChildren, simpleBlockRenderer, spacing, strValue, styleResolver, themableValueResolver, theme, toCss, toDataProps, transformResponsiveValue, unitMath, useAuthDialog, useClosestBackgroundColor, useConfirmDialog, useDefer, useDependentFetch, useDialog, useDialogs, useErrorHandling, useFetch, useFileReadAs, useInfoDialog, useListOverflow, useLoadingDialog, useLocalState, useLogError, useMergedContext, usePromiseCreator, usePromiseState, usePromptDialog, usePromptUI, useResolvable, wait, withDefaults, withLabeledLayout, withPermission, withPlaceholder, withStaticProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orioro/react-ui-core",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "packageManager": "yarn@4.0.2",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
@@ -39,7 +39,7 @@
39
39
  "@mui/base": "^5.0.0-beta.40",
40
40
  "@orioro/react-select": "3.0.0",
41
41
  "@orioro/resolve": "0.1.0",
42
- "@orioro/util": "0.7.0",
42
+ "@orioro/util": "0.9.0",
43
43
  "@radix-ui/react-collapsible": "^1.1.0",
44
44
  "@radix-ui/react-dialog": "^1.0.5",
45
45
  "@radix-ui/react-icons": "^1.3.0",