@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,10 +1,10 @@
|
|
|
1
1
|
import type { UsePositionOptions } from '@rocket.chat/fuselage-hooks';
|
|
2
|
-
import type { ReactNode, RefObject } from 'react';
|
|
3
|
-
export type DropdownProps<T extends HTMLElement> = {
|
|
2
|
+
import type { ReactNode, RefAttributes, RefObject } from 'react';
|
|
3
|
+
export type DropdownProps<T extends HTMLElement> = RefAttributes<HTMLElement> & {
|
|
4
4
|
reference: RefObject<T | null>;
|
|
5
5
|
placement?: UsePositionOptions['placement'];
|
|
6
6
|
children: ReactNode;
|
|
7
7
|
};
|
|
8
|
-
declare
|
|
8
|
+
declare function Dropdown({ ref, children, reference, placement, }: DropdownProps<HTMLElement>): import("react").JSX.Element;
|
|
9
9
|
export default Dropdown;
|
|
10
10
|
//# sourceMappingURL=Dropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKjE,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,WAAW,IAC7C,aAAa,CAAC,WAAW,CAAC,GAAG;IAC3B,SAAS,EAAE,SAAS,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC5C,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEJ,iBAAS,QAAQ,CAAC,EAChB,GAAG,EACH,QAAQ,EACR,SAAS,EACT,SAA0B,GAC3B,EAAE,aAAa,CAAC,WAAW,CAAC,+BAa5B;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
export type DropdownDesktopProps = {
|
|
1
|
+
import type { CSSProperties, ReactNode, RefAttributes } from 'react';
|
|
2
|
+
export type DropdownDesktopProps = RefAttributes<HTMLElement> & {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
maxWidth?: string;
|
|
5
5
|
maxHeight?: string;
|
|
6
6
|
overflowY?: CSSProperties['overflowY'];
|
|
7
7
|
style?: CSSProperties;
|
|
8
8
|
};
|
|
9
|
-
export declare
|
|
9
|
+
export declare function DropdownDesktop({ children, style, ...props }: DropdownDesktopProps): import("react").JSX.Element;
|
|
10
10
|
//# sourceMappingURL=DropdownDesktop.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownDesktop.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/DropdownDesktop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DropdownDesktop.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/DropdownDesktop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAIrE,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAAC,WAAW,CAAC,GAAG;IAC9D,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IACvC,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAEF,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,KAAK,EACL,GAAG,KAAK,EACT,EAAE,oBAAoB,+BAkBtB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { UsePositionOptions } from '@rocket.chat/fuselage-hooks';
|
|
2
|
-
import type { ReactNode, RefObject } from 'react';
|
|
3
|
-
export type DropdownDesktopWrapperProps<T extends HTMLElement> = {
|
|
2
|
+
import type { ReactNode, RefAttributes, RefObject } from 'react';
|
|
3
|
+
export type DropdownDesktopWrapperProps<T extends HTMLElement> = RefAttributes<HTMLElement> & {
|
|
4
4
|
reference: RefObject<T | null>;
|
|
5
5
|
placement?: UsePositionOptions['placement'];
|
|
6
6
|
children: ReactNode;
|
|
7
7
|
};
|
|
8
|
-
export declare
|
|
8
|
+
export declare function DropdownDesktopWrapper({ ref, reference, placement, ...props }: DropdownDesktopWrapperProps<HTMLElement>): import("react").JSX.Element;
|
|
9
9
|
//# sourceMappingURL=DropdownDesktopWrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownDesktopWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/DropdownDesktopWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DropdownDesktopWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/DropdownDesktopWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIjE,MAAM,MAAM,2BAA2B,CAAC,CAAC,SAAS,WAAW,IAC3D,aAAa,CAAC,WAAW,CAAC,GAAG;IAC3B,SAAS,EAAE,SAAS,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC5C,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEJ,wBAAgB,sBAAsB,CAAC,EACrC,GAAG,EACH,SAAS,EACT,SAA0B,EAC1B,GAAG,KAAK,EACT,EAAE,2BAA2B,CAAC,WAAW,CAAC,+BAU1C"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
export type DropdownMobileProps = {
|
|
1
|
+
import type { ReactNode, RefAttributes } from 'react';
|
|
2
|
+
export type DropdownMobileProps = RefAttributes<HTMLElement> & {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
};
|
|
5
|
-
export declare
|
|
5
|
+
export declare function DropdownMobile({ children, ...props }: DropdownMobileProps): import("react").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=DropdownMobile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMobile.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/DropdownMobile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DropdownMobile.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/DropdownMobile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAItD,MAAM,MAAM,mBAAmB,GAAG,aAAa,CAAC,WAAW,CAAC,GAAG;IAC7D,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,+BAsBzE"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
1
|
import { type InputBoxProps } from '../InputBox';
|
|
3
|
-
export type EmailInputProps = Omit<InputBoxProps
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
declare
|
|
8
|
-
addon?: ReactNode;
|
|
9
|
-
error?: string;
|
|
10
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
2
|
+
export type EmailInputProps = Omit<InputBoxProps<HTMLInputElement>, 'type'>;
|
|
3
|
+
/**
|
|
4
|
+
* An input for email addresses.
|
|
5
|
+
*/
|
|
6
|
+
declare function EmailInput(props: EmailInputProps): import("react").JSX.Element;
|
|
11
7
|
export default EmailInput;
|
|
12
8
|
//# sourceMappingURL=EmailInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmailInput.d.ts","sourceRoot":"","sources":["../../../src/components/EmailInput/EmailInput.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"EmailInput.d.ts","sourceRoot":"","sources":["../../../src/components/EmailInput/EmailInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,aAAa,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,CAAC;AAE5E;;GAEG;AACH,iBAAS,UAAU,CAAC,KAAK,EAAE,eAAe,+BAEzC;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { type BoxProps } from '../Box';
|
|
2
2
|
export declare const FieldContext: import("react").Context<boolean>;
|
|
3
3
|
export type FieldProps = BoxProps;
|
|
4
|
+
/**
|
|
5
|
+
* A `Field` is a wrapper representing an entry in a form.
|
|
6
|
+
*/
|
|
4
7
|
declare function Field(props: FieldProps): import("react").JSX.Element;
|
|
5
8
|
export default Field;
|
|
6
9
|
//# sourceMappingURL=Field.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../src/components/Field/Field.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,eAAO,MAAM,YAAY,kCAAuB,CAAC;AAEjD,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../src/components/Field/Field.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,eAAO,MAAM,YAAY,kCAAuB,CAAC;AAEjD,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;AAElC;;GAEG;AACH,iBAAS,KAAK,CAAC,KAAK,EAAE,UAAU,+BAM/B;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import type { LabelProps } from '../Label';
|
|
2
2
|
export type FieldLabelProps = LabelProps;
|
|
3
|
-
declare
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
required?: boolean;
|
|
6
|
-
is?: (import("react").ElementType<any> & string) | undefined;
|
|
7
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
3
|
+
declare function FieldLabel(props: FieldLabelProps): import("react").JSX.Element;
|
|
8
4
|
export default FieldLabel;
|
|
9
5
|
//# sourceMappingURL=FieldLabel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldLabel.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldLabel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FieldLabel.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldLabel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAK3C,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC;AAEzC,iBAAS,UAAU,CAAC,KAAK,EAAE,eAAe,+BAezC;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { type BoxProps } from '../Box';
|
|
2
2
|
export type FieldGroupProps = BoxProps;
|
|
3
|
+
/**
|
|
4
|
+
* A container for grouping fields that semantically share a common data context.
|
|
5
|
+
*/
|
|
3
6
|
declare const FieldGroup: ({ children, ...props }: FieldGroupProps) => import("react").JSX.Element;
|
|
4
7
|
export default FieldGroup;
|
|
5
8
|
//# sourceMappingURL=FieldGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldGroup.d.ts","sourceRoot":"","sources":["../../../src/components/FieldGroup/FieldGroup.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"FieldGroup.d.ts","sourceRoot":"","sources":["../../../src/components/FieldGroup/FieldGroup.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;AAEvC;;GAEG;AACH,QAAA,MAAM,UAAU,GAAI,wBAAwB,eAAe,gCAY1D,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import FlexContainer from './FlexContainer';
|
|
2
|
-
import FlexItem from './FlexItem';
|
|
3
1
|
export { default as FlexContainer, type FlexContainerProps, } from './FlexContainer';
|
|
4
2
|
export { default as FlexItem, type FlexItemProps } from './FlexItem';
|
|
5
|
-
export declare const Flex: {
|
|
6
|
-
Container: typeof FlexContainer;
|
|
7
|
-
Item: typeof FlexItem;
|
|
8
|
-
};
|
|
9
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Flex/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Flex/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,aAAa,EACxB,KAAK,kBAAkB,GACxB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import type { Keys as IconName } from '@rocket.chat/icons';
|
|
2
|
+
import type { RefAttributes } from 'react';
|
|
2
3
|
import { type BoxProps } from '../Box';
|
|
3
|
-
export type IconProps = Omit<BoxProps, 'name' | 'size'> & {
|
|
4
|
+
export type IconProps = Omit<BoxProps, 'ref' | 'name' | 'size'> & RefAttributes<HTMLElement> & {
|
|
4
5
|
name: IconName;
|
|
5
6
|
size?: BoxProps['width'];
|
|
6
7
|
};
|
|
7
|
-
declare
|
|
8
|
-
name: IconName;
|
|
9
|
-
size?: BoxProps["width"];
|
|
10
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
8
|
+
declare function Icon({ name, size, ...props }: IconProps): import("react").JSX.Element;
|
|
11
9
|
export default Icon;
|
|
12
10
|
//# sourceMappingURL=Icon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,CAAC,GAC7D,aAAa,CAAC,WAAW,CAAC,GAAG;IAC3B,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;CAC1B,CAAC;AAEJ,iBAAS,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,+BAYhD;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type { RefAttributes } from 'react';
|
|
1
2
|
import { type BoxProps } from '../Box';
|
|
2
|
-
export type InputProps = BoxProps
|
|
3
|
-
declare
|
|
3
|
+
export type InputProps<T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement> = Omit<BoxProps, 'ref'> & RefAttributes<T>;
|
|
4
|
+
declare function Input<T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>(props: InputProps<T>): import("react").JSX.Element;
|
|
4
5
|
export default Input;
|
|
5
6
|
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/Input.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,UAAU,CACpB,CAAC,SAAS,gBAAgB,GAAG,iBAAiB,GAAG,mBAAmB,IAClE,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC;AAE7C,iBAAS,KAAK,CACZ,CAAC,SAAS,gBAAgB,GAAG,iBAAiB,GAAG,mBAAmB,EACpE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,+BAErB;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
1
|
+
import type { ReactNode, RefAttributes } from 'react';
|
|
2
2
|
import type { BoxProps } from '../Box';
|
|
3
|
-
export type InputBoxProps = BoxProps & {
|
|
4
|
-
addon?: ReactNode;
|
|
3
|
+
export type InputBoxProps<T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement = any> = Omit<BoxProps, 'ref'> & RefAttributes<T> & {
|
|
5
4
|
startAddon?: ReactNode;
|
|
6
5
|
endAddon?: ReactNode;
|
|
7
6
|
input?: ReactNode;
|
|
@@ -12,17 +11,12 @@ export type InputBoxProps = BoxProps & {
|
|
|
12
11
|
small?: boolean;
|
|
13
12
|
type: 'button' | 'checkbox' | 'color' | 'date' | 'datetime' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week' | 'textarea' | 'select';
|
|
14
13
|
};
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
placeholder?: string;
|
|
23
|
-
placeholderVisible?: boolean;
|
|
24
|
-
small?: boolean;
|
|
25
|
-
type: "button" | "checkbox" | "color" | "date" | "datetime" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "number" | "password" | "radio" | "range" | "reset" | "search" | "submit" | "tel" | "text" | "time" | "url" | "week" | "textarea" | "select";
|
|
26
|
-
} & import("react").RefAttributes<any>>;
|
|
14
|
+
/**
|
|
15
|
+
* A decorated input control with support for addons.
|
|
16
|
+
*
|
|
17
|
+
* Usually you'll perfer to use `-Input` (e.g. <LinkTo kind='Forms/TextInput' story='Default'>`TextInput`</LinkTo>)
|
|
18
|
+
* components over this one because it works as a construction block for them.
|
|
19
|
+
*/
|
|
20
|
+
declare function InputBox<T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>({ ref, className, startAddon, endAddon, error, hidden, invisible, multiple, placeholderVisible, type, small, onChange, ...props }: InputBoxProps<T>): import("react").JSX.Element;
|
|
27
21
|
export default InputBox;
|
|
28
22
|
//# sourceMappingURL=InputBox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputBox.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/InputBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAe,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"InputBox.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/InputBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAe,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAGnE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAOvC,MAAM,MAAM,aAAa,CACvB,CAAC,SAAS,gBAAgB,GAAG,iBAAiB,GAAG,mBAAmB,GAAG,GAAG,IACxE,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GACvB,aAAa,CAAC,CAAC,CAAC,GAAG;IACjB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,EACA,QAAQ,GACR,UAAU,GACV,OAAO,GACP,MAAM,GACN,UAAU,GACV,gBAAgB,GAChB,OAAO,GACP,MAAM,GACN,QAAQ,GACR,OAAO,GACP,OAAO,GACP,QAAQ,GACR,UAAU,GACV,OAAO,GACP,OAAO,GACP,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,KAAK,GACL,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM,GACN,UAAU,GACV,QAAQ,CAAC;CACd,CAAC;AAEJ;;;;;GAKG;AAEH,iBAAS,QAAQ,CACf,CAAC,SAAS,gBAAgB,GAAG,iBAAiB,GAAG,mBAAmB,EACpE,EACA,GAAG,EACH,SAAS,EACT,UAAU,EACV,QAAQ,EACR,KAAK,EACL,MAAM,EACN,SAAS,EACT,QAAQ,EACR,kBAAkB,EAClB,IAAa,EACb,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,aAAa,CAAC,CAAC,CAAC,+BA6GlB;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
import type { RefAttributes } from 'react';
|
|
1
2
|
import { type BoxProps } from '../Box';
|
|
2
|
-
export type InputBoxAddonProps = BoxProps
|
|
3
|
-
|
|
3
|
+
export type InputBoxAddonProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLSpanElement>;
|
|
4
|
+
/**
|
|
5
|
+
* An addon for the input box.
|
|
6
|
+
*/
|
|
7
|
+
declare function InputBoxAddon(props: InputBoxAddonProps): import("react").JSX.Element;
|
|
4
8
|
export default InputBoxAddon;
|
|
5
9
|
//# sourceMappingURL=InputBoxAddon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputBoxAddon.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/InputBoxAddon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InputBoxAddon.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/InputBoxAddon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GACpD,aAAa,CAAC,eAAe,CAAC,CAAC;AAEjC;;GAEG;AACH,iBAAS,aAAa,CAAC,KAAK,EAAE,kBAAkB,+BAE/C;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { RefAttributes } from 'react';
|
|
2
2
|
import { type BoxProps } from '../Box';
|
|
3
|
-
export type LabelProps = Omit<BoxProps, '
|
|
3
|
+
export type LabelProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLElement> & {
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
required?: boolean;
|
|
6
|
-
is?: (ElementType<any> & string) | undefined;
|
|
7
6
|
};
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
7
|
+
/**
|
|
8
|
+
* A caption for an input component.
|
|
9
|
+
*/
|
|
10
|
+
declare function Label({ disabled, is, required, children, ...props }: LabelProps): import("react").JSX.Element;
|
|
13
11
|
export default Label;
|
|
14
12
|
//# sourceMappingURL=Label.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/components/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/components/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAI5C,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GAC5C,aAAa,CAAC,WAAW,CAAC,GAAG;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEJ;;GAEG;AACH,iBAAS,KAAK,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,+BAgBxE;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -10,6 +10,9 @@ export type MarginsProps = PropsWithChildren<{
|
|
|
10
10
|
inlineEnd?: BoxProps['marginInlineEnd'];
|
|
11
11
|
className?: string;
|
|
12
12
|
}>;
|
|
13
|
+
/**
|
|
14
|
+
* Add margins to the wrapped component.
|
|
15
|
+
*/
|
|
13
16
|
declare const Margins: (props: MarginsProps) => import("react").JSX.Element;
|
|
14
17
|
export default Margins;
|
|
15
18
|
//# sourceMappingURL=Margins.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Margins.d.ts","sourceRoot":"","sources":["../../../src/components/Margins/Margins.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAO/C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAGvC,MAAM,MAAM,YAAY,GAAG,iBAAiB,CAAC;IAC3C,GAAG,CAAC,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACzB,KAAK,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IAChC,UAAU,CAAC,EAAE,QAAQ,CAAC,kBAAkB,CAAC,CAAC;IAC1C,QAAQ,CAAC,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IACtC,MAAM,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC;IAClC,WAAW,CAAC,EAAE,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IAC5C,SAAS,CAAC,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"Margins.d.ts","sourceRoot":"","sources":["../../../src/components/Margins/Margins.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAO/C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAGvC,MAAM,MAAM,YAAY,GAAG,iBAAiB,CAAC;IAC3C,GAAG,CAAC,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACzB,KAAK,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IAChC,UAAU,CAAC,EAAE,QAAQ,CAAC,kBAAkB,CAAC,CAAC;IAC1C,QAAQ,CAAC,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IACtC,MAAM,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC;IAClC,WAAW,CAAC,EAAE,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IAC5C,SAAS,CAAC,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,CAAC;AAEH;;GAEG;AACH,QAAA,MAAM,OAAO,GAAI,OAAO,YAAY,gCAuGnC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -14,6 +14,9 @@ export interface MenuProps<T> extends AriaMenuProps<T>, MenuTriggerProps {
|
|
|
14
14
|
placement?: UsePositionOptions['placement'];
|
|
15
15
|
title?: string;
|
|
16
16
|
detached?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* A component that renders an IconButton
|
|
19
|
+
*/
|
|
17
20
|
is?: ElementType;
|
|
18
21
|
className?: BoxProps['className'];
|
|
19
22
|
pressed?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGhD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAItD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAM5D,MAAM,WAAW,SAAS,CAAC,CAAC,CAAE,SAAQ,aAAa,CAAC,CAAC,CAAC,EAAE,gBAAgB;IACtE,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGhD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAItD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAM5D,MAAM,WAAW,SAAS,CAAC,CAAC,CAAE,SAAQ,aAAa,CAAC,CAAC,CAAC,EAAE,gBAAgB;IACtE,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,SAAS,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;CAC5B;AAED,QAAA,MAAM,IAAI,GAAI,CAAC,SAAS,MAAM,EAAE,sGAW7B,SAAS,CAAC,CAAC,CAAC,gCA4Dd,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ReactNode, MouseEvent, AllHTMLAttributes, RefAttributes } from 'react';
|
|
2
2
|
import type { BoxProps } from '../Box';
|
|
3
|
-
export type MenuOptionProps = {
|
|
3
|
+
export type MenuOptionProps = RefAttributes<Element> & {
|
|
4
4
|
is?: BoxProps['is'];
|
|
5
5
|
id?: string;
|
|
6
6
|
children?: ReactNode;
|
|
7
7
|
focus?: boolean;
|
|
8
8
|
selected?: boolean;
|
|
9
9
|
className?: BoxProps['className'];
|
|
10
|
-
ref?: Ref<Element>;
|
|
11
10
|
title?: string;
|
|
12
11
|
disabled?: boolean;
|
|
13
12
|
value?: string;
|
|
@@ -15,6 +14,7 @@ export type MenuOptionProps = {
|
|
|
15
14
|
onClick?: (event: MouseEvent<HTMLElement>) => void;
|
|
16
15
|
description?: ReactNode;
|
|
17
16
|
} & Omit<AllHTMLAttributes<HTMLElement>, 'label'>;
|
|
18
|
-
declare
|
|
17
|
+
declare function MenuOption({ is: Tag, id, children, focus, selected, className, title, disabled, variant, onClick, ...props }: MenuOptionProps): import("react").JSX.Element;
|
|
18
|
+
declare const _default: import("react").MemoExoticComponent<typeof MenuOption>;
|
|
19
19
|
export default _default;
|
|
20
20
|
//# sourceMappingURL=MenuOption.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuOption.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/MenuOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"MenuOption.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/MenuOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,aAAa,EACd,MAAM,OAAO,CAAC;AAIf,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,MAAM,eAAe,GAAG,aAAa,CAAC,OAAO,CAAC,GAAG;IACrD,EAAE,CAAC,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IACvD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACnD,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,CAAC;AAElD,iBAAS,UAAU,CAAC,EAClB,EAAE,EAAE,GAAU,EACd,EAAE,EACF,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,SAAS,EACT,KAAK,EACL,QAAQ,EACR,OAAO,EACP,OAAO,EACP,GAAG,KAAK,EACT,EAAE,eAAe,+BA8BjB;;AAED,wBAAgC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AllHTMLAttributes } from 'react';
|
|
2
|
-
export type MessageProps = AllHTMLAttributes<HTMLDivElement> & {
|
|
1
|
+
import type { AllHTMLAttributes, RefAttributes } from 'react';
|
|
2
|
+
export type MessageProps = AllHTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement> & {
|
|
3
3
|
clickable?: boolean;
|
|
4
4
|
sequential?: boolean;
|
|
5
5
|
className?: string;
|
|
@@ -8,14 +8,6 @@ export type MessageProps = AllHTMLAttributes<HTMLDivElement> & {
|
|
|
8
8
|
isPending?: boolean;
|
|
9
9
|
highlight?: boolean;
|
|
10
10
|
};
|
|
11
|
-
declare
|
|
12
|
-
clickable?: boolean;
|
|
13
|
-
sequential?: boolean;
|
|
14
|
-
className?: string;
|
|
15
|
-
isSelected?: boolean;
|
|
16
|
-
isEditing?: boolean;
|
|
17
|
-
isPending?: boolean;
|
|
18
|
-
highlight?: boolean;
|
|
19
|
-
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
|
+
declare function Message({ className, clickable, sequential, isSelected, isEditing, isPending, highlight, ...props }: MessageProps): import("react").JSX.Element;
|
|
20
12
|
export default Message;
|
|
21
13
|
//# sourceMappingURL=Message.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/components/Message/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/components/Message/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI9D,MAAM,MAAM,YAAY,GAAG,iBAAiB,CAAC,cAAc,CAAC,GAC1D,aAAa,CAAC,cAAc,CAAC,GAAG;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEJ,iBAAS,OAAO,CAAC,EACf,SAAS,EACT,SAAS,EACT,UAAU,EACV,UAAU,EACV,SAAS,EACT,SAAS,EACT,SAAS,EACT,GAAG,KAAK,EACT,EAAE,YAAY,+BAoBd;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
+
import type { RefAttributes } from 'react';
|
|
1
2
|
import { type BoxProps } from '../Box';
|
|
2
|
-
export type MessageBlockProps = {
|
|
3
|
+
export type MessageBlockProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLDivElement> & {
|
|
3
4
|
fixedWidth?: boolean;
|
|
4
|
-
}
|
|
5
|
-
declare
|
|
6
|
-
fixedWidth?: boolean;
|
|
7
|
-
} & BoxProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
};
|
|
6
|
+
declare function MessageBlock({ className: _className, fixedWidth, ...props }: MessageBlockProps): import("react").JSX.Element;
|
|
8
7
|
export default MessageBlock;
|
|
9
8
|
//# sourceMappingURL=MessageBlock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageBlock.d.ts","sourceRoot":"","sources":["../../../src/components/Message/MessageBlock.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MessageBlock.d.ts","sourceRoot":"","sources":["../../../src/components/Message/MessageBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GACnD,aAAa,CAAC,cAAc,CAAC,GAAG;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEJ,iBAAS,YAAY,CAAC,EACpB,SAAS,EAAE,UAAU,EACrB,UAAU,EACV,GAAG,KAAK,EACT,EAAE,iBAAiB,+BAQnB;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HTMLAttributes } from 'react';
|
|
2
|
-
export type MessageNameContainerProps = HTMLAttributes<HTMLSpanElement>;
|
|
3
|
-
declare
|
|
1
|
+
import type { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
+
export type MessageNameContainerProps = HTMLAttributes<HTMLSpanElement> & RefAttributes<HTMLSpanElement>;
|
|
3
|
+
declare function MessageNameContainer(props: MessageNameContainerProps): import("react").JSX.Element;
|
|
4
4
|
export default MessageNameContainer;
|
|
5
5
|
//# sourceMappingURL=MessageNameContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageNameContainer.d.ts","sourceRoot":"","sources":["../../../src/components/Message/MessageNameContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageNameContainer.d.ts","sourceRoot":"","sources":["../../../src/components/Message/MessageNameContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3D,MAAM,MAAM,yBAAyB,GAAG,cAAc,CAAC,eAAe,CAAC,GACrE,aAAa,CAAC,eAAe,CAAC,CAAC;AAEjC,iBAAS,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,+BAO7D;AAED,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
import type { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
export type MessageReactionProps = {
|
|
1
|
+
import type { HTMLAttributes, ReactNode, RefAttributes } from 'react';
|
|
2
|
+
export type MessageReactionProps = RefAttributes<HTMLDivElement> & {
|
|
3
3
|
name?: string;
|
|
4
4
|
counter?: number;
|
|
5
5
|
mine?: boolean;
|
|
6
6
|
children?: ReactNode;
|
|
7
7
|
} & HTMLAttributes<HTMLDivElement>;
|
|
8
|
-
declare
|
|
9
|
-
name?: string;
|
|
10
|
-
counter?: number;
|
|
11
|
-
mine?: boolean;
|
|
12
|
-
children?: ReactNode;
|
|
13
|
-
} & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
+
declare function MessageReaction({ name, counter, mine, children, className, ...props }: MessageReactionProps): import("react").JSX.Element;
|
|
14
9
|
export default MessageReaction;
|
|
15
10
|
//# sourceMappingURL=MessageReaction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageReaction.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageReactions/MessageReaction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageReaction.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageReactions/MessageReaction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAKtE,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAAC,cAAc,CAAC,GAAG;IACjE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,iBAAS,eAAe,CAAC,EACvB,IAAI,EACJ,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,oBAAoB,+BAsBtB;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HTMLAttributes } from 'react';
|
|
2
|
-
export type MessageReactionsProps = HTMLAttributes<HTMLDivElement>;
|
|
3
|
-
declare
|
|
1
|
+
import type { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
+
export type MessageReactionsProps = HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>;
|
|
3
|
+
declare function MessageReactions(props: MessageReactionsProps): import("react").JSX.Element;
|
|
4
4
|
export default MessageReactions;
|
|
5
5
|
//# sourceMappingURL=MessageReactions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageReactions.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageReactions/MessageReactions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageReactions.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageReactions/MessageReactions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3D,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,cAAc,CAAC,GAChE,aAAa,CAAC,cAAc,CAAC,CAAC;AAEhC,iBAAS,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,+BAMrD;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { AllHTMLAttributes } from 'react';
|
|
1
|
+
import type { AllHTMLAttributes, RefAttributes } from 'react';
|
|
2
2
|
import './MessageStatusIndicator.styles.scss';
|
|
3
|
-
export type MessageStatusIndicatorProps = AllHTMLAttributes<HTMLDivElement>;
|
|
4
|
-
declare
|
|
3
|
+
export type MessageStatusIndicatorProps = AllHTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>;
|
|
4
|
+
declare function MessageStatusIndicator(props: MessageStatusIndicatorProps): import("react").JSX.Element;
|
|
5
5
|
export default MessageStatusIndicator;
|
|
6
6
|
//# sourceMappingURL=MessageStatusIndicator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageStatusIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageStatusIndicator/MessageStatusIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageStatusIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageStatusIndicator/MessageStatusIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE9D,OAAO,sCAAsC,CAAC;AAE9C,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CAAC,cAAc,CAAC,GACzE,aAAa,CAAC,cAAc,CAAC,CAAC;AAEhC,iBAAS,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,+BAEjE;AAED,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import { type ButtonGroupProps } from '../../ButtonGroup';
|
|
2
2
|
export type MessageToolbarProps = ButtonGroupProps;
|
|
3
|
-
declare
|
|
4
|
-
align?: "start" | "center" | "end";
|
|
5
|
-
stretch?: boolean;
|
|
6
|
-
wrap?: boolean;
|
|
7
|
-
vertical?: boolean;
|
|
8
|
-
small?: boolean;
|
|
9
|
-
large?: boolean;
|
|
10
|
-
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
3
|
+
declare function MessageToolbar(props: MessageToolbarProps): import("react").JSX.Element;
|
|
11
4
|
export default MessageToolbar;
|
|
12
5
|
//# sourceMappingURL=MessageToolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageToolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbar/MessageToolbar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MessageToolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbar/MessageToolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAEvE,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAAC;AAEnD,iBAAS,cAAc,CAAC,KAAK,EAAE,mBAAmB,+BAMjD;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -1,14 +1,6 @@
|
|
|
1
|
+
import type { RefAttributes } from 'react';
|
|
1
2
|
import type { IconButtonProps } from '../../Button/IconButton';
|
|
2
|
-
export type MessageToolbarItemProps = IconButtonProps
|
|
3
|
-
declare
|
|
4
|
-
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement<any>;
|
|
5
|
-
primary?: boolean;
|
|
6
|
-
secondary?: boolean;
|
|
7
|
-
info?: boolean;
|
|
8
|
-
danger?: boolean;
|
|
9
|
-
warning?: boolean;
|
|
10
|
-
success?: boolean;
|
|
11
|
-
pressed?: boolean;
|
|
12
|
-
} & import("../../Button").IconButtonSize & import("../..").BoxProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
3
|
+
export type MessageToolbarItemProps = Omit<IconButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>;
|
|
4
|
+
declare function MessageToolbarItem(props: MessageToolbarItemProps): import("react").JSX.Element;
|
|
13
5
|
export default MessageToolbarItem;
|
|
14
6
|
//# sourceMappingURL=MessageToolbarItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageToolbarItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbar/MessageToolbarItem.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MessageToolbarItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbar/MessageToolbarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE/D,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,eAAe,EAAE,KAAK,CAAC,GAChE,aAAa,CAAC,iBAAiB,CAAC,CAAC;AAEnC,iBAAS,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,+BAEzD;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import type { HTMLAttributes } from 'react';
|
|
2
|
-
export type MessageToolbarWrapperProps = HTMLAttributes<HTMLDivElement> & {
|
|
1
|
+
import type { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
+
export type MessageToolbarWrapperProps = HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement> & {
|
|
3
3
|
visible?: boolean;
|
|
4
4
|
};
|
|
5
|
-
declare
|
|
6
|
-
visible?: boolean;
|
|
7
|
-
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare function MessageToolbarWrapper({ className, visible, ...props }: MessageToolbarWrapperProps): import("react").JSX.Element;
|
|
8
6
|
export default MessageToolbarWrapper;
|
|
9
7
|
//# sourceMappingURL=MessageToolbarWrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageToolbarWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbar/MessageToolbarWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageToolbarWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbar/MessageToolbarWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3D,MAAM,MAAM,0BAA0B,GAAG,cAAc,CAAC,cAAc,CAAC,GACrE,aAAa,CAAC,cAAc,CAAC,GAAG;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEJ,iBAAS,qBAAqB,CAAC,EAC7B,SAAS,EACT,OAAO,EACP,GAAG,KAAK,EACT,EAAE,0BAA0B,+BAa5B;AAED,eAAe,qBAAqB,CAAC"}
|