@idbrnd/design-system 1.1.1 → 1.2.0

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.
@@ -0,0 +1,15 @@
1
+ import type { CSSProperties, ReactNode } from "react";
2
+ export type ContentBadgeVariant = "basic" | "primary";
3
+ export type ContentBadgeSize = "default" | "compact" | "compact-small";
4
+ export interface ContentBadgeProps {
5
+ variant?: ContentBadgeVariant;
6
+ size?: ContentBadgeSize;
7
+ contentColor?: string;
8
+ backgroundColor?: string;
9
+ borderColor?: string;
10
+ customStyle?: CSSProperties;
11
+ className?: string;
12
+ children?: ReactNode;
13
+ }
14
+ declare function ContentBadge({ variant, size, contentColor, backgroundColor, borderColor, customStyle, className, children, }: ContentBadgeProps): import("react/jsx-runtime").JSX.Element;
15
+ export default ContentBadge;
@@ -0,0 +1,13 @@
1
+ import type { CSSProperties, ReactNode } from "react";
2
+ export type StateBadgeVariant = "basic" | "error" | "success" | "info" | "warning";
3
+ export type StateBadgeSize = "default" | "compact";
4
+ export interface StateBadgeProps {
5
+ variant?: StateBadgeVariant;
6
+ size?: StateBadgeSize;
7
+ stateIcon?: boolean;
8
+ customStyle?: CSSProperties;
9
+ className?: string;
10
+ children?: ReactNode;
11
+ }
12
+ declare function StateBadge({ variant, size, stateIcon, customStyle, className, children, }: StateBadgeProps): import("react/jsx-runtime").JSX.Element;
13
+ export default StateBadge;
package/dist/index.d.ts CHANGED
@@ -1,34 +1,38 @@
1
1
  import "./styles/variables.css";
2
2
  import "./styles/font-metrics.css";
3
- export { default as BasicIconButton } from "./components/Button/BasicIcon/BasicIconButton";
4
3
  export { default as FillButton } from "./components/Button/Fill/FillButton";
5
- export { default as FillIconButton } from "./components/Button/FillIcon/FillIconButton";
6
- export { default as Input } from "./components/Input/Input";
7
4
  export { default as OutlineButton } from "./components/Button/Outline/OutlineButton";
8
- export { default as OutlineIconButton } from "./components/Button/OutlineIcon/OutlineIconButton";
9
- export { default as PushBadge } from "./components/Feedback/PushBadge/PushBadge";
10
- export { default as SearchBar } from "./components/SearchBar/SearchBar";
11
- export { dismissSnackbar, showSnackbar } from "./components/Feedback/Snackbar/Snackbar";
12
- export { default as Spinner, Clip, CustomSpinner, FadeSpinner, } from "./components/Spinner/Spinner";
13
- export { dismissToast, showToast } from "./components/Feedback/Toast/Toast";
14
5
  export { default as TextButton } from "./components/Button/Text/TextButton";
15
6
  export { default as WeakButton } from "./components/Button/Weak/WeakButton";
16
- export { default as CheckBox } from "./components/Control/CheckBox/CheckBox";
17
- export { default as Radio } from "./components/Control/Radio/Radio";
18
- export { default as ToggleSwitch } from "./components/Control/ToggleSwitch/ToggleSwitch";
19
- export type { BasicIconButtonProps, BasicIconButtonSize, } from "./components/Button/BasicIcon/BasicIconButton";
20
7
  export type { FillButtonProps, FillButtonSize, FillButtonVariant, FillButtonWidthType, } from "./components/Button/Fill/FillButton";
21
- export type { FillIconButtonProps, FillIconButtonSize, FillIconButtonVariant, } from "./components/Button/FillIcon/FillIconButton";
22
- export type { InputProps, InputSize, DesignType, InputVariant, } from "./components/Input/Input";
23
- export type { PushBadgeProps, PushBadgeVariant, } from "./components/Feedback/PushBadge/PushBadge";
24
- export type { SearchBarProps, SearchBarSize, SearchBarVariant, } from "./components/SearchBar/SearchBar";
25
- export type { SnackbarShowOptions, SnackbarVariant, } from "./components/Feedback/Snackbar/Snackbar";
26
- export type { ClipProps, CustomSpinnerProps, FadeSpinnerProps, } from "./components/Spinner/Spinner";
27
- export type { ToastShowOptions, ToastVariant } from "./components/Feedback/Toast/Toast";
28
8
  export type { OutlineButtonProps, OutlineButtonSize, OutlineButtonVariant, OutlineButtonWidthType, } from "./components/Button/Outline/OutlineButton";
