@plesk/ui-library 3.25.7 → 3.26.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/cjs/components/Drawer/Drawer.js +11 -6
- package/cjs/components/Drawer/Header.js +11 -4
- package/cjs/components/Icon/constants.js +2 -2
- package/cjs/components/Icon/images/symbols.svg +15 -1
- package/cjs/components/Item/Item.js +12 -3
- package/cjs/components/ItemLink/ItemLink.js +1 -0
- package/cjs/components/ItemList/ItemList.js +39 -8
- package/cjs/components/ItemList/ItemList.stories.js +35 -3
- package/cjs/components/ProgressStep/ProgressStep.js +16 -14
- package/cjs/components/Section/Section.js +14 -1
- package/cjs/index.js +1 -1
- package/dist/images/symbols.svg +15 -1
- 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 +106 -763
- package/dist/plesk-ui-library.js.map +1 -1
- package/dist/plesk-ui-library.min.js +3 -3
- package/dist/plesk-ui-library.min.js.map +1 -1
- package/esm/components/Drawer/Drawer.js +11 -5
- package/esm/components/Drawer/Header.js +11 -4
- package/esm/components/Icon/constants.js +2 -2
- package/esm/components/Icon/images/symbols.svg +15 -1
- package/esm/components/Item/Item.js +12 -3
- package/esm/components/ItemLink/ItemLink.js +1 -0
- package/esm/components/ItemList/ItemList.js +39 -8
- package/esm/components/ItemList/ItemList.stories.js +32 -2
- package/esm/components/ProgressStep/ProgressStep.js +17 -15
- package/esm/components/Section/Section.js +14 -1
- package/esm/index.js +1 -1
- package/package.json +1 -1
- package/styleguide/build/bundle.0e0e8f42.js +2 -0
- package/styleguide/build/{bundle.91e6a6ac.js.LICENSE.txt → bundle.0e0e8f42.js.LICENSE.txt} +0 -0
- package/styleguide/images/symbols.svg +15 -1
- package/styleguide/index.html +2 -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.91e6a6ac.js +0 -2
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg width="16" height="
|
|
1
|
+
<svg width="16" height="11040" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
2
2
|
<defs>
|
|
3
3
|
<symbol viewBox="0 0 12 12" id="archive:12">
|
|
4
4
|
<path d="M2 1h7v.5a.5.5 0 0 0 1 0V1a1 1 0 0 0-1-1H2a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1v-.5a.5.5 0 0 0-1 0v.5H2V1z" />
|
|
@@ -592,6 +592,14 @@
|
|
|
592
592
|
<path d="M11.145 2.855a.496.496 0 0 1 0-.702L13.097.202A.5.5 0 0 1 13.498 0h.004a.495.495 0 0 1 .401.202l1.952 1.951a.496.496 0 0 1-.702.702L14 1.702V10h-1V1.702l-1.153 1.153a.496.496 0 0 1-.702 0zM9.5 10a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z" />
|
|
593
593
|
<path d="M2 10c0-1.477.534-2.83 1.419-3.875a.47.47 0 0 1 .692-.014c.195.195.193.51.018.724A5 5 0 1 0 13 10h1.001a6 6 0 0 1-12 0z" />
|
|
594
594
|
</symbol>
|
|
595
|
+
<symbol viewBox="0 0 12 12" id="docker-filled:12">
|
|
596
|
+
<path d="M11.85 5.287c-.3-.224-.6-.3-.9-.3-.225 0-.375 0-.6.076-.075-.526-.375-.9-.75-1.2l-.15-.15-.15.15c-.225.3-.3.824-.225 1.2 0 .3.075.6.3.824-.375.226-.825.3-1.275.3H.75a.75.75 0 0 0-.75.75c.075 1.426.6 4.5 3.9 4.5 4.35 0 5.1-2.475 6.15-5.1h.15c.675 0 1.275-.225 1.65-.825l.15-.15-.15-.075zm-10.875.15h.675c.15 0 .225-.074.225-.225v-.675c0-.15-.075-.225-.225-.225H.975c-.075 0-.225.075-.225.225v.675c0 .15.15.226.225.226zm4.5-1.875h.675c.15 0 .225-.074.225-.225v-.675c0-.15-.075-.225-.225-.225h-.675c-.15 0-.225.075-.225.225v.675c0 .15.15.225.225.225z" />
|
|
597
|
+
<path d="M5.475 5.438h.675c.15 0 .225-.075.225-.226v-.675c0-.15-.075-.225-.225-.225h-.675c-.15 0-.225.075-.225.225v.675c0 .15.15.226.225.226zm1.5 0h.675c.15 0 .225-.075.225-.226v-.675c0-.15-.075-.225-.225-.225h-.675c-.15 0-.225.075-.225.225v.675c0 .15.075.226.225.226zm-1.5-3.75h.675c.15 0 .225-.076.225-.226V.787c0-.15-.075-.225-.225-.225h-.675c-.15 0-.225.075-.225.225v.675c0 .15.15.225.225.225zm-3 3.75h.675c.15 0 .225-.075.225-.226v-.675c0-.15-.075-.225-.225-.225h-.675c-.075 0-.225.075-.225.225v.675c0 .15.15.226.225.226zm1.5-1.876h.675c.15 0 .225-.074.225-.225v-.675c0-.15-.075-.225-.225-.225h-.675c-.15 0-.225.075-.225.225v.675c0 .15.15.225.225.225zm-1.5 0h.675c.15 0 .225-.075.225-.225v-.675c0-.15-.075-.225-.225-.225h-.675c-.075 0-.225.075-.225.225v.675c0 .15.15.225.225.225zm1.5 1.876h.675c.15 0 .225-.075.225-.226v-.675c0-.15-.075-.225-.225-.225h-.675c-.15 0-.225.075-.225.225v.675c0 .15.15.226.225.226z" />
|
|
598
|
+
</symbol>
|
|
599
|
+
<symbol viewBox="0 0 16 16" id="docker-filled:16">
|
|
600
|
+
<path d="M15.8 6.8c-.4-.3-.8-.4-1.2-.4-.3 0-.5 0-.8.1-.1-.7-.5-1.2-1-1.6l-.2-.2-.2.2c-.3.4-.4 1.1-.3 1.6 0 .4.1.8.4 1.1-.5.3-1.1.4-1.7.4H1a1 1 0 0 0-1 1c.1 1.9.8 6 5.2 6 5.8 0 6.8-3.3 8.2-6.8h.2c.9 0 1.7-.3 2.2-1.1l.2-.2-.2-.1zM1.3 7h.9c.2 0 .3-.1.3-.3v-.9c0-.2-.1-.3-.3-.3h-.9c-.1 0-.3.1-.3.3v.9c0 .2.2.3.3.3zM7.3 4.5h.9c.2 0 .3-.1.3-.3v-.9c0-.2-.1-.3-.3-.3h-.9c-.2 0-.3.1-.3.3v.9c0 .2.2.3.3.3z" />
|
|
601
|
+
<path d="M7.3 7h.9c.2 0 .3-.1.3-.3v-.9c0-.2-.1-.3-.3-.3h-.9c-.2 0-.3.1-.3.3v.9c0 .2.2.3.3.3zM9.3 7h.9c.2 0 .3-.1.3-.3v-.9c0-.2-.1-.3-.3-.3h-.9c-.2 0-.3.1-.3.3v.9c0 .2.1.3.3.3zM7.3 2h.9c.2 0 .3-.1.3-.3V.8c0-.2-.1-.3-.3-.3h-.9c-.2 0-.3.1-.3.3v.9c0 .2.2.3.3.3zM3.3 7h.9c.2 0 .3-.1.3-.3v-.9c0-.2-.1-.3-.3-.3h-.9c-.1 0-.3.1-.3.3v.9c0 .2.2.3.3.3zM5.3 4.5h.9c.2 0 .3-.1.3-.3v-.9c0-.2-.1-.3-.3-.3h-.9c-.2 0-.3.1-.3.3v.9c0 .2.2.3.3.3zM3.3 4.5h.9c.2 0 .3-.1.3-.3v-.9c0-.2-.1-.3-.3-.3h-.9c-.1 0-.3.1-.3.3v.9c0 .2.2.3.3.3zM5.3 7h.9c.2 0 .3-.1.3-.3v-.9c0-.2-.1-.3-.3-.3h-.9c-.2 0-.3.1-.3.3v.9c0 .2.2.3.3.3z" />
|
|
602
|
+
</symbol>
|
|
595
603
|
<symbol viewBox="0 0 12 12" id="dollar-filled:12">
|
|
596
604
|
<path fill-rule="evenodd" d="M12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0zM6.5 3a.5.5 0 0 0-.5.5v.53A1.5 1.5 0 0 0 6.3 7h.4a.5.5 0 0 1 0 1H5.3a.5.5 0 0 0 0 1H6v.5a.5.5 0 0 0 1 0v-.53A1.5 1.5 0 0 0 6.7 6h-.4a.5.5 0 0 1 0-1h1.4a.5.5 0 0 0 0-1H7v-.5a.5.5 0 0 0-.5-.5z" clip-rule="evenodd" />
|
|
597
605
|
</symbol>
|
|
@@ -606,6 +614,12 @@
|
|
|
606
614
|
<path fill-rule="evenodd" d="M8.5 15c3.5899 0 6.5-2.9101 6.5-6.5S12.0899 2 8.5 2 2 4.9101 2 8.5 4.9101 15 8.5 15zm0 1c4.1421 0 7.5-3.3579 7.5-7.5S12.6421 1 8.5 1 1 4.3579 1 8.5 4.3579 16 8.5 16z" clip-rule="evenodd" />
|
|
607
615
|
<path d="M8 4.5a.5.5 0 0 1 1 0V5h1.5a.5.5 0 0 1 0 1H8c-.5523 0-1 .4477-1 1s.4477 1 1 1h1c1.1046 0 2 .8954 2 2s-.8954 2-2 2v.5a.5.5 0 0 1-1 0V12H6.5a.5.5 0 0 1 0-1H9c.5523 0 1-.4477 1-1s-.4477-1-1-1H8c-1.1046 0-2-.8954-2-2s.8954-2 2-2v-.5z" />
|
|
608
616
|
</symbol>
|
|
617
|
+
<symbol viewBox="0 0 12 12" id="dot:12">
|
|
618
|
+
<path d="M7.5 6a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z" />
|
|
619
|
+
</symbol>
|
|
620
|
+
<symbol viewBox="0 0 16 16" id="dot:16">
|
|
621
|
+
<path d="M6,8a2,2 0 1,0 4,0a2,2 0 1,0 -4,0" />
|
|
622
|
+
</symbol>
|
|
609
623
|
<symbol viewBox="0 0 12 12" id="emoticon-confused:12">
|
|
610
624
|
<path fill-rule="evenodd" d="M6 11A5 5 0 106 1a5 5 0 000 10zm0 1A6 6 0 106 0a6 6 0 000 12z" clip-rule="evenodd" />
|
|
611
625
|
<path d="M8.803 9a.244.244 0 00.2-.383C8.334 7.636 7.259 7 6.048 7c-1.21 0-2.285.636-2.956 1.617a.244.244 0 00.2.383h5.512zM4.75 4.75a1 1 0 11-2 0 1 1 0 012 0zM9.25 4.75a1 1 0 11-2 0 1 1 0 012 0z" />
|
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.26.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">
|
|
@@ -40,6 +40,6 @@
|
|
|
40
40
|
</script>
|
|
41
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.0e0e8f42.js"></script>
|
|
44
44
|
</body>
|
|
45
45
|
</html>
|
|
@@ -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;
|