@am92/react-design-system 2.10.2 → 3.0.1-beta.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.
Files changed (122) hide show
  1. package/dist/Components/DsAvatar/DsAvatar.Overrides.d.ts +54 -50
  2. package/dist/Components/DsAvatar/DsAvatar.Overrides.js +107 -103
  3. package/dist/Components/DsBottomSheet/DsBottomSheet.Component.js +16 -10
  4. package/dist/Components/DsButton/DsButton.Overrides.d.ts +8 -12
  5. package/dist/Components/DsButton/DsButton.Overrides.js +26 -26
  6. package/dist/Components/DsButtonBase/DsButtonBase.Overrides.d.ts +10 -1
  7. package/dist/Components/DsButtonBase/DsButtonBase.Overrides.js +11 -1
  8. package/dist/Components/DsChip/DsChip.Overrides.d.ts +9 -6
  9. package/dist/Components/DsChip/DsChip.Overrides.js +136 -133
  10. package/dist/Components/DsDialog/DsDialog.Component.js +19 -13
  11. package/dist/Components/DsDivider/DsDivider.Overrides.d.ts +5 -5
  12. package/dist/Components/DsDivider/DsDivider.Overrides.js +32 -32
  13. package/dist/Components/DsInputBase/DsInputBase.Overrides.d.ts +3 -7
  14. package/dist/Components/DsInputBase/DsInputBase.Overrides.js +61 -61
  15. package/dist/Components/DsInputLabel/DsInputLabel.Component.js +5 -1
  16. package/dist/Components/DsProgressIndicator/DsProgressIndicator.Component.js +6 -1
  17. package/dist/Components/DsProgressTracker/Components/DsProgressStepper.Component.js +4 -1
  18. package/dist/Components/DsProgressTracker/Components/DsProgressTrackerHeader.Component.js +16 -3
  19. package/dist/Components/DsSearchbar/DsSearchbar.Component.js +4 -1
  20. package/dist/Components/DsSelect/DsSelect.Component.js +3 -1
  21. package/dist/Components/DsSelect/DsSelect.Types.d.ts +1 -0
  22. package/dist/Components/DsSlider/DsSlider.Overrides.d.ts +13 -13
  23. package/dist/Components/DsSlider/DsSlider.Overrides.js +16 -16
  24. package/dist/Components/DsTabs/DsTabs.Overrides.d.ts +2 -6
  25. package/dist/Components/DsTabs/DsTabs.Overrides.js +36 -36
  26. package/dist/Components/DsToggleButtonGroup/DsToggleButtonGroup.Overrides.d.ts +9 -5
  27. package/dist/Components/DsToggleButtonGroup/DsToggleButtonGroup.Overrides.js +47 -43
  28. package/dist/Theme/componentOverrides.d.ts +141 -129
  29. package/dist/Theme/getColorScheme/dark.d.ts +28 -1
  30. package/dist/Theme/getColorScheme/getPalette.d.ts +2 -2
  31. package/dist/Theme/getColorScheme/getPalette.js +3 -1
  32. package/dist/Theme/getColorScheme/highContrast.d.ts +28 -1
  33. package/dist/Theme/getColorScheme/light.d.ts +28 -1
  34. package/dist/Theme/index.js +2 -1
  35. package/dist/material.d.ts +0 -2
  36. package/dist/material.js +0 -2
  37. package/dist/x-charts/Components/index.d.ts +2 -6
  38. package/dist/x-charts/Components/index.js +2 -6
  39. package/dist/x-charts/Types/index.d.ts +0 -6
  40. package/dist/x-datepicker/Components/DsDatePicker/DateCalenderHeader.d.ts +1 -1
  41. package/dist/x-datepicker/Components/DsDatePicker/DateCalenderHeader.js +17 -4
  42. package/dist/x-datepicker/Components/DsDatePicker/DatePickerTextField.d.ts +4 -4
  43. package/dist/x-datepicker/Components/DsDatePicker/DatePickerTextField.js +4 -3
  44. package/dist/x-datepicker/Components/DsDatePicker/DefaultActionBar.d.ts +4 -7
  45. package/dist/x-datepicker/Components/DsDatePicker/DefaultActionBar.js +8 -8
  46. package/dist/x-datepicker/Components/DsDatePicker/DefaultToolbar.d.ts +1 -3
  47. package/dist/x-datepicker/Components/DsDatePicker/DefaultToolbar.js +4 -7
  48. package/dist/x-datepicker/Components/DsDatePicker/DsDatePicker.Component.d.ts +1 -1
  49. package/dist/x-datepicker/Components/DsDatePicker/DsDatePicker.Component.js +6 -12
  50. package/dist/x-datepicker/Components/DsDatePicker/DsDatePicker.Overrides.d.ts +36 -31
  51. package/dist/x-datepicker/Components/DsDatePicker/DsDatePicker.Overrides.js +11 -22
  52. package/dist/x-datepicker/Components/DsDatePicker/DsDatePicker.Types.d.ts +3 -3
  53. package/dist/x-datepicker/Components/DsDatePicker/utils.d.ts +3 -3
  54. package/dist/x-datepicker/Locale/DsDatePickerLocaleBeBY.d.ts +24 -8
  55. package/dist/x-datepicker/Locale/DsDatePickerLocaleBeBY.js +1 -1
  56. package/dist/x-datepicker/Locale/DsDatePickerLocaleCaES.d.ts +24 -8
  57. package/dist/x-datepicker/Locale/DsDatePickerLocaleCaES.js +1 -1
  58. package/dist/x-datepicker/Locale/DsDatePickerLocaleCsCZ.d.ts +24 -8
  59. package/dist/x-datepicker/Locale/DsDatePickerLocaleCsCZ.js +1 -1
  60. package/dist/x-datepicker/Locale/DsDatePickerLocaleDaDK.d.ts +24 -8
  61. package/dist/x-datepicker/Locale/DsDatePickerLocaleDaDK.js +1 -1
  62. package/dist/x-datepicker/Locale/DsDatePickerLocaleDeDE.d.ts +24 -8
  63. package/dist/x-datepicker/Locale/DsDatePickerLocaleDeDE.js +1 -1
  64. package/dist/x-datepicker/Locale/DsDatePickerLocaleElGR.d.ts +24 -8
  65. package/dist/x-datepicker/Locale/DsDatePickerLocaleElGR.js +1 -1
  66. package/dist/x-datepicker/Locale/DsDatePickerLocaleEnUS.d.ts +24 -8
  67. package/dist/x-datepicker/Locale/DsDatePickerLocaleEnUS.js +1 -1
  68. package/dist/x-datepicker/Locale/DsDatePickerLocaleEsES.d.ts +24 -8
  69. package/dist/x-datepicker/Locale/DsDatePickerLocaleEsES.js +1 -1
  70. package/dist/x-datepicker/Locale/DsDatePickerLocaleEu.d.ts +24 -8
  71. package/dist/x-datepicker/Locale/DsDatePickerLocaleEu.js +1 -1
  72. package/dist/x-datepicker/Locale/DsDatePickerLocaleFaIR.d.ts +24 -8
  73. package/dist/x-datepicker/Locale/DsDatePickerLocaleFaIR.js +1 -1
  74. package/dist/x-datepicker/Locale/DsDatePickerLocaleFiFI.d.ts +24 -8
  75. package/dist/x-datepicker/Locale/DsDatePickerLocaleFiFI.js +1 -1
  76. package/dist/x-datepicker/Locale/DsDatePickerLocaleFrFR.d.ts +24 -8
  77. package/dist/x-datepicker/Locale/DsDatePickerLocaleFrFR.js +1 -1
  78. package/dist/x-datepicker/Locale/DsDatePickerLocaleHeIL.d.ts +24 -8
  79. package/dist/x-datepicker/Locale/DsDatePickerLocaleHeIL.js +1 -1
  80. package/dist/x-datepicker/Locale/DsDatePickerLocaleHuHU.d.ts +24 -8
  81. package/dist/x-datepicker/Locale/DsDatePickerLocaleHuHU.js +1 -1
  82. package/dist/x-datepicker/Locale/DsDatePickerLocaleIsIS.d.ts +24 -8
  83. package/dist/x-datepicker/Locale/DsDatePickerLocaleIsIS.js +1 -1
  84. package/dist/x-datepicker/Locale/DsDatePickerLocaleItIT.d.ts +24 -8
  85. package/dist/x-datepicker/Locale/DsDatePickerLocaleItIT.js +1 -1
  86. package/dist/x-datepicker/Locale/DsDatePickerLocaleJaJP.d.ts +24 -8
  87. package/dist/x-datepicker/Locale/DsDatePickerLocaleJaJP.js +1 -1
  88. package/dist/x-datepicker/Locale/DsDatePickerLocaleKoKR.d.ts +24 -8
  89. package/dist/x-datepicker/Locale/DsDatePickerLocaleKoKR.js +1 -1
  90. package/dist/x-datepicker/Locale/DsDatePickerLocaleKzKZ.d.ts +24 -8
  91. package/dist/x-datepicker/Locale/DsDatePickerLocaleKzKZ.js +1 -1
  92. package/dist/x-datepicker/Locale/DsDatePickerLocaleMk.d.ts +24 -8
  93. package/dist/x-datepicker/Locale/DsDatePickerLocaleMk.js +1 -1
  94. package/dist/x-datepicker/Locale/DsDatePickerLocaleNbNO.d.ts +24 -8
  95. package/dist/x-datepicker/Locale/DsDatePickerLocaleNbNO.js +1 -1
  96. package/dist/x-datepicker/Locale/DsDatePickerLocaleNlNL.d.ts +24 -8
  97. package/dist/x-datepicker/Locale/DsDatePickerLocaleNlNL.js +1 -1
  98. package/dist/x-datepicker/Locale/DsDatePickerLocalePlPL.d.ts +24 -8
  99. package/dist/x-datepicker/Locale/DsDatePickerLocalePlPL.js +1 -1
  100. package/dist/x-datepicker/Locale/DsDatePickerLocalePtBR.d.ts +24 -8
  101. package/dist/x-datepicker/Locale/DsDatePickerLocalePtBR.js +1 -1
  102. package/dist/x-datepicker/Locale/DsDatePickerLocaleRoRO.d.ts +24 -8
  103. package/dist/x-datepicker/Locale/DsDatePickerLocaleRoRO.js +1 -1
  104. package/dist/x-datepicker/Locale/DsDatePickerLocaleRuRU.d.ts +24 -8
  105. package/dist/x-datepicker/Locale/DsDatePickerLocaleRuRU.js +1 -1
  106. package/dist/x-datepicker/Locale/DsDatePickerLocaleSkSK.d.ts +24 -8
  107. package/dist/x-datepicker/Locale/DsDatePickerLocaleSkSK.js +1 -1
  108. package/dist/x-datepicker/Locale/DsDatePickerLocaleSvSE.d.ts +24 -8
  109. package/dist/x-datepicker/Locale/DsDatePickerLocaleSvSE.js +1 -1
  110. package/dist/x-datepicker/Locale/DsDatePickerLocaleTrTR.d.ts +24 -8
  111. package/dist/x-datepicker/Locale/DsDatePickerLocaleTrTR.js +1 -1
  112. package/dist/x-datepicker/Locale/DsDatePickerLocaleUkUA.d.ts +24 -8
  113. package/dist/x-datepicker/Locale/DsDatePickerLocaleUkUA.js +1 -1
  114. package/dist/x-datepicker/Locale/DsDatePickerLocaleUrPK.d.ts +23 -7
  115. package/dist/x-datepicker/Locale/DsDatePickerLocaleViVN.d.ts +24 -8
  116. package/dist/x-datepicker/Locale/DsDatePickerLocaleViVN.js +1 -1
  117. package/dist/x-datepicker/Locale/DsDatePickerLocaleZhCN.d.ts +24 -8
  118. package/dist/x-datepicker/Locale/DsDatePickerLocaleZhCN.js +1 -1
  119. package/dist/x-datepicker/Locale/DsDatePickerLocaleZhHK.d.ts +24 -8
  120. package/dist/x-datepicker/Locale/DsDatePickerLocaleZhHK.js +1 -1
  121. package/dist/x-datepicker/componentOverrides.d.ts +36 -31
  122. package/package.json +9 -9