29
- export type { OutlineIconButtonProps, OutlineIconButtonSize, } from "./components/Button/OutlineIcon/OutlineIconButton";
30
9
  export type { TextButtonProps, TextButtonSize, TextButtonVariant, TextButtonWidthType, } from "./components/Button/Text/TextButton";
31
10
  export type { WeakButtonProps, WeakButtonSize, WeakButtonVariant, WeakButtonWidthType, } from "./components/Button/Weak/WeakButton";
11
+ export { default as BasicIconButton } from "./components/IconButton/BasicIcon/BasicIconButton";
12
+ export { default as FillIconButton } from "./components/IconButton/FillIcon/FillIconButton";
13
+ export { default as OutlineIconButton } from "./components/IconButton/OutlineIcon/OutlineIconButton";
14
+ export type { BasicIconButtonProps, BasicIconButtonSize, } from "./components/IconButton/BasicIcon/BasicIconButton";
15
+ export type { FillIconButtonProps, FillIconButtonSize, FillIconButtonVariant, } from "./components/IconButton/FillIcon/FillIconButton";
16
+ export type { OutlineIconButtonProps, OutlineIconButtonSize, } from "./components/IconButton/OutlineIcon/OutlineIconButton";
17
+ export { default as Input } from "./components/Input/Input";
18
+ export { default as SearchBar } from "./components/SearchBar/SearchBar";
19
+ export type { InputProps, InputSize, DesignType, InputVariant, } from "./components/Input/Input";
20
+ export type { SearchBarProps, SearchBarSize, SearchBarVariant, } from "./components/SearchBar/SearchBar";
21
+ export { default as CheckBox } from "./components/Control/CheckBox/CheckBox";
22
+ export { default as Radio } from "./components/Control/Radio/Radio";
23
+ export { default as ToggleSwitch } from "./components/Control/ToggleSwitch/ToggleSwitch";
32
24
  export type { CheckBoxProps, CheckBoxVariant, CheckBoxSize, CheckBoxDensity, } from "./components/Control/CheckBox/CheckBox";
33
25
  export type { RadioProps, RadioVariant, RadioSize, RadioDensity, } from "./components/Control/Radio/Radio";
34
26
  export type { ToggleSwitchProps, ToggleSwitchSize, } from "./components/Control/ToggleSwitch/ToggleSwitch";
27
+ export { default as PushBadge } from "./components/Feedback/PushBadge/PushBadge";
28
+ export { dismissToast, showToast } from "./components/Feedback/Toast/Toast";
29
+ export { dismissSnackbar, showSnackbar, } from "./components/Feedback/Snackbar/Snackbar";
30
+ export { default as Spinner, Clip, CustomSpinner, FadeSpinner, } from "./components/Spinner/Spinner";
31
+ export type { PushBadgeProps, PushBadgeVariant, } from "./components/Feedback/PushBadge/PushBadge";
32
+ export type { ToastShowOptions, ToastVariant, } from "./components/Feedback/Toast/Toast";
33
+ export type { SnackbarShowOptions, SnackbarVariant, } from "./components/Feedback/Snackbar/Snackbar";
34
+ export type { ClipProps, CustomSpinnerProps, FadeSpinnerProps, } from "./components/Spinner/Spinner";
35
+ export { default as ContentBadge } from "./components/Content/ContentBadge/ContentBadge";
36
+ export type { ContentBadgeProps, ContentBadgeVariant, ContentBadgeSize, } from "./components/Content/ContentBadge/ContentBadge";
37
+ export { default as StateBadge } from "./components/Content/StateBadge/StateBadge";
38
+ export type { StateBadgeProps, StateBadgeVariant, StateBadgeSize, } from "./components/Content/StateBadge/StateBadge";