rbro-tat-uds 1.0.14 → 1.0.15

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 (47) hide show
  1. package/package.json +3 -2
  2. package/dist/components/BreadcrumbItem/BreadcrumbItem.d.ts +0 -11
  3. package/dist/components/BreadcrumbItem/index.d.ts +0 -1
  4. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +0 -8
  5. package/dist/components/Breadcrumbs/index.d.ts +0 -1
  6. package/dist/components/Button/Button.d.ts +0 -14
  7. package/dist/components/Button/index.d.ts +0 -1
  8. package/dist/components/ConfigurationSaveInfo/ConfigurationSaveInfo.d.ts +0 -9
  9. package/dist/components/ConfigurationSaveInfo/index.d.ts +0 -1
  10. package/dist/components/Container/Container.d.ts +0 -14
  11. package/dist/components/Container/index.d.ts +0 -1
  12. package/dist/components/Content/Content.d.ts +0 -8
  13. package/dist/components/Content/index.d.ts +0 -1
  14. package/dist/components/Flex/Flex.d.ts +0 -31
  15. package/dist/components/Flex/index.d.ts +0 -1
  16. package/dist/components/Icon/Icon.d.ts +0 -4
  17. package/dist/components/Icon/Icon.types.d.ts +0 -8
  18. package/dist/components/Icon/IconsList.d.ts +0 -8
  19. package/dist/components/Icon/index.d.ts +0 -1
  20. package/dist/components/LabeledText/LabeledText.d.ts +0 -13
  21. package/dist/components/LabeledText/index.d.ts +0 -1
  22. package/dist/components/Layout/Layout.d.ts +0 -8
  23. package/dist/components/Layout/index.d.ts +0 -1
  24. package/dist/components/Logo/Logo.d.ts +0 -7
  25. package/dist/components/Logo/index.d.ts +0 -1
  26. package/dist/components/ProductPageTitle/ProductPageTitle.d.ts +0 -8
  27. package/dist/components/ProductPageTitle/index.d.ts +0 -1
  28. package/dist/components/ProductShortcut/ProductShortcut.d.ts +0 -10
  29. package/dist/components/ProductShortcut/index.d.ts +0 -1
  30. package/dist/components/Products/ProductHeader/ProductHeader.d.ts +0 -0
  31. package/dist/components/SegmentedTabs/SegmentedTabs.d.ts +0 -13
  32. package/dist/components/SegmentedTabs/index.d.ts +0 -1
  33. package/dist/components/Sidebar/Sidebar.d.ts +0 -19
  34. package/dist/components/Sidebar/index.d.ts +0 -1
  35. package/dist/components/SidebarItem/SidebarItem.d.ts +0 -10
  36. package/dist/components/SidebarItem/index.d.ts +0 -1
  37. package/dist/components/Tab/Tab.d.ts +0 -11
  38. package/dist/components/Tab/index.d.ts +0 -1
  39. package/dist/components/index.d.ts +0 -17
  40. package/dist/index.cjs.js +0 -719
  41. package/dist/index.cjs.js.map +0 -1
  42. package/dist/index.d.ts +0 -2
  43. package/dist/index.es.js +0 -2782
  44. package/dist/index.es.js.map +0 -1
  45. package/dist/style.css +0 -1
  46. package/dist/utils/colors.d.ts +0 -52
  47. package/dist/utils/index.d.ts +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rbro-tat-uds",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",
@@ -26,11 +26,12 @@
26
26
  "react-dom": ">=18.0.0"
27
27
  },
28
28
  "devDependencies": {
29
+ "@storybook/addon-actions": "^7.6.13",
29
30
  "@storybook/addon-essentials": "^7.6.10",
30
31
  "@storybook/addon-interactions": "^7.6.10",
31
32
  "@storybook/addon-links": "^7.6.10",
32
- "@storybook/addon-onboarding": "^1.0.11",
33
33
  "@storybook/blocks": "^7.6.10",
34
+ "@storybook/preview-api": "^7.6.13",
34
35
  "@storybook/react": "^7.6.10",
35
36
  "@storybook/react-vite": "^7.6.10",
36
37
  "@storybook/test": "^7.6.10",
@@ -1,11 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default as BreadcrumbItem } from "./BreadcrumbItem";
@@ -1,8 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default as Breadcrumbs } from "./Breadcrumbs";
@@ -1,14 +0,0 @@
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
- intent?: "accent" | "info" | "danger";
6
- variants?: "primary" | "secondary" | "secondaryOutlined" | "tertiary";
7
- label?: string;
8
- loading?: boolean;
9
- size?: "small" | "medium" | "large";
10
- leftIcon?: keyof typeof IconsList;
11
- rightIcon?: keyof typeof IconsList;
12
- }
13
- declare const Button: React.FC<ButtonProps>;
14
- export default Button;
@@ -1 +0,0 @@
1
- export { default as Button } from "./Button";
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- export type ConfigurationSaveInfoProps = {
3
- configurationId?: string;
4
- date?: string;
5
- branchName?: string;
6
- children: React.ReactNode;
7
- };
8
- declare const ConfigurationSaveInfo: React.FC<ConfigurationSaveInfoProps>;
9
- export default ConfigurationSaveInfo;
@@ -1 +0,0 @@
1
- export { default as ConfigurationSaveInfo } from "./ConfigurationSaveInfo";
@@ -1,14 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default as Container } from "./Container";
@@ -1,8 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default as Content } from "./Content";
@@ -1,31 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default as Flex } from "./Flex";
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { IconProps } from "./Icon.types";
3
- declare const _default: React.NamedExoticComponent<IconProps>;
4
- export default _default;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- export type IconsListProp = "empty" | "enter" | "home" | "go-right" | "spinner" | "trash";
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
- };
@@ -1,8 +0,0 @@
1
- declare const IconsList: {
2
- enter: string;
3
- home: string;
4
- "go-right": string;
5
- spinner: string;
6
- trash: string;
7
- };
8
- export default IconsList;
@@ -1 +0,0 @@
1
- export { default as Icon } from "./Icon";
@@ -1,13 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default as LabeledText } from "./LabeledText";
@@ -1,8 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default as Layout } from "./Layout";
@@ -1,7 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default as Logo } from "./Logo";
@@ -1,8 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default as ProductPageTitle } from "./ProductPageTitle";
@@ -1,10 +0,0 @@
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
- };
9
- declare const ProductShortcut: React.FC<ProductShortcutProps>;
10
- export default ProductShortcut;
@@ -1 +0,0 @@
1
- export { default as ProductShortcut } from "./ProductShortcut";
@@ -1,13 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default as SegmentedTabs } from "./SegmentedTabs";
@@ -1,19 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default as Sidebar } from "./Sidebar";
@@ -1,10 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default as SidebarItem } from "./SidebarItem";
@@ -1,11 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default as Tab } from "./Tab";
@@ -1,17 +0,0 @@
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";