@uniformdev/design-system 19.96.1-alpha.13 → 19.99.0
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 +330 -194
- package/dist/index.d.mts +14 -6
- package/dist/index.d.ts +14 -6
- package/dist/index.js +572 -436
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -15,12 +15,11 @@ 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
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
|
+
import { MenuProps as MenuProps$2, MenuStoreProps, MenuItemProps as MenuItemProps$1, PopoverProps as PopoverProps$1, PopoverProviderProps, TabStoreState, TabListProps, TabProps, TabPanelProps } from '@ariakit/react';
|
|
19
19
|
import { InitialConfigType } from '@lexical/react/LexicalComposer';
|
|
20
20
|
import { LinkParamValue, RichTextParamConfiguration } from '@uniformdev/canvas';
|
|
21
21
|
export { RichTextBuiltInElement, RichTextBuiltInFormat } from '@uniformdev/canvas';
|
|
22
22
|
import { Spread, SerializedElementNode, ElementNode, NodeKey, EditorConfig, DOMConversionMap, RangeSelection, SerializedEditorState, LexicalEditor } from 'lexical';
|
|
23
|
-
import { PopoverProps as PopoverProps$1, PopoverInitialState } from 'reakit/Popover';
|
|
24
23
|
import * as react_hotkeys_hook_dist_types from 'react-hotkeys-hook/dist/types';
|
|
25
24
|
import { TooltipOptions, TooltipInitialState } from 'reakit/Tooltip';
|
|
26
25
|
export { richTextBuiltInElements, richTextBuiltInFormats } from '@uniformdev/richtext';
|
|
@@ -20351,6 +20350,8 @@ declare const allSupportedIcons: {
|
|
|
20351
20350
|
'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20352
20351
|
'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20353
20352
|
'magic-wand': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20353
|
+
'list-view-short': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20354
|
+
'list-view-long': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20354
20355
|
'add-r': _react_icons_all_files_lib.IconType;
|
|
20355
20356
|
add: _react_icons_all_files_lib.IconType;
|
|
20356
20357
|
airplane: _react_icons_all_files_lib.IconType;
|
|
@@ -21058,6 +21059,8 @@ declare const customIcons: {
|
|
|
21058
21059
|
'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
21059
21060
|
'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
21060
21061
|
'magic-wand': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
21062
|
+
'list-view-short': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
21063
|
+
'list-view-long': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
21061
21064
|
};
|
|
21062
21065
|
|
|
21063
21066
|
type IconsMap = Record<string, IconType$1>;
|
|
@@ -22182,8 +22185,11 @@ declare const MenuGroup: ({ title, children }: MenuGroupProps) => _emotion_react
|
|
|
22182
22185
|
|
|
22183
22186
|
type MenuItemTextThemeProps = 'base' | 'red';
|
|
22184
22187
|
type MenuItemProps = MenuItemProps$1 & {
|
|
22185
|
-
/**
|
|
22186
|
-
|
|
22188
|
+
/**
|
|
22189
|
+
* Sets child elements within the component.
|
|
22190
|
+
* Can be omitted when using the `render` prop
|
|
22191
|
+
*/
|
|
22192
|
+
children?: ChildFunction | React$1.ReactNode;
|
|
22187
22193
|
/** (optional) set whether to hide the menu after a click action */
|
|
22188
22194
|
hideMenuOnClick?: boolean;
|
|
22189
22195
|
/** (optional) set an icon along side the item text */
|
|
@@ -22713,13 +22719,15 @@ type PopoverProps = PopoverProps$1 & {
|
|
|
22713
22719
|
/** sets the placement of the popover
|
|
22714
22720
|
* @default 'bottom'
|
|
22715
22721
|
*/
|
|
22716
|
-
placement?:
|
|
22722
|
+
placement?: PopoverProviderProps['placement'];
|
|
22717
22723
|
/** sets a test id for e2e tests */
|
|
22718
22724
|
testId?: string;
|
|
22719
22725
|
children: ReactNode;
|
|
22720
22726
|
trigger?: ReactNode;
|
|
22727
|
+
/** @deprecated */
|
|
22728
|
+
baseId?: string;
|
|
22721
22729
|
};
|
|
22722
|
-
declare const Popover: ({ iconColor, icon, iconSize, buttonText, ariaLabel, placement, testId, trigger, children, ...otherProps }: PopoverProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22730
|
+
declare const Popover: ({ iconColor, icon, iconSize, buttonText, ariaLabel, placement, testId, trigger, children, baseId, ...otherProps }: PopoverProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22723
22731
|
|
|
22724
22732
|
interface ProgressBarProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
22725
22733
|
current: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -15,12 +15,11 @@ 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
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
|
+
import { MenuProps as MenuProps$2, MenuStoreProps, MenuItemProps as MenuItemProps$1, PopoverProps as PopoverProps$1, PopoverProviderProps, TabStoreState, TabListProps, TabProps, TabPanelProps } from '@ariakit/react';
|
|
19
19
|
import { InitialConfigType } from '@lexical/react/LexicalComposer';
|
|
20
20
|
import { LinkParamValue, RichTextParamConfiguration } from '@uniformdev/canvas';
|
|
21
21
|
export { RichTextBuiltInElement, RichTextBuiltInFormat } from '@uniformdev/canvas';
|
|
22
22
|
import { Spread, SerializedElementNode, ElementNode, NodeKey, EditorConfig, DOMConversionMap, RangeSelection, SerializedEditorState, LexicalEditor } from 'lexical';
|
|
23
|
-
import { PopoverProps as PopoverProps$1, PopoverInitialState } from 'reakit/Popover';
|
|
24
23
|
import * as react_hotkeys_hook_dist_types from 'react-hotkeys-hook/dist/types';
|
|
25
24
|
import { TooltipOptions, TooltipInitialState } from 'reakit/Tooltip';
|
|
26
25
|
export { richTextBuiltInElements, richTextBuiltInFormats } from '@uniformdev/richtext';
|
|
@@ -20351,6 +20350,8 @@ declare const allSupportedIcons: {
|
|
|
20351
20350
|
'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20352
20351
|
'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20353
20352
|
'magic-wand': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20353
|
+
'list-view-short': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20354
|
+
'list-view-long': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20354
20355
|
'add-r': _react_icons_all_files_lib.IconType;
|
|
20355
20356
|
add: _react_icons_all_files_lib.IconType;
|
|
20356
20357
|
airplane: _react_icons_all_files_lib.IconType;
|
|
@@ -21058,6 +21059,8 @@ declare const customIcons: {
|
|
|
21058
21059
|
'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
21059
21060
|
'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
21060
21061
|
'magic-wand': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
21062
|
+
'list-view-short': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
21063
|
+
'list-view-long': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
21061
21064
|
};
|
|
21062
21065
|
|
|
21063
21066
|
type IconsMap = Record<string, IconType$1>;
|
|
@@ -22182,8 +22185,11 @@ declare const MenuGroup: ({ title, children }: MenuGroupProps) => _emotion_react
|
|
|
22182
22185
|
|
|
22183
22186
|
type MenuItemTextThemeProps = 'base' | 'red';
|
|
22184
22187
|
type MenuItemProps = MenuItemProps$1 & {
|
|
22185
|
-
/**
|
|
22186
|
-
|
|
22188
|
+
/**
|
|
22189
|
+
* Sets child elements within the component.
|
|
22190
|
+
* Can be omitted when using the `render` prop
|
|
22191
|
+
*/
|
|
22192
|
+
children?: ChildFunction | React$1.ReactNode;
|
|
22187
22193
|
/** (optional) set whether to hide the menu after a click action */
|
|
22188
22194
|
hideMenuOnClick?: boolean;
|
|
22189
22195
|
/** (optional) set an icon along side the item text */
|
|
@@ -22713,13 +22719,15 @@ type PopoverProps = PopoverProps$1 & {
|
|
|
22713
22719
|
/** sets the placement of the popover
|
|
22714
22720
|
* @default 'bottom'
|
|
22715
22721
|
*/
|
|
22716
|
-
placement?:
|
|
22722
|
+
placement?: PopoverProviderProps['placement'];
|
|
22717
22723
|
/** sets a test id for e2e tests */
|
|
22718
22724
|
testId?: string;
|
|
22719
22725
|
children: ReactNode;
|
|
22720
22726
|
trigger?: ReactNode;
|
|
22727
|
+
/** @deprecated */
|
|
22728
|
+
baseId?: string;
|
|
22721
22729
|
};
|
|
22722
|
-
declare const Popover: ({ iconColor, icon, iconSize, buttonText, ariaLabel, placement, testId, trigger, children, ...otherProps }: PopoverProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22730
|
+
declare const Popover: ({ iconColor, icon, iconSize, buttonText, ariaLabel, placement, testId, trigger, children, baseId, ...otherProps }: PopoverProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22723
22731
|
|
|
22724
22732
|
interface ProgressBarProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
22725
22733
|
current: number;
|