stp-ui-kit 0.0.84 → 0.0.86
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/assets/index.d.ts +3 -0
- package/dist/components/data/ProgressBarAlternative/ProgressBarAlternative.d.ts +2 -3
- package/dist/components/display/Chip/Chip.d.ts +2 -3
- package/dist/components/feedback/Window/Window.d.ts +23 -0
- package/dist/components/feedback/Window/WindowApi.d.ts +7 -0
- package/dist/components/feedback/index.d.ts +2 -0
- package/dist/components/form/Checkbox/Checkbox.d.ts +2 -2
- package/dist/components/form/RadioButton/RadioButton.d.ts +2 -1
- package/dist/stp-ui-kit.es.js +1790 -1647
- package/dist/stp-ui-kit.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/assets/index.d.ts
CHANGED
|
@@ -6,3 +6,6 @@ export { default as Hourglass } from './icons/Hourglass.svg?react';
|
|
|
6
6
|
export { default as StarCircle } from './icons/StarCircle.svg?react';
|
|
7
7
|
export { default as StarFall } from './icons/StarFall.svg?react';
|
|
8
8
|
export { default as UserRounded } from './icons/UserRounded.svg?react';
|
|
9
|
+
export { default as CalendarMark } from './icons/CalendarMark.svg?react';
|
|
10
|
+
export { default as ChecklistMinimalistic } from './icons/ChecklistMinimalistic.svg?react';
|
|
11
|
+
export { default as ClockCircle } from './icons/ClockCircle.svg?react';
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
type ProgressColor = "blue" | "violet" | "fuchsia" | "lime" | "teal" | "indigo" | "red" | "amber" | "green";
|
|
3
|
-
interface ProgressBarAlternativeProps {
|
|
2
|
+
export type ProgressColor = "blue" | "violet" | "fuchsia" | "lime" | "teal" | "indigo" | "red" | "amber" | "green";
|
|
3
|
+
export interface ProgressBarAlternativeProps {
|
|
4
4
|
percent: number;
|
|
5
5
|
color?: ProgressColor;
|
|
6
6
|
className?: string;
|
|
7
7
|
}
|
|
8
8
|
export declare const ProgressBarAlternative: React.FC<ProgressBarAlternativeProps>;
|
|
9
|
-
export {};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
type ChipColor = "blue" | "violet" | "fuchsia" | "lime" | "teal" | "indigo" | "red" | "amber" | "green";
|
|
3
|
-
interface ChipProps {
|
|
2
|
+
export type ChipColor = "blue" | "violet" | "fuchsia" | "lime" | "teal" | "indigo" | "red" | "amber" | "green";
|
|
3
|
+
export interface ChipProps {
|
|
4
4
|
label: string;
|
|
5
5
|
icon?: ReactNode;
|
|
6
6
|
color?: ChipColor;
|
|
7
7
|
className?: string;
|
|
8
8
|
}
|
|
9
9
|
export declare const Chip: React.FC<ChipProps>;
|
|
10
|
-
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
import { ButtonProps } from '../..';
|
|
3
|
+
export interface WindowProps {
|
|
4
|
+
activator?: ReactNode;
|
|
5
|
+
open: boolean;
|
|
6
|
+
onClose?: () => void;
|
|
7
|
+
title: string;
|
|
8
|
+
primaryButtonProps?: ButtonProps;
|
|
9
|
+
secondaryButtonProps?: ButtonProps[];
|
|
10
|
+
tone?: "default" | "critical" | "warning";
|
|
11
|
+
children: ReactNode;
|
|
12
|
+
fullHeight?: boolean;
|
|
13
|
+
size?: "sm" | "lg" | "md";
|
|
14
|
+
}
|
|
15
|
+
interface SectionProps {
|
|
16
|
+
children: ReactNode;
|
|
17
|
+
}
|
|
18
|
+
declare const Section: ({ children }: SectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
interface WindowComponent extends React.FC<WindowProps> {
|
|
20
|
+
Section: typeof Section;
|
|
21
|
+
}
|
|
22
|
+
declare const Window: WindowComponent;
|
|
23
|
+
export { Window };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { WindowProps } from './Window';
|
|
2
|
+
export declare function showWindow(options: WindowProps): void;
|
|
3
|
+
export declare const WindowAPI: {
|
|
4
|
+
error: (opts: Omit<WindowProps, "tone" | "open">) => void;
|
|
5
|
+
warning: (opts: Omit<WindowProps, "tone" | "open">) => void;
|
|
6
|
+
info: (opts: Omit<WindowProps, "tone" | "open">) => void;
|
|
7
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
2
|
interface CheckboxProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
-
label?:
|
|
3
|
+
label?: ReactNode;
|
|
4
4
|
error?: string;
|
|
5
5
|
helperText?: string;
|
|
6
6
|
indeterminate?: boolean;
|