rbro-tat-uds 1.0.15 → 1.0.16
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/BreadcrumbItem/BreadcrumbItem.d.ts +11 -0
- package/dist/components/BreadcrumbItem/index.d.ts +1 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +8 -0
- package/dist/components/Breadcrumbs/index.d.ts +1 -0
- package/dist/components/Button/Button.d.ts +15 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +8 -0
- package/dist/components/Checkbox/index.d.ts +1 -0
- package/dist/components/ConfigurationSaveInfo/ConfigurationSaveInfo.d.ts +9 -0
- package/dist/components/ConfigurationSaveInfo/index.d.ts +1 -0
- package/dist/components/Container/Container.d.ts +14 -0
- package/dist/components/Container/index.d.ts +1 -0
- package/dist/components/Content/Content.d.ts +8 -0
- package/dist/components/Content/index.d.ts +1 -0
- package/dist/components/Flex/Flex.d.ts +31 -0
- package/dist/components/Flex/index.d.ts +1 -0
- package/dist/components/FormField/FormField.d.ts +15 -0
- package/dist/components/FormField/index.d.ts +1 -0
- package/dist/components/Icon/Icon.d.ts +4 -0
- package/dist/components/Icon/Icon.types.d.ts +8 -0
- package/dist/components/Icon/IconsList.d.ts +14 -0
- package/dist/components/Icon/index.d.ts +1 -0
- package/dist/components/IconButton/IconButton.d.ts +12 -0
- package/dist/components/IconButton/index.d.ts +1 -0
- package/dist/components/LabeledText/LabeledText.d.ts +13 -0
- package/dist/components/LabeledText/index.d.ts +1 -0
- package/dist/components/Layout/Layout.d.ts +8 -0
- package/dist/components/Layout/index.d.ts +1 -0
- package/dist/components/Logo/Logo.d.ts +7 -0
- package/dist/components/Logo/index.d.ts +1 -0
- package/dist/components/ProductPageTitle/ProductPageTitle.d.ts +8 -0
- package/dist/components/ProductPageTitle/index.d.ts +1 -0
- package/dist/components/ProductShortcut/ProductShortcut.d.ts +11 -0
- package/dist/components/ProductShortcut/index.d.ts +1 -0
- package/dist/components/Products/ProductHeader/ProductHeader.d.ts +0 -0
- package/dist/components/Section/Section.d.ts +13 -0
- package/dist/components/Section/index.d.ts +1 -0
- package/dist/components/SegmentedTabs/SegmentedTabs.d.ts +13 -0
- package/dist/components/SegmentedTabs/index.d.ts +1 -0
- package/dist/components/Sidebar/Sidebar.d.ts +19 -0
- package/dist/components/Sidebar/index.d.ts +1 -0
- package/dist/components/SidebarItem/SidebarItem.d.ts +10 -0
- package/dist/components/SidebarItem/index.d.ts +1 -0
- package/dist/components/Tab/Tab.d.ts +11 -0
- package/dist/components/Tab/index.d.ts +1 -0
- package/dist/components/index.d.ts +20 -0
- package/dist/index.cjs.js +1084 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +3306 -0
- package/dist/index.es.js.map +1 -0
- package/dist/style.css +1 -0
- package/dist/utils/colors.d.ts +52 -0
- package/dist/utils/index.d.ts +1 -0
- package/package.json +1 -1
@@ -0,0 +1,11 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { IconsListProp } from "../Icon/Icon.types";
|
3
|
+
export interface BreadcrumbItemProps {
|
4
|
+
icon?: IconsListProp;
|
5
|
+
label?: string;
|
6
|
+
selected?: boolean;
|
7
|
+
disabled?: boolean;
|
8
|
+
onClick?: () => void;
|
9
|
+
}
|
10
|
+
declare const BreadcrumbItem: React.FC<BreadcrumbItemProps>;
|
11
|
+
export default BreadcrumbItem;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as BreadcrumbItem } from "./BreadcrumbItem";
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as Breadcrumbs } from "./Breadcrumbs";
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import IconsList from "../Icon/IconsList";
|
3
|
+
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
4
|
+
type?: "button" | "submit" | "reset";
|
5
|
+
width?: string;
|
6
|
+
intent?: "accent" | "info" | "danger";
|
7
|
+
variant?: "primary" | "secondary" | "secondaryOutlined" | "tertiary";
|
8
|
+
label?: string;
|
9
|
+
loading?: boolean;
|
10
|
+
size?: "small" | "medium" | "large";
|
11
|
+
leftIcon?: keyof typeof IconsList;
|
12
|
+
rightIcon?: keyof typeof IconsList;
|
13
|
+
}
|
14
|
+
declare const Button: React.FC<ButtonProps>;
|
15
|
+
export default Button;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as Button } from "./Button";
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import React from "react";
|
2
|
+
export interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
3
|
+
size?: "small" | "medium" | "large";
|
4
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
5
|
+
checked?: boolean;
|
6
|
+
}
|
7
|
+
declare const Checkbox: React.FC<CheckboxProps>;
|
8
|
+
export default Checkbox;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as Checkbox } from './Checkbox';
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import React from "react";
|
2
|
+
export type ConfigurationSaveInfoProps = {
|
3
|
+
configurationId?: string;
|
4
|
+
date?: string;
|
5
|
+
branchName?: string;
|
6
|
+
buttonAction?(): void;
|
7
|
+
};
|
8
|
+
declare const ConfigurationSaveInfo: React.FC<ConfigurationSaveInfoProps>;
|
9
|
+
export default ConfigurationSaveInfo;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as ConfigurationSaveInfo } from "./ConfigurationSaveInfo";
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import React, { HTMLAttributes } from "react";
|
2
|
+
import { colors } from "../../utils";
|
3
|
+
export type ContainerProps = {
|
4
|
+
gap?: number;
|
5
|
+
padding?: string;
|
6
|
+
margin?: string;
|
7
|
+
flexDirection?: "row" | "column";
|
8
|
+
shadow?: string;
|
9
|
+
background?: keyof typeof colors;
|
10
|
+
borderRadius?: number;
|
11
|
+
children: React.ReactNode;
|
12
|
+
} & HTMLAttributes<HTMLDivElement>;
|
13
|
+
declare const Container: React.FC<ContainerProps>;
|
14
|
+
export default Container;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as Container } from "./Container";
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as Content } from "./Content";
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { colors } from "../../utils";
|
3
|
+
declare const _elements: readonly ["div", "main", "article", "p", "span"];
|
4
|
+
declare const _directions: readonly ["row", "row-reverse", "column", "column-reverse"];
|
5
|
+
declare const _wrap: readonly ["nowrap", "wrap", "wrap-reverse"];
|
6
|
+
declare const _justify: readonly ["start", "center", "space-between", "space-around", "space-evenly"];
|
7
|
+
declare const _items: readonly ["stretch", "center", "start", "end"];
|
8
|
+
declare const _content: readonly ["start", "center", "space-between", "space-around"];
|
9
|
+
type FlexProps = {
|
10
|
+
children: React.ReactNode;
|
11
|
+
element?: (typeof _elements)[number];
|
12
|
+
width?: string;
|
13
|
+
height?: string;
|
14
|
+
background?: keyof typeof colors;
|
15
|
+
gap?: number;
|
16
|
+
direction?: (typeof _directions)[number];
|
17
|
+
wrap?: (typeof _wrap)[number];
|
18
|
+
grow?: number;
|
19
|
+
shrink?: number;
|
20
|
+
basis?: string;
|
21
|
+
justify?: (typeof _justify)[number];
|
22
|
+
items?: (typeof _items)[number];
|
23
|
+
content?: (typeof _content)[number];
|
24
|
+
padding?: string;
|
25
|
+
margin?: string;
|
26
|
+
radius?: number;
|
27
|
+
border?: string;
|
28
|
+
css?: string;
|
29
|
+
};
|
30
|
+
declare const Flex: React.FC<FlexProps>;
|
31
|
+
export default Flex;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as Flex } from "./Flex";
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import React from "react";
|
2
|
+
export type FormFieldProps = {
|
3
|
+
children?: React.ReactNode;
|
4
|
+
label?: string;
|
5
|
+
labelFontSize?: 14 | 16;
|
6
|
+
required?: boolean;
|
7
|
+
showHelpButton?: boolean;
|
8
|
+
leftHelperText?: string;
|
9
|
+
rightHelperText?: string;
|
10
|
+
helperIntent?: "info" | "success" | "danger";
|
11
|
+
labelFor?: string;
|
12
|
+
helpButtonAction?(): void;
|
13
|
+
};
|
14
|
+
declare const FormField: React.FC<FormFieldProps>;
|
15
|
+
export default FormField;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as FormField } from "./FormField";
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export type IconsListProp = "empty" | "enter" | "home" | "go-right" | "spinner" | "trash" | "asterix" | "hint" | "info_filled" | "checkmark_filled" | "warning_filled" | "checkmark";
|
3
|
+
export type IconProps = Omit<React.SVGProps<SVGSVGElement>, "ref"> & {
|
4
|
+
icon: IconsListProp;
|
5
|
+
size?: 8 | 12 | 14 | 16 | 20 | 24 | 32 | 40;
|
6
|
+
fullWidth?: boolean;
|
7
|
+
color?: string;
|
8
|
+
};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
declare const IconsList: {
|
2
|
+
enter: string;
|
3
|
+
home: string;
|
4
|
+
"go-right": string;
|
5
|
+
spinner: string;
|
6
|
+
trash: string;
|
7
|
+
asterix: string;
|
8
|
+
hint: string;
|
9
|
+
info_filled: string;
|
10
|
+
checkmark_filled: string;
|
11
|
+
warning_filled: string;
|
12
|
+
checkmark: string;
|
13
|
+
};
|
14
|
+
export default IconsList;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as Icon } from "./Icon";
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import IconsList from "../Icon/IconsList";
|
3
|
+
export interface IconButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
4
|
+
intent?: "accent" | "info" | "danger";
|
5
|
+
variant?: "primary" | "secondary" | "secondaryOutlined" | "tertiary";
|
6
|
+
icon?: keyof typeof IconsList;
|
7
|
+
loading?: boolean;
|
8
|
+
size?: "small" | "medium" | "large";
|
9
|
+
shape?: "rounded" | "circle";
|
10
|
+
}
|
11
|
+
declare const IconButton: React.FC<IconButtonProps>;
|
12
|
+
export default IconButton;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as IconButton } from './IconButton';
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { colors } from "../../utils";
|
3
|
+
export type LabeledTextProps = {
|
4
|
+
text: string;
|
5
|
+
label?: string;
|
6
|
+
gap?: number;
|
7
|
+
labelFontSize?: number;
|
8
|
+
textFontSize?: number;
|
9
|
+
labelColor?: keyof typeof colors;
|
10
|
+
textColor?: keyof typeof colors;
|
11
|
+
};
|
12
|
+
declare const LabeledText: React.FC<LabeledTextProps>;
|
13
|
+
export default LabeledText;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as LabeledText } from "./LabeledText";
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import React, { HTMLAttributes } from "react";
|
2
|
+
import { colors } from "../../utils";
|
3
|
+
export interface LayoutProps extends HTMLAttributes<HTMLDivElement> {
|
4
|
+
children?: React.ReactNode;
|
5
|
+
bgColor?: keyof typeof colors;
|
6
|
+
}
|
7
|
+
declare const Layout: React.FC<LayoutProps>;
|
8
|
+
export default Layout;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as Layout } from "./Layout";
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as Logo } from "./Logo";
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as ProductPageTitle } from "./ProductPageTitle";
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import React from "react";
|
2
|
+
export type ProductShortcutProps = {
|
3
|
+
title?: string;
|
4
|
+
text?: string;
|
5
|
+
buttonVariant?: "primary" | "secondary" | "secondaryOutlined" | "tertiary";
|
6
|
+
buttonText?: string;
|
7
|
+
disabled?: boolean;
|
8
|
+
buttonAction?(): void;
|
9
|
+
};
|
10
|
+
declare const ProductShortcut: React.FC<ProductShortcutProps>;
|
11
|
+
export default ProductShortcut;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as ProductShortcut } from "./ProductShortcut";
|
File without changes
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from "react";
|
2
|
+
export interface SectionProps {
|
3
|
+
children: React.ReactNode;
|
4
|
+
title: string;
|
5
|
+
subtitle?: string;
|
6
|
+
}
|
7
|
+
type ContentTopRightProps = {
|
8
|
+
children?: React.ReactNode;
|
9
|
+
};
|
10
|
+
declare const Section: React.FC<SectionProps> & {
|
11
|
+
ContentTopRight: React.FC<ContentTopRightProps>;
|
12
|
+
};
|
13
|
+
export default Section;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as Section } from "./Section";
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from "react";
|
2
|
+
export interface SegmentedTabsProps {
|
3
|
+
children?: React.ReactNode;
|
4
|
+
gap?: number;
|
5
|
+
padding?: string;
|
6
|
+
}
|
7
|
+
export interface StyledTabsWrapperProps {
|
8
|
+
children?: React.ReactNode;
|
9
|
+
$gap?: number;
|
10
|
+
$padding?: string;
|
11
|
+
}
|
12
|
+
declare const SegmentedTabs: React.FC<SegmentedTabsProps>;
|
13
|
+
export default SegmentedTabs;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as SegmentedTabs } from "./SegmentedTabs";
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import React from "react";
|
2
|
+
export interface SidebarProps {
|
3
|
+
children: React.ReactNode;
|
4
|
+
}
|
5
|
+
export type SidebarTopProps = {
|
6
|
+
children: React.ReactNode;
|
7
|
+
};
|
8
|
+
export type SidebarMiddleProps = {
|
9
|
+
children: React.ReactNode;
|
10
|
+
};
|
11
|
+
export type SidebarBottomProps = {
|
12
|
+
children: React.ReactNode;
|
13
|
+
};
|
14
|
+
declare const Sidebar: React.FC<SidebarProps> & {
|
15
|
+
Top: React.FC<SidebarTopProps>;
|
16
|
+
Middle: React.FC<SidebarMiddleProps>;
|
17
|
+
Bottom: React.FC<SidebarBottomProps>;
|
18
|
+
};
|
19
|
+
export default Sidebar;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as Sidebar } from "./Sidebar";
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { IconsListProp } from "../Icon/Icon.types";
|
3
|
+
export interface SidebarItemProps extends React.HTMLAttributes<HTMLButtonElement> {
|
4
|
+
label: string;
|
5
|
+
icon: IconsListProp;
|
6
|
+
disabled?: boolean;
|
7
|
+
selected?: boolean;
|
8
|
+
}
|
9
|
+
declare const SidebarItem: React.FC<SidebarItemProps>;
|
10
|
+
export default SidebarItem;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as SidebarItem } from "./SidebarItem";
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { IconsListProp } from "../Icon/Icon.types";
|
3
|
+
export interface TabProps {
|
4
|
+
label?: string;
|
5
|
+
icon?: IconsListProp;
|
6
|
+
selected?: boolean;
|
7
|
+
disabled?: boolean;
|
8
|
+
onClick?: () => void;
|
9
|
+
}
|
10
|
+
declare const Tab: React.FC<TabProps>;
|
11
|
+
export default Tab;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as Tab } from "./Tab";
|
@@ -0,0 +1,20 @@
|
|
1
|
+
export * from "./BreadcrumbItem";
|
2
|
+
export * from "./Breadcrumbs";
|
3
|
+
export * from "./Button";
|
4
|
+
export * from "./Icon";
|
5
|
+
export * from "./Logo";
|
6
|
+
export * from "./Sidebar";
|
7
|
+
export * from "./SidebarItem";
|
8
|
+
export * from "./Layout";
|
9
|
+
export * from "./Container";
|
10
|
+
export * from "./Content";
|
11
|
+
export * from "./Flex";
|
12
|
+
export * from "./Tab";
|
13
|
+
export * from "./SegmentedTabs";
|
14
|
+
export * from "./ProductPageTitle";
|
15
|
+
export * from "./LabeledText";
|
16
|
+
export * from "./ConfigurationSaveInfo";
|
17
|
+
export * from "./ProductShortcut";
|
18
|
+
export * from "./IconButton";
|
19
|
+
export * from "./Checkbox";
|
20
|
+
export * from "./Section";
|