rbro-tat-uds 1.0.19 → 1.0.21
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 +2 -2
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +2 -2
- package/dist/components/ConfigurationSaveInfo/ConfigurationSaveInfo.d.ts +3 -3
- package/dist/components/Container/Container.d.ts +2 -2
- package/dist/components/Flex/Flex.d.ts +3 -3
- package/dist/components/FormField/FormField.d.ts +3 -3
- package/dist/components/Icon/Icon.types.d.ts +1 -1
- package/dist/components/Icon/IconsList.d.ts +12 -7
- package/dist/components/LabeledText/LabeledText.d.ts +3 -3
- package/dist/components/ObjectiveCard/ObjectiveCard.d.ts +3 -3
- package/dist/components/PageMessage/PageMessage.d.ts +3 -3
- package/dist/components/PlanulFinanciarTeaser/PlanulFinanciarTeaser.d.ts +3 -3
- package/dist/components/ProductPageTitle/ProductPageTitle.d.ts +4 -4
- package/dist/components/ProductShortcut/ProductShortcut.d.ts +3 -3
- package/dist/components/Section/Section.d.ts +2 -2
- package/dist/components/SegmentedTabs/SegmentedTabs.d.ts +2 -2
- package/dist/components/Sidebar/Sidebar.d.ts +2 -2
- package/dist/components/SidebarItem/SidebarItem.d.ts +1 -1
- package/dist/components/Tab/Tab.d.ts +2 -2
- package/dist/components/TextInput/TextInput.d.ts +20 -0
- package/dist/components/TextInput/index.d.ts +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/index.cjs.js +451 -327
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1663 -1366
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
@@ -1,6 +1,6 @@
|
|
1
|
-
import React from "react";
|
1
|
+
import React, { HTMLAttributes } from "react";
|
2
2
|
import { IconsListProp } from "../Icon/Icon.types";
|
3
|
-
export interface BreadcrumbItemProps {
|
3
|
+
export interface BreadcrumbItemProps extends HTMLAttributes<HTMLDivElement> {
|
4
4
|
icon?: IconsListProp;
|
5
5
|
label?: string;
|
6
6
|
selected?: boolean;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import React from "react";
|
2
|
-
export
|
1
|
+
import React, { HTMLAttributes } from "react";
|
2
|
+
export interface ConfigurationSaveInfoProps extends HTMLAttributes<HTMLDivElement> {
|
3
3
|
configurationId?: string;
|
4
4
|
date?: string;
|
5
5
|
branchName?: string;
|
6
6
|
buttonOnClick?(): void;
|
7
|
-
}
|
7
|
+
}
|
8
8
|
declare const ConfigurationSaveInfo: React.FC<ConfigurationSaveInfoProps>;
|
9
9
|
export default ConfigurationSaveInfo;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React, { HTMLAttributes } from "react";
|
2
2
|
import { colors } from "../../utils";
|
3
|
-
export
|
3
|
+
export interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
4
4
|
gap?: number;
|
5
5
|
padding?: string;
|
6
6
|
margin?: string;
|
@@ -9,6 +9,6 @@ export type ContainerProps = {
|
|
9
9
|
background?: keyof typeof colors;
|
10
10
|
borderRadius?: number;
|
11
11
|
children: React.ReactNode;
|
12
|
-
}
|
12
|
+
}
|
13
13
|
declare const Container: React.FC<ContainerProps>;
|
14
14
|
export default Container;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import React from "react";
|
1
|
+
import React, { HTMLAttributes } from "react";
|
2
2
|
import { colors } from "../../utils";
|
3
3
|
declare const _elements: readonly ["div", "main", "article", "p", "span"];
|
4
4
|
declare const _directions: readonly ["row", "row-reverse", "column", "column-reverse"];
|
@@ -6,7 +6,7 @@ declare const _wrap: readonly ["nowrap", "wrap", "wrap-reverse"];
|
|
6
6
|
declare const _justify: readonly ["start", "center", "space-between", "space-around", "space-evenly"];
|
7
7
|
declare const _items: readonly ["stretch", "center", "start", "end"];
|
8
8
|
declare const _content: readonly ["start", "center", "space-between", "space-around"];
|
9
|
-
|
9
|
+
export interface FlexProps extends HTMLAttributes<HTMLDivElement> {
|
10
10
|
children: React.ReactNode;
|
11
11
|
element?: (typeof _elements)[number];
|
12
12
|
width?: string;
|
@@ -26,6 +26,6 @@ type FlexProps = {
|
|
26
26
|
radius?: number;
|
27
27
|
border?: string;
|
28
28
|
css?: string;
|
29
|
-
}
|
29
|
+
}
|
30
30
|
declare const Flex: React.FC<FlexProps>;
|
31
31
|
export default Flex;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import React from "react";
|
2
|
-
export
|
1
|
+
import React, { HTMLAttributes } from "react";
|
2
|
+
export interface FormFieldProps extends HTMLAttributes<HTMLDivElement> {
|
3
3
|
children?: React.ReactNode;
|
4
4
|
label?: string;
|
5
5
|
labelFontSize?: 14 | 16;
|
@@ -10,6 +10,6 @@ export type FormFieldProps = {
|
|
10
10
|
helperIntent?: "info" | "success" | "danger";
|
11
11
|
labelFor?: string;
|
12
12
|
helpButtonOnClick?(): void;
|
13
|
-
}
|
13
|
+
}
|
14
14
|
declare const FormField: React.FC<FormFieldProps>;
|
15
15
|
export default FormField;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
export type IconsListProp = "empty" | "enter" | "home" | "go-right" | "spinner" | "trash" | "asterix" | "hint" | "info_filled" | "checkmark_filled" | "warning_filled" | "checkmark" | "checkmark_ring" | "remove_person";
|
2
|
+
export type IconsListProp = "empty" | "enter" | "home" | "go-right" | "spinner" | "trash" | "asterix" | "hint" | "info_filled" | "checkmark_filled" | "warning_filled" | "checkmark" | "checkmark_ring" | "remove_person" | "clear_filled" | "doc-sent" | "man-butterfly" | "satellite-2" | "warning_filled" | "warning-tr-filled";
|
3
3
|
export type IconProps = Omit<React.SVGProps<SVGSVGElement>, "ref"> & {
|
4
4
|
icon: IconsListProp;
|
5
5
|
size?: 8 | 12 | 14 | 16 | 20 | 24 | 32 | 40;
|
@@ -1,15 +1,20 @@
|
|
1
1
|
declare const IconsList: {
|
2
|
+
asterix: string;
|
3
|
+
checkmark: string;
|
4
|
+
checkmark_filled: string;
|
5
|
+
checkmark_ring: string;
|
6
|
+
"doc-sent": string;
|
2
7
|
enter: string;
|
3
|
-
home: string;
|
4
8
|
"go-right": string;
|
5
|
-
trash: string;
|
6
|
-
asterix: string;
|
7
9
|
hint: string;
|
10
|
+
home: string;
|
8
11
|
info_filled: string;
|
9
|
-
|
10
|
-
|
11
|
-
checkmark: string;
|
12
|
-
checkmark_ring: string;
|
12
|
+
"man-butterfly": string;
|
13
|
+
trash: string;
|
13
14
|
remove_person: string;
|
15
|
+
clear_filled: string;
|
16
|
+
"satellite-2": string;
|
17
|
+
warning_filled: string;
|
18
|
+
"warning-tr-filled": string;
|
14
19
|
};
|
15
20
|
export default IconsList;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import React from "react";
|
1
|
+
import React, { HTMLAttributes } from "react";
|
2
2
|
import { colors } from "../../utils";
|
3
|
-
export
|
3
|
+
export interface LabeledTextProps extends HTMLAttributes<HTMLDivElement> {
|
4
4
|
text: string;
|
5
5
|
label?: string;
|
6
6
|
gap?: number;
|
@@ -8,6 +8,6 @@ export type LabeledTextProps = {
|
|
8
8
|
textFontSize?: number;
|
9
9
|
labelColor?: keyof typeof colors;
|
10
10
|
textColor?: keyof typeof colors;
|
11
|
-
}
|
11
|
+
}
|
12
12
|
declare const LabeledText: React.FC<LabeledTextProps>;
|
13
13
|
export default LabeledText;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import React from "react";
|
2
|
-
export
|
1
|
+
import React, { HTMLAttributes } from "react";
|
2
|
+
export interface ObjectiveCardProps extends HTMLAttributes<HTMLDivElement> {
|
3
3
|
text: string;
|
4
4
|
img?: string;
|
5
5
|
selected?: boolean;
|
@@ -7,6 +7,6 @@ export type ObjectiveCardProps = {
|
|
7
7
|
buttonLabel?: string;
|
8
8
|
buttonOnClick?: () => void;
|
9
9
|
width?: string;
|
10
|
-
}
|
10
|
+
}
|
11
11
|
declare const ObjectiveCard: React.FC<ObjectiveCardProps>;
|
12
12
|
export default ObjectiveCard;
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import React from "react";
|
1
|
+
import React, { HTMLAttributes } from "react";
|
2
2
|
import IconsList from "../Icon/IconsList";
|
3
|
-
export
|
3
|
+
export interface PageMessageProps extends HTMLAttributes<HTMLDivElement> {
|
4
4
|
intent?: "default" | "info" | "success" | "warning" | "danger";
|
5
5
|
icon?: keyof typeof IconsList;
|
6
6
|
pillText?: string;
|
7
7
|
children: React.ReactNode;
|
8
|
-
}
|
8
|
+
}
|
9
9
|
declare const PageMessage: React.FC<PageMessageProps>;
|
10
10
|
export default PageMessage;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import React from "react";
|
2
|
-
export
|
1
|
+
import React, { HTMLAttributes } from "react";
|
2
|
+
export interface PlanulFinanciarTeaserProps extends HTMLAttributes<HTMLDivElement> {
|
3
3
|
buttonOnClick?: () => void;
|
4
|
-
}
|
4
|
+
}
|
5
5
|
declare const PlanulFinanciarTeaser: React.FC<PlanulFinanciarTeaserProps>;
|
6
6
|
export default PlanulFinanciarTeaser;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import React from "react";
|
2
|
-
export
|
1
|
+
import React, { HTMLAttributes } from "react";
|
2
|
+
export interface ProductPageTitleProps extends HTMLAttributes<HTMLDivElement> {
|
3
3
|
title?: string;
|
4
4
|
category?: string;
|
5
|
-
|
6
|
-
}
|
5
|
+
subtitle?: string;
|
6
|
+
}
|
7
7
|
declare const ProductPageTitle: React.FC<ProductPageTitleProps>;
|
8
8
|
export default ProductPageTitle;
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import React from "react";
|
2
|
-
export
|
1
|
+
import React, { HTMLAttributes } from "react";
|
2
|
+
export interface ProductShortcutProps extends HTMLAttributes<HTMLDivElement> {
|
3
3
|
title?: string;
|
4
4
|
text?: string;
|
5
5
|
buttonVariant?: "primary" | "secondary" | "secondaryOutlined" | "tertiary";
|
6
6
|
buttonLabel?: string;
|
7
7
|
disabled?: boolean;
|
8
8
|
buttonOnClick?(): void;
|
9
|
-
}
|
9
|
+
}
|
10
10
|
declare const ProductShortcut: React.FC<ProductShortcutProps>;
|
11
11
|
export default ProductShortcut;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import React from "react";
|
2
|
-
export interface SectionProps extends ContentTopRightProps {
|
1
|
+
import React, { HTMLAttributes } from "react";
|
2
|
+
export interface SectionProps extends HTMLAttributes<HTMLDivElement>, ContentTopRightProps {
|
3
3
|
children: React.ReactNode;
|
4
4
|
title: string;
|
5
5
|
subtitle?: string;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import { IconsListProp } from "../Icon/Icon.types";
|
3
|
-
export interface SidebarItemProps extends React.
|
3
|
+
export interface SidebarItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
4
4
|
label: string;
|
5
5
|
icon: IconsListProp;
|
6
6
|
disabled?: boolean;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import React from "react";
|
1
|
+
import React, { HTMLAttributes } from "react";
|
2
2
|
import { IconsListProp } from "../Icon/Icon.types";
|
3
|
-
export interface TabProps {
|
3
|
+
export interface TabProps extends HTMLAttributes<HTMLDivElement> {
|
4
4
|
label?: string;
|
5
5
|
icon?: IconsListProp;
|
6
6
|
selected?: boolean;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import React, { InputHTMLAttributes } from "react";
|
2
|
+
import IconsList from "../Icon/IconsList";
|
3
|
+
export interface TextInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size"> {
|
4
|
+
id?: string;
|
5
|
+
type?: "text" | "email" | "password";
|
6
|
+
placeholder?: string;
|
7
|
+
value?: string;
|
8
|
+
setValue?: (newValue: string) => void;
|
9
|
+
size?: "medium" | "large";
|
10
|
+
intent?: "default" | "danger" | "success";
|
11
|
+
loading?: boolean;
|
12
|
+
clearButton?: boolean;
|
13
|
+
leftText?: string;
|
14
|
+
rightText?: string;
|
15
|
+
leftButtonIcon?: keyof typeof IconsList;
|
16
|
+
rightButtonIcon?: keyof typeof IconsList;
|
17
|
+
rightButtonOnClick?: () => void;
|
18
|
+
}
|
19
|
+
declare const TextInput: React.FC<TextInputProps>;
|
20
|
+
export default TextInput;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as TextInput } from './TextInput';
|