@edifice.io/react 2.0.0-develop-rc.3 → 2.0.0-develop-rc.7
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 +17 -88
- package/dist/components/ActionBar/ActionBar.d.ts +1 -1
- package/dist/components/ActionBar/ActionBar.js +3 -2
- package/dist/components/ActionBar/index.d.ts +0 -1
- package/dist/components/Alert/Alert.d.ts +1 -1
- package/dist/components/Alert/Alert.js +7 -6
- package/dist/components/Alert/index.d.ts +0 -1
- package/dist/components/AppHeader/AppHeader.d.ts +1 -1
- package/dist/components/AppHeader/AppHeader.js +3 -2
- package/dist/components/AppHeader/index.d.ts +0 -1
- package/dist/components/AppIcon/AppIcon.js +1 -1
- package/dist/components/Attachment/Attachment.d.ts +1 -1
- package/dist/components/Attachment/Attachment.js +3 -2
- package/dist/components/Attachment/index.d.ts +0 -1
- package/dist/components/Avatar/Avatar.d.ts +1 -1
- package/dist/components/Avatar/Avatar.js +4 -3
- package/dist/components/Avatar/index.d.ts +0 -1
- package/dist/components/Badge/Badge.d.ts +1 -1
- package/dist/components/Badge/Badge.js +3 -2
- package/dist/components/Badge/index.d.ts +0 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Button/Button.js +4 -3
- package/dist/components/Button/IconButton.d.ts +1 -1
- package/dist/components/Button/IconButton.js +4 -3
- package/dist/components/Button/SearchButton.d.ts +1 -1
- package/dist/components/Button/SearchButton.js +4 -3
- package/dist/components/Button/index.d.ts +0 -3
- package/dist/components/Card/Card.d.ts +1 -1
- package/dist/components/Card/Card.js +3 -2
- package/dist/components/Card/CardHeader.js +1 -1
- package/dist/components/Card/CardImage.js +1 -1
- package/dist/components/Card/CardUser.js +1 -1
- package/dist/components/Card/index.d.ts +0 -1
- package/dist/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/Checkbox/Checkbox.js +3 -2
- package/dist/components/Checkbox/index.d.ts +0 -1
- package/dist/components/ColorPicker/ColorPicker.d.ts +1 -1
- package/dist/components/ColorPicker/ColorPicker.js +5 -4
- package/dist/components/ColorPicker/ColorPickerItem.d.ts +1 -1
- package/dist/components/ColorPicker/ColorPickerItem.js +3 -2
- package/dist/components/ColorPicker/index.d.ts +1 -3
- package/dist/components/Combobox/Combobox.d.ts +1 -1
- package/dist/components/Combobox/Combobox.js +4 -4
- package/dist/components/Combobox/ComboboxTrigger.js +2 -2
- package/dist/components/Combobox/index.d.ts +0 -1
- package/dist/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown/Dropdown.js +4 -3
- package/dist/components/Dropdown/DropdownCheckboxItem.js +1 -1
- package/dist/components/Dropdown/DropdownRadioItem.js +1 -1
- package/dist/components/Dropdown/index.d.ts +0 -1
- package/dist/components/Dropzone/Dropzone.d.ts +1 -1
- package/dist/components/Dropzone/Dropzone.js +2 -2
- package/dist/components/Dropzone/DropzoneFile.js +1 -1
- package/dist/components/Dropzone/DropzoneImport.js +1 -1
- package/dist/components/Dropzone/index.d.ts +0 -1
- package/dist/components/EmptyScreen/EmptyScreen.d.ts +1 -1
- package/dist/components/EmptyScreen/EmptyScreen.js +4 -3
- package/dist/components/EmptyScreen/index.d.ts +0 -1
- package/dist/components/FileCard/FileCard.d.ts +1 -1
- package/dist/components/FileCard/FileCard.js +4 -3
- package/dist/components/FileCard/index.d.ts +0 -1
- package/dist/components/Form/FormControl.d.ts +1 -1
- package/dist/components/Form/FormControl.js +6 -5
- package/dist/components/Form/FormText.d.ts +1 -1
- package/dist/components/Form/FormText.js +3 -2
- package/dist/components/Form/index.d.ts +1 -2
- package/dist/components/Heading/Heading.d.ts +1 -1
- package/dist/components/Heading/Heading.js +3 -2
- package/dist/components/Heading/index.d.ts +0 -1
- package/dist/components/Image/Image.d.ts +1 -1
- package/dist/components/Image/Image.js +3 -2
- package/dist/components/Image/index.d.ts +0 -1
- package/dist/components/ImagePicker/ImagePicker.js +4 -4
- package/dist/components/Input/Input.d.ts +1 -1
- package/dist/components/Input/Input.js +3 -2
- package/dist/components/Input/index.d.ts +0 -1
- package/dist/components/Label/Label.d.ts +1 -1
- package/dist/components/Label/Label.js +3 -2
- package/dist/components/Label/index.d.ts +0 -1
- package/dist/components/Loading/Loading.d.ts +1 -1
- package/dist/components/Loading/Loading.js +3 -2
- package/dist/components/Loading/index.d.ts +0 -1
- package/dist/components/LoadingScreen/LoadingScreen.d.ts +1 -1
- package/dist/components/LoadingScreen/LoadingScreen.js +3 -2
- package/dist/components/LoadingScreen/index.d.ts +1 -1
- package/dist/components/Logo/Logo.d.ts +1 -1
- package/dist/components/Logo/Logo.js +3 -2
- package/dist/components/Logo/index.d.ts +0 -1
- package/dist/components/Menu/MenuButton.js +1 -1
- package/dist/components/Modal/Modal.d.ts +1 -1
- package/dist/components/Modal/Modal.js +3 -2
- package/dist/components/Modal/ModalHeader.js +1 -1
- package/dist/components/Modal/index.d.ts +0 -1
- package/dist/components/Radio/Radio.d.ts +1 -1
- package/dist/components/Radio/Radio.js +3 -2
- package/dist/components/Radio/index.d.ts +0 -1
- package/dist/components/SearchBar/SearchBar.d.ts +1 -1
- package/dist/components/SearchBar/SearchBar.js +5 -4
- package/dist/components/SearchBar/index.d.ts +0 -1
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/components/Select/Select.js +4 -3
- package/dist/components/Select/SelectTrigger.js +1 -1
- package/dist/components/Select/index.d.ts +0 -1
- package/dist/components/Table/TableExplorer.d.ts +1 -1
- package/dist/components/Table/TableExplorer.js +4 -3
- package/dist/components/Table/index.d.ts +0 -1
- package/dist/components/Tabs/Tabs.d.ts +1 -1
- package/dist/components/Tabs/Tabs.js +2 -2
- package/dist/components/Tabs/TabsList.js +1 -1
- package/dist/components/Tabs/index.d.ts +0 -1
- package/dist/components/TextArea/TextArea.d.ts +1 -1
- package/dist/components/TextArea/TextArea.js +5 -4
- package/dist/components/TextArea/index.d.ts +0 -1
- package/dist/components/Toolbar/Toolbar.d.ts +1 -1
- package/dist/components/Toolbar/Toolbar.js +7 -6
- package/dist/components/Toolbar/index.d.ts +0 -1
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.js +3 -2
- package/dist/components/Tooltip/index.d.ts +0 -1
- package/dist/components/TreeView/TreeView.d.ts +1 -1
- package/dist/components/TreeView/TreeView.js +3 -2
- package/dist/components/TreeView/index.d.ts +0 -1
- package/dist/components/UploadCard/UploadCard.js +6 -6
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +1 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.js +3 -2
- package/dist/components/VisuallyHidden/index.d.ts +1 -1
- package/dist/core/useAvatar/useAvatar.js +1 -1
- package/dist/core/useConversation/useConversation.js +2 -2
- package/dist/core/useHasWorkflow/useHasWorkflow.js +1 -1
- package/dist/core/useHeader/useHeader.js +3 -3
- package/dist/core/useLibraryUrl/useLibraryUrl.js +2 -2
- package/dist/core/useMediaLibrary/useMediaLibrary.js +2 -2
- package/dist/core/useOdeIcons/useOdeIcons.d.ts +1 -1
- package/dist/core/useResource/useResource.d.ts +0 -1
- package/dist/core/useTrashedResource/useTrashedResource.js +2 -2
- package/dist/core/useUpload/useUpload.d.ts +4 -5
- package/dist/core/useUpload/useUpload.js +1 -1
- package/dist/core/useUploadFiles/useUploadFiles.d.ts +5 -5
- package/dist/core/useUploadFiles/useUploadFiles.js +3 -3
- package/dist/core/useWorkspaceFile/useWorkspaceFile.d.ts +4 -4
- package/dist/core/useWorkspaceFile/useWorkspaceFile.js +2 -2
- package/dist/core/useWorkspaceSearch/useWorkspaceSearch.d.ts +2 -2
- package/dist/core/useWorkspaceSearch/useWorkspaceSearch.js +1 -1
- package/dist/editor.js +3 -3
- package/dist/hooks/useBrowserInfo/useBrowserInfo.js +1 -1
- package/dist/hooks/useDropdown/useDropdown.d.ts +1 -1
- package/dist/hooks/useDropdown/useDropdown.js +2 -2
- package/dist/hooks/useDropzone/useDropzone.js +2 -2
- package/dist/hooks/useToast/useToast.js +1 -1
- package/dist/index.js +142 -142
- package/dist/modals.js +14 -16
- package/dist/modules/audience/ReactionChoice.js +5 -5
- package/dist/modules/audience/ReactionModal.Card.js +1 -1
- package/dist/modules/audience/ReactionModal.js +4 -5
- package/dist/modules/audience/ReactionSummary.js +3 -3
- package/dist/modules/audience/ViewsCounter.js +3 -3
- package/dist/modules/audience/ViewsModal.js +4 -4
- package/dist/modules/audience/hooks/useReactions.d.ts +3 -5
- package/dist/modules/audience/hooks/useViews.d.ts +3 -3
- package/dist/modules/editor/components/BubbleMenuEditImage/BubbleMenuEditImage.js +3 -3
- package/dist/modules/editor/components/Editor/Editor.js +4 -4
- package/dist/modules/editor/components/Editor/MathsModal.d.ts +0 -1
- package/dist/modules/editor/components/Editor/MathsModal.js +3 -3
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.DropdownMenu.js +3 -3
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.Emoji.js +3 -3
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.HighlightColor.js +4 -4
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.PlusMenu.js +1 -1
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.TextColor.js +4 -4
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.TextSize.js +3 -3
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.Typography.js +3 -3
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.js +1 -1
- package/dist/modules/editor/components/NodeView/AttachmentNodeView.js +2 -2
- package/dist/modules/editor/components/NodeView/AudioNodeView.js +2 -2
- package/dist/modules/editor/components/NodeView/ImageNodeView.js +2 -2
- package/dist/modules/editor/components/NodeView/LinkerNodeView.js +2 -2
- package/dist/modules/editor/components/NodeView/VideoNodeView.js +2 -2
- package/dist/modules/editor/components/Renderer/AttachmentRenderer.js +2 -2
- package/dist/modules/editor/components/Renderer/LinkerRenderer.js +2 -2
- package/dist/modules/editor/components/Renderer/MediaRenderer.js +2 -2
- package/dist/modules/editor/components/Toolbar/LinkToolbar.d.ts +1 -1
- package/dist/modules/editor/components/Toolbar/LinkToolbar.js +5 -5
- package/dist/modules/editor/components/Toolbar/TableToolbar.AddMenu.js +2 -2
- package/dist/modules/editor/components/Toolbar/TableToolbar.CellColor.js +4 -4
- package/dist/modules/editor/components/Toolbar/TableToolbar.DelMenu.js +2 -2
- package/dist/modules/editor/components/Toolbar/TableToolbar.d.ts +1 -1
- package/dist/modules/editor/components/Toolbar/TableToolbar.js +6 -6
- package/dist/modules/editor/hooks/useImageModal.d.ts +1 -2
- package/dist/modules/modals/OnboardingModal/OnboardingModal.d.ts +0 -1
- package/dist/modules/modals/OnboardingModal/OnboardingModal.js +5 -5
- package/dist/modules/modals/PublishModal/PublishModal.js +8 -8
- package/dist/modules/modals/PublishModal/components/ActivitiesDropdown.js +1 -1
- package/dist/modules/modals/PublishModal/components/AgeSelect.js +1 -1
- package/dist/modules/modals/PublishModal/components/LangSelect.js +1 -1
- package/dist/modules/modals/PublishModal/components/PublishModalFooter.js +1 -1
- package/dist/modules/modals/PublishModal/components/SubjectsDropdown.js +1 -1
- package/dist/modules/modals/ResourceModal/ResourceModal.d.ts +1 -1
- package/dist/modules/modals/ResourceModal/ResourceModal.js +12 -11
- package/dist/modules/modals/ResourceModal/apps/BlogPublic.d.ts +1 -1
- package/dist/modules/modals/ResourceModal/apps/BlogPublic.js +8 -7
- package/dist/modules/modals/ResourceModal/hooks/useUpdateMutation.d.ts +1 -1
- package/dist/modules/modals/ResourceModal/hooks/useUpdateMutation.js +3 -2
- package/dist/modules/modals/ResourceModal/index.d.ts +3 -3
- package/dist/modules/modals/ShareModal/ShareBookmarkLine.d.ts +1 -1
- package/dist/modules/modals/ShareModal/apps/ShareBlog.d.ts +2 -1
- package/dist/modules/modals/ShareModal/apps/ShareBlog.js +3 -2
- package/dist/modules/modals/ShareModal/hooks/useShare.d.ts +2 -2
- package/dist/modules/modals/ShareModal/hooks/useShareMutation.d.ts +1 -1
- package/dist/modules/modals/ShareModal/hooks/useShareMutation.js +3 -2
- package/dist/modules/modals/ShareModal/index.d.ts +3 -3
- package/dist/modules/modals/ShareModal/utils/hasRight.d.ts +0 -1
- package/dist/modules/modals/ShareModal/utils/showShareRightLine.d.ts +0 -1
- package/dist/modules/multimedia/AudioRecorder/AudioRecorder.js +5 -5
- package/dist/modules/multimedia/Embed/Embed.js +4 -4
- package/dist/modules/multimedia/ImageEditor/components/ImageEditor.js +8 -8
- package/dist/modules/multimedia/ImageEditor/components/ImageEditorToolbar.js +1 -1
- package/dist/modules/multimedia/ImageEditor/hooks/useHistoryTool.js +36 -38
- package/dist/modules/multimedia/ImagePickerWorkspace/ImagePickerWorkspace.js +2 -2
- package/dist/modules/multimedia/Linker/ExternalLinker.js +9 -9
- package/dist/modules/multimedia/Linker/InternalLinker.js +6 -6
- package/dist/modules/multimedia/LinkerCard/LinkerCard.d.ts +1 -1
- package/dist/modules/multimedia/LinkerCard/LinkerCard.js +5 -4
- package/dist/modules/multimedia/LinkerCard/index.d.ts +0 -1
- package/dist/modules/multimedia/MediaLibrary/MediaLibrary.js +5 -5
- package/dist/modules/multimedia/MediaLibrary/MediaLibraryContext.d.ts +3 -3
- package/dist/modules/multimedia/MediaLibrary/innertabs/InternalLink.js +1 -1
- package/dist/modules/multimedia/MediaLibrary/innertabs/Upload.js +1 -1
- package/dist/modules/multimedia/MediaLibrary/innertabs/Workspace.js +2 -2
- package/dist/modules/multimedia/UploadFiles/UploadFiles.d.ts +1 -1
- package/dist/modules/multimedia/VideoEmbed/VideoEmbed.js +7 -7
- package/dist/modules/multimedia/VideoRecorder/VideoRecorder.js +7 -7
- package/dist/modules/multimedia/Workspace/Workspace.js +10 -10
- package/dist/multimedia.js +18 -18
- package/dist/portal/Header/Header.js +3 -3
- package/dist/portal/Header/NavLink.js +1 -1
- package/dist/portal/Help/Help.d.ts +0 -1
- package/dist/portal/Help/Help.js +1 -1
- package/dist/portal/Help/hooks/useHelp.js +1 -1
- package/dist/portal/Layout/Layout.js +4 -4
- package/dist/portal/SearchEngine/SearchEngine.js +2 -2
- package/dist/utils/fileSize.js +1 -1
- package/dist/widgets/BookmarkedApps/BookmarkedApps.js +2 -2
- package/package.json +19 -28
- package/dist/modules/modals/ShareModal/ShareBookmark.js +0 -22
- package/dist/modules/modals/ShareModal/ShareBookmarkLine.js +0 -42
- package/dist/modules/modals/ShareModal/ShareModal.js +0 -128
- package/dist/modules/modals/ShareModal/hooks/useSearch.js +0 -178
- package/dist/modules/modals/ShareModal/hooks/useShare.js +0 -192
- package/dist/modules/modals/ShareModal/hooks/useShareBookmark.js +0 -67
- package/dist/modules/modals/ShareModal/utils/hasRight.js +0 -4
- package/dist/modules/modals/ShareModal/utils/showShareRightLine.js +0 -4
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Edifice React
|
|
1
|
+
# Edifice React Library
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|

