stp-ui-kit 0.0.88 → 0.0.90

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.
@@ -1,10 +1,12 @@
1
1
  import { default as React } from 'react';
2
- type IconType = React.FC<React.SVGProps<SVGSVGElement>> | React.ReactElement<React.SVGProps<SVGSVGElement>>;
2
+ export type IconDecorativeColors = "neutral" | "blue" | "violet" | "green" | "indigo" | "fuchsia" | "red" | "amber" | "lime" | "teal";
3
+ export type IconType = React.FC<React.SVGProps<SVGSVGElement>> | React.ReactElement<React.SVGProps<SVGSVGElement>>;
3
4
  interface IconProps extends React.SVGAttributes<SVGElement> {
4
5
  icon: IconType;
5
6
  size?: number | string;
6
7
  strokeWidth?: number;
7
8
  className?: string;
9
+ color?: IconDecorativeColors;
8
10
  }
9
- export declare const Icon: ({ icon, size, strokeWidth, className, ...rest }: IconProps) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const Icon: ({ icon, size, strokeWidth, className, color, ...rest }: IconProps) => import("react/jsx-runtime").JSX.Element;
10
12
  export {};
@@ -0,0 +1,4 @@
1
+ import { HTMLAttributes, PropsWithChildren } from 'react';
2
+ type ButtonGroupProps = PropsWithChildren<HTMLAttributes<HTMLDivElement>>;
3
+ export declare const ButtonGroup: ({ children, ...rest }: ButtonGroupProps) => import("react/jsx-runtime").JSX.Element;
4
+ export {};
@@ -1,2 +1,2 @@
1
- import { PropsWithChildren } from 'react';
2
- export declare const Page: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
1
+ import { HTMLAttributes, PropsWithChildren } from 'react';
2
+ export declare const Page: ({ children, ...rest }: PropsWithChildren<HTMLAttributes<HTMLDivElement>>) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { PropsWithChildren } from 'react';
2
- export declare const Section: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
1
+ import { HTMLAttributes, PropsWithChildren } from 'react';
2
+ export declare const Section: ({ children, ...rest }: PropsWithChildren<HTMLAttributes<HTMLDivElement>>) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { PropsWithChildren } from 'react';
2
- export declare const SectionWrapper: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element;
1
+ import { HTMLAttributes, PropsWithChildren } from 'react';
2
+ export declare const SectionWrapper: ({ children, ...rest }: PropsWithChildren<HTMLAttributes<HTMLDivElement>>) => import("react/jsx-runtime").JSX.Element;
@@ -6,3 +6,4 @@ export * from './TopBar/TopBar';
6
6
  export * from './Page/Page';
7
7
  export * from './Section/Section';
8
8
  export * from './SectionWrapper/SectionWrapper';
9
+ export * from './ButtonGroup/ButtonGroup';
package/dist/index.d.ts CHANGED
@@ -1,2 +1 @@
1
1
  export * from './components';
2
- export * from './assets';