@juspay/blend-design-system 0.0.5 → 0.0.6

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 +1 @@
1
- .gradient-blur{position:absolute;z-index:2;top:0;right:0;bottom:0;left:0}.gradient-blur>div,.gradient-blur:before,.gradient-blur:after{position:absolute;top:0;right:0;bottom:0;left:0}.gradient-blur:before{content:"";z-index:30;-webkit-backdrop-filter:blur(.5px);backdrop-filter:blur(.5px);mask:linear-gradient(to top,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 12.5%,rgba(0,0,0,1) 25%,rgba(0,0,0,0) 37.5%)}.gradient-blur>div:nth-of-type(1){z-index:32;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);mask:linear-gradient(to top,rgba(0,0,0,0) 12.5%,rgba(0,0,0,1) 25%,rgba(0,0,0,1) 37.5%,rgba(0,0,0,0) 50%)}.gradient-blur>div:nth-of-type(2){z-index:33;-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px);mask:linear-gradient(to top,rgba(0,0,0,0) 25%,rgba(0,0,0,1) 37.5%,rgba(0,0,0,1) 50%,rgba(0,0,0,0) 62.5%)}.gradient-blur>div:nth-of-type(3){z-index:34;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);mask:linear-gradient(to top,rgba(0,0,0,0) 37.5%,rgba(0,0,0,1) 50%,rgba(0,0,0,1) 62.5%,rgba(0,0,0,0) 75%)}.gradient-blur>div:nth-of-type(4){z-index:35;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);mask:linear-gradient(to top,rgba(0,0,0,0) 50%,rgba(0,0,0,1) 62.5%,rgba(0,0,0,1) 75%,rgba(0,0,0,0) 87.5%)}.gradient-blur>div:nth-of-type(5){z-index:36;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);mask:linear-gradient(to top,rgba(0,0,0,0) 62.5%,rgba(0,0,0,1) 75%,rgba(0,0,0,1) 87.5%,rgba(0,0,0,0) 100%)}.gradient-blur>div:nth-of-type(6){z-index:37;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);mask:linear-gradient(to top,rgba(0,0,0,0) 75%,rgba(0,0,0,1) 87.5%,rgba(0,0,0,1) 100%)}.gradient-blur:after{content:"";z-index:38;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);mask:linear-gradient(to top,rgba(0,0,0,0) 87.5%,rgba(0,0,0,1) 100%)}
1
+ [data-vaul-drawer][data-vaul-drawer-direction=bottom]:after{display:none}.gradient-blur{position:absolute;z-index:2;top:0;right:0;bottom:0;left:0}.gradient-blur>div,.gradient-blur:before,.gradient-blur:after{position:absolute;top:0;right:0;bottom:0;left:0}.gradient-blur:before{content:"";z-index:30;-webkit-backdrop-filter:blur(.5px);backdrop-filter:blur(.5px);mask:linear-gradient(to top,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 12.5%,rgba(0,0,0,1) 25%,rgba(0,0,0,0) 37.5%)}.gradient-blur>div:nth-of-type(1){z-index:32;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);mask:linear-gradient(to top,rgba(0,0,0,0) 12.5%,rgba(0,0,0,1) 25%,rgba(0,0,0,1) 37.5%,rgba(0,0,0,0) 50%)}.gradient-blur>div:nth-of-type(2){z-index:33;-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px);mask:linear-gradient(to top,rgba(0,0,0,0) 25%,rgba(0,0,0,1) 37.5%,rgba(0,0,0,1) 50%,rgba(0,0,0,0) 62.5%)}.gradient-blur>div:nth-of-type(3){z-index:34;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);mask:linear-gradient(to top,rgba(0,0,0,0) 37.5%,rgba(0,0,0,1) 50%,rgba(0,0,0,1) 62.5%,rgba(0,0,0,0) 75%)}.gradient-blur>div:nth-of-type(4){z-index:35;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);mask:linear-gradient(to top,rgba(0,0,0,0) 50%,rgba(0,0,0,1) 62.5%,rgba(0,0,0,1) 75%,rgba(0,0,0,0) 87.5%)}.gradient-blur>div:nth-of-type(5){z-index:36;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);mask:linear-gradient(to top,rgba(0,0,0,0) 62.5%,rgba(0,0,0,1) 75%,rgba(0,0,0,1) 87.5%,rgba(0,0,0,0) 100%)}.gradient-blur>div:nth-of-type(6){z-index:37;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);mask:linear-gradient(to top,rgba(0,0,0,0) 75%,rgba(0,0,0,1) 87.5%,rgba(0,0,0,1) 100%)}.gradient-blur:after{content:"";z-index:38;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);mask:linear-gradient(to top,rgba(0,0,0,0) 87.5%,rgba(0,0,0,1) 100%)}
@@ -2,5 +2,8 @@ import { AccordionItemProps, AccordionType, AccordionChevronPosition } from './t
2
2
  declare const AccordionItem: import('react').ForwardRefExoticComponent<AccordionItemProps & {
3
3
  accordionType?: AccordionType;
4
4
  chevronPosition?: AccordionChevronPosition;
5
+ isFirst?: boolean;
6
+ isLast?: boolean;
7
+ isIntermediate?: boolean;
5
8
  } & import('react').RefAttributes<HTMLDivElement>>;
