@rocket.chat/fuselage 0.80.0 → 0.82.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Accordion/Accordion.d.ts +3 -0
- package/dist/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/components/AudioPlayer/AudioPlayer.d.ts +6 -3
- package/dist/components/AudioPlayer/AudioPlayer.d.ts.map +1 -1
- package/dist/components/AudioPlayer/AudioPlayerControls.d.ts +28 -0
- package/dist/components/AudioPlayer/AudioPlayerControls.d.ts.map +1 -0
- package/dist/components/AudioPlayer/index.d.ts +1 -0
- package/dist/components/AudioPlayer/index.d.ts.map +1 -1
- package/dist/components/AutoComplete/AutoComplete.d.ts +6 -4
- package/dist/components/AutoComplete/AutoComplete.d.ts.map +1 -1
- package/dist/components/Badge/Badge.d.ts +3 -0
- package/dist/components/Badge/Badge.d.ts.map +1 -1
- package/dist/components/Box/Box.d.ts +6 -3
- package/dist/components/Box/Box.d.ts.map +1 -1
- package/dist/components/Box/StylingBox.d.ts +6 -0
- package/dist/components/Box/StylingBox.d.ts.map +1 -1
- package/dist/components/Button/Button.d.ts +7 -20
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/IconButton.d.ts +1 -10
- package/dist/components/Button/IconButton.d.ts.map +1 -1
- package/dist/components/Button/index.d.ts +0 -1
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +6 -10
- package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +1 -1
- package/dist/components/Callout/Callout.d.ts +3 -0
- package/dist/components/Callout/Callout.d.ts.map +1 -1
- package/dist/components/CheckBox/CheckBox.d.ts +3 -6
- package/dist/components/CheckBox/CheckBox.d.ts.map +1 -1
- package/dist/components/CodeSnippet/CodeSnippet.d.ts +7 -0
- package/dist/components/CodeSnippet/CodeSnippet.d.ts.map +1 -1
- package/dist/components/Contextualbar/Contextualbar.d.ts +7 -2
- package/dist/components/Contextualbar/Contextualbar.d.ts.map +1 -1
- package/dist/components/Contextualbar/ContextualbarContent.d.ts +4 -2
- package/dist/components/Contextualbar/ContextualbarContent.d.ts.map +1 -1
- package/dist/components/Contextualbar/ContextualbarEmptyContent.d.ts +4 -6
- package/dist/components/Contextualbar/ContextualbarEmptyContent.d.ts.map +1 -1
- package/dist/components/Contextualbar/ContextualbarFooter.d.ts +4 -2
- package/dist/components/Contextualbar/ContextualbarFooter.d.ts.map +1 -1
- package/dist/components/Contextualbar/ContextualbarSection.d.ts +4 -2
- package/dist/components/Contextualbar/ContextualbarSection.d.ts.map +1 -1
- package/dist/components/ContextualbarV2/Contextualbar.d.ts +7 -2
- package/dist/components/ContextualbarV2/Contextualbar.d.ts.map +1 -1
- package/dist/components/ContextualbarV2/ContextualbarContent.d.ts +4 -2
- package/dist/components/ContextualbarV2/ContextualbarContent.d.ts.map +1 -1
- package/dist/components/ContextualbarV2/ContextualbarEmptyContent.d.ts +2 -5
- package/dist/components/ContextualbarV2/ContextualbarEmptyContent.d.ts.map +1 -1
- package/dist/components/ContextualbarV2/ContextualbarFooter.d.ts +4 -2
- package/dist/components/ContextualbarV2/ContextualbarFooter.d.ts.map +1 -1
- package/dist/components/ContextualbarV2/ContextualbarSection.d.ts +4 -2
- package/dist/components/ContextualbarV2/ContextualbarSection.d.ts.map +1 -1
- package/dist/components/Dropdown/Dropdown.d.ts +3 -3
- package/dist/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/components/Dropdown/DropdownDesktop.d.ts +3 -3
- package/dist/components/Dropdown/DropdownDesktop.d.ts.map +1 -1
- package/dist/components/Dropdown/DropdownDesktopWrapper.d.ts +3 -3
- package/dist/components/Dropdown/DropdownDesktopWrapper.d.ts.map +1 -1
- package/dist/components/Dropdown/DropdownMobile.d.ts +3 -3
- package/dist/components/Dropdown/DropdownMobile.d.ts.map +1 -1
- package/dist/components/EmailInput/EmailInput.d.ts +5 -9
- package/dist/components/EmailInput/EmailInput.d.ts.map +1 -1
- package/dist/components/Field/Field.d.ts +3 -0
- package/dist/components/Field/Field.d.ts.map +1 -1
- package/dist/components/Field/FieldLabel.d.ts +1 -5
- package/dist/components/Field/FieldLabel.d.ts.map +1 -1
- package/dist/components/FieldGroup/FieldGroup.d.ts +3 -0
- package/dist/components/FieldGroup/FieldGroup.d.ts.map +1 -1
- package/dist/components/Flex/index.d.ts +0 -6
- package/dist/components/Flex/index.d.ts.map +1 -1
- package/dist/components/Icon/Icon.d.ts +3 -5
- package/dist/components/Icon/Icon.d.ts.map +1 -1
- package/dist/components/InputBox/Input.d.ts +3 -2
- package/dist/components/InputBox/Input.d.ts.map +1 -1
- package/dist/components/InputBox/InputBox.d.ts +9 -15
- package/dist/components/InputBox/InputBox.d.ts.map +1 -1
- package/dist/components/InputBox/InputBoxAddon.d.ts +6 -2
- package/dist/components/InputBox/InputBoxAddon.d.ts.map +1 -1
- package/dist/components/Label/Label.d.ts +6 -8
- package/dist/components/Label/Label.d.ts.map +1 -1
- package/dist/components/Margins/Margins.d.ts +3 -0
- package/dist/components/Margins/Margins.d.ts.map +1 -1
- package/dist/components/Menu/Menu.d.ts +3 -0
- package/dist/components/Menu/Menu.d.ts.map +1 -1
- package/dist/components/Menu/MenuOption.d.ts +4 -4
- package/dist/components/Menu/MenuOption.d.ts.map +1 -1
- package/dist/components/Message/Message.d.ts +3 -11
- package/dist/components/Message/Message.d.ts.map +1 -1
- package/dist/components/Message/MessageBlock.d.ts +4 -5
- package/dist/components/Message/MessageBlock.d.ts.map +1 -1
- package/dist/components/Message/MessageNameContainer.d.ts +3 -3
- package/dist/components/Message/MessageNameContainer.d.ts.map +1 -1
- package/dist/components/Message/MessageReactions/MessageReaction.d.ts +3 -8
- package/dist/components/Message/MessageReactions/MessageReaction.d.ts.map +1 -1
- package/dist/components/Message/MessageReactions/MessageReactions.d.ts +3 -3
- package/dist/components/Message/MessageReactions/MessageReactions.d.ts.map +1 -1
- package/dist/components/Message/MessageStatusIndicator/MessageStatusIndicator.d.ts +3 -3
- package/dist/components/Message/MessageStatusIndicator/MessageStatusIndicator.d.ts.map +1 -1
- package/dist/components/Message/MessageToolbar/MessageToolbar.d.ts +1 -8
- package/dist/components/Message/MessageToolbar/MessageToolbar.d.ts.map +1 -1
- package/dist/components/Message/MessageToolbar/MessageToolbarItem.d.ts +3 -11
- package/dist/components/Message/MessageToolbar/MessageToolbarItem.d.ts.map +1 -1
- package/dist/components/Message/MessageToolbar/MessageToolbarWrapper.d.ts +3 -5
- package/dist/components/Message/MessageToolbar/MessageToolbarWrapper.d.ts.map +1 -1
- package/dist/components/Modal/Modal.d.ts +4 -7
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/MultiSelect/MultiSelect.d.ts +9 -24
- package/dist/components/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/components/MultiSelect/MultiSelectAnchor.d.ts +4 -3
- package/dist/components/MultiSelect/MultiSelectAnchor.d.ts.map +1 -1
- package/dist/components/MultiSelect/MultiSelectFiltered.d.ts +1 -25
- package/dist/components/MultiSelect/MultiSelectFiltered.d.ts.map +1 -1
- package/dist/components/MultiSelect/MultiSelectFilteredAnchor.d.ts +3 -15
- package/dist/components/MultiSelect/MultiSelectFilteredAnchor.d.ts.map +1 -1
- package/dist/components/MultiSelect/MultiSelectFilteredContext.d.ts +7 -0
- package/dist/components/MultiSelect/MultiSelectFilteredContext.d.ts.map +1 -0
- package/dist/components/NavBar/NavBarGroup.d.ts +1 -8
- package/dist/components/NavBar/NavBarGroup.d.ts.map +1 -1
- package/dist/components/NavBar/NavBarItem.d.ts +3 -3
- package/dist/components/NavBar/NavBarItem.d.ts.map +1 -1
- package/dist/components/NavBar/NavBarSection.d.ts.map +1 -1
- package/dist/components/NumberInput/NumberInput.d.ts +5 -2
- package/dist/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/components/Option/Option.d.ts +9 -6
- package/dist/components/Option/Option.d.ts.map +1 -1
- package/dist/components/Options/OptionContainer.d.ts +3 -2
- package/dist/components/Options/OptionContainer.d.ts.map +1 -1
- package/dist/components/Options/OptionType.d.ts +15 -1
- package/dist/components/Options/OptionType.d.ts.map +1 -1
- package/dist/components/Options/Options.d.ts +8 -5
- package/dist/components/Options/Options.d.ts.map +1 -1
- package/dist/components/OptionsPaginated/OptionsPaginated.d.ts +9 -26
- package/dist/components/OptionsPaginated/OptionsPaginated.d.ts.map +1 -1
- package/dist/components/PaginatedSelect/PaginatedMultiSelect.d.ts.map +1 -1
- package/dist/components/PaginatedSelect/PaginatedMultiSelectFiltered.d.ts.map +1 -1
- package/dist/components/PaginatedSelect/PaginatedSelectFiltered.d.ts +2 -1
- package/dist/components/PaginatedSelect/PaginatedSelectFiltered.d.ts.map +1 -1
- package/dist/components/PaginatedSelect/PaginatedSelectWrapper.d.ts +3 -1
- package/dist/components/PaginatedSelect/PaginatedSelectWrapper.d.ts.map +1 -1
- package/dist/components/PaletteStyleTag/PaletteStyleTag.d.ts +19 -0
- package/dist/components/PaletteStyleTag/PaletteStyleTag.d.ts.map +1 -1
- package/dist/components/PasswordInput/PasswordInput.d.ts +2 -2
- package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -1
- package/dist/components/{Position → PositionAnimated}/Position.d.ts +2 -2
- package/dist/components/PositionAnimated/Position.d.ts.map +1 -0
- package/dist/components/PositionAnimated/PositionAnimated.d.ts +9 -3
- package/dist/components/PositionAnimated/PositionAnimated.d.ts.map +1 -1
- package/dist/components/ProgressBar/ProgressBar.d.ts +6 -9
- package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -1
- package/dist/components/RadioButton/RadioButton.d.ts +3 -5
- package/dist/components/RadioButton/RadioButton.d.ts.map +1 -1
- package/dist/components/Scrollable/Scrollable.d.ts +3 -0
- package/dist/components/Scrollable/Scrollable.d.ts.map +1 -1
- package/dist/components/SearchInput/SearchInput.d.ts +5 -9
- package/dist/components/SearchInput/SearchInput.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts +6 -10
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/SelectAddon.d.ts +3 -1
- package/dist/components/Select/SelectAddon.d.ts.map +1 -1
- package/dist/components/Select/SelectAria.d.ts +3 -9
- package/dist/components/Select/SelectAria.d.ts.map +1 -1
- package/dist/components/Select/SelectFiltered.d.ts +3 -20
- package/dist/components/Select/SelectFiltered.d.ts.map +1 -1
- package/dist/components/Select/SelectFilteredAnchor.d.ts +3 -13
- package/dist/components/Select/SelectFilteredAnchor.d.ts.map +1 -1
- package/dist/components/Select/SelectFilteredContext.d.ts +7 -0
- package/dist/components/Select/SelectFilteredContext.d.ts.map +1 -0
- package/dist/components/Select/SelectFocus.d.ts +3 -1
- package/dist/components/Select/SelectFocus.d.ts.map +1 -1
- package/dist/components/Select/SelectLegacy.d.ts +3 -16
- package/dist/components/Select/SelectLegacy.d.ts.map +1 -1
- package/dist/components/Select/SelectTrigger.d.ts +5 -3
- package/dist/components/Select/SelectTrigger.d.ts.map +1 -1
- package/dist/components/Sidebar/Item.d.ts +6 -29
- package/dist/components/Sidebar/Item.d.ts.map +1 -1
- package/dist/components/Sidebar/Section.d.ts +1 -3
- package/dist/components/Sidebar/Section.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.d.ts +1 -56
- package/dist/components/Sidebar/Sidebar.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarActions.d.ts +4 -19
- package/dist/components/Sidebar/SidebarActions.d.ts.map +1 -1
- package/dist/components/Sidebar/TopBar/TopBar.d.ts +3 -0
- package/dist/components/Sidebar/TopBar/TopBar.d.ts.map +1 -1
- package/dist/components/Sidebar/TopBar/TopBarAction.d.ts +4 -10
- package/dist/components/Sidebar/TopBar/TopBarAction.d.ts.map +1 -1
- package/dist/components/Sidebar/TopBar/TopBarActions.d.ts +4 -8
- package/dist/components/Sidebar/TopBar/TopBarActions.d.ts.map +1 -1
- package/dist/components/Sidebar/TopBar/index.d.ts +0 -29
- package/dist/components/Sidebar/TopBar/index.d.ts.map +1 -1
- package/dist/components/Sidebar/index.d.ts +1 -1
- package/dist/components/Sidebar/index.d.ts.map +1 -1
- package/dist/components/SidebarV2/Sidebar.d.ts +4 -6
- package/dist/components/SidebarV2/Sidebar.d.ts.map +1 -1
- package/dist/components/SidebarV2/SidebarAction.d.ts +3 -11
- package/dist/components/SidebarV2/SidebarAction.d.ts.map +1 -1
- package/dist/components/SidebarV2/SidebarActions.d.ts +1 -8
- package/dist/components/SidebarV2/SidebarActions.d.ts.map +1 -1
- package/dist/components/SidebarV2/SidebarCollapseGroup.d.ts +5 -3
- package/dist/components/SidebarV2/SidebarCollapseGroup.d.ts.map +1 -1
- package/dist/components/SidebarV2/SidebarItem/SidebarListItem.d.ts +5 -3
- package/dist/components/SidebarV2/SidebarItem/SidebarListItem.d.ts.map +1 -1
- package/dist/components/Sidepanel/SidepanelList.d.ts +3 -3
- package/dist/components/Sidepanel/SidepanelList.d.ts.map +1 -1
- package/dist/components/Sidepanel/SidepanelListItem.d.ts +3 -3
- package/dist/components/Sidepanel/SidepanelListItem.d.ts.map +1 -1
- package/dist/components/Slider/Slider.d.ts +20 -4
- package/dist/components/Slider/Slider.d.ts.map +1 -1
- package/dist/components/StatusBullet/StatusBullet.d.ts +3 -0
- package/dist/components/StatusBullet/StatusBullet.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.d.ts +3 -6
- package/dist/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/components/Tabs/TabsItem.d.ts +3 -5
- package/dist/components/Tabs/TabsItem.d.ts.map +1 -1
- package/dist/components/Tag/Tag.d.ts +3 -0
- package/dist/components/Tag/Tag.d.ts.map +1 -1
- package/dist/components/TextAreaInput/TextAreaInput.d.ts +5 -9
- package/dist/components/TextAreaInput/TextAreaInput.d.ts.map +1 -1
- package/dist/components/TextInput/TextInput.d.ts +5 -9
- package/dist/components/TextInput/TextInput.d.ts.map +1 -1
- package/dist/components/Throbber/Throbber.d.ts +6 -6
- package/dist/components/Throbber/Throbber.d.ts.map +1 -1
- package/dist/components/Tile/Tile.d.ts +3 -2
- package/dist/components/Tile/Tile.d.ts.map +1 -1
- package/dist/components/ToastBar/ToastBar.d.ts +3 -0
- package/dist/components/ToastBar/ToastBar.d.ts.map +1 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.d.ts +3 -5
- package/dist/components/ToggleSwitch/ToggleSwitch.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +3 -5
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/UrlInput/UrlInput.d.ts +2 -2
- package/dist/components/UrlInput/UrlInput.d.ts.map +1 -1
- package/dist/components/index.d.ts +0 -3
- package/dist/components/index.d.ts.map +1 -1
- package/dist/fuselage.css.map +1 -1
- package/dist/fuselage.development.js +629 -718
- package/dist/fuselage.development.js.map +1 -1
- package/dist/fuselage.production.js +15 -15
- package/dist/helpers/composeClassNames.d.ts +32 -0
- package/dist/helpers/composeClassNames.d.ts.map +1 -1
- package/dist/helpers/exhaustiveCheck.d.ts +27 -0
- package/dist/helpers/exhaustiveCheck.d.ts.map +1 -1
- package/dist/styleTokens.d.ts +1 -0
- package/dist/styleTokens.d.ts.map +1 -1
- package/package.json +5 -5
- package/dist/components/Button/ActionButton.d.ts +0 -31
- package/dist/components/Button/ActionButton.d.ts.map +0 -1
- package/dist/components/Position/Position.d.ts.map +0 -1
- package/dist/components/Position/index.d.ts +0 -2
- package/dist/components/Position/index.d.ts.map +0 -1
- package/dist/components/SelectInput/SelectInput.d.ts +0 -17
- package/dist/components/SelectInput/SelectInput.d.ts.map +0 -1
- package/dist/components/SelectInput/SelectInputOption.d.ts +0 -5
- package/dist/components/SelectInput/SelectInputOption.d.ts.map +0 -1
- package/dist/components/SelectInput/SelectInputPlaceholder.d.ts +0 -5
- package/dist/components/SelectInput/SelectInputPlaceholder.d.ts.map +0 -1
- package/dist/components/SelectInput/index.d.ts +0 -3
- package/dist/components/SelectInput/index.d.ts.map +0 -1
- package/dist/components/TelephoneInput/TelephoneInput.d.ts +0 -14
- package/dist/components/TelephoneInput/TelephoneInput.d.ts.map +0 -1
- package/dist/components/TelephoneInput/index.d.ts +0 -2
- package/dist/components/TelephoneInput/index.d.ts.map +0 -1
- package/dist/helpers/isForwardRefType.d.ts +0 -3
- package/dist/helpers/isForwardRefType.d.ts.map +0 -1
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
1
|
+
import type { UsePositionOptions } from '@rocket.chat/fuselage-hooks';
|
|
2
|
+
import type { ReactElement, RefObject } from 'react';
|
|
3
|
+
import type { BoxProps } from '../Box';
|
|
4
|
+
export type PositionAnimatedProps = Omit<BoxProps, 'children' | 'margin'> & {
|
|
5
|
+
anchor: RefObject<Element | null>;
|
|
6
|
+
children: ReactElement<any>;
|
|
7
|
+
margin?: number;
|
|
8
|
+
placement?: UsePositionOptions['placement'];
|
|
3
9
|
visible?: 'hidden' | 'visible' | 'hiding' | 'unhiding';
|
|
4
|
-
}
|
|
10
|
+
};
|
|
5
11
|
declare const PositionAnimated: ({ width: _width, visible, children, ...props }: PositionAnimatedProps) => import("react").JSX.Element;
|
|
6
12
|
export default PositionAnimated;
|
|
7
13
|
//# sourceMappingURL=PositionAnimated.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PositionAnimated.d.ts","sourceRoot":"","sources":["../../../src/components/PositionAnimated/PositionAnimated.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PositionAnimated.d.ts","sourceRoot":"","sources":["../../../src/components/PositionAnimated/PositionAnimated.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAIvC,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,QAAQ,CAAC,GAAG;IAC1E,MAAM,EAAE,SAAS,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IAClC,QAAQ,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC5C,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;CACxD,CAAC;AAEF,QAAA,MAAM,gBAAgB,GAAI,gDAKvB,qBAAqB,gCAIvB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import type { AllHTMLAttributes } from 'react';
|
|
2
|
-
export type ProgressBarProps = {
|
|
1
|
+
import type { AllHTMLAttributes, RefAttributes } from 'react';
|
|
2
|
+
export type ProgressBarProps = RefAttributes<unknown> & {
|
|
3
3
|
percentage: number;
|
|
4
4
|
variant?: 'info' | 'success' | 'warning' | 'danger';
|
|
5
5
|
error?: string;
|
|
6
6
|
animated?: boolean;
|
|
7
7
|
light?: boolean;
|
|
8
8
|
} & Omit<AllHTMLAttributes<HTMLElement>, 'is'>;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
animated?: boolean;
|
|
14
|
-
light?: boolean;
|
|
15
|
-
} & Omit<AllHTMLAttributes<HTMLElement>, "is"> & import("react").RefAttributes<unknown>>;
|
|
9
|
+
/**
|
|
10
|
+
* The `ProgressBar` is used to inform the user the progress of an operation.
|
|
11
|
+
*/
|
|
12
|
+
declare function ProgressBar({ percentage, variant, error, animated, light, ...props }: ProgressBarProps): import("react").JSX.Element;
|
|
16
13
|
export default ProgressBar;
|
|
17
14
|
//# sourceMappingURL=ProgressBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../src/components/ProgressBar/ProgressBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../src/components/ProgressBar/ProgressBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AA+B9D,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,OAAO,CAAC,GAAG;IACtD,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,CAAC;AAE/C;;GAEG;AACH,iBAAS,WAAW,CAAC,EACnB,UAAU,EACV,OAAgB,EAChB,KAAK,EACL,QAAQ,EACR,KAAa,EACb,GAAG,KAAK,EACT,EAAE,gBAAgB,+BAgBlB;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import type { AllHTMLAttributes, ReactNode } from 'react';
|
|
1
|
+
import type { AllHTMLAttributes, ReactNode, RefAttributes } from 'react';
|
|
2
2
|
import { type BoxProps } from '../Box';
|
|
3
|
-
export type RadioButtonProps = BoxProps & AllHTMLAttributes<HTMLInputElement> & {
|
|
3
|
+
export type RadioButtonProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLInputElement> & AllHTMLAttributes<HTMLInputElement> & {
|
|
4
4
|
labelChildren?: ReactNode;
|
|
5
5
|
};
|
|
6
|
-
declare
|
|
7
|
-
labelChildren?: ReactNode;
|
|
8
|
-
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
6
|
+
declare function RadioButton({ className, labelChildren, ...props }: RadioButtonProps): import("react").JSX.Element;
|
|
9
7
|
export default RadioButton;
|
|
10
8
|
//# sourceMappingURL=RadioButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioButton.d.ts","sourceRoot":"","sources":["../../../src/components/RadioButton/RadioButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"RadioButton.d.ts","sourceRoot":"","sources":["../../../src/components/RadioButton/RadioButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEzE,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GAClD,aAAa,CAAC,gBAAgB,CAAC,GAC/B,iBAAiB,CAAC,gBAAgB,CAAC,GAAG;IACpC,aAAa,CAAC,EAAE,SAAS,CAAC;CAC3B,CAAC;AAEJ,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,aAAa,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,+BAQ5E;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -7,6 +7,9 @@ export type ScrollableProps = PropsWithChildren<{
|
|
|
7
7
|
top: boolean;
|
|
8
8
|
}) => void;
|
|
9
9
|
}>;
|
|
10
|
+
/**
|
|
11
|
+
* Add scroll capability to the wrapped component.
|
|
12
|
+
*/
|
|
10
13
|
declare const Scrollable: ({ children, horizontal, vertical, smooth, onScrollContent, }: ScrollableProps) => import("react").JSX.Element;
|
|
11
14
|
export default Scrollable;
|
|
12
15
|
//# sourceMappingURL=Scrollable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Scrollable.d.ts","sourceRoot":"","sources":["../../../src/components/Scrollable/Scrollable.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAyB,MAAM,OAAO,CAAC;AAOtE,MAAM,MAAM,eAAe,GAAG,iBAAiB,CAAC;IAC9C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE;QAAE,GAAG,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAC;CACxD,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"Scrollable.d.ts","sourceRoot":"","sources":["../../../src/components/Scrollable/Scrollable.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAyB,MAAM,OAAO,CAAC;AAOtE,MAAM,MAAM,eAAe,GAAG,iBAAiB,CAAC;IAC9C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,CAAC,QAAQ,EAAE;QAAE,GAAG,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAC;CACxD,CAAC,CAAC;AA8BH;;GAEG;AACH,QAAA,MAAM,UAAU,GAAI,8DAMjB,eAAe,gCAuFjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
1
|
import { type InputBoxProps } from '../InputBox';
|
|
3
|
-
export type SearchInputProps = Omit<InputBoxProps
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
declare
|
|
8
|
-
addon?: ReactNode;
|
|
9
|
-
error?: string;
|
|
10
|
-
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
2
|
+
export type SearchInputProps = Omit<InputBoxProps<HTMLInputElement>, 'type'>;
|
|
3
|
+
/**
|
|
4
|
+
* An input for search queries.
|
|
5
|
+
*/
|
|
6
|
+
declare function SearchInput(props: SearchInputProps): import("react").JSX.Element;
|
|
11
7
|
export default SearchInput;
|
|
12
8
|
//# sourceMappingURL=SearchInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../src/components/SearchInput/SearchInput.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../src/components/SearchInput/SearchInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,aAAa,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,CAAC;AAE7E;;GAEG;AACH,iBAAS,WAAW,CAAC,KAAK,EAAE,gBAAgB,+BAE3C;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AriaSelectProps } from '@react-types/select';
|
|
2
|
-
import type { AllHTMLAttributes, Key } from 'react';
|
|
2
|
+
import type { AllHTMLAttributes, Key, RefAttributes } from 'react';
|
|
3
3
|
import type { SelectOption } from './SelectLegacy';
|
|
4
|
-
export type SelectProps<T, V extends Key> = Omit<AriaSelectProps<T>, 'value' | 'onChange' | 'children'> & {
|
|
4
|
+
export type SelectProps<T, V extends Key> = Omit<AriaSelectProps<T>, 'value' | 'onChange' | 'children'> & RefAttributes<HTMLElement> & {
|
|
5
5
|
error?: string;
|
|
6
6
|
placeholder?: string;
|
|
7
7
|
value?: V | null;
|
|
@@ -9,13 +9,9 @@ export type SelectProps<T, V extends Key> = Omit<AriaSelectProps<T>, 'value' | '
|
|
|
9
9
|
options: SelectOption[];
|
|
10
10
|
small?: boolean;
|
|
11
11
|
} & Omit<AllHTMLAttributes<HTMLElement>, 'value' | 'onChange'>;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
onChange?: ((key: Key) => any) | undefined;
|
|
17
|
-
options: SelectOption[];
|
|
18
|
-
small?: boolean;
|
|
19
|
-
} & Omit<AllHTMLAttributes<HTMLElement>, "value" | "onChange"> & import("react").RefAttributes<HTMLElement>>;
|
|
12
|
+
/**
|
|
13
|
+
* An input for selection of options.
|
|
14
|
+
*/
|
|
15
|
+
declare function Select<T, V extends Key>({ options, ref, ...props }: SelectProps<T, V>): import("react").JSX.Element;
|
|
20
16
|
export default Select;
|
|
21
17
|
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,GAAG,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAKnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,WAAW,CAAC,CAAC,EAAE,CAAC,SAAS,GAAG,IAAI,IAAI,CAC9C,eAAe,CAAC,CAAC,CAAC,EAClB,OAAO,GAAG,UAAU,GAAG,UAAU,CAClC,GACC,aAAa,CAAC,WAAW,CAAC,GAAG;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;IACjB,QAAQ,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK,GAAG,CAAC,GAAG,SAAS,CAAC;IACzC,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC;AAEjE;;GAEG;AACH,iBAAS,MAAM,CAAC,CAAC,EAAE,CAAC,SAAS,GAAG,EAAE,EAChC,OAAO,EACP,GAAG,EACH,GAAG,KAAK,EACT,EAAE,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,+BAcnB;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import type { RefAttributes } from 'react';
|
|
1
2
|
import { type BoxProps } from '../Box';
|
|
2
|
-
|
|
3
|
+
type AddonProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLDivElement>;
|
|
4
|
+
declare function SelectAddon(props: AddonProps): import("react").JSX.Element;
|
|
3
5
|
export default SelectAddon;
|
|
4
6
|
//# sourceMappingURL=SelectAddon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectAddon.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectAddon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SelectAddon.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectAddon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,KAAK,UAAU,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC;AAExE,iBAAS,WAAW,CAAC,KAAK,EAAE,UAAU,+BAErC;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
import type { AriaSelectProps } from '@react-types/select';
|
|
2
|
-
import type { AllHTMLAttributes, Key } from 'react';
|
|
2
|
+
import type { AllHTMLAttributes, Key, RefAttributes } from 'react';
|
|
3
3
|
export { Item } from 'react-stately';
|
|
4
|
-
export type SelectAriaProps<T extends object> = AriaSelectProps<T> & {
|
|
4
|
+
export type SelectAriaProps<T extends object> = AriaSelectProps<T> & RefAttributes<HTMLElement> & {
|
|
5
5
|
error?: string;
|
|
6
6
|
placeholder?: string;
|
|
7
7
|
value?: Key | null;
|
|
8
8
|
onChange?: (key: Key) => void;
|
|
9
9
|
small?: boolean;
|
|
10
10
|
} & AllHTMLAttributes<HTMLElement>;
|
|
11
|
-
export declare
|
|
12
|
-
error?: string;
|
|
13
|
-
placeholder?: string;
|
|
14
|
-
value?: Key | null;
|
|
15
|
-
onChange?: (key: Key) => void;
|
|
16
|
-
small?: boolean;
|
|
17
|
-
} & AllHTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>;
|
|
11
|
+
export declare function SelectAria({ ref: outerRef, error, placeholder, value, onChange, small, isDisabled: isDisabledProps, disabled, id, ...props }: SelectAriaProps<object>): import("react").JSX.Element;
|
|
18
12
|
//# sourceMappingURL=SelectAria.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectAria.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectAria.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SelectAria.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectAria.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,GAAG,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAYnE,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAErC,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,MAAM,IAAI,eAAe,CAAC,CAAC,CAAC,GAChE,aAAa,CAAC,WAAW,CAAC,GAAG;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;IAC9B,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,GAAG,iBAAiB,CAAC,WAAW,CAAC,CAAC;AAErC,wBAAgB,UAAU,CAAC,EACzB,GAAG,EAAE,QAAQ,EACb,KAAK,EACL,WAAW,EACX,KAAK,EACL,QAAQ,EACR,KAAK,EACL,UAAU,EAAE,eAAe,EAC3B,QAAQ,EACR,EAAE,EACF,GAAG,KAAK,EACT,EAAE,eAAe,CAAC,MAAM,CAAC,+BAyEzB"}
|
|
@@ -1,28 +1,11 @@
|
|
|
1
1
|
import type { Dispatch, SetStateAction } from 'react';
|
|
2
2
|
import type { IconProps } from '..';
|
|
3
|
-
import type { SelectProps } from '
|
|
4
|
-
export type SelectFilteredProps = SelectProps & {
|
|
3
|
+
import type { SelectProps } from './SelectLegacy';
|
|
4
|
+
export type SelectFilteredProps = Omit<SelectProps, 'anchor'> & {
|
|
5
5
|
filter?: string;
|
|
6
6
|
setFilter?: Dispatch<SetStateAction<string>>;
|
|
7
7
|
addonIcon?: IconProps['name'];
|
|
8
8
|
};
|
|
9
|
-
declare
|
|
10
|
-
anchor?: import("react").ElementType;
|
|
11
|
-
error?: string;
|
|
12
|
-
options: import("./SelectLegacy").SelectOption[];
|
|
13
|
-
onChange: (value: import("./SelectLegacy").SelectOption[0]) => void;
|
|
14
|
-
getLabel?: (params: import("./SelectLegacy").SelectOption) => import("./SelectLegacy").SelectOption[1];
|
|
15
|
-
getValue?: (params: import("./SelectLegacy").SelectOption) => import("./SelectLegacy").SelectOption[0];
|
|
16
|
-
filter?: string;
|
|
17
|
-
renderOptions?: import("react").ElementType;
|
|
18
|
-
renderItem?: import("react").ElementType;
|
|
19
|
-
renderSelected?: import("react").ElementType;
|
|
20
|
-
customEmpty?: string;
|
|
21
|
-
addonIcon?: IconProps["name"];
|
|
22
|
-
} & {
|
|
23
|
-
filter?: string;
|
|
24
|
-
setFilter?: Dispatch<SetStateAction<string>>;
|
|
25
|
-
addonIcon?: IconProps["name"];
|
|
26
|
-
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
9
|
+
declare function SelectFiltered({ options, placeholder, filter: propFilter, setFilter: propSetFilter, ...props }: SelectFilteredProps): import("react").JSX.Element;
|
|
27
10
|
export default SelectFiltered;
|
|
28
11
|
//# sourceMappingURL=SelectFiltered.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectFiltered.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectFiltered.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"SelectFiltered.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectFiltered.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAIpC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAGlD,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG;IAC9D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC7C,SAAS,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;CAC/B,CAAC;AAEF,iBAAS,cAAc,CAAC,EACtB,OAAO,EACP,WAAW,EACX,MAAM,EAAE,UAAU,EAClB,SAAS,EAAE,aAAa,EACxB,GAAG,KAAK,EACT,EAAE,mBAAmB,+BAoBrB;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
type SelectFilteredAnchorProps =
|
|
3
|
-
|
|
4
|
-
disabled: boolean;
|
|
5
|
-
filter: string;
|
|
6
|
-
onChangeFilter: (filter: string) => void;
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
onClick: MouseEventHandler;
|
|
9
|
-
onBlur: FocusEventHandler;
|
|
10
|
-
onKeyUp: KeyboardEventHandler;
|
|
11
|
-
onKeyDown: KeyboardEventHandler;
|
|
12
|
-
};
|
|
13
|
-
declare const SelectFilteredAnchor: import("react").ForwardRefExoticComponent<SelectFilteredAnchorProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
1
|
+
import type { SelectAnchorParams } from './SelectAnchorParams';
|
|
2
|
+
type SelectFilteredAnchorProps = SelectAnchorParams;
|
|
3
|
+
declare function SelectFilteredAnchor({ children: _children, ...props }: SelectFilteredAnchorProps): import("react").JSX.Element;
|
|
14
4
|
export default SelectFilteredAnchor;
|
|
15
5
|
//# sourceMappingURL=SelectFilteredAnchor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectFilteredAnchor.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectFilteredAnchor.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SelectFilteredAnchor.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectFilteredAnchor.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAG/D,KAAK,yBAAyB,GAAG,kBAAkB,CAAC;AAEpD,iBAAS,oBAAoB,CAAC,EAC5B,QAAQ,EAAE,SAAS,EACnB,GAAG,KAAK,EACT,EAAE,yBAAyB,+BAiB3B;AAED,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
export declare const SelectFilteredContext: import("react").Context<{
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
filter?: string;
|
|
5
|
+
setFilter?: Dispatch<SetStateAction<string>>;
|
|
6
|
+
}>;
|
|
7
|
+
//# sourceMappingURL=SelectFilteredContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectFilteredContext.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectFilteredContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGtD,eAAO,MAAM,qBAAqB;kBAClB,MAAM;aACX,MAAM;gBACH,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;EACxC,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import type { RefAttributes } from 'react';
|
|
1
2
|
import { type BoxProps } from '../Box';
|
|
2
|
-
|
|
3
|
+
type SelectFocusProps = Omit<BoxProps, 'ref'> & RefAttributes<Element>;
|
|
4
|
+
declare function SelectFocus(props: SelectFocusProps): import("react").JSX.Element;
|
|
3
5
|
export default SelectFocus;
|
|
4
6
|
//# sourceMappingURL=SelectFocus.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectFocus.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectFocus.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SelectFocus.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectFocus.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,KAAK,gBAAgB,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GAAG,aAAa,CAAC,OAAO,CAAC,CAAC;AAEvE,iBAAS,WAAW,CAAC,KAAK,EAAE,gBAAgB,+BAW3C;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ElementType } from 'react';
|
|
1
|
+
import type { ElementType, RefAttributes } from 'react';
|
|
2
2
|
import { type BoxProps } from '../Box';
|
|
3
3
|
import { type IconProps } from '../Icon';
|
|
4
4
|
export type SelectOption = readonly [
|
|
@@ -6,7 +6,7 @@ export type SelectOption = readonly [
|
|
|
6
6
|
label: string,
|
|
7
7
|
selected?: boolean
|
|
8
8
|
];
|
|
9
|
-
export type SelectProps = Omit<BoxProps, 'onChange'> & {
|
|
9
|
+
export type SelectProps = Omit<BoxProps, 'ref' | 'onChange'> & RefAttributes<HTMLInputElement> & {
|
|
10
10
|
anchor?: ElementType;
|
|
11
11
|
error?: string;
|
|
12
12
|
options: SelectOption[];
|
|
@@ -20,19 +20,6 @@ export type SelectProps = Omit<BoxProps, 'onChange'> & {
|
|
|
20
20
|
customEmpty?: string;
|
|
21
21
|
addonIcon?: IconProps['name'];
|
|
22
22
|
};
|
|
23
|
-
declare
|
|
24
|
-
anchor?: ElementType;
|
|
25
|
-
error?: string;
|
|
26
|
-
options: SelectOption[];
|
|
27
|
-
onChange: (value: SelectOption[0]) => void;
|
|
28
|
-
getLabel?: (params: SelectOption) => SelectOption[1];
|
|
29
|
-
getValue?: (params: SelectOption) => SelectOption[0];
|
|
30
|
-
filter?: string;
|
|
31
|
-
renderOptions?: ElementType;
|
|
32
|
-
renderItem?: ElementType;
|
|
33
|
-
renderSelected?: ElementType;
|
|
34
|
-
customEmpty?: string;
|
|
35
|
-
addonIcon?: IconProps["name"];
|
|
36
|
-
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
23
|
+
declare function SelectLegacy({ ref, value, filter, error, disabled, options, anchor: Anchor, onChange, getValue, getLabel, placeholder, renderItem, renderSelected: RenderSelected, renderOptions: _Options, addonIcon, customEmpty, ...props }: SelectProps): import("react").JSX.Element;
|
|
37
24
|
export default SelectLegacy;
|
|
38
25
|
//# sourceMappingURL=SelectLegacy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectLegacy.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectLegacy.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAkB,WAAW,
|
|
1
|
+
{"version":3,"file":"SelectLegacy.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectLegacy.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAkB,WAAW,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAIxE,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAS/C,MAAM,MAAM,YAAY,GAAG,SAAS;IAClC,KAAK,EAAE,MAAM;IACb,KAAK,EAAE,MAAM;IACb,QAAQ,CAAC,EAAE,OAAO;CACnB,CAAC;AAoBF,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,GAAG,UAAU,CAAC,GAC1D,aAAa,CAAC,gBAAgB,CAAC,GAAG;IAChC,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IAC3C,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAC,CAAC,CAAC,CAAC;IACrD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAC,CAAC,CAAC,CAAC;IACrD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,WAAW,CAAC;IAC5B,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,cAAc,CAAC,EAAE,WAAW,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;CAC/B,CAAC;AAEJ,iBAAS,YAAY,CAAC,EACpB,GAAG,EACH,KAAK,EACL,MAAM,EACN,KAAK,EACL,QAAQ,EACR,OAAY,EACZ,MAAM,EAAE,MAAoB,EAC5B,QAAmB,EACnB,QAAwC,EACxC,QAA0C,EAC1C,WAAgB,EAChB,UAAU,EACV,cAAc,EAAE,cAAc,EAC9B,aAAa,EAAE,QAAkB,EACjC,SAAS,EACT,WAAW,EACX,GAAG,KAAK,EACT,EAAE,WAAW,+BA+Ib;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import type { AllHTMLAttributes } from 'react';
|
|
1
|
+
import type { AllHTMLAttributes, RefAttributes } from 'react';
|
|
2
2
|
import { type AriaButtonProps } from 'react-aria';
|
|
3
|
-
|
|
3
|
+
type SelectTriggerProps = AriaButtonProps & AllHTMLAttributes<HTMLButtonElement> & RefAttributes<HTMLButtonElement> & {
|
|
4
4
|
small?: boolean;
|
|
5
5
|
error?: string;
|
|
6
6
|
focus?: boolean;
|
|
7
|
-
}
|
|
7
|
+
};
|
|
8
|
+
export declare function SelectTrigger({ ref, small, error, isDisabled, focus, id, ...props }: SelectTriggerProps): import("react").JSX.Element;
|
|
9
|
+
export {};
|
|
8
10
|
//# sourceMappingURL=SelectTrigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectTrigger.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAa,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SelectTrigger.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAa,MAAM,OAAO,CAAC;AACzE,OAAO,EAAa,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAI7D,KAAK,kBAAkB,GAAG,eAAe,GACvC,iBAAiB,CAAC,iBAAiB,CAAC,GACpC,aAAa,CAAC,iBAAiB,CAAC,GAAG;IACjC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEJ,wBAAgB,aAAa,CAAC,EAC5B,GAAG,EACH,KAAK,EACL,KAAK,EACL,UAAU,EACV,KAAK,EACL,EAAE,EACF,GAAG,KAAK,EACT,EAAE,kBAAkB,+BA6BpB"}
|
|
@@ -2,6 +2,7 @@ import type { AllHTMLAttributes, ReactNode } from 'react';
|
|
|
2
2
|
import type { BoxProps } from '../Box';
|
|
3
3
|
import type { IconProps } from '../Icon';
|
|
4
4
|
import type { SidebarActionProps } from './SidebarActions';
|
|
5
|
+
import { SidebarActions } from './SidebarActions';
|
|
5
6
|
export type SidebarItemContainerProps = {
|
|
6
7
|
children?: ReactNode;
|
|
7
8
|
} & AllHTMLAttributes<HTMLElement>;
|
|
@@ -51,14 +52,7 @@ export type SidebarItemAvatarProps = {
|
|
|
51
52
|
children?: ReactNode;
|
|
52
53
|
} & AllHTMLAttributes<HTMLElement>;
|
|
53
54
|
export declare const SidebarItemAvatar: ({ ...props }: SidebarItemAvatarProps) => import("react").JSX.Element;
|
|
54
|
-
export declare const SidebarItemActions:
|
|
55
|
-
align?: "start" | "center" | "end";
|
|
56
|
-
stretch?: boolean;
|
|
57
|
-
wrap?: boolean;
|
|
58
|
-
vertical?: boolean;
|
|
59
|
-
small?: boolean;
|
|
60
|
-
large?: boolean;
|
|
61
|
-
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
55
|
+
export declare const SidebarItemActions: typeof SidebarActions;
|
|
62
56
|
export type SidebarItemActionProps = SidebarActionProps;
|
|
63
57
|
export declare const SidebarItemAction: (props: SidebarItemActionProps) => import("react").JSX.Element;
|
|
64
58
|
export type SidebarItemProps = {
|
|
@@ -69,25 +63,8 @@ export type SidebarItemProps = {
|
|
|
69
63
|
is?: BoxProps['is'];
|
|
70
64
|
children?: ReactNode;
|
|
71
65
|
} & AllHTMLAttributes<HTMLElement>;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
Title: ({ className, ...props }: SidebarItemTitleProps) => import("react").JSX.Element;
|
|
77
|
-
Subtitle: ({ className, ...props }: SidebarItemSubtitleProps) => import("react").JSX.Element;
|
|
78
|
-
Time: ({ className, ...props }: SidebarItemTimeProps) => import("react").JSX.Element;
|
|
79
|
-
Wrapper: ({ className, ...props }: SidebarItemWrapperProps) => import("react").JSX.Element;
|
|
80
|
-
Icon: ({ highlighted, children, icon, className: _className, ...props }: SidebarItemIconProps) => import("react").JSX.Element;
|
|
81
|
-
Avatar: ({ ...props }: SidebarItemAvatarProps) => import("react").JSX.Element;
|
|
82
|
-
Actions: import("react").ForwardRefExoticComponent<{
|
|
83
|
-
align?: "start" | "center" | "end";
|
|
84
|
-
stretch?: boolean;
|
|
85
|
-
wrap?: boolean;
|
|
86
|
-
vertical?: boolean;
|
|
87
|
-
small?: boolean;
|
|
88
|
-
large?: boolean;
|
|
89
|
-
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
90
|
-
Action: (props: SidebarItemActionProps) => import("react").JSX.Element;
|
|
91
|
-
Badge: ({ className, ...props }: SidebarItemBadgeProps) => import("react").JSX.Element;
|
|
92
|
-
};
|
|
66
|
+
/**
|
|
67
|
+
* Item component to be used inside Sidebar.
|
|
68
|
+
*/
|
|
69
|
+
export declare const SidebarItem: ({ selected, highlighted, clickable, featured, is: Tag, children, ...props }: SidebarItemProps) => import("react").JSX.Element;
|
|
93
70
|
//# sourceMappingURL=Item.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGzC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Item.tsx"],"names":[],"mappings":"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"}
|
|
@@ -6,7 +6,5 @@ export declare const SidebarSectionTitle: (props: SidebarSectionTitleProps) => i
|
|
|
6
6
|
export type SidebarSectionProps = {
|
|
7
7
|
children?: ReactNode;
|
|
8
8
|
};
|
|
9
|
-
export declare const SidebarSection: (
|
|
10
|
-
Title: (props: SidebarSectionTitleProps) => import("react").JSX.Element;
|
|
11
|
-
};
|
|
9
|
+
export declare const SidebarSection: (props: SidebarSectionProps) => import("react").JSX.Element;
|
|
12
10
|
//# sourceMappingURL=Section.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,wBAAwB,GAAG;IACrC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,OAAO,wBAAwB,gCAElE,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,wBAAwB,GAAG;IACrC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,OAAO,wBAAwB,gCAElE,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,gCAExD,CAAC"}
|
|
@@ -1,60 +1,5 @@
|
|
|
1
1
|
import { type BoxProps } from '../Box';
|
|
2
2
|
export type SidebarProps = BoxProps;
|
|
3
|
-
declare const Sidebar: (
|
|
4
|
-
TopBar: (({ className, ...props }: import("./TopBar").TopBarProps) => import("react").JSX.Element) & {
|
|
5
|
-
Section: ({ className, children, ...props }: import("./TopBar").TopBarSectionProps) => import("react").JSX.Element;
|
|
6
|
-
ToolBox: ({ children, className, ...props }: import("./TopBar").TopBarToolBoxProps) => import("react").JSX.Element;
|
|
7
|
-
Wrapper: ({ children }: import("./TopBar").TopBarWrapperProps) => import("react").JSX.Element;
|
|
8
|
-
Avatar: {
|
|
9
|
-
size: "x24";
|
|
10
|
-
};
|
|
11
|
-
Actions: import("react").ForwardRefExoticComponent<{
|
|
12
|
-
align?: "start" | "center" | "end";
|
|
13
|
-
stretch?: boolean;
|
|
14
|
-
wrap?: boolean;
|
|
15
|
-
vertical?: boolean;
|
|
16
|
-
small?: boolean;
|
|
17
|
-
large?: boolean;
|
|
18
|
-
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
19
|
-
Action: import("react").ForwardRefExoticComponent<{
|
|
20
|
-
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement<any>;
|
|
21
|
-
primary?: boolean;
|
|
22
|
-
secondary?: boolean;
|
|
23
|
-
info?: boolean;
|
|
24
|
-
danger?: boolean;
|
|
25
|
-
warning?: boolean;
|
|
26
|
-
success?: boolean;
|
|
27
|
-
pressed?: boolean;
|
|
28
|
-
} & import("..").IconButtonSize & BoxProps & import("react").RefAttributes<HTMLElement>>;
|
|
29
|
-
Divider: () => import("react").JSX.Element;
|
|
30
|
-
Title: (props: import("./TopBar").TopBarTitleProps) => import("react").JSX.Element;
|
|
31
|
-
};
|
|
32
|
-
Item: (({ selected, highlighted, clickable, featured, is: Tag, children, ...props }: import("./Item").SidebarItemProps) => import("react").JSX.Element) & {
|
|
33
|
-
Menu: (props: import("./Item").SidebarItemMenuProps) => import("react").JSX.Element;
|
|
34
|
-
Container: (props: import("./Item").SidebarItemContainerProps) => import("react").JSX.Element;
|
|
35
|
-
Content: ({ className, ...props }: import("./Item").SidebarItemContentProps) => import("react").JSX.Element;
|
|
36
|
-
Title: ({ className, ...props }: import("./Item").SidebarItemTitleProps) => import("react").JSX.Element;
|
|
37
|
-
Subtitle: ({ className, ...props }: import("./Item").SidebarItemSubtitleProps) => import("react").JSX.Element;
|
|
38
|
-
Time: ({ className, ...props }: import("./Item").SidebarItemTimeProps) => import("react").JSX.Element;
|
|
39
|
-
Wrapper: ({ className, ...props }: import("./Item").SidebarItemWrapperProps) => import("react").JSX.Element;
|
|
40
|
-
Icon: ({ highlighted, children, icon, className: _className, ...props }: import("./Item").SidebarItemIconProps) => import("react").JSX.Element;
|
|
41
|
-
Avatar: ({ ...props }: import("./Item").SidebarItemAvatarProps) => import("react").JSX.Element;
|
|
42
|
-
Actions: import("react").ForwardRefExoticComponent<{
|
|
43
|
-
align?: "start" | "center" | "end";
|
|
44
|
-
stretch?: boolean;
|
|
45
|
-
wrap?: boolean;
|
|
46
|
-
vertical?: boolean;
|
|
47
|
-
small?: boolean;
|
|
48
|
-
large?: boolean;
|
|
49
|
-
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
50
|
-
Action: (props: import("./Item").SidebarItemActionProps) => import("react").JSX.Element;
|
|
51
|
-
Badge: ({ className, ...props }: import("./Item").SidebarItemBadgeProps) => import("react").JSX.Element;
|
|
52
|
-
};
|
|
53
|
-
Section: ((props: import("./Section").SidebarSectionProps) => import("react").JSX.Element) & {
|
|
54
|
-
Title: (props: import("./Section").SidebarSectionTitleProps) => import("react").JSX.Element;
|
|
55
|
-
};
|
|
56
|
-
Divider: () => import("react").JSX.Element;
|
|
57
|
-
Banner: ({ text, description, onClick, variant, addon, onClose, children, }: import("./SidebarBanner").SidebarBannerProps) => import("react").JSX.Element;
|
|
58
|
-
};
|
|
3
|
+
declare const Sidebar: (props: SidebarProps) => import("react").JSX.Element;
|
|
59
4
|
export default Sidebar;
|
|
60
5
|
//# sourceMappingURL=Sidebar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC;AAEpC,QAAA,MAAM,OAAO,GAAI,OAAO,YAAY,gCAAmC,CAAC;AAExE,eAAe,OAAO,CAAC"}
|
|
@@ -1,23 +1,8 @@
|
|
|
1
|
+
import type { RefAttributes } from 'react';
|
|
1
2
|
import type { IconButtonProps } from '../Button/IconButton';
|
|
2
3
|
import type { ButtonGroupProps } from '../ButtonGroup';
|
|
3
4
|
export type SidebarActionsProps = ButtonGroupProps;
|
|
4
|
-
export declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
wrap?: boolean;
|
|
8
|
-
vertical?: boolean;
|
|
9
|
-
small?: boolean;
|
|
10
|
-
large?: boolean;
|
|
11
|
-
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
|
-
export type SidebarActionProps = IconButtonProps;
|
|
13
|
-
export declare const SidebarAction: import("react").ForwardRefExoticComponent<{
|
|
14
|
-
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement<any>;
|
|
15
|
-
primary?: boolean;
|
|
16
|
-
secondary?: boolean;
|
|
17
|
-
info?: boolean;
|
|
18
|
-
danger?: boolean;
|
|
19
|
-
warning?: boolean;
|
|
20
|
-
success?: boolean;
|
|
21
|
-
pressed?: boolean;
|
|
22
|
-
} & import("../Button").IconButtonSize & import("..").BoxProps & import("react").RefAttributes<HTMLElement>>;
|
|
5
|
+
export declare function SidebarActions(props: SidebarActionsProps): import("react").JSX.Element;
|
|
6
|
+
export type SidebarActionProps = Omit<IconButtonProps, 'ref'> & RefAttributes<HTMLElement>;
|
|
7
|
+
export declare function SidebarAction(props: SidebarActionProps): import("react").JSX.Element;
|
|
23
8
|
//# sourceMappingURL=SidebarActions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarActions.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarActions.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SidebarActions.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGvD,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAAC;AAEnD,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,+BAExD;AAED,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,eAAe,EAAE,KAAK,CAAC,GAC3D,aAAa,CAAC,WAAW,CAAC,CAAC;AAE7B,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,+BAEtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopBar.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;
|
|
1
|
+
{"version":3,"file":"TopBar.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM,GAAI,yBAAyB,WAAW,gCAO1D,CAAC"}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
info?: boolean;
|
|
6
|
-
danger?: boolean;
|
|
7
|
-
warning?: boolean;
|
|
8
|
-
success?: boolean;
|
|
9
|
-
pressed?: boolean;
|
|
10
|
-
} & import("../..").IconButtonSize & import("../..").BoxProps & import("react").RefAttributes<HTMLElement>>;
|
|
1
|
+
import type { SidebarActionProps } from '../SidebarActions';
|
|
2
|
+
type TopBarActionProps = SidebarActionProps;
|
|
3
|
+
export declare function TopBarAction(props: TopBarActionProps): import("react").JSX.Element;
|
|
4
|
+
export {};
|
|
11
5
|
//# sourceMappingURL=TopBarAction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopBarAction.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBarAction.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TopBarAction.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBarAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAG5D,KAAK,iBAAiB,GAAG,kBAAkB,CAAC;AAE5C,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,+BAEpD"}
|