rbro-tat-uds 1.0.15 → 1.0.17

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.
Files changed (64) hide show
  1. package/dist/components/BreadcrumbItem/BreadcrumbItem.d.ts +11 -0
  2. package/dist/components/BreadcrumbItem/index.d.ts +1 -0
  3. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +8 -0
  4. package/dist/components/Breadcrumbs/index.d.ts +1 -0
  5. package/dist/components/Button/Button.d.ts +15 -0
  6. package/dist/components/Button/index.d.ts +1 -0
  7. package/dist/components/Checkbox/Checkbox.d.ts +9 -0
  8. package/dist/components/Checkbox/index.d.ts +1 -0
  9. package/dist/components/ConfigurationSaveInfo/ConfigurationSaveInfo.d.ts +9 -0
  10. package/dist/components/ConfigurationSaveInfo/index.d.ts +1 -0
  11. package/dist/components/Container/Container.d.ts +14 -0
  12. package/dist/components/Container/index.d.ts +1 -0
  13. package/dist/components/Content/Content.d.ts +8 -0
  14. package/dist/components/Content/index.d.ts +1 -0
  15. package/dist/components/Flex/Flex.d.ts +31 -0
  16. package/dist/components/Flex/index.d.ts +1 -0
  17. package/dist/components/FormField/FormField.d.ts +15 -0
  18. package/dist/components/FormField/index.d.ts +1 -0
  19. package/dist/components/Icon/Icon.d.ts +4 -0
  20. package/dist/components/Icon/Icon.types.d.ts +8 -0
  21. package/dist/components/Icon/IconsList.d.ts +15 -0
  22. package/dist/components/Icon/index.d.ts +1 -0
  23. package/dist/components/IconButton/IconButton.d.ts +12 -0
  24. package/dist/components/IconButton/index.d.ts +1 -0
  25. package/dist/components/LabeledText/LabeledText.d.ts +13 -0
  26. package/dist/components/LabeledText/index.d.ts +1 -0
  27. package/dist/components/Layout/Layout.d.ts +8 -0
  28. package/dist/components/Layout/index.d.ts +1 -0
  29. package/dist/components/Logo/Logo.d.ts +7 -0
  30. package/dist/components/Logo/index.d.ts +1 -0
  31. package/dist/components/ObjectiveCard/ObjectiveCard.d.ts +12 -0
  32. package/dist/components/ObjectiveCard/index.d.ts +1 -0
  33. package/dist/components/PageMessage/PageMessage.d.ts +10 -0
  34. package/dist/components/PageMessage/index.d.ts +1 -0
  35. package/dist/components/PlanulFinanciarTeaser/PlanulFinanciarTeaser.d.ts +6 -0
  36. package/dist/components/PlanulFinanciarTeaser/index.d.ts +1 -0
  37. package/dist/components/ProductPageTitle/ProductPageTitle.d.ts +8 -0
  38. package/dist/components/ProductPageTitle/index.d.ts +1 -0
  39. package/dist/components/ProductShortcut/ProductShortcut.d.ts +11 -0
  40. package/dist/components/ProductShortcut/index.d.ts +1 -0
  41. package/dist/components/Products/ProductHeader/ProductHeader.d.ts +0 -0
  42. package/dist/components/Section/Section.d.ts +13 -0
  43. package/dist/components/Section/index.d.ts +1 -0
  44. package/dist/components/SegmentedTabs/SegmentedTabs.d.ts +13 -0
  45. package/dist/components/SegmentedTabs/index.d.ts +1 -0
  46. package/dist/components/Sidebar/Sidebar.d.ts +19 -0
  47. package/dist/components/Sidebar/index.d.ts +1 -0
  48. package/dist/components/SidebarItem/SidebarItem.d.ts +10 -0
  49. package/dist/components/SidebarItem/index.d.ts +1 -0
  50. package/dist/components/Spinner/Spinner.d.ts +8 -0
  51. package/dist/components/Spinner/index.d.ts +1 -0
  52. package/dist/components/Tab/Tab.d.ts +11 -0
  53. package/dist/components/Tab/index.d.ts +1 -0
  54. package/dist/components/index.d.ts +24 -0
  55. package/dist/index.cjs.js +1191 -0
  56. package/dist/index.cjs.js.map +1 -0
  57. package/dist/index.d.ts +2 -0
  58. package/dist/index.es.js +3564 -0
  59. package/dist/index.es.js.map +1 -0
  60. package/dist/style.css +1 -0
  61. package/dist/utils/colors.d.ts +52 -0
  62. package/dist/utils/index.d.ts +1 -0
  63. package/package.json +1 -1
  64. package/readme.md +5 -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,8 @@
