@rte-ds/react 1.3.10 → 1.3.12
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/icon/IconMap.d.ts +2 -0
- package/dist/components/icon/generated/AddBox.d.ts +3 -0
- package/dist/components/icon/generated/Detach.d.ts +3 -0
- package/dist/components/icon/generated/index.d.ts +2 -0
- package/dist/components/segmentedTabs/SegmentedTabs.d.ts +5 -0
- package/dist/components/select/Select.d.ts +2 -0
- package/dist/components/sideNav/SideNav.d.ts +2 -0
- package/dist/components/sideNav/mobileSideNav/MobileSideNav.d.ts +15 -0
- package/dist/index.d.ts +5 -1
- package/dist/react-package.cjs +1 -1
- package/dist/react-package.js +3501 -3197
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const RegularIcons: {
|
|
2
2
|
add: ({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
"add-box": ({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
4
|
"alt-route": ({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
5
|
apps: ({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
"arrow-alt-down": ({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -54,6 +55,7 @@ export declare const RegularIcons: {
|
|
|
54
55
|
"copy-all": ({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
55
56
|
"crisis-alert": ({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
56
57
|
cut: ({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
58
|
+
detach: ({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
57
59
|
download: ({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
58
60
|
"download-done": ({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
59
61
|
"drag-handle": ({ width, height, fill, ...props }: import('./Icon').IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default as Add } from './Add';
|
|
2
|
+
export { default as AddBox } from './AddBox';
|
|
2
3
|
export { default as AddCircleFilled } from './AddCircleFilled';
|
|
3
4
|
export { default as AddCircleOutlined } from './AddCircleOutlined';
|
|
4
5
|
export { default as AdminPanelSettingsFilled } from './AdminPanelSettingsFilled';
|
|
@@ -163,6 +164,7 @@ export { default as DeleteFilled } from './DeleteFilled';
|
|
|
163
164
|
export { default as DeleteOutlined } from './DeleteOutlined';
|
|
164
165
|
export { default as DesktopFilled } from './DesktopFilled';
|
|
165
166
|
export { default as DesktopOutlined } from './DesktopOutlined';
|
|
167
|
+
export { default as Detach } from './Detach';
|
|
166
168
|
export { default as DevicesFilled } from './DevicesFilled';
|
|
167
169
|
export { default as DevicesOutlined } from './DevicesOutlined';
|
|
168
170
|
export { default as Download } from './Download';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SegmentedTabsProps as CoreSegmentedTabsProps } from '../../../../core/components/segmented-tabs/segmented-tabs.interface';
|
|
2
|
+
interface SegmentedTabsProps extends CoreSegmentedTabsProps, Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
3
|
+
}
|
|
4
|
+
declare const SegmentedTabs: import('react').ForwardRefExoticComponent<SegmentedTabsProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export default SegmentedTabs;
|
|
@@ -2,6 +2,8 @@ import { SelectProps as coreSelectProps } from '../../../../core/components/sele
|
|
|
2
2
|
interface SelectProps extends coreSelectProps {
|
|
3
3
|
labelId?: string;
|
|
4
4
|
tooltipTextLabel?: string;
|
|
5
|
+
styleSelectWrapper?: React.CSSProperties;
|
|
6
|
+
labelExtra?: React.ReactNode;
|
|
5
7
|
}
|
|
6
8
|
declare const Select: import('react').ForwardRefExoticComponent<SelectProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
7
9
|
export default Select;
|
|
@@ -13,6 +13,8 @@ interface SideNavProps extends Partial<CoreSideNavProps>, Omit<React.HTMLAttribu
|
|
|
13
13
|
onProfileClick?: () => void;
|
|
14
14
|
showTeamData?: boolean;
|
|
15
15
|
teamData?: TeamDataItem[];
|
|
16
|
+
middleItem?: ReactNode;
|
|
17
|
+
rightItem?: ReactNode;
|
|
16
18
|
}
|
|
17
19
|
declare const SideNav: import('react').ForwardRefExoticComponent<SideNavProps & import('react').RefAttributes<HTMLDivElement | HTMLElement>>;
|
|
18
20
|
export default SideNav;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { NavItemProps } from '../../../../../core/components/side-nav/nav-item/nav-item.interface';
|
|
2
|
+
import { SideNavAppearance, SideNavHeaderConfig } from '../../../../../core/components/side-nav/side-nav.interface';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
interface MobileSideNavProps {
|
|
5
|
+
headerConfig: SideNavHeaderConfig;
|
|
6
|
+
items: NavItemProps[];
|
|
7
|
+
footerItems?: NavItemProps[];
|
|
8
|
+
activeItem?: string;
|
|
9
|
+
appearance?: SideNavAppearance;
|
|
10
|
+
middleItem?: ReactNode;
|
|
11
|
+
rightItem?: ReactNode;
|
|
12
|
+
children?: ReactNode;
|
|
13
|
+
}
|
|
14
|
+
declare const MobileSideNav: ({ headerConfig, items, footerItems, activeItem, appearance, middleItem, rightItem, children, }: MobileSideNavProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default MobileSideNav;
|
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ import { default as RadioButton } from './components/radioButton/RadioButton.tsx
|
|
|
18
18
|
import { default as RadioButtonGroup } from './components/radioButtonGroup/RadioButtonGroup.tsx';
|
|
19
19
|
import { default as Searchbar } from './components/searchbar/Searchbar.tsx';
|
|
20
20
|
import { default as SegmentedControl } from './components/segmentedControl/SegmentedControl.tsx';
|
|
21
|
+
import { default as SegmentedTabs } from './components/segmentedTabs/SegmentedTabs.tsx';
|
|
21
22
|
import { default as Select } from './components/select/Select.tsx';
|
|
22
23
|
import { default as BaseSideNav } from './components/sideNav/baseSideNav/BaseSideNav.tsx';
|
|
23
24
|
import { default as SideNav } from './components/sideNav/SideNav.tsx';
|
|
@@ -30,4 +31,7 @@ import { default as BaseTextInput } from './components/textInput/baseTextuInput/
|
|
|
30
31
|
import { default as Toast } from './components/toast/Toast.tsx';
|
|
31
32
|
import { default as ToastQueueProvider } from './components/toast/toastQueue/ToastQueueProvider.tsx';
|
|
32
33
|
import { default as Tooltip } from './components/tooltip/Tooltip.tsx';
|
|
33
|
-
|
|
34
|
+
import { default as useBreakpoint } from './hooks/useBreakpoint.ts';
|
|
35
|
+
import { default as useIsMobile } from './hooks/useIsMobile.ts';
|
|
36
|
+
export { Button, Grid, Checkbox, CheckboxGroup, Link, RadioButton, RadioButtonGroup, Icon, IconButton, IconButtonToggle, SplitButton, Tooltip, BaseTextInput as TextInput, Chip, Badge, Textarea, Divider, Switch, SegmentedControl, SegmentedTabs, Breadcrumbs, Banner, Popover, Modal, SideNav, BaseSideNav, Card, Toast, ToastQueueProvider, Tag, Tab, Searchbar, Select, useBreakpoint, useIsMobile, };
|
|
37
|
+
export type { Breakpoint, UseBreakpointResult } from './hooks/useBreakpoint.ts';
|