@plesk/ui-library 3.35.6 → 3.35.8

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.
Files changed (167) hide show
  1. package/cjs/components/AutoClosable/AutoClosable.js +1 -0
  2. package/cjs/components/InputNumber/InputNumber.js +2 -2
  3. package/cjs/components/Item/Item.js +64 -153
  4. package/cjs/components/Overlay/Overlay.js +35 -25
  5. package/cjs/components/Popover/Popover.js +1 -1
  6. package/cjs/components/SegmentedControl/SegmentedControl.js +1 -0
  7. package/cjs/components/Tabs/SearchBar.js +40 -147
  8. package/cjs/components/Tabs/Tab.js +2 -49
  9. package/cjs/components/Tabs/Tabs.js +48 -99
  10. package/cjs/components/Toolbar/ToolbarItem.js +1 -0
  11. package/cjs/components/index.js +14 -11
  12. package/cjs/index.js +1 -1
  13. package/dist/plesk-ui-library-rtl.css +1 -1
  14. package/dist/plesk-ui-library-rtl.css.map +1 -1
  15. package/dist/plesk-ui-library.css +1 -1
  16. package/dist/plesk-ui-library.css.map +1 -1
  17. package/dist/plesk-ui-library.js +441 -626
  18. package/dist/plesk-ui-library.js.map +1 -1
  19. package/dist/plesk-ui-library.min.js +8 -12
  20. package/dist/plesk-ui-library.min.js.map +1 -1
  21. package/esm/components/AutoClosable/AutoClosable.js +1 -0
  22. package/esm/components/InputNumber/InputNumber.js +2 -2
  23. package/esm/components/Item/Item.js +64 -153
  24. package/esm/components/Overlay/Overlay.js +35 -25
  25. package/esm/components/Popover/Popover.js +1 -1
  26. package/esm/components/SegmentedControl/SegmentedControl.js +1 -0
  27. package/esm/components/Tabs/SearchBar.js +40 -147
  28. package/esm/components/Tabs/Tab.js +1 -49
  29. package/esm/components/Tabs/Tabs.js +49 -99
  30. package/esm/components/Toolbar/ToolbarItem.js +1 -0
  31. package/esm/components/index.js +1 -2
  32. package/esm/index.js +1 -1
  33. package/package.json +28 -33
  34. package/styleguide/build/bundle.50841a29.js +2 -0
  35. package/styleguide/build/{bundle.8a07b2dd.js.LICENSE.txt → bundle.50841a29.js.LICENSE.txt} +27 -23
  36. package/styleguide/index.html +2 -2
  37. package/types/src/components/Action/Action.d.ts +1 -1
  38. package/types/src/components/Alert/Alert.d.ts +1 -1
  39. package/types/src/components/AutoClosable/AutoClosable.d.ts +23 -21
  40. package/types/src/components/AuxiliaryActions/AuxiliaryActions.d.ts +1 -1
  41. package/types/src/components/Badge/Badge.d.ts +1 -1
  42. package/types/src/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  43. package/types/src/components/Button/Button.d.ts +2 -2
  44. package/types/src/components/Button/ButtonContext.d.ts +1 -1
  45. package/types/src/components/ButtonGroup/ButtonGroup.d.ts +1 -1
  46. package/types/src/components/Card/PreviewPanel.d.ts +2 -2
  47. package/types/src/components/Carousel/Carousel.d.ts +1 -1
  48. package/types/src/components/Checkbox/Checkbox.d.ts +1 -1
  49. package/types/src/components/ClosingConfirmation/useClosingConfirmation.d.ts +1 -1
  50. package/types/src/components/ComboBox/ComboBox.d.ts +2 -2
  51. package/types/src/components/ComboBox/ComboBoxOption.d.ts +1 -1
  52. package/types/src/components/ComboBoxDropdown/ComboBoxDropdown.d.ts +5 -5
  53. package/types/src/components/ConsoleOutput/ConsoleOutput.d.ts +2 -2
  54. package/types/src/components/ContentLoader/ContentLoader.d.ts +2 -2
  55. package/types/src/components/ContentLoader/IconsLoader.d.ts +2 -2
  56. package/types/src/components/Cuttable/Cuttable.d.ts +3 -3
  57. package/types/src/components/Dialog/Dialog.d.ts +3 -3
  58. package/types/src/components/DistractionFreeModeContext/DistractionFreeModeContext.d.ts +1 -1
  59. package/types/src/components/Drawer/Drawer.d.ts +1 -1
  60. package/types/src/components/Drawer/DrawerProgress.d.ts +4 -4
  61. package/types/src/components/Drawer/Header.d.ts +1 -1
  62. package/types/src/components/Dropdown/Dropdown.d.ts +1 -1
  63. package/types/src/components/ExtendedStatusMessage/ExtendedStatusMessage.d.ts +1 -1
  64. package/types/src/components/ExtendedStatusMessage/ExtendedStatusMessageActions.d.ts +1 -1
  65. package/types/src/components/ExtendedStatusMessage/ExtendedStatusMessageDescription.d.ts +1 -1
  66. package/types/src/components/ExtendedStatusMessage/ExtendedStatusMessageSeparator.d.ts +1 -1
  67. package/types/src/components/ExtendedStatusMessage/ExtendedStatusMessageTitle.d.ts +1 -1
  68. package/types/src/components/Figure/Figure.d.ts +1 -1
  69. package/types/src/components/Form/Form.d.ts +2 -2
  70. package/types/src/components/Form/types.d.ts +7 -7
  71. package/types/src/components/Form/utils.d.ts +3 -3
  72. package/types/src/components/FormFieldCheckbox/FormFieldCheckbox.d.ts +1 -1
  73. package/types/src/components/FormFieldPassword/FormFieldPassword.d.ts +4 -4
  74. package/types/src/components/FormFieldPassword/PasswordMeter.d.ts +1 -1
  75. package/types/src/components/FormFieldPassword/estimatePassword.d.ts +2 -2
  76. package/types/src/components/FormFieldSelect/FormFieldSelect.d.ts +2 -2
  77. package/types/src/components/FormFieldText/FormFieldText.d.ts +4 -4
  78. package/types/src/components/Grid/Grid.d.ts +4 -4
  79. package/types/src/components/GridCol/GridCol.d.ts +2 -2
  80. package/types/src/components/Heading/Heading.d.ts +1 -1
  81. package/types/src/components/Hint/Hint.d.ts +1 -1
  82. package/types/src/components/Icon/Icon.d.ts +3 -3
  83. package/types/src/components/Icon/constants.d.ts +1 -1
  84. package/types/src/components/InPlaceEdit/InPlaceEdit.d.ts +2 -2
  85. package/types/src/components/Input/Input.d.ts +4 -3
  86. package/types/src/components/InputFile/InputFile.d.ts +1 -1
  87. package/types/src/components/Item/Item.d.ts +79 -0
  88. package/types/src/components/Item/index.d.ts +2 -0
  89. package/types/src/components/ItemLink/ItemLink.d.ts +1 -1
  90. package/types/src/components/ItemList/ItemList.d.ts +7 -7
  91. package/types/src/components/Label/Label.d.ts +3 -3
  92. package/types/src/components/Layer/Layer.d.ts +1 -1
  93. package/types/src/components/Layout/Layout.d.ts +9 -9
  94. package/types/src/components/Link/Link.d.ts +3 -3
  95. package/types/src/components/List/ListAction.d.ts +3 -3
  96. package/types/src/components/List/ListActions.d.ts +2 -2
  97. package/types/src/components/List/ListActionsDivider.d.ts +2 -2
  98. package/types/src/components/List/ListEmptyView.d.ts +1 -1
  99. package/types/src/components/List/ListOperation.d.ts +9 -5
  100. package/types/src/components/List/ListOperationContext.d.ts +1 -1
  101. package/types/src/components/LocaleProvider/LocaleProvider.d.ts +5 -5
  102. package/types/src/components/Markdown/Markdown.d.ts +2 -2
  103. package/types/src/components/Media/Media.d.ts +1 -1
  104. package/types/src/components/Media/MediaSection.d.ts +1 -1
  105. package/types/src/components/Menu/Menu.d.ts +1 -1
  106. package/types/src/components/Menu/MenuBaseItem.d.ts +3 -3
  107. package/types/src/components/Menu/MenuDivider.d.ts +1 -1
  108. package/types/src/components/Menu/MenuHeader.d.ts +1 -1
  109. package/types/src/components/Menu/MenuItem.d.ts +2 -2
  110. package/types/src/components/Menu/MenuSelectableItem.d.ts +2 -2
  111. package/types/src/components/Overlay/Overlay.d.ts +2 -2
  112. package/types/src/components/PageHeader/PageHeader.d.ts +1 -1
  113. package/types/src/components/Pagination/Pagination.d.ts +2 -2
  114. package/types/src/components/Panel/Panel.d.ts +3 -3
  115. package/types/src/components/Paragraph/Paragraph.d.ts +1 -1
  116. package/types/src/components/Plaintext/Plaintext.d.ts +1 -1
  117. package/types/src/components/Popover/Popover.d.ts +5 -3
  118. package/types/src/components/Popper/Popper.d.ts +2 -2
  119. package/types/src/components/Progress/Progress.d.ts +2 -2
  120. package/types/src/components/ProgressBar/ProgressBar.d.ts +1 -1
  121. package/types/src/components/ProgressBar/ProgressIndicator.d.ts +1 -1
  122. package/types/src/components/ProgressDialog/ProgressDialog.d.ts +2 -2
  123. package/types/src/components/ProgressStep/ProgressStep.d.ts +2 -2
  124. package/types/src/components/Radio/Radio.d.ts +1 -1
  125. package/types/src/components/Rating/Rating.d.ts +1 -1
  126. package/types/src/components/Section/Section.d.ts +5 -5
  127. package/types/src/components/Section/SectionItem.d.ts +1 -1
  128. package/types/src/components/SegmentedControl/SegmentedControl.d.ts +16 -12
  129. package/types/src/components/Select/MultiValue.d.ts +1 -1
  130. package/types/src/components/Select/Select.d.ts +1 -1
  131. package/types/src/components/Select/SelectControl.d.ts +1 -1
  132. package/types/src/components/Select/SelectOption.d.ts +1 -1
  133. package/types/src/components/Select/SelectOptionGroup.d.ts +1 -1
  134. package/types/src/components/Select/structures.d.ts +3 -3
  135. package/types/src/components/Skeleton/Skeleton.d.ts +1 -1
  136. package/types/src/components/Spinner/Spinner.d.ts +1 -1
  137. package/types/src/components/SplitButton/SplitButton.d.ts +1 -1
  138. package/types/src/components/Spot/Spot.d.ts +1 -1
  139. package/types/src/components/Spot/SpotPopup.d.ts +5 -3
  140. package/types/src/components/Squeezer/Squeezer.d.ts +2 -2
  141. package/types/src/components/Status/Status.d.ts +3 -3
  142. package/types/src/components/StatusMessage/StatusMessage.d.ts +1 -1
  143. package/types/src/components/Subnav/Subnav.d.ts +1 -1
  144. package/types/src/components/Switch/Switch.d.ts +3 -2
  145. package/types/src/components/SwitchesPanel/SwitchesPanel.d.ts +1 -1
  146. package/types/src/components/SwitchesPanelItem/SwitchesPanelItem.d.ts +1 -1
  147. package/types/src/components/Tabs/SearchBar.d.ts +107 -0
  148. package/types/src/components/Tabs/Tab.d.ts +62 -0
  149. package/types/src/components/Tabs/Tabs.d.ts +111 -0
  150. package/types/src/components/Tabs/index.d.ts +6 -0
  151. package/types/src/components/Text/Text.d.ts +1 -1
  152. package/types/src/components/TextArea/TextArea.d.ts +4 -4
  153. package/types/src/components/Toast/Toast.d.ts +2 -2
  154. package/types/src/components/Toaster/Toaster.d.ts +4 -4
  155. package/types/src/components/Toolbar/RegistryContext.d.ts +2 -2
  156. package/types/src/components/Toolbar/Toolbar.d.ts +2 -2
  157. package/types/src/components/Toolbar/ToolbarExpander.d.ts +2 -2
  158. package/types/src/components/Toolbar/ToolbarGroup.d.ts +1 -1
  159. package/types/src/components/Toolbar/ToolbarItem.d.ts +1 -1
  160. package/types/src/components/Toolbar/ToolbarMenu.d.ts +1 -1
  161. package/types/src/components/Tooltip/Tooltip.d.ts +2 -2
  162. package/types/src/components/Tour/Tour.d.ts +2 -2
  163. package/types/src/components/Translate/Translate.d.ts +5 -3
  164. package/types/src/components/index.d.ts +3 -2
  165. package/types/src/components/utils.d.ts +5 -5
  166. package/types/src/utils/types/PolymorphicComponent.d.ts +5 -5
  167. package/styleguide/build/bundle.8a07b2dd.js +0 -2
