@juspay/blend-design-system 0.0.8 → 0.0.9-beta
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/components/Button/button.tokens.d.ts +0 -2
- package/dist/components/Inputs/DropdownInput/DropdownInput.d.ts +1 -1
- package/dist/components/Inputs/DropdownInput/types.d.ts +1 -0
- package/dist/components/Modal/types.d.ts +1 -0
- package/dist/components/MultiSelect/MultiSelect.d.ts +1 -1
- package/dist/components/MultiSelect/MultiSelectTrigger.d.ts +3 -1
- package/dist/components/MultiSelect/multiSelect.tokens.d.ts +1 -2
- package/dist/components/MultiSelect/types.d.ts +5 -0
- package/dist/components/SingleSelect/SingleSelect.d.ts +1 -1
- package/dist/components/SingleSelect/SingleSelectTrigger.d.ts +4 -1
- package/dist/components/SingleSelect/singleSelect.tokens.d.ts +1 -2
- package/dist/components/SingleSelect/types.d.ts +5 -0
- package/dist/components/Snackbar/Snackbar.d.ts +3 -1
- package/dist/components/Snackbar/snackbar.tokens.d.ts +43 -43
- package/dist/components/StatCard/StatCard.d.ts +1 -1
- package/dist/components/StatCard/statcard.tokens.d.ts +18 -13
- package/dist/components/StatCard/types.d.ts +2 -0
- package/dist/context/ThemeContext.d.ts +4 -2
- package/dist/context/useComponentToken.d.ts +3 -2
- package/dist/main.js +14852 -14432
- package/package.json +1 -1
|
@@ -53,9 +53,7 @@ export type ButtonTokensType = {
|
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
|
-
declare const buttonTokens: ButtonTokensType;
|
|
57
56
|
export type ResponsiveButtonTokens = {
|
|
58
57
|
[key in keyof BreakpointType]: ButtonTokensType;
|
|
59
58
|
};
|
|
60
59
|
export declare const getButtonTokens: (foundationToken: FoundationTokenType) => ResponsiveButtonTokens;
|
|
61
|
-
export default buttonTokens;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DropdownInputProps } from './types';
|
|
2
|
-
declare const DropdownInput: ({ label, sublabel, disabled, helpIconHintText, name, required, error, errorMessage, hintText, value, onChange, slot, size, placeholder, dropDownValue, onDropDownChange, dropDownItems, dropdownName, onDropdownOpen, onDropdownClose, onBlur, onFocus, ...rest }: DropdownInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const DropdownInput: ({ label, sublabel, disabled, helpIconHintText, name, required, error, errorMessage, hintText, value, onChange, slot, size, placeholder, dropDownValue, onDropDownChange, dropDownItems, dropdownName, onDropdownOpen, onDropdownClose, onBlur, onFocus, maxDropdownHeight, ...rest }: DropdownInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default DropdownInput;
|
|
@@ -30,4 +30,5 @@ export type DropdownInputProps = {
|
|
|
30
30
|
onDropdownClose?: () => void;
|
|
31
31
|
onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
32
32
|
onFocus?: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
33
|
+
maxDropdownHeight?: number;
|
|
33
34
|
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'style' | 'className' | 'onBlur' | 'onFocus'>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { MultiSelectProps } from './types';
|
|
2
|
-
declare const MultiSelect: ({ selectedValues, onChange, items, label, sublabel, disabled, helpIconHintText, name, required, variant, selectionTagType, slot, hintText, placeholder, size, enableSearch, searchPlaceholder, enableSelectAll, selectAllText, useDrawerOnMobile, minWidth, maxWidth, maxHeight, alignment, side, sideOffset, alignOffset, }: MultiSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const MultiSelect: ({ selectedValues, onChange, items, label, sublabel, disabled, helpIconHintText, name, required, variant, selectionTagType, slot, hintText, placeholder, size, enableSearch, searchPlaceholder, enableSelectAll, selectAllText, useDrawerOnMobile, minWidth, maxWidth, maxHeight, alignment, side, sideOffset, alignOffset, inline, onBlur, onFocus, error, errorMessage, }: MultiSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default MultiSelect;
|
|
@@ -17,6 +17,8 @@ export type MultiSelectTriggerProps = {
|
|
|
17
17
|
open: boolean;
|
|
18
18
|
onClick?: () => void;
|
|
19
19
|
multiSelectTokens: MultiSelectTokensType;
|
|
20
|
+
inline?: boolean;
|
|
21
|
+
error?: boolean;
|
|
20
22
|
};
|
|
21
|
-
declare const MultiSelectTrigger: ({ selectedValues, slot, variant, size, isSmallScreen, onChange, name, label, placeholder, required, selectionTagType, valueLabelMap, open, onClick, multiSelectTokens, }: MultiSelectTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
declare const MultiSelectTrigger: ({ selectedValues, slot, variant, size, isSmallScreen, onChange, name, label, placeholder, required, selectionTagType, valueLabelMap, open, onClick, multiSelectTokens, inline, error, }: MultiSelectTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
24
|
export default MultiSelectTrigger;
|
|
@@ -2,7 +2,7 @@ import { CSSObject } from 'styled-components';
|
|
|
2
2
|
import { MultiSelectMenuSize, MultiSelectSelectionTagType, MultiSelectVariant } from './types';
|
|
3
3
|
import { FoundationTokenType } from '../../tokens/theme.token';
|
|
4
4
|
import { BreakpointType } from '../../breakpoints/breakPoints';
|
|
5
|
-
type TriggerStates = 'open' | 'closed' | 'hover' | 'focus';
|
|
5
|
+
type TriggerStates = 'open' | 'closed' | 'hover' | 'focus' | 'error';
|
|
6
6
|
export type SingleSelectItemStates = 'default' | 'hover' | 'active' | 'focus' | 'focusVisible' | 'disabled' | 'selected';
|
|
7
7
|
export type MultiSelectTokensType = {
|
|
8
8
|
trigger: {
|
|
@@ -80,6 +80,5 @@ export type MultiSelectTokensType = {
|
|
|
80
80
|
export type ResponsiveMultiSelectTokens = {
|
|
81
81
|
[key in keyof BreakpointType]: MultiSelectTokensType;
|
|
82
82
|
};
|
|
83
|
-
export declare const multiSelectTokens: MultiSelectTokensType;
|
|
84
83
|
export declare const getMultiSelectTokens: (foundationToken: FoundationTokenType) => ResponsiveMultiSelectTokens;
|
|
85
84
|
export {};
|
|
@@ -69,6 +69,11 @@ export type MultiSelectProps = {
|
|
|
69
69
|
side?: MultiSelectMenuSide;
|
|
70
70
|
sideOffset?: number;
|
|
71
71
|
alignOffset?: number;
|
|
72
|
+
inline?: boolean;
|
|
73
|
+
onBlur?: () => void;
|
|
74
|
+
onFocus?: () => void;
|
|
75
|
+
error?: boolean;
|
|
76
|
+
errorMessage?: string;
|
|
72
77
|
};
|
|
73
78
|
export type MultiSelectMenuProps = {
|
|
74
79
|
items: MultiSelectMenuGroupType[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SingleSelectProps } from './types';
|
|
2
|
-
declare const SingleSelect: ({ label, subLabel, hintText, required, helpIconText, placeholder, size, items, name, variant, disabled, selected, onSelect, enableSearch, slot, useDrawerOnMobile, alignment, side, sideOffset, alignOffset, minWidth, maxWidth, maxHeight, }: SingleSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const SingleSelect: ({ label, subLabel, hintText, required, helpIconText, placeholder, error, errorMessage, size, items, name, variant, disabled, selected, onSelect, enableSearch, slot, useDrawerOnMobile, alignment, side, sideOffset, alignOffset, minWidth, maxWidth, maxHeight, onBlur, onFocus, inline, }: SingleSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default SingleSelect;
|
|
@@ -16,6 +16,9 @@ export type SingleSelectTriggerProps = {
|
|
|
16
16
|
isSmallScreenWithLargeSize: boolean;
|
|
17
17
|
isItemSelected: boolean;
|
|
18
18
|
singleSelectTokens: SingleSelectTokensType;
|
|
19
|
+
inline?: boolean;
|
|
20
|
+
error?: boolean;
|
|
21
|
+
errorMessage?: string;
|
|
19
22
|
};
|
|
20
|
-
declare const SingleSelectTrigger: ({ size, selected, label, name, placeholder, required, valueLabelMap, open, onClick, slot, variant, isSmallScreenWithLargeSize, isItemSelected, singleSelectTokens, }: SingleSelectTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
declare const SingleSelectTrigger: ({ size, selected, label, name, placeholder, required, valueLabelMap, open, onClick, slot, variant, isSmallScreenWithLargeSize, isItemSelected, singleSelectTokens, inline, error, }: SingleSelectTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
24
|
export default SingleSelectTrigger;
|
|
@@ -2,7 +2,7 @@ import { CSSObject } from 'styled-components';
|
|
|
2
2
|
import { SelectMenuSize, SelectMenuVariant } from './types';
|
|
3
3
|
import { FoundationTokenType } from '../../tokens/theme.token';
|
|
4
4
|
import { BreakpointType } from '../../breakpoints/breakPoints';
|
|
5
|
-
type TriggerStates = 'open' | 'closed' | 'hover' | 'focus';
|
|
5
|
+
type TriggerStates = 'open' | 'closed' | 'hover' | 'focus' | 'error';
|
|
6
6
|
export type SingleSelectItemStates = 'default' | 'hover' | 'active' | 'focus' | 'focusVisible' | 'disabled' | 'selected';
|
|
7
7
|
export type SingleSelectTokensType = {
|
|
8
8
|
trigger: {
|
|
@@ -71,6 +71,5 @@ export type SingleSelectTokensType = {
|
|
|
71
71
|
export type ResponsiveSingleSelectTokens = {
|
|
72
72
|
[key in keyof BreakpointType]: SingleSelectTokensType;
|
|
73
73
|
};
|
|
74
|
-
export declare const singleSelectTokens: SingleSelectTokensType;
|
|
75
74
|
export declare const getSingleSelectTokens: (foundationToken: FoundationTokenType) => ResponsiveSingleSelectTokens;
|
|
76
75
|
export {};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { Toaster as Snackbar } from 'sonner';
|
|
2
|
-
import { AddToastOptions } from './types';
|
|
3
|
+
import { AddToastOptions, CustomToastProps } from './types';
|
|
4
|
+
export declare const StyledToast: React.FC<CustomToastProps>;
|
|
3
5
|
export declare const addSnackbar: ({ header, description, variant, onClose, actionButton, }: AddToastOptions) => string | number;
|
|
4
6
|
export default Snackbar;
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import { CSSObject } from 'styled-components';
|
|
2
|
-
import {
|
|
2
|
+
import { BreakpointType } from '../../breakpoints/breakPoints';
|
|
3
|
+
import { FoundationTokenType } from '../../tokens/theme.token';
|
|
4
|
+
import { SnackbarVariant } from './types';
|
|
3
5
|
export type SnackbarTokens = Readonly<{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
6
|
+
backgroundColor: CSSObject['backgroundColor'];
|
|
7
|
+
borderRadius: CSSObject['borderRadius'];
|
|
8
|
+
padding: CSSObject['padding'];
|
|
9
|
+
minWidth: CSSObject['minWidth'];
|
|
10
|
+
maxWidth: CSSObject['maxWidth'];
|
|
11
|
+
boxShadow: CSSObject['boxShadow'];
|
|
12
|
+
gap: CSSObject['gap'];
|
|
12
13
|
container: {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
};
|
|
20
|
-
header: {
|
|
21
|
-
layout: {
|
|
22
|
-
gap: CSSObject['gap'];
|
|
23
|
-
marginBottom: CSSObject['marginBottom'];
|
|
24
|
-
iconGap: CSSObject['gap'];
|
|
25
|
-
};
|
|
26
|
-
text: {
|
|
27
|
-
color: CSSObject['color'];
|
|
28
|
-
variant: VariantType;
|
|
14
|
+
gap: CSSObject['gap'];
|
|
15
|
+
infoIcon: {
|
|
16
|
+
[key in SnackbarVariant]: {
|
|
17
|
+
color: CSSObject['color'];
|
|
18
|
+
size: CSSObject['size'];
|
|
19
|
+
};
|
|
29
20
|
};
|
|
30
|
-
|
|
31
|
-
description: {
|
|
32
|
-
layout: {
|
|
33
|
-
paddingLeft: CSSObject['paddingLeft'];
|
|
21
|
+
content: {
|
|
34
22
|
gap: CSSObject['gap'];
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
23
|
+
textContainer: {
|
|
24
|
+
gap: CSSObject['gap'];
|
|
25
|
+
header: {
|
|
26
|
+
color: CSSObject['color'];
|
|
27
|
+
fontSize: CSSObject['fontSize'];
|
|
28
|
+
fontWeight: CSSObject['fontWeight'];
|
|
29
|
+
};
|
|
30
|
+
description: {
|
|
31
|
+
color: CSSObject['color'];
|
|
32
|
+
fontSize: CSSObject['fontSize'];
|
|
33
|
+
fontWeight: CSSObject['fontWeight'];
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
actionButton: {
|
|
37
|
+
padding: CSSObject['padding'];
|
|
38
|
+
color: CSSObject['color'];
|
|
39
|
+
fontSize: CSSObject['fontSize'];
|
|
40
|
+
fontWeight: CSSObject['fontWeight'];
|
|
41
|
+
};
|
|
39
42
|
};
|
|
40
43
|
};
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
};
|
|
45
|
-
text: {
|
|
46
|
-
color: CSSObject['color'];
|
|
47
|
-
variant: VariantType;
|
|
48
|
-
};
|
|
44
|
+
crossIcon: {
|
|
45
|
+
size: CSSObject['fontSize'];
|
|
46
|
+
color: CSSObject['color'];
|
|
49
47
|
};
|
|
50
48
|
}>;
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
export type ResponsiveSnackbarTokens = {
|
|
50
|
+
[key in keyof BreakpointType]: SnackbarTokens;
|
|
51
|
+
};
|
|
52
|
+
export declare const getSnackbarTokens: (foundationToken: FoundationTokenType) => ResponsiveSnackbarTokens;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StatCardProps } from './types';
|
|
2
2
|
declare const StatCard: {
|
|
3
|
-
({ title, value, change, subtitle, variant, chartData, progressValue, titleIcon, actionIcon, helpIconText, }: StatCardProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
({ title, value, change, subtitle, variant, chartData, progressValue, titleIcon, actionIcon, helpIconText, dropdownProps, }: StatCardProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
export default StatCard;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { CSSObject } from 'styled-components';
|
|
2
|
-
import { StatCardVariant } from './types';
|
|
2
|
+
import { ChangeType, StatCardVariant } from './types';
|
|
3
3
|
import { FoundationTokenType } from '../../tokens/theme.token';
|
|
4
|
+
import { BreakpointType } from '../../breakpoints/breakPoints';
|
|
4
5
|
export type StatCardState = 'default' | 'hover' | 'loading';
|
|
5
6
|
export type StatCardTokenType = {
|
|
6
7
|
height: CSSObject['height'];
|
|
8
|
+
maxWidth: CSSObject['maxWidth'];
|
|
7
9
|
border: {
|
|
8
10
|
[key in StatCardState]?: CSSObject['border'];
|
|
9
11
|
};
|
|
@@ -19,7 +21,7 @@ export type StatCardTokenType = {
|
|
|
19
21
|
titleIcon: {
|
|
20
22
|
width: CSSObject['width'];
|
|
21
23
|
height: CSSObject['height'];
|
|
22
|
-
|
|
24
|
+
margin: CSSObject['margin'];
|
|
23
25
|
};
|
|
24
26
|
title: {
|
|
25
27
|
[key in StatCardVariant]: {
|
|
@@ -47,19 +49,16 @@ export type StatCardTokenType = {
|
|
|
47
49
|
};
|
|
48
50
|
};
|
|
49
51
|
change: {
|
|
50
|
-
|
|
52
|
+
margin: CSSObject['margin'];
|
|
51
53
|
arrow: {
|
|
52
54
|
width: CSSObject['width'];
|
|
53
55
|
height: CSSObject['height'];
|
|
54
|
-
|
|
56
|
+
margin: CSSObject['margin'];
|
|
55
57
|
};
|
|
56
58
|
text: {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
color: CSSObject['color'];
|
|
61
|
-
};
|
|
62
|
-
decrease: {
|
|
59
|
+
[key in ChangeType]: {
|
|
60
|
+
fontSize: CSSObject['fontSize'];
|
|
61
|
+
fontWeight: CSSObject['fontWeight'];
|
|
63
62
|
color: CSSObject['color'];
|
|
64
63
|
};
|
|
65
64
|
};
|
|
@@ -92,12 +91,15 @@ export type StatCardTokenType = {
|
|
|
92
91
|
line: {
|
|
93
92
|
strokeWidth: CSSObject['strokeWidth'];
|
|
94
93
|
activeDot: {
|
|
95
|
-
|
|
94
|
+
borderRadius: CSSObject['borderRadius'];
|
|
96
95
|
fill: CSSObject['fill'];
|
|
97
96
|
};
|
|
98
97
|
};
|
|
99
98
|
bar: {
|
|
100
|
-
|
|
99
|
+
borderTopRightRadius: CSSObject['borderTopRightRadius'];
|
|
100
|
+
borderTopLeftRadius: CSSObject['borderTopLeftRadius'];
|
|
101
|
+
borderBottomRightRadius: CSSObject['borderBottomRightRadius'];
|
|
102
|
+
borderBottomLeftRadius: CSSObject['borderBottomLeftRadius'];
|
|
101
103
|
fill: CSSObject['fill'];
|
|
102
104
|
activeBar: {
|
|
103
105
|
fill: CSSObject['fill'];
|
|
@@ -142,4 +144,7 @@ export type StatCardTokenType = {
|
|
|
142
144
|
};
|
|
143
145
|
};
|
|
144
146
|
};
|
|
145
|
-
export
|
|
147
|
+
export type ResponsiveStatCardTokens = {
|
|
148
|
+
[key in keyof BreakpointType]: StatCardTokenType;
|
|
149
|
+
};
|
|
150
|
+
export declare const getStatCardToken: (foundationToken: FoundationTokenType) => ResponsiveStatCardTokens;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { SingleSelectProps } from '../SingleSelect';
|
|
2
3
|
export declare enum StatCardVariant {
|
|
3
4
|
LINE = "line",
|
|
4
5
|
PROGRESS_BAR = "progress",
|
|
@@ -29,4 +30,5 @@ export type StatCardProps = {
|
|
|
29
30
|
titleIcon?: ReactNode;
|
|
30
31
|
actionIcon?: ReactNode;
|
|
31
32
|
helpIconText?: string;
|
|
33
|
+
dropdownProps?: SingleSelectProps;
|
|
32
34
|
};
|
|
@@ -23,12 +23,13 @@ import { ResponsiveMultiSelectTokens } from '../components/MultiSelect/multiSele
|
|
|
23
23
|
import { TableTokenType } from '../components/DataTable/dataTable.tokens';
|
|
24
24
|
import { CalendarTokenType } from '../components/DateRangePicker/dateRangePicker.tokens';
|
|
25
25
|
import { ResponsiveAccordionTokens } from '../components/Accordion/accordion.tokens';
|
|
26
|
-
import {
|
|
26
|
+
import { ResponsiveStatCardTokens } from '../components/StatCard/statcard.tokens';
|
|
27
27
|
import { ProgressBarTokenType } from '../components/ProgressBar/progressbar.tokens';
|
|
28
28
|
import { DrawerTokensType } from '../components/Drawer/drawer.tokens';
|
|
29
29
|
import { BreakpointType } from '../breakpoints/breakPoints';
|
|
30
30
|
import { ResponsiveSingleSelectTokens } from '../components/SingleSelect/singleSelect.tokens';
|
|
31
31
|
import { ResponsiveChartTokens } from '../components/Charts/chart.tokens';
|
|
32
|
+
import { ResponsiveSnackbarTokens } from '../components/Snackbar/snackbar.tokens';
|
|
32
33
|
export type ComponentTokenType = {
|
|
33
34
|
TAGS?: ResponsiveTagTokens;
|
|
34
35
|
SEARCH_INPUT?: SearchInputTokensType;
|
|
@@ -55,10 +56,11 @@ export type ComponentTokenType = {
|
|
|
55
56
|
TABLE?: TableTokenType;
|
|
56
57
|
CALENDAR?: CalendarTokenType;
|
|
57
58
|
ACCORDION?: ResponsiveAccordionTokens;
|
|
58
|
-
STAT_CARD?:
|
|
59
|
+
STAT_CARD?: ResponsiveStatCardTokens;
|
|
59
60
|
PROGRESS_BAR?: ProgressBarTokenType;
|
|
60
61
|
DRAWER?: DrawerTokensType;
|
|
61
62
|
CHARTS?: ResponsiveChartTokens;
|
|
63
|
+
SNACKBAR?: ResponsiveSnackbarTokens;
|
|
62
64
|
};
|
|
63
65
|
type ThemeContextType = {
|
|
64
66
|
foundationTokens: ThemeType;
|
|
@@ -23,9 +23,10 @@ import { ResponsiveMultiSelectTokens } from '../components/MultiSelect/multiSele
|
|
|
23
23
|
import { TableTokenType } from '../components/DataTable/dataTable.tokens';
|
|
24
24
|
import { CalendarTokenType } from '../components/DateRangePicker/dateRangePicker.tokens';
|
|
25
25
|
import { ResponsiveAccordionTokens } from '../components/Accordion/accordion.tokens';
|
|
26
|
-
import {
|
|
26
|
+
import { ResponsiveStatCardTokens } from '../components/StatCard/statcard.tokens';
|
|
27
27
|
import { ProgressBarTokenType } from '../components/ProgressBar/progressbar.tokens';
|
|
28
28
|
import { DrawerTokensType } from '../components/Drawer/drawer.tokens';
|
|
29
29
|
import { ResponsiveSingleSelectTokens } from '../components/SingleSelect/singleSelect.tokens';
|
|
30
30
|
import { ResponsiveChartTokens } from '../components/Charts/chart.tokens';
|
|
31
|
-
|
|
31
|
+
import { ResponsiveSnackbarTokens } from '../components/Snackbar/snackbar.tokens';
|
|
32
|
+
export declare const useComponentToken: (component: keyof ComponentTokenType) => SearchInputTokensType | ResponsiveTagTokens | ResponsiveTextAreaTokens | ResponsiveTextInputTokens | ResponsiveNumberInputTokens | ResponsiveAlertTokens | ResponsiveRadioTokens | OTPInputTokensType | ResponsiveUnitInputTokens | MultiValueInputTokensType | ResponsiveSwitchTokens | ResponsiveCheckboxTokens | ResponsiveTabsTokens | TooltipTokensType | ResponsiveDropdownInputTokens | ResponsiveButtonTokens | ModalTokensType | ResponsiveBreadcrumbTokens | PopoverTokenType | ResponsiveMenuTokensType | ResponsiveMultiSelectTokens | ResponsiveSingleSelectTokens | TableTokenType | CalendarTokenType | ResponsiveAccordionTokens | ResponsiveStatCardTokens | ProgressBarTokenType | DrawerTokensType | ResponsiveChartTokens | ResponsiveSnackbarTokens;
|