@@ -1,10 +1,10 @@
1
1
  declare const componentOverrides: {
2
2
  MuiDatePicker: {
3
- defaultProps: import("..").DsDatePickerProps<Date>;
3
+ defaultProps: import("..").DsDatePickerProps;
4
4
  };
5
5
  MuiLocalizationProvider: {
6
6
  defaultProps: {
7
- adapterLocale: Locale;
7
+ adapterLocale: import("date-fns").Locale;
8
8
  localeText: {
9
9
  okButtonLabel: string;
10
10
  previousMonth?: string | undefined;
@@ -15,19 +15,25 @@ declare const componentOverrides: {
15
15
  calendarWeekNumberText?: ((weekNumber: number) => string) | undefined;
16
16
  openPreviousView?: string | undefined;
17
17
  openNextView?: string | undefined;
18
- calendarViewSwitchingButtonAriaLabel?: ((currentView: import("@mui/x-date-pickers").DateView) => string) | undefined;
18
+ calendarViewSwitchingButtonAriaLabel?: ((currentView: import("@mui/x-date-pickers/models").DateView) => string) | undefined;
19
19
  start?: string | undefined;
20
20
  end?: string | undefined;
21
+ startDate?: string | undefined;
22
+ startTime?: string | undefined;
23
+ endDate?: string | undefined;
24
+ endTime?: string | undefined;
21
25
  cancelButtonLabel?: string | undefined;
22
26
  clearButtonLabel?: string | undefined;
23
27
  todayButtonLabel?: string | undefined;
24
- clockLabelText?: ((view: import("@mui/x-date-pickers").TimeView, time: any, adapter: import("@mui/x-date-pickers").MuiPickersAdapter<any, any>) => string) | undefined;
28
+ nextStepButtonLabel?: string | undefined;
29
+ clockLabelText?: ((view: import("@mui/x-date-pickers/models").TimeView, formattedTime: string | null) => string) | undefined;
25
30
  hoursClockNumberText?: ((hours: string) => string) | undefined;
26
31
  minutesClockNumberText?: ((minutes: string) => string) | undefined;
27
32
  secondsClockNumberText?: ((seconds: string) => string) | undefined;
28
- selectViewText?: ((view: import("@mui/x-date-pickers/internals/models").TimeViewWithMeridiem) => string) | undefined;
29
- openDatePickerDialogue?: ((date: any, utils: import("@mui/x-date-pickers").MuiPickersAdapter<any, any>) => string) | undefined;
30
- openTimePickerDialogue?: ((date: any, utils: import("@mui/x-date-pickers").MuiPickersAdapter<any, any>) => string) | undefined;
33
+ selectViewText?: ((view: import("@mui/x-date-pickers/internals").TimeViewWithMeridiem) => string) | undefined;
34
+ openDatePickerDialogue?: ((formattedDate: string | null) => string) | undefined;
35
+ openTimePickerDialogue?: ((formattedTime: string | null) => string) | undefined;
36
+ openRangePickerDialogue?: ((formattedRange: string | null) => string) | undefined;
31
37
  fieldClearLabel?: string | undefined;
32
38
  timeTableLabel?: string | undefined;
33
39
  dateTableLabel?: string | undefined;
@@ -36,14 +42,14 @@ declare const componentOverrides: {
36
42
  format: string;
37
43
  }) => string) | undefined;
38
44
  fieldMonthPlaceholder?: ((params: {
39
- contentType: import("@mui/x-date-pickers").FieldSectionContentType;
45
+ contentType: import("@mui/x-date-pickers/models").FieldSectionContentType;
40
46
  format: string;
41
47
  }) => string) | undefined;
42
48
  fieldDayPlaceholder?: ((params: {
43
49
  format: string;
44
50
  }) => string) | undefined;
45
51
  fieldWeekDayPlaceholder?: ((params: {
46
- contentType: import("@mui/x-date-pickers").FieldSectionContentType;
52
+ contentType: import("@mui/x-date-pickers/models").FieldSectionContentType;
47
53
  format: string;
48
54
  }) => string) | undefined;
49
55
  fieldHoursPlaceholder?: ((params: {
@@ -58,14 +64,24 @@ declare const componentOverrides: {
58
64
  fieldMeridiemPlaceholder?: ((params: {
59
65
  format: string;
60
66
  }) => string) | undefined;
67
+ year?: string | undefined;
68
+ month?: string | undefined;
69
+ day?: string | undefined;
70
+ weekDay?: string | undefined;
71
+ hours?: string | undefined;
72
+ minutes?: string | undefined;
73
+ seconds?: string | undefined;
74
+ meridiem?: string | undefined;
75
+ empty?: string | undefined;
61
76
  datePickerToolbarTitle?: string | undefined;
62
77
  timePickerToolbarTitle?: string | undefined;
63
78
  dateTimePickerToolbarTitle?: string | undefined;
64
79
  dateRangePickerToolbarTitle?: string | undefined;
80
+ timeRangePickerToolbarTitle?: string | undefined;
65
81
  };
66
82
  };
67
83
  };
68
- MuiPickersPopper: {
84
+ MuiPickerPopper: {
69
85
  styleOverrides: {
70
86
  root: {
71
87
  ' &[data-popper-placement^="right"]': {
@@ -162,9 +178,16 @@ declare const componentOverrides: {
162
178
  };
163
179
  };
164
180
  };
165
- MuiPickersMonth: {
181
+ MuiMonthCalendar: {
166
182
  styleOverrides: {
167
- monthButton: {
183
+ root: {
184
+ rowGap: string;
185
+ paddingTop: string;
186
+ paddingBottom: string;
187
+ paddingLeft: string;
188
+ paddingRight: string;
189
+ };
190
+ button: {
168
191
  fontWeight: string;
169
192
  fontSize: string;
170
193
  lineHeight: string;
@@ -230,25 +253,7 @@ declare const componentOverrides: {
230
253
  marginBottom: string;
231
254
  backgroundColor: string;
232
255
  };
233
- };
234
- };
235
- MuiMonthCalendar: {
236
- styleOverrides: {
237
- root: {
238
- rowGap: string;
239
- paddingTop: string;
240
- paddingBottom: string;
241
- paddingLeft: string;
242
- paddingRight: string;
243
- };
244
- };
245
- };
246
- MuiPickersYear: {
247
- styleOverrides: {
248
- root: {
249
- flexBasis: string;
250
- };
251
- yearButton: {
256
+ button: {
252
257
  width: string;
253
258
  paddingTop: string;
254
259
  paddingBottom: string;
@@ -348,10 +353,14 @@ declare const componentOverrides: {
348
353
  };
349
354
  };
350
355
  MuiToggleButtonGroup: {
351
- variants: {
352
- props: Partial<import("@mui/material/ToggleButtonGroup/ToggleButtonGroup").ToggleButtonGroupProps>;
353
- style: import("@mui/system").CSSInterpolation;
354
- }[];
356
+ styleOverrides: {
357
+ root: {
358
+ variants: {
359
+ props: Partial<import("@mui/material/ToggleButtonGroup/ToggleButtonGroup").ToggleButtonGroupProps>;
360
+ style: import("@mui/system").CSSObject;
361
+ }[];
362
+ };
363
+ };
355
364
  };
356
365
  MuiSwitch: {
357
366
  styleOverrides: {
@@ -485,12 +494,8 @@ declare const componentOverrides: {
485
494
  };
486
495
  MuiTabs: {
487
496
  defaultProps: import("../Components").DsTabsProps;
488
- variants: {
489
- props: Partial<import("../Components").DsTabsProps>;
490
- style: import("@mui/system").CSSInterpolation;
491
- }[];
492
497
  styleOverrides: {
493
- root: import("@mui/system").CSSInterpolation;
498
+ root: import("@mui/system").CSSObject;
494
499
  indicator: {
495
500
  height: string;
496
501
  borderRadius: string;
@@ -610,19 +615,6 @@ declare const componentOverrides: {
610
615
  };
611
616
  MuiSlider: {
612
617
  defaultProps: import("../Components").DsSliderProps;
613
- variants: {
614
- props: Partial<import("../Components").DsSliderProps>;
615
- style: {
616
- '&:not(.Mui-disabled, :has(.MuiSlider-thumb:hover), :has(.Mui-focusVisible))': {
617
- '> .MuiSlider-thumb, > .MuiSlider-mark, > .MuiSlider-track': {
618
- backgroundColor: string;
619
- };
620
- '> .MuiSlider-markActive': {
621
- backgroundColor: string;
622
- };
623
- };
624
- };
625
- }[];
626
618
  styleOverrides: {
627
619
  root: {
628
620
  '&.Mui-disabled': {
@@ -630,6 +622,19 @@ declare const componentOverrides: {
630
622
  color: string;
631
623
  };
632
624
  };
625
+ variants: {
626
+ props: Partial<import("../Components").DsSliderProps>;
627
+ style: {
628
+ '&:not(.Mui-disabled, :has(.MuiSlider-thumb:hover), :has(.Mui-focusVisible))': {
629
+ '> .MuiSlider-thumb, > .MuiSlider-mark, > .MuiSlider-track': {
630
+ backgroundColor: string;
631
+ };
632
+ '> .MuiSlider-markActive': {
633
+ backgroundColor: string;
634
+ };
635
+ };
636
+ };
637
+ }[];
633
638
  };
634
639
  track: {
635
640
  border: string;
@@ -805,13 +810,9 @@ declare const componentOverrides: {
805
810
  };
806
811
  MuiInputBase: {
807
812
  defaultProps: import("../Components").DsInputBaseProps;
808
- variants: {
809
- props: Partial<import("../Components").DsInputBaseProps>;
810
- style: import("@mui/system").CSSInterpolation;
811
- }[];
812
813
  styleOverrides: {
813
- root: import("@mui/system").CSSInterpolation;
814
- input: import("@mui/system").CSSInterpolation;
814
+ root: import("@mui/system").CSSObject;
815
+ input: import("@mui/system").CSSObject;
815
816
  };
816
817
  };
817
818
  MuiInputAdornment: {
@@ -1064,15 +1065,15 @@ declare const componentOverrides: {
1064
1065
  styleOverrides: {
1065
1066
  root: {
1066
1067
  borderColor: string;
1068
+ variants: {
1069
+ props: Partial<import("../Components").DsDividerProps>;
1070
+ style: import("@mui/system").CSSObject;
1071
+ }[];
1067
1072
  };
1068
1073
  light: {
1069
1074
  borderColor: string;
1070
1075
  };
1071
1076
  };
1072
- variants: {
1073
- props: Partial<import("../Components").DsDividerProps>;
1074
- style: import("@mui/system").CSSInterpolation;
1075
- }[];
1076
1077
  };
1077
1078
  MuiDialogTitle: {
1078
1079
  styleOverrides: {
@@ -1120,11 +1121,14 @@ declare const componentOverrides: {
1120
1121
  };
1121
1122
  MuiChip: {
1122
1123
  defaultProps: import("../Components").DsChipProps;
1123
- variants: {
1124
- props: Partial<import("../Components").DsChipProps>;
1125
- style: import("@mui/system").CSSInterpolation;
1126
- }[];
1127
- styleOverrides: {};
1124
+ styleOverrides: {
1125
+ root: {
1126
+ variants: {
1127
+ props: Partial<import("../Components").DsChipProps>;
1128
+ style: import("@mui/system").CSSObject;
1129
+ }[];
1130
+ };
1131
+ };
1128
1132
  };
1129
1133
  MuiCheckbox: {
1130
1134
  defaultProps: import("../Components").DsCheckboxProps;
@@ -1185,26 +1189,30 @@ declare const componentOverrides: {
1185
1189
  };
1186
1190
  };
1187
1191
  };
1192
+ MuiButtonBase: {
1193
+ defaultProps: import("../Components").DsButtonBaseProps;
1194
+ styleOverrides: {
1195
+ root: {
1196
+ fontFamily: string;
1197
+ };
1198
+ };
1199
+ };
1188
1200
  MuiButton: {
1189
1201
  defaultProps: import("../Components").DsButtonProps;
1190
- variants: {
1191
- props: Partial<import("../Components").DsButtonProps>;
1192
- style: import("@mui/system").CSSInterpolation;
1193
- }[];
1194
1202
  styleOverrides: {
1195
- root: import("@mui/system").CSSInterpolation;
1196
- contained: import("@mui/system").CSSInterpolation;
1197
- sizeLarge: import("@mui/system").CSSInterpolation;
1198
- sizeMedium: import("@mui/system").CSSInterpolation;
1199
- sizeSmall: import("@mui/system").CSSInterpolation;
1200
- icon: import("@mui/system").CSSInterpolation;
1203
+ root: import("@mui/system").CSSObject;
1204
+ contained: import("@mui/system").CSSObject;
1205
+ sizeLarge: import("@mui/system").CSSObject;
1206
+ sizeMedium: import("@mui/system").CSSObject;
1207
+ sizeSmall: import("@mui/system").CSSObject;
1208
+ icon: import("@mui/system").CSSObject;
1201
1209
  startIcon: {
1202
1210
  marginRight: string;
1203
1211
  };
1204
1212
  endIcon: {
1205
1213
  marginLeft: string;
1206
1214
  };
1207
- text: import("@mui/system").CSSInterpolation;
1215
+ text: import("@mui/system").CSSObject;
1208
1216
  };
1209
1217
  };
1210
1218
  MuiBreadcrumbs: {
@@ -1284,57 +1292,61 @@ declare const componentOverrides: {
1284
1292
  };
1285
1293
  MuiAvatar: {
1286
1294
  defaultProps: import("../Components").DsAvatarProps;
1287
- variants: ({
1288
- props: Partial<import("../Components").DsAvatarProps>;
1289
- style: {
1290
- borderWidth: string;
1291
- borderStyle: string;
1292
- borderColor: string;
1293
- color: string;
1294
- backgroundColor: string;
1295
- fontWeight?: undefined;
1296
- fontSize?: undefined;
1297
- lineHeight?: undefined;
1298
- letterSpacing?: undefined;
1299
- width?: undefined;
1300
- height?: undefined;
1301
- '> .MuiIcon-root'?: undefined;
1302
- };
1303
- } | {
1304
- props: Partial<import("../Components").DsAvatarProps>;
1305
- style: {
1306
- color: string;
1307
- backgroundColor: string;
1308
- borderWidth?: undefined;
1309
- borderStyle?: undefined;
1310
- borderColor?: undefined;
1311
- fontWeight?: undefined;
1312
- fontSize?: undefined;
1313
- lineHeight?: undefined;
1314
- letterSpacing?: undefined;
1315
- width?: undefined;
1316
- height?: undefined;
1317
- '> .MuiIcon-root'?: undefined;
1318
- };
1319
- } | {
1320
- props: Partial<import("../Components").DsAvatarProps>;
1321
- style: {
1322
- fontWeight: string;
1323
- fontSize: string;
1324
- lineHeight: string;
1325
- letterSpacing: string;
1326
- width: string;
1327
- height: string;
1328
- '> .MuiIcon-root': {
1329
- fontSize: string;
1330
- };
1331
- borderWidth?: undefined;
1332
- borderStyle?: undefined;
1333
- borderColor?: undefined;
1334
- color?: undefined;
1335
- backgroundColor?: undefined;
1295
+ styleOverrides: {
1296
+ root: {
1297
+ variants: ({
1298
+ props: Partial<import("../Components").DsAvatarProps>;
1299
+ style: {
1300
+ borderWidth: string;
1301
+ borderStyle: string;
1302
+ borderColor: string;
1303
+ color: string;
1304
+ backgroundColor: string;
1305
+ fontWeight?: undefined;
1306
+ fontSize?: undefined;
1307
+ lineHeight?: undefined;
1308
+ letterSpacing?: undefined;
1309
+ width?: undefined;
1310
+ height?: undefined;
1311
+ '> .MuiIcon-root'?: undefined;
1312
+ };
1313
+ } | {
1314
+ props: Partial<import("../Components").DsAvatarProps>;
1315
+ style: {
1316
+ color: string;
1317
+ backgroundColor: string;
1318
+ borderWidth?: undefined;
1319
+ borderStyle?: undefined;
1320
+ borderColor?: undefined;
1321
+ fontWeight?: undefined;
1322
+ fontSize?: undefined;
1323
+ lineHeight?: undefined;
1324
+ letterSpacing?: undefined;
1325
+ width?: undefined;
1326
+ height?: undefined;
1327
+ '> .MuiIcon-root'?: undefined;
1328
+ };
1329
+ } | {
1330
+ props: Partial<import("../Components").DsAvatarProps>;
1331
+ style: {
1332
+ fontWeight: string;
1333
+ fontSize: string;
1334
+ lineHeight: string;
1335
+ letterSpacing: string;
1336
+ width: string;
1337
+ height: string;
1338
+ '> .MuiIcon-root': {
1339
+ fontSize: string;
1340
+ };
1341
+ borderWidth?: undefined;
1342
+ borderStyle?: undefined;
1343
+ borderColor?: undefined;
1344
+ color?: undefined;
1345
+ backgroundColor?: undefined;
1346
+ };
1347
+ })[];
1336
1348
  };
1337
- })[];
1349
+ };
1338
1350
  };
1339
1351
  MuiAutocomplete: {
1340
1352
  defaultProps: import("../Components").DsAutocompleteProps<any, boolean, boolean, boolean>;
@@ -1,5 +1,32 @@
1
1
  import { DsColor, DsPalette } from '../../Types';
2
2
  export default function getDarkModeColorScheme(colorPalette: DsPalette): {
3
3
  darkDsColor: DsColor;
4
- darkPalette: import("@mui/material").PaletteOptions;
4
+ darkPalette: (import("@mui/material").PaletteOptions & {
5
+ background?: Partial<import("@mui/material/styles/createThemeFoundation").PaletteBackgroundChannel>;
6
+ common?: Partial<import("@mui/material").PaletteCommonChannel>;
7
+ primary?: Partial<import("@mui/material").PaletteColorChannel>;
8
+ secondary?: Partial<import("@mui/material").PaletteColorChannel>;
9
+ error?: Partial<import("@mui/material").PaletteColorChannel>;
10
+ info?: Partial<import("@mui/material").PaletteColorChannel>;
11
+ success?: Partial<import("@mui/material").PaletteColorChannel>;
12
+ text?: Partial<import("@mui/material").PaletteTextChannel>;
13
+ dividerChannel?: Partial<string>;
14
+ action?: Partial<import("@mui/material").PaletteActionChannel>;
15
+ Alert?: Partial<import("@mui/material").PaletteAlert>;
16
+ AppBar?: Partial<import("@mui/material").PaletteAppBar>;
17
+ Avatar?: Partial<import("@mui/material").PaletteAvatar>;
18
+ Button?: Partial<import("@mui/material/styles/createThemeFoundation").PaletteButton>;
19
+ Chip?: Partial<import("@mui/material").PaletteChip>;
20
+ FilledInput?: Partial<import("@mui/material").PaletteFilledInput>;
21
+ LinearProgress?: Partial<import("@mui/material").PaletteLinearProgress>;
22
+ Skeleton?: Partial<import("@mui/material").PaletteSkeleton>;
23
+ Slider?: Partial<import("@mui/material").PaletteSlider>;
24
+ SnackbarContent?: Partial<import("@mui/material").PaletteSnackbarContent>;
25
+ SpeedDialAction?: Partial<import("@mui/material").PaletteSpeedDialAction>;
26
+ StepConnector?: Partial<import("@mui/material").PaletteStepConnector>;
27
+ StepContent?: Partial<import("@mui/material").PaletteStepContent>;
28
+ Switch?: Partial<import("@mui/material").PaletteSwitch>;
29
+ TableCell?: Partial<import("@mui/material").PaletteTableCell>;
30
+ Tooltip?: Partial<import("@mui/material").PaletteTooltip>;
31
+ }) | undefined;
5
32
  };
@@ -1,3 +1,3 @@
1
- import { PaletteOptions } from '@mui/material';
2
1
  import { DsColor, DsPalette } from '../../Types';
3
- export declare function getPalette(colorPalette: DsPalette, dsColor: DsColor): PaletteOptions;
2
+ import { DsColorSystemOptions } from '../../Types/DsColorScheme';
3
+ export declare function getPalette(colorPalette: DsPalette, dsColor: DsColor): DsColorSystemOptions['palette'];
@@ -4,7 +4,9 @@ export function getPalette(colorPalette, dsColor) {
4
4
  common: {
5
5
  black: primaryBlack,
6
6
  white: primaryWhite,
7
- blackLight: primaryBlackLight
7
+ blackLight: primaryBlackLight,
8
+ background: dsColor.surfaceBackground,
9
+ onBackground: dsColor.typoPrimary,
8
10
  },
9
11
  primary: {
10
12
  main: dsColor.actionPrimary,
@@ -1,5 +1,32 @@
1
1
  import { DsColor, DsPalette } from '../../Types';
2
2
  export default function getHighContrastModeColorScheme(colorPalette: DsPalette): {
3
3
  highContrastDsColor: DsColor;
4
- highContrastPalette: import("@mui/material").PaletteOptions;
4
+ highContrastPalette: (import("@mui/material").PaletteOptions & {
5
+ background?: Partial<import("@mui/material/styles/createThemeFoundation").PaletteBackgroundChannel>;
6
+ common?: Partial<import("@mui/material").PaletteCommonChannel>;
7
+ primary?: Partial<import("@mui/material").PaletteColorChannel>;
8
+ secondary?: Partial<import("@mui/material").PaletteColorChannel>;
9
+ error?: Partial<import("@mui/material").PaletteColorChannel>;
10
+ info?: Partial<import("@mui/material").PaletteColorChannel>;
11
+ success?: Partial<import("@mui/material").PaletteColorChannel>;
12
+ text?: Partial<import("@mui/material").PaletteTextChannel>;
13
+ dividerChannel?: Partial<string>;
14
+ action?: Partial<import("@mui/material").PaletteActionChannel>;
15
+ Alert?: Partial<import("@mui/material").PaletteAlert>;
16
+ AppBar?: Partial<import("@mui/material").PaletteAppBar>;
17
+ Avatar?: Partial<import("@mui/material").PaletteAvatar>;
18
+ Button?: Partial<import("@mui/material/styles/createThemeFoundation").PaletteButton>;
19
+ Chip?: Partial<import("@mui/material").PaletteChip>;
20
+ FilledInput?: Partial<import("@mui/material").PaletteFilledInput>;
21
+ LinearProgress?: Partial<import("@mui/material").PaletteLinearProgress>;
22
+ Skeleton?: Partial<import("@mui/material").PaletteSkeleton>;
23
+ Slider?: Partial<import("@mui/material").PaletteSlider>;
24
+ SnackbarContent?: Partial<import("@mui/material").PaletteSnackbarContent>;
25
+ SpeedDialAction?: Partial<import("@mui/material").PaletteSpeedDialAction>;
26
+ StepConnector?: Partial<import("@mui/material").PaletteStepConnector>;
27
+ StepContent?: Partial<import("@mui/material").PaletteStepContent>;
28
+ Switch?: Partial<import("@mui/material").PaletteSwitch>;
29
+ TableCell?: Partial<import("@mui/material").PaletteTableCell>;
30
+ Tooltip?: Partial<import("@mui/material").PaletteTooltip>;
31
+ }) | undefined;
5
32
  };
@@ -2,5 +2,32 @@ import { PaletteOptions } from '@mui/material';
2
2
  import { DsColor, DsPalette } from '../../Types';
3
3
  export default function getLightModeColorScheme(colorPalette: DsPalette): {
4
4
  lightDsColor: DsColor;
5
- lightPalette: PaletteOptions;
5
+ lightPalette: (PaletteOptions & {
6
+ background?: Partial<import("@mui/material/styles/createThemeFoundation").PaletteBackgroundChannel>;
7
+ common?: Partial<import("@mui/material").PaletteCommonChannel>;
8
+ primary?: Partial<import("@mui/material").PaletteColorChannel>;
9
+ secondary?: Partial<import("@mui/material").PaletteColorChannel>;
10
+ error?: Partial<import("@mui/material").PaletteColorChannel>;
11
+ info?: Partial<import("@mui/material").PaletteColorChannel>;
12
+ success?: Partial<import("@mui/material").PaletteColorChannel>;
13
+ text?: Partial<import("@mui/material").PaletteTextChannel>;
14
+ dividerChannel?: Partial<string>;
15
+ action?: Partial<import("@mui/material").PaletteActionChannel>;
16
+ Alert?: Partial<import("@mui/material").PaletteAlert>;
17
+ AppBar?: Partial<import("@mui/material").PaletteAppBar>;
18
+ Avatar?: Partial<import("@mui/material").PaletteAvatar>;
19
+ Button?: Partial<import("@mui/material/styles/createThemeFoundation").PaletteButton>;
20
+ Chip?: Partial<import("@mui/material").PaletteChip>;
21
+ FilledInput?: Partial<import("@mui/material").PaletteFilledInput>;
22
+ LinearProgress?: Partial<import("@mui/material").PaletteLinearProgress>;
23
+ Skeleton?: Partial<import("@mui/material").PaletteSkeleton>;
24
+ Slider?: Partial<import("@mui/material").PaletteSlider>;
25
+ SnackbarContent?: Partial<import("@mui/material").PaletteSnackbarContent>;
26
+ SpeedDialAction?: Partial<import("@mui/material").PaletteSpeedDialAction>;
27
+ StepConnector?: Partial<import("@mui/material").PaletteStepConnector>;
28
+ StepContent?: Partial<import("@mui/material").PaletteStepContent>;
29
+ Switch?: Partial<import("@mui/material").PaletteSwitch>;
30
+ TableCell?: Partial<import("@mui/material").PaletteTableCell>;
31
+ Tooltip?: Partial<import("@mui/material").PaletteTooltip>;
32
+ }) | undefined;
6
33
  };
@@ -1,4 +1,4 @@
1
- import { experimental_extendTheme as extendTheme, responsiveFontSizes } from '@mui/material/styles';
1
+ import { extendTheme, responsiveFontSizes } from '@mui/material/styles';
2
2
  import getColorScheme from './getColorScheme';
3
3
  import getTypography from './getTypography';
4
4
  import breakpoints from './breakpoints';
@@ -25,6 +25,7 @@ export function getTheme(palette = PALETTE, fontFamilyName = FONT_FAMILY_NAME, t
25
25
  });
26
26
  const cssVarsThemeOptions = {
27
27
  cssVarPrefix: '',
28
+ colorSchemeSelector: 'data',
28
29
  components: componentOverrides,
29
30
  colorSchemes,
30
31
  shape: { borderRadius: 2 },
@@ -1,4 +1,3 @@
1
- export { default as StyledEngineProvider } from '@mui/material/StyledEngineProvider';
2
1
  export { default as darkScrollbar } from '@mui/material/darkScrollbar';
3
2
  export { default as generateUtilityClass } from '@mui/material/generateUtilityClass';
4
3
  export { default as generateUtilityClasses } from '@mui/material/generateUtilityClasses';
@@ -6,4 +5,3 @@ export { default as useAutocomplete } from '@mui/material/useAutocomplete';
6
5
  export { default as useMediaQuery } from '@mui/material/useMediaQuery';
7
6
  export { default as usePagination } from '@mui/material/usePagination';
8
7
  export { default as useScrollTrigger } from '@mui/material/useScrollTrigger';
9
- export { default as useTouchRipple } from '@mui/material/useTouchRipple';
package/dist/material.js CHANGED
@@ -1,4 +1,3 @@
1
- export { default as StyledEngineProvider } from '@mui/material/StyledEngineProvider';
2
1
  export { default as darkScrollbar } from '@mui/material/darkScrollbar';
3
2
  export { default as generateUtilityClass } from '@mui/material/generateUtilityClass';
4
3
  export { default as generateUtilityClasses } from '@mui/material/generateUtilityClasses';
@@ -6,4 +5,3 @@ export { default as useAutocomplete } from '@mui/material/useAutocomplete';
6
5
  export { default as useMediaQuery } from '@mui/material/useMediaQuery';
7
6
  export { default as usePagination } from '@mui/material/usePagination';
8
7
  export { default as useScrollTrigger } from '@mui/material/useScrollTrigger';
9
- export { default as useTouchRipple } from '@mui/material/useTouchRipple';
@@ -12,18 +12,15 @@ export { ChartsAxisHighlight as DsChartsAxisHighlight } from '@mui/x-charts';
12
12
  export { ChartsClipPath as DsChartsClipPath } from '@mui/x-charts';
13
13
  export { ChartsGrid as DsChartsGrid } from '@mui/x-charts';
14
14
  export { ChartsLegend as DsChartsLegend } from '@mui/x-charts';
15
- export { ChartsOnAxisClickHandler as DsChartsOnAxisClickHandler } from '@mui/x-charts';
16
15
  export { ChartsReferenceLine as DsChartsReferenceLine } from '@mui/x-charts';
17
16
  export { ChartsSurface as DsChartsSurface } from '@mui/x-charts';
18
17
  export { ChartsText as DsChartsText } from '@mui/x-charts';
19
18
  export { ChartsTooltip as DsChartsTooltip } from '@mui/x-charts';
20
- export { ChartsVoronoiHandler as DsChartsVoronoiHandler } from '@mui/x-charts';
21
19
  export { ChartsXAxis as DsChartsXAxis } from '@mui/x-charts';
22
20
  export { ChartsYAxis as DsChartsYAxis } from '@mui/x-charts';
23
21
  export { ContinuousColorLegend as DsContinuousColorLegend } from '@mui/x-charts';
24
- export { DefaultChartsAxisTooltipContent as DsDefaultChartsAxisTooltipContent } from '@mui/x-charts';
25
- export { DefaultChartsItemTooltipContent as DsDefaultChartsItemTooltipContent } from '@mui/x-charts';
26
- export { DefaultChartsLegend as DsDefaultChartsLegend } from '@mui/x-charts';
22
+ export { ChartsAxisTooltipContent as DsChartsAxisTooltipContent } from '@mui/x-charts';
23
+ export { ChartsItemTooltipContent as DsChartsItemTooltipContent } from '@mui/x-charts';
27
24
  export { Gauge as DsGauge } from '@mui/x-charts';
28
25
  export { GaugeContainer as DsGaugeContainer } from '@mui/x-charts';
29
26
  export { LineChart as DsLineChart } from '@mui/x-charts';
@@ -40,7 +37,6 @@ export { PieArcPlot as DsPieArcPlot } from '@mui/x-charts';
40
37
  export { PiecewiseColorLegend as DsPiecewiseColorLegend } from '@mui/x-charts';
41
38
  export { PieChart as DsPieChart } from '@mui/x-charts';
42
39
  export { PiePlot as DsPiePlot } from '@mui/x-charts';
43
- export { ResponsiveChartContainer as DsResponsiveChartContainer } from '@mui/x-charts';
44
40
  export { Scatter as DsScatter } from '@mui/x-charts';
45
41
  export { ScatterChart as DsScatterChart } from '@mui/x-charts';
46
42
  export { ScatterPlot as DsScatterPlot } from '@mui/x-charts';
@@ -12,18 +12,15 @@ export { ChartsAxisHighlight as DsChartsAxisHighlight } from '@mui/x-charts';
12
12
  export { ChartsClipPath as DsChartsClipPath } from '@mui/x-charts';
13
13
  export { ChartsGrid as DsChartsGrid } from '@mui/x-charts';
14
14
  export { ChartsLegend as DsChartsLegend } from '@mui/x-charts';
15
- export { ChartsOnAxisClickHandler as DsChartsOnAxisClickHandler } from '@mui/x-charts';
16
15
  export { ChartsReferenceLine as DsChartsReferenceLine } from '@mui/x-charts';
17
16
  export { ChartsSurface as DsChartsSurface } from '@mui/x-charts';
18
17
  export { ChartsText as DsChartsText } from '@mui/x-charts';
19
18
  export { ChartsTooltip as DsChartsTooltip } from '@mui/x-charts';
20
- export { ChartsVoronoiHandler as DsChartsVoronoiHandler } from '@mui/x-charts';
21
19
  export { ChartsXAxis as DsChartsXAxis } from '@mui/x-charts';
22
20
  export { ChartsYAxis as DsChartsYAxis } from '@mui/x-charts';
23
21
  export { ContinuousColorLegend as DsContinuousColorLegend } from '@mui/x-charts';
24
- export { DefaultChartsAxisTooltipContent as DsDefaultChartsAxisTooltipContent } from '@mui/x-charts';
25
- export { DefaultChartsItemTooltipContent as DsDefaultChartsItemTooltipContent } from '@mui/x-charts';
26
- export { DefaultChartsLegend as DsDefaultChartsLegend } from '@mui/x-charts';
22
+ export { ChartsAxisTooltipContent as DsChartsAxisTooltipContent } from '@mui/x-charts';
23
+ export { ChartsItemTooltipContent as DsChartsItemTooltipContent } from '@mui/x-charts';
27
24
  export { Gauge as DsGauge } from '@mui/x-charts';
28
25
  export { GaugeContainer as DsGaugeContainer } from '@mui/x-charts';
29
26
  export { LineChart as DsLineChart } from '@mui/x-charts';
@@ -40,7 +37,6 @@ export { PieArcPlot as DsPieArcPlot } from '@mui/x-charts';
40
37
  export { PiecewiseColorLegend as DsPiecewiseColorLegend } from '@mui/x-charts';
41
38
  export { PieChart as DsPieChart } from '@mui/x-charts';
42
39
  export { PiePlot as DsPiePlot } from '@mui/x-charts';
43
- export { ResponsiveChartContainer as DsResponsiveChartContainer } from '@mui/x-charts';
44
40
  export { Scatter as DsScatter } from '@mui/x-charts';
45
41
  export { ScatterChart as DsScatterChart } from '@mui/x-charts';
46
42
  export { ScatterPlot as DsScatterPlot } from '@mui/x-charts';