rbro-tat-uds 1.0.14 → 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/Button/Button.d.ts +2 -1
- 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 +1 -1
- package/dist/components/FormField/FormField.d.ts +15 -0
- package/dist/components/FormField/index.d.ts +1 -0
- package/dist/components/Icon/Icon.types.d.ts +1 -1
- package/dist/components/Icon/IconsList.d.ts +6 -0
- package/dist/components/IconButton/IconButton.d.ts +12 -0
- package/dist/components/IconButton/index.d.ts +1 -0
- package/dist/components/ProductPageTitle/ProductPageTitle.d.ts +1 -1
- package/dist/components/ProductShortcut/ProductShortcut.d.ts +1 -0
- package/dist/components/Section/Section.d.ts +13 -0
- package/dist/components/Section/index.d.ts +1 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/index.cjs.js +558 -193
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +1852 -1328
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/utils/colors.d.ts +9 -9
- package/package.json +3 -2
@@ -2,8 +2,9 @@ import React from "react";
|
|
2
2
|
import IconsList from "../Icon/IconsList";
|
3
3
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
4
4
|
type?: "button" | "submit" | "reset";
|
5
|
+
width?: string;
|
5
6
|
intent?: "accent" | "info" | "danger";
|
6
|
-
|
7
|
+
variant?: "primary" | "secondary" | "secondaryOutlined" | "tertiary";
|
7
8
|
label?: string;
|
8
9
|
loading?: boolean;
|
9
10
|
size?: "small" | "medium" | "large";
|
@@ -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';
|
@@ -3,7 +3,7 @@ export type ConfigurationSaveInfoProps = {
|
|
3
3
|
configurationId?: string;
|
4
4
|
date?: string;
|
5
5
|
branchName?: string;
|
6
|
-
|
6
|
+
buttonAction?(): void;
|
7
7
|
};
|
8
8
|
declare const ConfigurationSaveInfo: React.FC<ConfigurationSaveInfoProps>;
|
9
9
|
export default ConfigurationSaveInfo;
|
@@ -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";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
export type IconsListProp = "empty" | "enter" | "home" | "go-right" | "spinner" | "trash";
|
2
|
+
export type IconsListProp = "empty" | "enter" | "home" | "go-right" | "spinner" | "trash" | "asterix" | "hint" | "info_filled" | "checkmark_filled" | "warning_filled" | "checkmark";
|
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;
|
@@ -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';
|
@@ -5,6 +5,7 @@ export type ProductShortcutProps = {
|
|
5
5
|
buttonVariant?: "primary" | "secondary" | "secondaryOutlined" | "tertiary";
|
6
6
|
buttonText?: string;
|
7
7
|
disabled?: boolean;
|
8
|
+
buttonAction?(): void;
|
8
9
|
};
|
9
10
|
declare const ProductShortcut: React.FC<ProductShortcutProps>;
|
10
11
|
export default ProductShortcut;
|
@@ -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";
|