@rocket.chat/fuselage 0.77.0 → 0.78.1
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/AudioPlayer/AudioPlayer.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/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/Button.d.ts +1 -1
- package/dist/components/Button/IconButton.d.ts +3 -3
- 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/Chip/Chip.d.ts +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.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/Message/MessageToolbar/MessageToolbarItem.d.ts +1 -7
- 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/hooks/useCreateStyleContainer.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/Popover/Popover.d.ts +2 -1
- package/dist/components/Popover/Popover.d.ts.map +1 -1
- package/dist/components/Position/Position.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts +2 -2
- 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 +6 -25
- package/dist/components/Sidebar/Sidebar.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarActions.d.ts +1 -7
- 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 +1 -7
- 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 +6 -25
- 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 +1 -7
- 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 +2 -3
- 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/StatusBullet/icons/Away.d.ts.map +1 -1
- package/dist/components/StatusBullet/icons/Busy.d.ts.map +1 -1
- package/dist/components/StatusBullet/icons/Disabled.d.ts.map +1 -1
- package/dist/components/StatusBullet/icons/Loading.d.ts.map +1 -1
- package/dist/components/StatusBullet/icons/Offline.d.ts.map +1 -1
- package/dist/components/StatusBullet/icons/Online.d.ts.map +1 -1
- package/dist/contexts/OwnerDocument.d.ts +7 -0
- package/dist/contexts/OwnerDocument.d.ts.map +1 -0
- package/dist/contexts/index.d.ts +2 -0
- package/dist/contexts/index.d.ts.map +1 -0
- package/dist/fuselage.css +2 -2
- package/dist/fuselage.css.map +1 -1
- package/dist/fuselage.development.js +108 -41
- package/dist/fuselage.development.js.map +1 -1
- package/dist/fuselage.production.js +6 -6
- package/dist/hooks/useStyle.d.ts.map +1 -1
- package/dist/index.d.ts +3 -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 +7 -5
|
@@ -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;
|
|
@@ -9,7 +9,7 @@ export type SelectProps<T, V extends Key> = Omit<AriaSelectProps<T>, 'value' | '
|
|
|
9
9
|
options: SelectOption[];
|
|
10
10
|
small?: boolean;
|
|
11
11
|
} & Omit<AllHTMLAttributes<HTMLElement>, 'value' | 'onChange'>;
|
|
12
|
-
declare const Select: import("react").ForwardRefExoticComponent<Omit<AriaSelectProps<object>, "
|
|
12
|
+
declare const Select: import("react").ForwardRefExoticComponent<Omit<AriaSelectProps<object>, "value" | "children" | "onChange"> & {
|
|
13
13
|
error?: string;
|
|
14
14
|
placeholder?: string;
|
|
15
15
|
value?: Key | null | undefined;
|
|
@@ -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,SAAS,MAAM,IAAI,eAAe,CAAC,CAAC,CAAC,GAAG;IACnE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;IAC9B,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,GAAG,iBAAiB,CAAC,WAAW,CAAC,CAAC;AAEnC,eAAO,MAAM,UAAU;YAPb,MAAM;kBACA,MAAM;YACZ,GAAG,GAAG,IAAI;eACP,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI;YACrB,OAAO;
|
|
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,SAAS,MAAM,IAAI,eAAe,CAAC,CAAC,CAAC,GAAG;IACnE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;IAC9B,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,GAAG,iBAAiB,CAAC,WAAW,CAAC,CAAC;AAEnC,eAAO,MAAM,UAAU;YAPb,MAAM;kBACA,MAAM;YACZ,GAAG,GAAG,IAAI;eACP,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI;YACrB,OAAO;gFA2FhB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
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,EAAa,SAAS,EAAE,MAAM,OAAO,CAAC;AAIlD,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAI3D,
|
|
1
|
+
{"version":3,"file":"SelectInput.d.ts","sourceRoot":"","sources":["../../../src/components/SelectInput/SelectInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,SAAS,EAAE,MAAM,OAAO,CAAC;AAIlD,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
|
};
|
|
@@ -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"}
|
|
@@ -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"}
|
|
@@ -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
|
};
|
|
@@ -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"}
|
|
@@ -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
|
|
4
|
+
export type SidebarV2ItemIconProps = Omit<IconProps, 'name'> & {
|
|
5
5
|
icon: IconKeys | ReactElement;
|
|
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;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,4CAK7B,sBAAsB,4CAgBxB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { SidebarItem as SidebarV2Item } from './SidebarItem';
|
|
1
|
+
export { SidebarItem as SidebarV2Item, type SidebarV2ItemProps, } from './SidebarItem';
|
|
2
2
|
export { SidebarItemAction as SidebarV2ItemAction } from './SidebarItemAction';
|
|
3
3
|
export { SidebarItemAvatarWrapper as SidebarV2ItemAvatarWrapper } from './SidebarItemAvatarWrapper';
|
|
4
4
|
export { SidebarItemBadge as SidebarV2ItemBadge } from './SidebarItemBadge';
|
|
5
|
-
export { SidebarItemIcon as SidebarV2ItemIcon } from './SidebarItemIcon';
|
|
5
|
+
export { SidebarItemIcon as SidebarV2ItemIcon, type SidebarV2ItemIconProps, } from './SidebarItemIcon';
|
|
6
6
|
export { SidebarItemMenu as SidebarV2ItemMenu } from './SidebarItemMenu';
|
|
7
7
|
export { SidebarItemTitle as SidebarV2ItemTitle } from './SidebarItemTitle';
|
|
8
8
|
export { SidebarItemRow as SidebarV2ItemRow } from './SidebarItemRow';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SidebarV2/SidebarItem/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/SidebarV2/SidebarItem/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,IAAI,aAAa,EAC5B,KAAK,kBAAkB,GACxB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,iBAAiB,IAAI,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EAAE,wBAAwB,IAAI,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AACpG,OAAO,EAAE,gBAAgB,IAAI,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EACL,eAAe,IAAI,iBAAiB,EACpC,KAAK,sBAAsB,GAC5B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,eAAe,IAAI,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,gBAAgB,IAAI,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,cAAc,IAAI,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,cAAc,IAAI,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,oBAAoB,IAAI,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACxF,OAAO,EAAE,eAAe,IAAI,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,kBAAkB,IAAI,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAClF,OAAO,EAAE,uBAAuB,IAAI,yBAAyB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -6,11 +6,11 @@ export { default as SidebarV2Actions, type SidebarActionsProps as SidebarV2Actio
|
|
|
6
6
|
export { default as SidebarV2Link, type SidebarLinkProps as SidebarV2LinkProps, } from './SidebarLink';
|
|
7
7
|
export * from './SidebarItem';
|
|
8
8
|
export { SidebarCollapseGroup as SidebarV2CollapseGroup } from './SidebarCollapseGroup';
|
|
9
|
-
export { SidebarBanner as SidebarV2Banner } from './SidebarBanner';
|
|
9
|
+
export { SidebarBanner as SidebarV2Banner, type SidebarV2BannerProps, type SidebarV2BannerVariant, } from './SidebarBanner';
|
|
10
10
|
export * from './SidebarFooter';
|
|
11
11
|
export * from './SidebarMedia';
|
|
12
12
|
export { SidebarButtonGroup as SidebarV2ButtonGroup } from './SidebarButtonGroup';
|
|
13
13
|
export { SidebarSection as SidebarV2Section } from './SidebarSection';
|
|
14
14
|
export { SidebarDivider as SidebarV2Divider } from './SidebarDivider';
|
|
15
|
-
export { SidebarGroupTitle as SidebarV2GroupTitle } from './SidebarGroupTitle';
|
|
15
|
+
export { SidebarGroupTitle as SidebarV2GroupTitle, type SidebarGroupTitleProps as SidebarV2GroupTitleProps, } from './SidebarGroupTitle';
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarV2/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,SAAS,EACpB,KAAK,YAAY,IAAI,cAAc,GACpC,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,OAAO,IAAI,kBAAkB,EAC7B,KAAK,qBAAqB,IAAI,uBAAuB,GACtD,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,OAAO,IAAI,sBAAsB,EACjC,KAAK,yBAAyB,IAAI,2BAA2B,GAC9D,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,OAAO,IAAI,eAAe,EAC1B,KAAK,kBAAkB,IAAI,oBAAoB,GAChD,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,OAAO,IAAI,gBAAgB,EAC3B,KAAK,mBAAmB,IAAI,qBAAqB,GAClD,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,OAAO,IAAI,aAAa,EACxB,KAAK,gBAAgB,IAAI,kBAAkB,GAC5C,MAAM,eAAe,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,oBAAoB,IAAI,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACxF,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarV2/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,SAAS,EACpB,KAAK,YAAY,IAAI,cAAc,GACpC,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,OAAO,IAAI,kBAAkB,EAC7B,KAAK,qBAAqB,IAAI,uBAAuB,GACtD,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,OAAO,IAAI,sBAAsB,EACjC,KAAK,yBAAyB,IAAI,2BAA2B,GAC9D,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,OAAO,IAAI,eAAe,EAC1B,KAAK,kBAAkB,IAAI,oBAAoB,GAChD,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,OAAO,IAAI,gBAAgB,EAC3B,KAAK,mBAAmB,IAAI,qBAAqB,GAClD,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,OAAO,IAAI,aAAa,EACxB,KAAK,gBAAgB,IAAI,kBAAkB,GAC5C,MAAM,eAAe,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,oBAAoB,IAAI,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACxF,OAAO,EACL,aAAa,IAAI,eAAe,EAChC,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,GAC5B,MAAM,iBAAiB,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,IAAI,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAClF,OAAO,EAAE,cAAc,IAAI,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,cAAc,IAAI,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,EACL,iBAAiB,IAAI,mBAAmB,EACxC,KAAK,sBAAsB,IAAI,wBAAwB,GACxD,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Away.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBullet/icons/Away.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,QAAA,MAAM,IAAI,GAAI,+BAA+B,iBAAiB,
|
|
1
|
+
{"version":3,"file":"Away.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBullet/icons/Away.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,QAAA,MAAM,IAAI,GAAI,+BAA+B,iBAAiB,4CAkB7D,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Busy.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBullet/icons/Busy.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,QAAA,MAAM,IAAI,GAAI,+BAA+B,iBAAiB,
|
|
1
|
+
{"version":3,"file":"Busy.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBullet/icons/Busy.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,QAAA,MAAM,IAAI,GAAI,+BAA+B,iBAAiB,4CAkB7D,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Disabled.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBullet/icons/Disabled.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,QAAA,MAAM,QAAQ,GAAI,+BAA+B,iBAAiB,
|
|
1
|
+
{"version":3,"file":"Disabled.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBullet/icons/Disabled.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,QAAA,MAAM,QAAQ,GAAI,+BAA+B,iBAAiB,4CAkBjE,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Loading.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBullet/icons/Loading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,QAAA,MAAM,OAAO,GAAI,+BAA+B,iBAAiB,
|
|
1
|
+
{"version":3,"file":"Loading.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBullet/icons/Loading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,QAAA,MAAM,OAAO,GAAI,+BAA+B,iBAAiB,4CAsBhE,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Offline.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBullet/icons/Offline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,QAAA,MAAM,OAAO,GAAI,+BAA+B,iBAAiB,
|
|
1
|
+
{"version":3,"file":"Offline.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBullet/icons/Offline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,QAAA,MAAM,OAAO,GAAI,+BAA+B,iBAAiB,4CAqBhE,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Online.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBullet/icons/Online.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,QAAA,MAAM,MAAM,GAAI,+BAA+B,iBAAiB,
|
|
1
|
+
{"version":3,"file":"Online.d.ts","sourceRoot":"","sources":["../../../../src/components/StatusBullet/icons/Online.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,QAAA,MAAM,MAAM,GAAI,+BAA+B,iBAAiB,4CAc/D,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OwnerDocument.d.ts","sourceRoot":"","sources":["../../src/contexts/OwnerDocument.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;cACd,QAAQ;EACa,CAAC;AAElC,eAAO,MAAM,gBAAgB;cAHjB,QAAQ;CAKnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contexts/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|