@@ -38,24 +38,18 @@ object-assign
38
38
  /*! svg4everybody v2.1.9 | github.com/jonathantneal/svg4everybody */
39
39
 
40
40
  /**
41
- * A better abstraction over CSS.
41
+ * @license React
42
+ * react-dom.production.min.js
42
43
  *
43
- * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
44
- * @website https://github.com/cssinjs/jss
45
- * @license MIT
46
- */
47
-
48
- /**
49
- * Prism: Lightweight, robust, elegant syntax highlighting
44
+ * Copyright (c) Facebook, Inc. and its affiliates.
50
45
  *
51
- * @license MIT <https://opensource.org/licenses/MIT>
52
- * @author Lea Verou <https://lea.verou.me>
53
- * @namespace
54
- * @public
46
+ * This source code is licensed under the MIT license found in the
47
+ * LICENSE file in the root directory of this source tree.
55
48
  */
56
49
 
57
- /** @license React v0.20.2
58
- * scheduler.production.min.js
50
+ /**
51
+ * @license React
52
+ * react-jsx-runtime.production.min.js
59
53
  *
60
54
  * Copyright (c) Facebook, Inc. and its affiliates.
61
55
  *
@@ -63,8 +57,9 @@ object-assign
63
57
  * LICENSE file in the root directory of this source tree.
64
58
  */