6
9
  export default AccordionItem;
@@ -1,6 +1,7 @@
1
1
  import { CSSObject } from 'styled-components';
2
2
  import { AccordionType } from './types';
3
3
  import { FoundationTokenType } from '../../tokens/theme.token';
4
+ import { BreakpointType } from '../../breakpoints/breakPoints';
4
5
  export type AccordionState = 'default' | 'hover' | 'active' | 'disabled' | 'open' | 'closed';
5
6
  export type AccordionTokenType = {
6
7
  gap: {
@@ -46,4 +47,7 @@ export type AccordionTokenType = {
46
47
  };
47
48
  };
48
49
  };
49
- export declare const getAccordionToken: (foundationToken: FoundationTokenType) => AccordionTokenType;
50
+ export type ResponsiveAccordionTokens = {
51
+ [key in keyof BreakpointType]: AccordionTokenType;
52
+ };
53
+ export declare const getAccordionToken: (foundationToken: FoundationTokenType) => ResponsiveAccordionTokens;
@@ -0,0 +1,25 @@
1
+ import { default as React } from 'react';
2
+ import { DateRange, DateRangePreset } from './types';
3
+ type MobileDrawerPresetsProps = {
4
+ drawerOpen: boolean;
5
+ setDrawerOpen: (open: boolean) => void;
6
+ renderTrigger: () => React.ReactNode;
7
+ showPresets: boolean;
8
+ availablePresets: DateRangePreset[];
9
+ activePreset: DateRangePreset;
10
+ selectedRange: DateRange;
11
+ startTime: string;
12
+ endTime: string;
13
+ dateFormat: string;
14
+ handlePresetSelect: (preset: DateRangePreset) => void;
15
+ handleStartTimeChange: (time: string) => void;
16
+ handleEndTimeChange: (time: string) => void;
17
+ setSelectedRange: (range: DateRange) => void;
18
+ setStartDate: (date: string) => void;
19
+ setEndDate: (date: string) => void;
20
+ handleCancel: () => void;
21
+ handleApply: () => void;
22
+ showCustomDropdownOnly?: boolean;
23
+ };
24
+ declare const MobileDrawerPresets: React.FC<MobileDrawerPresetsProps>;
25
+ export default MobileDrawerPresets;
@@ -47,6 +47,101 @@ export type CalendarTokenType = {
47
47
  '&[data-highlighted]': CSSObject;
48
48
  };
49
49
  };