1
+ import React from "react";
2
+ export interface BreadcrumbsProps {
3
+ gap?: number;
4
+ padding?: string;
5
+ children?: React.ReactNode;
6
+ }
7
+ declare const Breadcrumbs: React.FC<BreadcrumbsProps>;
8
+ export default Breadcrumbs;
@@ -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,9 @@
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
+ id?: string;
7
+ }
8
+ declare const Checkbox: React.FC<CheckboxProps>;
9
+ 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
+ buttonOnClick?(): 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,8 @@
1
+ import React, { HTMLAttributes } from "react";
2
+ export interface ContentProps extends HTMLAttributes<HTMLDivElement> {
3
+ children: React.ReactNode;
4
+ padding?: string;
5
+ gap?: number;
6
+ }
7
+ declare const Content: React.FC<ContentProps>;
8
+ export default Content;
@@ -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
+ helpButtonOnClick?(): 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,4 @@
1
+ import React from "react";
2
+ import { IconProps } from "./Icon.types";
3
+ declare const _default: React.NamedExoticComponent<IconProps>;
4
+ export default _default;
@@ -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" | "checkmark_ring" | "remove_person";
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,15 @@
1
+ declare const IconsList: {
2
+ enter: string;
3
+ home: string;
4
+ "go-right": string;
5
+ trash: string;
6
+ asterix: string;
7
+ hint: string;
8
+ info_filled: string;
9
+ checkmark_filled: string;
10
+ warning_filled: string;
11
+ checkmark: string;
12
+ checkmark_ring: string;
13
+ remove_person: string;
14
+ };
15
+ 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,7 @@
1
+ import React from "react";
2
+ export type LogoProps = Omit<React.SVGProps<SVGSVGElement>, "ref"> & {
3
+ size?: 24 | 32 | 36 | 40 | 48;
4
+ fullWidth?: boolean;
5
+ };
6
+ declare const Logo: React.FC<LogoProps>;
7
+ export default Logo;
@@ -0,0 +1 @@
1
+ export { default as Logo } from "./Logo";
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ export type ObjectiveCardProps = {
3
+ text: string;
4
+ img?: string;
5
+ selected?: boolean;
6
+ disabled?: boolean;
7
+ buttonLabel?: string;
8
+ buttonOnClick?: () => void;
9
+ width?: string;
10
+ };
11
+ declare const ObjectiveCard: React.FC<ObjectiveCardProps>;
12
+ export default ObjectiveCard;
@@ -0,0 +1 @@
1
+ export { default as ObjectiveCard } from './ObjectiveCard';
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import IconsList from "../Icon/IconsList";
3
+ export type PageMessageProps = {
4
+ intent?: "default" | "info" | "success" | "warning" | "danger";
5
+ icon?: keyof typeof IconsList;
6
+ pillText?: string;
7
+ children: React.ReactNode;
8
+ };
9
+ declare const PageMessage: React.FC<PageMessageProps>;
10
+ export default PageMessage;
@@ -0,0 +1 @@
1
+ export { default as PageMessage } from './PageMessage';
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ export type PlanulFinanciarTeaserProps = {
3
+ buttonOnClick?: () => void;
4
+ };
5
+ declare const PlanulFinanciarTeaser: React.FC<PlanulFinanciarTeaserProps>;
6
+ export default PlanulFinanciarTeaser;
@@ -0,0 +1 @@
1
+ export { default as PlanulFinanciarTeaser } from './PlanulFinanciarTeaser';
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ export type ProductPageTitleProps = {
3
+ title?: string;
4
+ category?: string;
5
+ subcategory?: string;
6
+ };
7
+ declare const ProductPageTitle: React.FC<ProductPageTitleProps>;
8
+ export default ProductPageTitle;
@@ -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
+ buttonLabel?: string;
7
+ disabled?: boolean;
8
+ buttonOnClick?(): void;
9
+ };
10
+ declare const ProductShortcut: React.FC<ProductShortcutProps>;
11
+ export default ProductShortcut;
@@ -0,0 +1 @@
1
+ export { default as ProductShortcut } from "./ProductShortcut";
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ export interface SectionProps extends ContentTopRightProps {
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,8 @@
1
+ import React from "react";
2
+ type SpinnerProps = Omit<React.SVGProps<SVGSVGElement>, "ref" | "direction"> & {
3
+ size?: 20 | 24;
4
+ text?: string;
5
+ direction?: "vertical" | "horizontal";
6
+ };
7
+ declare const Spinner: React.FC<SpinnerProps>;
8
+ export default Spinner;
@@ -0,0 +1 @@
1
+ export { default as Spinner } from "./Spinner.tsx";
@@ -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,24 @@
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";
21
+ export * from "./ObjectiveCard";
22
+ export * from "./Spinner";
23
+ export * from "./PlanulFinanciarTeaser";
24
+ export * from "./PageMessage";