65
59
 
66
- /** @license React v17.0.2
67
- * react-dom.production.min.js
60
+ /**
61
+ * @license React
62
+ * react.production.min.js
68
63
  *
69
64
  * Copyright (c) Facebook, Inc. and its affiliates.
70
65
  *
@@ -72,8 +67,9 @@ object-assign
72
67
  * LICENSE file in the root directory of this source tree.
73
68
  */
74
69
 
75
- /** @license React v17.0.2
76
- * react-jsx-runtime.production.min.js
70
+ /**
71
+ * @license React
72
+ * scheduler.production.min.js
77
73
  *
78
74
  * Copyright (c) Facebook, Inc. and its affiliates.
79
75
  *
@@ -81,13 +77,21 @@ object-assign
81
77
  * LICENSE file in the root directory of this source tree.
82
78
  */
83
79
 
84
- /** @license React v17.0.2
85
- * react.production.min.js
80
+ /**
81
+ * A better abstraction over CSS.
86
82
  *
87
- * Copyright (c) Facebook, Inc. and its affiliates.
83
+ * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
84
+ * @website https://github.com/cssinjs/jss
85
+ * @license MIT
86
+ */
87
+
88
+ /**
89
+ * Prism: Lightweight, robust, elegant syntax highlighting
88
90
  *
89
- * This source code is licensed under the MIT license found in the
90
- * LICENSE file in the root directory of this source tree.
91
+ * @license MIT <https://opensource.org/licenses/MIT>
92
+ * @author Lea Verou <https://lea.verou.me>
93
+ * @namespace
94
+ * @public
91
95
  */