|
|
@@ -7,104 +7,33 @@
|
|
|
7
7
|
|
|
8
8
|
We follow [WAI ARIA](https://www.w3.org/WAI/ARIA/apg/patterns/) rules and [Bootstrap 5](https://getbootstrap.com/docs/5.0/components/accordion/) guidelines when making our components
|
|
9
9
|
|
|
10
|
-
###
|
|
10
|
+
### Install
|
|
11
11
|
|
|
12
|
-
```bash
|
|
13
|
-
pnpm run build
|
|
14
12
|
```
|
|
15
|
-
|
|
16
|
-
### Lint
|
|
17
|
-
|
|
18
|
-
```bash
|
|
19
|
-
pnpm run lint
|
|
13
|
+
pnpm add @edifice.io/react
|
|
20
14
|
```
|
|
21
15
|
|
|
22
|
-
|
|
16
|
+
### Modules
|
|
23
17
|
|
|
24
|
-
|
|
25
|
-
pnpm run fix
|
|
26
|
-
```
|
|
18
|
+
Optional modules are available as `sub-imports`. You can use them in specific applications:
|
|
27
19
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
pnpm run format
|
|
32
|
-
```
|
|
20
|
+
#### Audience
|
|
33
21
|
|
|
34
|
-
|
|
22
|
+
Module to track views or reactions on a resource in a specific application (e.g: Blog)
|
|
35
23
|
|
|
36
|
-
|
|
24
|
+
#### Editor
|
|
37
25
|
|
|
38
|
-
|
|
39
|
-
- Component file in PascalCase: `Button.tsx`
|
|
40
|
-
- Export types & interfaces inside Component file
|
|
41
|
-
- Stories file in PascalCase + `*.stories.tsx` : `Button.stories.tsx`
|
|
26
|
+
Rich Text Editor using Tiptap and our `multimedia` module.
|
|
42
27
|
|
|
43
|
-
|
|
44
|
-
src
|
|
45
|
-
-- ComponentFolder
|
|
46
|
-
-- Component.tsx
|
|
47
|
-
-- Component.stories.tsx
|
|
48
|
-
-- index.ts
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
- Re-export the Component inside his own `index` file: `index.ts`
|
|
52
|
-
- Export everything if Component has types & interfaces
|
|
53
|
-
|
|
54
|
-
```jsx
|
|
55
|
-
export { default as Component } from './Component';
|
|
56
|
-
export * from './Component';
|
|
57
|
-
```
|
|
28
|
+
#### Modals
|
|
58
29
|
|
|
59
|
-
|
|
30
|
+
- Onboarding Modal to greet user and give him some useful informations about an application.
|
|
31
|
+
- Publish Modal to publish a resource to the BPR application.
|
|
32
|
+
- Resource Modal can be used to create or edit information about a resource
|
|
33
|
+
- Share Modal allows a user to share one of his resource with specific roles to users
|
|
60
34
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
```jsx
|
|
64
|
-
/**
|
|
65
|
-
* Primary UI component for user interaction
|
|
66
|
-
*/
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
### Interface description
|
|
70
|
-
|
|
71
|
-
- Always document typescript types and interface with JSDoc syntax. Used by Storybook to generate documentation.
|
|
72
|
-
|
|
73
|
-
```jsx
|
|
74
|
-
// Interface description (e.g: TreeViewProps.tsx)
|
|
75
|
-
export interface ButtonProps {
|
|
76
|
-
/**
|
|
77
|
-
* Is this the principal call to action on the page?
|
|
78
|
-
*/
|
|
79
|
-
primary?: boolean;
|
|
80
|
-
/**
|
|
81
|
-
* What background color to use
|
|
82
|
-
*/
|
|
83
|
-
backgroundColor?: string;
|
|
84
|
-
/**
|
|
85
|
-
* How large should the button be?
|
|
86
|
-
*/
|
|
87
|
-
size?: "small" | "medium" | "large";
|
|
88
|
-
/**
|
|
89
|
-
* Button contents
|
|
90
|
-
*/
|
|
91
|
-
label: string;
|
|
92
|
-
/**
|
|
93
|
-
* Optional click handler
|
|
94
|
-
*/
|
|
95
|
-
onClick?: () => void;
|
|
96
|
-
}
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
### Index file inside `src` folder
|
|
100
|
-
|
|
101
|
-
- Entry point of this React Library.
|
|
102
|
-
- Import your component inside `index.ts` file.
|
|
103
|
-
|
|
104
|
-
```jsx
|
|
105
|
-
export * from './Button';
|
|
106
|
-
```
|
|
35
|
+
#### Multimedia
|
|
107
36
|
|
|
108
|
-
|
|
37
|
+
All our multimedia components to use in applications or in modules.
|
|
109
38
|
|
|
110
|
-
|
|
39
|
+
- Linker, AudioRecorder, VideoRecorder, Iframe, Embed component, ...
|
|
@@ -6,5 +6,5 @@ export interface ActionBarProps {
|
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
}
|
|
8
8
|
export type ActionBarType = React.FC<ActionBarProps>;
|
|
9
|
-
declare const ActionBar: import('react').ForwardRefExoticComponent<ActionBarProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
9
|
+
export declare const ActionBar: import('react').ForwardRefExoticComponent<ActionBarProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
10
10
|
export default ActionBar;
|
|
@@ -2,7 +2,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
const ActionBar = /* @__PURE__ */ forwardRef(({
|
|
4
4
|
children
|
|
5
|
-
}, ref) => /* @__PURE__ */ jsx("div", { ref, className: "actionbar", children }))
|
|
5
|
+
}, ref) => /* @__PURE__ */ jsx("div", { ref, className: "actionbar", children }));
|
|
6
6
|
export {
|
|
7
|
-
ActionBar
|
|
7
|
+
ActionBar,
|
|
8
|
+
ActionBar as default
|
|
8
9
|
};
|
|
@@ -56,5 +56,5 @@ export interface AlertProps extends ComponentPropsWithRef<'div'> {
|
|
|
56
56
|
*/
|
|
57
57
|
className?: string;
|
|
58
58
|
}
|
|
59
|
-
declare const Alert: import('react').ForwardRefExoticComponent<Omit<AlertProps, "ref"> & import('react').RefAttributes<AlertRef>>;
|
|
59
|
+
export declare const Alert: import('react').ForwardRefExoticComponent<Omit<AlertProps, "ref"> & import('react').RefAttributes<AlertRef>>;
|
|
60
60
|
export default Alert;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef, useState, useRef, useCallback, useImperativeHandle, useLayoutEffect, useEffect } from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
|
-
import Button from "../Button/Button.js";
|
|
5
|
+
import { Button } from "../Button/Button.js";
|
|
6
6
|
import { Icon } from "../Icon/Icon.js";
|
|
7
7
|
const Alert = /* @__PURE__ */ forwardRef(({
|
|
8
8
|
type = "success",
|
|
@@ -59,7 +59,7 @@ const Alert = /* @__PURE__ */ forwardRef(({
|
|
|
59
59
|
}, confirmClasses = {
|
|
60
60
|
"is-confirm": isConfirm
|
|
61
61
|
}, divContainerClasses = clsx("alert gap-12", mapping[type].classModifier, toastClasses, confirmClasses, position, className);
|
|
62
|
-
return
|
|
62
|
+
return isVisible ? /* @__PURE__ */ jsxs("div", { ref: refAlert, className: divContainerClasses, role: "alert", children: [
|
|
63
63
|
!isConfirm && mapping[type].icon,
|
|
64
64
|
/* @__PURE__ */ jsx("div", { className: "alert-content small", children }),
|
|
65
65
|
button && /* @__PURE__ */ jsxs("div", { className: "ms-12", children: [
|
|
@@ -71,8 +71,9 @@ const Alert = /* @__PURE__ */ forwardRef(({
|
|
|
71
71
|
autoClose && /* @__PURE__ */ jsx("div", { className: "alert-progress", style: {
|
|
72
72
|
transform: "scaleX(0)"
|
|
73
73
|
} })
|
|
74
|
-
] }) : null
|
|
75
|
-
})
|
|
74
|
+
] }) : null;
|
|
75
|
+
});
|
|
76
76
|
export {
|
|
77
|
-
Alert
|
|
77
|
+
Alert,
|
|
78
|
+
Alert as default
|
|
78
79
|
};
|
|
@@ -13,5 +13,5 @@ export interface AppHeaderProps extends ComponentPropsWithRef<'div'> {
|
|
|
13
13
|
*/
|
|
14
14
|
isFullscreen?: boolean;
|
|
15
15
|
}
|
|
16
|
-
declare const AppHeader: import('react').ForwardRefExoticComponent<Omit<AppHeaderProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
16
|
+
export declare const AppHeader: import('react').ForwardRefExoticComponent<Omit<AppHeaderProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
17
17
|
export default AppHeader;
|
|
@@ -16,7 +16,8 @@ const AppHeader = /* @__PURE__ */ forwardRef(({
|
|
|
16
16
|
children,
|
|
17
17
|
render ? /* @__PURE__ */ jsx("div", { className: "d-flex align-items-center ms-auto gap-8", children: render() }) : null
|
|
18
18
|
] });
|
|
19
|
-
})
|
|
19
|
+
});
|
|
20
20
|
export {
|
|
21
|
-
AppHeader
|
|
21
|
+
AppHeader,
|
|
22
|
+
AppHeader as default
|
|
22
23
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
-
import Image from "../Image/Image.js";
|
|
4
|
+
import { Image } from "../Image/Image.js";
|
|
5
5
|
import useOdeIcons from "../../core/useOdeIcons/useOdeIcons.js";
|
|
6
6
|
import usePaths from "../../core/usePaths/usePaths.js";
|
|
7
7
|
const AppIcon = /* @__PURE__ */ forwardRef(({
|
|
@@ -10,5 +10,5 @@ export interface AttachmentProps extends ComponentPropsWithRef<'div'> {
|
|
|
10
10
|
options: ReactNode | undefined;
|
|
11
11
|
}
|
|
12
12
|
export type AttachmentType = AttachmentProps;
|
|
13
|
-
declare const Attachment: import('react').ForwardRefExoticComponent<Omit<AttachmentProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export declare const Attachment: import('react').ForwardRefExoticComponent<Omit<AttachmentProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
14
14
|
export default Attachment;
|
|
@@ -9,7 +9,8 @@ const Attachment = /* @__PURE__ */ forwardRef(({
|
|
|
9
9
|
/* @__PURE__ */ jsx(Icon, { name: "paperclip", size: "22" }),
|
|
10
10
|
/* @__PURE__ */ jsx("div", { className: "filename text-truncate", children: name }),
|
|
11
11
|
options && /* @__PURE__ */ jsx("div", { className: "options ps-12", children: options })
|
|
12
|
-
] }))
|
|
12
|
+
] }));
|
|
13
13
|
export {
|
|
14
|
-
Attachment
|
|
14
|
+
Attachment,
|
|
15
|
+
Attachment as default
|
|
15
16
|
};
|
|
@@ -28,5 +28,5 @@ export interface AvatarProps extends React.ComponentPropsWithRef<'img'> {
|
|
|
28
28
|
*/
|
|
29
29
|
className?: string;
|
|
30
30
|
}
|
|
31
|
-
declare const Avatar: import('react').ForwardRefExoticComponent<Omit<AvatarProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
31
|
+
export declare const Avatar: import('react').ForwardRefExoticComponent<Omit<AvatarProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
32
32
|
export default Avatar;
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import usePaths from "../../core/usePaths/usePaths.js";
|
|
5
|
-
import Image from "../Image/Image.js";
|
|
5
|
+
import { Image } from "../Image/Image.js";
|
|
6
6
|
const Avatar = /* @__PURE__ */ forwardRef(({
|
|
7
7
|
variant = "square",
|
|
8
8
|
size = "md",
|
|
@@ -27,7 +27,8 @@ const Avatar = /* @__PURE__ */ forwardRef(({
|
|
|
27
27
|
}
|
|
28
28
|
}, className);
|
|
29
29
|
return /* @__PURE__ */ jsx("div", { ref, className: classes, children: /* @__PURE__ */ jsx(Image, { src: src || placeholder, alt, imgPlaceholder: placeholder, ...restProps }) });
|
|
30
|
-
})
|
|
30
|
+
});
|
|
31
31
|
export {
|
|
32
|
-
Avatar
|
|
32
|
+
Avatar,
|
|
33
|
+
Avatar as default
|
|
33
34
|
};
|
|
@@ -43,5 +43,5 @@ export interface BadgeProps extends React.ComponentPropsWithRef<'span'> {
|
|
|
43
43
|
/**
|
|
44
44
|
* Primary UI component for user interaction
|
|
45
45
|
*/
|
|
46
|
-
declare const Badge: import('react').ForwardRefExoticComponent<Omit<BadgeProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>>;
|
|
46
|
+
export declare const Badge: import('react').ForwardRefExoticComponent<Omit<BadgeProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>>;
|
|
47
47
|
export default Badge;
|
|
@@ -25,7 +25,8 @@ const Badge = /* @__PURE__ */ forwardRef(({
|
|
|
25
25
|
}
|
|
26
26
|
const classes = clsx("badge", getRadiusClass(), visibility === "always" && "position-absolute translate-middle p-8 d-inline", variant.type === "notification" && (!variant.color || variant.color === "background") && `bg-${variant.level} text-light`, variant.type === "notification" && variant.color === "text" && `text-${variant.level} bg-gray-200 border border-gray-400`, variant.type === "profile" && `badge-profile-${variant.profile}`, variant.type === "link" && "border border-secondary", className);
|
|
27
27
|
return /* @__PURE__ */ jsx("span", { ref, className: classes, ...restProps, children: variant.type === "link" ? /* @__PURE__ */ jsx("div", { className: "d-flex fw-800 align-items-center", children }) : children });
|
|
28
|
-
})
|
|
28
|
+
});
|
|
29
29
|
export {
|
|
30
|
-
Badge
|
|
30
|
+
Badge,
|
|
31
|
+
Badge as default
|
|
31
32
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
|
-
import Heading from "../Heading/Heading.js";
|
|
4
|
+
import { Heading } from "../Heading/Heading.js";
|
|
5
5
|
import BreadcrumbItem from "./BreadcrumbItem.js";
|
|
6
6
|
import BreadcrumbList from "./BreadcrumbList.js";
|
|
7
7
|
import BreadcrumbNav from "./BreadcrumbNav.js";
|
|
@@ -59,5 +59,5 @@ export interface ButtonProps extends React.ComponentPropsWithRef<'button'> {
|
|
|
59
59
|
/**
|
|
60
60
|
* Primary UI component for user interaction
|
|
61
61
|
*/
|
|
62
|
-
declare const Button: import('react').ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
62
|
+
export declare const Button: import('react').ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
63
63
|
export default Button;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
-
import Loading from "../Loading/Loading.js";
|
|
4
|
+
import { Loading } from "../Loading/Loading.js";
|
|
5
5
|
const Button = /* @__PURE__ */ forwardRef(({
|
|
6
6
|
color = "primary",
|
|
7
7
|
type = "button",
|
|
@@ -29,7 +29,8 @@ const Button = /* @__PURE__ */ forwardRef(({
|
|
|
29
29
|
children,
|
|
30
30
|
rightIcon
|
|
31
31
|
] }) });
|
|
32
|
-
})
|
|
32
|
+
});
|
|
33
33
|
export {
|
|
34
|
-
Button
|
|
34
|
+
Button,
|
|
35
|
+
Button as default
|
|
35
36
|
};
|
|
@@ -7,5 +7,5 @@ export interface IconButtonProps extends Omit<ButtonProps, OmittedProps> {
|
|
|
7
7
|
/**
|
|
8
8
|
* IconButton extends ButtonComponent.
|
|
9
9
|
*/
|
|
10
|
-
declare const IconButton: import('react').ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
10
|
+
export declare const IconButton: import('react').ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
11
11
|
export default IconButton;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
-
import Button from "./Button.js";
|
|
4
|
+
import { Button } from "./Button.js";
|
|
5
5
|
const IconButton = /* @__PURE__ */ forwardRef(({
|
|
6
6
|
icon,
|
|
7
7
|
className,
|
|
@@ -12,7 +12,8 @@ const IconButton = /* @__PURE__ */ forwardRef(({
|
|
|
12
12
|
className: clsx("btn-icon btn-sm", className)
|
|
13
13
|
};
|
|
14
14
|
return /* @__PURE__ */ jsx(Button, { ref, ...buttonProps, children: icon });
|
|
15
|
-
})
|
|
15
|
+
});
|
|
16
16
|
export {
|
|
17
|
-
IconButton
|
|
17
|
+
IconButton,
|
|
18
|
+
IconButton as default
|
|
18
19
|
};
|
|
@@ -17,5 +17,5 @@ export interface SearchButtonProps extends Pick<IconButtonProps, PickedProps> {
|
|
|
17
17
|
/**
|
|
18
18
|
* SearchButton extends the IconButton component by omitting unnecessary props.
|
|
19
19
|
*/
|
|
20
|
-
declare const SearchButton: import('react').ForwardRefExoticComponent<SearchButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
20
|
+
export declare const SearchButton: import('react').ForwardRefExoticComponent<SearchButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
21
21
|
export default SearchButton;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
-
import IconButton from "./IconButton.js";
|
|
4
|
+
import { IconButton } from "./IconButton.js";
|
|
5
5
|
import { Icon } from "../Icon/Icon.js";
|
|
6
6
|
const SearchButton = /* @__PURE__ */ forwardRef(({
|
|
7
7
|
icon = /* @__PURE__ */ jsx(Icon, { name: "search" }),
|
|
@@ -11,7 +11,8 @@ const SearchButton = /* @__PURE__ */ forwardRef(({
|
|
|
11
11
|
}, ref) => {
|
|
12
12
|
const classes = clsx("btn-search", className);
|
|
13
13
|
return /* @__PURE__ */ jsx(IconButton, { ref, className: classes, icon, onClick, ...restProps });
|
|
14
|
-
})
|
|
14
|
+
});
|
|
15
15
|
export {
|
|
16
|
-
SearchButton
|
|
16
|
+
SearchButton,
|
|
17
|
+
SearchButton as default
|
|
17
18
|
};
|
|
@@ -31,7 +31,7 @@ export interface CardProps {
|
|
|
31
31
|
*/
|
|
32
32
|
className?: string;
|
|
33
33
|
}
|
|
34
|
-
declare const Card: import('react').ForwardRefExoticComponent<CardProps & import('react').RefAttributes<HTMLDivElement>> & {
|
|
34
|
+
export declare const Card: import('react').ForwardRefExoticComponent<CardProps & import('react').RefAttributes<HTMLDivElement>> & {
|
|
35
35
|
Title: {
|
|
36
36
|
({ children, className, }: {
|
|
37
37
|
children: ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useCardContext } from "./CardContext.js";
|
|
3
|
-
import IconButton from "../Button/IconButton.js";
|
|
3
|
+
import { IconButton } from "../Button/IconButton.js";
|
|
4
4
|
import { Icon } from "../Icon/Icon.js";
|
|
5
5
|
const CardHeader = () => {
|
|
6
6
|
const {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { useCardContext } from "./CardContext.js";
|
|
4
|
-
import Image from "../Image/Image.js";
|
|
4
|
+
import { Image } from "../Image/Image.js";
|
|
5
5
|
import { AppIcon } from "../AppIcon/AppIcon.js";
|
|
6
6
|
const CardImage = ({
|
|
7
7
|
imageSrc,
|
|
@@ -17,5 +17,5 @@ export interface CheckboxProps extends React.InputHTMLAttributes<HTMLInputElemen
|
|
|
17
17
|
*/
|
|
18
18
|
indeterminate?: boolean;
|
|
19
19
|
}
|
|
20
|
-
declare const Checkbox: import('react').ForwardRefExoticComponent<CheckboxProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
20
|
+
export declare const Checkbox: import('react').ForwardRefExoticComponent<CheckboxProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
21
21
|
export default Checkbox;
|
|
@@ -29,7 +29,8 @@ const Checkbox = /* @__PURE__ */ forwardRef(({
|
|
|
29
29
|
/* @__PURE__ */ jsx("input", { ...inputProps }),
|
|
30
30
|
label && /* @__PURE__ */ jsx("label", { className: "form-check-label", htmlFor: inputProps.id, children: label })
|
|
31
31
|
] });
|
|
32
|
-
})
|
|
32
|
+
});
|
|
33
33
|
export {
|
|
34
|
-
Checkbox
|
|
34
|
+
Checkbox,
|
|
35
|
+
Checkbox as default
|
|
35
36
|
};
|
|
@@ -14,5 +14,5 @@ export interface ColorPickerProps extends ComponentPropsWithRef<'div'> {
|
|
|
14
14
|
*/
|
|
15
15
|
onSuccess?: (item: ColorPaletteItem) => void;
|
|
16
16
|
}
|
|
17
|
-
declare const ColorPicker: import('react').ForwardRefExoticComponent<Omit<ColorPickerProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
17
|
+
export declare const ColorPicker: import('react').ForwardRefExoticComponent<Omit<ColorPickerProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
18
18
|
export default ColorPicker;
|
|
@@ -3,8 +3,8 @@ import { forwardRef } from "react";
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import { DefaultPalette, AccessiblePalette } from "./ColorPalette.js";
|
|
6
|
-
import ColorPickerItem from "./ColorPickerItem.js";
|
|
7
|
-
import Tooltip from "../Tooltip/Tooltip.js";
|
|
6
|
+
import { ColorPickerItem } from "./ColorPickerItem.js";
|
|
7
|
+
import { Tooltip } from "../Tooltip/Tooltip.js";
|
|
8
8
|
import { Icon } from "../Icon/Icon.js";
|
|
9
9
|
const ColorPicker = /* @__PURE__ */ forwardRef(({
|
|
10
10
|
palettes = [DefaultPalette, AccessiblePalette],
|
|
@@ -31,7 +31,8 @@ const ColorPicker = /* @__PURE__ */ forwardRef(({
|
|
|
31
31
|
] }),
|
|
32
32
|
/* @__PURE__ */ jsx("div", { className: "color-picker-palette d-flex gap-2 justify-content-between", children: palette.colors.map((hues, hueIndex) => /* @__PURE__ */ jsx("div", { className: "color-picker-hue d-flex gap-2 justify-content-between flex-column ", children: hues.map((color) => /* @__PURE__ */ jsx("button", { "aria-label": color.description, className: "color-picker-hue-color", onClick: () => handleClick(color), children: /* @__PURE__ */ jsx(ColorPickerItem, { ...restProps, model: color, selected: model === color.value }) }, color.value)) }, hueIndex)) })
|
|
33
33
|
] }, paletteIdx)) });
|
|
34
|
-
})
|
|
34
|
+
});
|
|
35
35
|
export {
|
|
36
|
-
ColorPicker
|
|
36
|
+
ColorPicker,
|
|
37
|
+
ColorPicker as default
|
|
37
38
|
};
|
|
@@ -13,7 +13,7 @@ export interface ColorPickerItemProps {
|
|
|
13
13
|
*/
|
|
14
14
|
className?: string;
|
|
15
15
|
}
|
|
16
|
-
declare const ColorPickerItem: {
|
|
16
|
+
export declare const ColorPickerItem: {
|
|
17
17
|
({ model, selected, className, }: ColorPickerItemProps): import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
displayName: string;
|
|
19
19
|
};
|
|
@@ -7,7 +7,8 @@ const ColorPickerItem = ({
|
|
|
7
7
|
className
|
|
8
8
|
}) => model.isReset ? /* @__PURE__ */ jsx(Icon, { name: "delete-color" }) : /* @__PURE__ */ jsx("div", { "aria-label": model.description, className: clsx("color-picker-hue-color-item rounded-1", className, model.hue === "light" ? "light" : "dark", selected && "selected"), style: {
|
|
9
9
|
backgroundColor: model.value
|
|
10
|
-
} })
|
|
10
|
+
} });
|
|
11
11
|
export {
|
|
12
|
-
ColorPickerItem
|
|
12
|
+
ColorPickerItem,
|
|
13
|
+
ColorPickerItem as default
|
|
13
14
|
};
|
|
@@ -23,7 +23,7 @@ export interface OptionListItemType {
|
|
|
23
23
|
*/
|
|
24
24
|
icon?: any;
|
|
25
25
|
}
|
|
26
|
-
declare const Combobox: {
|
|
26
|
+
export declare const Combobox: {
|
|
27
27
|
({ onSearchResultsChange, onSearchInputChange, options, value, isLoading, noResult, searchMinLength, placeholder, }: ComboboxProps): import("react/jsx-runtime").JSX.Element;
|
|
28
28
|
Trigger: ({ placeholder, value, searchMinLength, handleSearchInputChange, }: import('./ComboboxTrigger').ComboboxTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
29
|
displayName: string;
|
|
@@ -2,8 +2,8 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState, useEffect, Fragment } from "react";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import ComboboxTrigger from "./ComboboxTrigger.js";
|
|
5
|
-
import Dropdown from "../Dropdown/Dropdown.js";
|
|
6
|
-
import Loading from "../Loading/Loading.js";
|
|
5
|
+
import { Dropdown } from "../Dropdown/Dropdown.js";
|
|
6
|
+
import { Loading } from "../Loading/Loading.js";
|
|
7
7
|
const Combobox = ({
|
|
8
8
|
onSearchResultsChange,
|
|
9
9
|
onSearchInputChange,
|
|
@@ -35,7 +35,7 @@ const Combobox = ({
|
|
|
35
35
|
] });
|
|
36
36
|
};
|
|
37
37
|
Combobox.Trigger = ComboboxTrigger;
|
|
38
|
-
const Combobox$1 = Combobox;
|
|
39
38
|
export {
|
|
40
|
-
Combobox
|
|
39
|
+
Combobox,
|
|
40
|
+
Combobox as default
|
|
41
41
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect } from "react";
|
|
3
3
|
import { useDropdownContext } from "../Dropdown/DropdownContext.js";
|
|
4
|
-
import Input from "../Input/Input.js";
|
|
5
|
-
import FormControl from "../Form/FormControl.js";
|
|
4
|
+
import { Input } from "../Input/Input.js";
|
|
5
|
+
import { FormControl } from "../Form/FormControl.js";
|
|
6
6
|
const ComboboxTrigger = ({
|
|
7
7
|
placeholder,
|
|
8
8
|
value = "",
|
|
@@ -52,7 +52,7 @@ export type DropdownMenuOptions = {
|
|
|
52
52
|
*/
|
|
53
53
|
type: 'divider';
|
|
54
54
|
};
|
|
55
|
-
declare const Dropdown: {
|
|
55
|
+
export declare const Dropdown: {
|
|
56
56
|
({ children, block, overflow, placement, extraTriggerKeyDownHandler, onToggle, isTriggerHovered, }: DropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
57
57
|
displayName: string;
|
|
58
58
|
} & {
|