50
+ mobileDrawer: {
51
+ picker: {
52
+ itemHeight: CSSObject['height'];
53
+ containerHeight: CSSObject['height'];
54
+ gradients: {
55
+ top: CSSObject['background'];
56
+ bottom: CSSObject['background'];
57
+ };
58
+ divider: {
59
+ width: CSSObject['width'];
60
+ height: CSSObject['height'];
61
+ strokeColor: CSSObject['color'];
62
+ strokeColorEnd: CSSObject['color'];
63
+ };
64
+ text: {
65
+ selected: {
66
+ fontSize: CSSObject['fontSize'];
67
+ fontWeight: CSSObject['fontWeight'];
68
+ color: CSSObject['color'];
69
+ opacity: CSSObject['opacity'];
70
+ };
71
+ unselected: {
72
+ fontSize: CSSObject['fontSize'];
73
+ fontWeight: CSSObject['fontWeight'];
74
+ color: CSSObject['color'];
75
+ opacity: CSSObject['opacity'];
76
+ };
77
+ };
78
+ timeInput: {
79
+ width: CSSObject['width'];
80
+ fontSize: CSSObject['fontSize'];
81
+ fontWeight: CSSObject['fontWeight'];
82
+ color: CSSObject['color'];
83
+ zIndex: CSSObject['zIndex'];
84
+ };
85
+ scrollArea: {
86
+ zIndex: CSSObject['zIndex'];
87
+ opacity: CSSObject['opacity'];
88
+ };
89
+ };
90
+ header: {
91
+ padding: CSSObject['padding'];
92
+ backgroundColor: CSSObject['backgroundColor'];
93
+ zIndex: CSSObject['zIndex'];
94
+ text: {
95
+ fontSize: CSSObject['fontSize'];
96
+ fontWeight: CSSObject['fontWeight'];
97
+ color: CSSObject['color'];
98
+ };
99
+ };
100
+ presetItem: {
101
+ padding: CSSObject['padding'];
102
+ borderBottom: CSSObject['borderBottom'];
103
+ text: {
104
+ active: {
105
+ fontWeight: CSSObject['fontWeight'];
106
+ color: CSSObject['color'];
107
+ };
108
+ inactive: {
109
+ fontWeight: CSSObject['fontWeight'];
110
+ color: CSSObject['color'];
111
+ };
112
+ };
113
+ icon: {
114
+ size: CSSObject['width'];
115
+ color: CSSObject['color'];
116
+ };
117
+ chevron: {
118
+ size: CSSObject['width'];
119
+ color: CSSObject['color'];
120
+ transition: CSSObject['transition'];
121
+ };
122
+ };
123
+ actionButtons: {
124
+ container: {
125
+ gap: CSSObject['gap'];
126
+ padding: CSSObject['padding'];
127
+ marginTop: CSSObject['marginTop'];
128
+ borderTop: CSSObject['borderTop'];
129
+ };
130
+ };
131
+ tabs: {
132
+ marginTop: CSSObject['marginTop'];
133
+ content: {
134
+ marginTop: CSSObject['marginTop'];
135
+ };
136
+ };
137
+ datePicker: {
138
+ marginTop: CSSObject['marginTop'];
139
+ container: {
140
+ padding: CSSObject['padding'];
141
+ gap: CSSObject['gap'];
142
+ };
143
+ };
144
+ };
50
145
  trigger: {
51
146
  height: CSSObject['height'];
52
147
  display: CSSObject['display'];
@@ -1,2 +1,3 @@
1
1
  export { default as DateRangePicker } from './DateRangePicker';
2
+ export { default as MobileDrawerPresets } from './MobileDrawerPresets';
2
3
  export * from './types';
@@ -35,4 +35,6 @@ export type DateRangePickerProps = {
35
35
  disableFutureDates?: boolean;
36
36
  disablePastDates?: boolean;
37
37
  triggerElement?: ReactNode;
38
+ useDrawerOnMobile?: boolean;
39
+ skipQuickFiltersOnMobile?: boolean;
38
40
  };
@@ -468,3 +468,69 @@ export declare const calculateDayCellProps: (date: Date, selectedRange: DateRang
468
468
  textColor: string | unknown;
469
469
  showTodayIndicator: boolean;
470
470
  };
471
+ /**
472
+ * Constants for mobile date picker
473
+ */
474
+ export declare const MOBILE_PICKER_CONSTANTS: {
475
+ readonly ITEM_HEIGHT: 44;
476
+ readonly VISIBLE_ITEMS: 3;
477
+ readonly SCROLL_DEBOUNCE: 50;
478
+ };
479
+ /**
480
+ * Validates time input - only allows numbers and colon
481
+ * @param input The input string to validate
482
+ * @returns True if input is valid
483
+ */
484
+ export declare const isValidTimeInput: (input: string) => boolean;
485
+ /**
486
+ * Formats time input as HH:MM
487
+ * @param input The input string to format
488
+ * @returns Formatted time string
489
+ */
490
+ export declare const formatTimeInput: (input: string) => string;
491
+ /**
492
+ * Generates picker data for date/time selection
493
+ * @param tabType Whether this is for start or end date
494
+ * @param selectedRange Current selected date range
495
+ * @param startTime Current start time
496
+ * @param endTime Current end time
497
+ * @returns Object with picker data for all columns
498
+ */
499
+ export declare const generatePickerData: (tabType: "start" | "end", selectedRange: DateRange, startTime: string, endTime: string) => {
500
+ years: {
501
+ items: number[];
502
+ selectedIndex: number;
503
+ };
504
+ months: {
505
+ items: string[];
506
+ selectedIndex: number;
507
+ };
508
+ dates: {
509
+ items: number[];
510
+ selectedIndex: number;
511
+ };
512
+ times: {
513
+ items: string[];
514
+ selectedIndex: number;
515
+ };
516
+ };
517
+ /**
518
+ * Creates selection handler for picker columns
519
+ * @param tabType Whether this is for start or end date
520
+ * @param type The type of selection (year, month, date, time)
521
+ * @param selectedRange Current selected range
522
+ * @param dateFormat Date format string
523
+ * @param handleStartTimeChange Start time change handler
524
+ * @param handleEndTimeChange End time change handler
525
+ * @param setSelectedRange Range setter function
526
+ * @param setStartDate Start date setter function
527
+ * @param setEndDate End date setter function
528
+ * @returns Selection handler function
529
+ */
530
+ export declare const createSelectionHandler: (tabType: "start" | "end", type: "year" | "month" | "date" | "time", selectedRange: DateRange, dateFormat: string, handleStartTimeChange: (time: string) => void, handleEndTimeChange: (time: string) => void, setSelectedRange: (range: DateRange) => void, setStartDate: (date: string) => void, setEndDate: (date: string) => void) => (index: number) => void;
531
+ /**
532
+ * Gets preset display label with custom mappings
533
+ * @param preset The preset to get label for
534
+ * @returns Display label for the preset
535
+ */
536
+ export declare const getPresetDisplayLabel: (preset: DateRangePreset) => string;
@@ -11,6 +11,7 @@ export declare const DrawerContent: React.ForwardRefExoticComponent<DrawerConten
11
11
  showHandle?: boolean;
12
12
  handle?: React.ReactNode;
13
13
  hasSnapPoints?: boolean;
14
+ contentDriven?: boolean;
14
15
  mobileOffset?: {
15
16
  top?: string;
16
17
  bottom?: string;
@@ -25,6 +26,7 @@ export declare const DrawerBody: React.ForwardRefExoticComponent<{
25
26
  children: React.ReactNode;
26
27
  className?: string;
27
28
  overflowY?: "auto" | "hidden" | "scroll" | "visible";
29
+ noPadding?: boolean;
28
30
  } & React.RefAttributes<HTMLDivElement>>;
29
31
  export declare const DrawerFooter: React.ForwardRefExoticComponent<DrawerFooterProps & React.RefAttributes<HTMLDivElement>>;
30
32
  export declare const DrawerClose: React.ForwardRefExoticComponent<DrawerCloseProps & React.RefAttributes<HTMLButtonElement>>;
@@ -43,8 +43,8 @@ export type DrawerTokensType = {
43
43
  body: {
44
44
  padding: CSSObject['padding'];
45
45
  backgroundColor: CSSObject['backgroundColor'];
46
- maxHeight: CSSObject['maxHeight'];
47
46
  overflowY: CSSObject['overflowY'];
47
+ borderRadius: CSSObject['borderRadius'];
48
48
  };
49
49
  footer: {
50
50
  padding: CSSObject['padding'];
@@ -1,10 +1,13 @@
1
1
  import { CSSObject } from 'styled-components';
2
2
  import { ThemeType } from '../../tokens';
3
3
  import { TabsVariant, TabsSize } from './types';
4
+ import { BreakpointType } from '../../breakpoints/breakPoints';
4
5
  export type TabsState = 'default' | 'hover' | 'active' | 'disabled';
5
6
  export type TabsTokensType = {
6
7
  gap: {
7
- [key in TabsVariant]: CSSObject['gap'];
8
+ [key in TabsSize]: {
9
+ [key in TabsVariant]: CSSObject['gap'];
10
+ };
8
11
  };
9
12
  list: {
10
13
  padding: {
@@ -25,7 +28,9 @@ export type TabsTokensType = {
25
28
  [key in TabsSize]: CSSObject['height'];
26
29
  };
27
30
  padding: {
28
- [key in TabsSize]: CSSObject['padding'];
31
+ [key in TabsVariant]: {
32
+ [key in TabsSize]: CSSObject['padding'];
33
+ };
29
34
  };
30
35
  fontSize: {
31
36
  [key in TabsSize]: CSSObject['fontSize'];
@@ -49,12 +54,16 @@ export type TabsTokensType = {
49
54
  borderRadius: {
50
55
  [key in TabsVariant]: CSSObject['borderRadius'];
51
56
  };
57
+ border: {
58
+ [key in TabsVariant]: CSSObject['border'];
59
+ };
52
60
  };
53
61
  underline: {
54
62
  height: CSSObject['height'];
55
63
  color: CSSObject['color'];
56
64
  };
57
65
  };
58
- export declare const getTabsTokens: (foundationToken: ThemeType) => TabsTokensType;
59
- declare const tabsTokens: TabsTokensType;
60
- export default tabsTokens;
66
+ export type ResponsiveTabsTokens = {
67
+ [key in keyof BreakpointType]: TabsTokensType;
68
+ };
69
+ export declare const getTabsTokens: (foundationToken: ThemeType) => ResponsiveTabsTokens;
@@ -3,7 +3,8 @@ import * as TabsPrimitive from '@radix-ui/react-tabs';
3
3
  export declare enum TabsVariant {
4
4
  BOXED = "boxed",
5
5
  FLOATING = "floating",
6
- UNDERLINE = "underline"
6
+ UNDERLINE = "underline",
7
+ PILLS = "pills"
7
8
  }
8
9
  export declare enum TabsSize {
9
10
  MD = "md",
@@ -13,7 +13,7 @@ import { ResponsiveUnitInputTokens } from '../components/Inputs/UnitInput/unitIn
13
13
  import { MultiValueInputTokensType } from '../components/Inputs/MultiValueInput/multiValueInput.tokens';
14
14
  import { ResponsiveDropdownInputTokens } from '../components/Inputs/DropdownInput/dropdownInput.tokens';
15
15
  import { ResponsiveCheckboxTokens } from '../components/Checkbox/checkbox.token';
16
- import { TabsTokensType } from '../components/Tabs/tabs.token';
16
+ import { ResponsiveTabsTokens } from '../components/Tabs/tabs.token';
17
17
  import { ResponsiveButtonTokens } from '../components/Button/button.tokens';
18
18
  import { ModalTokensType } from '../components/Modal/modal.tokens';
19
19
  import { ResponsiveBreadcrumbTokens } from '../components/Breadcrumb/breadcrumb.tokens';
@@ -22,7 +22,7 @@ import { ResponsiveMenuTokensType } from '../components/Menu/menu.tokens';
22
22
  import { ResponsiveMultiSelectTokens } from '../components/MultiSelect/multiSelect.tokens';
23
23
  import { TableTokenType } from '../components/DataTable/dataTable.tokens';
24
24
  import { CalendarTokenType } from '../components/DateRangePicker/dateRangePicker.tokens';
25
- import { AccordionTokenType } from '../components/Accordion/accordion.tokens';
25
+ import { ResponsiveAccordionTokens } from '../components/Accordion/accordion.tokens';
26
26
  import { StatCardTokenType } from '../components/StatCard/statcard.tokens';
27
27
  import { ProgressBarTokenType } from '../components/ProgressBar/progressbar.tokens';
28
28
  import { DrawerTokensType } from '../components/Drawer/drawer.tokens';
@@ -43,7 +43,7 @@ export type ComponentTokenType = {
43
43
  MULTI_VALUE_INPUT?: MultiValueInputTokensType;
44
44
  DROPDOWN_INPUT?: ResponsiveDropdownInputTokens;
45
45
  CHECKBOX?: ResponsiveCheckboxTokens;
46
- TABS?: TabsTokensType;
46
+ TABS?: ResponsiveTabsTokens;
47
47
  BUTTON?: ResponsiveButtonTokens;
48
48
  MODAL?: ModalTokensType;
49
49
  BREADCRUMB?: ResponsiveBreadcrumbTokens;
@@ -53,7 +53,7 @@ export type ComponentTokenType = {
53
53
  SINGLE_SELECT?: ResponsiveSingleSelectTokens;
54
54
  TABLE?: TableTokenType;
55
55
  CALENDAR?: CalendarTokenType;
56
- ACCORDION?: AccordionTokenType;
56
+ ACCORDION?: ResponsiveAccordionTokens;
57
57
  STAT_CARD?: StatCardTokenType;
58
58
  PROGRESS_BAR?: ProgressBarTokenType;
59
59
  DRAWER?: DrawerTokensType;
@@ -4,7 +4,7 @@ import { ResponsiveTagTokens } from '../components/Tags/tag.tokens';
4
4
  import { ResponsiveRadioTokens } from '../components/Radio/radio.token';
5
5
  import { ResponsiveSwitchTokens } from '../components/Switch/switch.token';
6
6
  import { ResponsiveCheckboxTokens } from '../components/Checkbox/checkbox.token';
7
- import { TabsTokensType } from '../components/Tabs/tabs.token';
7
+ import { ResponsiveTabsTokens } from '../components/Tabs/tabs.token';
8
8
  import { ComponentTokenType } from './ThemeContext';
9
9
  import { ResponsiveTextInputTokens } from '../components/Inputs/TextInput/textInput.tokens';
10
10
  import { ResponsiveNumberInputTokens } from '../components/Inputs/NumberInput/numberInput.tokens';
@@ -22,9 +22,9 @@ import { ResponsiveMenuTokensType } from '../components/Menu/menu.tokens';
22
22
  import { ResponsiveMultiSelectTokens } from '../components/MultiSelect/multiSelect.tokens';
23
23
  import { TableTokenType } from '../components/DataTable/dataTable.tokens';
24
24
  import { CalendarTokenType } from '../components/DateRangePicker/dateRangePicker.tokens';
25
- import { AccordionTokenType } from '../components/Accordion/accordion.tokens';
25
+ import { ResponsiveAccordionTokens } from '../components/Accordion/accordion.tokens';
26
26
  import { StatCardTokenType } 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
- export declare const useComponentToken: (component: keyof ComponentTokenType) => SearchInputTokensType | ResponsiveTagTokens | ResponsiveTextAreaTokens | ResponsiveTextInputTokens | ResponsiveNumberInputTokens | ResponsiveAlertTokens | ResponsiveRadioTokens | OTPInputTokensType | ResponsiveUnitInputTokens | MultiValueInputTokensType | ResponsiveSwitchTokens | ResponsiveCheckboxTokens | TabsTokensType | TooltipTokensType | ResponsiveDropdownInputTokens | ResponsiveButtonTokens | ModalTokensType | ResponsiveBreadcrumbTokens | PopoverTokenType | ResponsiveMenuTokensType | ResponsiveMultiSelectTokens | ResponsiveSingleSelectTokens | TableTokenType | CalendarTokenType | AccordionTokenType | StatCardTokenType | ProgressBarTokenType | DrawerTokensType;
30
+ 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 | StatCardTokenType | ProgressBarTokenType | DrawerTokensType;