@plesk/ui-library 3.25.6 → 3.27.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/README.md +35 -35
- package/cjs/components/Action/Action.js +3 -3
- package/cjs/components/Button/Button.js +50 -50
- package/cjs/components/Checkbox/Checkbox.js +3 -3
- package/cjs/components/CodeEditor/CodeEditor.js +40 -40
- package/cjs/components/Dialog/Dialog.js +63 -63
- package/cjs/components/Drawer/Drawer.js +100 -90
- package/cjs/components/Drawer/DrawerProgress.js +17 -14
- package/cjs/components/Drawer/Header.js +11 -4
- package/cjs/components/Form/Form.js +4 -4
- package/cjs/components/FormField/FormField.js +87 -82
- package/cjs/components/FormFieldCheckbox/FormFieldCheckbox.js +26 -26
- package/cjs/components/FormFieldPassword/FormFieldPassword.js +34 -34
- package/cjs/components/FormFieldRadioButtons/FormFieldRadioButtons.js +32 -32
- package/cjs/components/FormFieldSelect/FormFieldSelect.js +1 -1
- package/cjs/components/Icon/Icon.js +6 -6
- package/cjs/components/Icon/constants.js +2 -2
- package/cjs/components/Icon/images/symbols.svg +1653 -1639
- package/cjs/components/InputNumber/InputNumber.js +3 -3
- package/cjs/components/Item/Item.js +50 -41
- package/cjs/components/ItemLink/ItemLink.js +1 -0
- package/cjs/components/ItemList/ItemList.js +43 -12
- package/cjs/components/ItemList/ItemList.stories.js +35 -3
- package/cjs/components/Layout/Layout.js +55 -55
- package/cjs/components/List/List.js +139 -134
- package/cjs/components/LocaleProvider/LocaleProvider.js +3 -3
- package/cjs/components/Menu/MenuBaseItem.js +19 -19
- package/cjs/components/Overlay/Overlay.js +34 -34
- package/cjs/components/Pagination/Pagination.js +3 -3
- package/cjs/components/Panel/Panel.js +14 -4
- package/cjs/components/Popper/Popper.js +30 -30
- package/cjs/components/ProgressStep/ProgressStep.js +16 -14
- package/cjs/components/Section/Section.js +128 -68
- package/cjs/components/Select/Select.js +9 -9
- package/cjs/components/Select/SelectControl.js +1 -1
- package/cjs/components/Tabs/Tab.js +28 -28
- package/cjs/components/Tabs/Tabs.js +33 -33
- package/cjs/components/Translate/Translate.js +25 -25
- package/cjs/index.js +1 -1
- package/dist/images/symbols.svg +1653 -1639
- package/dist/plesk-ui-library-rtl.css +1 -1
- package/dist/plesk-ui-library-rtl.css.map +1 -1
- package/dist/plesk-ui-library.css +1 -1
- package/dist/plesk-ui-library.css.map +1 -1
- package/dist/plesk-ui-library.js +1116 -970
- package/dist/plesk-ui-library.js.map +1 -1
- package/dist/plesk-ui-library.min.js +5 -5
- package/dist/plesk-ui-library.min.js.map +1 -1
- package/esm/components/Action/Action.js +3 -3
- package/esm/components/Button/Button.js +50 -50
- package/esm/components/Checkbox/Checkbox.js +3 -3
- package/esm/components/CodeEditor/CodeEditor.js +40 -40
- package/esm/components/Dialog/Dialog.js +63 -63
- package/esm/components/Drawer/Drawer.js +100 -89
- package/esm/components/Drawer/DrawerProgress.js +16 -15
- package/esm/components/Drawer/Header.js +11 -4
- package/esm/components/Form/Form.js +4 -4
- package/esm/components/FormField/FormField.js +87 -82
- package/esm/components/FormFieldCheckbox/FormFieldCheckbox.js +26 -26
- package/esm/components/FormFieldPassword/FormFieldPassword.js +34 -34
- package/esm/components/FormFieldRadioButtons/FormFieldRadioButtons.js +32 -32
- package/esm/components/FormFieldSelect/FormFieldSelect.js +1 -1
- package/esm/components/Icon/Icon.js +6 -6
- package/esm/components/Icon/constants.js +2 -2
- package/esm/components/Icon/images/symbols.svg +1653 -1639
- package/esm/components/InputNumber/InputNumber.js +3 -3
- package/esm/components/Item/Item.js +50 -41
- package/esm/components/ItemLink/ItemLink.js +1 -0
- package/esm/components/ItemList/ItemList.js +43 -12
- package/esm/components/ItemList/ItemList.stories.js +32 -2
- package/esm/components/Layout/Layout.js +55 -55
- package/esm/components/List/List.js +139 -134
- package/esm/components/LocaleProvider/LocaleProvider.js +3 -3
- package/esm/components/Menu/MenuBaseItem.js +19 -19
- package/esm/components/Overlay/Overlay.js +34 -34
- package/esm/components/Pagination/Pagination.js +3 -3
- package/esm/components/Panel/Panel.js +14 -5
- package/esm/components/Popper/Popper.js +30 -30
- package/esm/components/ProgressStep/ProgressStep.js +17 -15
- package/esm/components/Section/Section.js +129 -72
- package/esm/components/Select/Select.js +9 -9
- package/esm/components/Select/SelectControl.js +1 -1
- package/esm/components/Tabs/Tab.js +28 -28
- package/esm/components/Tabs/Tabs.js +33 -33
- package/esm/components/Translate/Translate.js +25 -25
- package/esm/index.js +1 -1
- package/package.json +146 -146
- package/styleguide/build/bundle.ff1f903a.js +2 -0
- package/styleguide/build/{bundle.b7db9339.js.LICENSE.txt → bundle.ff1f903a.js.LICENSE.txt} +0 -0
- package/styleguide/images/symbols.svg +1653 -1639
- package/styleguide/index.html +6 -6
- package/types/src/components/Drawer/DrawerProgress.d.ts +7 -2
- package/types/src/components/Icon/constants.d.ts +1 -1
- package/types/src/components/ItemLink/ItemLink.d.ts +4 -0
- package/types/src/components/ItemLink/ItemLink.stories.d.ts +1 -0
- package/types/src/components/ItemList/ItemList.d.ts +8 -0
- package/types/src/components/ItemList/ItemList.stories.d.ts +104 -0
- package/styleguide/build/bundle.b7db9339.js +0 -2
package/styleguide/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
7
|
-
<title>Plesk UI Library 3.
|
|
7
|
+
<title>Plesk UI Library 3.27.0</title>
|
|
8
8
|
<meta name="msapplication-TileColor" content="#da532c">
|
|
9
9
|
<meta name="theme-color" content="#ffffff">
|
|
10
10
|
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
|
|
@@ -27,19 +27,19 @@
|
|
|
27
27
|
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
|
28
28
|
<!-- End Google Tag Manager (noscript) -->
|
|
29
29
|
<!-- Yandex.Metrika counter -->
|
|
30
|
-
<script type
|
|
30
|
+
<script type="text/javascript" >
|
|
31
31
|
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
|
|
32
32
|
m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
|
|
33
|
-
(window, document,
|
|
34
|
-
ym(56446840,
|
|
33
|
+
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
|
|
34
|
+
ym(56446840, "init", {
|
|
35
35
|
clickmap:true,
|
|
36
36
|
trackLinks:true,
|
|
37
37
|
accurateTrackBounce:true,
|
|
38
38
|
webvisor:true
|
|
39
39
|
});
|
|
40
40
|
</script>
|
|
41
|
-
<noscript><div><img src
|
|
41
|
+
<noscript><div><img src="https://mc.yandex.ru/watch/56446840" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
|
|
42
42
|
<!-- /Yandex.Metrika counter -->
|
|
43
|
-
<script src="build/bundle.
|
|
43
|
+
<script src="build/bundle.ff1f903a.js"></script>
|
|
44
44
|
</body>
|
|
45
45
|
</html>
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import { Component, ReactNode } from 'react';
|
|
1
|
+
import { Component, ReactNode, ReactElement } from 'react';
|
|
2
2
|
import { ProgressStepProps } from '../ProgressStep';
|
|
3
3
|
import './DrawerProgress.less';
|
|
4
|
+
declare type RenderParams = {
|
|
5
|
+
content: ReactElement;
|
|
6
|
+
footer: ReactNode;
|
|
7
|
+
};
|
|
4
8
|
export declare type DrawerProgressProps = {
|
|
5
9
|
baseClassName?: string;
|
|
6
10
|
title?: ReactNode;
|
|
@@ -15,6 +19,7 @@ export declare type DrawerProgressProps = {
|
|
|
15
19
|
cancelable?: boolean;
|
|
16
20
|
onClosableChange?: (closable: boolean) => void;
|
|
17
21
|
onStatusChange?: (status: ProgressStepProps['status']) => void;
|
|
22
|
+
render?: (params: RenderParams) => ReactNode;
|
|
18
23
|
};
|
|
19
24
|
declare type DrawerProgressState = {
|
|
20
25
|
status: ProgressStepProps['status'] | null;
|
|
@@ -35,6 +40,6 @@ declare class DrawerProgress extends Component<DrawerProgressProps, DrawerProgre
|
|
|
35
40
|
handleStatusChange: (status: "error" | "running" | "done" | "canceled" | "not_started" | undefined) => void;
|
|
36
41
|
handleClose: () => void;
|
|
37
42
|
handleCancel: () => void;
|
|
38
|
-
render():
|
|
43
|
+
render(): {} | null | undefined;
|
|
39
44
|
}
|
|
40
45
|
export default DrawerProgress;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const NAMES_12: IconName[];
|
|
2
|
-
export declare type IconName = 'archive' | 'arrow-back' | 'arrow-diagonal-out' | 'arrow-down' | 'arrow-down-in' | 'arrow-down-out' | 'arrow-down-tray' | 'arrow-left' | 'arrow-right' | 'arrow-right-in' | 'arrow-right-out' | 'arrow-up' | 'arrow-up-circle' | 'arrow-up-in' | 'arrow-up-in-cloud' | 'arrow-up-out' | 'arrow-up-tray' | 'arrows-four-directions' | 'arrows-inward' | 'arrows-loop' | 'arrows-opposite' | 'arrows-outward' | 'backup' | 'backup2' | 'bar-chart-vertical' | 'bar-chart-vertical-arrow-up' | 'bell' | 'book-email' | 'boundary' | 'box-diagonal-bottom-in' | 'box-diagonal-top-in' | 'brush' | 'bug' | 'calendar' | 'calendar-clock' | 'camera' | 'card' | 'card-ribbon' | 'card-row' | 'card-tile' | 'cd' | 'cd-up-in-cloud' | 'chain' | 'chain-broken' | 'chat' | 'check-list' | 'check-mark' | 'check-mark-circle' | 'check-mark-circle-filled' | 'chevron-double-down' | 'chevron-double-up' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle-diagonal' | 'clean' | 'clip' | 'clock' | 'clone' | 'cloud' | 'cloud-checkmark' | 'cloud-crossed' | 'cloud-graph' | 'code' | 'connection' | 'console' | 'console-filled' | 'copy' | 'copy-indicator' | 'cpu' | 'crane' | 'credit-cards' | 'cross-mark' | 'cross-mark-circle' | 'cross-mark-circle-filled' | 'crown-transfer' | 'dashboard' | 'database' | 'database-box' | 'database-plus' | 'deploy' | 'dollar' | 'dollar-filled' | 'emoticon-confused' | 'emoticon-dead' | 'emoticon-excited' | 'emoticon-happy' | 'emoticon-neutral' | 'emoticon-sad' | 'emoticon-smile' | 'enter' | 'exclamation-mark-circle' | 'exclamation-mark-circle-filled' | 'eye' | 'eye-closed' | 'facebook' | 'facebook-filled' | 'feedback' | 'filter' | 'filter-check-mark' | 'fire' | 'flag-globe' | 'floppy-disk' | 'folder-closed' | 'folder-key' | 'folder-network' | 'folder-open' | 'folders-tree' | 'four-squares' | 'gear' | 'git' | 'github' | 'globe' | 'hard-drive' | 'hard-drive-key' | 'hat' | 'hexagons' | 'home' | 'info-circle' | 'info-circle-filled' | 'ip-addresses' | 'kebab' | 'key' | 'lifebuoy' | 'lightbulb' | 'limit' | 'linux' | 'list' | 'list-check-mark' | 'location' | 'lock-closed' | 'lock-closed-check' | 'lock-closed-filled' | 'lock-open' | 'lock-open-cross' | 'lock-open-filled' | 'mail' | 'mail-settings' | 'megaphone' | 'menu' | 'menu-thin' | 'microsoft' | 'minimize' | 'minus' | 'minus-circle' | 'minus-circle-filled' | 'monitoring' | 'monitoring-off' | 'my-little-admin' | 'net' | 'nine-dots' | 'node-js' | 'package' | 'panel' | 'panel-check' | 'panel-eye' | 'panel-key' | 'panel-settings' | 'panels' | 'pause-circle' | 'pencil' | 'pencil-dialog' | 'php' | 'phpmyadmin' | 'pin' | 'pipette' | 'plans' | 'plugins' | 'plus' | 'power' | 'projects' | 'puzzle' | 'question-mark-circle' | 'question-mark-circle-filled' | 'ram' | 'react-js' | 'recycle' | 'refresh' | 'reload' | 'remove' | 'reset' | 'resource' | 'ribbon' | 'rocket' | 'ruby' | 'sand-clock' | 'scan' | 'screen' | 'search' | 'security-check' | 'send' | 'servers' | 'share' | 'shield' | 'shield-chain' | 'shopping-cart' | 'sidebar-right-hide' | 'sidebar-right-show' | 'signal-light' | 'site-page' | 'sleep' | 'sliders' | 'square-with-circles' | 'star' | 'star-circle-filled' | 'star-filled' | 'star-half-filled' | 'start' | 'start-circle' | 'stop' | 'stop-circle' | 'storage' | 'themes' | 'three-dots-horizontal' | 'three-dots-vertical' | 'tools' | 'transfer' | 'triangle-exclamation-mark' | 'triangle-exclamation-mark-filled' | 'unarchive' | 'user' | 'volume' | 'web' | 'web-plus' | 'web-settings' | 'windows' | 'wordpress';
|
|
2
|
+
export declare type IconName = 'archive' | 'arrow-back' | 'arrow-diagonal-out' | 'arrow-down' | 'arrow-down-in' | 'arrow-down-out' | 'arrow-down-tray' | 'arrow-left' | 'arrow-right' | 'arrow-right-in' | 'arrow-right-out' | 'arrow-up' | 'arrow-up-circle' | 'arrow-up-in' | 'arrow-up-in-cloud' | 'arrow-up-out' | 'arrow-up-tray' | 'arrows-four-directions' | 'arrows-inward' | 'arrows-loop' | 'arrows-opposite' | 'arrows-outward' | 'backup' | 'backup2' | 'bar-chart-vertical' | 'bar-chart-vertical-arrow-up' | 'bell' | 'book-email' | 'boundary' | 'box-diagonal-bottom-in' | 'box-diagonal-top-in' | 'brush' | 'bug' | 'calendar' | 'calendar-clock' | 'camera' | 'card' | 'card-ribbon' | 'card-row' | 'card-tile' | 'cd' | 'cd-up-in-cloud' | 'chain' | 'chain-broken' | 'chat' | 'check-list' | 'check-mark' | 'check-mark-circle' | 'check-mark-circle-filled' | 'chevron-double-down' | 'chevron-double-up' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle-diagonal' | 'clean' | 'clip' | 'clock' | 'clone' | 'cloud' | 'cloud-checkmark' | 'cloud-crossed' | 'cloud-graph' | 'code' | 'connection' | 'console' | 'console-filled' | 'copy' | 'copy-indicator' | 'cpu' | 'crane' | 'credit-cards' | 'cross-mark' | 'cross-mark-circle' | 'cross-mark-circle-filled' | 'crown-transfer' | 'dashboard' | 'database' | 'database-box' | 'database-plus' | 'deploy' | 'docker-filled' | 'dollar' | 'dollar-filled' | 'dot' | 'emoticon-confused' | 'emoticon-dead' | 'emoticon-excited' | 'emoticon-happy' | 'emoticon-neutral' | 'emoticon-sad' | 'emoticon-smile' | 'enter' | 'exclamation-mark-circle' | 'exclamation-mark-circle-filled' | 'eye' | 'eye-closed' | 'facebook' | 'facebook-filled' | 'feedback' | 'filter' | 'filter-check-mark' | 'fire' | 'flag-globe' | 'floppy-disk' | 'folder-closed' | 'folder-key' | 'folder-network' | 'folder-open' | 'folders-tree' | 'four-squares' | 'gear' | 'git' | 'github' | 'globe' | 'hard-drive' | 'hard-drive-key' | 'hat' | 'hexagons' | 'home' | 'info-circle' | 'info-circle-filled' | 'ip-addresses' | 'kebab' | 'key' | 'lifebuoy' | 'lightbulb' | 'limit' | 'linux' | 'list' | 'list-check-mark' | 'location' | 'lock-closed' | 'lock-closed-check' | 'lock-closed-filled' | 'lock-open' | 'lock-open-cross' | 'lock-open-filled' | 'mail' | 'mail-settings' | 'megaphone' | 'menu' | 'menu-thin' | 'microsoft' | 'minimize' | 'minus' | 'minus-circle' | 'minus-circle-filled' | 'monitoring' | 'monitoring-off' | 'my-little-admin' | 'net' | 'nine-dots' | 'node-js' | 'package' | 'panel' | 'panel-check' | 'panel-eye' | 'panel-key' | 'panel-settings' | 'panels' | 'pause-circle' | 'pencil' | 'pencil-dialog' | 'php' | 'phpmyadmin' | 'pin' | 'pipette' | 'plans' | 'plugins' | 'plus' | 'power' | 'projects' | 'puzzle' | 'question-mark-circle' | 'question-mark-circle-filled' | 'ram' | 'react-js' | 'recycle' | 'refresh' | 'reload' | 'remove' | 'reset' | 'resource' | 'ribbon' | 'rocket' | 'ruby' | 'sand-clock' | 'scan' | 'screen' | 'search' | 'security-check' | 'send' | 'servers' | 'share' | 'shield' | 'shield-chain' | 'shopping-cart' | 'sidebar-right-hide' | 'sidebar-right-show' | 'signal-light' | 'site-page' | 'sleep' | 'sliders' | 'square-with-circles' | 'star' | 'star-circle-filled' | 'star-filled' | 'star-half-filled' | 'start' | 'start-circle' | 'stop' | 'stop-circle' | 'storage' | 'themes' | 'three-dots-horizontal' | 'three-dots-vertical' | 'tools' | 'transfer' | 'triangle-exclamation-mark' | 'triangle-exclamation-mark-filled' | 'unarchive' | 'user' | 'volume' | 'web' | 'web-plus' | 'web-settings' | 'windows' | 'wordpress';
|
|
3
3
|
export declare const NAMES: IconName[];
|
|
@@ -9,6 +9,7 @@ declare type ItemProps = {
|
|
|
9
9
|
value?: ItemValue;
|
|
10
10
|
view?: 'simple' | 'card';
|
|
11
11
|
disabled?: boolean;
|
|
12
|
+
hoverable?: boolean;
|
|
12
13
|
footer?: ReactNode;
|
|
13
14
|
};
|
|
14
15
|
declare type ItemListProps = {
|
|
@@ -98,7 +99,14 @@ declare class ItemList extends Component<ItemListProps, ItemListState> {
|
|
|
98
99
|
componentDidMount(): void;
|
|
99
100
|
createItemProps: (item: React.ReactElement<ItemProps, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>) => ItemProps;
|
|
100
101
|
renderNormal({ baseClassName, children, ...props }: ItemListProps): JSX.Element;
|
|
102
|
+
someChild(predicate: (child: ReactElement<ItemProps>) => boolean): boolean;
|
|
103
|
+
/**
|
|
104
|
+
* There are some states where we can't manage hoverable state
|
|
105
|
+
*/
|
|
106
|
+
canManageHoverableState(): boolean;
|
|
107
|
+
isHoverable(): boolean;
|
|
101
108
|
hasViewCard(): boolean;
|
|
109
|
+
hasHoverableCard(): boolean;
|
|
102
110
|
renderReorderable({ baseClassName, onReorderEnd, children, ...props }: ItemListProps): JSX.Element | null;
|
|
103
111
|
render(): JSX.Element;
|
|
104
112
|
}
|
|
@@ -15,6 +15,7 @@ export declare const Basic: {
|
|
|
15
15
|
value?: string | number | undefined;
|
|
16
16
|
view?: "card" | "simple" | undefined;
|
|
17
17
|
disabled?: boolean | undefined;
|
|
18
|
+
hoverable?: boolean | undefined;
|
|
18
19
|
footer?: React.ReactNode;
|
|
19
20
|
}, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
|
|
20
21
|
className?: string | undefined;
|
|
@@ -37,6 +38,7 @@ export declare const Basic: {
|
|
|
37
38
|
value?: string | number | undefined;
|
|
38
39
|
view?: "card" | "simple" | undefined;
|
|
39
40
|
disabled?: boolean | undefined;
|
|
41
|
+
hoverable?: boolean | undefined;
|
|
40
42
|
footer?: React.ReactNode;
|
|
41
43
|
}, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
|
|
42
44
|
className?: string | undefined;
|
|
@@ -61,6 +63,7 @@ export declare const Cards: {
|
|
|
61
63
|
value?: string | number | undefined;
|
|
62
64
|
view?: "card" | "simple" | undefined;
|
|
63
65
|
disabled?: boolean | undefined;
|
|
66
|
+
hoverable?: boolean | undefined;
|
|
64
67
|
footer?: React.ReactNode;
|
|
65
68
|
}, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
|
|
66
69
|
className?: string | undefined;
|
|
@@ -83,6 +86,7 @@ export declare const Cards: {
|
|
|
83
86
|
value?: string | number | undefined;
|
|
84
87
|
view?: "card" | "simple" | undefined;
|
|
85
88
|
disabled?: boolean | undefined;
|
|
89
|
+
hoverable?: boolean | undefined;
|
|
86
90
|
footer?: React.ReactNode;
|
|
87
91
|
}, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
|
|
88
92
|
className?: string | undefined;
|
|
@@ -107,6 +111,7 @@ export declare const Reorderables: {
|
|
|
107
111
|
value?: string | number | undefined;
|
|
108
112
|
view?: "card" | "simple" | undefined;
|
|
109
113
|
disabled?: boolean | undefined;
|
|
114
|
+
hoverable?: boolean | undefined;
|
|
110
115
|
footer?: React.ReactNode;
|
|
111
116
|
}, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
|
|
112
117
|
className?: string | undefined;
|
|
@@ -129,6 +134,7 @@ export declare const Reorderables: {
|
|
|
129
134
|
value?: string | number | undefined;
|
|
130
135
|
view?: "card" | "simple" | undefined;
|
|
131
136
|
disabled?: boolean | undefined;
|
|
137
|
+
hoverable?: boolean | undefined;
|
|
132
138
|
footer?: React.ReactNode;
|
|
133
139
|
}, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
|
|
134
140
|
className?: string | undefined;
|
|
@@ -153,6 +159,7 @@ export declare const Selectables: {
|
|
|
153
159
|
value?: string | number | undefined;
|
|
154
160
|
view?: "card" | "simple" | undefined;
|
|
155
161
|
disabled?: boolean | undefined;
|
|
162
|
+
hoverable?: boolean | undefined;
|
|
156
163
|
footer?: React.ReactNode;
|
|
157
164
|
}, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
|
|
158
165
|
className?: string | undefined;
|
|
@@ -175,6 +182,103 @@ export declare const Selectables: {
|
|
|
175
182
|
value?: string | number | undefined;
|
|
176
183
|
view?: "card" | "simple" | undefined;
|
|
177
184
|
disabled?: boolean | undefined;
|
|
185
|
+
hoverable?: boolean | undefined;
|
|
186
|
+
footer?: React.ReactNode;
|
|
187
|
+
}, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
|
|
188
|
+
className?: string | undefined;
|
|
189
|
+
baseClassName?: string | undefined;
|
|
190
|
+
} & Pick<React.PropsWithChildren<{
|
|
191
|
+
gap?: "md" | "lg" | "xs" | "sm" | "xl" | undefined;
|
|
192
|
+
}>, "gap">;
|
|
193
|
+
};
|
|
194
|
+
export declare const HoverableItemList: {
|
|
195
|
+
(args: {
|
|
196
|
+
hoverable?: boolean | undefined;
|
|
197
|
+
stretchable?: boolean | undefined;
|
|
198
|
+
selectable?: boolean | "multiple" | "toggleable" | undefined;
|
|
199
|
+
onSelect?: ((value: string | number | (string | number)[] | null) => void) | undefined;
|
|
200
|
+
value?: string | number | (string | number)[] | undefined;
|
|
201
|
+
defaultValue?: string | number | (string | number)[] | undefined;
|
|
202
|
+
reorderable?: boolean | undefined;
|
|
203
|
+
onReorderEnd?: (() => void) | undefined;
|
|
204
|
+
children: (React.ReactElement<{
|
|
205
|
+
className?: string | undefined;
|
|
206
|
+
onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
|
|
207
|
+
value?: string | number | undefined;
|
|
208
|
+
view?: "card" | "simple" | undefined;
|
|
209
|
+
disabled?: boolean | undefined;
|
|
210
|
+
hoverable?: boolean | undefined;
|
|
211
|
+
footer?: React.ReactNode;
|
|
212
|
+
}, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
|
|
213
|
+
className?: string | undefined;
|
|
214
|
+
baseClassName?: string | undefined;
|
|
215
|
+
} & Pick<React.PropsWithChildren<{
|
|
216
|
+
gap?: "md" | "lg" | "xs" | "sm" | "xl" | undefined;
|
|
217
|
+
}>, "gap">): JSX.Element;
|
|
218
|
+
args: {
|
|
219
|
+
hoverable?: boolean | undefined;
|
|
220
|
+
stretchable?: boolean | undefined;
|
|
221
|
+
selectable?: boolean | "multiple" | "toggleable" | undefined;
|
|
222
|
+
onSelect?: ((value: string | number | (string | number)[] | null) => void) | undefined;
|
|
223
|
+
value?: string | number | (string | number)[] | undefined;
|
|
224
|
+
defaultValue?: string | number | (string | number)[] | undefined;
|
|
225
|
+
reorderable?: boolean | undefined;
|
|
226
|
+
onReorderEnd?: (() => void) | undefined;
|
|
227
|
+
children: (React.ReactElement<{
|
|
228
|
+
className?: string | undefined;
|
|
229
|
+
onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
|
|
230
|
+
value?: string | number | undefined;
|
|
231
|
+
view?: "card" | "simple" | undefined;
|
|
232
|
+
disabled?: boolean | undefined;
|
|
233
|
+
hoverable?: boolean | undefined;
|
|
234
|
+
footer?: React.ReactNode;
|
|
235
|
+
}, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
|
|
236
|
+
className?: string | undefined;
|
|
237
|
+
baseClassName?: string | undefined;
|
|
238
|
+
} & Pick<React.PropsWithChildren<{
|
|
239
|
+
gap?: "md" | "lg" | "xs" | "sm" | "xl" | undefined;
|
|
240
|
+
}>, "gap">;
|
|
241
|
+
};
|
|
242
|
+
export declare const HoverableItems: {
|
|
243
|
+
(args: {
|
|
244
|
+
hoverable?: boolean | undefined;
|
|
245
|
+
stretchable?: boolean | undefined;
|
|
246
|
+
selectable?: boolean | "multiple" | "toggleable" | undefined;
|
|
247
|
+
onSelect?: ((value: string | number | (string | number)[] | null) => void) | undefined;
|
|
248
|
+
value?: string | number | (string | number)[] | undefined;
|
|
249
|
+
defaultValue?: string | number | (string | number)[] | undefined;
|
|
250
|
+
reorderable?: boolean | undefined;
|
|
251
|
+
onReorderEnd?: (() => void) | undefined;
|
|
252
|
+
children: (React.ReactElement<{
|
|
253
|
+
className?: string | undefined;
|
|
254
|
+
onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
|
|
255
|
+
value?: string | number | undefined;
|
|
256
|
+
view?: "card" | "simple" | undefined;
|
|
257
|
+
disabled?: boolean | undefined;
|
|
258
|
+
hoverable?: boolean | undefined;
|
|
259
|
+
footer?: React.ReactNode;
|
|
260
|
+
}, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
|
|
261
|
+
className?: string | undefined;
|
|
262
|
+
baseClassName?: string | undefined;
|
|
263
|
+
} & Pick<React.PropsWithChildren<{
|
|
264
|
+
gap?: "md" | "lg" | "xs" | "sm" | "xl" | undefined;
|
|
265
|
+
}>, "gap">): JSX.Element;
|
|
266
|
+
args: {
|
|
267
|
+
hoverable?: boolean | undefined;
|
|
268
|
+
stretchable?: boolean | undefined;
|
|
269
|
+
selectable?: boolean | "multiple" | "toggleable" | undefined;
|
|
270
|
+
onSelect?: ((value: string | number | (string | number)[] | null) => void) | undefined;
|
|
271
|
+
value?: string | number | (string | number)[] | undefined;
|
|
272
|
+
defaultValue?: string | number | (string | number)[] | undefined;
|
|
273
|
+
reorderable?: boolean | undefined;
|
|
274
|
+
onReorderEnd?: (() => void) | undefined;
|
|
275
|
+
children: (React.ReactElement<{
|
|
276
|
+
className?: string | undefined;
|
|
277
|
+
onClick?: ((e: React.MouseEvent<React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>, MouseEvent>) => void) | undefined;
|
|
278
|
+
value?: string | number | undefined;
|
|
279
|
+
view?: "card" | "simple" | undefined;
|
|
280
|
+
disabled?: boolean | undefined;
|
|
281
|
+
hoverable?: boolean | undefined;
|
|
178
282
|
footer?: React.ReactNode;
|
|
179
283
|
}, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null)[];
|
|
180
284
|
className?: string | undefined;
|