ados-rcm 1.0.603 → 1.0.605

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- import { componentStyle, refinedDesignTokens } from './DevTokens';
1
+ import { refinedDesignTokens } from './RefinedDesignTokens';
2
2
  export type TTokens = typeof refinedDesignTokens;
3
3
  export type TDevTokens = typeof componentStyle;
4
4
  export type TPalette = (typeof refinedDesignTokens.palette)['mode-1'];
@@ -12,6 +12,12 @@ export type TPaletteKeys = (typeof paletteKeys)[number];
12
12
  * Description : get the current palette mode.
13
13
  */
14
14
  declare function getCurrentPaletteMode(): "mode-1";
15
+ /**
16
+ * getPaletteValue : (key: TPaletteKeys, mode: TPaletteModes) => string
17
+ *
18
+ * Description : get the shallow value of the palette key.
19
+ */
20
+ declare function getPaletteValue(key: TPaletteKeys, mode?: TPaletteModes): string;
15
21
  interface IPaletteModeChangeEvent {
16
22
  type: 'paletteModeChange';
17
23
  listener: (newPaletteMode: TPaletteModes) => void;
@@ -39,6 +45,12 @@ export type TSemanticKeys = (typeof semanticKeys)[number];
39
45
  * Description : get the current semantic mode.
40
46
  */
41
47
  declare function getCurrentSemanticMode(): "light" | "dark";
48
+ /**
49
+ * getSemanticValue : (key: TSemanticKeys, mode: TSemanticModes) => string
50
+ *
51
+ * Description : get the shallow value of the semantic key.
52
+ */
53
+ declare function getSemanticValue(key: TSemanticKeys, mode?: TSemanticModes): string;
42
54
  interface ISemanticModeChangeEvent {
43
55
  type: 'semanticModeChange';
44
56
  listener: (newSemanticMode: TSemanticModes) => void;
@@ -55,10 +67,241 @@ export declare function changeSemanticMode(mode: TSemanticModes): void;
55
67
  * Description : edit the color of the semantic. it will be applied immediately.
56
68
  */
57
69
  declare function editSemantic(semantic: Partial<TSemantic>, mode?: TSemanticModes | 'all'): void;
70
+ export declare const ABaseStyleKeys: readonly ["--ABase_Dimming_background-color"];
71
+ export type TABaseStyleKeys = (typeof ABaseStyleKeys)[number];
72
+ export declare const ATooltipStyleKeys: readonly ["--ATooltip_background-color", "--ATooltip_color"];
73
+ export type TATooltipStyleKeys = (typeof ATooltipStyleKeys)[number];
74
+ export declare const AButtonStyleKeys: readonly ["--AButton_Primary_border-color", "--AButton_Primary_background-color", "--AButton_Primary_color", "--AButton_Primary_hover_background-color", "--AButton_Primary_active_background-color", "--AButton_Secondary_border-color", "--AButton_Secondary_background-color", "--AButton_Secondary_color", "--AButton_Secondary_hover_background-color", "--AButton_Secondary_active_background-color"];
75
+ export type TAButtonStyleKeys = (typeof AButtonStyleKeys)[number];
76
+ export declare const AInputStyleKeys: readonly ["--AInput_Primary_background-color", "--AInput_Primary_border-color", "--AInput_Primary_color", "--AInput_Primary_hover_border-color", "--AInput_Primary_focus_background-color", "--AInput_Primary_focus_border-color", "--AInput_Secondary_background-color", "--AInput_Secondary_border-color", "--AInput_Secondary_color", "--AInput_Secondary_hover_border-color", "--AInput_Secondary_focus_border-color", "--AInput_ReadOnly_background-color", "--AInput_ReadOnly_border-color", "--AInput_ReadOnly_color", "--AInput_Error_HelperText_color", "--AInput_Error_background-color", "--AInput_Error_border-color", "--AInput_Error_color", "--AInput_Error_placeholder_color"];
77
+ export type TAInputStyleKeys = (typeof AInputStyleKeys)[number];
78
+ export declare const ATextAreaStyleKeys: readonly ["--ATextArea_Primary_background-color", "--ATextArea_Primary_border-color", "--ATextArea_Primary_color", "--ATextArea_Primary_hover_border-color", "--ATextArea_Primary_focus_background-color", "--ATextArea_Primary_focus_border-color", "--ATextArea_Secondary_background-color", "--ATextArea_Secondary_border-color", "--ATextArea_Secondary_color", "--ATextArea_Secondary_hover_border-color", "--ATextArea_Secondary_focus_border-color", "--ATextArea_ReadOnly_background-color", "--ATextArea_ReadOnly_border-color", "--ATextArea_ReadOnly_color", "--ATextArea_Error_background-color", "--ATextArea_Error_border-color", "--ATextArea_Error_color", "--ATextArea_Error_placeholder_color"];
79
+ export type TATextAreaStyleKeys = (typeof ATextAreaStyleKeys)[number];
80
+ export declare const ACheckBoxStyleKeys: readonly ["--ACheckBox_color"];
81
+ export type TACheckBoxStyleKeys = (typeof ACheckBoxStyleKeys)[number];
82
+ export declare const ADialogStyleKeys: readonly ["--ADialog_Paper_background-color", "--ADialog_background-color", "--ADialog_border-color", "--ADialog_Action_background-color"];
83
+ export type TADialogStyleKeys = (typeof ADialogStyleKeys)[number];
84
+ export declare const ASelectStyleKeys: readonly ["--ASelect_Primary_border-color", "--ASelect_Primary_hover_border-color", "--ASelect_Primary_Arrow_color", "--ASelect_Primary_Options_background-color", "--ASelect_Primary_Options_border-color", "--ASelect_Primary_Option_hover_background-color", "--ASelect_Primary_Option_active_background-color", "--ASelect_Primary_Option_Selected_background-color", "--ASelect_Secondary_background-color", "--ASelect_Secondary_Arrow_color", "--ASelect_Secondary_Options_background-color", "--ASelect_Secondary_Options_border-color", "--ASelect_Secondary_Option_hover_background-color", "--ASelect_Secondary_Option_active_background-color", "--ASelect_Secondary_Option_Selected_background-color"];
85
+ export type TASelectStyleKeys = (typeof ASelectStyleKeys)[number];
86
+ export declare const AMultiSelectStyleKeys: readonly ["--AMultiSelect_Primary_border-color", "--AMultiSelect_Primary_hover_border-color", "--AMultiSelect_Primary_Arrow_color", "--AMultiSelect_Primary_Options_background-color", "--AMultiSelect_Primary_Options_border-color", "--AMultiSelect_Primary_Option_hover_background-color", "--AMultiSelect_Primary_Option_active_background-color", "--AMultiSelect_Primary_Option_Selected_background-color", "--AMultiSelect_Secondary_background-color", "--AMultiSelect_Secondary_Arrow_color", "--AMultiSelect_Secondary_Options_background-color", "--AMultiSelect_Secondary_Options_border-color", "--AMultiSelect_Secondary_Option_hover_background-color", "--AMultiSelect_Secondary_Option_active_background-color", "--AMultiSelect_Secondary_Option_Selected_background-color"];
87
+ export type TAMultiSelectStyleKeys = (typeof AMultiSelectStyleKeys)[number];
88
+ export declare const ATreeStyleKeys: readonly ["--ATree_background-color", "--ATree_Indent_border-color", "--ATreeBodyHeader_border-bottom-color", "--ATreeItem_hover_background-color", "--ATreeItem_active_background-color", "--ATreeItem_select_background-color", "--ATreeItem_search_background-color", "--ATreeItem_search_border-top-color", "--ATreeItem_search_border-bottom-color", "--ATreeItem_select_color"];
89
+ export type TATreeStyleKeys = (typeof ATreeStyleKeys)[number];
90
+ export declare const ASwitchStyleKeys: readonly ["--ASwitch_Track_Falsy_border-color", "--ASwitch_Track_Truthy_border-color"];
91
+ export type TASwitchStyleKeys = (typeof ASwitchStyleKeys)[number];
92
+ export declare const ATabStyleKeys: readonly ["--ATab_IndicatorTrack_Primary_border-bottom-color", "--ATab_Indicator_Primary_background-color", "--ATab_Option_Secondary_border-color", "--ATab_Option_Secondary_IsSelected_border-bottom-color", "--ATab_Option_Secondary_IsDisabled_border-color"];
93
+ export type TATabStyleKeys = (typeof ATabStyleKeys)[number];
94
+ export declare const AFileBoxStyleKeys: readonly ["--AFileBox_border-color", "--AFileBox_background-color", "--AFileBox_SelectedFile_color", "--AFileBox_Dropping_color"];
95
+ export type TAFileBoxStyleKeys = (typeof AFileBoxStyleKeys)[number];
96
+ export declare const AListViewStyleKeys: readonly ["--AListView_border-top-color", "--AListView_Row_border-bottom-color", "--AListView_Label_border-left-color", "--AListView_Rendered_border-left-color"];
97
+ export type TAListViewStyleKeys = (typeof AListViewStyleKeys)[number];
98
+ export declare const AStepperStyleKeys: readonly ["--AStepper_OutCircle_background-color", "--AStepper_OutCircle_IsOver_background-color", "--AStepper_InCircle_background-color", "--AStepper_InCircle_IsOver_background-color", "--AStepper_Line_background-color", "--AStepper_Line_IsOver_background-color"];
99
+ export type TAStepperStyleKeys = (typeof AStepperStyleKeys)[number];
100
+ export declare const ADatePickerStyleKeys: readonly ["--ADatePicker_Anchor_border-color", "--ADatePicker_Anchor_color", "--ADatePicker_Anchor_hover_border-color", "--ADatePicker_Anchor_focus_border-color", "--ADatePicker_Anchor_Icon_Primary_color", "--ADatePicker_Anchor_Icon_Secondary_color", "--ADatePicker_background-color", "--ADatePicker_border-color", "--ADatePicker_StringInputContainer_background-color", "--ADatePicker_String_border-color", "--ADatePicker_Prev_background-color", "--ADatePicker_Prev_border-right-color", "--ADatePicker_Next_background-color", "--ADatePicker_Next_border-left-color", "--ADatePicker_Cell_color", "--ADatePicker_Cell_IsNotCurrentMonth_color", "--ADatePicker_Cell_IsDisabled_color", "--ADatePicker_Cell_IsSelected_background-color", "--ADatePicker_Cell_IsSelected_color", "--ADatePicker_Cell_IsHovered_background-color"];
101
+ export type TADatePickerStyleKeys = (typeof ADatePickerStyleKeys)[number];
102
+ export declare const ADateRangePickerStyleKeys: readonly ["--ADateRangePicker_Anchor_border-color", "--ADateRangePicker_Anchor_color", "--ADateRangePicker_Anchor_hover_border-color", "--ADateRangePicker_Anchor_focus_border-color", "--ADateRangePicker_Anchor_Icon_Primary_color", "--ADateRangePicker_Anchor_Icon_Secondary_color", "--ADateRangePicker_background-color", "--ADateRangePicker_border-color", "--ADateRangePicker_StringInputContainer_background-color", "--ADateRangePicker_String_border-color", "--ADateRangePicker_Prev_background-color", "--ADateRangePicker_Prev_border-right-color", "--ADateRangePicker_Next_background-color", "--ADateRangePicker_Next_border-left-color", "--ADateRangePicker_Cell_color", "--ADateRangePicker_Cell_IsNotCurrentMonth_color", "--ADateRangePicker_Cell_IsDisabled_color", "--ADateRangePicker_Cell_IsSelected_background-color", "--ADateRangePicker_Cell_IsSelected_color", "--ADateRangePicker_Cell_IsHovered_background-color"];
103
+ export type TADateRangePickerStyleKeys = (typeof ADateRangePickerStyleKeys)[number];
104
+ export declare const AIconButtonStyleKeys: readonly ["--AIconButton_Primary_color", "--AIconButton_Primary_background-color", "--AIconButton_Primary_border-color", "--AIconButton_Primary_hover_border-color"];
105
+ export type TAIconButtonStyleKeys = (typeof AIconButtonStyleKeys)[number];
106
+ export declare const ATableStyleKeys: readonly ["--ATableBody_TRow_border-bottom-color", "--ATableBody_TRow_IsSelected_background-color", "--ATableBody_TRow_IsSelectable_hover_background-color", "--ATableBody_TH_color", "--ATableBody_TD_IsMarked_background-color", "--ATableBody_Resizer_hover_ResizerCenter_background-color", "--ATableBody_Resizer_active_ResizerCenter_background-color", "--ATableBody_Resizer_active_ResizerOut_background-color", "--ATableBody_Resizer_active_ResizerIn_background-color", "--ATableFooter_Button_IsSelected_background-color", "--ATableFooter_Button_IsSelected_color", "--ATableFooter_Button_IsDisabled_color", "--ATableFilter_SubFilters_background-color", "--ATableFilter_SubFilters_border-color", "--ATableFilter_Icon_color"];
107
+ export type TATableStyleKeys = (typeof ATableStyleKeys)[number];
108
+ export declare const AFrameStyleKeys: readonly ["--ADivideFrame_DividerInner_background-color"];
109
+ export type TAFrameStyleKeys = (typeof AFrameStyleKeys)[number];
110
+ export declare const AFloatMenuKeys: readonly ["--AFloatMenu_background-color", "--AFloatMenu_hover_background-color", "--AFloatMenu_color"];
111
+ export type TAFloatMenuKeys = (typeof AFloatMenuKeys)[number];
112
+ export declare const ALoadingBorderKeys: readonly ["--ALoadingBorder_background-color", "--ALoadingBorder_ProgressBar_background-color", "--ALoadingBorder_Cover_background-color"];
113
+ export type TALoadingBorderKeys = (typeof ALoadingBorderKeys)[number];
114
+ export declare const ComponentStyleKeys: readonly ["--ABase_Dimming_background-color", "--ATooltip_background-color", "--ATooltip_color", "--AButton_Primary_border-color", "--AButton_Primary_background-color", "--AButton_Primary_color", "--AButton_Primary_hover_background-color", "--AButton_Primary_active_background-color", "--AButton_Secondary_border-color", "--AButton_Secondary_background-color", "--AButton_Secondary_color", "--AButton_Secondary_hover_background-color", "--AButton_Secondary_active_background-color", "--AInput_Primary_background-color", "--AInput_Primary_border-color", "--AInput_Primary_color", "--AInput_Primary_hover_border-color", "--AInput_Primary_focus_background-color", "--AInput_Primary_focus_border-color", "--AInput_Secondary_background-color", "--AInput_Secondary_border-color", "--AInput_Secondary_color", "--AInput_Secondary_hover_border-color", "--AInput_Secondary_focus_border-color", "--AInput_ReadOnly_background-color", "--AInput_ReadOnly_border-color", "--AInput_ReadOnly_color", "--AInput_Error_HelperText_color", "--AInput_Error_background-color", "--AInput_Error_border-color", "--AInput_Error_color", "--AInput_Error_placeholder_color", "--ATextArea_Primary_background-color", "--ATextArea_Primary_border-color", "--ATextArea_Primary_color", "--ATextArea_Primary_hover_border-color", "--ATextArea_Primary_focus_background-color", "--ATextArea_Primary_focus_border-color", "--ATextArea_Secondary_background-color", "--ATextArea_Secondary_border-color", "--ATextArea_Secondary_color", "--ATextArea_Secondary_hover_border-color", "--ATextArea_Secondary_focus_border-color", "--ATextArea_ReadOnly_background-color", "--ATextArea_ReadOnly_border-color", "--ATextArea_ReadOnly_color", "--ATextArea_Error_background-color", "--ATextArea_Error_border-color", "--ATextArea_Error_color", "--ATextArea_Error_placeholder_color", "--ACheckBox_color", "--ADialog_Paper_background-color", "--ADialog_background-color", "--ADialog_border-color", "--ADialog_Action_background-color", "--ASelect_Primary_border-color", "--ASelect_Primary_hover_border-color", "--ASelect_Primary_Arrow_color", "--ASelect_Primary_Options_background-color", "--ASelect_Primary_Options_border-color", "--ASelect_Primary_Option_hover_background-color", "--ASelect_Primary_Option_active_background-color", "--ASelect_Primary_Option_Selected_background-color", "--ASelect_Secondary_background-color", "--ASelect_Secondary_Arrow_color", "--ASelect_Secondary_Options_background-color", "--ASelect_Secondary_Options_border-color", "--ASelect_Secondary_Option_hover_background-color", "--ASelect_Secondary_Option_active_background-color", "--ASelect_Secondary_Option_Selected_background-color", "--AMultiSelect_Primary_border-color", "--AMultiSelect_Primary_hover_border-color", "--AMultiSelect_Primary_Arrow_color", "--AMultiSelect_Primary_Options_background-color", "--AMultiSelect_Primary_Options_border-color", "--AMultiSelect_Primary_Option_hover_background-color", "--AMultiSelect_Primary_Option_active_background-color", "--AMultiSelect_Primary_Option_Selected_background-color", "--AMultiSelect_Secondary_background-color", "--AMultiSelect_Secondary_Arrow_color", "--AMultiSelect_Secondary_Options_background-color", "--AMultiSelect_Secondary_Options_border-color", "--AMultiSelect_Secondary_Option_hover_background-color", "--AMultiSelect_Secondary_Option_active_background-color", "--AMultiSelect_Secondary_Option_Selected_background-color", "--ATree_background-color", "--ATree_Indent_border-color", "--ATreeBodyHeader_border-bottom-color", "--ATreeItem_hover_background-color", "--ATreeItem_active_background-color", "--ATreeItem_select_background-color", "--ATreeItem_search_background-color", "--ATreeItem_search_border-top-color", "--ATreeItem_search_border-bottom-color", "--ATreeItem_select_color", "--ASwitch_Track_Falsy_border-color", "--ASwitch_Track_Truthy_border-color", "--ATab_IndicatorTrack_Primary_border-bottom-color", "--ATab_Indicator_Primary_background-color", "--ATab_Option_Secondary_border-color", "--ATab_Option_Secondary_IsSelected_border-bottom-color", "--ATab_Option_Secondary_IsDisabled_border-color", "--AFileBox_border-color", "--AFileBox_background-color", "--AFileBox_SelectedFile_color", "--AFileBox_Dropping_color", "--AListView_border-top-color", "--AListView_Row_border-bottom-color", "--AListView_Label_border-left-color", "--AListView_Rendered_border-left-color", "--AStepper_OutCircle_background-color", "--AStepper_OutCircle_IsOver_background-color", "--AStepper_InCircle_background-color", "--AStepper_InCircle_IsOver_background-color", "--AStepper_Line_background-color", "--AStepper_Line_IsOver_background-color", "--ADatePicker_Anchor_border-color", "--ADatePicker_Anchor_color", "--ADatePicker_Anchor_hover_border-color", "--ADatePicker_Anchor_focus_border-color", "--ADatePicker_Anchor_Icon_Primary_color", "--ADatePicker_Anchor_Icon_Secondary_color", "--ADatePicker_background-color", "--ADatePicker_border-color", "--ADatePicker_StringInputContainer_background-color", "--ADatePicker_String_border-color", "--ADatePicker_Prev_background-color", "--ADatePicker_Prev_border-right-color", "--ADatePicker_Next_background-color", "--ADatePicker_Next_border-left-color", "--ADatePicker_Cell_color", "--ADatePicker_Cell_IsNotCurrentMonth_color", "--ADatePicker_Cell_IsDisabled_color", "--ADatePicker_Cell_IsSelected_background-color", "--ADatePicker_Cell_IsSelected_color", "--ADatePicker_Cell_IsHovered_background-color", "--ADateRangePicker_Anchor_border-color", "--ADateRangePicker_Anchor_color", "--ADateRangePicker_Anchor_hover_border-color", "--ADateRangePicker_Anchor_focus_border-color", "--ADateRangePicker_Anchor_Icon_Primary_color", "--ADateRangePicker_Anchor_Icon_Secondary_color", "--ADateRangePicker_background-color", "--ADateRangePicker_border-color", "--ADateRangePicker_StringInputContainer_background-color", "--ADateRangePicker_String_border-color", "--ADateRangePicker_Prev_background-color", "--ADateRangePicker_Prev_border-right-color", "--ADateRangePicker_Next_background-color", "--ADateRangePicker_Next_border-left-color", "--ADateRangePicker_Cell_color", "--ADateRangePicker_Cell_IsNotCurrentMonth_color", "--ADateRangePicker_Cell_IsDisabled_color", "--ADateRangePicker_Cell_IsSelected_background-color", "--ADateRangePicker_Cell_IsSelected_color", "--ADateRangePicker_Cell_IsHovered_background-color", "--AIconButton_Primary_color", "--AIconButton_Primary_background-color", "--AIconButton_Primary_border-color", "--AIconButton_Primary_hover_border-color", "--ATableBody_TRow_border-bottom-color", "--ATableBody_TRow_IsSelected_background-color", "--ATableBody_TRow_IsSelectable_hover_background-color", "--ATableBody_TH_color", "--ATableBody_TD_IsMarked_background-color", "--ATableBody_Resizer_hover_ResizerCenter_background-color", "--ATableBody_Resizer_active_ResizerCenter_background-color", "--ATableBody_Resizer_active_ResizerOut_background-color", "--ATableBody_Resizer_active_ResizerIn_background-color", "--ATableFooter_Button_IsSelected_background-color", "--ATableFooter_Button_IsSelected_color", "--ATableFooter_Button_IsDisabled_color", "--ATableFilter_SubFilters_background-color", "--ATableFilter_SubFilters_border-color", "--ATableFilter_Icon_color", "--ADivideFrame_DividerInner_background-color", "--AFloatMenu_background-color", "--AFloatMenu_hover_background-color", "--AFloatMenu_color", "--ALoadingBorder_background-color", "--ALoadingBorder_ProgressBar_background-color", "--ALoadingBorder_Cover_background-color"];
115
+ declare const componentStyle: {
116
+ '--ABase_Dimming_background-color': string;
117
+ '--ATooltip_background-color': string;
118
+ '--ATooltip_color': string;
119
+ '--AButton_Primary_border-color': string;
120
+ '--AButton_Primary_background-color': string;
121
+ '--AButton_Primary_color': string;
122
+ '--AButton_Primary_hover_background-color': string;
123
+ '--AButton_Primary_active_background-color': string;
124
+ '--AButton_Secondary_border-color': string;
125
+ '--AButton_Secondary_background-color': string;
126
+ '--AButton_Secondary_color': string;
127
+ '--AButton_Secondary_hover_background-color': string;
128
+ '--AButton_Secondary_active_background-color': string;
129
+ '--AInput_Primary_background-color': string;
130
+ '--AInput_Primary_border-color': string;
131
+ '--AInput_Primary_color': string;
132
+ '--AInput_Primary_hover_border-color': string;
133
+ '--AInput_Primary_focus_background-color': string;
134
+ '--AInput_Primary_focus_border-color': string;
135
+ '--AInput_Secondary_background-color': string;
136
+ '--AInput_Secondary_border-color': string;
137
+ '--AInput_Secondary_color': string;
138
+ '--AInput_Secondary_hover_border-color': string;
139
+ '--AInput_Secondary_focus_border-color': string;
140
+ '--AInput_ReadOnly_background-color': string;
141
+ '--AInput_ReadOnly_border-color': string;
142
+ '--AInput_ReadOnly_color': string;
143
+ '--AInput_Error_HelperText_color': string;
144
+ '--AInput_Error_background-color': string;
145
+ '--AInput_Error_border-color': string;
146
+ '--AInput_Error_color': string;
147
+ '--AInput_Error_placeholder_color': string;
148
+ '--ATextArea_Primary_background-color': string;
149
+ '--ATextArea_Primary_border-color': string;
150
+ '--ATextArea_Primary_color': string;
151
+ '--ATextArea_Primary_hover_border-color': string;
152
+ '--ATextArea_Primary_focus_background-color': string;
153
+ '--ATextArea_Primary_focus_border-color': string;
154
+ '--ATextArea_Secondary_background-color': string;
155
+ '--ATextArea_Secondary_border-color': string;
156
+ '--ATextArea_Secondary_color': string;
157
+ '--ATextArea_Secondary_hover_border-color': string;
158
+ '--ATextArea_Secondary_focus_border-color': string;
159
+ '--ATextArea_ReadOnly_background-color': string;
160
+ '--ATextArea_ReadOnly_border-color': string;
161
+ '--ATextArea_ReadOnly_color': string;
162
+ '--ATextArea_Error_background-color': string;
163
+ '--ATextArea_Error_border-color': string;
164
+ '--ATextArea_Error_color': string;
165
+ '--ATextArea_Error_placeholder_color': string;
166
+ '--ACheckBox_color': string;
167
+ '--ADialog_Paper_background-color': string;
168
+ '--ADialog_background-color': string;
169
+ '--ADialog_border-color': string;
170
+ '--ADialog_Action_background-color': string;
171
+ '--ASelect_Primary_border-color': string;
172
+ '--ASelect_Primary_hover_border-color': string;
173
+ '--ASelect_Primary_Arrow_color': string;
174
+ '--ASelect_Primary_Options_background-color': string;
175
+ '--ASelect_Primary_Options_border-color': string;
176
+ '--ASelect_Primary_Option_hover_background-color': string;
177
+ '--ASelect_Primary_Option_active_background-color': string;
178
+ '--ASelect_Primary_Option_Selected_background-color': string;
179
+ '--ASelect_Secondary_background-color': string;
180
+ '--ASelect_Secondary_Arrow_color': string;
181
+ '--ASelect_Secondary_Options_background-color': string;
182
+ '--ASelect_Secondary_Options_border-color': string;
183
+ '--ASelect_Secondary_Option_hover_background-color': string;
184
+ '--ASelect_Secondary_Option_active_background-color': string;
185
+ '--ASelect_Secondary_Option_Selected_background-color': string;
186
+ '--AMultiSelect_Primary_border-color': string;
187
+ '--AMultiSelect_Primary_hover_border-color': string;
188
+ '--AMultiSelect_Primary_Arrow_color': string;
189
+ '--AMultiSelect_Primary_Options_background-color': string;
190
+ '--AMultiSelect_Primary_Options_border-color': string;
191
+ '--AMultiSelect_Primary_Option_hover_background-color': string;
192
+ '--AMultiSelect_Primary_Option_active_background-color': string;
193
+ '--AMultiSelect_Primary_Option_Selected_background-color': string;
194
+ '--AMultiSelect_Secondary_background-color': string;
195
+ '--AMultiSelect_Secondary_Arrow_color': string;
196
+ '--AMultiSelect_Secondary_Options_background-color': string;
197
+ '--AMultiSelect_Secondary_Options_border-color': string;
198
+ '--AMultiSelect_Secondary_Option_hover_background-color': string;
199
+ '--AMultiSelect_Secondary_Option_active_background-color': string;
200
+ '--AMultiSelect_Secondary_Option_Selected_background-color': string;
201
+ '--ATree_background-color': string;
202
+ '--ATree_Indent_border-color': string;
203
+ '--ATreeBodyHeader_border-bottom-color': string;
204
+ '--ATreeItem_hover_background-color': string;
205
+ '--ATreeItem_active_background-color': string;
206
+ '--ATreeItem_select_background-color': string;
207
+ '--ATreeItem_search_background-color': string;
208
+ '--ATreeItem_search_border-top-color': string;
209
+ '--ATreeItem_search_border-bottom-color': string;
210
+ '--ATreeItem_select_color': string;
211
+ '--ASwitch_Track_Falsy_border-color': string;
212
+ '--ASwitch_Track_Truthy_border-color': string;
213
+ '--ATab_IndicatorTrack_Primary_border-bottom-color': string;
214
+ '--ATab_Indicator_Primary_background-color': string;
215
+ '--ATab_Option_Secondary_border-color': string;
216
+ '--ATab_Option_Secondary_IsSelected_border-bottom-color': string;
217
+ '--ATab_Option_Secondary_IsDisabled_border-color': string;
218
+ '--AFileBox_border-color': string;
219
+ '--AFileBox_background-color': string;
220
+ '--AFileBox_SelectedFile_color': string;
221
+ '--AFileBox_Dropping_color': string;
222
+ '--AListView_border-top-color': string;
223
+ '--AListView_Row_border-bottom-color': string;
224
+ '--AListView_Label_border-left-color': string;
225
+ '--AListView_Rendered_border-left-color': string;
226
+ '--AStepper_OutCircle_background-color': string;
227
+ '--AStepper_OutCircle_IsOver_background-color': string;
228
+ '--AStepper_InCircle_background-color': string;
229
+ '--AStepper_InCircle_IsOver_background-color': string;
230
+ '--AStepper_Line_background-color': string;
231
+ '--AStepper_Line_IsOver_background-color': string;
232
+ '--ADatePicker_Anchor_border-color': string;
233
+ '--ADatePicker_Anchor_color': string;
234
+ '--ADatePicker_Anchor_hover_border-color': string;
235
+ '--ADatePicker_Anchor_focus_border-color': string;
236
+ '--ADatePicker_Anchor_Icon_Primary_color': string;
237
+ '--ADatePicker_Anchor_Icon_Secondary_color': string;
238
+ '--ADatePicker_background-color': string;
239
+ '--ADatePicker_border-color': string;
240
+ '--ADatePicker_StringInputContainer_background-color': string;
241
+ '--ADatePicker_String_border-color': string;
242
+ '--ADatePicker_Prev_background-color': string;
243
+ '--ADatePicker_Prev_border-right-color': string;
244
+ '--ADatePicker_Next_background-color': string;
245
+ '--ADatePicker_Next_border-left-color': string;
246
+ '--ADatePicker_Cell_color': string;
247
+ '--ADatePicker_Cell_IsNotCurrentMonth_color': string;
248
+ '--ADatePicker_Cell_IsDisabled_color': string;
249
+ '--ADatePicker_Cell_IsSelected_background-color': string;
250
+ '--ADatePicker_Cell_IsSelected_color': string;
251
+ '--ADatePicker_Cell_IsHovered_background-color': string;
252
+ '--ADateRangePicker_Anchor_border-color': string;
253
+ '--ADateRangePicker_Anchor_color': string;
254
+ '--ADateRangePicker_Anchor_hover_border-color': string;
255
+ '--ADateRangePicker_Anchor_focus_border-color': string;
256
+ '--ADateRangePicker_Anchor_Icon_Primary_color': string;
257
+ '--ADateRangePicker_Anchor_Icon_Secondary_color': string;
258
+ '--ADateRangePicker_background-color': string;
259
+ '--ADateRangePicker_border-color': string;
260
+ '--ADateRangePicker_StringInputContainer_background-color': string;
261
+ '--ADateRangePicker_String_border-color': string;
262
+ '--ADateRangePicker_Prev_background-color': string;
263
+ '--ADateRangePicker_Prev_border-right-color': string;
264
+ '--ADateRangePicker_Next_background-color': string;
265
+ '--ADateRangePicker_Next_border-left-color': string;
266
+ '--ADateRangePicker_Cell_color': string;
267
+ '--ADateRangePicker_Cell_IsNotCurrentMonth_color': string;
268
+ '--ADateRangePicker_Cell_IsDisabled_color': string;
269
+ '--ADateRangePicker_Cell_IsSelected_background-color': string;
270
+ '--ADateRangePicker_Cell_IsSelected_color': string;
271
+ '--ADateRangePicker_Cell_IsHovered_background-color': string;
272
+ '--AIconButton_Primary_color': string;
273
+ '--AIconButton_Primary_background-color': string;
274
+ '--AIconButton_Primary_border-color': string;
275
+ '--AIconButton_Primary_hover_border-color': string;
276
+ '--ATableBody_TRow_border-bottom-color': string;
277
+ '--ATableBody_TRow_IsSelected_background-color': string;
278
+ '--ATableBody_TRow_IsSelectable_hover_background-color': string;
279
+ '--ATableBody_TH_color': string;
280
+ '--ATableBody_TD_IsMarked_background-color': string;
281
+ '--ATableBody_Resizer_hover_ResizerCenter_background-color': string;
282
+ '--ATableBody_Resizer_active_ResizerCenter_background-color': string;
283
+ '--ATableBody_Resizer_active_ResizerOut_background-color': string;
284
+ '--ATableBody_Resizer_active_ResizerIn_background-color': string;
285
+ '--ATableFooter_Button_IsSelected_background-color': string;
286
+ '--ATableFooter_Button_IsSelected_color': string;
287
+ '--ATableFooter_Button_IsDisabled_color': string;
288
+ '--ATableFilter_SubFilters_background-color': string;
289
+ '--ATableFilter_SubFilters_border-color': string;
290
+ '--ATableFilter_Icon_color': string;
291
+ '--ADivideFrame_DividerInner_background-color': string;
292
+ '--AFloatMenu_background-color': string;
293
+ '--AFloatMenu_hover_background-color': string;
294
+ '--AFloatMenu_color': string;
295
+ '--ALoadingBorder_background-color': string;
296
+ '--ALoadingBorder_ProgressBar_background-color': string;
297
+ '--ALoadingBorder_Cover_background-color': string;
298
+ };
58
299
  export type TComponentStyle = typeof componentStyle;
300
+ export type TComponentStyleKeys = keyof TComponentStyle;
59
301
  export type TComponentHardStyle = {
60
302
  [key in keyof TComponentStyle]: TSemanticKeys;
61
303
  };
304
+ declare function getComponentStyleValue(key: TComponentStyleKeys): string;
62
305
  /**
63
306
  * editComponentStyle : (theme: Partial<TComponentStyle>) => void
64
307
  *
@@ -103,11 +346,14 @@ declare function addEventListener<T extends TAThemeEvent>(param: T): void;
103
346
  declare function removeEventListener<T extends TAThemeEvent>(param: T): void;
104
347
  export declare const AThemes: {
105
348
  getCurrentPaletteMode: typeof getCurrentPaletteMode;
349
+ getPaletteValue: typeof getPaletteValue;
106
350
  changePaletteMode: typeof changePaletteMode;
107
351
  editPalette: typeof editPalette;
108
352
  getCurrentSemanticMode: typeof getCurrentSemanticMode;
353
+ getSemanticValue: typeof getSemanticValue;
109
354
  changeSemanticMode: typeof changeSemanticMode;
110
355
  editSemantic: typeof editSemantic;
356
+ getComponentStyleValue: typeof getComponentStyleValue;
111
357
  editComponentStyle: typeof editComponentStyle;
112
358
  editComponentStyleWithSemantic: typeof editComponentStyleWithSemantic;
113
359
  init: typeof init;
@@ -0,0 +1,175 @@
1
+ /**
2
+ * refinedDesignTokens
3
+ *
4
+ * 1. all palette values, semantic values and componentStyle values should be raw string.
5
+ */
6
+ export declare const refinedDesignTokens: {
7
+ palette: {
8
+ 'mode-1': {
9
+ 'common-100': string;
10
+ 'common-0': string;
11
+ 'neutral-99': string;
12
+ 'neutral-94': string;
13
+ 'neutral-89': string;
14
+ 'neutral-84': string;
15
+ 'neutral-79': string;
16
+ 'neutral-73': string;
17
+ 'neutral-65': string;
18
+ 'neutral-54': string;
19
+ 'neutral-42': string;
20
+ 'neutral-30': string;
21
+ 'neutral-20': string;
22
+ 'neutral-10': string;
23
+ 'neutral-5': string;
24
+ 'cool-neutral-99': string;
25
+ 'cool-neutral-94': string;
26
+ 'cool-neutral-89': string;
27
+ 'cool-neutral-84': string;
28
+ 'cool-neutral-79': string;
29
+ 'cool-neutral-73': string;
30
+ 'cool-neutral-65': string;
31
+ 'cool-neutral-54': string;
32
+ 'cool-neutral-42': string;
33
+ 'cool-neutral-30': string;
34
+ 'cool-neutral-20': string;
35
+ 'cool-neutral-10': string;
36
+ 'cool-neutral-5': string;
37
+ 'red-99': string;
38
+ 'red-95': string;
39
+ 'red-90': string;
40
+ 'red-84': string;
41
+ 'red-76': string;
42
+ 'red-66': string;
43
+ 'red-53': string;
44
+ 'red-45': string;
45
+ 'red-34': string;
46
+ 'red-30': string;
47
+ 'red-24': string;
48
+ 'red-10': string;
49
+ 'green-99': string;
50
+ 'green-95': string;
51
+ 'green-90': string;
52
+ 'green-84': string;
53
+ 'green-76': string;
54
+ 'green-66': string;
55
+ 'green-48': string;
56
+ 'green-45': string;
57
+ 'green-34': string;
58
+ 'green-30': string;
59
+ 'green-24': string;
60
+ 'green-10': string;
61
+ 'blue-99': string;
62
+ 'blue-95': string;
63
+ 'blue-90': string;
64
+ 'blue-84': string;
65
+ 'blue-76': string;
66
+ 'blue-66': string;
67
+ 'blue-53': string;
68
+ 'blue-45': string;
69
+ 'blue-34': string;
70
+ 'blue-30': string;
71
+ 'blue-24': string;
72
+ 'blue-10': string;
73
+ 'orange-99': string;
74
+ 'orange-95': string;
75
+ 'orange-90': string;
76
+ 'orange-84': string;
77
+ 'orange-76': string;
78
+ 'orange-66': string;
79
+ 'orange-53': string;
80
+ 'orange-45': string;
81
+ 'orange-34': string;
82
+ 'orange-30': string;
83
+ 'orange-24': string;
84
+ 'orange-10': string;
85
+ 'violet-99': string;
86
+ 'violet-95': string;
87
+ 'violet-90': string;
88
+ 'violet-84': string;
89
+ 'violet-76': string;
90
+ 'violet-66': string;
91
+ 'violet-53': string;
92
+ 'violet-45': string;
93
+ 'violet-34': string;
94
+ 'violet-28': string;
95
+ 'violet-24': string;
96
+ 'violet-10': string;
97
+ 'cyan-99': string;
98
+ 'cyan-95': string;
99
+ 'cyan-90': string;
100
+ 'cyan-84': string;
101
+ 'cyan-76': string;
102
+ 'cyan-66': string;
103
+ 'cyan-50': string;
104
+ 'cyan-45': string;
105
+ 'cyan-40': string;
106
+ 'cyan-30': string;
107
+ 'cyan-21': string;
108
+ 'cyan-10': string;
109
+ 'pink-99': string;
110
+ 'pink-95': string;
111
+ 'pink-90': string;
112
+ 'pink-84': string;
113
+ 'pink-76': string;
114
+ 'pink-66': string;
115
+ 'pink-53': string;
116
+ 'pink-45': string;
117
+ 'pink-40': string;
118
+ 'pink-30': string;
119
+ 'pink-21': string;
120
+ 'pink-10': string;
121
+ 'lime-99': string;
122
+ 'lime-95': string;
123
+ 'lime-90': string;
124
+ 'lime-84': string;
125
+ 'lime-76': string;
126
+ 'lime-66': string;
127
+ 'lime-49': string;
128
+ 'lime-45': string;
129
+ 'lime-40': string;
130
+ 'lime-30': string;
131
+ 'lime-21': string;
132
+ 'lime-10': string;
133
+ 'brand-b-color': string;
134
+ 'neutral-15': string;
135
+ };
136
+ };
137
+ semantic: {
138
+ light: {
139
+ 'static-white': string;
140
+ 'static-black': string;
141
+ 'acent-brand': string;
142
+ 'label-normal': string;
143
+ 'label-strong': string;
144
+ 'label-neutral': string;
145
+ 'line-normal': string;
146
+ 'line-strong': string;
147
+ 'line-neutral': string;
148
+ 'background-normal': string;
149
+ 'elevation-0': string;
150
+ 'elevation-10': string;
151
+ 'elevation-20': string;
152
+ 'alert-warning': string;
153
+ 'alert-success': string;
154
+ 'alert-danger': string;
155
+ };
156
+ dark: {
157
+ 'static-white': string;
158
+ 'static-black': string;
159
+ 'acent-brand': string;
160
+ 'label-normal': string;
161
+ 'label-strong': string;
162
+ 'label-neutral': string;
163
+ 'line-normal': string;
164
+ 'line-strong': string;
165
+ 'line-neutral': string;
166
+ 'background-normal': string;
167
+ 'elevation-0': string;
168
+ 'elevation-10': string;
169
+ 'elevation-20': string;
170
+ 'alert-warning': string;
171
+ 'alert-success': string;
172
+ 'alert-danger': string;
173
+ };
174
+ };
175
+ };