@uniformdev/design-system 19.177.2-alpha.10 → 19.177.2-alpha.18
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 +243 -1095
- package/dist/index.d.mts +3 -16
- package/dist/index.d.ts +3 -16
- package/dist/index.js +251 -1084
- package/package.json +13 -14
package/dist/index.d.mts
CHANGED
|
@@ -21,7 +21,7 @@ import { CreatableProps } from 'react-select/creatable';
|
|
|
21
21
|
import InternalSelect from 'react-select/dist/declarations/src/Select';
|
|
22
22
|
import { JsonSchema7Type } from 'zod-to-json-schema/src/parseDef';
|
|
23
23
|
import * as _ariakit_react from '@ariakit/react';
|
|
24
|
-
import { MenuProps as MenuProps$2, MenuStoreProps,
|
|
24
|
+
import { MenuProps as MenuProps$2, MenuStoreProps, MenuItemProps as MenuItemProps$1, PopoverProps as PopoverProps$1, PopoverProviderProps, PopoverStore, TabStoreState, TabListProps, TabProps, TabPanelProps } from '@ariakit/react';
|
|
25
25
|
export { PopoverStore } from '@ariakit/react';
|
|
26
26
|
import { InitialConfigType } from '@lexical/react/LexicalComposer';
|
|
27
27
|
import { LinkParamValue, RichTextParamConfiguration } from '@uniformdev/canvas';
|
|
@@ -22652,7 +22652,6 @@ interface MenuProps extends MenuProps$2 {
|
|
|
22652
22652
|
* this is not compatible with nested menus that expand to the left or right of the menu
|
|
22653
22653
|
*/
|
|
22654
22654
|
maxMenuHeight?: string;
|
|
22655
|
-
portalElement?: React$1.ComponentProps<typeof Menu$1>['portalElement'];
|
|
22656
22655
|
}
|
|
22657
22656
|
/**
|
|
22658
22657
|
* Component used for creating clickable menus
|
|
@@ -23259,7 +23258,6 @@ type LinkNodePluginProps = {
|
|
|
23259
23258
|
onSetValue: (value: LinkParamValue) => void;
|
|
23260
23259
|
}) => Promise<void>;
|
|
23261
23260
|
getBoundPath?: (path: string) => string;
|
|
23262
|
-
positioningAnchorEl: HTMLElement;
|
|
23263
23261
|
};
|
|
23264
23262
|
|
|
23265
23263
|
declare const richTextToolbarButton: _emotion_react.SerializedStyles;
|
|
@@ -23272,10 +23270,6 @@ type RichTextToolbarProps = {
|
|
|
23272
23270
|
config?: RichTextParamConfiguration;
|
|
23273
23271
|
/** Variables */
|
|
23274
23272
|
customControls?: React.ReactElement;
|
|
23275
|
-
onInsertTable?: () => Promise<{
|
|
23276
|
-
rows: number;
|
|
23277
|
-
columns: number;
|
|
23278
|
-
} | null>;
|
|
23279
23273
|
};
|
|
23280
23274
|
|
|
23281
23275
|
type RichTextProps = {
|
|
@@ -23284,9 +23278,7 @@ type RichTextProps = {
|
|
|
23284
23278
|
onConnectLink?: LinkNodePluginProps['onConnectLink'];
|
|
23285
23279
|
onRichTextInit?: (editor: LexicalEditor) => void;
|
|
23286
23280
|
readOnly?: boolean;
|
|
23287
|
-
minimalInteractivity?: boolean;
|
|
23288
23281
|
editorInputClassName?: string;
|
|
23289
|
-
editorInputWrapperClassName?: string;
|
|
23290
23282
|
/** Register additional custom node types to the RTE */
|
|
23291
23283
|
customNodes?: InitialConfigType['nodes'];
|
|
23292
23284
|
/** Children allows registering custom Lexical plugins */
|
|
@@ -23297,11 +23289,6 @@ type RichTextProps = {
|
|
|
23297
23289
|
};
|
|
23298
23290
|
/** Rich Text Toolbar custom controls */
|
|
23299
23291
|
customControls?: RichTextToolbarProps['customControls'];
|
|
23300
|
-
/** Tables */
|
|
23301
|
-
onInsertTable?: () => Promise<{
|
|
23302
|
-
rows: number;
|
|
23303
|
-
columns: number;
|
|
23304
|
-
} | null>;
|
|
23305
23292
|
};
|
|
23306
23293
|
type RichTextParamValue = SerializedEditorState | undefined | null;
|
|
23307
23294
|
type ParameterRichTextInnerProps = RichTextProps & {
|
|
@@ -23310,8 +23297,8 @@ type ParameterRichTextInnerProps = RichTextProps & {
|
|
|
23310
23297
|
editorFooter?: React.ReactNode;
|
|
23311
23298
|
};
|
|
23312
23299
|
type ParameterRichTextProps = CommonParameterInputProps & ParameterRichTextInnerProps;
|
|
23313
|
-
declare const ParameterRichText: ({ label, labelLeadingIcon, hiddenLabel, id, errorMessage, caption, errorTestId, captionTestId, menuItems, value, onChange, onConnectLink, config, onRichTextInit, readOnly, editorWrapperClassName, editorInputClassName,
|
|
23314
|
-
declare const ParameterRichTextInner: ({ value, onChange, onConnectLink, config, onRichTextInit, readOnly, editorWrapperClassName, editorInputClassName,
|
|
23300
|
+
declare const ParameterRichText: ({ label, labelLeadingIcon, hiddenLabel, id, errorMessage, caption, errorTestId, captionTestId, menuItems, value, onChange, onConnectLink, config, onRichTextInit, readOnly, editorWrapperClassName, editorInputClassName, editorFooter, customNodes, children, variables, customControls, }: ParameterRichTextProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
23301
|
+
declare const ParameterRichTextInner: ({ value, onChange, onConnectLink, config, onRichTextInit, readOnly, editorWrapperClassName, editorInputClassName, editorFooter, children, customNodes, variables, customControls, }: ParameterRichTextInnerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
23315
23302
|
|
|
23316
23303
|
type ParameterSelectProps = CommonParameterInputProps & CommonParameterSelectProps & React.InputHTMLAttributes<HTMLSelectElement>;
|
|
23317
23304
|
/** @example <ParameterSelect label="my label" id="my-id" options={[{ label: 'option label', value: 0}]} */
|
package/dist/index.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ import { CreatableProps } from 'react-select/creatable';
|
|
|
21
21
|
import InternalSelect from 'react-select/dist/declarations/src/Select';
|
|
22
22
|
import { JsonSchema7Type } from 'zod-to-json-schema/src/parseDef';
|
|
23
23
|
import * as _ariakit_react from '@ariakit/react';
|
|
24
|
-
import { MenuProps as MenuProps$2, MenuStoreProps,
|
|
24
|
+
import { MenuProps as MenuProps$2, MenuStoreProps, MenuItemProps as MenuItemProps$1, PopoverProps as PopoverProps$1, PopoverProviderProps, PopoverStore, TabStoreState, TabListProps, TabProps, TabPanelProps } from '@ariakit/react';
|
|
25
25
|
export { PopoverStore } from '@ariakit/react';
|
|
26
26
|
import { InitialConfigType } from '@lexical/react/LexicalComposer';
|
|
27
27
|
import { LinkParamValue, RichTextParamConfiguration } from '@uniformdev/canvas';
|
|
@@ -22652,7 +22652,6 @@ interface MenuProps extends MenuProps$2 {
|
|
|
22652
22652
|
* this is not compatible with nested menus that expand to the left or right of the menu
|
|
22653
22653
|
*/
|
|
22654
22654
|
maxMenuHeight?: string;
|
|
22655
|
-
portalElement?: React$1.ComponentProps<typeof Menu$1>['portalElement'];
|
|
22656
22655
|
}
|
|
22657
22656
|
/**
|
|
22658
22657
|
* Component used for creating clickable menus
|
|
@@ -23259,7 +23258,6 @@ type LinkNodePluginProps = {
|
|
|
23259
23258
|
onSetValue: (value: LinkParamValue) => void;
|
|
23260
23259
|
}) => Promise<void>;
|
|
23261
23260
|
getBoundPath?: (path: string) => string;
|
|
23262
|
-
positioningAnchorEl: HTMLElement;
|
|
23263
23261
|
};
|
|
23264
23262
|
|
|
23265
23263
|
declare const richTextToolbarButton: _emotion_react.SerializedStyles;
|
|
@@ -23272,10 +23270,6 @@ type RichTextToolbarProps = {
|
|
|
23272
23270
|
config?: RichTextParamConfiguration;
|
|
23273
23271
|
/** Variables */
|
|
23274
23272
|
customControls?: React.ReactElement;
|
|
23275
|
-
onInsertTable?: () => Promise<{
|
|
23276
|
-
rows: number;
|
|
23277
|
-
columns: number;
|
|
23278
|
-
} | null>;
|
|
23279
23273
|
};
|
|
23280
23274
|
|
|
23281
23275
|
type RichTextProps = {
|
|
@@ -23284,9 +23278,7 @@ type RichTextProps = {
|
|
|
23284
23278
|
onConnectLink?: LinkNodePluginProps['onConnectLink'];
|
|
23285
23279
|
onRichTextInit?: (editor: LexicalEditor) => void;
|
|
23286
23280
|
readOnly?: boolean;
|
|
23287
|
-
minimalInteractivity?: boolean;
|
|
23288
23281
|
editorInputClassName?: string;
|
|
23289
|
-
editorInputWrapperClassName?: string;
|
|
23290
23282
|
/** Register additional custom node types to the RTE */
|
|
23291
23283
|
customNodes?: InitialConfigType['nodes'];
|
|
23292
23284
|
/** Children allows registering custom Lexical plugins */
|
|
@@ -23297,11 +23289,6 @@ type RichTextProps = {
|
|
|
23297
23289
|
};
|
|
23298
23290
|
/** Rich Text Toolbar custom controls */
|
|
23299
23291
|
customControls?: RichTextToolbarProps['customControls'];
|
|
23300
|
-
/** Tables */
|
|
23301
|
-
onInsertTable?: () => Promise<{
|
|
23302
|
-
rows: number;
|
|
23303
|
-
columns: number;
|
|
23304
|
-
} | null>;
|
|
23305
23292
|
};
|
|
23306
23293
|
type RichTextParamValue = SerializedEditorState | undefined | null;
|
|
23307
23294
|
type ParameterRichTextInnerProps = RichTextProps & {
|
|
@@ -23310,8 +23297,8 @@ type ParameterRichTextInnerProps = RichTextProps & {
|
|
|
23310
23297
|
editorFooter?: React.ReactNode;
|
|
23311
23298
|
};
|
|
23312
23299
|
type ParameterRichTextProps = CommonParameterInputProps & ParameterRichTextInnerProps;
|
|
23313
|
-
declare const ParameterRichText: ({ label, labelLeadingIcon, hiddenLabel, id, errorMessage, caption, errorTestId, captionTestId, menuItems, value, onChange, onConnectLink, config, onRichTextInit, readOnly, editorWrapperClassName, editorInputClassName,
|
|
23314
|
-
declare const ParameterRichTextInner: ({ value, onChange, onConnectLink, config, onRichTextInit, readOnly, editorWrapperClassName, editorInputClassName,
|
|
23300
|
+
declare const ParameterRichText: ({ label, labelLeadingIcon, hiddenLabel, id, errorMessage, caption, errorTestId, captionTestId, menuItems, value, onChange, onConnectLink, config, onRichTextInit, readOnly, editorWrapperClassName, editorInputClassName, editorFooter, customNodes, children, variables, customControls, }: ParameterRichTextProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
23301
|
+
declare const ParameterRichTextInner: ({ value, onChange, onConnectLink, config, onRichTextInit, readOnly, editorWrapperClassName, editorInputClassName, editorFooter, children, customNodes, variables, customControls, }: ParameterRichTextInnerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
23315
23302
|
|
|
23316
23303
|
type ParameterSelectProps = CommonParameterInputProps & CommonParameterSelectProps & React.InputHTMLAttributes<HTMLSelectElement>;
|
|
23317
23304
|
/** @example <ParameterSelect label="my label" id="my-id" options={[{ label: 'option label', value: 0}]} */
|