asma-ui-core 3.34.0 → 3.35.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.
- package/dist/asma-ui-core.css +1 -1
- package/dist/components/data-display/badge/StyledBadge.js +29 -24
- package/dist/components/data-display/chip/StyledChip.js +45 -60
- package/dist/components/data-display/interactive-chip/StyledInteractiveChip.js +32 -38
- package/dist/components/data-display/tooltip/StyledTooltip.js +50 -33
- package/dist/components/data-display/typography/StyledTypography.js +62 -4
- package/dist/components/feedback/dialog/StyledDialog.js +70 -50
- package/dist/components/feedback/dialog/StyledDialog.module.js +2 -9
- package/dist/components/feedback/dialog/StyledDialogActions.js +16 -16
- package/dist/components/feedback/dialog/StyledDialogContent.js +17 -14
- package/dist/components/feedback/dialog/StyledDialogTitle.js +18 -13
- package/dist/components/feedback/minimizable-dialog/MinimizableDialog.js +56 -57
- package/dist/components/feedback/snack-bar/StyledAlert.js +72 -14
- package/dist/components/feedback/snack-bar/StyledSnackbar.js +34 -8
- package/dist/components/feedback/snack-bar/components/StyledDefaultSnackbar.js +33 -34
- package/dist/components/inputs/checkbox/base-ui/StyledCheckbox.js +55 -58
- package/dist/components/inputs/checkbox/base-ui/StyledCheckbox.module.js +12 -12
- package/dist/components/inputs/dynamic-select/components/DynamicInteractiveChipGroup.js +1 -1
- package/dist/components/inputs/dynamic-select/components/DynamicSelectAutocomplete.js +1 -1
- package/dist/components/inputs/field-styles.js +6 -0
- package/dist/components/inputs/input-field/StyledInputField.js +104 -81
- package/dist/components/inputs/input-field/StyledInputField.module.js +4 -0
- package/dist/components/inputs/radio-button/base-ui/RadioGroupContext.js +6 -0
- package/dist/components/inputs/radio-button/base-ui/StyledRadio.js +40 -29
- package/dist/components/inputs/radio-button/base-ui/StyledRadio.module.js +10 -10
- package/dist/components/inputs/radio-button/base-ui/StyledRadioGroup.js +35 -23
- package/dist/components/inputs/select/StyledSelect.js +124 -45
- package/dist/components/inputs/select/StyledSelectItem.js +19 -23
- package/dist/components/inputs/select-autocomplete/StyledSelectAutocomplete.js +181 -151
- package/dist/components/inputs/slider/StyledSlider.js +78 -52
- package/dist/components/inputs/slider/StyledSlider.module.js +10 -0
- package/dist/components/inputs/switch/base-ui/StyledSwitch.js +44 -39
- package/dist/components/miscellaneous/FormControlContext.js +6 -0
- package/dist/components/miscellaneous/StyledFormControl.js +39 -21
- package/dist/components/miscellaneous/StyledFormControlLabel.js +27 -16
- package/dist/components/miscellaneous/StyledFormGroup.js +16 -4
- package/dist/components/miscellaneous/StyledFormHelperText.js +12 -4
- package/dist/components/miscellaneous/StyledInputLabel.js +20 -4
- package/dist/components/mui-compat/Avatar.js +29 -0
- package/dist/components/mui-compat/ClickAwayListener.js +29 -0
- package/dist/components/mui-compat/Container.js +24 -0
- package/dist/components/mui-compat/Fade.js +29 -0
- package/dist/components/mui-compat/Fade.module.js +9 -0
- package/dist/components/mui-compat/FormLabel.js +22 -0
- package/dist/components/mui-compat/Paper.js +44 -0
- package/dist/components/mui-compat/Popper.js +35 -0
- package/dist/components/mui-compat/Skeleton.js +26 -0
- package/dist/components/mui-compat/Stack.js +24 -0
- package/dist/components/navigation/drawer/StyledDrawer.js +42 -4
- package/dist/components/navigation/listbox/Listbox.js +7 -7
- package/dist/components/navigation/menu/StyledMenu.js +27 -11
- package/dist/components/navigation/menu/StyledMenuItem.js +16 -18
- package/dist/components/navigation/menu/StyledMenuList.js +32 -4
- package/dist/components/navigation/tabs/StyledTab.js +25 -13
- package/dist/components/navigation/tabs/StyledTabs.js +112 -64
- package/dist/components/navigation/tabs/TabsContext.js +6 -0
- package/dist/components/utils/accordion/base-ui/AccordionContext.js +10 -0
- package/dist/components/utils/accordion/base-ui/StyledAccordion.js +28 -21
- package/dist/components/utils/accordion/base-ui/StyledAccordion.module.js +7 -7
- package/dist/components/utils/accordion/base-ui/StyledAccordionDetails.js +28 -14
- package/dist/components/utils/accordion/base-ui/StyledAccordionSummary.js +31 -27
- package/dist/components/utils/popover/StyledPopover.js +43 -15
- package/dist/datetime/components/date-picker/StyledDatePicker.js +6 -6
- package/dist/datetime/components/date-picker/components/BaseDatePickerInput.js +1 -1
- package/dist/datetime/components/date-picker/components/HelperTextWithTooltip.js +6 -6
- package/dist/datetime/components/date-picker/components/StyledCalendarPicker.js +11 -11
- package/dist/datetime/components/date-picker/components/StyledCalendarPickerFooter.js +13 -14
- package/dist/datetime/components/date-picker/components/StyledCalendarPickerSelectMonth.js +14 -14
- package/dist/datetime/components/date-picker/components/StyledCalendarPickerSelectYear.js +6 -6
- package/dist/datetime/components/date-picker/components/StyledDayPicker.js +4 -5
- package/dist/datetime/components/date-picker/hooks/useDatePickerMask.js +4 -4
- package/dist/datetime/components/time-picker/StyledTimePicker.js +25 -25
- package/dist/datetime/components/time-picker/TimePickerInput.js +15 -16
- package/dist/datetime/components/time-picker/TimePickerPopper.js +21 -19
- package/dist/datetime/helpers/cn.js +4 -5
- package/dist/helpers/arrays.js +4 -0
- package/dist/helpers/cn.js +4 -5
- package/dist/helpers/inputMask.js +45 -0
- package/dist/helpers/sx.js +46 -0
- package/dist/index.js +183 -175
- package/dist/src/api-surface.test.d.ts +1 -0
- package/dist/src/components/data-display/badge/StyledBadge.d.ts +26 -2
- package/dist/src/components/data-display/chip/StyledChip.d.ts +39 -5
- package/dist/src/components/data-display/interactive-chip/StyledInteractiveChip.d.ts +11 -4
- package/dist/src/components/data-display/tooltip/StyledTooltip.d.ts +36 -2
- package/dist/src/components/data-display/typography/StyledTypography.d.ts +19 -1
- package/dist/src/components/feedback/dialog/StyledDialog.d.ts +37 -4
- package/dist/src/components/feedback/dialog/StyledDialogActions.d.ts +12 -2
- package/dist/src/components/feedback/dialog/StyledDialogContent.d.ts +12 -2
- package/dist/src/components/feedback/dialog/StyledDialogTitle.d.ts +10 -2
- package/dist/src/components/feedback/snack-bar/SnackbarProvider.d.ts +1 -1
- package/dist/src/components/feedback/snack-bar/StyledAlert.d.ts +24 -2
- package/dist/src/components/feedback/snack-bar/StyledAlertSnackbar.d.ts +1 -1
- package/dist/src/components/feedback/snack-bar/StyledSnackbar.d.ts +21 -2
- package/dist/src/components/feedback/snack-bar/components/StyledDefaultSnackbar.d.ts +1 -1
- package/dist/src/components/feedback/snack-bar/components/StyledInfoSnackbar.d.ts +1 -1
- package/dist/src/components/feedback/snack-bar/components/types.d.ts +1 -1
- package/dist/src/components/inputs/checkbox/base-ui/StyledCheckbox.d.ts +9 -4
- package/dist/src/components/inputs/dynamic-select/types.d.ts +2 -2
- package/dist/src/components/inputs/field-styles.d.ts +22 -0
- package/dist/src/components/inputs/input-field/StyledInputField.d.ts +67 -11
- package/dist/src/components/inputs/input-field/index.d.ts +1 -1
- package/dist/src/components/inputs/radio-button/base-ui/RadioGroupContext.d.ts +10 -0
- package/dist/src/components/inputs/radio-button/base-ui/StyledRadio.d.ts +20 -5
- package/dist/src/components/inputs/radio-button/base-ui/StyledRadioGroup.d.ts +24 -7
- package/dist/src/components/inputs/select/StyledSelect.d.ts +39 -16
- package/dist/src/components/inputs/select/StyledSelectItem.d.ts +14 -2
- package/dist/src/components/inputs/select/index.d.ts +0 -1
- package/dist/src/components/inputs/select-autocomplete/StyledSelectAutocomplete.d.ts +88 -17
- package/dist/src/components/inputs/slider/StyledSlider.d.ts +55 -3
- package/dist/src/components/inputs/switch/base-ui/StyledSwitch.d.ts +20 -4
- package/dist/src/components/miscellaneous/FormControlContext.d.ts +14 -0
- package/dist/src/components/miscellaneous/StyledFormControl.d.ts +22 -2
- package/dist/src/components/miscellaneous/StyledFormControlLabel.d.ts +21 -2
- package/dist/src/components/miscellaneous/StyledFormGroup.d.ts +11 -2
- package/dist/src/components/miscellaneous/StyledFormHelperText.d.ts +12 -2
- package/dist/src/components/miscellaneous/StyledInputLabel.d.ts +20 -2
- package/dist/src/components/mui-compat/Avatar.d.ts +6 -0
- package/dist/src/components/mui-compat/ClickAwayListener.d.ts +19 -0
- package/dist/src/components/mui-compat/Container.d.ts +6 -0
- package/dist/src/components/mui-compat/Fade.d.ts +21 -0
- package/dist/src/components/mui-compat/FormLabel.d.ts +6 -0
- package/dist/src/components/mui-compat/Paper.d.ts +6 -0
- package/dist/src/components/mui-compat/Popper.d.ts +29 -0
- package/dist/src/components/mui-compat/Skeleton.d.ts +7 -0
- package/dist/src/components/mui-compat/Stack.d.ts +7 -0
- package/dist/src/components/mui-compat/index.d.ts +9 -0
- package/dist/src/components/mui-compat/types.d.ts +46 -0
- package/dist/src/components/navigation/drawer/StyledDrawer.d.ts +21 -2
- package/dist/src/components/navigation/menu/StyledMenu.d.ts +25 -2
- package/dist/src/components/navigation/menu/StyledMenuItem.d.ts +21 -2
- package/dist/src/components/navigation/menu/StyledMenuList.d.ts +16 -2
- package/dist/src/components/navigation/menu/index.d.ts +0 -1
- package/dist/src/components/navigation/tabs/StyledTab.d.ts +17 -3
- package/dist/src/components/navigation/tabs/StyledTabs.d.ts +16 -7
- package/dist/src/components/navigation/tabs/TabsContext.d.ts +11 -0
- package/dist/src/components/utils/accordion/base-ui/AccordionContext.d.ts +10 -0
- package/dist/src/components/utils/accordion/base-ui/StyledAccordion.d.ts +9 -3
- package/dist/src/components/utils/accordion/base-ui/StyledAccordionDetails.d.ts +5 -0
- package/dist/src/components/utils/accordion/base-ui/StyledAccordionSummary.d.ts +8 -4
- package/dist/src/components/utils/copy-wrapper/CopyWrapper.d.ts +1 -1
- package/dist/src/components/utils/filter-menu/StyledFilterMenu.d.ts +2 -2
- package/dist/src/components/utils/popover/StyledPopover.d.ts +31 -2
- package/dist/src/datetime/components/date-picker/components/StyledCalendarPicker.d.ts +1 -1
- package/dist/src/datetime/components/date-picker/components/StyledDayPicker.d.ts +1 -1
- package/dist/src/datetime/components/date-picker/hooks/useDatePickerMask.d.ts +1 -2
- package/dist/src/datetime/components/time-picker/TimePickerInput.d.ts +1 -1
- package/dist/src/datetime/components/time-picker/TimePickerPopper.d.ts +1 -1
- package/dist/src/datetime/components/time-picker/types.d.ts +1 -2
- package/dist/src/datetime/shared-components/StyledFormControl.d.ts +1 -2
- package/dist/src/datetime/shared-components/StyledInputField.d.ts +1 -12
- package/dist/src/datetime/shared-components/StyledSelect.d.ts +1 -16
- package/dist/src/datetime/shared-components/StyledSelectItem.d.ts +1 -2
- package/dist/src/datetime/shared-components/StyledTooltip.d.ts +1 -2
- package/dist/src/helpers/arrays.d.ts +2 -0
- package/dist/src/helpers/arrays.test.d.ts +1 -0
- package/dist/src/helpers/inputMask.d.ts +29 -0
- package/dist/src/helpers/inputMask.test.d.ts +1 -0
- package/dist/src/helpers/sx.d.ts +2 -0
- package/dist/src/helpers/sx.test.d.ts +1 -0
- package/dist/src/index.d.ts +1 -1
- package/dist/src/table/shared-components/StyledCheckbox.d.ts +7 -4
- package/dist/src/table/shared-components/StyledMenuItem.d.ts +18 -2
- package/dist/src/table/shared-components/menu-item/index.d.ts +13 -2
- package/dist/src/table/shared-components/tooltip/index.d.ts +5 -1
- package/dist/src/table/types.d.ts +1 -1
- package/dist/table/components/Fetching.js +4 -4
- package/dist/table/components/TableRow.js +7 -7
- package/dist/table/components/TableSkeleton.js +6 -6
- package/dist/table/components/columns/action-column/components/HeaderActionMenu.js +24 -24
- package/dist/table/components/columns/action-column/components/RowActionMenu.js +26 -25
- package/dist/table/components/table-footer/TablePagination.js +27 -24
- package/dist/table/components/table-footer/TableRowCountSelect.js +30 -27
- package/dist/table/helpers/cn.js +4 -5
- package/dist/table/shared-components/StyledCheckbox.js +54 -55
- package/dist/table/shared-components/StyledCheckbox.module.js +10 -10
- package/dist/table/shared-components/StyledMenuItem.js +12 -18
- package/dist/table/shared-components/menu-item/index.js +13 -17
- package/dist/table/shared-components/tooltip/index.js +4 -23
- package/package.json +9 -16
- package/dist/components/feedback/dialog/StyledDialogActions.module.js +0 -8
- package/dist/components/feedback/dialog/StyledDialogContent.module.js +0 -4
- package/dist/components/feedback/dialog/StyledDialogTitle.module.js +0 -4
- package/dist/components/inputs/checkbox/StyledCheckbox.js +0 -20
- package/dist/components/inputs/radio-button/StyledRadio.js +0 -17
- package/dist/datetime/shared-components/ExpandIcon.js +0 -18
- package/dist/datetime/shared-components/StyledFormControl.js +0 -23
- package/dist/datetime/shared-components/StyledInputField.js +0 -47
- package/dist/datetime/shared-components/StyledSelect.js +0 -47
- package/dist/datetime/shared-components/StyledSelectItem.js +0 -13
- package/dist/datetime/shared-components/StyledTooltip.js +0 -32
- package/dist/src/components/inputs/checkbox/StyledCheckbox.d.ts +0 -4
- package/dist/src/components/inputs/radio-button/StyledRadio.d.ts +0 -4
- package/dist/src/components/inputs/radio-button/StyledRadioGroup.d.ts +0 -4
- package/dist/src/components/inputs/switch/StyledSwitch.d.ts +0 -5
- package/dist/src/components/utils/accordion/StyledAccordion.d.ts +0 -2
- package/dist/src/components/utils/accordion/StyledAccordionDetails.d.ts +0 -2
- package/dist/src/components/utils/accordion/StyledAccordionSummary.d.ts +0 -8
package/dist/index.js
CHANGED
|
@@ -182,83 +182,91 @@ import { WidgetIconFilled as _e } from "./components/icons/widgets-icon/WidgetIc
|
|
|
182
182
|
import { RocketLaunchIcon as Ee } from "./components/icons/rocket-launch-icon/RocketLaunchIcon.js";
|
|
183
183
|
import { LoadCurrentIcon as Ue } from "./components/icons/load-current-icon/LoadCurrentIcon.js";
|
|
184
184
|
import { StyledChip as Ge } from "./components/data-display/chip/StyledChip.js";
|
|
185
|
-
import {
|
|
186
|
-
import {
|
|
187
|
-
import {
|
|
188
|
-
import {
|
|
189
|
-
import {
|
|
190
|
-
import {
|
|
191
|
-
import {
|
|
192
|
-
import {
|
|
193
|
-
import {
|
|
194
|
-
import {
|
|
195
|
-
import {
|
|
196
|
-
import {
|
|
197
|
-
import {
|
|
198
|
-
import {
|
|
199
|
-
import {
|
|
200
|
-
import {
|
|
201
|
-
import {
|
|
202
|
-
import {
|
|
203
|
-
import {
|
|
204
|
-
import {
|
|
205
|
-
import {
|
|
206
|
-
import {
|
|
207
|
-
import {
|
|
208
|
-
import {
|
|
209
|
-
import {
|
|
210
|
-
import {
|
|
211
|
-
import {
|
|
212
|
-
import {
|
|
213
|
-
import {
|
|
214
|
-
import {
|
|
215
|
-
import {
|
|
216
|
-
import {
|
|
217
|
-
import {
|
|
218
|
-
import {
|
|
219
|
-
import {
|
|
220
|
-
import {
|
|
221
|
-
import {
|
|
222
|
-
import {
|
|
223
|
-
import {
|
|
224
|
-
import {
|
|
225
|
-
import {
|
|
226
|
-
import {
|
|
227
|
-
import {
|
|
228
|
-
import {
|
|
229
|
-
import {
|
|
230
|
-
import {
|
|
231
|
-
import {
|
|
232
|
-
import {
|
|
233
|
-
import {
|
|
234
|
-
import {
|
|
235
|
-
import {
|
|
236
|
-
import {
|
|
237
|
-
import {
|
|
238
|
-
import {
|
|
239
|
-
import {
|
|
240
|
-
import {
|
|
241
|
-
import {
|
|
242
|
-
import {
|
|
243
|
-
import {
|
|
244
|
-
import {
|
|
245
|
-
import {
|
|
246
|
-
import {
|
|
247
|
-
import {
|
|
248
|
-
import {
|
|
249
|
-
import {
|
|
250
|
-
import {
|
|
251
|
-
import {
|
|
252
|
-
import {
|
|
253
|
-
import {
|
|
254
|
-
import {
|
|
255
|
-
import {
|
|
256
|
-
import {
|
|
257
|
-
import {
|
|
258
|
-
import {
|
|
185
|
+
import { StyledCheckbox as Xe } from "./components/inputs/checkbox/base-ui/StyledCheckbox.js";
|
|
186
|
+
import { StyledRadio as Ke } from "./components/inputs/radio-button/base-ui/StyledRadio.js";
|
|
187
|
+
import { StyledInteractiveChip as Ze } from "./components/data-display/interactive-chip/StyledInteractiveChip.js";
|
|
188
|
+
import { StyledTooltip as Je } from "./components/data-display/tooltip/StyledTooltip.js";
|
|
189
|
+
import { StyledTypography as $e } from "./components/data-display/typography/StyledTypography.js";
|
|
190
|
+
import { StyledFormLabel as rn } from "./components/data-display/form-label/components/StyledFormLabel.js";
|
|
191
|
+
import { StyledAIDisclosure as tn } from "./components/data-display/ai-disclosure/StyledAIDisclosure.js";
|
|
192
|
+
import { StyledButton as nn } from "./components/inputs/button/StyledButton.js";
|
|
193
|
+
import { StyledDialog as fn } from "./components/feedback/dialog/StyledDialog.js";
|
|
194
|
+
import { StyledDialogActions as ln } from "./components/feedback/dialog/StyledDialogActions.js";
|
|
195
|
+
import { StyledDialogContent as an } from "./components/feedback/dialog/StyledDialogContent.js";
|
|
196
|
+
import { StyledDialogTitle as un } from "./components/feedback/dialog/StyledDialogTitle.js";
|
|
197
|
+
import { StyledEmptyPage as sn } from "./components/feedback/empty-page/StyledEmptyPage.js";
|
|
198
|
+
import { StyledFilteredEmptyState as Cn } from "./components/feedback/filtered-empty-state/StyledFilteredEmptyState.js";
|
|
199
|
+
import { StyledLoading as gn } from "./components/feedback/loading/StyledLoading.js";
|
|
200
|
+
import { StyledAlert as hn } from "./components/feedback/snack-bar/StyledAlert.js";
|
|
201
|
+
import { SnackbarProvider as kn } from "./components/feedback/snack-bar/SnackbarProvider.js";
|
|
202
|
+
import { StyledSnackbar as Tn } from "./components/feedback/snack-bar/StyledSnackbar.js";
|
|
203
|
+
import { processAlertSnackBar as Fn } from "./components/feedback/snack-bar/processAlertSnackBar.js";
|
|
204
|
+
import { processDefaultSnackbar as Rn } from "./components/feedback/snack-bar/processDefaultSnackbar.js";
|
|
205
|
+
import { processInfoSnackbar as wn } from "./components/feedback/snack-bar/processInfoSnackbar.js";
|
|
206
|
+
import { message as Bn } from "./components/feedback/snack-bar/message.js";
|
|
207
|
+
import { closeSnackbar as xn, enqueueSnackbar as _n, useSnackbar as Hn } from "./components/feedback/snack-bar/index.js";
|
|
208
|
+
import { StyledInputField as Wn } from "./components/inputs/input-field/StyledInputField.js";
|
|
209
|
+
import { StyledSearchField as Vn } from "./components/inputs/search-field/StyledSearchField.js";
|
|
210
|
+
import { StyledTextarea as zn } from "./components/inputs/textarea/StyledTextarea.js";
|
|
211
|
+
import { StyledFormHelperText as qn } from "./components/miscellaneous/StyledFormHelperText.js";
|
|
212
|
+
import { StyledSelect as Qn } from "./components/inputs/select/StyledSelect.js";
|
|
213
|
+
import { StyledSelectItem as jn } from "./components/inputs/select/StyledSelectItem.js";
|
|
214
|
+
import { StyledSelectAutocomplete as Yn } from "./components/inputs/select-autocomplete/StyledSelectAutocomplete.js";
|
|
215
|
+
import { StyledSlider as op } from "./components/inputs/slider/StyledSlider.js";
|
|
216
|
+
import { StyledSwitch as mp } from "./components/inputs/switch/base-ui/StyledSwitch.js";
|
|
217
|
+
import { StyledRadioGroup as ip } from "./components/inputs/radio-button/base-ui/StyledRadioGroup.js";
|
|
218
|
+
import { StyledLabel as np } from "./components/inputs/label/StyledLabel.js";
|
|
219
|
+
import { StyledDynamicSelect as fp } from "./components/inputs/dynamic-select/StyledDynamicSelect.js";
|
|
220
|
+
import { StyledPopover as lp } from "./components/utils/popover/StyledPopover.js";
|
|
221
|
+
import { StyledFormControl as ap } from "./components/miscellaneous/StyledFormControl.js";
|
|
222
|
+
import { StyledDrawer as up } from "./components/navigation/drawer/StyledDrawer.js";
|
|
223
|
+
import { StyledDatePicker as sp } from "./datetime/components/date-picker/StyledDatePicker.js";
|
|
224
|
+
import { PopupState as Cp, bindPopover as Op, bindPopper as gp, bindTrigger as Dp, usePopupState as hp } from "./hooks/usePopupState.js";
|
|
225
|
+
import { ClickAwayListener as kp } from "./components/mui-compat/ClickAwayListener.js";
|
|
226
|
+
import { Paper as Tp } from "./components/mui-compat/Paper.js";
|
|
227
|
+
import { Stack as Fp } from "./components/mui-compat/Stack.js";
|
|
228
|
+
import { Container as Rp } from "./components/mui-compat/Container.js";
|
|
229
|
+
import { Avatar as wp } from "./components/mui-compat/Avatar.js";
|
|
230
|
+
import { Skeleton as Bp } from "./components/mui-compat/Skeleton.js";
|
|
231
|
+
import { FormLabel as xp } from "./components/mui-compat/FormLabel.js";
|
|
232
|
+
import { Fade as Hp } from "./components/mui-compat/Fade.js";
|
|
233
|
+
import { Popper as Wp } from "./components/mui-compat/Popper.js";
|
|
234
|
+
import { StyledTimePicker as Vp } from "./datetime/components/time-picker/StyledTimePicker.js";
|
|
235
|
+
import { setMidnightTime as zp, setZeroTime as Xp } from "./datetime/helpers/date.helper.js";
|
|
236
|
+
import { StyledFormControlLabel as Kp } from "./components/miscellaneous/StyledFormControlLabel.js";
|
|
237
|
+
import { StyledInputLabel as Zp } from "./components/miscellaneous/StyledInputLabel.js";
|
|
238
|
+
import { StyledFormGroup as Jp } from "./components/miscellaneous/StyledFormGroup.js";
|
|
239
|
+
import { StyledMenuList as $p } from "./components/navigation/menu/StyledMenuList.js";
|
|
240
|
+
import { StyledMenu as rf } from "./components/navigation/menu/StyledMenu.js";
|
|
241
|
+
import { StyledMenuItem as tf } from "./components/navigation/menu/StyledMenuItem.js";
|
|
242
|
+
import { StyledLink as nf } from "./components/navigation/link/StyledLink.js";
|
|
243
|
+
import { StyledTab as ff } from "./components/navigation/tabs/StyledTab.js";
|
|
244
|
+
import { StyledTabs as lf } from "./components/navigation/tabs/StyledTabs.js";
|
|
245
|
+
import { Listbox as af } from "./components/navigation/listbox/Listbox.js";
|
|
246
|
+
import { StyledAccordion as uf } from "./components/utils/accordion/base-ui/StyledAccordion.js";
|
|
247
|
+
import { StyledAccordionSummary as sf } from "./components/utils/accordion/base-ui/StyledAccordionSummary.js";
|
|
248
|
+
import { StyledAccordionDetails as Cf } from "./components/utils/accordion/base-ui/StyledAccordionDetails.js";
|
|
249
|
+
import { ACTIONS_COLUMN_ID as gf, DND_HANDLE_COLUMN_ID as Df, EXPAND_COLUMN_ID as hf, INTERNAL_COLUMN_IDS as bf, SELECT_COLUMN_ID as kf, SHOW_FULL_TEXT_ID as Lf, isCustomAction as Tf } from "./table/types.js";
|
|
250
|
+
import { RowDragHandleCell as Ff } from "./table/components/columns/dndHandleColumn.js";
|
|
251
|
+
import { StyledTable as Rf } from "./table/components/StyledTableIndex.js";
|
|
252
|
+
import { createColumnHelper as wf } from "./table/index.js";
|
|
253
|
+
import { DynamicToolbarLayoutContext as Bf, useDynamicToolbarLayout as Nf } from "./components/custom/module/header-layout/DynamicToolbarLayoutContext.js";
|
|
254
|
+
import { StyledFilterButton as _f } from "./components/utils/filter-menu/StyledFilterButton.js";
|
|
255
|
+
import { StyledFilterMenu as Ef } from "./components/utils/filter-menu/StyledFilterMenu.js";
|
|
256
|
+
import { CopyButton as Uf } from "./components/utils/copy-wrapper/CopyButton.js";
|
|
257
|
+
import { CopyWrapper as Gf } from "./components/utils/copy-wrapper/CopyWrapper.js";
|
|
258
|
+
import { StyledWidgetTitle as Xf } from "./components/custom/widget/widget-title/StyledWidgetTitle.js";
|
|
259
|
+
import { StyledWidgetHeader as Kf } from "./components/custom/widget/widget-header/StyledWidgetHeader.js";
|
|
260
|
+
import { StyledWidget as Zf } from "./components/custom/widget/widget/StyledWidget.js";
|
|
261
|
+
import { StyledModuleTitle as Jf } from "./components/custom/module/module-title/StyledModuleTitle.js";
|
|
262
|
+
import { ACTION_GAP_PX as $f, MORE_BUTTON_PX as oc, estimateToolbarActionWidth as rc, planBulkToolbarActions as mc, planToolbarActions as tc, resolveToolbarActionWidth as ic } from "./components/custom/module/header-layout/planToolbarActions.js";
|
|
263
|
+
import { DynamicToolbar as nc } from "./components/custom/module/header-layout/DynamicToolbar.js";
|
|
264
|
+
import { MinimizableDialog as fc } from "./components/feedback/minimizable-dialog/MinimizableDialog.js";
|
|
265
|
+
import { MinimizableDialogV2 as lc } from "./components/feedback/minimizable-dialog/v2/MinimizableDialogV2.js";
|
|
266
|
+
import { createDialogStack as ac } from "./components/feedback/minimizable-dialog/stack/createDialogStack.js";
|
|
259
267
|
export {
|
|
260
|
-
|
|
261
|
-
|
|
268
|
+
gf as ACTIONS_COLUMN_ID,
|
|
269
|
+
$f as ACTION_GAP_PX,
|
|
262
270
|
Gi as AppRegistrationIcon,
|
|
263
271
|
vo as ArchiveIcon,
|
|
264
272
|
Xi as ArrowExpandIcon,
|
|
@@ -267,7 +275,7 @@ export {
|
|
|
267
275
|
j as AssignmentIcon,
|
|
268
276
|
Y as AssignmentOutlineIcon,
|
|
269
277
|
vt as AttachFileIcon,
|
|
270
|
-
|
|
278
|
+
wp as Avatar,
|
|
271
279
|
_m as BackIcon,
|
|
272
280
|
Mi as BackupIcon,
|
|
273
281
|
tm as BadgeIcon,
|
|
@@ -294,22 +302,22 @@ export {
|
|
|
294
302
|
s as ChevronRightIcon,
|
|
295
303
|
Uo as ChevronUpIcon,
|
|
296
304
|
Ui as CircleWarningOutlineIcon,
|
|
297
|
-
|
|
305
|
+
kp as ClickAwayListener,
|
|
298
306
|
Lm as ClockOutlineIcon,
|
|
299
307
|
Go as CloseIcon,
|
|
300
308
|
At as CloudDoneOutlineIcon,
|
|
301
309
|
Mt as CloudIcon,
|
|
302
310
|
Ji as CloudOffOutlineIcon,
|
|
303
311
|
Zr as ConsentsIcon,
|
|
304
|
-
|
|
312
|
+
Rp as Container,
|
|
305
313
|
St as ContentCopyIcon,
|
|
306
314
|
Dt as ContentCopyOutlineIcon,
|
|
307
315
|
yt as ContentCutIcon,
|
|
308
316
|
Ot as ContentPasteIcon,
|
|
309
317
|
ri as ConversionPathIcon,
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
318
|
+
Uf as CopyButton,
|
|
319
|
+
Gf as CopyWrapper,
|
|
320
|
+
Df as DND_HANDLE_COLUMN_ID,
|
|
313
321
|
F as DashboardViewIcon,
|
|
314
322
|
R as DashboardViewOutlineIcon,
|
|
315
323
|
cr as DeleteOutlineIcon,
|
|
@@ -328,16 +336,16 @@ export {
|
|
|
328
336
|
Ao as DropUpIcon,
|
|
329
337
|
yr as DvrIcon,
|
|
330
338
|
Ai as DvrIconOutline,
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
339
|
+
nc as DynamicToolbar,
|
|
340
|
+
Bf as DynamicToolbarLayoutContext,
|
|
341
|
+
hf as EXPAND_COLUMN_ID,
|
|
334
342
|
Er as EarthIcon,
|
|
335
343
|
ye as EditNotesIcon,
|
|
336
344
|
em as EditSquareIcon,
|
|
337
345
|
tr as EmptyPageIcon,
|
|
338
346
|
Si as EnvelopeIcon,
|
|
339
347
|
Or as ErrorOutlineIcon,
|
|
340
|
-
|
|
348
|
+
Hp as Fade,
|
|
341
349
|
Pr as FastCheckOutlineIcon,
|
|
342
350
|
Pi as FileDocIcon,
|
|
343
351
|
De as FileImageIcon,
|
|
@@ -350,7 +358,7 @@ export {
|
|
|
350
358
|
yo as FindReplacePeopleIcon,
|
|
351
359
|
yi as FingerprintIcon,
|
|
352
360
|
Dm as FormIcon,
|
|
353
|
-
|
|
361
|
+
xp as FormLabel,
|
|
354
362
|
tt as FormatListBulletedIcon,
|
|
355
363
|
et as FormatListBulletedOutlineIcon,
|
|
356
364
|
ti as GraphIcon,
|
|
@@ -365,7 +373,7 @@ export {
|
|
|
365
373
|
de as HistoryToggleOffIcon,
|
|
366
374
|
Me as HubIcon,
|
|
367
375
|
ve as HubIconFilled,
|
|
368
|
-
|
|
376
|
+
bf as INTERNAL_COLUMN_IDS,
|
|
369
377
|
Jo as InboxOutboxIcon,
|
|
370
378
|
$o as InboxOutboxOutlineIcon,
|
|
371
379
|
Pe as IndeterminateIcon,
|
|
@@ -378,21 +386,21 @@ export {
|
|
|
378
386
|
_r as ListSettingsLineIcon,
|
|
379
387
|
Mr as ListStatusIcon,
|
|
380
388
|
vr as ListViewOutlineIcon,
|
|
381
|
-
|
|
389
|
+
af as Listbox,
|
|
382
390
|
Ue as LoadCurrentIcon,
|
|
383
391
|
Po as LoadingIcon,
|
|
384
392
|
Om as LocationIcon,
|
|
385
393
|
Sr as LockIcon,
|
|
386
394
|
Mm as LoginIcon,
|
|
387
395
|
vm as LogoutIcon,
|
|
388
|
-
|
|
396
|
+
oc as MORE_BUTTON_PX,
|
|
389
397
|
Ae as ManageSearchIcon,
|
|
390
398
|
mo as MessageProcessingIcon,
|
|
391
399
|
io as MessageProcessingOutlineIcon,
|
|
392
400
|
rm as MessageReplyIcon,
|
|
393
401
|
Am as MicrosoftOutlookIcon,
|
|
394
|
-
|
|
395
|
-
|
|
402
|
+
fc as MinimizableDialog,
|
|
403
|
+
lc as MinimizableDialogV2,
|
|
396
404
|
Jr as MinimizeIcon,
|
|
397
405
|
z as NewCalendarIcon,
|
|
398
406
|
Gm as NewWindowIcon,
|
|
@@ -402,7 +410,7 @@ export {
|
|
|
402
410
|
Kt as OutlineCheckboxIconChecked,
|
|
403
411
|
Jt as OutlineCheckboxIconIndeterminate,
|
|
404
412
|
Gt as OutlineNotificationsIcon,
|
|
405
|
-
|
|
413
|
+
Tp as Paper,
|
|
406
414
|
T as PdfIcon,
|
|
407
415
|
Gr as PencilOutlineIcon,
|
|
408
416
|
B as PeopleIcon,
|
|
@@ -416,8 +424,8 @@ export {
|
|
|
416
424
|
Sm as PinIcon,
|
|
417
425
|
pm as PlusIcon,
|
|
418
426
|
cm as PlusIconCircle,
|
|
419
|
-
|
|
420
|
-
|
|
427
|
+
Wp as Popper,
|
|
428
|
+
Cp as PopupState,
|
|
421
429
|
k as QnrIcon,
|
|
422
430
|
bt as RefreshIcon,
|
|
423
431
|
di as RemoveIcon,
|
|
@@ -427,11 +435,11 @@ export {
|
|
|
427
435
|
fo as ReportBoxOutlineIcon,
|
|
428
436
|
Ie as ResetSettingsIcon,
|
|
429
437
|
Ee as RocketLaunchIcon,
|
|
430
|
-
|
|
438
|
+
Ff as RowDragHandleCell,
|
|
431
439
|
It as RuleIcon,
|
|
432
440
|
dt as RuleOutlineIcon,
|
|
433
|
-
|
|
434
|
-
|
|
441
|
+
kf as SELECT_COLUMN_ID,
|
|
442
|
+
Lf as SHOW_FULL_TEXT_ID,
|
|
435
443
|
Ii as SaveIcon,
|
|
436
444
|
Lo as SearchIcon,
|
|
437
445
|
Nt as SendIcon,
|
|
@@ -440,65 +448,65 @@ export {
|
|
|
440
448
|
Lt as SettingsNoteIcon,
|
|
441
449
|
ao as SettingsOutlineIcon,
|
|
442
450
|
Ki as ShareIcon,
|
|
443
|
-
|
|
451
|
+
Bp as Skeleton,
|
|
444
452
|
te as SmsIcon,
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
453
|
+
kn as SnackbarProvider,
|
|
454
|
+
Fp as Stack,
|
|
455
|
+
tn as StyledAIDisclosure,
|
|
456
|
+
uf as StyledAccordion,
|
|
457
|
+
Cf as StyledAccordionDetails,
|
|
458
|
+
sf as StyledAccordionSummary,
|
|
459
|
+
hn as StyledAlert,
|
|
452
460
|
f as StyledBadge,
|
|
453
|
-
|
|
454
|
-
|
|
461
|
+
nn as StyledButton,
|
|
462
|
+
Xe as StyledCheckbox,
|
|
455
463
|
Ge as StyledChip,
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
464
|
+
sp as StyledDatePicker,
|
|
465
|
+
fn as StyledDialog,
|
|
466
|
+
ln as StyledDialogActions,
|
|
467
|
+
an as StyledDialogContent,
|
|
468
|
+
un as StyledDialogTitle,
|
|
469
|
+
up as StyledDrawer,
|
|
470
|
+
fp as StyledDynamicSelect,
|
|
471
|
+
sn as StyledEmptyPage,
|
|
472
|
+
_f as StyledFilterButton,
|
|
473
|
+
Ef as StyledFilterMenu,
|
|
474
|
+
Cn as StyledFilteredEmptyState,
|
|
475
|
+
ap as StyledFormControl,
|
|
476
|
+
Kp as StyledFormControlLabel,
|
|
477
|
+
Jp as StyledFormGroup,
|
|
478
|
+
qn as StyledFormHelperText,
|
|
479
|
+
rn as StyledFormLabel,
|
|
480
|
+
Wn as StyledInputField,
|
|
481
|
+
Zp as StyledInputLabel,
|
|
482
|
+
Ze as StyledInteractiveChip,
|
|
483
|
+
np as StyledLabel,
|
|
484
|
+
nf as StyledLink,
|
|
485
|
+
gn as StyledLoading,
|
|
486
|
+
rf as StyledMenu,
|
|
487
|
+
tf as StyledMenuItem,
|
|
488
|
+
$p as StyledMenuList,
|
|
489
|
+
Jf as StyledModuleTitle,
|
|
490
|
+
lp as StyledPopover,
|
|
491
|
+
Ke as StyledRadio,
|
|
492
|
+
ip as StyledRadioGroup,
|
|
493
|
+
Vn as StyledSearchField,
|
|
494
|
+
Qn as StyledSelect,
|
|
495
|
+
Yn as StyledSelectAutocomplete,
|
|
496
|
+
jn as StyledSelectItem,
|
|
497
|
+
op as StyledSlider,
|
|
498
|
+
Tn as StyledSnackbar,
|
|
499
|
+
mp as StyledSwitch,
|
|
500
|
+
ff as StyledTab,
|
|
501
|
+
Rf as StyledTable,
|
|
502
|
+
lf as StyledTabs,
|
|
503
|
+
zn as StyledTextarea,
|
|
504
|
+
Vp as StyledTimePicker,
|
|
505
|
+
Je as StyledTooltip,
|
|
506
|
+
$e as StyledTypography,
|
|
507
|
+
Zf as StyledWidget,
|
|
508
|
+
Kf as StyledWidgetHeader,
|
|
509
|
+
Xf as StyledWidgetTitle,
|
|
502
510
|
Xt as SyncIcon,
|
|
503
511
|
Zi as SyncSavedLocallyIcon,
|
|
504
512
|
Nr as TextBoxCheckOutlineIcon,
|
|
@@ -517,28 +525,28 @@ export {
|
|
|
517
525
|
Ne as WidgetIcon,
|
|
518
526
|
_e as WidgetIconFilled,
|
|
519
527
|
ym as WorkIcon,
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
528
|
+
Op as bindPopover,
|
|
529
|
+
gp as bindPopper,
|
|
530
|
+
Dp as bindTrigger,
|
|
531
|
+
xn as closeSnackbar,
|
|
524
532
|
m as cn,
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
533
|
+
wf as createColumnHelper,
|
|
534
|
+
ac as createDialogStack,
|
|
535
|
+
_n as enqueueSnackbar,
|
|
536
|
+
rc as estimateToolbarActionWidth,
|
|
537
|
+
Tf as isCustomAction,
|
|
538
|
+
Bn as message,
|
|
531
539
|
i as omit,
|
|
532
|
-
|
|
533
|
-
|
|
540
|
+
mc as planBulkToolbarActions,
|
|
541
|
+
tc as planToolbarActions,
|
|
534
542
|
n as prepareForSlot,
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
543
|
+
Fn as processAlertSnackBar,
|
|
544
|
+
Rn as processDefaultSnackbar,
|
|
545
|
+
wn as processInfoSnackbar,
|
|
546
|
+
ic as resolveToolbarActionWidth,
|
|
547
|
+
zp as setMidnightTime,
|
|
548
|
+
Xp as setZeroTime,
|
|
549
|
+
Nf as useDynamicToolbarLayout,
|
|
550
|
+
hp as usePopupState,
|
|
551
|
+
Hn as useSnackbar
|
|
544
552
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,8 +1,32 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementType, HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
type StyledBadgeSize = 'medium' | 'small';
|
|
3
|
+
interface BadgeProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'color'> {
|
|
4
|
+
badgeContent?: ReactNode;
|
|
5
|
+
color?: string;
|
|
6
|
+
max?: number;
|
|
7
|
+
showZero?: boolean;
|
|
8
|
+
variant?: 'standard' | 'dot';
|
|
9
|
+
invisible?: boolean;
|
|
10
|
+
anchorOrigin?: {
|
|
11
|
+
vertical: 'top' | 'bottom';
|
|
12
|
+
horizontal: 'left' | 'right';
|
|
13
|
+
};
|
|
14
|
+
overlap?: 'rectangular' | 'circular';
|
|
15
|
+
component?: ElementType;
|
|
16
|
+
classes?: Record<string, string>;
|
|
17
|
+
slots?: Record<string, unknown>;
|
|
18
|
+
slotProps?: unknown;
|
|
19
|
+
sx?: unknown;
|
|
20
|
+
}
|
|
3
21
|
type StyledBadgeProps = BadgeProps & {
|
|
4
22
|
dataTest: string;
|
|
5
23
|
size?: StyledBadgeSize;
|
|
6
24
|
};
|
|
7
|
-
|
|
25
|
+
/**
|
|
26
|
+
* Native, MUI-free reimplementation of the previous `Badge` passthrough. Reproduces MUI v9 badge
|
|
27
|
+
* metrics/positioning via Tailwind, this library's custom `primary` green, and the `small` size.
|
|
28
|
+
* The established styling API `sx={{ '& .MuiBadge-badge': {...} }}` is preserved by extracting that
|
|
29
|
+
* slot and applying `resolveSx` to the badge span (DEC-007 slot-sx). Signature unchanged (DEC-003).
|
|
30
|
+
*/
|
|
31
|
+
export declare const StyledBadge: ({ color, dataTest, size, badgeContent, max, showZero, variant, invisible, anchorOrigin, children, className, sx, overlap: _overlap, classes: _classes, slots: _slots, slotProps: _slotProps, component: _component, ...props }: StyledBadgeProps) => JSX.Element;
|
|
8
32
|
export {};
|
|
@@ -1,7 +1,41 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { MouseEvent, ReactElement, ReactNode } from 'react';
|
|
2
|
+
interface ChipClasses {
|
|
3
|
+
root?: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
avatar?: string;
|
|
6
|
+
icon?: string;
|
|
7
|
+
deleteIcon?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface StyledChipProps {
|
|
4
10
|
dataTest: string;
|
|
11
|
+
label?: ReactNode;
|
|
12
|
+
/** Cosmetic only — the design always renders a white body with a delta border (kept from the MUI original). */
|
|
13
|
+
variant?: 'filled' | 'outlined';
|
|
14
|
+
color?: string;
|
|
15
|
+
size?: 'small' | 'medium';
|
|
16
|
+
disabled?: boolean;
|
|
5
17
|
readOnly?: boolean;
|
|
6
|
-
|
|
7
|
-
|
|
18
|
+
clickable?: boolean;
|
|
19
|
+
icon?: ReactElement;
|
|
20
|
+
avatar?: ReactElement;
|
|
21
|
+
deleteIcon?: ReactElement;
|
|
22
|
+
onDelete?: (event: MouseEvent<HTMLElement>) => void;
|
|
23
|
+
onClick?: (event: MouseEvent<HTMLElement>) => void;
|
|
24
|
+
className?: string;
|
|
25
|
+
classes?: ChipClasses;
|
|
26
|
+
sx?: unknown;
|
|
27
|
+
tabIndex?: number;
|
|
28
|
+
'aria-label'?: string;
|
|
29
|
+
/** Forces the hover visual (used by stories / state tables). */
|
|
30
|
+
'data-hovered'?: string;
|
|
31
|
+
/** Forces the focus visual (used by stories / state tables). */
|
|
32
|
+
'data-focus'?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Native replacement for MUI `Chip` — a styled element with optional avatar/icon start slot, a
|
|
36
|
+
* label, and a delete button. Interactive hover/focus/active visuals also respond to the
|
|
37
|
+
* `data-hovered`/`data-focus` attributes MUI set (state tables rely on them). Public props +
|
|
38
|
+
* `classes`/`sx` slots preserved (DEC-003). TASK-101a.
|
|
39
|
+
*/
|
|
40
|
+
export declare const StyledChip: import('node_modules/@types/react').ForwardRefExoticComponent<StyledChipProps & import('node_modules/@types/react').RefAttributes<HTMLDivElement>>;
|
|
41
|
+
export {};
|
|
@@ -1,10 +1,17 @@
|
|
|
1
|
-
import { ComponentProps
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
2
|
import { StyledChip } from '../chip';
|
|
3
|
-
import { CheckboxProps, RadioProps } from '@mui/material';
|
|
4
3
|
export interface StyledInteractiveChipProps extends ComponentProps<typeof StyledChip> {
|
|
5
4
|
type?: 'checkbox' | 'radio';
|
|
6
|
-
checked?:
|
|
5
|
+
checked?: boolean;
|
|
7
6
|
size?: 'small' | 'medium';
|
|
8
7
|
ariaLabel?: string;
|
|
9
8
|
}
|
|
10
|
-
|
|
9
|
+
/**
|
|
10
|
+
* A `StyledChip` whose avatar is a native checkbox or radio (base-ui controls now render their own
|
|
11
|
+
* checked/read-only colours, so the old nested `.MuiChip-avatar .Mui*` `sx` is gone). Public props
|
|
12
|
+
* preserved (DEC-003). TASK-101a.
|
|
13
|
+
*
|
|
14
|
+
* ponytail: a selected radio chip uses inline style for its border, so it shows no hover recolour
|
|
15
|
+
* while selected — a minor known ceiling; upgrade path is REFACTOR-001 (className-based slots).
|
|
16
|
+
*/
|
|
17
|
+
export declare const StyledInteractiveChip: import('node_modules/@types/react').ForwardRefExoticComponent<Omit<StyledInteractiveChipProps, "ref"> & import('node_modules/@types/react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,2 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { CSSProperties, ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { Placement } from '@floating-ui/react';
|
|
3
|
+
interface TooltipSlotProps {
|
|
4
|
+
tooltip?: {
|
|
5
|
+
sx?: unknown;
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
};
|
|
9
|
+
popper?: unknown;
|
|
10
|
+
transition?: unknown;
|
|
11
|
+
arrow?: unknown;
|
|
12
|
+
}
|
|
13
|
+
export interface TooltipProps {
|
|
14
|
+
title: ReactNode;
|
|
15
|
+
children: ReactElement;
|
|
16
|
+
placement?: Placement;
|
|
17
|
+
arrow?: boolean;
|
|
18
|
+
enterDelay?: number;
|
|
19
|
+
leaveDelay?: number;
|
|
20
|
+
open?: boolean;
|
|
21
|
+
onOpen?: () => void;
|
|
22
|
+
onClose?: () => void;
|
|
23
|
+
disableHoverListener?: boolean;
|
|
24
|
+
disableFocusListener?: boolean;
|
|
25
|
+
disableTouchListener?: boolean;
|
|
26
|
+
className?: string;
|
|
27
|
+
slotProps?: TooltipSlotProps;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Tooltip built on `@floating-ui/react` (replaces MUI `Tooltip`) — hover(+`enterDelay`)/focus open,
|
|
31
|
+
* dismiss on blur/esc, `flip`/`shift` collision handling, optional arrow, portalled. Empty `title`
|
|
32
|
+
* renders the child alone (MUI parity). Preserves the `#363E4A` design and the `title`/`placement`/
|
|
33
|
+
* `arrow`/`enterDelay`/`open`/`slotProps` surface (DEC-003). TASK-301.
|
|
34
|
+
*/
|
|
35
|
+
export declare const StyledTooltip: ({ title, children, placement, arrow, enterDelay, leaveDelay, open: controlledOpen, onOpen, onClose, disableHoverListener, disableFocusListener, className, slotProps, }: TooltipProps) => JSX.Element;
|
|
36
|
+
export {};
|