@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
|
@@ -3,6 +3,9 @@ import type { StylingProps } from '../Box/stylingProps';
|
|
|
3
3
|
export type AccordionProps = {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
} & Partial<StylingProps>;
|
|
6
|
+
/**
|
|
7
|
+
* An `Accordion` allows users to toggle the display of sections of content.
|
|
8
|
+
*/
|
|
6
9
|
declare const Accordion: ({ children, ...props }: AccordionProps) => import("react").JSX.Element;
|
|
7
10
|
export default Accordion;
|
|
8
11
|
//# sourceMappingURL=Accordion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AAE1B;;GAEG;AACH,QAAA,MAAM,SAAS,GAAI,wBAAwB,cAAc,gCAMxD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import type { TrackHTMLAttributes } from 'react';
|
|
2
|
-
|
|
1
|
+
import type { RefAttributes, TrackHTMLAttributes } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* A Fuselage’s custom AudioPlayer.
|
|
4
|
+
*/
|
|
5
|
+
export type AudioPlayerProps = RefAttributes<HTMLAudioElement> & {
|
|
3
6
|
src: string;
|
|
4
7
|
type?: string;
|
|
5
8
|
maxPlaybackSpeed?: number;
|
|
@@ -13,6 +16,6 @@ export type AudioPlayerProps = {
|
|
|
13
16
|
downloadAudioFileLabel?: string;
|
|
14
17
|
trackProps?: TrackHTMLAttributes<HTMLTrackElement>;
|
|
15
18
|
};
|
|
16
|
-
declare const AudioPlayer:
|
|
19
|
+
declare const AudioPlayer: ({ ref, src, type, maxPlaybackSpeed, minPlaybackSpeed, playbackSpeedStep, download, playLabel, pauseLabel, audioPlaybackRangeLabel, changePlaybackSpeedLabel, downloadAudioFileLabel, trackProps, }: AudioPlayerProps) => import("react").JSX.Element;
|
|
17
20
|
export default AudioPlayer;
|
|
18
21
|
//# sourceMappingURL=AudioPlayer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AudioPlayer.d.ts","sourceRoot":"","sources":["../../../src/components/AudioPlayer/AudioPlayer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AudioPlayer.d.ts","sourceRoot":"","sources":["../../../src/components/AudioPlayer/AudioPlayer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAyDhE;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,gBAAgB,CAAC,GAAG;IAC/D,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,UAAU,CAAC,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;CACpD,CAAC;AAEF,QAAA,MAAM,WAAW,GAAI,oMAclB,gBAAgB,gCAmHlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { MouseEvent } from 'react';
|
|
2
|
+
export type AudioPlayerControlsProps = {
|
|
3
|
+
isPlaying: boolean;
|
|
4
|
+
currentTime: number;
|
|
5
|
+
durationTime: number;
|
|
6
|
+
playbackSpeed: number;
|
|
7
|
+
onTogglePlay: () => void;
|
|
8
|
+
onSeek: (time: number) => void;
|
|
9
|
+
onChangePlaybackSpeed: () => void;
|
|
10
|
+
download?: boolean;
|
|
11
|
+
downloadHref?: string;
|
|
12
|
+
onDownload?: (event: MouseEvent<HTMLElement>) => void;
|
|
13
|
+
playLabel?: string;
|
|
14
|
+
pauseLabel?: string;
|
|
15
|
+
audioPlaybackRangeLabel?: string;
|
|
16
|
+
changePlaybackSpeedLabel?: string;
|
|
17
|
+
downloadAudioFileLabel?: string;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Presentational, fully controlled audio controls (play/pause, seek, elapsed
|
|
21
|
+
* time, playback speed and optional download). It owns no `<audio>` element and
|
|
22
|
+
* no playback state, so it can be driven by any source — a local element or a
|
|
23
|
+
* shared/persistent one. `AudioPlayer` wraps this with its own element for the
|
|
24
|
+
* common self-contained case.
|
|
25
|
+
*/
|
|
26
|
+
declare const AudioPlayerControls: ({ isPlaying, currentTime, durationTime, playbackSpeed, onTogglePlay, onSeek, onChangePlaybackSpeed, download, downloadHref, onDownload, playLabel, pauseLabel, audioPlaybackRangeLabel, changePlaybackSpeedLabel, downloadAudioFileLabel, }: AudioPlayerControlsProps) => import("react").JSX.Element;
|
|
27
|
+
export default AudioPlayerControls;
|
|
28
|
+
//# sourceMappingURL=AudioPlayerControls.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AudioPlayerControls.d.ts","sourceRoot":"","sources":["../../../src/components/AudioPlayer/AudioPlayerControls.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAUxC,MAAM,MAAM,wBAAwB,GAAG;IACrC,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACjC,CAAC;AAEF;;;;;;GAMG;AACH,QAAA,MAAM,mBAAmB,GAAI,6OAgB1B,wBAAwB,gCA+C1B,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AudioPlayer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/AudioPlayer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC9E,OAAO,EACL,OAAO,IAAI,mBAAmB,EAC9B,KAAK,wBAAwB,GAC9B,MAAM,uBAAuB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AllHTMLAttributes, ComponentType,
|
|
1
|
+
import type { AllHTMLAttributes, ComponentType, MouseEvent, MouseEventHandler, ReactNode, RefAttributes } from 'react';
|
|
2
2
|
export type AutoCompleteOption<TLabel> = {
|
|
3
3
|
value: string;
|
|
4
4
|
label: TLabel;
|
|
@@ -18,6 +18,7 @@ export type AutoCompleteProps<TLabel = ReactNode> = Omit<AllHTMLAttributes<HTMLI
|
|
|
18
18
|
value: string;
|
|
19
19
|
selected?: boolean;
|
|
20
20
|
focus?: boolean;
|
|
21
|
+
onMouseDown: MouseEventHandler;
|
|
21
22
|
}>;
|
|
22
23
|
renderEmpty?: ComponentType<{
|
|
23
24
|
customEmpty?: string;
|
|
@@ -28,8 +29,9 @@ export type AutoCompleteProps<TLabel = ReactNode> = Omit<AllHTMLAttributes<HTMLI
|
|
|
28
29
|
multiple?: boolean;
|
|
29
30
|
value?: string | string[];
|
|
30
31
|
} & RefAttributes<HTMLInputElement>;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
/**
|
|
33
|
+
* An input for selection of options.
|
|
34
|
+
*/
|
|
35
|
+
declare function AutoComplete<TLabel = ReactNode>({ ref, value, filter, setFilter, options, renderItem, renderSelected: RenderSelected, onChange, renderEmpty, placeholder, error, disabled, multiple, onBlur: onBlurAction, ...props }: AutoCompleteProps<TLabel>): import("react").JSX.Element;
|
|
34
36
|
export default AutoComplete;
|
|
35
37
|
//# sourceMappingURL=AutoComplete.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutoComplete.d.ts","sourceRoot":"","sources":["../../../src/components/AutoComplete/AutoComplete.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,iBAAiB,EAEjB,aAAa,EAEb,
|
|
1
|
+
{"version":3,"file":"AutoComplete.d.ts","sourceRoot":"","sources":["../../../src/components/AutoComplete/AutoComplete.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,iBAAiB,EAEjB,aAAa,EAEb,UAAU,EACV,iBAAiB,EACjB,SAAS,EACT,aAAa,EACd,MAAM,OAAO,CAAC;AAYf,MAAM,MAAM,kBAAkB,CAAC,MAAM,IAAI;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AA0BF,MAAM,MAAM,iBAAiB,CAAC,MAAM,GAAG,SAAS,IAAI,IAAI,CACtD,iBAAiB,CAAC,gBAAgB,CAAC,EACnC,OAAO,GAAG,UAAU,GAAG,IAAI,CAC5B,GAAG;IACF,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,OAAO,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC;IACvC,cAAc,CAAC,EAAE,aAAa,CAAC;QAC7B,QAAQ,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;QACrC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;KAC3D,CAAC,CAAC;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAC;IAC7C,UAAU,CAAC,EAAE,aAAa,CAAC;QACzB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB,WAAW,EAAE,iBAAiB,CAAC;KAChC,CAAC,CAAC;IACH,WAAW,CAAC,EAAE,aAAa,CAAC;QAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC,CAAC;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC3B,GAAG,aAAa,CAAC,gBAAgB,CAAC,CAAC;AAEpC;;GAEG;AACH,iBAAS,YAAY,CAAC,MAAM,GAAG,SAAS,EAAE,EACxC,GAAG,EACH,KAAK,EACL,MAAM,EACN,SAAS,EACT,OAAY,EACZ,UAAU,EACV,cAAc,EAAE,cAAc,EAC9B,QAAQ,EACR,WAAW,EACX,WAAW,EACX,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,MAAM,EAAE,YAAuB,EAC/B,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,MAAM,CAAC,+BAoK3B;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -8,6 +8,9 @@ export type BadgeProps = {
|
|
|
8
8
|
children?: ReactNode;
|
|
9
9
|
title?: string;
|
|
10
10
|
} & HTMLAttributes<HTMLSpanElement>;
|
|
11
|
+
/**
|
|
12
|
+
* Communicates notification’s amount and types.
|
|
13
|
+
*/
|
|
11
14
|
declare function Badge({ is: Tag, variant, small, className, disabled, ...props }: BadgeProps): import("react").JSX.Element;
|
|
12
15
|
export default Badge;
|
|
13
16
|
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIpE,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC,CAAC;IAClD,OAAO,CAAC,EAAE,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;IACnE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,cAAc,CAAC,eAAe,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIpE,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC,CAAC;IAClD,OAAO,CAAC,EAAE,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;IACnE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,cAAc,CAAC,eAAe,CAAC,CAAC;AAEpC;;GAEG;AACH,iBAAS,KAAK,CAAC,EACb,EAAE,EAAE,GAAY,EAChB,OAAqB,EACrB,KAAK,EACL,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,UAAU,+BAeZ;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -2,7 +2,10 @@ import type { cssFn } from '@rocket.chat/css-in-js';
|
|
|
2
2
|
import type { AllHTMLAttributes, ElementType, RefAttributes, SVGAttributes } from 'react';
|
|
3
3
|
import type { Falsy } from '../../types/Falsy';
|
|
4
4
|
import type { StylingProps } from './stylingProps';
|
|
5
|
-
export interface BoxProps extends Partial<StylingProps>, Omit<AllHTMLAttributes<HTMLElement>, 'ref' | 'is' | 'className' | 'size' | 'elevation' | keyof StylingProps>, Omit<SVGAttributes<SVGElement>, keyof AllHTMLAttributes<HTMLElement> | 'elevation' | keyof StylingProps> {
|
|
5
|
+
export interface BoxProps extends Partial<StylingProps>, Omit<AllHTMLAttributes<HTMLElement>, 'ref' | 'is' | 'className' | 'size' | 'elevation' | keyof StylingProps>, Omit<SVGAttributes<SVGElement>, keyof AllHTMLAttributes<HTMLElement> | 'elevation' | keyof StylingProps>, RefAttributes<any> {
|
|
6
|
+
/**
|
|
7
|
+
* The `is` prop is used to render the Box as a different HTML tag. It can also be used to render a different fuselage component.
|
|
8
|
+
*/
|
|
6
9
|
is?: ElementType;
|
|
7
10
|
className?: string | cssFn | (string | cssFn | Falsy)[];
|
|
8
11
|
animated?: boolean;
|
|
@@ -10,7 +13,7 @@ export interface BoxProps extends Partial<StylingProps>, Omit<AllHTMLAttributes<
|
|
|
10
13
|
htmlSize?: AllHTMLAttributes<HTMLElement>['size'];
|
|
11
14
|
focusable?: boolean;
|
|
12
15
|
}
|
|
13
|
-
|
|
14
|
-
declare const _default: import("react").
|
|
16
|
+
declare function Box({ is, ...props }: BoxProps): import("react").JSX.Element;
|
|
17
|
+
declare const _default: import("react").MemoExoticComponent<typeof Box>;
|
|
15
18
|
export default _default;
|
|
16
19
|
//# sourceMappingURL=Box.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/components/Box/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,EACV,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,aAAa,EACd,MAAM,OAAO,CAAC;AAKf,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,MAAM,WAAW,QACf,SAAQ,OAAO,CAAC,YAAY,CAAC,EAC3B,IAAI,CACF,iBAAiB,CAAC,WAAW,CAAC,EAC9B,KAAK,GAAG,IAAI,GAAG,WAAW,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,YAAY,CACvE,EACD,IAAI,CACF,aAAa,CAAC,UAAU,CAAC,EACzB,MAAM,iBAAiB,CAAC,WAAW,CAAC,GAAG,WAAW,GAAG,MAAM,YAAY,CACxE;
|
|
1
|
+
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/components/Box/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,EACV,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,aAAa,EACd,MAAM,OAAO,CAAC;AAKf,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,MAAM,WAAW,QACf,SAAQ,OAAO,CAAC,YAAY,CAAC,EAC3B,IAAI,CACF,iBAAiB,CAAC,WAAW,CAAC,EAC9B,KAAK,GAAG,IAAI,GAAG,WAAW,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,YAAY,CACvE,EACD,IAAI,CACF,aAAa,CAAC,UAAU,CAAC,EACzB,MAAM,iBAAiB,CAAC,WAAW,CAAC,GAAG,WAAW,GAAG,MAAM,YAAY,CACxE,EACD,aAAa,CAAC,GAAG,CAAC;IACpB;;OAEG;IACH,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,CAAC,MAAM,GAAG,KAAK,GAAG,KAAK,CAAC,EAAE,CAAC;IACxD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,GAAG,qBAAqB,CAAC;IAClD,QAAQ,CAAC,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;IAClD,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,iBAAS,GAAG,CAAC,EAAE,EAAU,EAAE,GAAG,KAAK,EAAE,EAAE,QAAQ,+BAkB9C;;AAED,wBAAyB"}
|
|
@@ -8,6 +8,12 @@ export type StylingBoxProps = {
|
|
|
8
8
|
}>;
|
|
9
9
|
className?: string | cssFn | (string | cssFn | Falsy)[];
|
|
10
10
|
} & Partial<StylingProps>;
|
|
11
|
+
/**
|
|
12
|
+
* Merges its `StylingProps` props into a `className` prop passed to a child element.
|
|
13
|
+
*
|
|
14
|
+
* This is intended to be used as a wrapper for components that accept styling props but don't need the weight of the
|
|
15
|
+
* `Box` component prop handling internally.
|
|
16
|
+
*/
|
|
11
17
|
export declare const StylingBox: ({ children, ...props }: StylingBoxProps) => ReactElement<{
|
|
12
18
|
className?: string;
|
|
13
19
|
}, string | import("react").JSXElementConstructor<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StylingBox.d.ts","sourceRoot":"","sources":["../../../src/components/Box/StylingBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,YAAY,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,CAAC,MAAM,GAAG,KAAK,GAAG,KAAK,CAAC,EAAE,CAAC;CACzD,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"StylingBox.d.ts","sourceRoot":"","sources":["../../../src/components/Box/StylingBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,YAAY,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,CAAC,MAAM,GAAG,KAAK,GAAG,KAAK,CAAC,EAAE,CAAC;CACzD,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AAE1B;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GAAI,wBAAwB,eAAe;gBAV3B,MAAM;uDAqB5C,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { AllHTMLAttributes } from 'react';
|
|
1
|
+
import type { AllHTMLAttributes, RefAttributes } from 'react';
|
|
2
2
|
import { type BoxProps } from '../Box';
|
|
3
3
|
import { type IconProps } from '../Icon';
|
|
4
|
-
export type ButtonProps = BoxProps & {
|
|
4
|
+
export type ButtonProps = Omit<BoxProps, 'ref'> & {
|
|
5
5
|
primary?: boolean;
|
|
6
6
|
secondary?: boolean;
|
|
7
7
|
danger?: boolean;
|
|
@@ -17,23 +17,10 @@ export type ButtonProps = BoxProps & {
|
|
|
17
17
|
square?: boolean;
|
|
18
18
|
external?: boolean;
|
|
19
19
|
icon?: IconProps['name'];
|
|
20
|
-
} & Omit<AllHTMLAttributes<HTMLButtonElement | HTMLAnchorElement>, 'is' | 'className' | 'size'>;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
warning?: boolean;
|
|
26
|
-
success?: boolean;
|
|
27
|
-
disabled?: boolean;
|
|
28
|
-
loading?: boolean;
|
|
29
|
-
mini?: boolean;
|
|
30
|
-
tiny?: boolean;
|
|
31
|
-
small?: boolean;
|
|
32
|
-
medium?: boolean;
|
|
33
|
-
large?: boolean;
|
|
34
|
-
square?: boolean;
|
|
35
|
-
external?: boolean;
|
|
36
|
-
icon?: IconProps["name"];
|
|
37
|
-
} & Omit<AllHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "className" | "size" | "is"> & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
20
|
+
} & Omit<AllHTMLAttributes<HTMLButtonElement | HTMLAnchorElement>, 'is' | 'className' | 'size'> & RefAttributes<HTMLButtonElement | HTMLAnchorElement>;
|
|
21
|
+
/**
|
|
22
|
+
* Indicates an actionable user action.
|
|
23
|
+
*/
|
|
24
|
+
declare function Button({ ref, primary, secondary, danger, warning, success, external, icon, is, rel: _rel, tiny, mini, small, medium, large, square, loading, disabled, children, ...props }: ButtonProps): import("react").JSX.Element;
|
|
38
25
|
export default Button;
|
|
39
26
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG9D,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAE/C,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GAAG;IAChD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;CAC1B,GAAG,IAAI,CACJ,iBAAiB,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,EACxD,IAAI,GAAG,WAAW,GAAG,MAAM,CAC5B,GACD,aAAa,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,CAAC;AAEvD;;GAEG;AACH,iBAAS,MAAM,CAAC,EACd,GAAG,EACH,OAAO,EACP,SAAS,EACT,MAAM,EACN,OAAO,EACP,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,EAAa,EACb,GAAG,EAAE,IAAI,EACT,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,MAAM,EACN,KAAK,EACL,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,WAAW,+BA2Db;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -18,15 +18,6 @@ export type IconButtonProps = {
|
|
|
18
18
|
success?: boolean;
|
|
19
19
|
pressed?: boolean;
|
|
20
20
|
} & IconButtonSize & BoxProps;
|
|
21
|
-
declare
|
|
22
|
-
icon: IconName | ReactElement<any>;
|
|
23
|
-
primary?: boolean;
|
|
24
|
-
secondary?: boolean;
|
|
25
|
-
info?: boolean;
|
|
26
|
-
danger?: boolean;
|
|
27
|
-
warning?: boolean;
|
|
28
|
-
success?: boolean;
|
|
29
|
-
pressed?: boolean;
|
|
30
|
-
} & IconButtonSize & BoxProps & import("react").RefAttributes<HTMLElement>>;
|
|
21
|
+
declare function IconButton({ icon, primary, info, secondary, danger, warning, success, mini, large, tiny, small, medium, pressed, children, ...props }: IconButtonProps): import("react").JSX.Element;
|
|
31
22
|
export default IconButton;
|
|
32
23
|
//# sourceMappingURL=IconButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/components/Button/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAG5C,MAAM,MAAM,cAAc,GAAG;IAC3B,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;CAChB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,QAAQ,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,GAChB,QAAQ,CAAC;AAmBX,
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/components/Button/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAG5C,MAAM,MAAM,cAAc,GAAG;IAC3B,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;CAChB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,QAAQ,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,GAChB,QAAQ,CAAC;AAmBX,iBAAS,UAAU,CAAC,EAClB,IAAI,EACJ,OAAO,EACP,IAAI,EACJ,SAAS,EACT,MAAM,EACN,OAAO,EACP,OAAO,EACP,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,KAAK,EACL,MAAM,EACN,OAAO,EACP,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,eAAe,+BAqEjB;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export { default as Button, type ButtonProps } from './Button';
|
|
2
|
-
export { default as ActionButton, type ActionButtonProps, type ActionButtonSize, } from './ActionButton';
|
|
3
2
|
export { default as IconButton, type IconButtonProps, type IconButtonSize, } from './IconButton';
|
|
4
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAC/D,OAAO,EACL,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAC/D,OAAO,EACL,OAAO,IAAI,UAAU,EACrB,KAAK,eAAe,EACpB,KAAK,cAAc,GACpB,MAAM,cAAc,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { HTMLAttributes } from 'react';
|
|
2
|
-
export type ButtonGroupProps = {
|
|
1
|
+
import type { HTMLAttributes, RefAttributes } from 'react';
|
|
2
|
+
export type ButtonGroupProps = RefAttributes<HTMLDivElement> & {
|
|
3
3
|
align?: 'start' | 'center' | 'end';
|
|
4
4
|
stretch?: boolean;
|
|
5
5
|
wrap?: boolean;
|
|
@@ -7,13 +7,9 @@ export type ButtonGroupProps = {
|
|
|
7
7
|
small?: boolean;
|
|
8
8
|
large?: boolean;
|
|
9
9
|
} & HTMLAttributes<HTMLDivElement>;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
vertical?: boolean;
|
|
15
|
-
small?: boolean;
|
|
16
|
-
large?: boolean;
|
|
17
|
-
} & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
+
/**
|
|
11
|
+
* A container for grouping buttons that semantically share a common action context.
|
|
12
|
+
*/
|
|
13
|
+
declare function ButtonGroup({ align, children, stretch, vertical, wrap, small, large, className, ...props }: ButtonGroupProps): import("react").JSX.Element;
|
|
18
14
|
export default ButtonGroup;
|
|
19
15
|
//# sourceMappingURL=ButtonGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonGroup/ButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonGroup/ButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3D,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,cAAc,CAAC,GAAG;IAC7D,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC;;GAEG;AACH,iBAAS,WAAW,CAAC,EACnB,KAAe,EACf,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,KAAK,EACL,SAAS,EACT,GAAG,KAAK,EACT,EAAE,gBAAgB,+BAqBlB;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -8,6 +8,9 @@ export type CalloutProps = Omit<BoxProps, 'type' | 'name'> & {
|
|
|
8
8
|
icon?: IconProps['name'];
|
|
9
9
|
actions?: ReactNode;
|
|
10
10
|
};
|
|
11
|
+
/**
|
|
12
|
+
* The `Callout` is used to get the user's attention explaining something important in the content of the current page.
|
|
13
|
+
*/
|
|
11
14
|
declare const Callout: ({ type, title, children, icon, className, actions, ...props }: CalloutProps) => import("react").JSX.Element;
|
|
12
15
|
export default Callout;
|
|
13
16
|
//# sourceMappingURL=Callout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Callout.d.ts","sourceRoot":"","sources":["../../../src/components/Callout/Callout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAE/C,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG;IAC3D,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IACjD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACzB,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC;
|
|
1
|
+
{"version":3,"file":"Callout.d.ts","sourceRoot":"","sources":["../../../src/components/Callout/Callout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAE/C,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG;IAC3D,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IACjD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACzB,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC;AAIF;;GAEG;AACH,QAAA,MAAM,OAAO,GAAI,+DAQd,YAAY,gCAmCd,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,12 +1,9 @@
|
|
|
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 CheckBoxProps = BoxProps & {
|
|
3
|
+
export type CheckBoxProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLInputElement> & {
|
|
4
4
|
indeterminate?: boolean;
|
|
5
5
|
labelChildren?: ReactNode;
|
|
6
6
|
} & AllHTMLAttributes<HTMLInputElement>;
|
|
7
|
-
declare
|
|
8
|
-
indeterminate?: boolean;
|
|
9
|
-
labelChildren?: ReactNode;
|
|
10
|
-
} & AllHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>>;
|
|
7
|
+
declare function CheckBox({ ref, indeterminate, onChange, className, labelChildren, ...props }: CheckBoxProps): import("react").JSX.Element;
|
|
11
8
|
export default CheckBox;
|
|
12
9
|
//# sourceMappingURL=CheckBox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckBox.d.ts","sourceRoot":"","sources":["../../../src/components/CheckBox/CheckBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"CheckBox.d.ts","sourceRoot":"","sources":["../../../src/components/CheckBox/CheckBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,iBAAiB,EAEjB,SAAS,EACT,aAAa,EACd,MAAM,OAAO,CAAC;AAGf,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GAC/C,aAAa,CAAC,gBAAgB,CAAC,GAAG;IAChC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,SAAS,CAAC;CAC3B,GAAG,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;AAE1C,iBAAS,QAAQ,CAAC,EAChB,GAAG,EACH,aAAa,EACb,QAAQ,EACR,SAAS,EACT,aAAa,EACb,GAAG,KAAK,EACT,EAAE,aAAa,+BAkCf;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -6,6 +6,13 @@ export type CodeSnippetProps = BoxProps & {
|
|
|
6
6
|
buttonDisabled?: boolean;
|
|
7
7
|
onClick?: () => void;
|
|
8
8
|
};
|
|
9
|
+
/**
|
|
10
|
+
* The `CodeSnippet` is used to show code or commands and make easier to copy them.
|
|
11
|
+
*
|
|
12
|
+
* The default button text is `Copy` but you can use the `buttonText` prop to handle translations in your project.
|
|
13
|
+
*
|
|
14
|
+
* Please check the `useClipBoard` hook in `fuselage-hooks` package, to handle the copy behaviour.
|
|
15
|
+
*/
|
|
9
16
|
declare const CodeSnippet: ({ children, onClick, buttonText, buttonDisabled, ...props }: CodeSnippetProps) => ReactElement<CodeSnippetProps>;
|
|
10
17
|
export default CodeSnippet;
|
|
11
18
|
//# sourceMappingURL=CodeSnippet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeSnippet.d.ts","sourceRoot":"","sources":["../../../src/components/CodeSnippet/CodeSnippet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAI5C,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;
|
|
1
|
+
{"version":3,"file":"CodeSnippet.d.ts","sourceRoot":"","sources":["../../../src/components/CodeSnippet/CodeSnippet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAI5C,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF;;;;;;GAMG;AACH,QAAA,MAAM,WAAW,GAAI,6DAMlB,gBAAgB,KAAG,YAAY,CAAC,gBAAgB,CAuBlD,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
import type { RefAttributes } from 'react';
|
|
1
2
|
import type { BoxProps } from '../Box';
|
|
2
|
-
export type ContextualbarProps = BoxProps
|
|
3
|
-
|
|
3
|
+
export type ContextualbarProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLElement>;
|
|
4
|
+
/**
|
|
5
|
+
* The `Contextualbar` has the purpose to persist and input information about the scope of the related page.
|
|
6
|
+
*/
|
|
7
|
+
declare function Contextualbar({ width, position, bg, ...props }: ContextualbarProps): import("react").JSX.Element;
|
|
8
|
+
declare const _default: import("react").MemoExoticComponent<typeof Contextualbar>;
|
|
4
9
|
export default _default;
|
|
5
10
|
//# sourceMappingURL=Contextualbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Contextualbar.d.ts","sourceRoot":"","sources":["../../../src/components/Contextualbar/Contextualbar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Contextualbar.d.ts","sourceRoot":"","sources":["../../../src/components/Contextualbar/Contextualbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GACpD,aAAa,CAAC,WAAW,CAAC,CAAC;AAE7B;;GAEG;AACH,iBAAS,aAAa,CAAC,EACrB,KAAK,EACL,QAAQ,EACR,EAAW,EACX,GAAG,KAAK,EACT,EAAE,kBAAkB,+BAqBpB;;AAED,wBAAmC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import type { RefAttributes } from 'react';
|
|
1
2
|
import { type BoxProps } from '../Box';
|
|
2
|
-
export type ContextualbarContentProps = BoxProps
|
|
3
|
-
declare
|
|
3
|
+
export type ContextualbarContentProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLElement>;
|
|
4
|
+
declare function ContextualbarContent(props: ContextualbarContentProps): import("react").JSX.Element;
|
|
5
|
+
declare const _default: import("react").MemoExoticComponent<typeof ContextualbarContent>;
|
|
4
6
|
export default _default;
|
|
5
7
|
//# sourceMappingURL=ContextualbarContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextualbarContent.d.ts","sourceRoot":"","sources":["../../../src/components/Contextualbar/ContextualbarContent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContextualbarContent.d.ts","sourceRoot":"","sources":["../../../src/components/Contextualbar/ContextualbarContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GAC3D,aAAa,CAAC,WAAW,CAAC,CAAC;AAE7B,iBAAS,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,+BAY7D;;AAED,wBAA0C"}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
+
import type { RefAttributes } from 'react';
|
|
1
2
|
import type { StatesIconProps } from '..';
|
|
2
3
|
import type { BoxProps } from '../Box';
|
|
3
|
-
export type ContextualbarEmptyContentProps = BoxProps & {
|
|
4
|
+
export type ContextualbarEmptyContentProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLElement> & {
|
|
4
5
|
icon?: StatesIconProps['name'];
|
|
5
6
|
title?: string;
|
|
6
7
|
subtitle?: string;
|
|
7
8
|
};
|
|
8
|
-
declare
|
|
9
|
-
|
|
10
|
-
title?: string;
|
|
11
|
-
subtitle?: string;
|
|
12
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
9
|
+
declare function ContextualbarEmptyContent({ icon, title, subtitle, ...props }: ContextualbarEmptyContentProps): import("react").JSX.Element;
|
|
10
|
+
declare const _default: import("react").MemoExoticComponent<typeof ContextualbarEmptyContent>;
|
|
13
11
|
export default _default;
|
|
14
12
|
//# sourceMappingURL=ContextualbarEmptyContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextualbarEmptyContent.d.ts","sourceRoot":"","sources":["../../../src/components/Contextualbar/ContextualbarEmptyContent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContextualbarEmptyContent.d.ts","sourceRoot":"","sources":["../../../src/components/Contextualbar/ContextualbarEmptyContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,IAAI,CAAC;AAE1C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAIvC,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GAChE,aAAa,CAAC,WAAW,CAAC,GAAG;IAC3B,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEJ,iBAAS,yBAAyB,CAAC,EACjC,IAAkB,EAClB,KAAuB,EACvB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,8BAA8B,+BAUhC;;AAED,wBAA+C"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import type { RefAttributes } from 'react';
|
|
1
2
|
import type { BoxProps } from '../Box';
|
|
2
|
-
export type ContextualbarFooterProps = BoxProps
|
|
3
|
-
declare
|
|
3
|
+
export type ContextualbarFooterProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLElement>;
|
|
4
|
+
declare function ContextualbarFooter(props: ContextualbarFooterProps): import("react").JSX.Element;
|
|
5
|
+
declare const _default: import("react").MemoExoticComponent<typeof ContextualbarFooter>;
|
|
4
6
|
export default _default;
|
|
5
7
|
//# sourceMappingURL=ContextualbarFooter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextualbarFooter.d.ts","sourceRoot":"","sources":["../../../src/components/Contextualbar/ContextualbarFooter.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContextualbarFooter.d.ts","sourceRoot":"","sources":["../../../src/components/Contextualbar/ContextualbarFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GAC1D,aAAa,CAAC,WAAW,CAAC,CAAC;AAE7B,iBAAS,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,+BAE3D;;AAED,wBAAyC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import type { RefAttributes } from 'react';
|
|
1
2
|
import { type BoxProps } from '../Box';
|
|
2
|
-
export type ContextualbarSectionProps = BoxProps
|
|
3
|
-
declare
|
|
3
|
+
export type ContextualbarSectionProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLElement>;
|
|
4
|
+
declare function ContextualbarSection(props: ContextualbarSectionProps): import("react").JSX.Element;
|
|
5
|
+
declare const _default: import("react").MemoExoticComponent<typeof ContextualbarSection>;
|
|
4
6
|
export default _default;
|
|
5
7
|
//# sourceMappingURL=ContextualbarSection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextualbarSection.d.ts","sourceRoot":"","sources":["../../../src/components/Contextualbar/ContextualbarSection.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContextualbarSection.d.ts","sourceRoot":"","sources":["../../../src/components/Contextualbar/ContextualbarSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GAC3D,aAAa,CAAC,WAAW,CAAC,CAAC;AAE7B,iBAAS,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,+BAc7D;;AAED,wBAA0C"}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
import type { RefAttributes } from 'react';
|
|
1
2
|
import { type BoxProps } from '../Box';
|
|
2
|
-
export type ContextualbarProps = BoxProps
|
|
3
|
-
|
|
3
|
+
export type ContextualbarProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLElement>;
|
|
4
|
+
/**
|
|
5
|
+
* The `Contextualbar` has the purpose to persist and input information about the scope of the related page.
|
|
6
|
+
*/
|
|
7
|
+
declare function Contextualbar({ width, position, bg, ...props }: ContextualbarProps): import("react").JSX.Element;
|
|
8
|
+
declare const _default: import("react").MemoExoticComponent<typeof Contextualbar>;
|
|
4
9
|
export default _default;
|
|
5
10
|
//# sourceMappingURL=Contextualbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Contextualbar.d.ts","sourceRoot":"","sources":["../../../src/components/ContextualbarV2/Contextualbar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Contextualbar.d.ts","sourceRoot":"","sources":["../../../src/components/ContextualbarV2/Contextualbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GACpD,aAAa,CAAC,WAAW,CAAC,CAAC;AAE7B;;GAEG;AACH,iBAAS,aAAa,CAAC,EACrB,KAAK,EACL,QAAQ,EACR,EAAW,EACX,GAAG,KAAK,EACT,EAAE,kBAAkB,+BAqBpB;;AAED,wBAAmC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import type { RefAttributes } from 'react';
|
|
1
2
|
import { type BoxProps } from '../Box';
|
|
2
|
-
export type ContextualbarContentProps = BoxProps
|
|
3
|
-
declare
|
|
3
|
+
export type ContextualbarContentProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLElement>;
|
|
4
|
+
declare function ContextualbarContent(props: ContextualbarContentProps): import("react").JSX.Element;
|
|
5
|
+
declare const _default: import("react").MemoExoticComponent<typeof ContextualbarContent>;
|
|
4
6
|
export default _default;
|
|
5
7
|
//# sourceMappingURL=ContextualbarContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextualbarContent.d.ts","sourceRoot":"","sources":["../../../src/components/ContextualbarV2/ContextualbarContent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContextualbarContent.d.ts","sourceRoot":"","sources":["../../../src/components/ContextualbarV2/ContextualbarContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GAC3D,aAAa,CAAC,WAAW,CAAC,CAAC;AAE7B,iBAAS,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,+BAY7D;;AAED,wBAA0C"}
|
|
@@ -5,10 +5,7 @@ export type ContextualbarEmptyContentProps = ContextualbarContentProps & {
|
|
|
5
5
|
title?: string;
|
|
6
6
|
subtitle?: string;
|
|
7
7
|
};
|
|
8
|
-
declare
|
|
9
|
-
|
|
10
|
-
title?: string;
|
|
11
|
-
subtitle?: string;
|
|
12
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
8
|
+
declare function ContextualbarEmptyContent({ icon, title, subtitle, ...props }: ContextualbarEmptyContentProps): import("react").JSX.Element;
|
|
9
|
+
declare const _default: import("react").MemoExoticComponent<typeof ContextualbarEmptyContent>;
|
|
13
10
|
export default _default;
|
|
14
11
|
//# sourceMappingURL=ContextualbarEmptyContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextualbarEmptyContent.d.ts","sourceRoot":"","sources":["../../../src/components/ContextualbarV2/ContextualbarEmptyContent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAKL,KAAK,eAAe,EACrB,MAAM,WAAW,CAAC;AAEnB,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAGxE,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,GAAG;IACvE,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC
|
|
1
|
+
{"version":3,"file":"ContextualbarEmptyContent.d.ts","sourceRoot":"","sources":["../../../src/components/ContextualbarV2/ContextualbarEmptyContent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAKL,KAAK,eAAe,EACrB,MAAM,WAAW,CAAC;AAEnB,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAGxE,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,GAAG;IACvE,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,iBAAS,yBAAyB,CAAC,EACjC,IAAkB,EAClB,KAAuB,EACvB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,8BAA8B,+BAUhC;;AAED,wBAA+C"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import type { RefAttributes } from 'react';
|
|
1
2
|
import { type BoxProps } from '../Box';
|
|
2
|
-
export type ContextualbarFooterProps = BoxProps
|
|
3
|
-
declare
|
|
3
|
+
export type ContextualbarFooterProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLElement>;
|
|
4
|
+
declare function ContextualbarFooter(props: ContextualbarFooterProps): import("react").JSX.Element;
|
|
5
|
+
declare const _default: import("react").MemoExoticComponent<typeof ContextualbarFooter>;
|
|
4
6
|
export default _default;
|
|
5
7
|
//# sourceMappingURL=ContextualbarFooter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextualbarFooter.d.ts","sourceRoot":"","sources":["../../../src/components/ContextualbarV2/ContextualbarFooter.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContextualbarFooter.d.ts","sourceRoot":"","sources":["../../../src/components/ContextualbarV2/ContextualbarFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,wBAAwB,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GAC1D,aAAa,CAAC,WAAW,CAAC,CAAC;AAE7B,iBAAS,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,+BAE3D;;AAED,wBAAyC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import type { RefAttributes } from 'react';
|
|
1
2
|
import { type BoxProps } from '../Box';
|
|
2
|
-
export type ContextualbarSectionProps = BoxProps
|
|
3
|
-
declare
|
|
3
|
+
export type ContextualbarSectionProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLElement>;
|
|
4
|
+
declare function ContextualbarSection(props: ContextualbarSectionProps): import("react").JSX.Element;
|
|
5
|
+
declare const _default: import("react").MemoExoticComponent<typeof ContextualbarSection>;
|
|
4
6
|
export default _default;
|
|
5
7
|
//# sourceMappingURL=ContextualbarSection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextualbarSection.d.ts","sourceRoot":"","sources":["../../../src/components/ContextualbarV2/ContextualbarSection.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContextualbarSection.d.ts","sourceRoot":"","sources":["../../../src/components/ContextualbarV2/ContextualbarSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GAC3D,aAAa,CAAC,WAAW,CAAC,CAAC;AAE7B,iBAAS,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,+BAa7D;;AAED,wBAA0C"}
|