92
96
 
93
97
  /**!
@@ -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.35.6</title>
7
+ <title>Plesk UI Library 3.35.8</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">
@@ -26,6 +26,6 @@
26
26
  <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KWST26V"
27
27
  height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
28
28
  <!-- End Google Tag Manager (noscript) -->
29
- <script src="build/bundle.8a07b2dd.js"></script>
29
+ <script src="build/bundle.50841a29.js"></script>
30
30
  </body>
31
31
  </html>
@@ -2,7 +2,7 @@ import { FunctionComponent, ReactNode, ReactElement, ElementType } from 'react';
2
2
  import { IconProps } from '../Icon';
3
3
  import '../../helpers/base.less';
4
4
  import './Action.less';
5
- declare type ActionProps = {
5
+ type ActionProps = {
6
6
  /**
7
7
  * Content of the `Action`.
8
8
  * @since 0.0.68
@@ -1,7 +1,7 @@
1
1
  import { ReactNode, SyntheticEvent, FunctionComponent } from 'react';
2
2
  import '../../helpers/base.less';
3
3
  import './Alert.less';
4
- declare type AlertProps = {
4
+ type AlertProps = {
5
5
  /**
6
6
  * @ignore
7
7
  */
@@ -1,5 +1,6 @@
1
- import { Component, ReactElement, ReactInstance, RefObject, MutableRefObject } from 'react';
2
- declare type AutoClosableProps = {
1
+ import { Component, ReactElement, ReactInstance, RefObject, MutableRefObject, ContextType } from 'react';
2
+ declare const AutoClosableContext: import("react").Context<AutoClosable | null>;
3
+ type AutoClosableProps = {
3
4
  /**
4
5
  * onClose handler
5
6
  * @since 0.0.42
@@ -28,32 +29,33 @@ declare type AutoClosableProps = {
28
29
  declare class AutoClosable extends Component<AutoClosableProps> {
29
30
  componentDidMount(): void;
30
31
  componentWillUnmount(): void;
32
+ context: ContextType<typeof AutoClosableContext>;
31
33
  children: AutoClosable[];
32
34
  addChild: (child: AutoClosable) => void;
33
35
  removeChild: (child: AutoClosable) => void;
34
36
  getIgnoreNodes: () => (Text | {
35
37
  new (): Node;
36
38
  prototype: Node;
37
- readonly ATTRIBUTE_NODE: number;
38
- readonly CDATA_SECTION_NODE: number;
39
- readonly COMMENT_NODE: number;
40
- readonly DOCUMENT_FRAGMENT_NODE: number;
41
- readonly DOCUMENT_NODE: number;
42
- readonly DOCUMENT_POSITION_CONTAINED_BY: number;
43
- readonly DOCUMENT_POSITION_CONTAINS: number;
44
- readonly DOCUMENT_POSITION_DISCONNECTED: number;
45
- readonly DOCUMENT_POSITION_FOLLOWING: number;
46
- readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
47
- readonly DOCUMENT_POSITION_PRECEDING: number;
48
- readonly DOCUMENT_TYPE_NODE: number;
49
- readonly ELEMENT_NODE: number;
50
- readonly ENTITY_NODE: number;
51
- readonly ENTITY_REFERENCE_NODE: number;
52
- readonly NOTATION_NODE: number;
53
- readonly PROCESSING_INSTRUCTION_NODE: number;
54
- readonly TEXT_NODE: number;
39
+ readonly ELEMENT_NODE: 1;
40
+ readonly ATTRIBUTE_NODE: 2;
41
+ readonly TEXT_NODE: 3;
42
+ readonly CDATA_SECTION_NODE: 4;
43
+ readonly ENTITY_REFERENCE_NODE: 5;
44
+ readonly ENTITY_NODE: 6;
45
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
46
+ readonly COMMENT_NODE: 8;
47
+ readonly DOCUMENT_NODE: 9;
48
+ readonly DOCUMENT_TYPE_NODE: 10;
49
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
50
+ readonly NOTATION_NODE: 12;
51
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
52
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
53
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
54
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
55
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
56
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
55
57
  } | ReactInstance | RefObject<HTMLElement> | null | undefined)[];
56
58
  onOutsideClick: (event: MouseEvent) => void;
57
- render(): JSX.Element;
59
+ render(): import("react/jsx-runtime").JSX.Element;
58
60
  }
59
61
  export default AutoClosable;
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponent, ReactNode } from 'react';
2
2
  import './AuxiliaryActions.less';
3
- declare type AuxiliaryActionsProps = {
3
+ type AuxiliaryActionsProps = {
4
4
  /**
5
5
  * Actions
6
6
  * @since 0.4.1
@@ -1,7 +1,7 @@
1
1
  import { FunctionComponent, ReactNode } from 'react';
2
2
  import '../../helpers/base.less';
3
3
  import './Badge.less';
4
- declare type BadgeProps = {
4
+ type BadgeProps = {
5
5
  /**
6
6
  * Display value. See [Label](#!/Label) for all props.
7
7
  * @since 0.0.58
@@ -1,7 +1,7 @@
1
1
  import { ReactNode, FunctionComponent } from 'react';
2
2
  import '../../helpers/base.less';
3
3
  import './Breadcrumbs.less';
4
- declare type BreadcrumbsProps = {
4
+ type BreadcrumbsProps = {
5
5
  /**
6
6
  * @ignore
7
7
  */
@@ -79,7 +79,7 @@ interface BaseButtonPops {
79
79
  */
80
80
  baseClassName?: string;
81
81
  }
82
- export declare type ButtonProps<Component extends ElementType = 'button'> = {
82
+ export type ButtonProps<Component extends ElementType = 'button'> = {
83
83
  /**
84
84
  * Component to render as the root element. Useful when rendering a `Button` as `<a>` or `<Link>`.
85
85
  * @since 0.0.42
@@ -88,7 +88,7 @@ export declare type ButtonProps<Component extends ElementType = 'button'> = {
88
88
  */
89
89
  component?: Component;
90
90
  } & PolymorphicComponentPropsWithRef<Component, BaseButtonPops> & DataAttributes;
91
- declare type ButtonComponent<Component extends ElementType = 'button'> = {
91
+ type ButtonComponent<Component extends ElementType = 'button'> = {
92
92
  defaultProps?: Partial<ButtonProps<Component>>;
93
93
  displayName?: string;
94
94
  } & (<C extends ElementType = Component>(props: ButtonProps<C>) => ReactElement | null);
@@ -1,4 +1,4 @@
1
- export declare type ButtonContextValue = {
1
+ export type ButtonContextValue = {
2
2
  defaultProps: {
3
3
  size?: 'md' | 'lg';
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponent, ReactNode, Ref, HTMLAttributes } from 'react';
2
2
  import './ButtonGroup.less';
3
- declare type ButtonGroupProps = {
3
+ type ButtonGroupProps = {
4
4
  /**
5
5
  * @ignore
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { ReactNode, CSSProperties } from 'react';
2
2
  import { DataAttributes } from '../../utils/types';
3
3
  import './PreviewPanel.less';
4
- declare type PreviewPanelProps = {
4
+ type PreviewPanelProps = {
5
5
  /**
6
6
  * Background image content.
7
7
  * @since 0.3.0
@@ -50,5 +50,5 @@ declare type PreviewPanelProps = {
50
50
  * `PreviewPanel` component is used for displaying website preview.
51
51
  * @since 0.3.0
52
52
  */
53
- declare const PreviewPanel: ({ background, image, padding, alt, children, className, baseClassName, html, ...props }: PreviewPanelProps) => JSX.Element;
53
+ declare const PreviewPanel: ({ background, image, padding, alt, children, className, baseClassName, html, ...props }: PreviewPanelProps) => import("react/jsx-runtime").JSX.Element;
54
54
  export default PreviewPanel;
@@ -53,6 +53,6 @@ declare class Carousel extends Component<CarouselProps> {
53
53
  setCurrentSlide(next: number): void;
54
54
  handleResize({ bounds }: ContentRect): void;
55
55
  listStyle(): CSSProperties;
56
- render(): JSX.Element;
56
+ render(): import("react/jsx-runtime").JSX.Element;
57
57
  }
58
58
  export default Carousel;
@@ -1,6 +1,6 @@
1
1
  import { ReactNode, HTMLProps, FunctionComponent } from 'react';
2
2
  import './Checkbox.less';
3
- declare type CheckboxProps = {
3
+ type CheckboxProps = {
4
4
  /**
5
5
  * Determine whether the `Checkbox` is checked.
6
6
  * @since 0.0.55
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- declare type ClosingConfirmationProps = {
2
+ type ClosingConfirmationProps = {
3
3
  onClose?: () => void;
4
4
  closingConfirmation?: boolean;
5
5
  };
@@ -1,7 +1,7 @@
1
1
  import { ComponentProps, ReactElement } from 'react';
2
2
  import ComboBoxOption from './ComboBoxOption';
3
3
  import './ComboBox.less';
4
- declare type ComboBoxProps = {
4
+ type ComboBoxProps = {
5
5
  /**
6
6
  * @ignore
7
7
  */
@@ -52,7 +52,7 @@ declare type ComboBoxProps = {
52
52
  children: ReactElement<ComponentProps<typeof ComboBoxOption>>[];
53
53
  };
54
54
  declare const _default: {
55
- (props: ComboBoxProps): JSX.Element;
55
+ (props: ComboBoxProps): import("react/jsx-runtime").JSX.Element;
56
56
  displayName: string;
57
57
  };
58
58
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
- declare type ComboBoxOptionProps = {
2
+ type ComboBoxOptionProps = {
3
3
  /**
4
4
  * Whether disabled or not.
5
5
  * @since 2.6.0
@@ -1,15 +1,15 @@
1
1
  import { ReactElement, ReactNode, RefObject } from 'react';
2
2
  import { EventEmitter } from '../utils';
3
3
  import './ComboBoxDropdown.less';
4
- declare type ValueType = any;
5
- declare type GroupType = {
4
+ type ValueType = any;
5
+ type GroupType = {
6
6
  label?: string;
7
7
  options: OptionType[];
8
8
  props?: {
9
9
  [key: string]: any;
10
10
  };
11
11
  };
12
- declare type OptionType = {
12
+ type OptionType = {
13
13
  value: ValueType;
14
14
  disabled: boolean;
15
15
  group?: GroupType;
@@ -19,7 +19,7 @@ declare type OptionType = {
19
19
  children: ReactNode;
20
20
  };
21
21
  export declare const findNextSafeIndex: (currIndex: number, diff: number, options: OptionType[]) => number;
22
- declare type ComboBoxDropdownProps = {
22
+ type ComboBoxDropdownProps = {
23
23
  baseClassName?: string;
24
24
  className?: string;
25
25
  disabled: boolean;
@@ -36,5 +36,5 @@ declare type ComboBoxDropdownProps = {
36
36
  noOptions?: ReactNode;
37
37
  emitter?: EventEmitter;
38
38
  };
39
- declare const ComboBoxDropdown: ({ baseClassName, className, control, controlRef, opened, disabled, groups, options, onHighlightedIndexChange, onClose, value, highlightedIndex, onSelect, noOptions, emitter, ...props }: ComboBoxDropdownProps) => JSX.Element;
39
+ declare const ComboBoxDropdown: ({ baseClassName, className, control, controlRef, opened, disabled, groups, options, onHighlightedIndexChange, onClose, value, highlightedIndex, onSelect, noOptions, emitter, ...props }: ComboBoxDropdownProps) => import("react/jsx-runtime").JSX.Element;
40
40
  export default ComboBoxDropdown;
@@ -1,6 +1,6 @@
1
1
  import { PureComponent, ReactNode, RefObject } from 'react';
2
2
  import './ConsoleOutput.less';
3
- declare type ConsoleOutputProps = {
3
+ type ConsoleOutputProps = {
4
4
  /**
5
5
  * @ignore
6
6
  */
@@ -47,6 +47,6 @@ declare class ConsoleOutput extends PureComponent<ConsoleOutputProps> {
47
47
  prevScrollTop: number;
48
48
  autoscrollCancelled: boolean;
49
49
  handleScroll: () => void;
50
- render(): JSX.Element;
50
+ render(): import("react/jsx-runtime").JSX.Element;
51
51
  }
52
52
  export default ConsoleOutput;
@@ -2,12 +2,12 @@ import { FunctionComponent, ReactNode } from 'react';
2
2
  import '../../helpers/base.less';
3
3
  import './ContentLoader.less';
4
4
  import { IconName } from '../Icon';
5
- declare type Loader = 'spinner' | 'icons' | {
5
+ type Loader = 'spinner' | 'icons' | {
6
6
  type: 'icons';
7
7
  icons: IconName[];
8
8
  [key: string]: unknown;
9
9
  };
10
- declare type ContentLoaderProps = {
10
+ type ContentLoaderProps = {
11
11
  /**
12
12
  * Allows to set the text near the indicator.
13
13
  * @since 1.1.0
@@ -1,12 +1,12 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { IconName, IconProps } from '../Icon';
3
3
  import './IconsLoader.less';
4
- declare type IconsLoaderProps = {
4
+ type IconsLoaderProps = {
5
5
  baseClassName?: string;
6
6
  className?: string;
7
7
  style?: object;
8
8
  icons?: (IconName | IconProps | ReactElement<any>)[];
9
9
  size?: IconProps['size'];
10
10
  };
11
- declare const IconsLoader: ({ baseClassName, className, icons, size, style, ...props }: IconsLoaderProps) => JSX.Element;
11
+ declare const IconsLoader: ({ baseClassName, className, icons, size, style, ...props }: IconsLoaderProps) => import("react/jsx-runtime").JSX.Element;
12
12
  export default IconsLoader;
@@ -1,6 +1,6 @@
1
1
  import { Component, ReactNode } from 'react';
2
2
  import './Cuttable.less';
3
- declare type CuttableProps = {
3
+ type CuttableProps = {
4
4
  /**
5
5
  * Content of the component.
6
6
  * @since 0.0.42
@@ -33,7 +33,7 @@ declare type CuttableProps = {
33
33
  */
34
34
  baseClassName?: string;
35
35
  };
36
- declare type CuttableState = {
36
+ type CuttableState = {
37
37
  collapsed?: boolean;
38
38
  autofit: boolean;
39
39
  };
@@ -58,6 +58,6 @@ declare class Cuttable extends Component<CuttableProps, CuttableState> {
58
58
  contentRef: import("react").RefObject<HTMLDivElement>;
59
59
  handleToggle: () => void;
60
60
  handleResize: () => void;
61
- render(): JSX.Element;
61
+ render(): import("react/jsx-runtime").JSX.Element;
62
62
  }
63
63
  export default Cuttable;
@@ -4,8 +4,8 @@ import Form, { FormProps, FormValues } from '../Form';
4
4
  import { ButtonProps } from '../Button';
5
5
  import '../../helpers/base.less';
6
6
  import './Dialog.less';
7
- export declare type ImageType = string | ReactElement | HTMLAttributes<HTMLImageElement>;
8
- export declare type DialogProps<FV extends FormValues = FormValues> = {
7
+ export type ImageType = string | ReactElement | HTMLAttributes<HTMLImageElement>;
8
+ export type DialogProps<FV extends FormValues = FormValues> = {
9
9
  /**
10
10
  * Toggles visibility.
11
11
  * @since 0.0.68
@@ -119,7 +119,7 @@ export declare type DialogProps<FV extends FormValues = FormValues> = {
119
119
  * @since 0.0.68
120
120
  */
121
121
  declare const Dialog: {
122
- <FV extends FormValues = FormValues>({ baseClassName, className, children, actions, isOpen, banner, image, title, subtitle, cancelTitle, cancelButton, buttons, form, size, closable, onClose, closingConfirmation, canClose, ...props }: DialogProps<FV>): JSX.Element;
122
+ <FV extends FormValues = FormValues>({ baseClassName, className, children, actions, isOpen, banner, image, title, subtitle, cancelTitle, cancelButton, buttons, form, size, closable, onClose, closingConfirmation, canClose, ...props }: DialogProps<FV>): import("react/jsx-runtime").JSX.Element;
123
123
  defaultProps: {
124
124
  isOpen: boolean;
125
125
  banner: undefined;
@@ -1,4 +1,4 @@
1
- export declare type DistractionFreeMode = {
1
+ export type DistractionFreeMode = {
2
2
  enabled: boolean;
3
3
  toggle: () => void;
4
4
  };
@@ -100,7 +100,7 @@ export interface DrawerProps<FV extends FormValues = FormValues> {
100
100
  * @since 0.0.65
101
101
  */
102
102
  declare const Drawer: {
103
- <FV extends FormValues = FormValues>({ baseClassName, className, children, title, subtitle, backButton, hideButton, tabs, onClose, form, progress, closingConfirmation, ...props }: DrawerProps<FV>): JSX.Element;
103
+ <FV extends FormValues = FormValues>({ baseClassName, className, children, title, subtitle, backButton, hideButton, tabs, onClose, form, progress, closingConfirmation, ...props }: DrawerProps<FV>): import("react/jsx-runtime").JSX.Element;
104
104
  defaultProps: Partial<DrawerProps<FormValues>>;
105
105
  };
106
106
  export default Drawer;
@@ -1,11 +1,11 @@
1
1
  import { Component, ReactNode, ReactElement } from 'react';
2
2
  import { ProgressStepProps, Status } from '../ProgressStep';
3
3
  import './DrawerProgress.less';
4
- declare type RenderParams = {
4
+ type RenderParams = {
5
5
  content: ReactElement;
6
6
  footer?: ReactNode;
7
7
  };
8
- export declare type DrawerProgressProps = {
8
+ export type DrawerProgressProps = {
9
9
  baseClassName?: string;
10
10
  title?: ReactNode;
11
11
  steps: ProgressStepProps[];
@@ -21,7 +21,7 @@ export declare type DrawerProgressProps = {
21
21
  onStatusChange?: (status: Status) => void;
22
22
  render?: (params: RenderParams) => ReactNode;
23
23
  };
24
- declare type DrawerProgressState = {
24
+ type DrawerProgressState = {
25
25
  status: ProgressStepProps['status'] | null;
26
26
  };
27
27
  declare class DrawerProgress extends Component<DrawerProgressProps, DrawerProgressState> {
@@ -40,6 +40,6 @@ declare class DrawerProgress extends Component<DrawerProgressProps, DrawerProgre
40
40
  handleStatusChange: (status: Status) => void;
41
41
  handleClose: () => void;
42
42
  handleCancel: () => void;
43
- render(): ReactNode;
43
+ render(): string | number | boolean | Iterable<ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
44
44
  }
45
45
  export default DrawerProgress;
@@ -8,5 +8,5 @@ interface HeaderProps {
8
8
  hideButton?: boolean;
9
9
  tabs?: ReactNode;
10
10
  }
11
- declare const Header: ({ baseClassName, onClose, children, backButton, hideButton, tabs, ...props }: HeaderProps) => JSX.Element;
11
+ declare const Header: ({ baseClassName, onClose, children, backButton, hideButton, tabs, ...props }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
12
12
  export default Header;
@@ -3,7 +3,7 @@ import '../../helpers/base.less';
3
3
  import '../Menu/Menu.less';
4
4
  import './Dropdown.less';
5
5
  import { Placement } from 'popper.js';
6
- export declare type PopoverPlacement = Placement;
6
+ export type PopoverPlacement = Placement;
7
7
  export interface DropdownProps {
8
8
  /**
9
9
  * Dropdown [menu](#!/Menu).
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponent, ReactNode } from 'react';
2
2
  import './ExtendedStatusMessage.less';
3
- declare type ExtendedStatusMessageProps = {
3
+ type ExtendedStatusMessageProps = {
4
4
  /**
5
5
  * @since 0.0.47
6
6
  */
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent, ReactNode } from 'react';
2
- declare type ExtendedStatusMessageActionsProps = {
2
+ type ExtendedStatusMessageActionsProps = {
3
3
  /**
4
4
  * Content of the `ExtendedStatusMessageActions`.
5
5
  * @since 0.0.47
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent, ReactNode } from 'react';
2
- declare type ExtendedStatusMessageDescriptionProps = {
2
+ type ExtendedStatusMessageDescriptionProps = {
3
3
  /**
4
4
  * Content of the `ExtendedStatusMessageDescription`.
5
5
  * @since 0.0.47
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
- declare type ExtendedStatusMessageSeparatorProps = {
2
+ type ExtendedStatusMessageSeparatorProps = {
3
3
  /**
4
4
  * @ignore
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent, ReactNode } from 'react';
2
- declare type ExtendedStatusMessageTitleProps = {
2
+ type ExtendedStatusMessageTitleProps = {
3
3
  /**
4
4
  * Content of the `ExtendedStatusMessageTitle`.
5
5
  * @since 0.0.47
@@ -24,5 +24,5 @@ export interface FigureProps extends HTMLAttributes<HTMLElement> {
24
24
  * Figure component.
25
25
  * @since 0.0.42
26
26
  */
27
- declare const Figure: ({ baseClassName, className, href, caption, children, ...props }: FigureProps) => JSX.Element;
27
+ declare const Figure: ({ baseClassName, className, href, caption, children, ...props }: FigureProps) => import("react/jsx-runtime").JSX.Element;
28
28
  export default Figure;
@@ -2,7 +2,7 @@ import { ReactNode, ReactElement, MutableRefObject, HTMLProps, ForwardedRef } fr
2
2
  import { ButtonProps } from '../Button';
3
3
  import { FormInstanceHandles, FormValues, FormErrors } from './types';
4
4
  import './Form.less';
5
- export declare type FormProps<FV extends FormValues> = {
5
+ export type FormProps<FV extends FormValues> = {
6
6
  /**
7
7
  * Required mark.
8
8
  * @since 0.0.54
@@ -98,7 +98,7 @@ export declare type FormProps<FV extends FormValues> = {
98
98
  innerRef?: MutableRefObject<null | HTMLFormElement>;
99
99
  } & Omit<HTMLProps<HTMLFormElement>, 'onSubmit' | 'ref'>;
100
100
  export type { FormValues, FormInstanceHandles };
101
- declare type FormComponent = <FV extends FormValues>(props: FormProps<FV> & {
101
+ type FormComponent = <FV extends FormValues>(props: FormProps<FV> & {
102
102
  ref?: ForwardedRef<FormInstanceHandles>;
103
103
  }) => ReactElement;
104
104
  /**
@@ -1,11 +1,11 @@
1
1
  import { ReactNode } from 'react';
2
- export declare type FormInstanceHandles = {
2
+ export type FormInstanceHandles = {
3
3
  submit: () => void;
4
4
  };
5
- export declare type FormValues = Record<string, any>;
6
- export declare type FormFieldErrors = Record<string, any>;
7
- export declare type FormErrors = Record<string, any>;
8
- export declare type FormState<FV> = {
5
+ export type FormValues = Record<string, any>;
6
+ export type FormFieldErrors = Record<string, any>;
7
+ export type FormErrors = Record<string, any>;
8
+ export type FormState<FV> = {
9
9
  values?: FV;
10
10
  vertical: boolean;
11
11
  requiredFields: string[];
@@ -14,10 +14,10 @@ export declare type FormState<FV> = {
14
14
  prevErrors?: FormErrors;
15
15
  prevRequiredMark?: ReactNode;
16
16
  };
17
- export declare type Field = {
17
+ export type Field = {
18
18
  focus: (errors: FormFieldErrors) => void;
19
19
  };
20
- export declare type FormContextProps = {
20
+ export type FormContextProps = {
21
21
  getValues: () => Readonly<FormValues> | undefined;
22
22
  getValue: (name: string, def?: any) => any;
23
23
  setValue: (name: string, value: any) => void;
@@ -1,8 +1,8 @@
1
- declare type Obj = {
1
+ type Obj = {
2
2
  [key: string]: any;
3
3
  };
4
- declare type GetIn = <T extends Obj>(obj: T, name: string, def?: any) => any;
5
- declare type SetIn = <T extends Obj>(obj: T, name: string, val: any) => T;
4
+ type GetIn = <T extends Obj>(obj: T, name: string, def?: any) => any;
5
+ type SetIn = <T extends Obj>(obj: T, name: string, val: any) => T;
6
6
  /**
7
7
  * Deeply get a value from an object via its path.
8
8
  *
@@ -49,5 +49,5 @@ export interface FormFieldCheckboxProps extends ComponentProps<typeof FormField>
49
49
  * and selecting or deselecting an item.
50
50
  * @since 0.0.58
51
51
  */
52
- declare const FormFieldCheckbox: ({ className, label, autoFocus, required, checkedValue, uncheckedValue, baseClassName, ...props }: FormFieldCheckboxProps) => JSX.Element;
52
+ declare const FormFieldCheckbox: ({ className, label, autoFocus, required, checkedValue, uncheckedValue, baseClassName, ...props }: FormFieldCheckboxProps) => import("react/jsx-runtime").JSX.Element;
53
53
  export default FormFieldCheckbox;