@rocket.chat/fuselage 0.78.0 → 0.79.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/AnimatedVisibility/index.d.ts +1 -1
- package/dist/components/AnimatedVisibility/index.d.ts.map +1 -1
- package/dist/components/AutoComplete/AutoComplete.d.ts +7 -8
- package/dist/components/AutoComplete/AutoComplete.d.ts.map +1 -1
- package/dist/components/AutoComplete/index.d.ts +1 -1
- package/dist/components/AutoComplete/index.d.ts.map +1 -1
- package/dist/components/Banner/Banner.d.ts +2 -2
- package/dist/components/Banner/Banner.d.ts.map +1 -1
- package/dist/components/Banner/index.d.ts +1 -1
- package/dist/components/Banner/index.d.ts.map +1 -1
- package/dist/components/Box/BoxTransforms.d.ts.map +1 -1
- package/dist/components/Box/index.d.ts +2 -0
- package/dist/components/Box/index.d.ts.map +1 -1
- package/dist/components/Box/stylingProps.d.ts +1 -1
- package/dist/components/Box/stylingProps.d.ts.map +1 -1
- package/dist/components/Button/ActionButton.d.ts +3 -3
- package/dist/components/Button/ActionButton.d.ts.map +1 -1
- package/dist/components/Button/IconButton.d.ts +5 -5
- package/dist/components/Button/IconButton.d.ts.map +1 -1
- package/dist/components/Button/index.d.ts +2 -2
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Callout/Callout.d.ts +2 -2
- package/dist/components/Callout/Callout.d.ts.map +1 -1
- package/dist/components/CheckBox/CheckBox.d.ts.map +1 -1
- package/dist/components/Chip/Chip.d.ts +1 -1
- package/dist/components/InputBox/InputBox.d.ts +4 -0
- package/dist/components/InputBox/InputBox.d.ts.map +1 -1
- package/dist/components/Label/index.d.ts +1 -0
- package/dist/components/Label/index.d.ts.map +1 -1
- package/dist/components/Menu/Menu.d.ts +1 -1
- package/dist/components/Menu/Menu.d.ts.map +1 -1
- package/dist/components/Menu/MenuItem.d.ts.map +1 -1
- package/dist/components/Menu/index.d.ts +1 -0
- package/dist/components/Menu/index.d.ts.map +1 -1
- package/dist/components/Menu/stately/PartialNode.d.ts +4 -4
- package/dist/components/Menu/stately/PartialNode.d.ts.map +1 -1
- package/dist/components/Message/MessageGenericPreview/MessageGenericPreviewContent.d.ts +2 -2
- package/dist/components/Message/MessageGenericPreview/MessageGenericPreviewContent.d.ts.map +1 -1
- package/dist/components/Message/MessageMetrics/MessageMetricsFollowing.d.ts +2 -2
- package/dist/components/Message/MessageMetrics/MessageMetricsFollowing.d.ts.map +1 -1
- package/dist/components/Message/MessageToolbar/MessageToolbarItem.d.ts +2 -8
- package/dist/components/Message/MessageToolbar/MessageToolbarItem.d.ts.map +1 -1
- package/dist/components/Message/index.d.ts +1 -0
- package/dist/components/Message/index.d.ts.map +1 -1
- package/dist/components/MultiSelect/MultiSelectFilteredAnchor.d.ts.map +1 -1
- package/dist/components/MultiSelect/index.d.ts +1 -0
- package/dist/components/MultiSelect/index.d.ts.map +1 -1
- package/dist/components/Options/Options.d.ts +1 -1
- package/dist/components/Options/Options.d.ts.map +1 -1
- package/dist/components/Options/index.d.ts +1 -0
- package/dist/components/Options/index.d.ts.map +1 -1
- package/dist/components/Options/useCursor.d.ts +2 -4
- package/dist/components/Options/useCursor.d.ts.map +1 -1
- package/dist/components/Options/useVisible.d.ts +6 -1
- package/dist/components/Options/useVisible.d.ts.map +1 -1
- package/dist/components/OptionsPaginated/OptionsPaginated.d.ts +1 -1
- package/dist/components/OptionsPaginated/OptionsPaginated.d.ts.map +1 -1
- package/dist/components/PaginatedSelect/PaginatedSelect.d.ts +1 -2
- package/dist/components/PaginatedSelect/PaginatedSelect.d.ts.map +1 -1
- package/dist/components/PaginatedSelect/index.d.ts +2 -1
- package/dist/components/PaginatedSelect/index.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.d.ts +1 -1
- package/dist/components/Pagination/Pagination.d.ts.map +1 -1
- package/dist/components/Pagination/index.d.ts +1 -1
- package/dist/components/Pagination/index.d.ts.map +1 -1
- package/dist/components/PaletteStyleTag/index.d.ts +1 -0
- package/dist/components/PaletteStyleTag/index.d.ts.map +1 -1
- package/dist/components/PaletteStyleTag/types/themes.d.ts +0 -1
- package/dist/components/PaletteStyleTag/types/themes.d.ts.map +1 -1
- package/dist/components/Position/Position.d.ts +1 -1
- package/dist/components/Position/Position.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/SelectAria.d.ts.map +1 -1
- package/dist/components/SelectInput/SelectInput.d.ts +1 -1
- package/dist/components/SelectInput/SelectInput.d.ts.map +1 -1
- package/dist/components/SelectInput/index.d.ts +1 -1
- package/dist/components/SelectInput/index.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.d.ts +7 -26
- package/dist/components/Sidebar/Sidebar.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarActions.d.ts +2 -8
- package/dist/components/Sidebar/SidebarActions.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarBanner.d.ts +2 -2
- package/dist/components/Sidebar/SidebarBanner.d.ts.map +1 -1
- package/dist/components/Sidebar/TopBar/TopBar.d.ts +1 -2
- package/dist/components/Sidebar/TopBar/TopBar.d.ts.map +1 -1
- package/dist/components/Sidebar/TopBar/TopBarAction.d.ts +2 -8
- package/dist/components/Sidebar/TopBar/TopBarAction.d.ts.map +1 -1
- package/dist/components/Sidebar/TopBar/TopBarSection.d.ts +1 -2
- package/dist/components/Sidebar/TopBar/TopBarSection.d.ts.map +1 -1
- package/dist/components/Sidebar/TopBar/TopBarTitle.d.ts +1 -2
- package/dist/components/Sidebar/TopBar/TopBarTitle.d.ts.map +1 -1
- package/dist/components/Sidebar/TopBar/TopBarToolBox.d.ts +1 -2
- package/dist/components/Sidebar/TopBar/TopBarToolBox.d.ts.map +1 -1
- package/dist/components/Sidebar/TopBar/TopBarV2.d.ts +2 -3
- package/dist/components/Sidebar/TopBar/TopBarV2.d.ts.map +1 -1
- package/dist/components/Sidebar/TopBar/TopBarWrapper.d.ts +1 -2
- package/dist/components/Sidebar/TopBar/TopBarWrapper.d.ts.map +1 -1
- package/dist/components/Sidebar/TopBar/index.d.ts +7 -26
- package/dist/components/Sidebar/TopBar/index.d.ts.map +1 -1
- package/dist/components/Sidebar/index.d.ts +2 -1
- package/dist/components/Sidebar/index.d.ts.map +1 -1
- package/dist/components/SidebarV2/SidebarAction.d.ts +2 -8
- package/dist/components/SidebarV2/SidebarAction.d.ts.map +1 -1
- package/dist/components/SidebarV2/SidebarBanner.d.ts +4 -5
- package/dist/components/SidebarV2/SidebarBanner.d.ts.map +1 -1
- package/dist/components/SidebarV2/SidebarGroupTitle.d.ts +1 -2
- package/dist/components/SidebarV2/SidebarGroupTitle.d.ts.map +1 -1
- package/dist/components/SidebarV2/SidebarItem/SidebarItemIcon.d.ts +3 -4
- package/dist/components/SidebarV2/SidebarItem/SidebarItemIcon.d.ts.map +1 -1
- package/dist/components/SidebarV2/SidebarItem/index.d.ts +2 -2
- package/dist/components/SidebarV2/SidebarItem/index.d.ts.map +1 -1
- package/dist/components/SidebarV2/index.d.ts +2 -2
- package/dist/components/SidebarV2/index.d.ts.map +1 -1
- package/dist/components/Slider/SliderTrack.d.ts +2 -2
- package/dist/components/Slider/SliderTrack.d.ts.map +1 -1
- package/dist/fuselage.css +2 -2
- package/dist/fuselage.css.map +1 -1
- package/dist/fuselage.development.js +19 -17
- package/dist/fuselage.development.js.map +1 -1
- package/dist/fuselage.production.js +5 -5
- package/dist/helpers/WithErrorWrapper.d.ts +3 -3
- package/dist/helpers/WithErrorWrapper.d.ts.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/styleTokens.d.ts +11 -11
- package/dist/styleTokens.d.ts.map +1 -1
- package/dist/tsdoc-metadata.json +11 -0
- package/package.json +34 -33
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OptionsPaginated.d.ts","sourceRoot":"","sources":["../../../src/components/OptionsPaginated/OptionsPaginated.tsx"],"names":[],"mappings":"AAIA,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CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,SAAS,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACxB,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;KACpD,CAAC;kBACY,WAAW,CAAC,MAAM,CAAC;cACvB,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,IAAI;iBAChC,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI;2CAsF5E,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,kEAA6C,gFAMvE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ElementType } from 'react';
|
|
2
2
|
import type { SelectProps } from '..';
|
|
3
|
-
type PaginatedOptionType = {
|
|
3
|
+
export type PaginatedOptionType = {
|
|
4
4
|
value: string | number;
|
|
5
5
|
label: string;
|
|
6
6
|
};
|
|
@@ -12,5 +12,4 @@ export type PaginatedSelectProps = Omit<SelectProps, 'options'> & {
|
|
|
12
12
|
setFilter?: (value: string | undefined | number) => void;
|
|
13
13
|
};
|
|
14
14
|
export declare const PaginatedSelect: ({ value, withTitle, filter, setFilter: _setFilter, error, disabled, options, anchor: Anchor, onChange, placeholder, renderOptions: _Options, renderItem, endReached, ...props }: PaginatedSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export {};
|
|
16
15
|
//# sourceMappingURL=PaginatedSelect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginatedSelect.d.ts","sourceRoot":"","sources":["../../../src/components/PaginatedSelect/PaginatedSelect.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,WAAW,EAA6B,MAAM,OAAO,CAAC;AAEpE,OAAO,KAAK,EAA4B,WAAW,EAAE,MAAM,IAAI,CAAC;AAehE,
|
|
1
|
+
{"version":3,"file":"PaginatedSelect.d.ts","sourceRoot":"","sources":["../../../src/components/PaginatedSelect/PaginatedSelect.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,WAAW,EAA6B,MAAM,OAAO,CAAC;AAEpE,OAAO,KAAK,EAA4B,WAAW,EAAE,MAAM,IAAI,CAAC;AAehE,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,GAAG;IAChE,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,OAAO,EAAE,mBAAmB,EAAE,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,KAAK,IAAI,CAAC;CAC1D,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,iLAe7B,oBAAoB,4CAwGtB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default as PaginatedSelectFiltered, type PaginatedSelectFilteredProps, } from './PaginatedSelectFiltered';
|
|
2
|
-
export type { PaginatedMultiSelectOption } from './PaginatedMultiSelect';
|
|
2
|
+
export type { PaginatedMultiSelectOption, PaginatedMultiSelectProps, } from './PaginatedMultiSelect';
|
|
3
3
|
export { default as PaginatedMultiSelectFiltered, type PaginatedMultiSelectFilteredProps, } from './PaginatedMultiSelectFiltered';
|
|
4
|
+
export type { PaginatedSelectProps, PaginatedOptionType, } from './PaginatedSelect';
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PaginatedSelect/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,uBAAuB,EAClC,KAAK,4BAA4B,GAClC,MAAM,2BAA2B,CAAC;AACnC,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PaginatedSelect/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,uBAAuB,EAClC,KAAK,4BAA4B,GAClC,MAAM,2BAA2B,CAAC;AACnC,YAAY,EACV,0BAA0B,EAC1B,yBAAyB,GAC1B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,OAAO,IAAI,4BAA4B,EACvC,KAAK,iCAAiC,GACvC,MAAM,gCAAgC,CAAC;AACxC,YAAY,EACV,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAKtE,
|
|
1
|
+
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAKtE,MAAM,MAAM,YAAY,GAAG,EAAE,GAAG,EAAE,GAAG,GAAG,CAAC;AAEzC,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,iBAAiB,CAAC,EAAE,CAAC,OAAO,EAAE;QAC5B,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAAC;QAChB,YAAY,EAAE,YAAY,CAAC;KAC5B,KAAK,MAAM,CAAC;IACb,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE;QAC9B,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAAC;QAChB,YAAY,EAAE,YAAY,CAAC;KAC5B,KAAK,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAChD,iBAAiB,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CAAC;CAC5D,GAAG,cAAc,CAAC,WAAW,CAAC,CAAC;AAoBhC,QAAA,MAAM,UAAU,GAAI,8HAUjB,eAAe,4CAqIjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as Pagination, type PaginationProps } from './Pagination';
|
|
1
|
+
export { default as Pagination, type PaginationProps, type ItemsPerPage, } from './Pagination';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,UAAU,EACrB,KAAK,eAAe,EACpB,KAAK,YAAY,GAClB,MAAM,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PaletteStyleTag/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,eAAe,EAC1B,KAAK,oBAAoB,GAC1B,MAAM,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PaletteStyleTag/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,eAAe,EAC1B,KAAK,oBAAoB,GAC1B,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../../../src/components/PaletteStyleTag/types/themes.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../../../src/components/PaletteStyleTag/types/themes.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,eAAe,CAAC"}
|
|
@@ -3,7 +3,7 @@ import type { RefObject, ReactElement } from 'react';
|
|
|
3
3
|
import type { BoxProps } from '../Box';
|
|
4
4
|
export type PositionProps = {
|
|
5
5
|
anchor: RefObject<Element>;
|
|
6
|
-
children: ReactElement
|
|
6
|
+
children: ReactElement<any>;
|
|
7
7
|
margin?: number;
|
|
8
8
|
placement?: UsePositionOptions['placement'];
|
|
9
9
|
} & Omit<BoxProps, 'children' | 'margin'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Position.d.ts","sourceRoot":"","sources":["../../../src/components/Position/Position.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAKrD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;IAC3B,QAAQ,EAAE,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"Position.d.ts","sourceRoot":"","sources":["../../../src/components/Position/Position.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAKrD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;IAC3B,QAAQ,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;CAC7C,GAAG,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,QAAQ,CAAC,CAAC;AAE1C,QAAA,MAAM,QAAQ,GAAI,0EAOf,aAAa,gCA+Cf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AriaSelectProps } from '@react-types/select';
|
|
2
2
|
import type { AllHTMLAttributes, Key } from 'react';
|
|
3
|
-
type SelectOption
|
|
3
|
+
import type { SelectOption } from './SelectLegacy';
|
|
4
4
|
export type SelectProps<T, V extends Key> = Omit<AriaSelectProps<T>, 'value' | 'onChange' | 'children'> & {
|
|
5
5
|
error?: string;
|
|
6
6
|
placeholder?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAMpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,WAAW,CAAC,CAAC,EAAE,CAAC,SAAS,GAAG,IAAI,IAAI,CAC9C,eAAe,CAAC,CAAC,CAAC,EAClB,OAAO,GAAG,UAAU,GAAG,UAAU,CAClC,GAAG;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;IACjB,QAAQ,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK,GAAG,CAAC,GAAG,SAAS,CAAC;IACzC,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC;AAK/D,QAAA,MAAM,MAAM;YAXF,MAAM;kBACA,MAAM;;8BAEI,GAAG;aAClB,YAAY,EAAE;YACf,OAAO;4GAsBhB,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectAria.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectAria.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAapD,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAErC,MAAM,MAAM,eAAe,CAAC,CAAC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|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import { type InputBoxProps } from '../InputBox';
|
|
3
|
-
type SelectInputOptions = readonly (readonly [string, string])[];
|
|
3
|
+
export type SelectInputOptions = readonly (readonly [string, string])[];
|
|
4
4
|
export type SelectInputProps = Omit<InputBoxProps, 'type'> & {
|
|
5
5
|
error?: string;
|
|
6
6
|
options?: SelectInputOptions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectInput.d.ts","sourceRoot":"","sources":["../../../src/components/SelectInput/SelectInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"SelectInput.d.ts","sourceRoot":"","sources":["../../../src/components/SelectInput/SelectInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,SAAS,EAAE,MAAM,OAAO,CAAC;AAIpD,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAI3D,MAAM,MAAM,kBAAkB,GAAG,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC;AAExE,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,GAAG;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC;AAKF,QAAA,MAAM,WAAW;YATP,MAAM;cACJ,kBAAkB;eACjB,MAAM;YACT,SAAS;+CAoDlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as SelectInput, type SelectInputProps } from './SelectInput';
|
|
1
|
+
export { default as SelectInput, type SelectInputProps, type SelectInputOptions, } from './SelectInput';
|
|
2
2
|
export { default as SelectInputOption, type SelectInputOptionProps, } from './SelectInputOption';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SelectInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SelectInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,WAAW,EACtB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,GACxB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,OAAO,IAAI,iBAAiB,EAC5B,KAAK,sBAAsB,GAC5B,MAAM,qBAAqB,CAAC"}
|
|
@@ -1,21 +1,10 @@
|
|
|
1
1
|
import { type BoxProps } from '../Box';
|
|
2
2
|
export type SidebarProps = BoxProps;
|
|
3
3
|
declare const Sidebar: ((props: SidebarProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
4
|
-
TopBar: (({ className, ...props }: {
|
|
5
|
-
children
|
|
6
|
-
className
|
|
7
|
-
|
|
8
|
-
Section: ({ className, children, ...props }: {
|
|
9
|
-
children?: import("react").ReactNode;
|
|
10
|
-
className?: string;
|
|
11
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
ToolBox: ({ children, className, ...props }: {
|
|
13
|
-
children?: import("react").ReactNode;
|
|
14
|
-
className?: string;
|
|
15
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
Wrapper: ({ children }: {
|
|
17
|
-
children?: import("react").ReactNode;
|
|
18
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
TopBar: (({ className, ...props }: import("./TopBar").TopBarProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
5
|
+
Section: ({ className, children, ...props }: import("./TopBar").TopBarSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
ToolBox: ({ children, className, ...props }: import("./TopBar").TopBarToolBoxProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
Wrapper: ({ children }: import("./TopBar").TopBarWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
8
|
Avatar: {
|
|
20
9
|
size: "x24";
|
|
21
10
|
};
|
|
@@ -28,7 +17,7 @@ declare const Sidebar: ((props: SidebarProps) => import("react/jsx-runtime").JSX
|
|
|
28
17
|
large?: boolean;
|
|
29
18
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
30
19
|
Action: import("react").ForwardRefExoticComponent<{
|
|
31
|
-
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement
|
|
20
|
+
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement<any>;
|
|
32
21
|
primary?: boolean;
|
|
33
22
|
secondary?: boolean;
|
|
34
23
|
info?: boolean;
|
|
@@ -36,17 +25,9 @@ declare const Sidebar: ((props: SidebarProps) => import("react/jsx-runtime").JSX
|
|
|
36
25
|
warning?: boolean;
|
|
37
26
|
success?: boolean;
|
|
38
27
|
pressed?: boolean;
|
|
39
|
-
} &
|
|
40
|
-
large?: boolean;
|
|
41
|
-
medium?: boolean;
|
|
42
|
-
small?: boolean;
|
|
43
|
-
tiny?: boolean;
|
|
44
|
-
mini?: boolean;
|
|
45
|
-
} & BoxProps & import("react").RefAttributes<HTMLElement>>;
|
|
28
|
+
} & import("..").IconButtonSize & BoxProps & import("react").RefAttributes<HTMLElement>>;
|
|
46
29
|
Divider: () => import("react/jsx-runtime").JSX.Element;
|
|
47
|
-
Title: (props:
|
|
48
|
-
children?: import("react").ReactNode;
|
|
49
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
Title: (props: import("./TopBar").TopBarTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
50
31
|
};
|
|
51
32
|
Item: (({ selected, highlighted, clickable, featured, is: Tag, children, ...props }: import("./Item").SidebarItemProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
52
33
|
Menu: (props: import("./Item").SidebarItemMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAQ5C,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC;AAEpC,QAAA,MAAM,OAAO,WACH,YAAY
|
|
1
|
+
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAQ5C,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC;AAEpC,QAAA,MAAM,OAAO,WACH,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQrB,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -11,7 +11,7 @@ export declare const SidebarActions: import("react").ForwardRefExoticComponent<{
|
|
|
11
11
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
12
|
export type SidebarActionProps = IconButtonProps;
|
|
13
13
|
export declare const SidebarAction: import("react").ForwardRefExoticComponent<{
|
|
14
|
-
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement
|
|
14
|
+
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement<any>;
|
|
15
15
|
primary?: boolean;
|
|
16
16
|
secondary?: boolean;
|
|
17
17
|
info?: boolean;
|
|
@@ -19,11 +19,5 @@ export declare const SidebarAction: import("react").ForwardRefExoticComponent<{
|
|
|
19
19
|
warning?: boolean;
|
|
20
20
|
success?: boolean;
|
|
21
21
|
pressed?: boolean;
|
|
22
|
-
} &
|
|
23
|
-
large?: boolean;
|
|
24
|
-
medium?: boolean;
|
|
25
|
-
small?: boolean;
|
|
26
|
-
tiny?: boolean;
|
|
27
|
-
mini?: boolean;
|
|
28
|
-
} & import("..").BoxProps & import("react").RefAttributes<HTMLElement>>;
|
|
22
|
+
} & import("../Button").IconButtonSize & import("..").BoxProps & import("react").RefAttributes<HTMLElement>>;
|
|
29
23
|
//# sourceMappingURL=SidebarActions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarActions.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarActions.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGvD,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAAC;AAEnD,eAAO,MAAM,cAAc;;;;;;;mGAI1B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC;AAEjD,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"SidebarActions.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarActions.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGvD,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAAC;AAEnD,eAAO,MAAM,cAAc;;;;;;;mGAI1B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC;AAEjD,eAAO,MAAM,aAAa;;;;;;;;;4GAIzB,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
type
|
|
2
|
+
export type SidebarBannerVariant = 'default' | 'info' | 'success' | 'warning' | 'danger';
|
|
3
3
|
export type SidebarBannerProps = {
|
|
4
4
|
text?: ReactNode;
|
|
5
5
|
description?: ReactNode;
|
|
6
6
|
onClick?: () => void;
|
|
7
|
-
variant?:
|
|
7
|
+
variant?: SidebarBannerVariant;
|
|
8
8
|
onClose?: () => void;
|
|
9
9
|
children?: ReactNode;
|
|
10
10
|
addon?: ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarBanner.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarBanner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,
|
|
1
|
+
{"version":3,"file":"SidebarBanner.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarBanner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,MAAM,oBAAoB,GAC5B,SAAS,GACT,MAAM,GACN,SAAS,GACT,SAAS,GACT,QAAQ,CAAC;AAEb,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,QAAA,MAAM,aAAa,GAAI,oEAQpB,kBAAkB,4CA6BpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
type TopBarProps = {
|
|
2
|
+
export type TopBarProps = {
|
|
3
3
|
children?: ReactNode;
|
|
4
4
|
className?: string;
|
|
5
5
|
};
|
|
6
6
|
export declare const TopBar: ({ className, ...props }: TopBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
8
7
|
//# sourceMappingURL=TopBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopBar.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,
|
|
1
|
+
{"version":3,"file":"TopBar.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAKF,eAAO,MAAM,MAAM,GAAI,yBAAyB,WAAW,4CAO1D,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const TopBarAction: import("react").ForwardRefExoticComponent<{
|
|
2
|
-
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement
|
|
2
|
+
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement<any>;
|
|
3
3
|
primary?: boolean;
|
|
4
4
|
secondary?: boolean;
|
|
5
5
|
info?: boolean;
|
|
@@ -7,11 +7,5 @@ export declare const TopBarAction: import("react").ForwardRefExoticComponent<{
|
|
|
7
7
|
warning?: boolean;
|
|
8
8
|
success?: boolean;
|
|
9
9
|
pressed?: boolean;
|
|
10
|
-
} &
|
|
11
|
-
large?: boolean;
|
|
12
|
-
medium?: boolean;
|
|
13
|
-
small?: boolean;
|
|
14
|
-
tiny?: boolean;
|
|
15
|
-
mini?: boolean;
|
|
16
|
-
} & import("../..").BoxProps & import("react").RefAttributes<HTMLElement>>;
|
|
10
|
+
} & import("../..").IconButtonSize & import("../..").BoxProps & import("react").RefAttributes<HTMLElement>>;
|
|
17
11
|
//# sourceMappingURL=TopBarAction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopBarAction.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBarAction.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"TopBarAction.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBarAction.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,YAAY;;;;;;;;;2GAIxB,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
type TopBarSectionProps = {
|
|
2
|
+
export type TopBarSectionProps = {
|
|
3
3
|
children?: ReactNode;
|
|
4
4
|
className?: string;
|
|
5
5
|
};
|
|
6
6
|
export declare const TopBarSection: ({ className, children, ...props }: TopBarSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
8
7
|
//# sourceMappingURL=TopBarSection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopBarSection.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBarSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,
|
|
1
|
+
{"version":3,"file":"TopBarSection.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBarSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,mCAI3B,kBAAkB,4CAUpB,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
type TopBarTitleProps = {
|
|
2
|
+
export type TopBarTitleProps = {
|
|
3
3
|
children?: ReactNode;
|
|
4
4
|
};
|
|
5
5
|
export declare const TopBarTitle: (props: TopBarTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export {};
|
|
7
6
|
//# sourceMappingURL=TopBarTitle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopBarTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBarTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,
|
|
1
|
+
{"version":3,"file":"TopBarTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBarTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,4CAElD,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
type TopBarToolBoxProps = {
|
|
2
|
+
export type TopBarToolBoxProps = {
|
|
3
3
|
children?: ReactNode;
|
|
4
4
|
className?: string;
|
|
5
5
|
};
|
|
6
6
|
export declare const TopBarToolBox: ({ children, className, ...props }: TopBarToolBoxProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
8
7
|
//# sourceMappingURL=TopBarToolBox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopBarToolBox.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBarToolBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,
|
|
1
|
+
{"version":3,"file":"TopBarToolBox.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBarToolBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,mCAI3B,kBAAkB,4CAUpB,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
type
|
|
2
|
+
export type TopBarV2Props = {
|
|
3
3
|
children?: ReactNode;
|
|
4
4
|
className?: string;
|
|
5
5
|
};
|
|
6
|
-
export declare const TopBarV2: ({ className, ...props }:
|
|
7
|
-
export {};
|
|
6
|
+
export declare const TopBarV2: ({ className, ...props }: TopBarV2Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
//# sourceMappingURL=TopBarV2.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopBarV2.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBarV2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,
|
|
1
|
+
{"version":3,"file":"TopBarV2.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBarV2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,yBAAyB,aAAa,4CAU9D,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
type TopBarWrapperProps = {
|
|
2
|
+
export type TopBarWrapperProps = {
|
|
3
3
|
children?: ReactNode;
|
|
4
4
|
};
|
|
5
5
|
export declare const TopBarWrapper: ({ children }: TopBarWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export {};
|
|
7
6
|
//# sourceMappingURL=TopBarWrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopBarWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBarWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,
|
|
1
|
+
{"version":3,"file":"TopBarWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBarWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,cAAc,kBAAkB,4CAK7D,CAAC"}
|
|
@@ -1,21 +1,10 @@
|
|
|
1
1
|
export declare const TopBarAvatar: {
|
|
2
2
|
size: "x24";
|
|
3
3
|
};
|
|
4
|
-
declare const _default: (({ className, ...props }: {
|
|
5
|
-
children
|
|
6
|
-
className
|
|
7
|
-
}) => import("react/jsx-runtime").JSX.Element
|
|
8
|
-
Section: ({ className, children, ...props }: {
|
|
9
|
-
children?: import("react").ReactNode;
|
|
10
|
-
className?: string;
|
|
11
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
ToolBox: ({ children, className, ...props }: {
|
|
13
|
-
children?: import("react").ReactNode;
|
|
14
|
-
className?: string;
|
|
15
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
Wrapper: ({ children }: {
|
|
17
|
-
children?: import("react").ReactNode;
|
|
18
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const _default: (({ className, ...props }: import("./TopBar").TopBarProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
5
|
+
Section: ({ className, children, ...props }: import("./TopBarSection").TopBarSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
ToolBox: ({ children, className, ...props }: import("./TopBarToolBox").TopBarToolBoxProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
Wrapper: ({ children }: import("./TopBarWrapper").TopBarWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
8
|
Avatar: {
|
|
20
9
|
size: "x24";
|
|
21
10
|
};
|
|
@@ -28,7 +17,7 @@ declare const _default: (({ className, ...props }: {
|
|
|
28
17
|
large?: boolean;
|
|
29
18
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
30
19
|
Action: import("react").ForwardRefExoticComponent<{
|
|
31
|
-
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement
|
|
20
|
+
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement<any>;
|
|
32
21
|
primary?: boolean;
|
|
33
22
|
secondary?: boolean;
|
|
34
23
|
info?: boolean;
|
|
@@ -36,17 +25,9 @@ declare const _default: (({ className, ...props }: {
|
|
|
36
25
|
warning?: boolean;
|
|
37
26
|
success?: boolean;
|
|
38
27
|
pressed?: boolean;
|
|
39
|
-
} &
|
|
40
|
-
large?: boolean;
|
|
41
|
-
medium?: boolean;
|
|
42
|
-
small?: boolean;
|
|
43
|
-
tiny?: boolean;
|
|
44
|
-
mini?: boolean;
|
|
45
|
-
} & import("../..").BoxProps & import("react").RefAttributes<HTMLElement>>;
|
|
28
|
+
} & import("../..").IconButtonSize & import("../..").BoxProps & import("react").RefAttributes<HTMLElement>>;
|
|
46
29
|
Divider: () => import("react/jsx-runtime").JSX.Element;
|
|
47
|
-
Title: (props:
|
|
48
|
-
children?: import("react").ReactNode;
|
|
49
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
Title: (props: import("./TopBarTitle").TopBarTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
50
31
|
};
|
|
51
32
|
export default _default;
|
|
52
33
|
export * from './TopBar';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/index.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,YAAY;UAFH,KAAK;CAEO,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/index.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,YAAY;UAFH,KAAK;CAEO,CAAC;;;;;;cAFb,KAAK;;;;;;;;;;;;;;;;;;;;;;;AAI3B,wBAiBG;AAEH,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC"}
|
|
@@ -3,7 +3,8 @@ export * from './Item';
|
|
|
3
3
|
export * from './Section';
|
|
4
4
|
export * from './TopBar';
|
|
5
5
|
export { default as SidebarTopBar } from './TopBar';
|
|
6
|
-
export { default as SidebarBanner, type SidebarBannerProps, } from './SidebarBanner';
|
|
6
|
+
export { default as SidebarBanner, type SidebarBannerProps, type SidebarBannerVariant, } from './SidebarBanner';
|
|
7
7
|
export * from './SidebarFooter';
|
|
8
8
|
export { default as SidebarDivider } from './SidebarDivider';
|
|
9
|
+
export type { SidebarActionProps } from './SidebarActions';
|
|
9
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAClE,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EACL,OAAO,IAAI,aAAa,EACxB,KAAK,kBAAkB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAClE,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EACL,OAAO,IAAI,aAAa,EACxB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,GAC1B,MAAM,iBAAiB,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IconButtonProps } from '../Button/IconButton';
|
|
2
2
|
export type SidebarActionProps = IconButtonProps;
|
|
3
3
|
declare const SidebarAction: import("react").ForwardRefExoticComponent<{
|
|
4
|
-
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement
|
|
4
|
+
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement<any>;
|
|
5
5
|
primary?: boolean;
|
|
6
6
|
secondary?: boolean;
|
|
7
7
|
info?: boolean;
|
|
@@ -9,12 +9,6 @@ declare const SidebarAction: import("react").ForwardRefExoticComponent<{
|
|
|
9
9
|
warning?: boolean;
|
|
10
10
|
success?: boolean;
|
|
11
11
|
pressed?: boolean;
|
|
12
|
-
} &
|
|
13
|
-
large?: boolean;
|
|
14
|
-
medium?: boolean;
|
|
15
|
-
small?: boolean;
|
|
16
|
-
tiny?: boolean;
|
|
17
|
-
mini?: boolean;
|
|
18
|
-
} & import("..").BoxProps & import("react").RefAttributes<HTMLElement>>;
|
|
12
|
+
} & import("../Button").IconButtonSize & import("..").BoxProps & import("react").RefAttributes<HTMLElement>>;
|
|
19
13
|
export default SidebarAction;
|
|
20
14
|
//# sourceMappingURL=SidebarAction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarAction.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarV2/SidebarAction.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC;AAEjD,QAAA,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"SidebarAction.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarV2/SidebarAction.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC;AAEjD,QAAA,MAAM,aAAa;;;;;;;;;4GAIlB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import type { AllHTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
type
|
|
3
|
-
type
|
|
2
|
+
export type SidebarV2BannerVariant = 'default' | 'info' | 'success' | 'warning' | 'danger';
|
|
3
|
+
export type SidebarV2BannerProps = {
|
|
4
4
|
title?: ReactNode;
|
|
5
5
|
linkText?: string;
|
|
6
6
|
linkProps?: AllHTMLAttributes<HTMLAnchorElement>;
|
|
7
7
|
onClick?: () => void;
|
|
8
|
-
variant?:
|
|
8
|
+
variant?: SidebarV2BannerVariant;
|
|
9
9
|
onClose?: () => void;
|
|
10
10
|
children?: ReactNode;
|
|
11
11
|
addon?: ReactNode;
|
|
12
12
|
};
|
|
13
|
-
export declare const SidebarBanner: ({ title, linkText, linkProps, variant, addon, onClose, children, ...props }:
|
|
14
|
-
export {};
|
|
13
|
+
export declare const SidebarBanner: ({ title, linkText, linkProps, variant, addon, onClose, children, ...props }: SidebarV2BannerProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
14
|
//# sourceMappingURL=SidebarBanner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarBanner.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarV2/SidebarBanner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI1D,
|
|
1
|
+
{"version":3,"file":"SidebarBanner.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarV2/SidebarBanner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI1D,MAAM,MAAM,sBAAsB,GAC9B,SAAS,GACT,MAAM,GACN,SAAS,GACT,SAAS,GACT,QAAQ,CAAC;AAEb,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IACjD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,sBAAsB,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,6EAS3B,oBAAoB,4CA0BtB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AriaAttributes, HTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
type SidebarGroupTitleProps = {
|
|
2
|
+
export type SidebarGroupTitleProps = {
|
|
3
3
|
expanded?: boolean;
|
|
4
4
|
title?: string;
|
|
5
5
|
titleId?: string;
|
|
@@ -7,5 +7,4 @@ type SidebarGroupTitleProps = {
|
|
|
7
7
|
barProps?: AriaAttributes;
|
|
8
8
|
} & HTMLAttributes<HTMLDivElement>;
|
|
9
9
|
export declare const SidebarGroupTitle: ({ title, titleId, badge, barProps, expanded, ...props }: SidebarGroupTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
11
10
|
//# sourceMappingURL=SidebarGroupTitle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarGroupTitle.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarV2/SidebarGroupTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvE,
|
|
1
|
+
{"version":3,"file":"SidebarGroupTitle.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarV2/SidebarGroupTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvE,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC3B,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,iBAAiB,GAAI,yDAO/B,sBAAsB,4CAsBxB,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type { Keys as IconKeys } from '@rocket.chat/icons';
|
|
2
2
|
import { type ReactElement } from 'react';
|
|
3
3
|
import { type IconProps } from '../../Icon';
|
|
4
|
-
type
|
|
5
|
-
icon: IconKeys | ReactElement
|
|
4
|
+
export type SidebarV2ItemIconProps = Omit<IconProps, 'name'> & {
|
|
5
|
+
icon: IconKeys | ReactElement<any>;
|
|
6
6
|
highlighted?: boolean;
|
|
7
7
|
};
|
|
8
|
-
export declare const SidebarItemIcon: ({ icon, className, highlighted, ...props }:
|
|
9
|
-
export {};
|
|
8
|
+
export declare const SidebarItemIcon: ({ icon, className, highlighted, ...props }: SidebarV2ItemIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
//# sourceMappingURL=SidebarItemIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarItemIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/SidebarV2/SidebarItem/SidebarItemIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAkB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAElD,
|
|
1
|
+
{"version":3,"file":"SidebarItemIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/SidebarV2/SidebarItem/SidebarItemIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAkB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAElD,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,GAAG;IAC7D,IAAI,EAAE,QAAQ,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;IACnC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,4CAK7B,sBAAsB,4CAgBxB,CAAC"}
|