@kubit-ui-web/react-components 2.0.0-beta.6 → 2.0.0-beta.60
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/CHANGELOG.md +99 -0
- package/README.md +413 -275
- package/dist/cjs/components/accordion/accordionControlled.js +1 -1
- package/dist/cjs/components/accordion/accordionStandAlone.js +1 -1
- package/dist/cjs/components/accordion/accordionUnControlled.js +1 -1
- package/dist/cjs/components/accordion/hooks/useAccordionContentOverflow.js +1 -1
- package/dist/cjs/components/accordion/hooks/useAccordionInertContent.js +1 -1
- package/dist/cjs/components/accordion/types/state.js +1 -1
- package/dist/cjs/components/alert/alertControlled.js +1 -0
- package/dist/cjs/components/alert/alertStandAlone.js +1 -0
- package/dist/cjs/components/alert/index.js +2 -0
- package/dist/cjs/components/avatar/avatar.js +1 -1
- package/dist/cjs/components/avatar/avatarStandAlone.js +1 -1
- package/dist/cjs/components/avatar/fragments/drawContent.js +1 -1
- package/dist/cjs/components/badge/badge.js +1 -1
- package/dist/cjs/components/badge/badgeStandAlone.js +1 -1
- package/dist/cjs/components/breadcrumbs/breadcrumbs.js +1 -1
- package/dist/cjs/components/breadcrumbs/breadcrumbsStandAlone.js +1 -1
- package/dist/cjs/components/breadcrumbs/components/crumbStandAlone/crumbStandAlone.js +1 -1
- package/dist/cjs/components/breadcrumbs/hooks/useIsOverflow/useIsOverflow.js +1 -1
- package/dist/cjs/components/breadcrumbs/utils/crumbMaxCharName/crumbMaxCharName.js +1 -1
- package/dist/cjs/components/button/button.js +1 -1
- package/dist/cjs/components/button/buttonStandAlone.js +1 -1
- package/dist/cjs/components/calendar/calendar.js +1 -1
- package/dist/cjs/components/calendar/calendarStandAlone.js +1 -1
- package/dist/cjs/components/calendar/constants/constants.js +1 -1
- package/dist/cjs/components/calendar/header/header.js +1 -1
- package/dist/cjs/components/calendar/list/list.js +1 -1
- package/dist/cjs/components/calendar/selector/monthSelector/monthSelector.js +1 -1
- package/dist/cjs/components/calendar/selector/monthSelector/utils/monthSelector.utils.js +1 -1
- package/dist/cjs/components/calendar/selector/selector.js +1 -1
- package/dist/cjs/components/calendar/selector/yearSelector/utils/yearSelector.utils.js +1 -1
- package/dist/cjs/components/calendar/selector/yearSelector/yearSelector.js +1 -1
- package/dist/cjs/components/calendar/utils/getAllDaysInMonth.js +1 -1
- package/dist/cjs/components/calendar/utils/getFirstDayOfMonth.js +1 -1
- package/dist/cjs/components/calendar/utils/getState.js +1 -1
- package/dist/cjs/components/calendar/utils/getYearList.js +1 -1
- package/dist/cjs/components/calendar/utils/groupDaysByWeeks.js +1 -1
- package/dist/cjs/components/calendar/utils/handleKeysmoves.js +1 -1
- package/dist/cjs/components/calendar/utils/setMonth.js +1 -1
- package/dist/cjs/components/calendar/utils/setYear.js +1 -1
- package/dist/cjs/components/card/card.js +1 -0
- package/dist/cjs/components/card/cardStandAlone.js +1 -0
- package/dist/cjs/components/card/index.js +4 -0
- package/dist/cjs/components/carousel/carousel.js +1 -1
- package/dist/cjs/components/carousel/carouselStandAlone.js +1 -1
- package/dist/cjs/components/carousel/hooks/useCarousel.js +1 -1
- package/dist/cjs/components/carousel/hooks/useCarouselKeyNavigation.js +1 -1
- package/dist/cjs/components/carousel/hooks/useCarouselSwipe.js +1 -1
- package/dist/cjs/components/carousel/hooks/utils/calc.utils.js +1 -1
- package/dist/cjs/components/carousel/hooks/utils/constants.js +1 -1
- package/dist/cjs/components/carousel/hooks/utils/dom.utils.js +1 -1
- package/dist/cjs/components/carousel/types/carousel.js +1 -1
- package/dist/cjs/components/carousel/utils/carousel.utils.js +1 -1
- package/dist/cjs/components/checkbox/checkboxControlled.js +1 -1
- package/dist/cjs/components/checkbox/checkboxStandAlone.js +1 -1
- package/dist/cjs/components/checkbox/checkboxUnControlled.js +1 -1
- package/dist/cjs/components/checkbox/components/errorMessage.js +1 -1
- package/dist/cjs/components/checkbox/components/label.js +1 -1
- package/dist/cjs/components/checkbox/types/state.js +1 -1
- package/dist/cjs/components/checkbox/utils/aria.utils.js +1 -1
- package/dist/cjs/components/checkbox/utils/state.utils.js +1 -1
- package/dist/cjs/components/checkboxBase/checkboxBaseControlled.js +1 -1
- package/dist/cjs/components/checkboxBase/checkboxBaseStandAlone.js +1 -1
- package/dist/cjs/components/checkboxBase/checkboxBaseUncontrolled.js +1 -1
- package/dist/cjs/components/checkboxBase/hooks/useCheckbox.js +1 -1
- package/dist/cjs/components/chip/chip.js +1 -1
- package/dist/cjs/components/chip/chipStandAlone.js +1 -1
- package/dist/cjs/components/dataTable/components/dataTableHead.js +1 -1
- package/dist/cjs/components/dataTable/components/dataTableRows.js +1 -1
- package/dist/cjs/components/dataTable/components/hiddenDataTableHead.js +1 -1
- package/dist/cjs/components/dataTable/dataTable.js +1 -1
- package/dist/cjs/components/dataTable/dataTableStandAlone.js +1 -1
- package/dist/cjs/components/dataTable/hooks/useDataTableHasScroll.js +1 -1
- package/dist/cjs/components/dataTable/hooks/useDataTableShadow.js +1 -1
- package/dist/cjs/components/dataTable/hooks/useDataTableStickyDividers.js +1 -1
- package/dist/cjs/components/dataTable/hooks/useDataTableStickyLeftColumns.js +1 -1
- package/dist/cjs/components/dataTable/hooks/useDataTableStickyRightColumns.js +1 -1
- package/dist/cjs/components/dataTable/utils/cellConfig.js +1 -1
- package/dist/cjs/components/dataTable/utils/hoverable.js +1 -1
- package/dist/cjs/components/dataTable/utils/rowConfig.js +1 -1
- package/dist/cjs/components/dataTable/utils/tableConfig.js +1 -1
- package/dist/cjs/components/dot/dot.js +1 -1
- package/dist/cjs/components/dot/dotStandAlone.js +1 -1
- package/dist/cjs/components/icon/icon.js +1 -1
- package/dist/cjs/components/icon/iconHost.js +1 -1
- package/dist/cjs/components/icon/iconStandAlone.js +1 -1
- package/dist/cjs/components/image/components/pictureSourceStandAlone.js +1 -1
- package/dist/cjs/components/image/image2.js +1 -0
- package/dist/cjs/components/image/imageStandAlone.js +1 -1
- package/dist/cjs/components/image/utils/getFallbackRatio.js +1 -1
- package/dist/cjs/components/input/input.js +1 -1
- package/dist/cjs/components/input/inputStandAlone.js +1 -1
- package/dist/cjs/components/input/types/state.js +1 -1
- package/dist/cjs/components/input/utils/state.js +1 -1
- package/dist/cjs/components/inputBase/inputBase.js +1 -1
- package/dist/cjs/components/inputBase/inputBaseStandAlone.js +1 -1
- package/dist/cjs/components/inputBase/types/state.js +1 -1
- package/dist/cjs/components/inputBase/utils/state.js +1 -1
- package/dist/cjs/components/inputDecoration/inputDecoration.js +1 -1
- package/dist/cjs/components/inputDecoration/inputDecorationStandAlone.js +1 -1
- package/dist/cjs/components/inputDecoration/types/state.js +1 -1
- package/dist/cjs/components/inputDecoration/utils/state.js +1 -1
- package/dist/cjs/components/inputSignature/hook/useDraw.js +1 -1
- package/dist/cjs/components/inputSignature/inputSignatureControlled.js +1 -1
- package/dist/cjs/components/inputSignature/inputSignatureStandAlone.js +1 -1
- package/dist/cjs/components/inputSignature/inputSignatureUncontrolled.js +1 -1
- package/dist/cjs/components/inputSignature/utils/getInputSignatureState.js +1 -1
- package/dist/cjs/components/label/labelStandAlone.js +1 -1
- package/dist/cjs/components/link/helpers/disabled.js +1 -1
- package/dist/cjs/components/link/link.js +1 -1
- package/dist/cjs/components/link/linkAsButton/linkAsButton.js +1 -1
- package/dist/cjs/components/link/linkAsButton/linkAsButtonStandAlone.js +1 -1
- package/dist/cjs/components/link/linkStandAlone.js +1 -1
- package/dist/cjs/components/listOptions/listOptions.js +1 -1
- package/dist/cjs/components/listOptions/listOptionsStandAlone.js +1 -1
- package/dist/cjs/components/listOptions/utils/listOptions.utils.js +1 -1
- package/dist/cjs/components/modal/fragments/modalHeader.js +1 -1
- package/dist/cjs/components/modal/modalControlled.js +1 -1
- package/dist/cjs/components/modal/modalStandAlone.js +1 -1
- package/dist/cjs/components/modal/modalUnControlled.js +1 -1
- package/dist/cjs/components/modal/utils/onlyDesktopSize.js +1 -1
- package/dist/cjs/components/option/components.ts/optionLabelSlice.js +1 -1
- package/dist/cjs/components/option/option.js +1 -1
- package/dist/cjs/components/option/optionStandAlone.js +1 -1
- package/dist/cjs/components/option/utils/option.utils.js +1 -1
- package/dist/cjs/components/pageControl/components/arrowControlStandAlone.js +1 -1
- package/dist/cjs/components/pageControl/components/buttonControlStandAlone.js +1 -1
- package/dist/cjs/components/pageControl/components/controls.js +1 -1
- package/dist/cjs/components/pageControl/helper/controlType.js +1 -1
- package/dist/cjs/components/pageControl/helper/positions.js +1 -1
- package/dist/cjs/components/pageControl/pageControl.js +1 -1
- package/dist/cjs/components/pageControl/pageControlStandAlone.js +1 -1
- package/dist/cjs/components/pagination/fragments/paginationButtonControl.js +1 -1
- package/dist/cjs/components/pagination/helpers/adjustMaxCountersNumber.js +1 -1
- package/dist/cjs/components/pagination/helpers/getMaxCountersNumber.js +1 -1
- package/dist/cjs/components/pagination/pagination.js +1 -1
- package/dist/cjs/components/pagination/paginationStandAlone.js +1 -1
- package/dist/cjs/components/popover/animations/spring.animations.js +7 -0
- package/dist/cjs/components/popover/hooks/positioning/arrowPositionStyles.js +1 -1
- package/dist/cjs/components/popover/hooks/positioning/middlewareUtils.js +1 -1
- package/dist/cjs/components/popover/hooks/positioning/positionCalculation.js +1 -1
- package/dist/cjs/components/popover/hooks/positioning/positionStyles.js +1 -1
- package/dist/cjs/components/popover/hooks/positioning/types.js +1 -1
- package/dist/cjs/components/popover/hooks/usePopoverInteractions.js +1 -1
- package/dist/cjs/components/popover/hooks/usePopoverLifecycle.js +1 -1
- package/dist/cjs/components/popover/hooks/usePopoverPositioning.js +1 -1
- package/dist/cjs/components/popover/index.js +1 -0
- package/dist/cjs/components/popover/popover.js +1 -1
- package/dist/cjs/components/popover/popoverStandAlone.js +1 -1
- package/dist/cjs/components/popover/types/animation.js +1 -1
- package/dist/cjs/components/popover/utils/animation.utils.js +1 -0
- package/dist/cjs/components/popover/utils/placement.utils.js +1 -1
- package/dist/cjs/components/popover/utils/styling.utils.js +1 -1
- package/dist/cjs/components/portal/portal.js +1 -1
- package/dist/cjs/components/progressBar/progressBar.js +1 -1
- package/dist/cjs/components/progressBar/progressBarStandAlone.js +1 -1
- package/dist/cjs/components/radioButton/radioButton.js +1 -1
- package/dist/cjs/components/radioButton/radioButtonStandAlone.js +1 -1
- package/dist/cjs/components/radioButton/utils/aria.utils.js +1 -1
- package/dist/cjs/components/radioButton/utils/state.utils.js +1 -1
- package/dist/cjs/components/select/index.js +4 -0
- package/dist/cjs/components/select/selectControlled.js +1 -0
- package/dist/cjs/components/select/selectStandAlone.js +1 -0
- package/dist/cjs/components/select/selectUncontrolled.js +1 -0
- package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileAnimation.js +1 -1
- package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileContainerBox.js +1 -1
- package/dist/cjs/components/selectorBoxFile/hooks/useBorderAnimation.js +1 -1
- package/dist/cjs/components/selectorBoxFile/selectorBoxFile.js +1 -1
- package/dist/cjs/components/selectorBoxFile/selectorBoxFileStandAlone.js +1 -1
- package/dist/cjs/components/selectorBoxFile/utils/animation/animation.js +1 -1
- package/dist/cjs/components/selectorBoxFile/utils/state/state.js +1 -1
- package/dist/cjs/components/selectorBoxFile/utils/translateValue/translateValue.js +1 -1
- package/dist/cjs/components/skeleton/skeleton2.js +1 -0
- package/dist/cjs/components/skeleton/skeletonStandAlone.js +1 -1
- package/dist/cjs/components/slider/components/sliderButtonStandAlone.js +1 -1
- package/dist/cjs/components/slider/components/sliderHelperTextStandAlone.js +1 -1
- package/dist/cjs/components/slider/components/sliderScaleStandAlone.js +1 -1
- package/dist/cjs/components/slider/components/sliderThumbStandAlone.js +1 -1
- package/dist/cjs/components/slider/slider.js +1 -1
- package/dist/cjs/components/slider/sliderStandAlone.js +1 -1
- package/dist/cjs/components/slider/utils/accessibility.utils.js +1 -1
- package/dist/cjs/components/slider/utils/slider.utils.js +1 -1
- package/dist/cjs/components/slider/utils/state.utils.js +1 -1
- package/dist/cjs/components/slider/utils/ui.utils.js +1 -1
- package/dist/cjs/components/snackbar/hooks/useSnackbarAutoClose.js +1 -1
- package/dist/cjs/components/snackbar/snackbar.js +1 -1
- package/dist/cjs/components/snackbar/snackbarStandAlone.js +1 -1
- package/dist/cjs/components/stepperNumber/helpers/aria.js +1 -1
- package/dist/cjs/components/stepperNumber/helpers/screnReader.js +1 -1
- package/dist/cjs/components/stepperNumber/helpers/stepState.js +1 -1
- package/dist/cjs/components/stepperNumber/index.js +1 -0
- package/dist/cjs/components/stepperNumber/stepperNumber.js +1 -1
- package/dist/cjs/components/stepperNumber/stepperNumberStandAlone.js +1 -1
- package/dist/cjs/components/table/hooks/useTableHasScroll.js +1 -1
- package/dist/cjs/components/table/hooks/useTableShadow.js +1 -1
- package/dist/cjs/components/table/hooks/useTableStickyLeftColumns.js +1 -1
- package/dist/cjs/components/table/hooks/useTableStickyRightColumns.js +1 -1
- package/dist/cjs/components/table/table.js +1 -1
- package/dist/cjs/components/table/tableStandAlone.js +1 -1
- package/dist/cjs/components/tableBody/tableBody.js +1 -1
- package/dist/cjs/components/tableBody/tableBodyStandAlone.js +1 -1
- package/dist/cjs/components/tableCaption/tableCaption.js +1 -1
- package/dist/cjs/components/tableCaption/tableCaptionStandAlone.js +1 -1
- package/dist/cjs/components/tableCell/tableCell.js +1 -1
- package/dist/cjs/components/tableCell/tableCellStandAlone.js +1 -1
- package/dist/cjs/components/tableDivider/tableDivider.js +1 -1
- package/dist/cjs/components/tableDivider/tableDividerStandAlone.js +1 -1
- package/dist/cjs/components/tableFoot/tableFoot.js +1 -1
- package/dist/cjs/components/tableFoot/tableFootStandAlone.js +1 -1
- package/dist/cjs/components/tableHead/tableHead.js +1 -1
- package/dist/cjs/components/tableHead/tableHeadStandAlone.js +1 -1
- package/dist/cjs/components/tableRow/tableRow.js +1 -1
- package/dist/cjs/components/tableRow/tableRowStandAlone.js +1 -1
- package/dist/cjs/components/tabs/hooks/useTabs/useTabs.js +1 -1
- package/dist/cjs/components/tabs/tabsControlled.js +1 -1
- package/dist/cjs/components/tabs/tabsStandAlone.js +1 -1
- package/dist/cjs/components/tabs/tabsUnControlled.js +1 -1
- package/dist/cjs/components/tabs/utils/keyMove/keLeftMove.js +1 -1
- package/dist/cjs/components/tabs/utils/keyMove/keyRightMove.js +1 -1
- package/dist/cjs/components/tag/tag.js +1 -1
- package/dist/cjs/components/tag/tagStandAlone.js +1 -1
- package/dist/cjs/components/text/text2.js +1 -0
- package/dist/cjs/components/text/textStandAlone.js +1 -1
- package/dist/cjs/components/textArea/components/errorStandAlone.js +1 -1
- package/dist/cjs/components/textArea/components/helpMessageStandAlone.js +1 -1
- package/dist/cjs/components/textArea/components/textCount/textCount.js +1 -1
- package/dist/cjs/components/textArea/components/textCount/textCountStandAlone.js +1 -1
- package/dist/cjs/components/textArea/components/titleStandAlone.js +1 -1
- package/dist/cjs/components/textArea/textArea.js +1 -1
- package/dist/cjs/components/textArea/textAreaStandAlone.js +1 -1
- package/dist/cjs/components/textArea/utils/aria.utils.js +1 -1
- package/dist/cjs/components/textArea/utils/state.utils.js +1 -1
- package/dist/cjs/components/toggle/toggleControlled.js +1 -1
- package/dist/cjs/components/toggle/toggleStandAlone.js +1 -1
- package/dist/cjs/components/toggle/toggleUnControlled.js +1 -1
- package/dist/cjs/components/toggle/utils/buildComponentProps.js +1 -1
- package/dist/cjs/components/toggle/utils/thumbTransformCalculations.js +1 -1
- package/dist/cjs/components/tooltip/components/tooltipTrigger.js +1 -1
- package/dist/cjs/components/tooltip/hooks/useTooltip.js +1 -1
- package/dist/cjs/components/tooltip/hooks/useTooltipAsModal.js +1 -1
- package/dist/cjs/components/tooltip/hooks/useTooltipAsModalAriaLabel.js +1 -1
- package/dist/cjs/components/tooltip/positioning/computePosition.js +1 -1
- package/dist/cjs/components/tooltip/tooltipControlled.js +1 -1
- package/dist/cjs/components/tooltip/tooltipStandAlone.js +1 -1
- package/dist/cjs/components/tooltip/tooltipUnControlled.js +1 -1
- package/dist/cjs/components/tooltip/utils/tooltip.utils.js +1 -1
- package/dist/cjs/components/virtualKeyboard/components/digitButton.js +1 -1
- package/dist/cjs/components/virtualKeyboard/virtualKeyboard.js +1 -1
- package/dist/cjs/components/virtualKeyboard/virtualKeyboardStandAlone.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/lib/components/customComponent/customComponent.js +1 -1
- package/dist/cjs/lib/components/elementOrIcon/elementOrIcon.js +1 -1
- package/dist/cjs/lib/components/errorMessage/errorMessage.js +1 -1
- package/dist/cjs/lib/components/errorMessage/errorMessageStandAlone.js +1 -1
- package/dist/cjs/lib/components/itemRove/itemRove.js +1 -1
- package/dist/cjs/lib/components/overlay/overlay.js +1 -1
- package/dist/cjs/lib/components/overlay/overlayStandAlone.js +1 -1
- package/dist/cjs/lib/components/screen-reader-only/screenReaderOnly.js +1 -0
- package/dist/cjs/lib/components/screen-reader-only/screenReaderOnlyStandAlone.js +1 -0
- package/dist/cjs/lib/constants/keyboardKeys/keyboardKeys.js +1 -1
- package/dist/cjs/lib/hooks/useClassName/useClassName.js +1 -1
- package/dist/cjs/lib/hooks/useClickOutside/useClickOutside.js +1 -1
- package/dist/cjs/lib/hooks/useContentVisibility/useContentVisibility.js +1 -1
- package/dist/cjs/lib/hooks/useContentVisibility/utils/contentVisibility.js +1 -0
- package/dist/cjs/lib/hooks/useEscPressed/useEscPressed.js +1 -1
- package/dist/cjs/lib/hooks/useManageState/useManageState.js +1 -1
- package/dist/cjs/lib/hooks/useMediaDevice/useActiveBreakpoints.js +1 -1
- package/dist/cjs/lib/hooks/useMediaDevice/useMediaDevice.js +1 -1
- package/dist/cjs/lib/hooks/useRoveFocus/useRoveFocus.js +1 -1
- package/dist/cjs/lib/hooks/useScrollBlock/useScrollBlock.js +1 -1
- package/dist/cjs/lib/hooks/useScrollBlock/utils/useScrollBlock.utils.js +1 -1
- package/dist/cjs/lib/hooks/useScrollDetection/useScrollDetection.js +1 -0
- package/dist/cjs/lib/hooks/useScrollEffect/useScrollEffect.js +1 -1
- package/dist/cjs/lib/hooks/useScrollEffect/utils/scrollPercentage.js +1 -1
- package/dist/cjs/lib/hooks/useSwipeDown/useSwipeDown.js +1 -1
- package/dist/cjs/lib/hooks/useSwipeDown/utils/convertDurationToNumber.js +1 -1
- package/dist/cjs/lib/hooks/useTrapFocus/useTrapFocus.js +1 -1
- package/dist/cjs/lib/provider/genericComponentsProvider/defaultGenericComponents.js +1 -1
- package/dist/cjs/lib/provider/genericComponentsProvider/genericComponentsProvider.js +1 -1
- package/dist/cjs/lib/provider/stylesProvider/stylesProvider.js +1 -1
- package/dist/cjs/lib/provider/utilsProvider/utilsProvider.js +1 -1
- package/dist/cjs/lib/types/breakpoints/breakpoints.js +1 -1
- package/dist/cjs/lib/types/positions/positions.js +1 -1
- package/dist/cjs/lib/types/sizes/sizes.js +1 -0
- package/dist/cjs/lib/types/states/states.js +1 -1
- package/dist/cjs/lib/utils/classNames/classNames.js +1 -1
- package/dist/cjs/lib/utils/date/constants/common.constant.js +1 -1
- package/dist/cjs/lib/utils/date/constants/format.constant.js +1 -1
- package/dist/cjs/lib/utils/date/constants/parser.constant.js +1 -1
- package/dist/cjs/lib/utils/date/date.js +1 -1
- package/dist/cjs/lib/utils/date/formatDate.js +1 -1
- package/dist/cjs/lib/utils/date/locale.js +1 -1
- package/dist/cjs/lib/utils/date/transformDate.js +1 -1
- package/dist/cjs/lib/utils/date/types/format.types.js +1 -1
- package/dist/cjs/lib/utils/date/validateDate.js +1 -1
- package/dist/cjs/lib/utils/focusHandlers/focusHandlers.js +1 -1
- package/dist/cjs/lib/utils/is/isValidHttpUrl.js +1 -1
- package/dist/cjs/lib/utils/keyboard/keyboard.js +1 -1
- package/dist/cjs/lib/utils/pickCustomAttributes/pickCustomAttributes.js +1 -1
- package/dist/cjs/lib/utils/process/processCommonProp.js +1 -0
- package/dist/cjs/lib/utils/refs/syncRefs.js +1 -0
- package/dist/cjs/lib/utils/scroll/hasScroll.js +1 -1
- package/dist/esm/components/accordion/accordionControlled.js +27 -1
- package/dist/esm/components/accordion/accordionStandAlone.js +43 -4
- package/dist/esm/components/accordion/accordionUnControlled.js +16 -2
- package/dist/esm/components/accordion/hooks/useAccordionContentOverflow.js +24 -1
- package/dist/esm/components/accordion/hooks/useAccordionInertContent.js +8 -1
- package/dist/esm/components/accordion/types/state.js +5 -1
- package/dist/esm/components/alert/alertControlled.js +14 -0
- package/dist/esm/components/alert/alertStandAlone.js +26 -0
- package/dist/esm/components/alert/index.js +1 -0
- package/dist/esm/components/avatar/avatar.js +23 -2
- package/dist/esm/components/avatar/avatarStandAlone.js +51 -1
- package/dist/esm/components/avatar/fragments/drawContent.js +24 -1
- package/dist/esm/components/badge/badge.js +28 -2
- package/dist/esm/components/badge/badgeStandAlone.js +71 -7
- package/dist/esm/components/breadcrumbs/breadcrumbs.js +17 -2
- package/dist/esm/components/breadcrumbs/breadcrumbsStandAlone.js +36 -3
- package/dist/esm/components/breadcrumbs/components/crumbStandAlone/crumbStandAlone.js +49 -3
- package/dist/esm/components/breadcrumbs/hooks/useIsOverflow/useIsOverflow.js +16 -1
- package/dist/esm/components/breadcrumbs/utils/crumbMaxCharName/crumbMaxCharName.js +7 -1
- package/dist/esm/components/button/button.js +35 -1
- package/dist/esm/components/button/buttonStandAlone.js +42 -3
- package/dist/esm/components/calendar/calendar.js +42 -1
- package/dist/esm/components/calendar/calendarStandAlone.js +102 -6
- package/dist/esm/components/calendar/constants/constants.js +2 -1
- package/dist/esm/components/calendar/header/header.js +23 -2
- package/dist/esm/components/calendar/list/list.js +116 -2
- package/dist/esm/components/calendar/selector/monthSelector/monthSelector.js +64 -3
- package/dist/esm/components/calendar/selector/monthSelector/utils/monthSelector.utils.js +3 -1
- package/dist/esm/components/calendar/selector/selector.js +89 -7
- package/dist/esm/components/calendar/selector/yearSelector/utils/yearSelector.utils.js +3 -1
- package/dist/esm/components/calendar/selector/yearSelector/yearSelector.js +61 -3
- package/dist/esm/components/calendar/utils/getAllDaysInMonth.js +2 -1
- package/dist/esm/components/calendar/utils/getFirstDayOfMonth.js +2 -1
- package/dist/esm/components/calendar/utils/getState.js +7 -1
- package/dist/esm/components/calendar/utils/getYearList.js +6 -1
- package/dist/esm/components/calendar/utils/groupDaysByWeeks.js +6 -1
- package/dist/esm/components/calendar/utils/handleKeysmoves.js +10 -1
- package/dist/esm/components/calendar/utils/setMonth.js +2 -1
- package/dist/esm/components/calendar/utils/setYear.js +2 -1
- package/dist/esm/components/card/card.js +17 -0
- package/dist/esm/components/card/cardStandAlone.js +43 -0
- package/dist/esm/components/card/index.js +2 -0
- package/dist/esm/components/carousel/carousel.js +54 -2
- package/dist/esm/components/carousel/carouselStandAlone.js +36 -3
- package/dist/esm/components/carousel/hooks/useCarousel.js +184 -1
- package/dist/esm/components/carousel/hooks/useCarouselKeyNavigation.js +23 -1
- package/dist/esm/components/carousel/hooks/useCarouselSwipe.js +58 -1
- package/dist/esm/components/carousel/hooks/utils/calc.utils.js +73 -1
- package/dist/esm/components/carousel/hooks/utils/constants.js +6 -1
- package/dist/esm/components/carousel/hooks/utils/dom.utils.js +71 -1
- package/dist/esm/components/carousel/types/carousel.js +2 -1
- package/dist/esm/components/carousel/utils/carousel.utils.js +15 -1
- package/dist/esm/components/checkbox/checkboxControlled.js +20 -2
- package/dist/esm/components/checkbox/checkboxStandAlone.js +56 -5
- package/dist/esm/components/checkbox/checkboxUnControlled.js +22 -2
- package/dist/esm/components/checkbox/components/errorMessage.js +17 -2
- package/dist/esm/components/checkbox/components/label.js +12 -1
- package/dist/esm/components/checkbox/types/state.js +9 -1
- package/dist/esm/components/checkbox/utils/aria.utils.js +9 -1
- package/dist/esm/components/checkbox/utils/state.utils.js +3 -1
- package/dist/esm/components/checkboxBase/checkboxBaseControlled.js +22 -2
- package/dist/esm/components/checkboxBase/checkboxBaseStandAlone.js +29 -4
- package/dist/esm/components/checkboxBase/checkboxBaseUncontrolled.js +20 -2
- package/dist/esm/components/checkboxBase/hooks/useCheckbox.js +11 -1
- package/dist/esm/components/chip/chip.js +19 -2
- package/dist/esm/components/chip/chipStandAlone.js +72 -8
- package/dist/esm/components/dataTable/components/dataTableHead.js +67 -4
- package/dist/esm/components/dataTable/components/dataTableRows.js +62 -6
- package/dist/esm/components/dataTable/components/hiddenDataTableHead.js +25 -2
- package/dist/esm/components/dataTable/dataTable.js +30 -1
- package/dist/esm/components/dataTable/dataTableStandAlone.js +123 -10
- package/dist/esm/components/dataTable/hooks/useDataTableHasScroll.js +20 -1
- package/dist/esm/components/dataTable/hooks/useDataTableShadow.js +21 -1
- package/dist/esm/components/dataTable/hooks/useDataTableStickyDividers.js +29 -1
- package/dist/esm/components/dataTable/hooks/useDataTableStickyLeftColumns.js +25 -1
- package/dist/esm/components/dataTable/hooks/useDataTableStickyRightColumns.js +31 -1
- package/dist/esm/components/dataTable/utils/cellConfig.js +2 -1
- package/dist/esm/components/dataTable/utils/hoverable.js +5 -1
- package/dist/esm/components/dataTable/utils/rowConfig.js +2 -1
- package/dist/esm/components/dataTable/utils/tableConfig.js +2 -1
- package/dist/esm/components/dot/dot.js +23 -2
- package/dist/esm/components/dot/dotStandAlone.js +19 -2
- package/dist/esm/components/icon/icon.js +52 -3
- package/dist/esm/components/icon/iconHost.js +32 -1
- package/dist/esm/components/icon/iconStandAlone.js +73 -2
- package/dist/esm/components/image/components/pictureSourceStandAlone.js +14 -2
- package/dist/esm/components/image/image2.js +13 -0
- package/dist/esm/components/image/imageStandAlone.js +40 -8
- package/dist/esm/components/image/utils/getFallbackRatio.js +2 -1
- package/dist/esm/components/input/input.js +35 -2
- package/dist/esm/components/input/inputStandAlone.js +45 -3
- package/dist/esm/components/input/types/state.js +10 -1
- package/dist/esm/components/input/utils/state.js +3 -1
- package/dist/esm/components/inputBase/inputBase.js +28 -2
- package/dist/esm/components/inputBase/inputBaseStandAlone.js +13 -2
- package/dist/esm/components/inputBase/types/state.js +10 -1
- package/dist/esm/components/inputBase/utils/state.js +3 -1
- package/dist/esm/components/inputDecoration/inputDecoration.js +25 -2
- package/dist/esm/components/inputDecoration/inputDecorationStandAlone.js +22 -2
- package/dist/esm/components/inputDecoration/types/state.js +10 -1
- package/dist/esm/components/inputDecoration/utils/state.js +3 -1
- package/dist/esm/components/inputSignature/hook/useDraw.js +50 -1
- package/dist/esm/components/inputSignature/inputSignatureControlled.js +20 -1
- package/dist/esm/components/inputSignature/inputSignatureStandAlone.js +36 -3
- package/dist/esm/components/inputSignature/inputSignatureUncontrolled.js +34 -2
- package/dist/esm/components/inputSignature/utils/getInputSignatureState.js +3 -1
- package/dist/esm/components/label/labelStandAlone.js +28 -2
- package/dist/esm/components/link/helpers/disabled.js +2 -1
- package/dist/esm/components/link/link.js +34 -2
- package/dist/esm/components/link/linkAsButton/linkAsButton.js +32 -2
- package/dist/esm/components/link/linkAsButton/linkAsButtonStandAlone.js +46 -2
- package/dist/esm/components/link/linkStandAlone.js +47 -3
- package/dist/esm/components/listOptions/listOptions.js +17 -2
- package/dist/esm/components/listOptions/listOptionsStandAlone.js +71 -2
- package/dist/esm/components/listOptions/utils/listOptions.utils.js +8 -1
- package/dist/esm/components/modal/fragments/modalHeader.js +56 -3
- package/dist/esm/components/modal/modalControlled.js +46 -1
- package/dist/esm/components/modal/modalStandAlone.js +65 -4
- package/dist/esm/components/modal/modalUnControlled.js +37 -2
- package/dist/esm/components/modal/utils/onlyDesktopSize.js +3 -1
- package/dist/esm/components/option/components.ts/optionLabelSlice.js +15 -2
- package/dist/esm/components/option/option.js +33 -2
- package/dist/esm/components/option/optionStandAlone.js +107 -9
- package/dist/esm/components/option/utils/option.utils.js +14 -1
- package/dist/esm/components/pageControl/components/arrowControlStandAlone.js +12 -2
- package/dist/esm/components/pageControl/components/buttonControlStandAlone.js +13 -2
- package/dist/esm/components/pageControl/components/controls.js +21 -2
- package/dist/esm/components/pageControl/helper/controlType.js +2 -1
- package/dist/esm/components/pageControl/helper/positions.js +8 -1
- package/dist/esm/components/pageControl/pageControl.js +38 -2
- package/dist/esm/components/pageControl/pageControlStandAlone.js +59 -6
- package/dist/esm/components/pagination/fragments/paginationButtonControl.js +19 -2
- package/dist/esm/components/pagination/helpers/adjustMaxCountersNumber.js +6 -1
- package/dist/esm/components/pagination/helpers/getMaxCountersNumber.js +20 -1
- package/dist/esm/components/pagination/pagination.js +26 -2
- package/dist/esm/components/pagination/paginationStandAlone.js +52 -6
- package/dist/esm/components/popover/animations/spring.animations.js +52 -0
- package/dist/esm/components/popover/hooks/positioning/arrowPositionStyles.js +18 -1
- package/dist/esm/components/popover/hooks/positioning/middlewareUtils.js +38 -1
- package/dist/esm/components/popover/hooks/positioning/positionCalculation.js +17 -1
- package/dist/esm/components/popover/hooks/positioning/positionStyles.js +198 -1
- package/dist/esm/components/popover/hooks/positioning/types.js +7 -1
- package/dist/esm/components/popover/hooks/usePopoverInteractions.js +31 -1
- package/dist/esm/components/popover/hooks/usePopoverLifecycle.js +61 -1
- package/dist/esm/components/popover/hooks/usePopoverPositioning.js +126 -1
- package/dist/esm/components/popover/index.js +1 -0
- package/dist/esm/components/popover/popover.js +61 -1
- package/dist/esm/components/popover/popoverStandAlone.js +40 -3
- package/dist/esm/components/popover/positioning/middlewares.js +2 -0
- package/dist/esm/components/popover/types/animation.js +2 -1
- package/dist/esm/components/popover/utils/animation.utils.js +16 -0
- package/dist/esm/components/popover/utils/placement.utils.js +3 -1
- package/dist/esm/components/popover/utils/styling.utils.js +34 -1
- package/dist/esm/components/portal/portal.js +10 -1
- package/dist/esm/components/progressBar/progressBar.js +23 -2
- package/dist/esm/components/progressBar/progressBarStandAlone.js +32 -4
- package/dist/esm/components/radioButton/radioButton.js +20 -2
- package/dist/esm/components/radioButton/radioButtonStandAlone.js +95 -4
- package/dist/esm/components/radioButton/utils/aria.utils.js +7 -1
- package/dist/esm/components/radioButton/utils/state.utils.js +6 -1
- package/dist/esm/components/select/index.js +2 -0
- package/dist/esm/components/select/selectControlled.js +33 -0
- package/dist/esm/components/select/selectStandAlone.js +95 -0
- package/dist/esm/components/select/selectUncontrolled.js +40 -0
- package/dist/esm/components/selectorBoxFile/components/selectorBoxFileAnimation.js +47 -3
- package/dist/esm/components/selectorBoxFile/components/selectorBoxFileContainerBox.js +77 -9
- package/dist/esm/components/selectorBoxFile/hooks/useBorderAnimation.js +45 -1
- package/dist/esm/components/selectorBoxFile/selectorBoxFile.js +40 -2
- package/dist/esm/components/selectorBoxFile/selectorBoxFileStandAlone.js +47 -7
- package/dist/esm/components/selectorBoxFile/utils/animation/animation.js +10 -1
- package/dist/esm/components/selectorBoxFile/utils/state/state.js +3 -1
- package/dist/esm/components/selectorBoxFile/utils/translateValue/translateValue.js +6 -1
- package/dist/esm/components/skeleton/skeleton2.js +23 -0
- package/dist/esm/components/skeleton/skeletonStandAlone.js +26 -2
- package/dist/esm/components/slider/components/sliderButtonStandAlone.js +12 -1
- package/dist/esm/components/slider/components/sliderHelperTextStandAlone.js +25 -1
- package/dist/esm/components/slider/components/sliderScaleStandAlone.js +21 -2
- package/dist/esm/components/slider/components/sliderThumbStandAlone.js +82 -1
- package/dist/esm/components/slider/slider.js +182 -2
- package/dist/esm/components/slider/sliderStandAlone.js +253 -17
- package/dist/esm/components/slider/utils/accessibility.utils.js +68 -1
- package/dist/esm/components/slider/utils/slider.utils.js +155 -1
- package/dist/esm/components/slider/utils/state.utils.js +3 -1
- package/dist/esm/components/slider/utils/ui.utils.js +3 -1
- package/dist/esm/components/snackbar/hooks/useSnackbarAutoClose.js +30 -1
- package/dist/esm/components/snackbar/snackbar.js +28 -2
- package/dist/esm/components/snackbar/snackbarStandAlone.js +20 -1
- package/dist/esm/components/stepperNumber/helpers/aria.js +2 -1
- package/dist/esm/components/stepperNumber/helpers/screnReader.js +8 -1
- package/dist/esm/components/stepperNumber/helpers/stepState.js +14 -1
- package/dist/esm/components/stepperNumber/index.js +1 -0
- package/dist/esm/components/stepperNumber/stepperNumber.js +24 -2
- package/dist/esm/components/stepperNumber/stepperNumberStandAlone.js +86 -10
- package/dist/esm/components/table/hooks/useTableHasScroll.js +20 -1
- package/dist/esm/components/table/hooks/useTableShadow.js +21 -1
- package/dist/esm/components/table/hooks/useTableStickyLeftColumns.js +23 -1
- package/dist/esm/components/table/hooks/useTableStickyRightColumns.js +29 -1
- package/dist/esm/components/table/table.js +39 -1
- package/dist/esm/components/table/tableStandAlone.js +42 -5
- package/dist/esm/components/tableBody/tableBody.js +14 -2
- package/dist/esm/components/tableBody/tableBodyStandAlone.js +17 -2
- package/dist/esm/components/tableCaption/tableCaption.js +14 -2
- package/dist/esm/components/tableCaption/tableCaptionStandAlone.js +17 -2
- package/dist/esm/components/tableCell/tableCell.js +14 -2
- package/dist/esm/components/tableCell/tableCellStandAlone.js +42 -2
- package/dist/esm/components/tableDivider/tableDivider.js +14 -2
- package/dist/esm/components/tableDivider/tableDividerStandAlone.js +18 -2
- package/dist/esm/components/tableFoot/tableFoot.js +14 -2
- package/dist/esm/components/tableFoot/tableFootStandAlone.js +17 -2
- package/dist/esm/components/tableHead/tableHead.js +14 -2
- package/dist/esm/components/tableHead/tableHeadStandAlone.js +20 -2
- package/dist/esm/components/tableRow/tableRow.js +14 -2
- package/dist/esm/components/tableRow/tableRowStandAlone.js +24 -2
- package/dist/esm/components/tabs/hooks/useTabs/useTabs.js +44 -1
- package/dist/esm/components/tabs/tabsControlled.js +20 -2
- package/dist/esm/components/tabs/tabsStandAlone.js +127 -5
- package/dist/esm/components/tabs/tabsUnControlled.js +15 -2
- package/dist/esm/components/tabs/utils/keyMove/keLeftMove.js +2 -1
- package/dist/esm/components/tabs/utils/keyMove/keyRightMove.js +2 -1
- package/dist/esm/components/tag/tag.js +17 -2
- package/dist/esm/components/tag/tagStandAlone.js +26 -4
- package/dist/esm/components/text/text2.js +18 -0
- package/dist/esm/components/text/textStandAlone.js +41 -2
- package/dist/esm/components/textArea/components/errorStandAlone.js +23 -3
- package/dist/esm/components/textArea/components/helpMessageStandAlone.js +11 -1
- package/dist/esm/components/textArea/components/textCount/textCount.js +18 -2
- package/dist/esm/components/textArea/components/textCount/textCountStandAlone.js +40 -5
- package/dist/esm/components/textArea/components/titleStandAlone.js +15 -1
- package/dist/esm/components/textArea/textArea.js +38 -2
- package/dist/esm/components/textArea/textAreaStandAlone.js +106 -11
- package/dist/esm/components/textArea/utils/aria.utils.js +6 -1
- package/dist/esm/components/textArea/utils/state.utils.js +6 -1
- package/dist/esm/components/toggle/toggleControlled.js +22 -2
- package/dist/esm/components/toggle/toggleStandAlone.js +73 -4
- package/dist/esm/components/toggle/toggleUnControlled.js +17 -2
- package/dist/esm/components/toggle/utils/buildComponentProps.js +28 -1
- package/dist/esm/components/toggle/utils/thumbTransformCalculations.js +29 -1
- package/dist/esm/components/tooltip/components/tooltipTrigger.js +32 -1
- package/dist/esm/components/tooltip/hooks/useTooltip.js +95 -1
- package/dist/esm/components/tooltip/hooks/useTooltipAsModal.js +3 -1
- package/dist/esm/components/tooltip/hooks/useTooltipAsModalAriaLabel.js +8 -1
- package/dist/esm/components/tooltip/positioning/computePosition.js +21 -1
- package/dist/esm/components/tooltip/tooltipControlled.js +32 -1
- package/dist/esm/components/tooltip/tooltipStandAlone.js +103 -8
- package/dist/esm/components/tooltip/tooltipUnControlled.js +96 -1
- package/dist/esm/components/tooltip/utils/tooltip.utils.js +5 -1
- package/dist/esm/components/virtualKeyboard/components/digitButton.js +21 -2
- package/dist/esm/components/virtualKeyboard/virtualKeyboard.js +25 -2
- package/dist/esm/components/virtualKeyboard/virtualKeyboardStandAlone.js +43 -4
- package/dist/esm/index.js +77 -1
- package/dist/esm/lib/components/customComponent/customComponent.js +19 -2
- package/dist/esm/lib/components/elementOrIcon/elementOrIcon.js +10 -1
- package/dist/esm/lib/components/errorMessage/errorMessage.js +15 -2
- package/dist/esm/lib/components/errorMessage/errorMessageStandAlone.js +21 -4
- package/dist/esm/lib/components/itemRove/itemRove.js +42 -2
- package/dist/esm/lib/components/overlay/overlay.js +17 -2
- package/dist/esm/lib/components/overlay/overlayStandAlone.js +15 -2
- package/dist/esm/lib/components/screen-reader-only/screenReaderOnly.js +9 -0
- package/dist/esm/lib/components/screen-reader-only/screenReaderOnlyStandAlone.js +17 -0
- package/dist/esm/lib/constants/keyboardKeys/keyboardKeys.js +52 -1
- package/dist/esm/lib/hooks/useClassName/useClassName.js +10 -1
- package/dist/esm/lib/hooks/useClickOutside/useClickOutside.js +16 -1
- package/dist/esm/lib/hooks/useContentVisibility/useContentVisibility.js +33 -1
- package/dist/esm/lib/hooks/useContentVisibility/utils/contentVisibility.js +3 -0
- package/dist/esm/lib/hooks/useEscPressed/useEscPressed.js +13 -1
- package/dist/esm/lib/hooks/useManageState/useManageState.js +37 -1
- package/dist/esm/lib/hooks/useMediaDevice/useActiveBreakpoints.js +15 -1
- package/dist/esm/lib/hooks/useMediaDevice/useMediaDevice.js +20 -1
- package/dist/esm/lib/hooks/useRoveFocus/useRoveFocus.js +65 -1
- package/dist/esm/lib/hooks/useScrollBlock/useScrollBlock.js +59 -1
- package/dist/esm/lib/hooks/useScrollBlock/utils/useScrollBlock.utils.js +5 -1
- package/dist/esm/lib/hooks/useScrollDetection/useScrollDetection.js +20 -0
- package/dist/esm/lib/hooks/useScrollEffect/useScrollEffect.js +65 -1
- package/dist/esm/lib/hooks/useScrollEffect/utils/scrollPercentage.js +9 -1
- package/dist/esm/lib/hooks/useSwipeDown/useSwipeDown.js +28 -1
- package/dist/esm/lib/hooks/useSwipeDown/utils/convertDurationToNumber.js +7 -1
- package/dist/esm/lib/hooks/useTrapFocus/useTrapFocus.js +34 -1
- package/dist/esm/lib/provider/genericComponentsProvider/defaultGenericComponents.js +39 -3
- package/dist/esm/lib/provider/genericComponentsProvider/genericComponentsProvider.js +11 -1
- package/dist/esm/lib/provider/stylesProvider/stylesProvider.js +94 -2
- package/dist/esm/lib/provider/utilsProvider/utilsProvider.js +19 -2
- package/dist/esm/lib/types/breakpoints/breakpoints.js +14 -1
- package/dist/esm/lib/types/positions/positions.js +31 -1
- package/dist/esm/lib/types/sizes/sizes.js +8 -0
- package/dist/esm/lib/types/states/states.js +47 -1
- package/dist/esm/lib/utils/classNames/classNames.js +2 -1
- package/dist/esm/lib/utils/date/constants/common.constant.js +2 -1
- package/dist/esm/lib/utils/date/constants/format.constant.js +139 -1
- package/dist/esm/lib/utils/date/constants/parser.constant.js +26 -1
- package/dist/esm/lib/utils/date/date.js +41 -1
- package/dist/esm/lib/utils/date/formatDate.js +39 -1
- package/dist/esm/lib/utils/date/locale.js +10 -1
- package/dist/esm/lib/utils/date/transformDate.js +26 -1
- package/dist/esm/lib/utils/date/types/format.types.js +23 -1
- package/dist/esm/lib/utils/date/validateDate.js +2 -1
- package/dist/esm/lib/utils/focusHandlers/focusHandlers.js +22 -1
- package/dist/esm/lib/utils/is/isValidHttpUrl.js +11 -1
- package/dist/esm/lib/utils/keyboard/keyboard.js +2 -1
- package/dist/esm/lib/utils/pickCustomAttributes/pickCustomAttributes.js +2 -1
- package/dist/esm/lib/utils/process/processCommonProp.js +31 -0
- package/dist/esm/lib/utils/refs/syncRefs.js +4 -0
- package/dist/esm/lib/utils/scroll/hasScroll.js +2 -1
- package/dist/types/index.d.ts +1581 -2069
- package/package.json +109 -76
- package/dist/cjs/_virtual/jsx-runtime.js +0 -1
- package/dist/cjs/_virtual/jsx-runtime2.js +0 -1
- package/dist/cjs/_virtual/react-jsx-runtime.production.min.js +0 -1
- package/dist/cjs/components/cardImage/cardImage.js +0 -1
- package/dist/cjs/components/cardImage/cardImageStandAlone.js +0 -1
- package/dist/cjs/components/container/container.js +0 -1
- package/dist/cjs/components/container/containerStandAlone.js +0 -1
- package/dist/cjs/components/container/index.js +0 -2
- package/dist/cjs/components/dropdownSelected/dropdownSelectedControlled.js +0 -1
- package/dist/cjs/components/dropdownSelected/dropdownSelectedStandAlone.js +0 -1
- package/dist/cjs/components/dropdownSelected/dropdownSelectedUncontrolled.js +0 -1
- package/dist/cjs/components/dropdownSelected/index.js +0 -4
- package/dist/cjs/components/image/image.css +0 -38
- package/dist/cjs/components/image/image.js +0 -1
- package/dist/cjs/components/message/index.js +0 -4
- package/dist/cjs/components/message/messageControlled.js +0 -1
- package/dist/cjs/components/message/messageStandAlone.js +0 -1
- package/dist/cjs/components/message/messageUnControlled.js +0 -1
- package/dist/cjs/components/navBar/index.js +0 -2
- package/dist/cjs/components/navBar/navBar.js +0 -1
- package/dist/cjs/components/navBar/navBarStandAlone.js +0 -1
- package/dist/cjs/components/popover/styles/index.css +0 -10
- package/dist/cjs/components/popover/styles/keyframes.css +0 -421
- package/dist/cjs/components/popover/styles/popover-arrow.css +0 -42
- package/dist/cjs/components/popover/styles/popover.css +0 -189
- package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileErrorMessage.js +0 -1
- package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileHeader.js +0 -1
- package/dist/cjs/components/selectorBoxFile/components/selectorBoxFileTooltip.js +0 -1
- package/dist/cjs/components/skeleton/skeleton.css +0 -20
- package/dist/cjs/components/skeleton/skeleton.js +0 -1
- package/dist/cjs/components/table/__stories__/css/table.css +0 -7
- package/dist/cjs/components/text/text.css +0 -14
- package/dist/cjs/components/text/text.js +0 -1
- package/dist/cjs/components/tooltip/tooltip.css +0 -69
- package/dist/cjs/lib/hooks/syncRefs/syncRefs.js +0 -1
- package/dist/cjs/lib/hooks/useContentVisibilityDetection/useContentVisibilityDetection.js +0 -1
- package/dist/cjs/lib/hooks/useContentVisibilityDetection/utils/contentVisibility.js +0 -1
- package/dist/cjs/lib/hooks/useInputFocus/useInputFocus.js +0 -1
- package/dist/cjs/lib/hooks/useScrollDetectionWithAutoFocus/useScrollDetectionWithAutoFocus.js +0 -1
- package/dist/cjs/lib/provider/cssProvider/provider.js +0 -1
- package/dist/cjs/lib/provider/cssProvider/stats/stats.js +0 -1641
- package/dist/cjs/lib/provider/kubitProvider/kubitProvider.js +0 -1
- package/dist/cjs/lib/utils/process/processIcon/processIcon.js +0 -1
- package/dist/cjs/lib/utils/process/processText/processText.js +0 -1
- package/dist/cjs/lib/utils/resizeObserver/resizeObserver.js +0 -1
- package/dist/cjs/react-components.css +0 -1
- package/dist/esm/_virtual/jsx-runtime.js +0 -1
- package/dist/esm/_virtual/jsx-runtime2.js +0 -1
- package/dist/esm/_virtual/react-jsx-runtime.production.min.js +0 -1
- package/dist/esm/components/cardImage/cardImage.js +0 -2
- package/dist/esm/components/cardImage/cardImageStandAlone.js +0 -7
- package/dist/esm/components/container/container.js +0 -2
- package/dist/esm/components/container/containerStandAlone.js +0 -4
- package/dist/esm/components/container/index.js +0 -1
- package/dist/esm/components/dropdownSelected/dropdownSelectedControlled.js +0 -1
- package/dist/esm/components/dropdownSelected/dropdownSelectedStandAlone.js +0 -5
- package/dist/esm/components/dropdownSelected/dropdownSelectedUncontrolled.js +0 -2
- package/dist/esm/components/dropdownSelected/index.js +0 -2
- package/dist/esm/components/image/image.css +0 -38
- package/dist/esm/components/image/image.js +0 -2
- package/dist/esm/components/message/index.js +0 -2
- package/dist/esm/components/message/messageControlled.js +0 -2
- package/dist/esm/components/message/messageStandAlone.js +0 -5
- package/dist/esm/components/message/messageUnControlled.js +0 -2
- package/dist/esm/components/navBar/index.js +0 -1
- package/dist/esm/components/navBar/navBar.js +0 -2
- package/dist/esm/components/navBar/navBarStandAlone.js +0 -2
- package/dist/esm/components/popover/styles/index.css +0 -10
- package/dist/esm/components/popover/styles/keyframes.css +0 -421
- package/dist/esm/components/popover/styles/popover-arrow.css +0 -42
- package/dist/esm/components/popover/styles/popover.css +0 -189
- package/dist/esm/components/selectorBoxFile/components/selectorBoxFileErrorMessage.js +0 -3
- package/dist/esm/components/selectorBoxFile/components/selectorBoxFileHeader.js +0 -5
- package/dist/esm/components/selectorBoxFile/components/selectorBoxFileTooltip.js +0 -1
- package/dist/esm/components/skeleton/skeleton.css +0 -20
- package/dist/esm/components/skeleton/skeleton.js +0 -2
- package/dist/esm/components/table/__stories__/css/table.css +0 -7
- package/dist/esm/components/text/text.css +0 -14
- package/dist/esm/components/text/text.js +0 -1
- package/dist/esm/components/tooltip/tooltip.css +0 -69
- package/dist/esm/lib/hooks/syncRefs/syncRefs.js +0 -1
- package/dist/esm/lib/hooks/useContentVisibilityDetection/useContentVisibilityDetection.js +0 -1
- package/dist/esm/lib/hooks/useContentVisibilityDetection/utils/contentVisibility.js +0 -1
- package/dist/esm/lib/hooks/useInputFocus/useInputFocus.js +0 -1
- package/dist/esm/lib/hooks/useScrollDetectionWithAutoFocus/useScrollDetectionWithAutoFocus.js +0 -1
- package/dist/esm/lib/provider/cssProvider/provider.js +0 -1
- package/dist/esm/lib/provider/cssProvider/stats/stats.js +0 -1641
- package/dist/esm/lib/provider/kubitProvider/kubitProvider.js +0 -1
- package/dist/esm/lib/utils/process/processIcon/processIcon.js +0 -1
- package/dist/esm/lib/utils/process/processText/processText.js +0 -1
- package/dist/esm/lib/utils/resizeObserver/resizeObserver.js +0 -1
- package/dist/esm/react-components.css +0 -1
- package/dist/styles/kubit/css/kubit.css +0 -1683
- package/dist/styles/kubit/css/kubit.min.css +0 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { AriaAttributes } from 'react';
|
|
|
2
2
|
import { AriaRole } from 'react';
|
|
3
3
|
import { ComponentType } from 'react';
|
|
4
4
|
import { Context } from 'react';
|
|
5
|
+
import { CssLibPropsType as CssLibPropsType_2 } from 'bernova/interfaces';
|
|
5
6
|
import { CSSProperties } from 'react';
|
|
6
7
|
import { DOMAttributes } from 'react';
|
|
7
8
|
import { FC } from 'react';
|
|
@@ -25,7 +26,6 @@ import { offset as popoverMWOffset } from '@floating-ui/dom';
|
|
|
25
26
|
import { shift as popoverMWShift } from '@floating-ui/dom';
|
|
26
27
|
import { size as popoverMWSize } from '@floating-ui/dom';
|
|
27
28
|
import { PropsWithChildren } from 'react';
|
|
28
|
-
import { Provider } from '../../cssProvider/provider';
|
|
29
29
|
import { ReactElement } from 'react';
|
|
30
30
|
import { ReactNode } from 'react';
|
|
31
31
|
import { Ref } from 'react';
|
|
@@ -121,6 +121,58 @@ export declare type AccordionVariantStyles<Variant extends string> = AccordionSt
|
|
|
121
121
|
[key in Variant]: AccordionStyleProps;
|
|
122
122
|
};
|
|
123
123
|
|
|
124
|
+
/**
|
|
125
|
+
* Alert component for displaying notification messages.
|
|
126
|
+
*
|
|
127
|
+
* This component renders styled alerts.
|
|
128
|
+
* Useful for notifications, success/error messages, and informational banners.
|
|
129
|
+
* Always visible - no open/close functionality.
|
|
130
|
+
*
|
|
131
|
+
* @example
|
|
132
|
+
* ```tsx
|
|
133
|
+
* <Alert
|
|
134
|
+
* variant="success"
|
|
135
|
+
* content={{ content: "Your changes have been saved." }}
|
|
136
|
+
* />
|
|
137
|
+
* ```
|
|
138
|
+
*/
|
|
139
|
+
export declare const Alert: ForwardRefExoticComponent<AlertProps<string> & RefAttributes<HTMLDivElement>>;
|
|
140
|
+
|
|
141
|
+
declare type AlertCssClasses = ComponentSelected<ComponentsTypesComponents['ALERT']>;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Interface for the Alert component.
|
|
145
|
+
* Extends the AlertStandAloneProps interface and adds a variant and additional CSS classes.
|
|
146
|
+
*
|
|
147
|
+
* @template Variant - The type of the variant for the Alert.
|
|
148
|
+
*/
|
|
149
|
+
export declare interface AlertProps<Variant = undefined extends string ? unknown : string> extends AlertStandAloneProps {
|
|
150
|
+
variant?: Variant;
|
|
151
|
+
additionalClasses?: Partial<AlertCssClasses>;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Interface for the standalone Alert component.
|
|
156
|
+
* A simplified component that displays alert messages. Always visible.
|
|
157
|
+
*/
|
|
158
|
+
export declare interface AlertStandAloneProps extends DataAttributes {
|
|
159
|
+
content: CommonTextProps;
|
|
160
|
+
role?: React.AriaRole;
|
|
161
|
+
id?: string;
|
|
162
|
+
ariaLive?: AriaAttributes['aria-live'];
|
|
163
|
+
cssClasses?: AlertCssClasses;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export declare interface AlertStyleProps extends CssLibPropsType {
|
|
167
|
+
_container?: CssLibPropsType;
|
|
168
|
+
_contentContainer?: CssLibPropsType;
|
|
169
|
+
_description?: CssLibPropsType;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export declare type AlertVariantStyles<Variant extends string> = AlertStyleProps & {
|
|
173
|
+
[key in Variant]: AlertStyleProps;
|
|
174
|
+
};
|
|
175
|
+
|
|
124
176
|
export declare interface ArrowsControlStyleProps extends CssLibPropsType {
|
|
125
177
|
_leftArrowControlContainer?: CssLibPropsType;
|
|
126
178
|
_rightArrowControlContainer?: CssLibPropsType;
|
|
@@ -402,7 +454,7 @@ export declare interface BreadcrumbsStandAloneProps extends BreadcrumbAriaAttrib
|
|
|
402
454
|
id?: string;
|
|
403
455
|
crumbs: BreadcrumbProps[];
|
|
404
456
|
minCharLimit?: number;
|
|
405
|
-
dividerIcon?:
|
|
457
|
+
dividerIcon?: CommonIconProps;
|
|
406
458
|
lastOneCrumbComponent?: TextComponentType;
|
|
407
459
|
cssClasses?: BreadcrumbsCssClasses;
|
|
408
460
|
}
|
|
@@ -426,20 +478,36 @@ export declare interface BreadcrumbStandAloneProps extends DataAttributes {
|
|
|
426
478
|
crumb: BreadcrumbProps;
|
|
427
479
|
lastCrumb?: boolean;
|
|
428
480
|
lastOneCrumbComponent?: TextComponentType;
|
|
429
|
-
dividerIcon?:
|
|
481
|
+
dividerIcon?: CommonIconProps;
|
|
430
482
|
}
|
|
431
483
|
|
|
432
484
|
export declare type BreadcrumbsVariantStyles<Variant extends string> = BreadcrumbsStyleProps & {
|
|
433
485
|
[key in Variant]: BreadcrumbsStyleProps;
|
|
434
486
|
};
|
|
435
487
|
|
|
488
|
+
/**
|
|
489
|
+
* Defines responsive breakpoints in pixels for different screen sizes.
|
|
490
|
+
* Used for creating media queries and responsive layouts.
|
|
491
|
+
*/
|
|
436
492
|
declare interface Breakpoints {
|
|
493
|
+
/** Small screen breakpoint (typically mobile landscape) - default: 576px */
|
|
437
494
|
sm: number;
|
|
495
|
+
/** Medium screen breakpoint (typically tablets) - default: 768px */
|
|
438
496
|
md: number;
|
|
497
|
+
/** Large screen breakpoint (typically desktops) - default: 992px */
|
|
439
498
|
lg: number;
|
|
499
|
+
/** Extra large screen breakpoint (typically large desktops) - default: 1200px */
|
|
440
500
|
xl: number;
|
|
441
501
|
}
|
|
442
502
|
|
|
503
|
+
export declare interface BreakpointsType {
|
|
504
|
+
ZERO: number;
|
|
505
|
+
S: number;
|
|
506
|
+
M: number;
|
|
507
|
+
L: number;
|
|
508
|
+
XL?: number;
|
|
509
|
+
}
|
|
510
|
+
|
|
443
511
|
/**
|
|
444
512
|
* Generic button component for triggering actions or submitting forms.
|
|
445
513
|
*
|
|
@@ -496,7 +564,7 @@ export declare interface ButtonProps<Variant = undefined extends string | unknow
|
|
|
496
564
|
export declare interface ButtonStandAloneProps extends PropsWithChildren<ButtonStylesProps>, ButtonAriaProps, DataAttributes {
|
|
497
565
|
type?: HTMLButtonElement['type'];
|
|
498
566
|
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
499
|
-
icon?:
|
|
567
|
+
icon?: CommonIconProps;
|
|
500
568
|
form?: string;
|
|
501
569
|
role?: AriaRole;
|
|
502
570
|
title?: string;
|
|
@@ -534,6 +602,28 @@ export declare type ButtonVariantStyles<Variant extends string> = ButtonStylePro
|
|
|
534
602
|
[key in Variant]?: Partial<ButtonStyleProps>;
|
|
535
603
|
};
|
|
536
604
|
|
|
605
|
+
/**
|
|
606
|
+
* Calendar component for date selection.
|
|
607
|
+
*
|
|
608
|
+
* This component provides an interactive calendar interface for selecting single dates
|
|
609
|
+
* or date ranges. It supports month/year navigation, date restrictions, and customizable variants.
|
|
610
|
+
*
|
|
611
|
+
* @example
|
|
612
|
+
* ```tsx
|
|
613
|
+
* <Calendar
|
|
614
|
+
* selectedDate={new Date()}
|
|
615
|
+
* onSelectedDateChange={(date) => console.log(date)}
|
|
616
|
+
* />
|
|
617
|
+
*
|
|
618
|
+
* // Date range selection:
|
|
619
|
+
* <Calendar
|
|
620
|
+
* hasRange
|
|
621
|
+
* selectedDate={startDate}
|
|
622
|
+
* secondSelectedDate={endDate}
|
|
623
|
+
* onSelectedDateChange={(dates) => console.log(dates)}
|
|
624
|
+
* />
|
|
625
|
+
* ```
|
|
626
|
+
*/
|
|
537
627
|
export declare const Calendar: ForwardRefExoticComponent<CalendarProps<string> & RefAttributes<HTMLDivElement>>;
|
|
538
628
|
|
|
539
629
|
/**
|
|
@@ -554,8 +644,8 @@ export declare interface CalendarAccessibilityProps {
|
|
|
554
644
|
* Includes properties for navigation icons and button styles.
|
|
555
645
|
*/
|
|
556
646
|
export declare interface CalendarConfigProps {
|
|
557
|
-
leftArrowIcon:
|
|
558
|
-
rightArrowIcon:
|
|
647
|
+
leftArrowIcon: CommonIconProps;
|
|
648
|
+
rightArrowIcon: CommonIconProps;
|
|
559
649
|
variantSelectorButton?: string;
|
|
560
650
|
sizeSelectorButton?: string;
|
|
561
651
|
}
|
|
@@ -647,87 +737,121 @@ export declare type CalendarVariantStyles<Variant extends string> = CalendarStyl
|
|
|
647
737
|
};
|
|
648
738
|
|
|
649
739
|
/**
|
|
650
|
-
*
|
|
740
|
+
* Card component for displaying content in a structured container.
|
|
741
|
+
*
|
|
742
|
+
* This component wraps content in a styled card with optional header, content, and footer sections.
|
|
743
|
+
* It is useful for organizing information, displaying items in a list, or creating selectable cards.
|
|
744
|
+
* Supports interactive states (hover, selected) and custom theming via variants.
|
|
651
745
|
*
|
|
652
|
-
*
|
|
653
|
-
*
|
|
654
|
-
* types, enabling flexible theming and styling.
|
|
746
|
+
* All sections (header, content, footer) are optional and can accept either text or any React node.
|
|
747
|
+
* The card can respond to user interaction through onClick, onMouseEnter, and onMouseLeave handlers.
|
|
655
748
|
*
|
|
656
|
-
* Internally, it
|
|
749
|
+
* Internally, it computes CSS classes using a custom hook and delegates rendering to {@link CardStandAlone}.
|
|
657
750
|
*
|
|
658
|
-
*
|
|
659
|
-
*
|
|
751
|
+
* This component accepts a generic type parameter `<Variant extends string>` to allow for custom variant values,
|
|
752
|
+
* enabling flexible theming and styling.
|
|
660
753
|
*
|
|
661
754
|
* @example
|
|
662
755
|
* ```tsx
|
|
663
|
-
* <
|
|
756
|
+
* <Card
|
|
757
|
+
* header={{ content: "Card Title" }}
|
|
758
|
+
* content="This is the card content"
|
|
759
|
+
* footer={{ content: "Footer information" }}
|
|
760
|
+
* />
|
|
664
761
|
*
|
|
665
762
|
* // With a custom variant type:
|
|
666
|
-
* type MyVariant = "
|
|
667
|
-
* <
|
|
763
|
+
* type MyVariant = "primary" | "secondary";
|
|
764
|
+
* <Card<MyVariant>
|
|
765
|
+
* header="Primary Card"
|
|
766
|
+
* content={<div>Custom content</div>}
|
|
767
|
+
* variant="primary"
|
|
768
|
+
* state="selected"
|
|
769
|
+
* />
|
|
668
770
|
* ```
|
|
669
771
|
*/
|
|
670
|
-
export declare const
|
|
772
|
+
export declare const Card: ForwardRefExoticComponent<CardProps<string> & RefAttributes<HTMLDivElement>>;
|
|
671
773
|
|
|
672
|
-
declare type
|
|
673
|
-
|
|
674
|
-
/**
|
|
675
|
-
* Represents the type for a link within the CardImage component.
|
|
676
|
-
* Extends the LinkProps interface and includes content.
|
|
677
|
-
*/
|
|
678
|
-
export declare type CardImageLinkProps = Omit<LinkProps, 'children'> & {
|
|
679
|
-
content: string;
|
|
680
|
-
};
|
|
774
|
+
declare type CardCssClasses = ComponentSelected<ComponentsTypesComponents['CARD']>;
|
|
681
775
|
|
|
682
776
|
/**
|
|
683
|
-
* Interface for the
|
|
684
|
-
* Extends the
|
|
777
|
+
* Interface for the card component with a variant.
|
|
778
|
+
* Extends the ICardStandAlone interface and adds a variant and additional CSS classes.
|
|
685
779
|
*
|
|
686
|
-
* @template Variant - The type of the variant for the
|
|
780
|
+
* @template Variant - The type of the variant for the card.
|
|
687
781
|
*/
|
|
688
|
-
export declare interface
|
|
782
|
+
export declare interface CardProps<Variant extends string | unknown> extends Omit<CardStandAloneProps, 'cssClasses'> {
|
|
689
783
|
variant?: Variant;
|
|
690
|
-
additionalClasses?:
|
|
784
|
+
additionalClasses?: Partial<CardCssClasses>;
|
|
691
785
|
}
|
|
692
786
|
|
|
693
787
|
/**
|
|
694
|
-
*
|
|
788
|
+
* Standalone card component for rendering a section with optional header, content and footer areas.
|
|
789
|
+
*
|
|
790
|
+
* This component displays a styled card container with three optional sections:
|
|
791
|
+
* - header: Can be text or any React node
|
|
792
|
+
* - content: Can be text or any React node
|
|
793
|
+
* - footer: Can be text or any React node
|
|
794
|
+
*
|
|
795
|
+
* Supports interactive states like hover and selected, making it useful for
|
|
796
|
+
* selectable cards, clickable items, or informational panels.
|
|
797
|
+
*
|
|
798
|
+
* This component accepts a generic type parameter `<Variant extends string>` to allow for custom variant values,
|
|
799
|
+
* enabling flexible theming and styling of the card.
|
|
800
|
+
*
|
|
801
|
+
* @example
|
|
802
|
+
* ```tsx
|
|
803
|
+
* <CardStandAlone
|
|
804
|
+
* header={{ content: "Card Title" }}
|
|
805
|
+
* content="Card content goes here"
|
|
806
|
+
* footer={{ content: "Footer text" }}
|
|
807
|
+
* />
|
|
808
|
+
*
|
|
809
|
+
* // With a custom variant type:
|
|
810
|
+
* type MyVariant = "primary" | "secondary";
|
|
811
|
+
* <CardStandAlone<MyVariant>
|
|
812
|
+
* header="Primary Card"
|
|
813
|
+
* content={<div>Custom content</div>}
|
|
814
|
+
* variant="primary"
|
|
815
|
+
* state="selected"
|
|
816
|
+
* />
|
|
817
|
+
* ```
|
|
695
818
|
*/
|
|
696
|
-
declare
|
|
697
|
-
[DEVICE_BREAKPOINTS.DESKTOP]: string;
|
|
698
|
-
[DEVICE_BREAKPOINTS.MOBILE]: string;
|
|
699
|
-
[DEVICE_BREAKPOINTS.TABLET]: string;
|
|
700
|
-
}
|
|
819
|
+
export declare const CardStandAlone: ForwardRefExoticComponent<CardStandAloneProps & RefAttributes<HTMLDivElement>>;
|
|
701
820
|
|
|
702
821
|
/**
|
|
703
|
-
* Interface for the standalone
|
|
704
|
-
*
|
|
822
|
+
* Interface for the standalone card component.
|
|
823
|
+
* It includes optional custom CSS classes, header, content, footer sections and interactive states.
|
|
705
824
|
*/
|
|
706
|
-
export declare interface
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
cssClasses?: CardImageCssClasses;
|
|
825
|
+
export declare interface CardStandAloneProps extends DataAttributes {
|
|
826
|
+
cssClasses?: CardCssClasses;
|
|
827
|
+
header?: CommonTextProps | ReactNode;
|
|
828
|
+
content?: CommonTextProps | ReactNode;
|
|
829
|
+
footer?: CommonTextProps | ReactNode;
|
|
830
|
+
state?: StateType;
|
|
831
|
+
onClick?: React.MouseEventHandler<HTMLDivElement>;
|
|
832
|
+
onMouseEnter?: React.MouseEventHandler<HTMLDivElement>;
|
|
833
|
+
onMouseLeave?: React.MouseEventHandler<HTMLDivElement>;
|
|
716
834
|
}
|
|
717
835
|
|
|
718
|
-
|
|
719
|
-
|
|
836
|
+
/**
|
|
837
|
+
* Interface representing the styles for the card component.
|
|
838
|
+
*/
|
|
839
|
+
export declare interface CardStyleProps extends CssLibPropsType {
|
|
840
|
+
_header?: CssLibPropsType;
|
|
720
841
|
_content?: CssLibPropsType;
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
_description?: CssLibPropsType;
|
|
726
|
-
_linkContainer?: CssLibPropsType;
|
|
842
|
+
_footer?: CssLibPropsType;
|
|
843
|
+
$pseudo?: {
|
|
844
|
+
hover?: CssLibPropsType;
|
|
845
|
+
};
|
|
727
846
|
}
|
|
728
847
|
|
|
729
|
-
|
|
730
|
-
|
|
848
|
+
/**
|
|
849
|
+
* Type representing the styles for different variants of the card component.
|
|
850
|
+
*
|
|
851
|
+
* @template Variant - The type of the variant keys.
|
|
852
|
+
*/
|
|
853
|
+
export declare type CardVariantStyles<Variant extends string> = CardStyleProps & {
|
|
854
|
+
[key in Variant]: CardStyleProps;
|
|
731
855
|
};
|
|
732
856
|
|
|
733
857
|
export declare const Carousel: ForwardRefExoticComponent<Omit<ICarousel, "ref"> & RefAttributes<CarouselRefType>>;
|
|
@@ -788,16 +912,63 @@ export declare type ChecboxVariantStyles<Variant extends string> = ChecboxStyleP
|
|
|
788
912
|
[key in Variant]?: ChecboxStyleProps;
|
|
789
913
|
};
|
|
790
914
|
|
|
915
|
+
/**
|
|
916
|
+
* CheckboxUnControlled component with internal state management.
|
|
917
|
+
*
|
|
918
|
+
* This component renders a checkbox that manages its own checked state internally.
|
|
919
|
+
* Useful when you don't need to control the checkbox state from a parent component.
|
|
920
|
+
* It automatically handles toggle behavior on user interaction.
|
|
921
|
+
*
|
|
922
|
+
* @example
|
|
923
|
+
* ```tsx
|
|
924
|
+
* <CheckboxUnControlled
|
|
925
|
+
* checked={false}
|
|
926
|
+
* onChange={(e) => console.log(e.target.checked)}
|
|
927
|
+
* label="Remember me"
|
|
928
|
+
* />
|
|
929
|
+
* ```
|
|
930
|
+
*/
|
|
791
931
|
export declare const Checkbox: ForwardRefExoticComponent<CheckboxUnControlledProps<string> & RefAttributes<HTMLDivElement>>;
|
|
792
932
|
|
|
793
933
|
declare type CheckboxAriaAttributes = Pick<React.AriaAttributes, 'aria-label' | 'aria-labelledby' | 'aria-hidden' | 'aria-describedby'>;
|
|
794
934
|
|
|
935
|
+
/**
|
|
936
|
+
* CheckboxBaseUnControlled component with internal state management.
|
|
937
|
+
*
|
|
938
|
+
* This is a low-level uncontrolled checkbox that manages its own checked state.
|
|
939
|
+
* It automatically handles toggle behavior and notifies via onChange callback.
|
|
940
|
+
* Useful for checkboxes that don't require external state control.
|
|
941
|
+
*
|
|
942
|
+
* @example
|
|
943
|
+
* ```tsx
|
|
944
|
+
* <CheckboxBaseUnControlled
|
|
945
|
+
* checked={false}
|
|
946
|
+
* onChange={(e) => console.log(e.target.checked)}
|
|
947
|
+
* />
|
|
948
|
+
* ```
|
|
949
|
+
*/
|
|
795
950
|
export declare const CheckboxBase: ForwardRefExoticComponent<CheckboxBaseUnControlledProps<string> & {
|
|
796
951
|
children?: ReactNode | undefined;
|
|
797
952
|
} & RefAttributes<HTMLDivElement>>;
|
|
798
953
|
|
|
799
954
|
declare type CheckboxBaseAriaAttributesProps = Pick<React.AriaAttributes, 'aria-label' | 'aria-labelledby' | 'aria-hidden' | 'aria-describedby'>;
|
|
800
955
|
|
|
956
|
+
/**
|
|
957
|
+
* CheckboxBaseControlled component for managed checkbox state.
|
|
958
|
+
*
|
|
959
|
+
* This is a low-level checkbox component where the checked state is controlled
|
|
960
|
+
* externally. It handles error states, required validation, and applies appropriate
|
|
961
|
+
* styling based on the checkbox state (checked, unchecked, indeterminate, disabled).
|
|
962
|
+
*
|
|
963
|
+
* @example
|
|
964
|
+
* ```tsx
|
|
965
|
+
* <CheckboxBaseControlled
|
|
966
|
+
* checked={isChecked}
|
|
967
|
+
* onChange={(e) => setIsChecked(e.target.checked)}
|
|
968
|
+
* error={hasError}
|
|
969
|
+
* />
|
|
970
|
+
* ```
|
|
971
|
+
*/
|
|
801
972
|
export declare const CheckboxBaseControlled: ForwardRefExoticComponent<CheckboxBaseControlledProps<string> & RefAttributes<HTMLDivElement>>;
|
|
802
973
|
|
|
803
974
|
/**
|
|
@@ -840,6 +1011,22 @@ export declare interface CheckboxBaseStandAloneProps extends InputActionsProps,
|
|
|
840
1011
|
*/
|
|
841
1012
|
export declare type CheckboxBaseUnControlledProps<Variant = undefined extends string ? unknown : string> = CheckboxBaseControlledProps<Variant>;
|
|
842
1013
|
|
|
1014
|
+
/**
|
|
1015
|
+
* CheckboxControlled component for managed checkbox state.
|
|
1016
|
+
*
|
|
1017
|
+
* This component renders a checkbox where the checked state is controlled
|
|
1018
|
+
* externally via props. It handles checked, indeterminate, disabled, and
|
|
1019
|
+
* error states with appropriate styling and ARIA attributes.
|
|
1020
|
+
*
|
|
1021
|
+
* @example
|
|
1022
|
+
* ```tsx
|
|
1023
|
+
* <CheckboxControlled
|
|
1024
|
+
* checked={isChecked}
|
|
1025
|
+
* onChange={(e) => setIsChecked(e.target.checked)}
|
|
1026
|
+
* label="Accept terms"
|
|
1027
|
+
* />
|
|
1028
|
+
* ```
|
|
1029
|
+
*/
|
|
843
1030
|
export declare const CheckboxControlled: ForwardRefExoticComponent<CheckboxControlledProps<string> & RefAttributes<HTMLDivElement>>;
|
|
844
1031
|
|
|
845
1032
|
/**
|
|
@@ -855,10 +1042,6 @@ export declare interface CheckboxControlledProps<Variant = undefined extends str
|
|
|
855
1042
|
|
|
856
1043
|
export declare type CheckboxCssClasses = ComponentSelected<ComponentsTypesComponents['CHECKBOX']>;
|
|
857
1044
|
|
|
858
|
-
export declare type CheckboxLabelType = Omit<LabelStandAloneProps, 'children' | 'inputId'> & {
|
|
859
|
-
content?: string | JSX.Element;
|
|
860
|
-
};
|
|
861
|
-
|
|
862
1045
|
export declare interface CheckboxMessageType {
|
|
863
1046
|
message?: CommonTextProps;
|
|
864
1047
|
icon?: CommonIconProps;
|
|
@@ -880,7 +1063,9 @@ export declare interface CheckboxStandAloneProps extends InputActionsType_2, Dat
|
|
|
880
1063
|
* Reference for the CheckboxStyled component (input element)
|
|
881
1064
|
*/
|
|
882
1065
|
inputRef?: Ref<HTMLInputElement>;
|
|
883
|
-
label?:
|
|
1066
|
+
label?: CommonTextProps & {
|
|
1067
|
+
requiredSymbol?: string | JSX.Element;
|
|
1068
|
+
};
|
|
884
1069
|
errorMessage?: CheckboxMessageType;
|
|
885
1070
|
checkedIcon?: CommonIconProps;
|
|
886
1071
|
checkboxBase?: {
|
|
@@ -950,11 +1135,6 @@ export declare interface ChipStandAloneProps extends DataAttributes {
|
|
|
950
1135
|
rangeIcon?: ElementOrIconProps;
|
|
951
1136
|
errorMessage?: CommonTextProps;
|
|
952
1137
|
rangeSeparator?: CommonTextProps;
|
|
953
|
-
/**
|
|
954
|
-
* @deprecated
|
|
955
|
-
* Use closeIcon -> altText instead
|
|
956
|
-
*/
|
|
957
|
-
deleteText?: string;
|
|
958
1138
|
state: ChipStateType;
|
|
959
1139
|
cssClasses?: ChipCssClasses;
|
|
960
1140
|
}
|
|
@@ -988,7 +1168,7 @@ declare type ComponentSelected<T> = Pick<T, NonVariablesKeys<T>>;
|
|
|
988
1168
|
|
|
989
1169
|
declare type ComponentSelected_2<T> = Pick<T, NonVariablesKeys_2<T>>;
|
|
990
1170
|
|
|
991
|
-
declare type ComponentsTypesAvailableComponents = 'ACCORDION' | 'AVATAR' | 'BADGE' | 'BREADCRUMBS' | 'BUTTON' | 'CALENDAR' | '
|
|
1171
|
+
declare type ComponentsTypesAvailableComponents = 'ACCORDION' | 'ALERT' | 'AVATAR' | 'BADGE' | 'BREADCRUMBS' | 'BUTTON' | 'CALENDAR' | 'CARD' | 'CAROUSEL' | 'CHECKBOX' | 'CHECKBOX_BASE' | 'CHIP' | 'DATA_TABLE' | 'DOT' | 'ERROR_MESSAGE' | 'ICON' | 'INPUT' | 'INPUT_BASE' | 'INPUT_DECORATION' | 'INPUT_SIGNATURE' | 'ITEM_ROVE' | 'LINK' | 'LINK_AS_BUTTON' | 'LIST_OPTIONS' | 'MODAL' | 'OPTION' | 'OVERLAY' | 'PAGE_CONTROL' | 'PAGINATION' | 'POPOVER' | 'PROGRESS_BAR' | 'RADIO_BUTTON' | 'SELECT' | 'SELECTOR_BOX_FILE' | 'SKELETON' | 'SLIDER' | 'SNACKBAR' | 'STEPPER_NUMBER' | 'TABLE' | 'TABLE_BODY' | 'TABLE_CAPTION' | 'TABLE_CELL' | 'TABLE_DIVIDER' | 'TABLE_FOOT' | 'TABLE_HEAD' | 'TABLE_ROW' | 'TABS' | 'TAG' | 'TEXT' | 'TEXT_AREA' | 'TEXT_COUNT' | 'TOGGLE' | 'TOOLTIP' | 'VIRTUAL_KEYBOARD';
|
|
992
1172
|
|
|
993
1173
|
declare type ComponentsTypesComponents = {
|
|
994
1174
|
ACCORDION: {
|
|
@@ -997,33 +1177,16 @@ declare type ComponentsTypesComponents = {
|
|
|
997
1177
|
header: string;
|
|
998
1178
|
headerbutton: string;
|
|
999
1179
|
innercontent: string;
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
};
|
|
1180
|
+
};
|
|
1181
|
+
ALERT: {
|
|
1182
|
+
container: string;
|
|
1183
|
+
contentcontainer: string;
|
|
1184
|
+
description: string;
|
|
1006
1185
|
};
|
|
1007
1186
|
AVATAR: {
|
|
1008
1187
|
avatar: string;
|
|
1009
1188
|
dot: string;
|
|
1010
1189
|
icon: string;
|
|
1011
|
-
$_large: {
|
|
1012
|
-
avatar: string;
|
|
1013
|
-
icon: string;
|
|
1014
|
-
};
|
|
1015
|
-
$_medium: {
|
|
1016
|
-
avatar: string;
|
|
1017
|
-
icon: string;
|
|
1018
|
-
};
|
|
1019
|
-
$_small: {
|
|
1020
|
-
avatar: string;
|
|
1021
|
-
icon: string;
|
|
1022
|
-
};
|
|
1023
|
-
$_extra_large: {
|
|
1024
|
-
avatar: string;
|
|
1025
|
-
icon: string;
|
|
1026
|
-
};
|
|
1027
1190
|
};
|
|
1028
1191
|
BADGE: {
|
|
1029
1192
|
badge: string;
|
|
@@ -1034,22 +1197,6 @@ declare type ComponentsTypesComponents = {
|
|
|
1034
1197
|
label: string;
|
|
1035
1198
|
labelcontainer: string;
|
|
1036
1199
|
labelicon: string;
|
|
1037
|
-
$_default: {
|
|
1038
|
-
badge: string;
|
|
1039
|
-
icon: string;
|
|
1040
|
-
};
|
|
1041
|
-
$_alternative: {
|
|
1042
|
-
badge: string;
|
|
1043
|
-
icon: string;
|
|
1044
|
-
label: string;
|
|
1045
|
-
labelicon: string;
|
|
1046
|
-
};
|
|
1047
|
-
$_primary: {
|
|
1048
|
-
badge: string;
|
|
1049
|
-
icon: string;
|
|
1050
|
-
label: string;
|
|
1051
|
-
labelicon: string;
|
|
1052
|
-
};
|
|
1053
1200
|
};
|
|
1054
1201
|
BREADCRUMBS: {
|
|
1055
1202
|
breadcrumbs: string;
|
|
@@ -1059,54 +1206,13 @@ declare type ComponentsTypesComponents = {
|
|
|
1059
1206
|
lastonecrumb: string;
|
|
1060
1207
|
link: string;
|
|
1061
1208
|
linkcontainer: string;
|
|
1062
|
-
$_alternative: {
|
|
1063
|
-
breadcrumbs: string;
|
|
1064
|
-
icondivider: string;
|
|
1065
|
-
lastonecrumb: string;
|
|
1066
|
-
link: string;
|
|
1067
|
-
};
|
|
1068
|
-
$_default: {
|
|
1069
|
-
breadcrumbs: string;
|
|
1070
|
-
lastonecrumb: string;
|
|
1071
|
-
link: string;
|
|
1072
|
-
};
|
|
1073
1209
|
};
|
|
1074
1210
|
BUTTON: {
|
|
1075
1211
|
button: string;
|
|
1076
1212
|
icon: string;
|
|
1077
1213
|
loader: string;
|
|
1078
|
-
$_large: {
|
|
1079
|
-
button: string;
|
|
1080
|
-
icon: string;
|
|
1081
|
-
};
|
|
1082
|
-
$_medium: {
|
|
1083
|
-
button: string;
|
|
1084
|
-
icon: string;
|
|
1085
|
-
};
|
|
1086
|
-
$_small: {
|
|
1087
|
-
button: string;
|
|
1088
|
-
icon: string;
|
|
1089
|
-
};
|
|
1090
|
-
$_action_primary: {
|
|
1091
|
-
button: string;
|
|
1092
|
-
};
|
|
1093
|
-
$_action_secondary: {
|
|
1094
|
-
button: string;
|
|
1095
|
-
};
|
|
1096
|
-
$_action_secondary_alt: {
|
|
1097
|
-
button: string;
|
|
1098
|
-
};
|
|
1099
|
-
$_primary: {
|
|
1100
|
-
button: string;
|
|
1101
|
-
};
|
|
1102
|
-
$_secondary: {
|
|
1103
|
-
button: string;
|
|
1104
|
-
};
|
|
1105
|
-
$_secondary_alt: {
|
|
1106
|
-
button: string;
|
|
1107
|
-
};
|
|
1108
1214
|
dynamic_values: (styles: {
|
|
1109
|
-
|
|
1215
|
+
$alignText: string;
|
|
1110
1216
|
}) => {
|
|
1111
1217
|
string: string;
|
|
1112
1218
|
object: object;
|
|
@@ -1149,31 +1255,16 @@ declare type ComponentsTypesComponents = {
|
|
|
1149
1255
|
loader: string;
|
|
1150
1256
|
};
|
|
1151
1257
|
};
|
|
1152
|
-
|
|
1153
|
-
|
|
1258
|
+
CARD: {
|
|
1259
|
+
card: string;
|
|
1154
1260
|
content: string;
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
imagecontainer: string;
|
|
1158
|
-
linkcontainer: string;
|
|
1159
|
-
textcontainer: string;
|
|
1160
|
-
title: string;
|
|
1161
|
-
titlecontainer: string;
|
|
1162
|
-
$_alternative: {
|
|
1163
|
-
card_image: string;
|
|
1164
|
-
};
|
|
1165
|
-
$_default: {
|
|
1166
|
-
card_image: string;
|
|
1167
|
-
description: string;
|
|
1168
|
-
};
|
|
1261
|
+
footer: string;
|
|
1262
|
+
header: string;
|
|
1169
1263
|
};
|
|
1170
1264
|
CAROUSEL: {
|
|
1171
1265
|
carousel: string;
|
|
1172
1266
|
content: string;
|
|
1173
1267
|
viewer: string;
|
|
1174
|
-
$_default: {
|
|
1175
|
-
carousel: string;
|
|
1176
|
-
};
|
|
1177
1268
|
};
|
|
1178
1269
|
CHECKBOX: {
|
|
1179
1270
|
checkbox: string;
|
|
@@ -1191,9 +1282,6 @@ declare type ComponentsTypesComponents = {
|
|
|
1191
1282
|
icon: string;
|
|
1192
1283
|
iconcontainer: string;
|
|
1193
1284
|
input: string;
|
|
1194
|
-
$_default: {
|
|
1195
|
-
checkbox_base: string;
|
|
1196
|
-
};
|
|
1197
1285
|
};
|
|
1198
1286
|
CHIP: {
|
|
1199
1287
|
chip: string;
|
|
@@ -1207,32 +1295,6 @@ declare type ComponentsTypesComponents = {
|
|
|
1207
1295
|
rangeitemseparator: string;
|
|
1208
1296
|
rangeitemtext: string;
|
|
1209
1297
|
rangeitemwrapper: string;
|
|
1210
|
-
$_default: {
|
|
1211
|
-
chip: string;
|
|
1212
|
-
closeicon: string;
|
|
1213
|
-
errorcontainer: string;
|
|
1214
|
-
erroricon: string;
|
|
1215
|
-
errormessage: string;
|
|
1216
|
-
label: string;
|
|
1217
|
-
lefticon: string;
|
|
1218
|
-
rangeitemseparator: string;
|
|
1219
|
-
rangeitemtext: string;
|
|
1220
|
-
};
|
|
1221
|
-
};
|
|
1222
|
-
CONTAINER: {
|
|
1223
|
-
container: string;
|
|
1224
|
-
content: string;
|
|
1225
|
-
header: string;
|
|
1226
|
-
title: string;
|
|
1227
|
-
$_alternative: {
|
|
1228
|
-
container: string;
|
|
1229
|
-
};
|
|
1230
|
-
$_default: {
|
|
1231
|
-
container: string;
|
|
1232
|
-
};
|
|
1233
|
-
$_secondary: {
|
|
1234
|
-
container: string;
|
|
1235
|
-
};
|
|
1236
1298
|
};
|
|
1237
1299
|
DATA_TABLE: {
|
|
1238
1300
|
data_table: string;
|
|
@@ -1242,9 +1304,6 @@ declare type ComponentsTypesComponents = {
|
|
|
1242
1304
|
rightboxshadow: string;
|
|
1243
1305
|
rightboxshadowcontainer: string;
|
|
1244
1306
|
scrollablecontainer: string;
|
|
1245
|
-
$_default: {
|
|
1246
|
-
data_table: string;
|
|
1247
|
-
};
|
|
1248
1307
|
row_group_table: {
|
|
1249
1308
|
container: string;
|
|
1250
1309
|
headboxshadow: string;
|
|
@@ -1310,88 +1369,22 @@ declare type ComponentsTypesComponents = {
|
|
|
1310
1369
|
};
|
|
1311
1370
|
DOT: {
|
|
1312
1371
|
dot: string;
|
|
1313
|
-
$_big: {
|
|
1314
|
-
dot: string;
|
|
1315
|
-
};
|
|
1316
|
-
$_medium: {
|
|
1317
|
-
dot: string;
|
|
1318
|
-
};
|
|
1319
|
-
$_small: {
|
|
1320
|
-
dot: string;
|
|
1321
|
-
};
|
|
1322
|
-
$_alternative: {
|
|
1323
|
-
dot: string;
|
|
1324
|
-
};
|
|
1325
|
-
$_with_border: {
|
|
1326
|
-
dot: string;
|
|
1327
|
-
};
|
|
1328
|
-
$_without_border: {
|
|
1329
|
-
dot: string;
|
|
1330
|
-
};
|
|
1331
|
-
};
|
|
1332
|
-
DROPDOWN_SELECTED: {
|
|
1333
|
-
dropdown_selected: string;
|
|
1334
|
-
buttonorlinkcontainer: string;
|
|
1335
|
-
iconclosed: string;
|
|
1336
|
-
iconopened: string;
|
|
1337
|
-
labelclosed: string;
|
|
1338
|
-
labelopened: string;
|
|
1339
|
-
listoptionscontainer: string;
|
|
1340
|
-
$_default: {
|
|
1341
|
-
dropdown_selected: string;
|
|
1342
|
-
buttonorlinkcontainer: string;
|
|
1343
|
-
iconclosed: string;
|
|
1344
|
-
iconopened: string;
|
|
1345
|
-
labelclosed: string;
|
|
1346
|
-
labelopened: string;
|
|
1347
|
-
listoptionscontainer: string;
|
|
1348
|
-
};
|
|
1349
|
-
$_side_menu: {
|
|
1350
|
-
dropdown_selected: string;
|
|
1351
|
-
buttonorlinkcontainer: string;
|
|
1352
|
-
iconclosed: string;
|
|
1353
|
-
iconopened: string;
|
|
1354
|
-
labelclosed: string;
|
|
1355
|
-
labelopened: string;
|
|
1356
|
-
listoptionscontainer: string;
|
|
1357
|
-
};
|
|
1358
|
-
$_topbar: {
|
|
1359
|
-
dropdown_selected: string;
|
|
1360
|
-
buttonorlinkcontainer: string;
|
|
1361
|
-
iconclosed: string;
|
|
1362
|
-
iconopened: string;
|
|
1363
|
-
labelclosed: string;
|
|
1364
|
-
labelopened: string;
|
|
1365
|
-
listoptionscontainer: string;
|
|
1366
|
-
};
|
|
1367
|
-
$_topbar_tab: {
|
|
1368
|
-
dropdown_selected: string;
|
|
1369
|
-
buttonorlinkcontainer: string;
|
|
1370
|
-
iconclosed: string;
|
|
1371
|
-
iconopened: string;
|
|
1372
|
-
labelclosed: string;
|
|
1373
|
-
labelopened: string;
|
|
1374
|
-
listoptionscontainer: string;
|
|
1375
|
-
};
|
|
1376
1372
|
};
|
|
1377
1373
|
ERROR_MESSAGE: {
|
|
1378
1374
|
error_message: string;
|
|
1379
1375
|
icon: string;
|
|
1380
1376
|
typography: string;
|
|
1381
|
-
$_default: {
|
|
1382
|
-
error_message: string;
|
|
1383
|
-
};
|
|
1384
1377
|
};
|
|
1385
1378
|
ICON: {
|
|
1386
1379
|
button: string;
|
|
1387
1380
|
complex: string;
|
|
1388
1381
|
svg: string;
|
|
1389
1382
|
dynamic_values: (styles: {
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1383
|
+
$color: string;
|
|
1384
|
+
$moveAround: string;
|
|
1385
|
+
$transitionDuration: string;
|
|
1386
|
+
$height: string;
|
|
1387
|
+
$width: string;
|
|
1395
1388
|
}) => {
|
|
1396
1389
|
string: string;
|
|
1397
1390
|
object: object;
|
|
@@ -1400,15 +1393,6 @@ declare type ComponentsTypesComponents = {
|
|
|
1400
1393
|
INPUT: {
|
|
1401
1394
|
input: string;
|
|
1402
1395
|
inputandlabelcontainer: string;
|
|
1403
|
-
$_filled: {
|
|
1404
|
-
input: string;
|
|
1405
|
-
};
|
|
1406
|
-
$_outlined: {
|
|
1407
|
-
input: string;
|
|
1408
|
-
};
|
|
1409
|
-
$_standard: {
|
|
1410
|
-
input: string;
|
|
1411
|
-
};
|
|
1412
1396
|
input_base: {
|
|
1413
1397
|
input_base: string;
|
|
1414
1398
|
};
|
|
@@ -1423,31 +1407,16 @@ declare type ComponentsTypesComponents = {
|
|
|
1423
1407
|
};
|
|
1424
1408
|
INPUT_BASE: {
|
|
1425
1409
|
input_base: string;
|
|
1426
|
-
$_filled: {
|
|
1427
|
-
input_base: string;
|
|
1428
|
-
};
|
|
1429
|
-
$_outlined: {
|
|
1430
|
-
input_base: string;
|
|
1431
|
-
};
|
|
1432
|
-
$_standard: {
|
|
1433
|
-
input_base: string;
|
|
1434
|
-
};
|
|
1435
1410
|
};
|
|
1436
1411
|
INPUT_DECORATION: {
|
|
1437
1412
|
input_decoration: string;
|
|
1438
1413
|
decoration: string;
|
|
1439
|
-
$_standard: {
|
|
1440
|
-
input_decoration: string;
|
|
1441
|
-
};
|
|
1442
1414
|
};
|
|
1443
1415
|
INPUT_SIGNATURE: {
|
|
1444
1416
|
input_signature: string;
|
|
1445
1417
|
canvas: string;
|
|
1446
1418
|
placeholdercontainer: string;
|
|
1447
1419
|
placeholdertext: string;
|
|
1448
|
-
$_default: {
|
|
1449
|
-
input_signature: string;
|
|
1450
|
-
};
|
|
1451
1420
|
};
|
|
1452
1421
|
ITEM_ROVE: {
|
|
1453
1422
|
item_rove: string;
|
|
@@ -1457,30 +1426,6 @@ declare type ComponentsTypesComponents = {
|
|
|
1457
1426
|
childrencontainer: string;
|
|
1458
1427
|
icon: string;
|
|
1459
1428
|
labelandiconcontainer: string;
|
|
1460
|
-
$_inline_primary: {
|
|
1461
|
-
link: string;
|
|
1462
|
-
icon: string;
|
|
1463
|
-
};
|
|
1464
|
-
$_inline_secondary: {
|
|
1465
|
-
link: string;
|
|
1466
|
-
icon: string;
|
|
1467
|
-
};
|
|
1468
|
-
$_inline_secondary_alt: {
|
|
1469
|
-
link: string;
|
|
1470
|
-
icon: string;
|
|
1471
|
-
};
|
|
1472
|
-
$_navigation_primary: {
|
|
1473
|
-
link: string;
|
|
1474
|
-
icon: string;
|
|
1475
|
-
};
|
|
1476
|
-
$_navigation_secondary: {
|
|
1477
|
-
link: string;
|
|
1478
|
-
icon: string;
|
|
1479
|
-
};
|
|
1480
|
-
$_navigation_secondary_alt: {
|
|
1481
|
-
link: string;
|
|
1482
|
-
icon: string;
|
|
1483
|
-
};
|
|
1484
1429
|
};
|
|
1485
1430
|
LINK_AS_BUTTON: {
|
|
1486
1431
|
link_as_button: string;
|
|
@@ -1490,100 +1435,20 @@ declare type ComponentsTypesComponents = {
|
|
|
1490
1435
|
optionscontainer: string;
|
|
1491
1436
|
title: string;
|
|
1492
1437
|
titlecontainer: string;
|
|
1493
|
-
$_code_viewer_subtheme: {
|
|
1494
|
-
list_options: string;
|
|
1495
|
-
};
|
|
1496
|
-
$_default: {
|
|
1497
|
-
list_options: string;
|
|
1498
|
-
title: string;
|
|
1499
|
-
titlecontainer: string;
|
|
1500
|
-
};
|
|
1501
|
-
$_dropdown_selected_section: {
|
|
1502
|
-
list_options: string;
|
|
1503
|
-
optionscontainer: string;
|
|
1504
|
-
};
|
|
1505
|
-
$_input_dropdown_default: {
|
|
1506
|
-
list_options: string;
|
|
1507
|
-
};
|
|
1508
|
-
$_input_dropdown_section: {
|
|
1509
|
-
list_options: string;
|
|
1510
|
-
};
|
|
1511
|
-
$_input_search: {
|
|
1512
|
-
list_options: string;
|
|
1513
|
-
};
|
|
1514
|
-
$_side_menu_section: {
|
|
1515
|
-
list_options: string;
|
|
1516
|
-
optionscontainer: string;
|
|
1517
|
-
title: string;
|
|
1518
|
-
titlecontainer: string;
|
|
1519
|
-
};
|
|
1520
1438
|
};
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
description: string;
|
|
1530
|
-
extraactionbuttoncontainer: string;
|
|
1531
|
-
headercontainer: string;
|
|
1532
|
-
headercontainerlargemessage: string;
|
|
1533
|
-
infoicon: string;
|
|
1534
|
-
linkcontainer: string;
|
|
1535
|
-
linkscontainer: string;
|
|
1536
|
-
title: string;
|
|
1537
|
-
titlecontainer: string;
|
|
1538
|
-
$_error: {
|
|
1539
|
-
message: string;
|
|
1540
|
-
container: string;
|
|
1541
|
-
infoicon: string;
|
|
1542
|
-
};
|
|
1543
|
-
$_informative: {
|
|
1544
|
-
message: string;
|
|
1545
|
-
container: string;
|
|
1546
|
-
infoicon: string;
|
|
1547
|
-
};
|
|
1548
|
-
$_success: {
|
|
1549
|
-
message: string;
|
|
1550
|
-
container: string;
|
|
1551
|
-
infoicon: string;
|
|
1552
|
-
};
|
|
1553
|
-
$_warning: {
|
|
1554
|
-
message: string;
|
|
1555
|
-
container: string;
|
|
1556
|
-
infoicon: string;
|
|
1557
|
-
};
|
|
1558
|
-
action_button: {
|
|
1559
|
-
button: string;
|
|
1560
|
-
icon: string;
|
|
1561
|
-
loader: string;
|
|
1562
|
-
};
|
|
1563
|
-
};
|
|
1564
|
-
MODAL: {
|
|
1565
|
-
modal: string;
|
|
1566
|
-
closebuttoncontainer: string;
|
|
1567
|
-
closebuttonicon: string;
|
|
1568
|
-
content: string;
|
|
1569
|
-
dragicon: string;
|
|
1570
|
-
dragiconcontainer: string;
|
|
1571
|
-
footer: string;
|
|
1439
|
+
MODAL: {
|
|
1440
|
+
modal: string;
|
|
1441
|
+
closebuttoncontainer: string;
|
|
1442
|
+
closebuttonicon: string;
|
|
1443
|
+
content: string;
|
|
1444
|
+
dragicon: string;
|
|
1445
|
+
dragiconcontainer: string;
|
|
1446
|
+
footer: string;
|
|
1572
1447
|
headercontainer: string;
|
|
1573
1448
|
headercontentcontainer: string;
|
|
1574
1449
|
title: string;
|
|
1575
1450
|
titlecontainer: string;
|
|
1576
1451
|
titlehiddencontainer: string;
|
|
1577
|
-
$_default: {
|
|
1578
|
-
modal: string;
|
|
1579
|
-
};
|
|
1580
|
-
};
|
|
1581
|
-
NAVBAR: {
|
|
1582
|
-
navbar: string;
|
|
1583
|
-
itemcontainer: string;
|
|
1584
|
-
$_default: {
|
|
1585
|
-
navbar: string;
|
|
1586
|
-
};
|
|
1587
1452
|
};
|
|
1588
1453
|
OPTION: {
|
|
1589
1454
|
option: string;
|
|
@@ -1595,64 +1460,9 @@ declare type ComponentsTypesComponents = {
|
|
|
1595
1460
|
labeliconcontainer: string;
|
|
1596
1461
|
sublabel: string;
|
|
1597
1462
|
sublabelcontainer: string;
|
|
1598
|
-
$_code_viewer_subtheme: {
|
|
1599
|
-
option: string;
|
|
1600
|
-
label: string;
|
|
1601
|
-
};
|
|
1602
|
-
$_input_dropdown: {
|
|
1603
|
-
option: string;
|
|
1604
|
-
icon: string;
|
|
1605
|
-
label: string;
|
|
1606
|
-
labeliconcontainer: string;
|
|
1607
|
-
};
|
|
1608
|
-
$_input_option: {
|
|
1609
|
-
option: string;
|
|
1610
|
-
icon: string;
|
|
1611
|
-
label: string;
|
|
1612
|
-
labelhighlighted: string;
|
|
1613
|
-
labeliconcontainer: string;
|
|
1614
|
-
sublabel: string;
|
|
1615
|
-
};
|
|
1616
|
-
$_input_option_hightlighted: {
|
|
1617
|
-
option: string;
|
|
1618
|
-
icon: string;
|
|
1619
|
-
label: string;
|
|
1620
|
-
labelhighlighted: string;
|
|
1621
|
-
labeliconcontainer: string;
|
|
1622
|
-
sublabel: string;
|
|
1623
|
-
};
|
|
1624
|
-
$_inverted: {
|
|
1625
|
-
option: string;
|
|
1626
|
-
label: string;
|
|
1627
|
-
};
|
|
1628
|
-
$_side_menu_level_1: {
|
|
1629
|
-
option: string;
|
|
1630
|
-
icon: string;
|
|
1631
|
-
label: string;
|
|
1632
|
-
labeliconcontainer: string;
|
|
1633
|
-
};
|
|
1634
|
-
$_side_menu_level_2: {
|
|
1635
|
-
option: string;
|
|
1636
|
-
label: string;
|
|
1637
|
-
};
|
|
1638
|
-
$_topbar: {
|
|
1639
|
-
option: string;
|
|
1640
|
-
label: string;
|
|
1641
|
-
labelhighlighted: string;
|
|
1642
|
-
};
|
|
1643
|
-
$_topbar_tab: {
|
|
1644
|
-
option: string;
|
|
1645
|
-
label: string;
|
|
1646
|
-
};
|
|
1647
1463
|
};
|
|
1648
1464
|
OVERLAY: {
|
|
1649
1465
|
overlay: string;
|
|
1650
|
-
$_default: {
|
|
1651
|
-
overlay: string;
|
|
1652
|
-
};
|
|
1653
|
-
$_secondary: {
|
|
1654
|
-
overlay: string;
|
|
1655
|
-
};
|
|
1656
1466
|
};
|
|
1657
1467
|
PAGE_CONTROL: {
|
|
1658
1468
|
page_control: string;
|
|
@@ -1663,15 +1473,6 @@ declare type ComponentsTypesComponents = {
|
|
|
1663
1473
|
pagedot: string;
|
|
1664
1474
|
rightarrowcontrolcontainer: string;
|
|
1665
1475
|
rightbuttoncontrol: string;
|
|
1666
|
-
$_default: {
|
|
1667
|
-
page_control: string;
|
|
1668
|
-
icon: string;
|
|
1669
|
-
};
|
|
1670
|
-
$_bullets: {
|
|
1671
|
-
page_control: string;
|
|
1672
|
-
dotscontainer: string;
|
|
1673
|
-
pagedot: string;
|
|
1674
|
-
};
|
|
1675
1476
|
};
|
|
1676
1477
|
PAGINATION: {
|
|
1677
1478
|
pagination: string;
|
|
@@ -1680,12 +1481,6 @@ declare type ComponentsTypesComponents = {
|
|
|
1680
1481
|
pagescontainer: string;
|
|
1681
1482
|
paginationleftarrowicon: string;
|
|
1682
1483
|
paginationrightarrowicon: string;
|
|
1683
|
-
$_default: {
|
|
1684
|
-
pagination: string;
|
|
1685
|
-
page: string;
|
|
1686
|
-
paginationleftarrowicon: string;
|
|
1687
|
-
paginationrightarrowicon: string;
|
|
1688
|
-
};
|
|
1689
1484
|
};
|
|
1690
1485
|
POPOVER: {
|
|
1691
1486
|
popover: string;
|
|
@@ -1696,76 +1491,6 @@ declare type ComponentsTypesComponents = {
|
|
|
1696
1491
|
bar: string;
|
|
1697
1492
|
barcontainer: string;
|
|
1698
1493
|
progressbar: string;
|
|
1699
|
-
$_medium: {
|
|
1700
|
-
progress_bar: string;
|
|
1701
|
-
bar: string;
|
|
1702
|
-
progressbar: string;
|
|
1703
|
-
};
|
|
1704
|
-
$_small: {
|
|
1705
|
-
progress_bar: string;
|
|
1706
|
-
bar: string;
|
|
1707
|
-
progressbar: string;
|
|
1708
|
-
};
|
|
1709
|
-
$_default: {
|
|
1710
|
-
progress_bar: string;
|
|
1711
|
-
};
|
|
1712
|
-
$_interactive: {
|
|
1713
|
-
progress_bar: string;
|
|
1714
|
-
barcontainer: string;
|
|
1715
|
-
};
|
|
1716
|
-
slider: {
|
|
1717
|
-
activetrack: string;
|
|
1718
|
-
inactivetrack: string;
|
|
1719
|
-
thumb: string;
|
|
1720
|
-
decrement_button_size: {
|
|
1721
|
-
icon: string;
|
|
1722
|
-
button: string;
|
|
1723
|
-
loader: string;
|
|
1724
|
-
};
|
|
1725
|
-
decrement_button_variant: {
|
|
1726
|
-
button: string;
|
|
1727
|
-
icon: string;
|
|
1728
|
-
loader: string;
|
|
1729
|
-
};
|
|
1730
|
-
tooltip: {
|
|
1731
|
-
arrowcontainer: string;
|
|
1732
|
-
arrowposition: string;
|
|
1733
|
-
arrowsize: string;
|
|
1734
|
-
closebuttoncontainer: string;
|
|
1735
|
-
closebuttonicon: string;
|
|
1736
|
-
headercontainer: string;
|
|
1737
|
-
paragraph: string;
|
|
1738
|
-
paragraphcontainer: string;
|
|
1739
|
-
title: string;
|
|
1740
|
-
tooltipexternalcontainer: string;
|
|
1741
|
-
tooltipinternalcontainer: string;
|
|
1742
|
-
popover: {
|
|
1743
|
-
arrow: string;
|
|
1744
|
-
popover: string;
|
|
1745
|
-
};
|
|
1746
|
-
arrow: string;
|
|
1747
|
-
divider: string;
|
|
1748
|
-
dragicon: string;
|
|
1749
|
-
dragiconcontainer: string;
|
|
1750
|
-
tooltipalignstyles: string;
|
|
1751
|
-
tooltipasmodal: string;
|
|
1752
|
-
};
|
|
1753
|
-
buttonstrackscontainer: string;
|
|
1754
|
-
helpertext: string;
|
|
1755
|
-
helpertextcontainer: string;
|
|
1756
|
-
helpertextleftcontainer: string;
|
|
1757
|
-
helpertextrightcontainer: string;
|
|
1758
|
-
innerthumbtooltip: string;
|
|
1759
|
-
label: string;
|
|
1760
|
-
labelcontainer: string;
|
|
1761
|
-
rightthumbicon: string;
|
|
1762
|
-
scalecontainer: string;
|
|
1763
|
-
scaleoption: string;
|
|
1764
|
-
thumbicon: string;
|
|
1765
|
-
tracksthumbscontainer: string;
|
|
1766
|
-
tracksthumbsinnercontainer: string;
|
|
1767
|
-
slider: string;
|
|
1768
|
-
};
|
|
1769
1494
|
};
|
|
1770
1495
|
RADIO_BUTTON: {
|
|
1771
1496
|
radio_button: string;
|
|
@@ -1780,21 +1505,12 @@ declare type ComponentsTypesComponents = {
|
|
|
1780
1505
|
rowcontainer: string;
|
|
1781
1506
|
speciallabel: string;
|
|
1782
1507
|
sublabel: string;
|
|
1783
|
-
$_default: {
|
|
1784
|
-
radio_button: string;
|
|
1785
|
-
errormessage: string;
|
|
1786
|
-
sublabel: string;
|
|
1787
|
-
};
|
|
1788
1508
|
tooltip: {
|
|
1789
1509
|
arrowcontainer: string;
|
|
1790
1510
|
arrowposition: string;
|
|
1791
1511
|
arrowsize: string;
|
|
1792
|
-
closebuttoncontainer: string;
|
|
1793
|
-
closebuttonicon: string;
|
|
1794
|
-
headercontainer: string;
|
|
1795
1512
|
paragraph: string;
|
|
1796
1513
|
paragraphcontainer: string;
|
|
1797
|
-
title: string;
|
|
1798
1514
|
tooltipexternalcontainer: string;
|
|
1799
1515
|
tooltipinternalcontainer: string;
|
|
1800
1516
|
popover: {
|
|
@@ -1802,16 +1518,21 @@ declare type ComponentsTypesComponents = {
|
|
|
1802
1518
|
popover: string;
|
|
1803
1519
|
};
|
|
1804
1520
|
arrow: string;
|
|
1805
|
-
divider: string;
|
|
1806
|
-
dragicon: string;
|
|
1807
|
-
dragiconcontainer: string;
|
|
1808
1521
|
tooltipalignstyles: string;
|
|
1809
1522
|
tooltipasmodal: string;
|
|
1810
1523
|
};
|
|
1811
1524
|
};
|
|
1525
|
+
SELECT: {
|
|
1526
|
+
select: string;
|
|
1527
|
+
buttonorlinkcontainer: string;
|
|
1528
|
+
iconclosed: string;
|
|
1529
|
+
iconopened: string;
|
|
1530
|
+
labelclosed: string;
|
|
1531
|
+
labelopened: string;
|
|
1532
|
+
listoptionscontainer: string;
|
|
1533
|
+
};
|
|
1812
1534
|
SELECTOR_BOX_FILE: {
|
|
1813
1535
|
selector_box_file: string;
|
|
1814
|
-
actiondescriptioncontainer: string;
|
|
1815
1536
|
actionicon: string;
|
|
1816
1537
|
actioniconandactiontextcontainer: string;
|
|
1817
1538
|
animationcontainer: string;
|
|
@@ -1824,71 +1545,21 @@ declare type ComponentsTypesComponents = {
|
|
|
1824
1545
|
containerboxfilename: string;
|
|
1825
1546
|
containerboxicon: string;
|
|
1826
1547
|
containerboxtextscontainer: string;
|
|
1827
|
-
description: string;
|
|
1828
|
-
descriptioncontainer: string;
|
|
1829
|
-
errormessage: string;
|
|
1830
|
-
errormessagecontainer: string;
|
|
1831
|
-
errormessageicon: string;
|
|
1832
1548
|
header: string;
|
|
1833
1549
|
leftanimationcontainer: string;
|
|
1834
1550
|
rightanimationcontainer: string;
|
|
1835
|
-
subtitle: string;
|
|
1836
|
-
subtitletooltipcontainer: string;
|
|
1837
|
-
title: string;
|
|
1838
|
-
titlesubtitlecontainer: string;
|
|
1839
|
-
tooltipicon: string;
|
|
1840
|
-
tooltipiconcontainer: string;
|
|
1841
1551
|
topanimationcontainer: string;
|
|
1842
|
-
$_default: {
|
|
1843
|
-
selector_box_file: string;
|
|
1844
|
-
};
|
|
1845
|
-
button_size: {
|
|
1846
|
-
icon: string;
|
|
1847
|
-
button: string;
|
|
1848
|
-
loader: string;
|
|
1849
|
-
};
|
|
1850
|
-
button_variant: {
|
|
1851
|
-
button: string;
|
|
1852
|
-
icon: string;
|
|
1853
|
-
loader: string;
|
|
1854
|
-
};
|
|
1855
|
-
tooltip: {
|
|
1856
|
-
arrowcontainer: string;
|
|
1857
|
-
arrowposition: string;
|
|
1858
|
-
arrowsize: string;
|
|
1859
|
-
closebuttoncontainer: string;
|
|
1860
|
-
closebuttonicon: string;
|
|
1861
|
-
headercontainer: string;
|
|
1862
|
-
paragraph: string;
|
|
1863
|
-
paragraphcontainer: string;
|
|
1864
|
-
title: string;
|
|
1865
|
-
tooltipexternalcontainer: string;
|
|
1866
|
-
tooltipinternalcontainer: string;
|
|
1867
|
-
popover: {
|
|
1868
|
-
arrow: string;
|
|
1869
|
-
popover: string;
|
|
1870
|
-
};
|
|
1871
|
-
arrow: string;
|
|
1872
|
-
divider: string;
|
|
1873
|
-
dragicon: string;
|
|
1874
|
-
dragiconcontainer: string;
|
|
1875
|
-
tooltipalignstyles: string;
|
|
1876
|
-
tooltipasmodal: string;
|
|
1877
|
-
};
|
|
1878
1552
|
};
|
|
1879
1553
|
SKELETON: {
|
|
1880
1554
|
skeleton: string;
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
}
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
};
|
|
1890
|
-
$_default: {
|
|
1891
|
-
skeleton: string;
|
|
1555
|
+
dynamic_values: (styles: {
|
|
1556
|
+
$skeletonWidth: string;
|
|
1557
|
+
$skeletonHeight: string;
|
|
1558
|
+
$skeletonBorderRadius: string;
|
|
1559
|
+
$skeletonDuration: string;
|
|
1560
|
+
}) => {
|
|
1561
|
+
string: string;
|
|
1562
|
+
object: object;
|
|
1892
1563
|
};
|
|
1893
1564
|
};
|
|
1894
1565
|
SLIDER: {
|
|
@@ -1910,15 +1581,6 @@ declare type ComponentsTypesComponents = {
|
|
|
1910
1581
|
thumbicon: string;
|
|
1911
1582
|
tracksthumbscontainer: string;
|
|
1912
1583
|
tracksthumbsinnercontainer: string;
|
|
1913
|
-
$_primary: {
|
|
1914
|
-
slider: string;
|
|
1915
|
-
activetrack: string;
|
|
1916
|
-
inactivetrack: string;
|
|
1917
|
-
thumb: string;
|
|
1918
|
-
};
|
|
1919
|
-
$_test_no_thumb_exceeds_track: {
|
|
1920
|
-
slider: string;
|
|
1921
|
-
};
|
|
1922
1584
|
decrement_button_size: {
|
|
1923
1585
|
icon: string;
|
|
1924
1586
|
button: string;
|
|
@@ -1933,12 +1595,8 @@ declare type ComponentsTypesComponents = {
|
|
|
1933
1595
|
arrowcontainer: string;
|
|
1934
1596
|
arrowposition: string;
|
|
1935
1597
|
arrowsize: string;
|
|
1936
|
-
closebuttoncontainer: string;
|
|
1937
|
-
closebuttonicon: string;
|
|
1938
|
-
headercontainer: string;
|
|
1939
1598
|
paragraph: string;
|
|
1940
1599
|
paragraphcontainer: string;
|
|
1941
|
-
title: string;
|
|
1942
1600
|
tooltipexternalcontainer: string;
|
|
1943
1601
|
tooltipinternalcontainer: string;
|
|
1944
1602
|
popover: {
|
|
@@ -1946,34 +1604,12 @@ declare type ComponentsTypesComponents = {
|
|
|
1946
1604
|
popover: string;
|
|
1947
1605
|
};
|
|
1948
1606
|
arrow: string;
|
|
1949
|
-
divider: string;
|
|
1950
|
-
dragicon: string;
|
|
1951
|
-
dragiconcontainer: string;
|
|
1952
1607
|
tooltipalignstyles: string;
|
|
1953
1608
|
tooltipasmodal: string;
|
|
1954
1609
|
};
|
|
1955
1610
|
};
|
|
1956
1611
|
SNACKBAR: {
|
|
1957
|
-
$_error: {
|
|
1958
|
-
snackbar: string;
|
|
1959
|
-
container: string;
|
|
1960
|
-
};
|
|
1961
|
-
$_container: {
|
|
1962
|
-
snackbar: string;
|
|
1963
|
-
};
|
|
1964
1612
|
container: string;
|
|
1965
|
-
$_primary: {
|
|
1966
|
-
snackbar: string;
|
|
1967
|
-
container: string;
|
|
1968
|
-
};
|
|
1969
|
-
$_success: {
|
|
1970
|
-
snackbar: string;
|
|
1971
|
-
container: string;
|
|
1972
|
-
};
|
|
1973
|
-
$_warning: {
|
|
1974
|
-
snackbar: string;
|
|
1975
|
-
container: string;
|
|
1976
|
-
};
|
|
1977
1613
|
};
|
|
1978
1614
|
STEPPER_NUMBER: {
|
|
1979
1615
|
stepper_number: string;
|
|
@@ -1985,23 +1621,6 @@ declare type ComponentsTypesComponents = {
|
|
|
1985
1621
|
stepindex: string;
|
|
1986
1622
|
stepname: string;
|
|
1987
1623
|
stepnamecontainer: string;
|
|
1988
|
-
$_horizontal: {
|
|
1989
|
-
stepper_number: string;
|
|
1990
|
-
stepindex: string;
|
|
1991
|
-
};
|
|
1992
|
-
$_default: {
|
|
1993
|
-
stepper_number: string;
|
|
1994
|
-
iconselected: string;
|
|
1995
|
-
stepbar: string;
|
|
1996
|
-
stepcircle: string;
|
|
1997
|
-
stepindex: string;
|
|
1998
|
-
};
|
|
1999
|
-
$_vertical: {
|
|
2000
|
-
stepper_number: string;
|
|
2001
|
-
stepcontainer: string;
|
|
2002
|
-
stepname: string;
|
|
2003
|
-
stepnamecontainer: string;
|
|
2004
|
-
};
|
|
2005
1624
|
};
|
|
2006
1625
|
TABLE: {
|
|
2007
1626
|
table: string;
|
|
@@ -2012,46 +1631,28 @@ declare type ComponentsTypesComponents = {
|
|
|
2012
1631
|
rightboxshadow: string;
|
|
2013
1632
|
rightboxshadowcontainer: string;
|
|
2014
1633
|
scrollablecontainer: string;
|
|
2015
|
-
$_default: {
|
|
2016
|
-
table: string;
|
|
2017
|
-
};
|
|
2018
1634
|
};
|
|
2019
1635
|
TABLE_BODY: {
|
|
2020
1636
|
table_body: string;
|
|
2021
|
-
$_default: {
|
|
2022
|
-
table_body: string;
|
|
2023
|
-
};
|
|
2024
1637
|
};
|
|
2025
1638
|
TABLE_CAPTION: {
|
|
2026
1639
|
table_caption: string;
|
|
2027
|
-
$_default: {
|
|
2028
|
-
table_caption: string;
|
|
2029
|
-
};
|
|
2030
1640
|
};
|
|
2031
1641
|
TABLE_CELL: {
|
|
2032
1642
|
table_cell: string;
|
|
2033
|
-
$_body_cell_default: {
|
|
2034
|
-
table_cell: string;
|
|
2035
|
-
};
|
|
2036
|
-
$_header_cell_default: {
|
|
2037
|
-
table_cell: string;
|
|
2038
|
-
};
|
|
2039
|
-
$_header_cell_secondary: {
|
|
2040
|
-
table_cell: string;
|
|
2041
|
-
};
|
|
2042
1643
|
dynamic_values: (styles: {
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
1644
|
+
$tdWidth: string;
|
|
1645
|
+
$tdHeight: string;
|
|
1646
|
+
$tdMinWidth: string;
|
|
1647
|
+
$tdMaxWidth: string;
|
|
1648
|
+
$tdTextAlign: string;
|
|
1649
|
+
$tdVerticalAlign: string;
|
|
1650
|
+
$tdAlignItems: string;
|
|
1651
|
+
$tdJustifyContent: string;
|
|
1652
|
+
$tdTop: string;
|
|
1653
|
+
$tdLeft: string;
|
|
1654
|
+
$tdRight: string;
|
|
1655
|
+
$tdBottom: string;
|
|
2055
1656
|
}) => {
|
|
2056
1657
|
string: string;
|
|
2057
1658
|
object: object;
|
|
@@ -2059,33 +1660,15 @@ declare type ComponentsTypesComponents = {
|
|
|
2059
1660
|
};
|
|
2060
1661
|
TABLE_DIVIDER: {
|
|
2061
1662
|
table_divider: string;
|
|
2062
|
-
$_default: {
|
|
2063
|
-
table_divider: string;
|
|
2064
|
-
};
|
|
2065
1663
|
};
|
|
2066
1664
|
TABLE_FOOT: {
|
|
2067
1665
|
table_foot: string;
|
|
2068
|
-
$_default: {
|
|
2069
|
-
table_foot: string;
|
|
2070
|
-
};
|
|
2071
1666
|
};
|
|
2072
1667
|
TABLE_HEAD: {
|
|
2073
1668
|
table_head: string;
|
|
2074
|
-
$_default: {
|
|
2075
|
-
table_head: string;
|
|
2076
|
-
};
|
|
2077
1669
|
};
|
|
2078
1670
|
TABLE_ROW: {
|
|
2079
1671
|
table_row: string;
|
|
2080
|
-
$_body_row_default: {
|
|
2081
|
-
table_row: string;
|
|
2082
|
-
};
|
|
2083
|
-
$_header_row_default: {
|
|
2084
|
-
table_row: string;
|
|
2085
|
-
};
|
|
2086
|
-
$_header_row_secondary: {
|
|
2087
|
-
table_row: string;
|
|
2088
|
-
};
|
|
2089
1672
|
};
|
|
2090
1673
|
TABS: {
|
|
2091
1674
|
tabs: string;
|
|
@@ -2100,39 +1683,14 @@ declare type ComponentsTypesComponents = {
|
|
|
2100
1683
|
tabbutton: string;
|
|
2101
1684
|
tabbuttonscontainer: string;
|
|
2102
1685
|
tabcontainer: string;
|
|
2103
|
-
$_default: {
|
|
2104
|
-
tabs: string;
|
|
2105
|
-
};
|
|
2106
1686
|
};
|
|
2107
1687
|
TAG: {
|
|
2108
1688
|
tag: string;
|
|
2109
1689
|
icon: string;
|
|
2110
1690
|
label: string;
|
|
2111
|
-
$_code: {
|
|
2112
|
-
tag: string;
|
|
2113
|
-
label: string;
|
|
2114
|
-
};
|
|
2115
|
-
$_deprecated: {
|
|
2116
|
-
tag: string;
|
|
2117
|
-
};
|
|
2118
|
-
$_dormant: {
|
|
2119
|
-
tag: string;
|
|
2120
|
-
};
|
|
2121
|
-
$_healthy: {
|
|
2122
|
-
tag: string;
|
|
2123
|
-
};
|
|
2124
|
-
$_informative: {
|
|
2125
|
-
tag: string;
|
|
2126
|
-
};
|
|
2127
|
-
$_issue: {
|
|
2128
|
-
tag: string;
|
|
2129
|
-
};
|
|
2130
1691
|
};
|
|
2131
1692
|
TEXT: {
|
|
2132
1693
|
text: string;
|
|
2133
|
-
$_default: {
|
|
2134
|
-
text: string;
|
|
2135
|
-
};
|
|
2136
1694
|
$_heading_display_1_expanded: {
|
|
2137
1695
|
text: string;
|
|
2138
1696
|
};
|
|
@@ -2141,939 +1699,139 @@ declare type ComponentsTypesComponents = {
|
|
|
2141
1699
|
};
|
|
2142
1700
|
$_heading_h1_expanded: {
|
|
2143
1701
|
text: string;
|
|
2144
|
-
};
|
|
2145
|
-
$_heading_h1_extended: {
|
|
2146
|
-
text: string;
|
|
2147
|
-
};
|
|
2148
|
-
$_heading_h2_expanded: {
|
|
2149
|
-
text: string;
|
|
2150
|
-
};
|
|
2151
|
-
$_heading_h2_extended: {
|
|
2152
|
-
text: string;
|
|
2153
|
-
};
|
|
2154
|
-
$_heading_h3_expanded: {
|
|
2155
|
-
text: string;
|
|
2156
|
-
};
|
|
2157
|
-
$_heading_h3_extended: {
|
|
2158
|
-
text: string;
|
|
2159
|
-
};
|
|
2160
|
-
$_heading_h4_expanded: {
|
|
2161
|
-
text: string;
|
|
2162
|
-
};
|
|
2163
|
-
$_heading_h4_extended: {
|
|
2164
|
-
text: string;
|
|
2165
|
-
};
|
|
2166
|
-
$_main_heading_display_1_expanded: {
|
|
2167
|
-
text: string;
|
|
2168
|
-
};
|
|
2169
|
-
$_main_heading_h1_expanded: {
|
|
2170
|
-
text: string;
|
|
2171
|
-
};
|
|
2172
|
-
$_main_heading_h2_expanded: {
|
|
2173
|
-
text: string;
|
|
2174
|
-
};
|
|
2175
|
-
$_main_heading_h3_expanded: {
|
|
2176
|
-
text: string;
|
|
2177
|
-
};
|
|
2178
|
-
$_main_heading_h4_expanded: {
|
|
2179
|
-
text: string;
|
|
2180
|
-
};
|
|
2181
|
-
$_paragraph_caption_expanded: {
|
|
2182
|
-
text: string;
|
|
2183
|
-
};
|
|
2184
|
-
$_paragraph_caption_extended: {
|
|
2185
|
-
text: string;
|
|
2186
|
-
};
|
|
2187
|
-
$_paragraph_large_expanded: {
|
|
2188
|
-
text: string;
|
|
2189
|
-
};
|
|
2190
|
-
$_paragraph_large_extended: {
|
|
2191
|
-
text: string;
|
|
2192
|
-
};
|
|
2193
|
-
$_paragraph_medium_expanded: {
|
|
2194
|
-
text: string;
|
|
2195
|
-
};
|
|
2196
|
-
$_paragraph_medium_extended: {
|
|
2197
|
-
text: string;
|
|
2198
|
-
};
|
|
2199
|
-
$_paragraph_medium_mono: {
|
|
2200
|
-
text: string;
|
|
2201
|
-
};
|
|
2202
|
-
$_paragraph_small_expanded: {
|
|
2203
|
-
text: string;
|
|
2204
|
-
};
|
|
2205
|
-
$_paragraph_small_extended: {
|
|
2206
|
-
text: string;
|
|
2207
|
-
};
|
|
2208
|
-
};
|
|
2209
|
-
TEXT_AREA: {
|
|
2210
|
-
text_area: string;
|
|
2211
|
-
bottomcontainer: string;
|
|
2212
|
-
counter: string;
|
|
2213
|
-
counterleft: string;
|
|
2214
|
-
counterright: string;
|
|
2215
|
-
errorcontainer: string;
|
|
2216
|
-
erroricon: string;
|
|
2217
|
-
errormessage: string;
|
|
2218
|
-
helpmessage: string;
|
|
2219
|
-
helpmessageerrorcontainer: string;
|
|
2220
|
-
label: string;
|
|
2221
|
-
labelandadditionalinfocontainer: string;
|
|
2222
|
-
labeltextareacontainer: string;
|
|
2223
|
-
required: string;
|
|
2224
|
-
textarea: string;
|
|
2225
|
-
title: string;
|
|
2226
|
-
titlecontainer: string;
|
|
2227
|
-
$_default: {
|
|
2228
|
-
text_area: string;
|
|
2229
|
-
};
|
|
2230
|
-
};
|
|
2231
|
-
TEXT_COUNT: {
|
|
2232
|
-
text_count: string;
|
|
2233
|
-
letftext: string;
|
|
2234
|
-
righttext: string;
|
|
2235
|
-
$_default: {
|
|
2236
|
-
text_count: string;
|
|
2237
|
-
letftext: string;
|
|
2238
|
-
righttext: string;
|
|
2239
|
-
};
|
|
2240
|
-
};
|
|
2241
|
-
TOGGLE: {
|
|
2242
|
-
icon: string;
|
|
2243
|
-
iconwrapper: string;
|
|
2244
|
-
thumb: string;
|
|
2245
|
-
track: string;
|
|
2246
|
-
$_regular: {
|
|
2247
|
-
toggle: string;
|
|
2248
|
-
track: string;
|
|
2249
|
-
};
|
|
2250
|
-
};
|
|
2251
|
-
TOOLTIP: {
|
|
2252
|
-
arrow: string;
|
|
2253
|
-
arrowcontainer: string;
|
|
2254
|
-
arrowposition: string;
|
|
2255
|
-
arrowsize: string;
|
|
2256
|
-
closebuttoncontainer: string;
|
|
2257
|
-
closebuttonicon: string;
|
|
2258
|
-
divider: string;
|
|
2259
|
-
dragicon: string;
|
|
2260
|
-
dragiconcontainer: string;
|
|
2261
|
-
headercontainer: string;
|
|
2262
|
-
paragraph: string;
|
|
2263
|
-
paragraphcontainer: string;
|
|
2264
|
-
title: string;
|
|
2265
|
-
tooltipalignstyles: string;
|
|
2266
|
-
tooltipasmodal: string;
|
|
2267
|
-
tooltipexternalcontainer: string;
|
|
2268
|
-
tooltipinternalcontainer: string;
|
|
2269
|
-
$_default: {
|
|
2270
|
-
tooltip: string;
|
|
2271
|
-
arrowcontainer: string;
|
|
2272
|
-
arrowposition: string;
|
|
2273
|
-
arrowsize: string;
|
|
2274
|
-
closebuttoncontainer: string;
|
|
2275
|
-
closebuttonicon: string;
|
|
2276
|
-
headercontainer: string;
|
|
2277
|
-
paragraph: string;
|
|
2278
|
-
paragraphcontainer: string;
|
|
2279
|
-
title: string;
|
|
2280
|
-
tooltipexternalcontainer: string;
|
|
2281
|
-
tooltipinternalcontainer: string;
|
|
2282
|
-
};
|
|
2283
|
-
popover: {
|
|
2284
|
-
arrow: string;
|
|
2285
|
-
popover: string;
|
|
2286
|
-
};
|
|
2287
|
-
};
|
|
2288
|
-
VIRTUAL_KEYBOARD: {
|
|
2289
|
-
virtual_keyboard: string;
|
|
2290
|
-
digitbuttons: string;
|
|
2291
|
-
digittext: string;
|
|
2292
|
-
digitwrapper: string;
|
|
2293
|
-
iconcontainer: string;
|
|
2294
|
-
removebutton: string;
|
|
2295
|
-
$_default: {
|
|
2296
|
-
virtual_keyboard: string;
|
|
2297
|
-
digitbuttons: string;
|
|
2298
|
-
digittext: string;
|
|
2299
|
-
};
|
|
2300
|
-
};
|
|
2301
|
-
};
|
|
2302
|
-
|
|
2303
|
-
/**
|
|
2304
|
-
* Container component for grouping content with consistent styling and structure.
|
|
2305
|
-
*
|
|
2306
|
-
* This component wraps its children in a styled container, optionally displaying a header/title.
|
|
2307
|
-
* It is useful for organizing related content, settings, or sections in a visually consistent way.
|
|
2308
|
-
* Supports custom CSS classes and theming via variants.
|
|
2309
|
-
*
|
|
2310
|
-
* Internally, it computes CSS classes using a custom hook and delegates rendering to {@link ContainerStandAlone}.
|
|
2311
|
-
*
|
|
2312
|
-
* This component accepts a generic type parameter `<Variant extends string>` to allow for custom variant values,
|
|
2313
|
-
* enabling flexible theming and styling.
|
|
2314
|
-
*
|
|
2315
|
-
* @example
|
|
2316
|
-
* ```tsx
|
|
2317
|
-
* <Container title={{ content: "Section Title" }}>
|
|
2318
|
-
* Section content goes here.
|
|
2319
|
-
* </Container>
|
|
2320
|
-
*
|
|
2321
|
-
* // With a custom variant type:
|
|
2322
|
-
* type MyVariant = "primary" | "secondary";
|
|
2323
|
-
* <Container<MyVariant> title={{ content: "Primary Section" }} variant="primary">
|
|
2324
|
-
* Primary section content.
|
|
2325
|
-
* </Container>
|
|
2326
|
-
* ```
|
|
2327
|
-
*/
|
|
2328
|
-
export declare const Container: ForwardRefExoticComponent<ContainerProps<string> & {
|
|
2329
|
-
children?: ReactNode | undefined;
|
|
2330
|
-
} & RefAttributes<HTMLDivElement>>;
|
|
2331
|
-
|
|
2332
|
-
declare type ContainerCssClasses = ComponentSelected<ComponentsTypesComponents['CONTAINER']>;
|
|
2333
|
-
|
|
2334
|
-
/**
|
|
2335
|
-
* Interface for the container component with a variant.
|
|
2336
|
-
* Extends the IContainerStandAlone interface and adds a variant and additional CSS classes.
|
|
2337
|
-
*
|
|
2338
|
-
* @template Variant - The type of the variant for the container.
|
|
2339
|
-
*/
|
|
2340
|
-
export declare interface ContainerProps<Variant extends string | unknown> extends Omit<ContainerStandAloneProps, 'cssClasses'> {
|
|
2341
|
-
variant?: Variant;
|
|
2342
|
-
additionalClasses?: Partial<ContainerCssClasses>;
|
|
2343
|
-
}
|
|
2344
|
-
|
|
2345
|
-
/**
|
|
2346
|
-
* Interface for the standalone container component.
|
|
2347
|
-
* It includes optional custom CSS classes, a title, and a data-testid attribute.
|
|
2348
|
-
*/
|
|
2349
|
-
export declare interface ContainerStandAloneProps extends DataAttributes {
|
|
2350
|
-
cssClasses?: ContainerCssClasses;
|
|
2351
|
-
title?: CommonTextProps;
|
|
2352
|
-
}
|
|
2353
|
-
|
|
2354
|
-
/**
|
|
2355
|
-
* Interface representing the styles for the container component.
|
|
2356
|
-
*/
|
|
2357
|
-
export declare interface ContainerStyleProps extends CssLibPropsType {
|
|
2358
|
-
_header?: CssLibPropsType;
|
|
2359
|
-
_title?: CssLibPropsType;
|
|
2360
|
-
_content?: CssLibPropsType;
|
|
2361
|
-
}
|
|
2362
|
-
|
|
2363
|
-
/**
|
|
2364
|
-
* Type representing the styles for different variants of the container component.
|
|
2365
|
-
*
|
|
2366
|
-
* @template Variant - The type of the variant keys.
|
|
2367
|
-
*/
|
|
2368
|
-
export declare type ContainerVariantStyles<Variant extends string> = ContainerStyleProps & {
|
|
2369
|
-
[key in Variant]: ContainerStyleProps;
|
|
2370
|
-
};
|
|
2371
|
-
|
|
2372
|
-
declare type CssAdvancedSelectorsType = {
|
|
2373
|
-
adjacent?: CssLibPropsType & {
|
|
2374
|
-
$target?: string;
|
|
2375
|
-
};
|
|
2376
|
-
} | {
|
|
2377
|
-
child?: CssLibPropsType & {
|
|
2378
|
-
$target?: string;
|
|
2379
|
-
};
|
|
2380
|
-
} | {
|
|
2381
|
-
descendant?: CssLibPropsType & {
|
|
2382
|
-
$target?: string;
|
|
2383
|
-
};
|
|
2384
|
-
} | {
|
|
2385
|
-
near?: CssLibPropsType & {
|
|
2386
|
-
$target?: string;
|
|
2387
|
-
};
|
|
2388
|
-
} | {
|
|
2389
|
-
concat?: CssLibPropsType & {
|
|
2390
|
-
$target?: string;
|
|
2391
|
-
};
|
|
2392
|
-
} | {
|
|
2393
|
-
column?: CssLibPropsType & {
|
|
2394
|
-
$target?: string;
|
|
2395
|
-
};
|
|
2396
|
-
};
|
|
2397
|
-
|
|
2398
|
-
declare type CssDynamicValuesType = {
|
|
2399
|
-
$dynamicValues?: string[];
|
|
2400
|
-
};
|
|
2401
|
-
|
|
2402
|
-
declare type CssForeignLibType = {
|
|
2403
|
-
$foreign?: CssForeignType;
|
|
2404
|
-
};
|
|
2405
|
-
|
|
2406
|
-
declare type CssForeignType = {
|
|
2407
|
-
[key: string]: {
|
|
2408
|
-
component: object;
|
|
2409
|
-
variant?: string | unknown;
|
|
2410
|
-
name: string;
|
|
2411
|
-
};
|
|
2412
|
-
};
|
|
2413
|
-
|
|
2414
|
-
declare type CssLibAdvancedSelectorsType = {
|
|
2415
|
-
$advancedSelectors?: CssAdvancedSelectorsType[];
|
|
2416
|
-
};
|
|
2417
|
-
|
|
2418
|
-
declare type CssLibAttributesType = {
|
|
2419
|
-
$attributes?: {
|
|
2420
|
-
[key: string]: CssLibPropsType;
|
|
2421
|
-
} | {
|
|
2422
|
-
[key: string]: {
|
|
2423
|
-
[key: string]: CssLibPropsType;
|
|
2424
|
-
};
|
|
2425
|
-
};
|
|
2426
|
-
};
|
|
2427
|
-
|
|
2428
|
-
declare type CssLibMediaQueriesType = {
|
|
2429
|
-
$mediaQueries?: {
|
|
2430
|
-
[key: string]: CssMediaQueriesType;
|
|
2431
|
-
} | {
|
|
2432
|
-
'mobile'?: CssLibPropsType;
|
|
2433
|
-
'tablet'?: CssLibPropsType;
|
|
2434
|
-
'desktop'?: CssLibPropsType;
|
|
2435
|
-
'large_desktop'?: CssLibPropsType;
|
|
2436
|
-
};
|
|
2437
|
-
};
|
|
2438
|
-
|
|
2439
|
-
declare type CssLibPropsType = CssPropsType & CssLibPseudoClassesType & CssLibPseudoElementsType & CssLibAdvancedSelectorsType & CssDynamicValuesType & CssLibAttributesType & CssLibMediaQueriesType & CssForeignLibType;
|
|
2440
|
-
|
|
2441
|
-
declare type CssLibPseudoClassesType = {
|
|
2442
|
-
$pseudoClasses?: CssPseudoClassesType;
|
|
2443
|
-
};
|
|
2444
|
-
|
|
2445
|
-
declare type CssLibPseudoElementsType = {
|
|
2446
|
-
$pseudoElements?: CssPseudoElementsType;
|
|
2447
|
-
};
|
|
2448
|
-
|
|
2449
|
-
declare type CssMediaQueriesType = CssPropsType & {
|
|
2450
|
-
$type?: string;
|
|
2451
|
-
$values?: {
|
|
2452
|
-
[key: string]: string;
|
|
2453
|
-
};
|
|
2454
|
-
};
|
|
2455
|
-
|
|
2456
|
-
declare type CssPropsType = {
|
|
2457
|
-
scrollbar_width?: string;
|
|
2458
|
-
scrollbar_color?: string;
|
|
2459
|
-
scrollbar_gutter?: string;
|
|
2460
|
-
scroll_behavior?: string;
|
|
2461
|
-
scroll_margin?: string;
|
|
2462
|
-
scroll_padding?: string;
|
|
2463
|
-
scroll_snap_align?: string;
|
|
2464
|
-
scroll_snap_stop?: string;
|
|
2465
|
-
scroll_snap_type?: string;
|
|
2466
|
-
webkit_scrollbar?: string;
|
|
2467
|
-
scroll_container?: string;
|
|
2468
|
-
scrollbar_aria_role?: string;
|
|
2469
|
-
background?: string;
|
|
2470
|
-
background_color?: string;
|
|
2471
|
-
background_image?: string;
|
|
2472
|
-
background_position?: string;
|
|
2473
|
-
background_repeat?: string;
|
|
2474
|
-
background_size?: string;
|
|
2475
|
-
background_attachment?: string;
|
|
2476
|
-
background_blend_mode?: string;
|
|
2477
|
-
background_clip?: string;
|
|
2478
|
-
background_origin?: string;
|
|
2479
|
-
border?: string;
|
|
2480
|
-
border_top?: string;
|
|
2481
|
-
border_right?: string;
|
|
2482
|
-
border_bottom?: string;
|
|
2483
|
-
border_left?: string;
|
|
2484
|
-
border_radius?: string;
|
|
2485
|
-
border_width?: string;
|
|
2486
|
-
border_left_width?: string;
|
|
2487
|
-
border_right_width?: string;
|
|
2488
|
-
border_top_width?: string;
|
|
2489
|
-
border_bottom_width?: string;
|
|
2490
|
-
border_color?: string;
|
|
2491
|
-
border_left_color?: string;
|
|
2492
|
-
border_right_color?: string;
|
|
2493
|
-
border_top_color?: string;
|
|
2494
|
-
border_bottom_color?: string;
|
|
2495
|
-
border_top_left_radius?: string;
|
|
2496
|
-
border_top_right_radius?: string;
|
|
2497
|
-
border_bottom_left_radius?: string;
|
|
2498
|
-
border_bottom_right_radius?: string;
|
|
2499
|
-
border_style?: string;
|
|
2500
|
-
border_left_style?: string;
|
|
2501
|
-
border_top_style?: string;
|
|
2502
|
-
border_right_style?: string;
|
|
2503
|
-
border_bottom_style?: string;
|
|
2504
|
-
outline?: string;
|
|
2505
|
-
outline_style?: string;
|
|
2506
|
-
outline_color?: string;
|
|
2507
|
-
outline_width?: string;
|
|
2508
|
-
outline_offset?: string;
|
|
2509
|
-
display?: string;
|
|
2510
|
-
opacity?: string;
|
|
2511
|
-
visibility?: string;
|
|
2512
|
-
overflow?: string;
|
|
2513
|
-
overflow_x?: string;
|
|
2514
|
-
overflow_y?: string;
|
|
2515
|
-
overflow_block?: string;
|
|
2516
|
-
overflow_inline?: string;
|
|
2517
|
-
overflow_clip_margin?: string;
|
|
2518
|
-
flex?: string;
|
|
2519
|
-
flex_direction?: string;
|
|
2520
|
-
flex_wrap?: string;
|
|
2521
|
-
flex_flow?: string;
|
|
2522
|
-
flex_grow?: string;
|
|
2523
|
-
flex_shrink?: string;
|
|
2524
|
-
flex_basis?: string;
|
|
2525
|
-
justify_content?: string;
|
|
2526
|
-
justify_items?: string;
|
|
2527
|
-
align_items?: string;
|
|
2528
|
-
align_self?: string;
|
|
2529
|
-
align_content?: string;
|
|
2530
|
-
order?: string;
|
|
2531
|
-
gap?: string;
|
|
2532
|
-
row_gap?: string;
|
|
2533
|
-
column_gap?: string;
|
|
2534
|
-
grid?: string;
|
|
2535
|
-
grid_area?: string;
|
|
2536
|
-
grid_template?: string;
|
|
2537
|
-
grid_template_areas?: string;
|
|
2538
|
-
grid_template_rows?: string;
|
|
2539
|
-
grid_template_columns?: string;
|
|
2540
|
-
grid_row?: string;
|
|
2541
|
-
grid_row_start?: string;
|
|
2542
|
-
grid_row_end?: string;
|
|
2543
|
-
grid_column?: string;
|
|
2544
|
-
grid_column_start?: string;
|
|
2545
|
-
grid_column_end?: string;
|
|
2546
|
-
grid_gap?: string;
|
|
2547
|
-
grid_row_gap?: string;
|
|
2548
|
-
grid_column_gap?: string;
|
|
2549
|
-
grid_auto_flow?: string;
|
|
2550
|
-
grid_auto_rows?: string;
|
|
2551
|
-
grid_auto_columns?: string;
|
|
2552
|
-
margin?: string;
|
|
2553
|
-
margin_left?: string;
|
|
2554
|
-
margin_right?: string;
|
|
2555
|
-
margin_top?: string;
|
|
2556
|
-
margin_bottom?: string;
|
|
2557
|
-
padding?: string;
|
|
2558
|
-
padding_left?: string;
|
|
2559
|
-
padding_right?: string;
|
|
2560
|
-
padding_top?: string;
|
|
2561
|
-
padding_bottom?: string;
|
|
2562
|
-
box_sizing?: string;
|
|
2563
|
-
box_shadow?: string;
|
|
2564
|
-
width?: string;
|
|
2565
|
-
min_width?: string;
|
|
2566
|
-
max_width?: string;
|
|
2567
|
-
height?: string;
|
|
2568
|
-
min_height?: string;
|
|
2569
|
-
max_height?: string;
|
|
2570
|
-
position?: string;
|
|
2571
|
-
top?: string;
|
|
2572
|
-
right?: string;
|
|
2573
|
-
bottom?: string;
|
|
2574
|
-
left?: string;
|
|
2575
|
-
z_index?: string;
|
|
2576
|
-
float?: string;
|
|
2577
|
-
clear?: string;
|
|
2578
|
-
transform?: string;
|
|
2579
|
-
transform_origin?: string;
|
|
2580
|
-
transform_style?: string;
|
|
2581
|
-
translate?: string;
|
|
2582
|
-
font?: string;
|
|
2583
|
-
font_family?: string;
|
|
2584
|
-
font_size?: string;
|
|
2585
|
-
font_weight?: string;
|
|
2586
|
-
font_style?: string;
|
|
2587
|
-
font_variant?: string;
|
|
2588
|
-
font_stretch?: string;
|
|
2589
|
-
font_size_adjust?: string;
|
|
2590
|
-
font_synthesis?: string;
|
|
2591
|
-
font_feature_settings?: string;
|
|
2592
|
-
font_kerning?: string;
|
|
2593
|
-
font_language_override?: string;
|
|
2594
|
-
font_optical_sizing?: string;
|
|
2595
|
-
font_variant_alternates?: string;
|
|
2596
|
-
font_variant_caps?: string;
|
|
2597
|
-
font_variant_east_asian?: string;
|
|
2598
|
-
font_variant_ligatures?: string;
|
|
2599
|
-
font_variant_numeric?: string;
|
|
2600
|
-
font_variant_position?: string;
|
|
2601
|
-
line_height?: string;
|
|
2602
|
-
letter_spacing?: string;
|
|
2603
|
-
text_align?: string;
|
|
2604
|
-
text_decoration?: string;
|
|
2605
|
-
text_transform?: string;
|
|
2606
|
-
white_space?: string;
|
|
2607
|
-
word_break?: string;
|
|
2608
|
-
word_wrap?: string;
|
|
2609
|
-
text_overflow?: string;
|
|
2610
|
-
text_shadow?: string;
|
|
2611
|
-
text_indent?: string;
|
|
2612
|
-
text_justify?: string;
|
|
2613
|
-
text_orientation?: string;
|
|
2614
|
-
text_rendering?: string;
|
|
2615
|
-
text_size_adjust?: string;
|
|
2616
|
-
text_combine_upright?: string;
|
|
2617
|
-
text_emphasis?: string;
|
|
2618
|
-
text_emphasis_color?: string;
|
|
2619
|
-
text_emphasis_position?: string;
|
|
2620
|
-
text_emphasis_style?: string;
|
|
2621
|
-
text_decoration_color?: string;
|
|
2622
|
-
text_decoration_line?: string;
|
|
2623
|
-
text_decoration_skip?: string;
|
|
2624
|
-
text_decoration_skip_ink?: string;
|
|
2625
|
-
text_decoration_style?: string;
|
|
2626
|
-
text_underline_position?: string;
|
|
2627
|
-
list_style?: string;
|
|
2628
|
-
list_style_type?: string;
|
|
2629
|
-
list_style_position?: string;
|
|
2630
|
-
list_style_image?: string;
|
|
2631
|
-
color?: string;
|
|
2632
|
-
accent_color?: string;
|
|
2633
|
-
cursor?: string;
|
|
2634
|
-
pointer_events?: string;
|
|
2635
|
-
vertical_align?: string;
|
|
2636
|
-
inset?: string;
|
|
2637
|
-
inset_block?: string;
|
|
2638
|
-
inset_block_start?: string;
|
|
2639
|
-
inset_block_end?: string;
|
|
2640
|
-
inset_inline?: string;
|
|
2641
|
-
inset_inline_start?: string;
|
|
2642
|
-
inset_inline_end?: string;
|
|
2643
|
-
transition?: string;
|
|
2644
|
-
transition_property?: string;
|
|
2645
|
-
transition_duration?: string;
|
|
2646
|
-
transition_timing_function?: string;
|
|
2647
|
-
transition_delay?: string;
|
|
2648
|
-
animation?: string;
|
|
2649
|
-
animation_name?: string;
|
|
2650
|
-
animation_duration?: string;
|
|
2651
|
-
animation_timing_function?: string;
|
|
2652
|
-
animation_delay?: string;
|
|
2653
|
-
animation_iteration_count?: string;
|
|
2654
|
-
animation_direction?: string;
|
|
2655
|
-
animation_fill_mode?: string;
|
|
2656
|
-
animation_play_state?: string;
|
|
2657
|
-
animation_timeline?: string;
|
|
2658
|
-
appearance?: string;
|
|
2659
|
-
user_select?: string;
|
|
2660
|
-
aspect_ratio?: string;
|
|
2661
|
-
resize?: string;
|
|
2662
|
-
caret?: string;
|
|
2663
|
-
caret_animation?: string;
|
|
2664
|
-
caret_shape?: string;
|
|
2665
|
-
caret_color?: string;
|
|
2666
|
-
backdrop_filter?: string;
|
|
2667
|
-
backface_visibility?: string;
|
|
2668
|
-
block_size?: string;
|
|
2669
|
-
writing_mode?: string;
|
|
2670
|
-
break_before?: string;
|
|
2671
|
-
break_after?: string;
|
|
2672
|
-
break_inside?: string;
|
|
2673
|
-
clip?: string;
|
|
2674
|
-
clip_path?: string;
|
|
2675
|
-
clip_rule?: string;
|
|
2676
|
-
filter?: string;
|
|
2677
|
-
float_offset?: string;
|
|
2678
|
-
float_defer?: string;
|
|
2679
|
-
hyphens?: string;
|
|
2680
|
-
image_rendering?: string;
|
|
2681
|
-
image_orientation?: string;
|
|
2682
|
-
image_resolution?: string;
|
|
2683
|
-
isolation?: string;
|
|
2684
|
-
mix_blend_mode?: string;
|
|
2685
|
-
object_fit?: string;
|
|
2686
|
-
object_position?: string;
|
|
2687
|
-
overscroll_behavior?: string;
|
|
2688
|
-
overscroll_behavior_x?: string;
|
|
2689
|
-
overscroll_behavior_y?: string;
|
|
2690
|
-
perspective?: string;
|
|
2691
|
-
perspective_origin?: string;
|
|
2692
|
-
scroll_snap_margin?: string;
|
|
2693
|
-
caption_side?: string;
|
|
2694
|
-
empty_cells?: string;
|
|
2695
|
-
fill?: string;
|
|
2696
|
-
fill_rule?: string;
|
|
2697
|
-
flood_color?: string;
|
|
2698
|
-
flood_opacity?: string;
|
|
2699
|
-
lighting_color?: string;
|
|
2700
|
-
marker_end?: string;
|
|
2701
|
-
marker_mid?: string;
|
|
2702
|
-
marker_start?: string;
|
|
2703
|
-
shape_rendering?: string;
|
|
2704
|
-
stop_color?: string;
|
|
2705
|
-
stop_opacity?: string;
|
|
2706
|
-
stroke?: string;
|
|
2707
|
-
stroke_dasharray?: string;
|
|
2708
|
-
stroke_dashoffset?: string;
|
|
2709
|
-
stroke_linecap?: string;
|
|
2710
|
-
stroke_linejoin?: string;
|
|
2711
|
-
stroke_miterlimit?: string;
|
|
2712
|
-
stroke_opacity?: string;
|
|
2713
|
-
mask?: string;
|
|
2714
|
-
mask_type?: string;
|
|
2715
|
-
mask_image?: string;
|
|
2716
|
-
mask_mode?: string;
|
|
2717
|
-
mask_repeat?: string;
|
|
2718
|
-
mask_position?: string;
|
|
2719
|
-
mask_clip?: string;
|
|
2720
|
-
mask_origin?: string;
|
|
2721
|
-
mask_size?: string;
|
|
2722
|
-
mask_composite?: string;
|
|
2723
|
-
mask_border?: string;
|
|
2724
|
-
mask_border_source?: string;
|
|
2725
|
-
mask_border_mode?: string;
|
|
2726
|
-
mask_border_slice?: string;
|
|
2727
|
-
mask_border_width?: string;
|
|
2728
|
-
mask_border_outset?: string;
|
|
2729
|
-
mask_border_repeat?: string;
|
|
2730
|
-
$content?: string;
|
|
2731
|
-
};
|
|
2732
|
-
|
|
2733
|
-
declare type CssPseudoClassesType = {
|
|
2734
|
-
fullscreen?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2735
|
-
$target?: string;
|
|
2736
|
-
};
|
|
2737
|
-
modal?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2738
|
-
$target?: string;
|
|
2739
|
-
};
|
|
2740
|
-
picture_in_picture?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2741
|
-
$target?: string;
|
|
2742
|
-
};
|
|
2743
|
-
autofill?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2744
|
-
$target?: string;
|
|
2745
|
-
};
|
|
2746
|
-
enabled?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2747
|
-
$target?: string;
|
|
2748
|
-
};
|
|
2749
|
-
disabled?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2750
|
-
$target?: string;
|
|
2751
|
-
};
|
|
2752
|
-
read_only?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2753
|
-
$target?: string;
|
|
2754
|
-
};
|
|
2755
|
-
read_write?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2756
|
-
$target?: string;
|
|
2757
|
-
};
|
|
2758
|
-
placeholder_shown?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2759
|
-
$target?: string;
|
|
2760
|
-
};
|
|
2761
|
-
default?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2762
|
-
$target?: string;
|
|
2763
|
-
};
|
|
2764
|
-
checked?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2765
|
-
$target?: string;
|
|
2766
|
-
};
|
|
2767
|
-
indeterminate?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2768
|
-
$target?: string;
|
|
2769
|
-
};
|
|
2770
|
-
blank?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2771
|
-
$target?: string;
|
|
2772
|
-
};
|
|
2773
|
-
valid?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2774
|
-
$target?: string;
|
|
2775
|
-
};
|
|
2776
|
-
invalid?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2777
|
-
$target?: string;
|
|
2778
|
-
};
|
|
2779
|
-
in_range?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2780
|
-
$target?: string;
|
|
2781
|
-
};
|
|
2782
|
-
out_of_range?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2783
|
-
$target?: string;
|
|
2784
|
-
};
|
|
2785
|
-
required?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2786
|
-
$target?: string;
|
|
2787
|
-
};
|
|
2788
|
-
optional?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2789
|
-
$target?: string;
|
|
2790
|
-
};
|
|
2791
|
-
user_valid?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2792
|
-
$target?: string;
|
|
2793
|
-
};
|
|
2794
|
-
user_invalid?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2795
|
-
$target?: string;
|
|
2796
|
-
};
|
|
2797
|
-
dir?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2798
|
-
$target?: string;
|
|
2799
|
-
};
|
|
2800
|
-
lang?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2801
|
-
$target?: string;
|
|
2802
|
-
};
|
|
2803
|
-
any_link?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2804
|
-
$target?: string;
|
|
2805
|
-
};
|
|
2806
|
-
link?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2807
|
-
$target?: string;
|
|
2808
|
-
};
|
|
2809
|
-
visited?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2810
|
-
$target?: string;
|
|
2811
|
-
};
|
|
2812
|
-
local_link?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2813
|
-
$target?: string;
|
|
2814
|
-
};
|
|
2815
|
-
target?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2816
|
-
$target?: string;
|
|
2817
|
-
};
|
|
2818
|
-
target_within?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2819
|
-
$target?: string;
|
|
2820
|
-
};
|
|
2821
|
-
scope?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2822
|
-
$target?: string;
|
|
2823
|
-
};
|
|
2824
|
-
playing?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2825
|
-
$target?: string;
|
|
2826
|
-
};
|
|
2827
|
-
paused?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2828
|
-
$target?: string;
|
|
2829
|
-
};
|
|
2830
|
-
current?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2831
|
-
$target?: string;
|
|
2832
|
-
};
|
|
2833
|
-
past?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2834
|
-
$target?: string;
|
|
2835
|
-
};
|
|
2836
|
-
future?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2837
|
-
$target?: string;
|
|
2838
|
-
};
|
|
2839
|
-
root?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2840
|
-
$target?: string;
|
|
2841
|
-
};
|
|
2842
|
-
empty?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2843
|
-
$target?: string;
|
|
2844
|
-
};
|
|
2845
|
-
nth_child?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2846
|
-
$target?: string;
|
|
2847
|
-
};
|
|
2848
|
-
nth_last_child?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2849
|
-
$target?: string;
|
|
2850
|
-
};
|
|
2851
|
-
first_child?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2852
|
-
$target?: string;
|
|
2853
|
-
};
|
|
2854
|
-
last_child?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2855
|
-
$target?: string;
|
|
2856
|
-
};
|
|
2857
|
-
only_child?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2858
|
-
$target?: string;
|
|
2859
|
-
};
|
|
2860
|
-
nth_of_type?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2861
|
-
$target?: string;
|
|
2862
|
-
};
|
|
2863
|
-
nth_last_of_type?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2864
|
-
$target?: string;
|
|
2865
|
-
};
|
|
2866
|
-
first_of_type?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2867
|
-
$target?: string;
|
|
2868
|
-
};
|
|
2869
|
-
last_of_type?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2870
|
-
$target?: string;
|
|
2871
|
-
};
|
|
2872
|
-
only_of_type?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2873
|
-
$target?: string;
|
|
2874
|
-
};
|
|
2875
|
-
active?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2876
|
-
$target?: string;
|
|
2877
|
-
};
|
|
2878
|
-
focus?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2879
|
-
$target?: string;
|
|
2880
|
-
};
|
|
2881
|
-
focus_visible?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2882
|
-
$target?: string;
|
|
2883
|
-
};
|
|
2884
|
-
focus_within?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2885
|
-
$target?: string;
|
|
2886
|
-
};
|
|
2887
|
-
hover?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2888
|
-
$target?: string;
|
|
2889
|
-
};
|
|
2890
|
-
is?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2891
|
-
$target?: string;
|
|
2892
|
-
};
|
|
2893
|
-
not?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2894
|
-
$target?: string;
|
|
2895
|
-
};
|
|
2896
|
-
where?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2897
|
-
$target?: string;
|
|
2898
|
-
};
|
|
2899
|
-
has?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2900
|
-
$target?: string;
|
|
2901
|
-
};
|
|
2902
|
-
nth_col?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2903
|
-
$target?: string;
|
|
2904
|
-
};
|
|
2905
|
-
nth_last_col?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2906
|
-
$target?: string;
|
|
2907
|
-
};
|
|
2908
|
-
host?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2909
|
-
$target?: string;
|
|
2910
|
-
};
|
|
2911
|
-
host_context?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2912
|
-
$target?: string;
|
|
2913
|
-
};
|
|
2914
|
-
defined?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2915
|
-
$target?: string;
|
|
2916
|
-
};
|
|
2917
|
-
moz_any?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2918
|
-
$target?: string;
|
|
2919
|
-
};
|
|
2920
|
-
moz_any_link?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2921
|
-
$target?: string;
|
|
2922
|
-
};
|
|
2923
|
-
moz_focusring?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2924
|
-
$target?: string;
|
|
2925
|
-
};
|
|
2926
|
-
moz_full_screen?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2927
|
-
$target?: string;
|
|
2928
|
-
};
|
|
2929
|
-
moz_full_screen_ancestor?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2930
|
-
$target?: string;
|
|
2931
|
-
};
|
|
2932
|
-
moz_full_screen_document?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2933
|
-
$target?: string;
|
|
2934
|
-
};
|
|
2935
|
-
moz_full_screen_element?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2936
|
-
$target?: string;
|
|
2937
|
-
};
|
|
2938
|
-
moz_full_screen_root?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2939
|
-
$target?: string;
|
|
2940
|
-
};
|
|
2941
|
-
moz_placeholder?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2942
|
-
$target?: string;
|
|
2943
|
-
};
|
|
2944
|
-
moz_read_only?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2945
|
-
$target?: string;
|
|
2946
|
-
};
|
|
2947
|
-
moz_read_write?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2948
|
-
$target?: string;
|
|
2949
|
-
};
|
|
2950
|
-
moz_submit_invalid?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2951
|
-
$target?: string;
|
|
2952
|
-
};
|
|
2953
|
-
moz_ui_invalid?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2954
|
-
$target?: string;
|
|
2955
|
-
};
|
|
2956
|
-
moz_ui_valid?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2957
|
-
$target?: string;
|
|
2958
|
-
};
|
|
2959
|
-
webkit_any?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2960
|
-
$target?: string;
|
|
2961
|
-
};
|
|
2962
|
-
webkit_any_link?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2963
|
-
$target?: string;
|
|
2964
|
-
};
|
|
2965
|
-
webkit_autofill?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2966
|
-
$target?: string;
|
|
2967
|
-
};
|
|
2968
|
-
webkit_current?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2969
|
-
$target?: string;
|
|
2970
|
-
};
|
|
2971
|
-
webkit_full_screen?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2972
|
-
$target?: string;
|
|
2973
|
-
};
|
|
2974
|
-
webkit_full_screen_ancestor?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2975
|
-
$target?: string;
|
|
2976
|
-
};
|
|
2977
|
-
webkit_full_screen_document?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2978
|
-
$target?: string;
|
|
2979
|
-
};
|
|
2980
|
-
webkit_full_screen_element?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2981
|
-
$target?: string;
|
|
2982
|
-
};
|
|
2983
|
-
webkit_full_screen_root?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2984
|
-
$target?: string;
|
|
2985
|
-
};
|
|
2986
|
-
webkit_input_placeholder?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2987
|
-
$target?: string;
|
|
2988
|
-
};
|
|
2989
|
-
webkit_read_only?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2990
|
-
$target?: string;
|
|
2991
|
-
};
|
|
2992
|
-
webkit_read_write?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2993
|
-
$target?: string;
|
|
2994
|
-
};
|
|
2995
|
-
webkit_scrollbar?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2996
|
-
$target?: string;
|
|
2997
|
-
};
|
|
2998
|
-
webkit_scrollbar_button?: CssPseudoClassesType | CssPseudoElementsType | CssLibPropsType & {
|
|
2999
|
-
$target?: string;
|
|
1702
|
+
};
|
|
1703
|
+
$_heading_h1_extended: {
|
|
1704
|
+
text: string;
|
|
1705
|
+
};
|
|
1706
|
+
$_heading_h2_expanded: {
|
|
1707
|
+
text: string;
|
|
1708
|
+
};
|
|
1709
|
+
$_heading_h2_extended: {
|
|
1710
|
+
text: string;
|
|
1711
|
+
};
|
|
1712
|
+
$_heading_h3_expanded: {
|
|
1713
|
+
text: string;
|
|
1714
|
+
};
|
|
1715
|
+
$_heading_h3_extended: {
|
|
1716
|
+
text: string;
|
|
1717
|
+
};
|
|
1718
|
+
$_heading_h4_expanded: {
|
|
1719
|
+
text: string;
|
|
1720
|
+
};
|
|
1721
|
+
$_heading_h4_extended: {
|
|
1722
|
+
text: string;
|
|
1723
|
+
};
|
|
1724
|
+
$_main_heading_display_1_expanded: {
|
|
1725
|
+
text: string;
|
|
1726
|
+
};
|
|
1727
|
+
$_main_heading_h1_expanded: {
|
|
1728
|
+
text: string;
|
|
1729
|
+
};
|
|
1730
|
+
$_main_heading_h2_expanded: {
|
|
1731
|
+
text: string;
|
|
1732
|
+
};
|
|
1733
|
+
$_main_heading_h3_expanded: {
|
|
1734
|
+
text: string;
|
|
1735
|
+
};
|
|
1736
|
+
$_main_heading_h4_expanded: {
|
|
1737
|
+
text: string;
|
|
1738
|
+
};
|
|
3000
1739
|
};
|
|
3001
|
-
|
|
3002
|
-
|
|
1740
|
+
TEXT_AREA: {
|
|
1741
|
+
text_area: string;
|
|
1742
|
+
bottomcontainer: string;
|
|
1743
|
+
counter: string;
|
|
1744
|
+
counterleft: string;
|
|
1745
|
+
counterright: string;
|
|
1746
|
+
errorcontainer: string;
|
|
1747
|
+
erroricon: string;
|
|
1748
|
+
errormessage: string;
|
|
1749
|
+
helpmessage: string;
|
|
1750
|
+
helpmessageerrorcontainer: string;
|
|
1751
|
+
label: string;
|
|
1752
|
+
labelandadditionalinfocontainer: string;
|
|
1753
|
+
labeltextareacontainer: string;
|
|
1754
|
+
required: string;
|
|
1755
|
+
textarea: string;
|
|
1756
|
+
title: string;
|
|
1757
|
+
titlecontainer: string;
|
|
3003
1758
|
};
|
|
3004
|
-
|
|
3005
|
-
|
|
1759
|
+
TEXT_COUNT: {
|
|
1760
|
+
text_count: string;
|
|
1761
|
+
letftext: string;
|
|
1762
|
+
righttext: string;
|
|
3006
1763
|
};
|
|
3007
|
-
|
|
3008
|
-
|
|
1764
|
+
TOGGLE: {
|
|
1765
|
+
icon: string;
|
|
1766
|
+
iconwrapper: string;
|
|
1767
|
+
thumb: string;
|
|
1768
|
+
track: string;
|
|
3009
1769
|
};
|
|
3010
|
-
|
|
3011
|
-
|
|
1770
|
+
TOOLTIP: {
|
|
1771
|
+
arrow: string;
|
|
1772
|
+
arrowcontainer: string;
|
|
1773
|
+
arrowposition: string;
|
|
1774
|
+
arrowsize: string;
|
|
1775
|
+
paragraph: string;
|
|
1776
|
+
paragraphcontainer: string;
|
|
1777
|
+
tooltipalignstyles: string;
|
|
1778
|
+
tooltipasmodal: string;
|
|
1779
|
+
tooltipexternalcontainer: string;
|
|
1780
|
+
tooltipinternalcontainer: string;
|
|
1781
|
+
popover: {
|
|
1782
|
+
arrow: string;
|
|
1783
|
+
popover: string;
|
|
1784
|
+
};
|
|
3012
1785
|
};
|
|
3013
|
-
|
|
3014
|
-
|
|
1786
|
+
VIRTUAL_KEYBOARD: {
|
|
1787
|
+
virtual_keyboard: string;
|
|
1788
|
+
digitbuttons: string;
|
|
1789
|
+
digittext: string;
|
|
1790
|
+
digitwrapper: string;
|
|
1791
|
+
iconcontainer: string;
|
|
1792
|
+
removebutton: string;
|
|
3015
1793
|
};
|
|
3016
1794
|
};
|
|
3017
1795
|
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
moz_color_swatch?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3037
|
-
moz_focus_inner?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3038
|
-
moz_list_bullet?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3039
|
-
moz_list_number?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3040
|
-
moz_meter_bar?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3041
|
-
moz_progress_bar?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3042
|
-
moz_range_progress?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3043
|
-
moz_range_thumb?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3044
|
-
moz_range_track?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3045
|
-
webkit_inner_spin_button?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3046
|
-
webkit_meter_even_less_good_value?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3047
|
-
webkit_meter_inner_element?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3048
|
-
webkit_meter_optimum_value?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3049
|
-
webkit_meter_suboptimum_value?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3050
|
-
webkit_progress_bar?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3051
|
-
webkit_progress_inner_element?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3052
|
-
webkit_progress_value?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3053
|
-
webkit_scrollbar?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3054
|
-
webkit_scrollbar_button?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3055
|
-
webkit_scrollbar_thumb?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3056
|
-
webkit_scrollbar_track?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3057
|
-
webkit_scrollbar_track_piece?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3058
|
-
webkit_search_cancel_button?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3059
|
-
webkit_search_results_button?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3060
|
-
webkit_slider_runnable_track?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3061
|
-
webkit_slider_thumb?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3062
|
-
webkit_resizer?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3063
|
-
webkit_input_placeholder?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3064
|
-
placeholder_shown?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3065
|
-
autofill?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3066
|
-
progress_value?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3067
|
-
progress_bar?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3068
|
-
meter_optimum?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3069
|
-
meter_suboptimum?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
3070
|
-
meter_sub_suboptimum?: CssPseudoElementsType | CssPseudoClassesType | CssLibPropsType;
|
|
1796
|
+
/**
|
|
1797
|
+
* Create a spring animation configuration with physics-based keyframes as CSS string
|
|
1798
|
+
*/
|
|
1799
|
+
export declare const createSpringAnimation: (direction: "up" | "down" | "left" | "right" | "fade", options?: {
|
|
1800
|
+
stiffness?: number;
|
|
1801
|
+
damping?: number;
|
|
1802
|
+
mass?: number;
|
|
1803
|
+
duration?: string;
|
|
1804
|
+
initialDisplacement?: number;
|
|
1805
|
+
keyframeCount?: number;
|
|
1806
|
+
placement?: string;
|
|
1807
|
+
}) => {
|
|
1808
|
+
duration: string;
|
|
1809
|
+
keyframesCSS: string;
|
|
1810
|
+
};
|
|
1811
|
+
|
|
1812
|
+
export declare type CssLibPropsType = CssLibPropsType_2<any> & {
|
|
1813
|
+
$dynamicValues?: string[];
|
|
3071
1814
|
};
|
|
3072
1815
|
|
|
3073
|
-
declare type DataAttributes = {
|
|
1816
|
+
export declare type DataAttributes = {
|
|
3074
1817
|
[key in `data-${string}`]?: string;
|
|
3075
1818
|
};
|
|
3076
1819
|
|
|
1820
|
+
/**
|
|
1821
|
+
* DataTable component for displaying structured data in a table format.
|
|
1822
|
+
*
|
|
1823
|
+
* This component provides advanced table functionality including sticky columns,
|
|
1824
|
+
* scrollable content, shadow effects, and divider management. It handles complex
|
|
1825
|
+
* table behaviors automatically through internal hooks.
|
|
1826
|
+
*
|
|
1827
|
+
* @example
|
|
1828
|
+
* ```tsx
|
|
1829
|
+
* <DataTable variant="striped">
|
|
1830
|
+
* <TableHead>...</TableHead>
|
|
1831
|
+
* <TableBody>...</TableBody>
|
|
1832
|
+
* </DataTable>
|
|
1833
|
+
* ```
|
|
1834
|
+
*/
|
|
3077
1835
|
export declare const DataTable: ForwardRefExoticComponent<DataTableProps<string> & RefAttributes<HTMLDivElement>>;
|
|
3078
1836
|
|
|
3079
1837
|
export declare type DataTableCellProps = TableCellProps & {
|
|
@@ -3203,27 +1961,115 @@ export declare type DataTableVariantStyles<Variant extends string> = DataTableSt
|
|
|
3203
1961
|
[key in Variant]: DataTableStyleProps;
|
|
3204
1962
|
};
|
|
3205
1963
|
|
|
1964
|
+
/**
|
|
1965
|
+
* Options for formatting dates using Intl.DateTimeFormat.
|
|
1966
|
+
* Provides granular control over date/time display format.
|
|
1967
|
+
*/
|
|
3206
1968
|
declare interface DateFormatOptions {
|
|
1969
|
+
/** Representation of the weekday ('long', 'short', 'narrow') */
|
|
3207
1970
|
weekday?: Intl.DateTimeFormatOptions['weekday'];
|
|
1971
|
+
/** Representation of the year ('numeric', '2-digit') */
|
|
3208
1972
|
year?: Intl.DateTimeFormatOptions['year'];
|
|
1973
|
+
/** Representation of the month ('numeric', '2-digit', 'long', 'short', 'narrow') */
|
|
3209
1974
|
month?: Intl.DateTimeFormatOptions['month'];
|
|
1975
|
+
/** Representation of the day ('numeric', '2-digit') */
|
|
3210
1976
|
day?: Intl.DateTimeFormatOptions['day'];
|
|
1977
|
+
/** Representation of the hour ('numeric', '2-digit') */
|
|
3211
1978
|
hour?: Intl.DateTimeFormatOptions['hour'];
|
|
1979
|
+
/** Representation of the minute ('numeric', '2-digit') */
|
|
3212
1980
|
minute?: Intl.DateTimeFormatOptions['minute'];
|
|
1981
|
+
/** Representation of the second ('numeric', '2-digit') */
|
|
3213
1982
|
second?: Intl.DateTimeFormatOptions['second'];
|
|
1983
|
+
/** Representation of the time zone name ('long', 'short', etc.) */
|
|
3214
1984
|
timeZoneName?: Intl.DateTimeFormatOptions['timeZoneName'];
|
|
1985
|
+
/** Whether to use 12-hour time format (true) or 24-hour format (false) */
|
|
3215
1986
|
hour12?: Intl.DateTimeFormatOptions['hour12'];
|
|
1987
|
+
/** Hour cycle to use ('h11', 'h12', 'h23', 'h24') */
|
|
3216
1988
|
hourCycle?: Intl.DateTimeFormatOptions['hourCycle'];
|
|
3217
1989
|
}
|
|
3218
1990
|
|
|
3219
|
-
declare
|
|
1991
|
+
declare interface dateHelpers {
|
|
1992
|
+
/** Subtracts a specified number of days from a date */
|
|
1993
|
+
getSubDays: (date: Date, amount: number) => Date;
|
|
1994
|
+
/** Subtracts a specified number of months from a date */
|
|
1995
|
+
getSubMonths: (date: Date, amount: number) => Date;
|
|
1996
|
+
/** Subtracts a specified number of years from a date */
|
|
1997
|
+
getSubYears: (date: Date, amount: number) => Date;
|
|
1998
|
+
/** Adds a specified number of months to a date */
|
|
1999
|
+
getAddMonths: (date: Date, amount: number) => Date;
|
|
2000
|
+
/** Adds a specified number of days to a date */
|
|
2001
|
+
getAddDays: (date: Date, amount: number) => Date;
|
|
2002
|
+
/** Adds a specified number of years to a date */
|
|
2003
|
+
getAddYears: (date: Date, years: number) => Date;
|
|
2004
|
+
/**
|
|
2005
|
+
* Gets all month names in the specified format and locale.
|
|
2006
|
+
* @param monthFormat - Format for month names ('long', 'short', 'narrow')
|
|
2007
|
+
* @param locale - Optional locale string
|
|
2008
|
+
* @returns Array of month names
|
|
2009
|
+
*/
|
|
2010
|
+
getAllMonthName: (monthFormat: Intl.DateTimeFormatOptions['month'], locale?: string) => Array<string>;
|
|
2011
|
+
/**
|
|
2012
|
+
* Gets all weekday names in the specified format and locale.
|
|
2013
|
+
* @param weekdayFormat - Format for weekday names ('long', 'short', 'narrow')
|
|
2014
|
+
* @param isSundayFirst - Whether Sunday should be the first day of the week
|
|
2015
|
+
* @param locale - Optional locale string
|
|
2016
|
+
* @returns Array of weekday names
|
|
2017
|
+
*/
|
|
2018
|
+
getAllWeekdayName: (weekdayFormat: Intl.DateTimeFormatOptions['weekday'], isSundayFirst: boolean, locale?: string) => Array<string>;
|
|
2019
|
+
/** Checks if the first date is before the second date */
|
|
2020
|
+
isBefore: (date1: Date, date2: Date) => boolean;
|
|
2021
|
+
/** Checks if the first date is after the second date */
|
|
2022
|
+
isAfter: (date1: Date, date2: Date) => boolean;
|
|
2023
|
+
/**
|
|
2024
|
+
* Checks if two dates are equal.
|
|
2025
|
+
* @param firstDate - First date to compare
|
|
2026
|
+
* @param secondDate - Second date to compare
|
|
2027
|
+
* @param shouldCompareTime - Whether to include time in comparison
|
|
2028
|
+
* @returns True if dates are equal
|
|
2029
|
+
*/
|
|
2030
|
+
isDatesEqual: (firstDate: Date | number | string, secondDate: Date | number | string, shouldCompareTime: boolean) => boolean;
|
|
2031
|
+
}
|
|
2032
|
+
|
|
2033
|
+
export declare const DEVICE_BREAKPOINTS: {
|
|
3220
2034
|
readonly DESKTOP: "desktop";
|
|
3221
2035
|
readonly LARGE_DESKTOP: "large_desktop";
|
|
3222
2036
|
readonly MOBILE: "mobile";
|
|
3223
2037
|
readonly TABLET: "tablet";
|
|
3224
2038
|
};
|
|
3225
2039
|
|
|
3226
|
-
declare type DeviceBreakpointsType = 'mobile' | 'tablet' | 'desktop' | 'large_desktop';
|
|
2040
|
+
export declare type DeviceBreakpointsType = 'mobile' | 'tablet' | 'desktop' | 'large_desktop';
|
|
2041
|
+
|
|
2042
|
+
/**
|
|
2043
|
+
* Utility functions for checking device breakpoint types.
|
|
2044
|
+
* These helpers allow you to easily determine if a given DeviceBreakpointsType
|
|
2045
|
+
* matches a specific device category (mobile, tablet, desktop, etc).
|
|
2046
|
+
*/
|
|
2047
|
+
export declare const DeviceBreakpointsTypeUtils: {
|
|
2048
|
+
/**
|
|
2049
|
+
* Returns true if the device is a desktop device.
|
|
2050
|
+
*/
|
|
2051
|
+
isDesktop: (device: DeviceBreakpointsType) => boolean;
|
|
2052
|
+
/**
|
|
2053
|
+
* Returns true if the device is a large desktop device.
|
|
2054
|
+
*/
|
|
2055
|
+
isLargeDesktop: (device: DeviceBreakpointsType) => boolean;
|
|
2056
|
+
/**
|
|
2057
|
+
* Returns true if the device is a mobile device.
|
|
2058
|
+
*/
|
|
2059
|
+
isMobile: (device: DeviceBreakpointsType) => boolean;
|
|
2060
|
+
/**
|
|
2061
|
+
* Returns true if the device is either mobile or tablet.
|
|
2062
|
+
*/
|
|
2063
|
+
isMobileOrTablet: (device: DeviceBreakpointsType) => boolean;
|
|
2064
|
+
/**
|
|
2065
|
+
* Returns true if the device is either desktop or large desktop.
|
|
2066
|
+
*/
|
|
2067
|
+
isOnlyDesktop: (device: DeviceBreakpointsType) => boolean;
|
|
2068
|
+
/**
|
|
2069
|
+
* Returns true if the device is a tablet device.
|
|
2070
|
+
*/
|
|
2071
|
+
isTablet: (device: DeviceBreakpointsType) => boolean;
|
|
2072
|
+
};
|
|
3227
2073
|
|
|
3228
2074
|
/**
|
|
3229
2075
|
* Dot component for displaying a small badge or counter.
|
|
@@ -3296,205 +2142,195 @@ export declare type DotThemeStyles<variant extends string, size extends string>
|
|
|
3296
2142
|
};
|
|
3297
2143
|
|
|
3298
2144
|
/**
|
|
3299
|
-
*
|
|
3300
|
-
*
|
|
3301
|
-
*
|
|
3302
|
-
*
|
|
3303
|
-
*
|
|
3304
|
-
*
|
|
3305
|
-
* Internally, it wraps {@link DropdownSelectedControlled} and passes the necessary props.
|
|
3306
|
-
*
|
|
3307
|
-
* @example
|
|
3308
|
-
* ```tsx
|
|
3309
|
-
* <DropdownSelectedUnControlled defaultOpen />
|
|
3310
|
-
* ```
|
|
2145
|
+
* @name ElementOrIconProps
|
|
2146
|
+
* @description
|
|
2147
|
+
* Interface for the ElementOrIcon component
|
|
2148
|
+
* @property { JSX.Element | HTMLElement | React.ReactNode} icon - Icon to be displayed
|
|
2149
|
+
* @property {boolean} basic - If true, the icon will be displayed as a basic icon
|
|
3311
2150
|
*/
|
|
3312
|
-
|
|
2151
|
+
declare interface ElementOrIconProps extends Omit<IconProps, 'icon'>, DataAttributes {
|
|
2152
|
+
icon?: JSX.Element | HTMLElement | React.ReactNode | string;
|
|
2153
|
+
basic?: boolean;
|
|
2154
|
+
}
|
|
3313
2155
|
|
|
3314
2156
|
/**
|
|
3315
|
-
*
|
|
2157
|
+
* ErrorMessage component for displaying error messages.
|
|
3316
2158
|
*
|
|
3317
|
-
* This component renders a
|
|
3318
|
-
*
|
|
3319
|
-
*
|
|
3320
|
-
* Internally, it wraps {@link DropdownSelectedStandAlone} and handles keyboard focus and scroll-based closing.
|
|
3321
|
-
* Accepts a generic type parameter `<Variant extends string>` to allow for custom variant values, enabling flexible styling.
|
|
2159
|
+
* This component renders a styled error message with optional icons and
|
|
2160
|
+
* customizable variants. It uses the ErrorMessageStandAlone component
|
|
2161
|
+
* for rendering with CSS classes from the design system.
|
|
3322
2162
|
*
|
|
3323
2163
|
* @example
|
|
3324
2164
|
* ```tsx
|
|
3325
|
-
* <
|
|
3326
|
-
*
|
|
3327
|
-
*
|
|
3328
|
-
* type MyVariant = "primary" | "secondary";
|
|
3329
|
-
* <DropdownSelectedControlled<MyVariant> variant="primary" open listOptions={options} />
|
|
2165
|
+
* <ErrorMessage variant="default">
|
|
2166
|
+
* Please enter a valid email address
|
|
2167
|
+
* </ErrorMessage>
|
|
3330
2168
|
* ```
|
|
3331
2169
|
*/
|
|
3332
|
-
export declare const
|
|
2170
|
+
export declare const ErrorMessage: ForwardRefExoticComponent<Omit<ErrorMessageStandAloneProps, "styles"> & {
|
|
2171
|
+
variant?: string | undefined;
|
|
2172
|
+
additionalClasses?: Partial<{
|
|
2173
|
+
icon: string;
|
|
2174
|
+
error_message: string;
|
|
2175
|
+
typography: string;
|
|
2176
|
+
}>;
|
|
2177
|
+
} & RefAttributes<HTMLDivElement>>;
|
|
3333
2178
|
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
*
|
|
3338
|
-
* @template Variant - The type of the variant for the DropdownSelected.
|
|
3339
|
-
*/
|
|
3340
|
-
export declare interface DropdownSelectedControlledProps<Variant = undefined extends string ? unknown : string> extends Omit<DropdownSelectedStandAloneProps, 'listOptionsRef' | 'onButtonKeyDown' | 'component'> {
|
|
2179
|
+
declare type ErrorMessageCssClasses = ComponentSelected<ComponentsTypesComponents['ERROR_MESSAGE']>;
|
|
2180
|
+
|
|
2181
|
+
export declare type ErrorMessageProps<Variant = undefined extends string ? unknown : string> = Omit<ErrorMessageStandAloneProps, 'styles'> & {
|
|
3341
2182
|
variant?: Variant;
|
|
3342
|
-
additionalClasses?: Partial<
|
|
2183
|
+
additionalClasses?: Partial<ErrorMessageCssClasses>;
|
|
2184
|
+
};
|
|
2185
|
+
|
|
2186
|
+
export declare interface ErrorMessageStandAloneProps extends Pick<AriaAttributes, 'aria-live'> {
|
|
2187
|
+
cssClasses?: ErrorMessageCssClasses;
|
|
2188
|
+
show?: boolean;
|
|
2189
|
+
message?: CommonTextProps;
|
|
2190
|
+
id?: string;
|
|
2191
|
+
icon?: CommonIconProps;
|
|
3343
2192
|
}
|
|
3344
2193
|
|
|
3345
|
-
declare
|
|
2194
|
+
export declare interface ErrorMessageStyleProps extends CssLibPropsType {
|
|
2195
|
+
_icon?: CssLibPropsType;
|
|
2196
|
+
_typography?: CssLibPropsType;
|
|
2197
|
+
}
|
|
3346
2198
|
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
export declare type DropdownSelectedListOptionsProps = Omit<ListOptionsProps, 'selectedValue' | 'onOptionClick'>;
|
|
2199
|
+
export declare type ErrorMessageVariantStyles<Variant extends string> = ErrorMessageStyleProps & {
|
|
2200
|
+
[key in Variant]: ErrorMessageStyleProps;
|
|
2201
|
+
};
|
|
3351
2202
|
|
|
3352
|
-
declare type
|
|
2203
|
+
declare type FormatDateType = 'd' | 'dd' | 'ddd' | 'dddd' | 'f' | 'ff' | 'fff' | 'F' | 'FF' | 'FFF' | 'ffff' | 'FFFF' | 't' | 'tt' | 'T' | 'TT' | 'ttt' | 'TTT' | 'tttt' | 'TTTT';
|
|
3353
2204
|
|
|
3354
2205
|
/**
|
|
3355
|
-
*
|
|
2206
|
+
* Generate spring keyframes with realistic physics calculations
|
|
2207
|
+
*
|
|
2208
|
+
* Simulates real spring behavior using mathematical formulas to calculate
|
|
2209
|
+
* natural bounce animations based on stiffness, damping, and mass properties.
|
|
3356
2210
|
*/
|
|
3357
|
-
export declare
|
|
2211
|
+
export declare const generateSpringKeyframes: (direction: "up" | "down" | "left" | "right" | "fade", stiffness?: number, // How "tight" the spring is - higher = snappier animation
|
|
2212
|
+
damping?: number, // How much the spring slows down - higher = less bouncy
|
|
2213
|
+
mass?: number, // How "heavy" the element feels - higher = slower to start/stop
|
|
2214
|
+
initialDisplacement?: number, // Starting distance in pixels
|
|
2215
|
+
keyframeCount?: number, // How many animation steps to create
|
|
2216
|
+
placement?: string) => string;
|
|
3358
2217
|
|
|
3359
2218
|
/**
|
|
3360
|
-
*
|
|
3361
|
-
* Includes properties for state, event handlers, and CSS classes.
|
|
2219
|
+
* Generate a complete CSS keyframes rule with a given name
|
|
3362
2220
|
*/
|
|
3363
|
-
export declare
|
|
3364
|
-
open: boolean;
|
|
3365
|
-
popover?: DropdownSelectedPopoverProps;
|
|
3366
|
-
onButtonClick: MouseEventHandler<HTMLButtonElement | HTMLLinkElement>;
|
|
3367
|
-
onButtonKeyDown: KeyboardEventHandler<HTMLButtonElement | HTMLLinkElement>;
|
|
3368
|
-
onClosePopover: () => void;
|
|
3369
|
-
label: CommonTextProps;
|
|
3370
|
-
icon: ElementOrIconProps;
|
|
3371
|
-
listOptions: DropdownSelectedListOptionsProps;
|
|
3372
|
-
optionSelected?: string;
|
|
3373
|
-
onOptionClick: (value: string) => void;
|
|
3374
|
-
listOptionsRef: RefObject<HTMLDivElement>;
|
|
3375
|
-
closePopoverOnScroll?: boolean;
|
|
3376
|
-
openAndCloseOnHover?: boolean;
|
|
3377
|
-
url?: string;
|
|
3378
|
-
urlTarget?: HTMLAttributeAnchorTarget;
|
|
3379
|
-
component: 'button' | GenericLinkType;
|
|
3380
|
-
buttonOrLinkRef?: RefObject<HTMLButtonElement>;
|
|
3381
|
-
onFocus?: FocusEventHandler<HTMLDivElement>;
|
|
3382
|
-
onBlur?: FocusEventHandler<HTMLDivElement>;
|
|
3383
|
-
onKeyDown?: KeyboardEventHandler<HTMLDivElement>;
|
|
3384
|
-
cssClasses?: DropdownSelectedCssClasses;
|
|
3385
|
-
}
|
|
3386
|
-
|
|
3387
|
-
export declare interface DropdownSelectedStyleProps extends CssLibPropsType {
|
|
3388
|
-
_buttonOrLinkContainer?: CssLibPropsType;
|
|
3389
|
-
_labelOpened?: CssLibPropsType;
|
|
3390
|
-
_labelClosed?: CssLibPropsType;
|
|
3391
|
-
_iconOpened?: CssLibPropsType;
|
|
3392
|
-
_iconClosed?: CssLibPropsType;
|
|
3393
|
-
_listOptionsContainer?: CssLibPropsType;
|
|
3394
|
-
}
|
|
2221
|
+
export declare const generateSpringKeyframesRule: (keyframeName: string, direction: "up" | "down" | "left" | "right" | "fade", stiffness?: number, damping?: number, mass?: number, initialDisplacement?: number, keyframeCount?: number, placement?: string) => string;
|
|
3395
2222
|
|
|
3396
2223
|
/**
|
|
3397
|
-
*
|
|
3398
|
-
*
|
|
2224
|
+
* React Context for generic component implementations.
|
|
2225
|
+
* Provides access to custom Link and Image components throughout the application.
|
|
3399
2226
|
*/
|
|
3400
|
-
export declare
|
|
3401
|
-
defaultOpen?: boolean;
|
|
3402
|
-
defaultOptionSelected?: string;
|
|
3403
|
-
onOptionClick?: (value: string) => void;
|
|
3404
|
-
onButtonClick?: (open: boolean) => void;
|
|
3405
|
-
onClosePopover?: (open: boolean) => void;
|
|
3406
|
-
onMouseEnter?: (open: boolean) => void;
|
|
3407
|
-
onMouseLeave?: (open: boolean) => void;
|
|
3408
|
-
onFocus?: (open: boolean) => void;
|
|
3409
|
-
onBlur?: (open: boolean) => void;
|
|
3410
|
-
}
|
|
3411
|
-
|
|
3412
|
-
export declare type DropdownSelectedVariantStyles<Variant extends string> = DropdownSelectedStyleProps & {
|
|
3413
|
-
[key in Variant]: DropdownSelectedStyleProps;
|
|
3414
|
-
};
|
|
2227
|
+
export declare const GenericComponentContext: Context<GenericComponentsType | null>;
|
|
3415
2228
|
|
|
3416
2229
|
/**
|
|
3417
|
-
*
|
|
3418
|
-
*
|
|
3419
|
-
*
|
|
3420
|
-
*
|
|
3421
|
-
*
|
|
2230
|
+
* Provider component for custom generic component implementations.
|
|
2231
|
+
* Allows applications to inject their own Link and Image components
|
|
2232
|
+
* (e.g., Next.js Link, React Router Link) to be used by all Kubit components.
|
|
2233
|
+
*
|
|
2234
|
+
* This is essential for integrating Kubit components with different routing libraries
|
|
2235
|
+
* or custom implementations while maintaining consistent behavior across the application.
|
|
2236
|
+
*
|
|
2237
|
+
* @param props - Provider props
|
|
2238
|
+
* @param props.children - React children to be wrapped by the provider
|
|
2239
|
+
* @param props.value - Custom generic components to be used throughout the application
|
|
2240
|
+
*
|
|
2241
|
+
* @returns The provider component wrapping all child components
|
|
2242
|
+
*
|
|
2243
|
+
* @example
|
|
2244
|
+
* ```tsx
|
|
2245
|
+
* import { Link } from 'react-router-dom';
|
|
2246
|
+
*
|
|
2247
|
+
* const customComponents = {
|
|
2248
|
+
* LINK: Link,
|
|
2249
|
+
* IMAGE: CustomImage,
|
|
2250
|
+
* };
|
|
2251
|
+
*
|
|
2252
|
+
* <GenericComponentsProvider value={customComponents}>
|
|
2253
|
+
* <App />
|
|
2254
|
+
* </GenericComponentsProvider>
|
|
2255
|
+
* ```
|
|
3422
2256
|
*/
|
|
3423
|
-
declare interface ElementOrIconProps extends Omit<IconProps, 'icon'>, DataAttributes {
|
|
3424
|
-
icon?: JSX.Element | HTMLElement | React.ReactNode | string;
|
|
3425
|
-
basic?: boolean;
|
|
3426
|
-
}
|
|
3427
|
-
|
|
3428
|
-
declare type FormatDateType = 'd' | 'dd' | 'ddd' | 'dddd' | 'f' | 'ff' | 'fff' | 'F' | 'FF' | 'FFF' | 'ffff' | 'FFFF' | 't' | 'tt' | 'T' | 'TT' | 'ttt' | 'TTT' | 'tttt' | 'TTTT';
|
|
3429
|
-
|
|
3430
|
-
export declare const GenericComponentContext: Context<GenericComponentsType | null>;
|
|
3431
|
-
|
|
3432
2257
|
export declare const GenericComponentsProvider: ({ children, value, }: PropsWithChildren<GenericComponentsProviderProps>) => JSX.Element;
|
|
3433
2258
|
|
|
3434
2259
|
/**
|
|
3435
|
-
*
|
|
3436
|
-
*
|
|
2260
|
+
* Props for the GenericComponentsProvider.
|
|
2261
|
+
* Wraps the application with custom component implementations.
|
|
3437
2262
|
*/
|
|
3438
2263
|
declare interface GenericComponentsProviderProps {
|
|
2264
|
+
/** The custom generic components to be made available to child components */
|
|
3439
2265
|
value: GenericComponentsType;
|
|
3440
2266
|
}
|
|
3441
2267
|
|
|
3442
2268
|
/**
|
|
3443
|
-
*
|
|
2269
|
+
* Collection of generic component implementations.
|
|
2270
|
+
* Allows customization of primitive components used throughout the library.
|
|
3444
2271
|
*/
|
|
3445
2272
|
declare interface GenericComponentsType {
|
|
2273
|
+
/** Link component implementation (required) */
|
|
3446
2274
|
LINK: GenericLinkType;
|
|
2275
|
+
/** Image component implementation (optional) */
|
|
3447
2276
|
IMAGE?: GenericImageType;
|
|
3448
2277
|
}
|
|
3449
2278
|
|
|
3450
2279
|
/**
|
|
3451
|
-
*
|
|
2280
|
+
* Props for a generic image component.
|
|
2281
|
+
* Inherits all standard HTML image attributes.
|
|
3452
2282
|
*/
|
|
3453
2283
|
declare type GenericImageProps = ImgHTMLAttributes<HTMLImageElement>;
|
|
3454
2284
|
|
|
3455
2285
|
/**
|
|
3456
|
-
*
|
|
2286
|
+
* Type definition for a generic image component.
|
|
2287
|
+
* Can be either a functional component or a forward ref component to support refs.
|
|
3457
2288
|
*/
|
|
3458
2289
|
declare type GenericImageType = ((props: GenericImageProps) => JSX.Element) | ForwardRefExoticComponent<GenericImageProps & RefAttributes<unknown>>;
|
|
3459
2290
|
|
|
2291
|
+
/**
|
|
2292
|
+
* Subset of ARIA attributes applicable to link elements.
|
|
2293
|
+
* Ensures proper accessibility for navigation components.
|
|
2294
|
+
*/
|
|
3460
2295
|
declare type GenericLinkAriaAttributes = Pick<AriaAttributes, 'aria-label' | 'aria-describedby' | 'aria-labelledby' | 'aria-disabled' | 'aria-current'>;
|
|
3461
2296
|
|
|
3462
2297
|
/**
|
|
3463
|
-
*
|
|
3464
|
-
*
|
|
3465
|
-
*
|
|
3466
|
-
* @property {string} [className] - Optional CSS class for styling.
|
|
3467
|
-
* @property {string} [target] - Specifies where to open the linked document.
|
|
3468
|
-
* @property {boolean} [aria-disabled] - Indicates that the element is perceivable but disabled.
|
|
3469
|
-
* @property {string} [aria-label] - Defines a string value that labels the current element.
|
|
3470
|
-
* @property {string} [aria-describedby] - Defines a string value that labels the current element.
|
|
3471
|
-
* @property {string} [aria-current] - Defines value for the current element.
|
|
3472
|
-
* @property {() => void} [onClick] - Function to call when the link is clicked.
|
|
3473
|
-
* @property {() => void} [onFocus] - Function to call when the link is focused.
|
|
3474
|
-
* @property {() => void} [onMouseEnter] - Function to call when the mouse enters the link area.
|
|
3475
|
-
* @property {() => void} [onMouseLeave] - Function to call when the mouse leaves the link area.
|
|
3476
|
-
* @property {ROLES} [role] - ARIA role to describe the link's type.
|
|
3477
|
-
* @property {string} [dataTestId] - Test ID for testing purposes.
|
|
3478
|
-
* @property {boolean} [draggable] - Indicates whether the element can be dragged.
|
|
2298
|
+
* Props for a generic link component.
|
|
2299
|
+
* Provides a flexible interface for custom link implementations that can be used
|
|
2300
|
+
* throughout the component library (e.g., for React Router, Next.js Link, etc.).
|
|
3479
2301
|
*/
|
|
3480
2302
|
declare type GenericLinkProps = {
|
|
2303
|
+
/** The destination URL for the link */
|
|
3481
2304
|
url: string;
|
|
2305
|
+
/** Optional unique identifier for the link element */
|
|
3482
2306
|
id?: string;
|
|
2307
|
+
/** Content to be displayed inside the link */
|
|
3483
2308
|
children: string | JSX.Element;
|
|
2309
|
+
/** Optional CSS class name(s) for styling */
|
|
3484
2310
|
className?: string;
|
|
2311
|
+
/** Specifies where to open the linked document ('_blank', '_self', '_parent', '_top') */
|
|
3485
2312
|
target?: string;
|
|
2313
|
+
/** Callback function invoked when the link is clicked */
|
|
3486
2314
|
onClick?: () => void;
|
|
2315
|
+
/** Callback function invoked when the link receives focus */
|
|
3487
2316
|
onFocus?: () => void;
|
|
2317
|
+
/** Callback function invoked when the mouse pointer enters the link area */
|
|
3488
2318
|
onMouseEnter?: () => void;
|
|
2319
|
+
/** Callback function invoked when the mouse pointer leaves the link area */
|
|
3489
2320
|
onMouseLeave?: () => void;
|
|
2321
|
+
/** Relationship between the current document and the linked document */
|
|
3490
2322
|
rel?: string;
|
|
2323
|
+
/** ARIA role to override the default link role if needed */
|
|
3491
2324
|
role?: AriaRole;
|
|
2325
|
+
/** Test ID for automated testing purposes */
|
|
3492
2326
|
dataTestId?: string;
|
|
2327
|
+
/** Whether the element can be dragged */
|
|
3493
2328
|
draggable?: boolean;
|
|
3494
2329
|
} & GenericLinkAriaAttributes & DataAttributes;
|
|
3495
2330
|
|
|
3496
2331
|
/**
|
|
3497
|
-
*
|
|
2332
|
+
* Type definition for a generic link component.
|
|
2333
|
+
* Can be either a functional component or a forward ref component to support refs.
|
|
3498
2334
|
*/
|
|
3499
2335
|
declare type GenericLinkType = ((props: GenericLinkProps) => JSX.Element) | ForwardRefExoticComponent<GenericLinkProps & RefAttributes<unknown>>;
|
|
3500
2336
|
|
|
@@ -3562,8 +2398,8 @@ export declare interface ICarousel extends Omit<ICarouselStandAlone, 'cssClasses
|
|
|
3562
2398
|
|
|
3563
2399
|
declare interface ICarouselStandAlone extends DataAttributes {
|
|
3564
2400
|
cssClasses?: CarouselCssClasses;
|
|
3565
|
-
viewerContainerRef: React.RefObject<HTMLDivElement>;
|
|
3566
|
-
contentContainerRef: React.RefObject<HTMLDivElement>;
|
|
2401
|
+
viewerContainerRef: React.RefObject<HTMLDivElement | null>;
|
|
2402
|
+
contentContainerRef: React.RefObject<HTMLDivElement | null>;
|
|
3567
2403
|
elements: JSX.Element[];
|
|
3568
2404
|
screenReaderOnly?: CarouselScreenReaderOnlyType;
|
|
3569
2405
|
allowModifySliceWidth?: boolean;
|
|
@@ -3651,10 +2487,6 @@ export declare interface IconStyleProps extends CssLibPropsType {
|
|
|
3651
2487
|
|
|
3652
2488
|
export declare type IImage = ImageStandAloneProps;
|
|
3653
2489
|
|
|
3654
|
-
declare interface IInputLabelProps {
|
|
3655
|
-
variant?: string;
|
|
3656
|
-
}
|
|
3657
|
-
|
|
3658
2490
|
/**
|
|
3659
2491
|
* A flexible image component that supports generic customization.
|
|
3660
2492
|
*
|
|
@@ -3714,6 +2546,23 @@ export declare interface ImageStyleProps {
|
|
|
3714
2546
|
width?: string;
|
|
3715
2547
|
}
|
|
3716
2548
|
|
|
2549
|
+
/**
|
|
2550
|
+
* Input component for text input fields.
|
|
2551
|
+
*
|
|
2552
|
+
* This component provides a styled text input with support for labels, helper text,
|
|
2553
|
+
* error messages, icons, and various states (disabled, error, success). It manages
|
|
2554
|
+
* focus state internally and applies appropriate styling.
|
|
2555
|
+
*
|
|
2556
|
+
* @example
|
|
2557
|
+
* ```tsx
|
|
2558
|
+
* <Input
|
|
2559
|
+
* label="Email"
|
|
2560
|
+
* type="email"
|
|
2561
|
+
* placeholder="Enter your email"
|
|
2562
|
+
* error="Invalid email"
|
|
2563
|
+
* />
|
|
2564
|
+
* ```
|
|
2565
|
+
*/
|
|
3717
2566
|
export declare const Input: ForwardRefExoticComponent<InputProps<string> & RefAttributes<HTMLDivElement>>;
|
|
3718
2567
|
|
|
3719
2568
|
declare type InputActionsProps = Pick<DOMAttributes<HTMLInputElement>, 'onBlur' | 'onChange'>;
|
|
@@ -3722,6 +2571,23 @@ export declare type InputActionsType = Pick<DOMAttributes<HTMLInputElement>, 'on
|
|
|
3722
2571
|
|
|
3723
2572
|
declare type InputActionsType_2 = Pick<DOMAttributes<HTMLInputElement>, 'onBlur' | 'onChange'>;
|
|
3724
2573
|
|
|
2574
|
+
/**
|
|
2575
|
+
* InputBase component for basic text input functionality.
|
|
2576
|
+
*
|
|
2577
|
+
* This is a low-level input component that provides the foundation for more
|
|
2578
|
+
* complex input components. It manages states (focused, filled, error, disabled)
|
|
2579
|
+
* and applies appropriate styling and ARIA attributes.
|
|
2580
|
+
*
|
|
2581
|
+
* @example
|
|
2582
|
+
* ```tsx
|
|
2583
|
+
* <InputBase
|
|
2584
|
+
* placeholder="Enter text"
|
|
2585
|
+
* error={hasError}
|
|
2586
|
+
* filled={!!value}
|
|
2587
|
+
* focused={isFocused}
|
|
2588
|
+
* />
|
|
2589
|
+
* ```
|
|
2590
|
+
*/
|
|
3725
2591
|
export declare const InputBase: ForwardRefExoticComponent<InputBaseProps<string> & RefAttributes<HTMLInputElement>>;
|
|
3726
2592
|
|
|
3727
2593
|
export declare type InputBaseActionsType = Pick<DOMAttributes<HTMLInputElement>, 'onKeyDown' | 'onFocus' | 'onBlur' | 'onPaste' | 'onCopy'>;
|
|
@@ -3777,6 +2643,24 @@ export declare type InputBaseVariantStyles<Variant extends string> = CssLibProps
|
|
|
3777
2643
|
|
|
3778
2644
|
declare type InputCssClasses = ComponentSelected<ComponentsTypesComponents['INPUT']>;
|
|
3779
2645
|
|
|
2646
|
+
/**
|
|
2647
|
+
* InputDecoration component for wrapping and decorating input fields.
|
|
2648
|
+
*
|
|
2649
|
+
* This component provides a styled container for input elements with support
|
|
2650
|
+
* for labels, icons, helper text, and various visual states. It manages the
|
|
2651
|
+
* state representation (focused, filled, error, disabled) for consistent styling.
|
|
2652
|
+
*
|
|
2653
|
+
* @example
|
|
2654
|
+
* ```tsx
|
|
2655
|
+
* <InputDecoration
|
|
2656
|
+
* label="Email"
|
|
2657
|
+
* error={hasError}
|
|
2658
|
+
* helperText="Enter a valid email"
|
|
2659
|
+
* >
|
|
2660
|
+
* <input type="email" />
|
|
2661
|
+
* </InputDecoration>
|
|
2662
|
+
* ```
|
|
2663
|
+
*/
|
|
3780
2664
|
export declare const InputDecoration: ForwardRefExoticComponent<InputDecorationProps<string> & RefAttributes<HTMLDivElement>>;
|
|
3781
2665
|
|
|
3782
2666
|
declare type InputDecorationCssClasses = ComponentSelected<ComponentsTypesComponents['INPUT_DECORATION']>;
|
|
@@ -3804,7 +2688,7 @@ export declare interface InputDecorationProps<Variant = undefined extends string
|
|
|
3804
2688
|
*/
|
|
3805
2689
|
export declare interface InputDecorationStandAloneProps extends DataAttributes {
|
|
3806
2690
|
disabled?: boolean;
|
|
3807
|
-
decoration?:
|
|
2691
|
+
decoration?: CommonIconProps;
|
|
3808
2692
|
cssClasses?: InputDecorationCssClasses;
|
|
3809
2693
|
component?: React.ElementType;
|
|
3810
2694
|
}
|
|
@@ -3830,8 +2714,43 @@ export declare interface InputProps<Variant = undefined extends string ? unknown
|
|
|
3830
2714
|
additionalClasses?: Partial<InputCssClasses>;
|
|
3831
2715
|
}
|
|
3832
2716
|
|
|
2717
|
+
/**
|
|
2718
|
+
* InputSignatureUnControlled component with internal signature management.
|
|
2719
|
+
*
|
|
2720
|
+
* This component provides a canvas-based signature capture that manages its own
|
|
2721
|
+
* state internally. It handles drawing, clearing, and state updates automatically.
|
|
2722
|
+
* Exposes methods via ref for resetting the signature canvas.
|
|
2723
|
+
*
|
|
2724
|
+
* @example
|
|
2725
|
+
* ```tsx
|
|
2726
|
+
* const signatureRef = useRef();
|
|
2727
|
+
*
|
|
2728
|
+
* <InputSignatureUnControlled
|
|
2729
|
+
* ref={signatureRef}
|
|
2730
|
+
* onChange={(dataUrl) => console.log(dataUrl)}
|
|
2731
|
+
* />
|
|
2732
|
+
*
|
|
2733
|
+
* // Reset signature: signatureRef.current.reset()
|
|
2734
|
+
* ```
|
|
2735
|
+
*/
|
|
3833
2736
|
export declare const InputSignature: ForwardRefExoticComponent<InputSignatureUnControlledProps<string> & RefAttributes<InputSignatureCustomHandle | undefined>>;
|
|
3834
2737
|
|
|
2738
|
+
/**
|
|
2739
|
+
* InputSignatureControlled component for capturing handwritten signatures.
|
|
2740
|
+
*
|
|
2741
|
+
* This component provides a canvas-based signature capture interface where
|
|
2742
|
+
* signature style (color, line width) is controlled externally. It's useful
|
|
2743
|
+
* for forms requiring user signatures.
|
|
2744
|
+
*
|
|
2745
|
+
* @example
|
|
2746
|
+
* ```tsx
|
|
2747
|
+
* <InputSignatureControlled
|
|
2748
|
+
* signatureStyle={{ color: '#000000', lineWidth: 2 }}
|
|
2749
|
+
* setSignatureStyles={(style) => console.log(style)}
|
|
2750
|
+
* onSignatureChange={(dataUrl) => setSignature(dataUrl)}
|
|
2751
|
+
* />
|
|
2752
|
+
* ```
|
|
2753
|
+
*/
|
|
3835
2754
|
export declare const InputSignatureControlled: ForwardRefExoticComponent<InputSignatureControlledProps<string> & RefAttributes<HTMLDivElement>>;
|
|
3836
2755
|
|
|
3837
2756
|
/**
|
|
@@ -3868,7 +2787,7 @@ export declare interface InputSignatureLineStyles {
|
|
|
3868
2787
|
*/
|
|
3869
2788
|
export declare interface InputSignatureStandAloneProps extends DataAttributes {
|
|
3870
2789
|
state: InputSignatureState;
|
|
3871
|
-
canvasRef: React.RefObject<HTMLCanvasElement>;
|
|
2790
|
+
canvasRef: React.RefObject<HTMLCanvasElement | null>;
|
|
3872
2791
|
placeholder: CommonTextProps;
|
|
3873
2792
|
errorText?: CommonTextProps;
|
|
3874
2793
|
onClickContainer: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
@@ -3908,7 +2827,6 @@ export declare interface InputStandAloneProps extends DataAttributes, Omit<Input
|
|
|
3908
2827
|
required?: boolean;
|
|
3909
2828
|
rightDecoration?: InputDecorationProps;
|
|
3910
2829
|
leftDecoration?: InputDecorationProps;
|
|
3911
|
-
label?: IInputLabelProps;
|
|
3912
2830
|
/** Value to perform truncation logic */
|
|
3913
2831
|
truncate?: boolean;
|
|
3914
2832
|
/** HTML Standard attribute to focus automatically
|
|
@@ -4043,17 +2961,17 @@ export declare interface ISnackbarV2 extends Omit<ISnackbarStandAlone, 'onMouseE
|
|
|
4043
2961
|
|
|
4044
2962
|
declare type keyMoveType = number | ((previous: number, e?: KeyboardEvent) => number) | null;
|
|
4045
2963
|
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
2964
|
+
/**
|
|
2965
|
+
* LabelStandAlone component renders an accessible label element with optional required indicator.
|
|
2966
|
+
*
|
|
2967
|
+
* @component
|
|
2968
|
+
* @example
|
|
2969
|
+
* ```tsx
|
|
2970
|
+
* <LabelStandAlone inputId="email" required requiredSymbol="*">
|
|
2971
|
+
* Email Address
|
|
2972
|
+
* </LabelStandAlone>
|
|
2973
|
+
* ```
|
|
2974
|
+
*/
|
|
4057
2975
|
export declare const Label: ForwardRefExoticComponent<LabelStandAloneProps & RefAttributes<HTMLParagraphElement>>;
|
|
4058
2976
|
|
|
4059
2977
|
/**
|
|
@@ -4185,6 +3103,21 @@ export declare type LinkVariantStyles<Variant extends string> = LinkStylesProps
|
|
|
4185
3103
|
[key in Variant]?: LinkStylesProps;
|
|
4186
3104
|
};
|
|
4187
3105
|
|
|
3106
|
+
/**
|
|
3107
|
+
* ListOptions component for displaying a list of selectable options.
|
|
3108
|
+
*
|
|
3109
|
+
* This component renders a list container for options/items, commonly used
|
|
3110
|
+
* in dropdowns, select menus, or autocomplete interfaces. It manages styling
|
|
3111
|
+
* and provides a consistent container for option elements.
|
|
3112
|
+
*
|
|
3113
|
+
* @example
|
|
3114
|
+
* ```tsx
|
|
3115
|
+
* <ListOptions variant="default">
|
|
3116
|
+
* <Option>Option 1</Option>
|
|
3117
|
+
* <Option>Option 2</Option>
|
|
3118
|
+
* </ListOptions>
|
|
3119
|
+
* ```
|
|
3120
|
+
*/
|
|
4188
3121
|
export declare const ListOptions: ForwardRefExoticComponent<ListOptionsProps<string> & RefAttributes<HTMLDivElement>>;
|
|
4189
3122
|
|
|
4190
3123
|
/**
|
|
@@ -4232,7 +3165,7 @@ export declare interface ListOptionsStandAloneProps extends DataAttributes {
|
|
|
4232
3165
|
content?: React.ReactNode;
|
|
4233
3166
|
onOptionClick?: (value: string, event: React.KeyboardEvent<HTMLDivElement> | React.MouseEvent<HTMLDivElement>) => void;
|
|
4234
3167
|
multiSelect?: boolean;
|
|
4235
|
-
checkedIcon?:
|
|
3168
|
+
checkedIcon?: CommonIconProps;
|
|
4236
3169
|
id?: string;
|
|
4237
3170
|
roveFocus?: UseRoveFocusProps;
|
|
4238
3171
|
index?: number;
|
|
@@ -4252,138 +3185,56 @@ export declare type ListOptionsVariantStyles<Variant extends string> = ListOptio
|
|
|
4252
3185
|
[key in Variant]: ListOptionsStyleProps;
|
|
4253
3186
|
};
|
|
4254
3187
|
|
|
3188
|
+
/**
|
|
3189
|
+
* Media query strings for targeting specific screen size ranges.
|
|
3190
|
+
* Built from the provided breakpoints configuration.
|
|
3191
|
+
*/
|
|
4255
3192
|
declare interface MediaQueries {
|
|
3193
|
+
/** Media query for mobile devices only (below md breakpoint) */
|
|
4256
3194
|
onlyMobile: string;
|
|
3195
|
+
/** Media query for tablets only (between md and lg breakpoints) */
|
|
4257
3196
|
onlyTablet: string;
|
|
3197
|
+
/** Media query for desktops (below xl breakpoint) */
|
|
4258
3198
|
onlyDesktop: string;
|
|
3199
|
+
/** Media query for large desktops (xl breakpoint and above) */
|
|
4259
3200
|
onlyLargeDesktop: string;
|
|
4260
3201
|
}
|
|
4261
3202
|
|
|
4262
|
-
export declare const Message: ForwardRefExoticComponent<MessageUnControlledProps<string> & RefAttributes<HTMLDivElement>>;
|
|
4263
|
-
|
|
4264
|
-
/**
|
|
4265
|
-
* Represents the type for the action button in the Message component.
|
|
4266
|
-
*/
|
|
4267
|
-
export declare type MessageActionButtonProps = Omit<ButtonProps, 'children' | 'size'> & {
|
|
4268
|
-
content?: React.ReactNode;
|
|
4269
|
-
size?: string;
|
|
4270
|
-
};
|
|
4271
|
-
|
|
4272
3203
|
/**
|
|
4273
|
-
*
|
|
3204
|
+
* Options for middleware configuration in the popover
|
|
4274
3205
|
*/
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
3206
|
+
declare interface MiddlewareOptions {
|
|
3207
|
+
offsetDistance?: [number, number];
|
|
3208
|
+
edgePadding?: number;
|
|
3209
|
+
hideWhenDetached?: boolean;
|
|
4279
3210
|
}
|
|
4280
3211
|
|
|
4281
|
-
export declare const
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
export declare type MessageExtraActionButtonProps = Omit<ButtonProps, 'children'> & {
|
|
4289
|
-
content?: React.ReactNode;
|
|
4290
|
-
};
|
|
4291
|
-
|
|
4292
|
-
/**
|
|
4293
|
-
* Represents the type for the link in the Message component.
|
|
4294
|
-
*/
|
|
4295
|
-
export declare type MessageLinkProps = Omit<LinkProps, 'children'> & {
|
|
4296
|
-
content?: string;
|
|
3212
|
+
export declare const MIRROR_POSITIONS: {
|
|
3213
|
+
bottom: "top";
|
|
3214
|
+
"bottom-center": "top-center";
|
|
3215
|
+
left: "right";
|
|
3216
|
+
right: "left";
|
|
3217
|
+
top: "bottom";
|
|
3218
|
+
"top-center": "bottom-center";
|
|
4297
3219
|
};
|
|
4298
3220
|
|
|
4299
3221
|
/**
|
|
4300
|
-
*
|
|
4301
|
-
* Extends the MessageStandAloneProps interface and adds a variant and additional CSS classes.
|
|
3222
|
+
* ModalUnControlled component with internal state management.
|
|
4302
3223
|
*
|
|
4303
|
-
*
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
open: boolean;
|
|
4307
|
-
variant?: Variant;
|
|
4308
|
-
additionalClasses?: Partial<MessageCssClasses>;
|
|
4309
|
-
}
|
|
4310
|
-
|
|
4311
|
-
/**
|
|
4312
|
-
* Interface for the standalone Message component.
|
|
4313
|
-
* Includes properties for icons, buttons, links, tags, and CSS classes.
|
|
4314
|
-
*/
|
|
4315
|
-
export declare interface MessageStandAloneProps extends DataAttributes {
|
|
4316
|
-
linkComponent: GenericLinkType;
|
|
4317
|
-
messageContainerProps?: MessageContainerAsLinkProps;
|
|
4318
|
-
titleAndContentContainerProps?: MessageContainerAsLinkProps;
|
|
4319
|
-
titleAndContentRole?: AriaRole;
|
|
4320
|
-
infoIcon?: ElementOrIconProps;
|
|
4321
|
-
actionButton?: MessageActionButtonProps;
|
|
4322
|
-
extraActionButton?: MessageExtraActionButtonProps;
|
|
4323
|
-
content: CommonTextProps;
|
|
4324
|
-
inlineLink?: MessageLinkProps;
|
|
4325
|
-
title?: CommonTextProps;
|
|
4326
|
-
tag?: MessageTagProps;
|
|
4327
|
-
ariaMessageId?: string;
|
|
4328
|
-
closeIcon?: ElementOrIconProps;
|
|
4329
|
-
maxContentLength?: number;
|
|
4330
|
-
open: boolean;
|
|
4331
|
-
role?: React.AriaRole;
|
|
4332
|
-
id?: string;
|
|
4333
|
-
ariaLive?: AriaAttributes['aria-live'];
|
|
4334
|
-
links?: MessageLinkProps[];
|
|
4335
|
-
cssClasses?: MessageCssClasses;
|
|
4336
|
-
}
|
|
4337
|
-
|
|
4338
|
-
export declare interface MessageStyleProps extends CssLibPropsType {
|
|
4339
|
-
_container?: CssLibPropsType;
|
|
4340
|
-
_headerContainer?: CssLibPropsType;
|
|
4341
|
-
_headerContainerLargeMessage?: CssLibPropsType;
|
|
4342
|
-
_title?: CssLibPropsType;
|
|
4343
|
-
_titleContainer?: CssLibPropsType;
|
|
4344
|
-
_contentContainer?: CssLibPropsType;
|
|
4345
|
-
_contentContainerLargeMessage?: CssLibPropsType;
|
|
4346
|
-
_description?: CssLibPropsType;
|
|
4347
|
-
_infoIcon?: CssLibPropsType;
|
|
4348
|
-
_closeIcon?: CssLibPropsType;
|
|
4349
|
-
_buttonSectionContainer?: CssLibPropsType;
|
|
4350
|
-
_actionButtonContainer?: CssLibPropsType;
|
|
4351
|
-
_extraActionButtonContainer?: CssLibPropsType;
|
|
4352
|
-
_illustration?: CssLibPropsType;
|
|
4353
|
-
_linkContainer?: CssLibPropsType;
|
|
4354
|
-
_linksContainer?: CssLibPropsType;
|
|
4355
|
-
}
|
|
4356
|
-
|
|
4357
|
-
/**
|
|
4358
|
-
* Represents the type for the tag in the Message component.
|
|
4359
|
-
*/
|
|
4360
|
-
export declare type MessageTagProps = Omit<TagProps, 'children'> & {
|
|
4361
|
-
content: string;
|
|
4362
|
-
};
|
|
4363
|
-
|
|
4364
|
-
/**
|
|
4365
|
-
* Interface for the uncontrolled Message component.
|
|
4366
|
-
* Extends the MessageProps interface and omits specific properties.
|
|
3224
|
+
* This component renders a modal that manages its own open/close state internally.
|
|
3225
|
+
* It automatically syncs with prop changes and handles keyboard interactions.
|
|
3226
|
+
* Useful when you don't need external control over the modal's visibility.
|
|
4367
3227
|
*
|
|
4368
|
-
* @
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
}
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
/**
|
|
4379
|
-
* Options for middleware configuration in the popover
|
|
3228
|
+
* @example
|
|
3229
|
+
* ```tsx
|
|
3230
|
+
* <ModalUnControlled
|
|
3231
|
+
* open={true}
|
|
3232
|
+
* onClose={() => console.log('closed')}
|
|
3233
|
+
* >
|
|
3234
|
+
* Modal content
|
|
3235
|
+
* </ModalUnControlled>
|
|
3236
|
+
* ```
|
|
4380
3237
|
*/
|
|
4381
|
-
declare interface MiddlewareOptions {
|
|
4382
|
-
offsetDistance?: [number, number];
|
|
4383
|
-
edgePadding?: number;
|
|
4384
|
-
hideWhenDetached?: boolean;
|
|
4385
|
-
}
|
|
4386
|
-
|
|
4387
3238
|
export declare const Modal: ForwardRefExoticComponent<ModalUnControlledProps<string | undefined> & {
|
|
4388
3239
|
children?: ReactNode | undefined;
|
|
4389
3240
|
} & RefAttributes<HTMLDivElement>>;
|
|
@@ -4404,6 +3255,24 @@ export declare interface ModalContentContainerProps extends Pick<AriaAttributes,
|
|
|
4404
3255
|
role?: string;
|
|
4405
3256
|
}
|
|
4406
3257
|
|
|
3258
|
+
/**
|
|
3259
|
+
* ModalControlled component for displaying overlay dialogs.
|
|
3260
|
+
*
|
|
3261
|
+
* This component manages modal visibility externally through props. It provides
|
|
3262
|
+
* scroll detection, swipe-down gestures, focus management, and portal rendering.
|
|
3263
|
+
* Use this when you need full control over the modal's open/close state.
|
|
3264
|
+
*
|
|
3265
|
+
* @example
|
|
3266
|
+
* ```tsx
|
|
3267
|
+
* <ModalControlled
|
|
3268
|
+
* open={isOpen}
|
|
3269
|
+
* onClose={() => setIsOpen(false)}
|
|
3270
|
+
* variant="default"
|
|
3271
|
+
* >
|
|
3272
|
+
* Modal content here
|
|
3273
|
+
* </ModalControlled>
|
|
3274
|
+
* ```
|
|
3275
|
+
*/
|
|
4407
3276
|
export declare const ModalControlled: ForwardRefExoticComponent<ModalControlledProps<string> & RefAttributes<HTMLDivElement>>;
|
|
4408
3277
|
|
|
4409
3278
|
/**
|
|
@@ -4422,13 +3291,6 @@ export declare interface ModalControlledProps<Variant = undefined extends string
|
|
|
4422
3291
|
|
|
4423
3292
|
declare type ModalCssClasses = ComponentSelected<ComponentsTypesComponents['MODAL']>;
|
|
4424
3293
|
|
|
4425
|
-
/**
|
|
4426
|
-
* Represents the type for the footer in the Modal component.
|
|
4427
|
-
*/
|
|
4428
|
-
export declare type ModalFooterProps = Omit<NavBarProps, 'variant'> & {
|
|
4429
|
-
variant?: string;
|
|
4430
|
-
};
|
|
4431
|
-
|
|
4432
3294
|
declare type ModalOmittedProps = 'styles' | 'device' | 'contentHasScroll';
|
|
4433
3295
|
|
|
4434
3296
|
/**
|
|
@@ -4455,18 +3317,18 @@ export declare interface ModalStandAloneProps extends DataAttributes {
|
|
|
4455
3317
|
title?: CommonTextProps & {
|
|
4456
3318
|
visible?: boolean;
|
|
4457
3319
|
};
|
|
4458
|
-
closeIcon?:
|
|
3320
|
+
closeIcon?: CommonIconProps;
|
|
4459
3321
|
closeButton?: ModalButtonProps;
|
|
4460
3322
|
contentContainer?: ModalContentContainerProps;
|
|
4461
3323
|
content?: ReactNode;
|
|
4462
3324
|
contentScrollArias?: Pick<AriaAttributes, 'aria-label' | 'aria-labelledby'>;
|
|
4463
3325
|
contentHasScroll: boolean;
|
|
4464
|
-
footer?:
|
|
3326
|
+
footer?: ReactNode;
|
|
4465
3327
|
device: DeviceBreakpointsType;
|
|
4466
3328
|
onKeyDown?: KeyboardEventHandler<HTMLDivElement>;
|
|
4467
3329
|
onPopoverCloseInternally?: () => void;
|
|
4468
3330
|
cssClasses?: ModalCssClasses;
|
|
4469
|
-
dragIcon?:
|
|
3331
|
+
dragIcon?: CommonIconProps;
|
|
4470
3332
|
}
|
|
4471
3333
|
|
|
4472
3334
|
/**
|
|
@@ -4507,51 +3369,6 @@ export declare type ModalVariantStyles<Variant extends string> = ModalStyleProps
|
|
|
4507
3369
|
[key in Variant]: ModalStyleProps;
|
|
4508
3370
|
};
|
|
4509
3371
|
|
|
4510
|
-
/**
|
|
4511
|
-
* A component that renders a navigation bar, which can be used as a header, footer, or standalone navigation.
|
|
4512
|
-
* It supports custom CSS classes and forwards a ref to the inner navigation container.
|
|
4513
|
-
*
|
|
4514
|
-
* @param {INavBarControlled} props - The props for the navigation bar component.
|
|
4515
|
-
* @param {ForwardedRef<HTMLDivElement>} ref - The forwarded ref for the inner navigation container.
|
|
4516
|
-
* @returns {JSX.Element} The rendered navigation bar component.
|
|
4517
|
-
*/
|
|
4518
|
-
export declare const NabVar: ForwardRefExoticComponent<NavBarProps<string> & RefAttributes<HTMLDivElement>>;
|
|
4519
|
-
|
|
4520
|
-
declare type NavBarCssClasses = ComponentSelected<ComponentsTypesComponents['NAVBAR']>;
|
|
4521
|
-
|
|
4522
|
-
/**
|
|
4523
|
-
* Interface for the NavBar component with a variant.
|
|
4524
|
-
* Extends the NavBarStandAloneProps interface and adds a variant and additional CSS classes.
|
|
4525
|
-
*
|
|
4526
|
-
* @template Variant - The type of the variant for the NavBar.
|
|
4527
|
-
*/
|
|
4528
|
-
export declare interface NavBarProps<Variant = undefined extends string ? unknown : string> extends NavBarStandAloneProps {
|
|
4529
|
-
variant?: Variant;
|
|
4530
|
-
additionalClasses?: Partial<NavBarCssClasses>;
|
|
4531
|
-
}
|
|
4532
|
-
|
|
4533
|
-
/**
|
|
4534
|
-
* Interface for the standalone NavBar component.
|
|
4535
|
-
* Includes properties for items, layout direction, focus order, and CSS classes.
|
|
4536
|
-
*/
|
|
4537
|
-
export declare interface NavBarStandAloneProps extends DataAttributes {
|
|
4538
|
-
leftItems?: React.ReactNode[];
|
|
4539
|
-
centerItems?: React.ReactNode[];
|
|
4540
|
-
rightItems?: React.ReactNode[];
|
|
4541
|
-
component?: 'header' | 'footer' | 'nav';
|
|
4542
|
-
direction?: 'horizontal' | 'vertical';
|
|
4543
|
-
focusOrder?: ('left' | 'center' | 'right')[];
|
|
4544
|
-
cssClasses?: NavBarCssClasses;
|
|
4545
|
-
}
|
|
4546
|
-
|
|
4547
|
-
export declare interface NavBarStyleProps extends CssLibPropsType {
|
|
4548
|
-
_itemContainer?: CssLibPropsType;
|
|
4549
|
-
}
|
|
4550
|
-
|
|
4551
|
-
export declare type NavBarVariantStyles<Variant extends string> = NavBarStyleProps & {
|
|
4552
|
-
[key in Variant]: NavBarStyleProps;
|
|
4553
|
-
};
|
|
4554
|
-
|
|
4555
3372
|
declare type NonVariablesKeys<T> = {
|
|
4556
3373
|
[K in keyof T]: K extends `$${string}` ? never : K;
|
|
4557
3374
|
}[keyof T];
|
|
@@ -4560,6 +3377,24 @@ declare type NonVariablesKeys_2<T> = {
|
|
|
4560
3377
|
[K in keyof T]: K extends `$${string}` ? never : K;
|
|
4561
3378
|
}[keyof T];
|
|
4562
3379
|
|
|
3380
|
+
/**
|
|
3381
|
+
* Option component for rendering selectable list items.
|
|
3382
|
+
*
|
|
3383
|
+
* This component represents a single option within a list, dropdown, or menu.
|
|
3384
|
+
* It manages focus states and supports custom variants for flexible styling.
|
|
3385
|
+
* Useful for building accessible select menus, autocomplete lists, or navigation options.
|
|
3386
|
+
*
|
|
3387
|
+
* Accepts a generic type parameter `<Variant extends string>` for custom variant values.
|
|
3388
|
+
*
|
|
3389
|
+
* @example
|
|
3390
|
+
* ```tsx
|
|
3391
|
+
* <Option value="option1" variant="default">Option 1</Option>
|
|
3392
|
+
*
|
|
3393
|
+
* // With custom variant:
|
|
3394
|
+
* type MyVariant = "primary" | "secondary";
|
|
3395
|
+
* <Option<MyVariant> variant="primary" value="item">Primary Option</Option>
|
|
3396
|
+
* ```
|
|
3397
|
+
*/
|
|
4563
3398
|
declare const Option_2: ForwardRefExoticComponent<OptionProps<string> & RefAttributes<HTMLElement>>;
|
|
4564
3399
|
export { Option_2 as Option }
|
|
4565
3400
|
|
|
@@ -4586,11 +3421,11 @@ export declare interface OptionProps<Variant = undefined extends string ? unknow
|
|
|
4586
3421
|
* Includes ARIA attributes, labels, icons, event handlers, and CSS classes.
|
|
4587
3422
|
*/
|
|
4588
3423
|
export declare interface OptionStandAloneProps extends OptionAriaProps, DataAttributes {
|
|
4589
|
-
icon?:
|
|
3424
|
+
icon?: CommonIconProps;
|
|
4590
3425
|
sublabel?: CommonTextProps;
|
|
4591
3426
|
label: ReactNode;
|
|
4592
3427
|
labelCharsHighlighted?: string;
|
|
4593
|
-
checkedIcon?:
|
|
3428
|
+
checkedIcon?: CommonIconProps;
|
|
4594
3429
|
multiSelect?: boolean;
|
|
4595
3430
|
disabled?: boolean;
|
|
4596
3431
|
selected?: boolean;
|
|
@@ -4627,6 +3462,48 @@ export declare type OptionVariantStyles<Variant extends string> = OptionStylePro
|
|
|
4627
3462
|
[key in Variant]: OptionStyleProps;
|
|
4628
3463
|
};
|
|
4629
3464
|
|
|
3465
|
+
declare type OverlayCssClasses = ComponentSelected<ComponentsTypesComponents['OVERLAY']>;
|
|
3466
|
+
|
|
3467
|
+
/**
|
|
3468
|
+
* Interface for the Overlay component with a variant.
|
|
3469
|
+
* Extends the OverlayStandAloneProps interface and adds a variant and additional CSS classes.
|
|
3470
|
+
*
|
|
3471
|
+
* @template Variant - The type of the variant for the Overlay.
|
|
3472
|
+
*/
|
|
3473
|
+
export declare interface OverlayProps<Variant = undefined extends string ? unknown : string> extends Omit<OverlayStandAloneProps, 'cssClasses'> {
|
|
3474
|
+
variant?: Variant;
|
|
3475
|
+
additionalClasses?: Partial<OverlayCssClasses>;
|
|
3476
|
+
}
|
|
3477
|
+
|
|
3478
|
+
/**
|
|
3479
|
+
* Interface for the standalone Overlay component.
|
|
3480
|
+
* Includes optional CSS classes and data attributes.
|
|
3481
|
+
*/
|
|
3482
|
+
export declare interface OverlayStandAloneProps extends DataAttributes {
|
|
3483
|
+
cssClasses?: OverlayCssClasses;
|
|
3484
|
+
}
|
|
3485
|
+
|
|
3486
|
+
export declare type OverlayVariantStyles<Variant extends string> = CssLibPropsType & {
|
|
3487
|
+
[key in Variant]: CssLibPropsType;
|
|
3488
|
+
};
|
|
3489
|
+
|
|
3490
|
+
/**
|
|
3491
|
+
* PageControl component for pagination/slide navigation indicators.
|
|
3492
|
+
*
|
|
3493
|
+
* This component displays navigation dots or bullets with arrow controls for
|
|
3494
|
+
* paginated content like carousels. It handles position tracking, visibility
|
|
3495
|
+
* of dots, and direction-based navigation.
|
|
3496
|
+
*
|
|
3497
|
+
* @example
|
|
3498
|
+
* ```tsx
|
|
3499
|
+
* <PageControl
|
|
3500
|
+
* pages={10}
|
|
3501
|
+
* currentPosition={3}
|
|
3502
|
+
* onPageChange={(page) => console.log(page)}
|
|
3503
|
+
* isBullet
|
|
3504
|
+
* />
|
|
3505
|
+
* ```
|
|
3506
|
+
*/
|
|
4630
3507
|
export declare const PageControl: ForwardRefExoticComponent<PageControlProps<string> & RefAttributes<HTMLDivElement>>;
|
|
4631
3508
|
|
|
4632
3509
|
/**
|
|
@@ -4694,6 +3571,26 @@ export declare type PageControlVariantStyles<Variant extends string> = PageContr
|
|
|
4694
3571
|
[key in Variant]: PageControlStyleProps;
|
|
4695
3572
|
};
|
|
4696
3573
|
|
|
3574
|
+
/**
|
|
3575
|
+
* Pagination component for navigating through multiple pages.
|
|
3576
|
+
*
|
|
3577
|
+
* This component renders a pagination control with page numbers and navigation buttons.
|
|
3578
|
+
* It automatically adjusts the visible page numbers based on screen size and configuration.
|
|
3579
|
+
* Useful for implementing page navigation in lists, tables, or content galleries.
|
|
3580
|
+
*
|
|
3581
|
+
* Accepts a generic type parameter `<Variant extends string>` for custom variant styling.
|
|
3582
|
+
*
|
|
3583
|
+
* @example
|
|
3584
|
+
* ```tsx
|
|
3585
|
+
* <Pagination
|
|
3586
|
+
* variant="default"
|
|
3587
|
+
* currentStep={5}
|
|
3588
|
+
* maxStepsNumber={100}
|
|
3589
|
+
* maxCountersNumber={7}
|
|
3590
|
+
* onStepChange={handlePageChange}
|
|
3591
|
+
* />
|
|
3592
|
+
* ```
|
|
3593
|
+
*/
|
|
4697
3594
|
export declare const Pagination: ForwardRefExoticComponent<PaginationProps<string> & RefAttributes<HTMLDivElement>>;
|
|
4698
3595
|
|
|
4699
3596
|
/**
|
|
@@ -4786,12 +3683,54 @@ export { popoverMWShift }
|
|
|
4786
3683
|
|
|
4787
3684
|
export { popoverMWSize }
|
|
4788
3685
|
|
|
4789
|
-
export declare interface
|
|
3686
|
+
export declare interface PopoverStyleProps extends CssLibPropsType {
|
|
4790
3687
|
_arrow?: CssLibPropsType;
|
|
4791
3688
|
}
|
|
4792
3689
|
|
|
4793
|
-
declare
|
|
3690
|
+
export declare const POSITIONS: {
|
|
3691
|
+
readonly BOTTOM: "bottom";
|
|
3692
|
+
readonly BOTTOM_CENTER: "bottom-center";
|
|
3693
|
+
readonly BOTTOM_CENTER_FIXED: "bottom-center-fixed";
|
|
3694
|
+
readonly BOTTOM_FIXED: "bottom-fixed";
|
|
3695
|
+
readonly BOTTOM_GAP_RIGHT: "bottom-gap-right";
|
|
3696
|
+
readonly BOTTOM_LEFT: "bottom-left";
|
|
3697
|
+
readonly BOTTOM_LEFT_FIT_CONTENT: "bottom-left-fit-content";
|
|
3698
|
+
readonly BOTTOM_RIGHT: "bottom-right";
|
|
3699
|
+
readonly BOTTOM_RIGHT_FIT_CONTENT: "bottom-right-fit-content";
|
|
3700
|
+
readonly CENTER: "center";
|
|
3701
|
+
readonly LEFT: "left";
|
|
3702
|
+
readonly LEFT_BOTTOM_FIXED: "left-bottom-fixed";
|
|
3703
|
+
readonly LEFT_FIXED: "left-fixed";
|
|
3704
|
+
readonly RIGHT: "right";
|
|
3705
|
+
readonly RIGHT_FIXED: "right-fixed";
|
|
3706
|
+
readonly TOP: "top";
|
|
3707
|
+
readonly TOP_CENTER: "top-center";
|
|
3708
|
+
readonly TOP_CENTER_FIXED: "top-center-fixed";
|
|
3709
|
+
readonly TOP_LEFT: "top-left";
|
|
3710
|
+
readonly TOP_RIGHT: "top-right";
|
|
3711
|
+
readonly WITHOUT: "without";
|
|
3712
|
+
};
|
|
3713
|
+
|
|
3714
|
+
export declare type PositionType = 'bottom' | 'bottom-center' | 'bottom-center-fixed' | 'bottom-fixed' | 'bottom-gap-right' | 'bottom-left' | 'bottom-left-fit-content' | 'bottom-right' | 'bottom-right-fit-content' | 'center' | 'left' | 'left-bottom-fixed' | 'left-fixed' | 'right' | 'right-fixed' | 'top' | 'top-center' | 'top-center-fixed' | 'top-left' | 'top-right' | 'without';
|
|
4794
3715
|
|
|
3716
|
+
/**
|
|
3717
|
+
* ProgressBar component for displaying progress indicators.
|
|
3718
|
+
*
|
|
3719
|
+
* This component visualizes completion progress with customizable variants and sizes.
|
|
3720
|
+
* It displays a filled bar representing the percentage of progress completed.
|
|
3721
|
+
* Useful for showing loading states, task completion, or any measurable progress.
|
|
3722
|
+
*
|
|
3723
|
+
* Accepts generic type parameters `<Variant, Size>` for custom styling values.
|
|
3724
|
+
*
|
|
3725
|
+
* @example
|
|
3726
|
+
* ```tsx
|
|
3727
|
+
* <ProgressBar variant="primary" size="md" percentProgressCompleted={60} />
|
|
3728
|
+
*
|
|
3729
|
+
* // With custom types:
|
|
3730
|
+
* type MyVariant = "success" | "warning";
|
|
3731
|
+
* <ProgressBar<MyVariant> variant="success" percentProgressCompleted={100} />
|
|
3732
|
+
* ```
|
|
3733
|
+
*/
|
|
4795
3734
|
export declare const ProgressBar: ForwardRefExoticComponent<ProgressBarProps<string | undefined, unknown> & RefAttributes<HTMLDivElement>>;
|
|
4796
3735
|
|
|
4797
3736
|
/**
|
|
@@ -4828,11 +3767,6 @@ export declare interface ProgressBarStandAloneProps extends DataAttributes {
|
|
|
4828
3767
|
cssSizeClasses?: ProgressBarCssClasses;
|
|
4829
3768
|
barAriaLabel?: string;
|
|
4830
3769
|
progressCompleted: number;
|
|
4831
|
-
onChange?: (value: number) => void;
|
|
4832
|
-
onDragStart?: () => void;
|
|
4833
|
-
onDragEnd?: () => void;
|
|
4834
|
-
tooltip?: SliderTooltipProps;
|
|
4835
|
-
useAsSlider?: boolean;
|
|
4836
3770
|
progressAnimation?: {
|
|
4837
3771
|
duration?: string;
|
|
4838
3772
|
timingFunction?: string;
|
|
@@ -4854,6 +3788,22 @@ export declare type ProgressBarVariantStyles<Variant extends string> = {
|
|
|
4854
3788
|
|
|
4855
3789
|
declare type propsToOmit = 'styles' | 'filled' | 'focused' | 'inputBaseId' | 'labelId';
|
|
4856
3790
|
|
|
3791
|
+
/**
|
|
3792
|
+
* RadioButton component for single selection from multiple options.
|
|
3793
|
+
*
|
|
3794
|
+
* This component renders a styled radio input for use in forms and option groups.
|
|
3795
|
+
* It manages checked, disabled, and error states with appropriate visual feedback.
|
|
3796
|
+
*
|
|
3797
|
+
* @example
|
|
3798
|
+
* ```tsx
|
|
3799
|
+
* <RadioButton
|
|
3800
|
+
* name="option"
|
|
3801
|
+
* value="1"
|
|
3802
|
+
* checked={selectedValue === "1"}
|
|
3803
|
+
* onChange={(e) => setSelectedValue(e.target.value)}
|
|
3804
|
+
* />
|
|
3805
|
+
* ```
|
|
3806
|
+
*/
|
|
4857
3807
|
export declare const RadioButton: ({ additionalClasses, checked, cssClasses: propsStyles, disabled, error, variant, ...props }: RadioButtonProps) => JSX.Element;
|
|
4858
3808
|
|
|
4859
3809
|
/**
|
|
@@ -4881,6 +3831,21 @@ export declare interface RadioButtonProps<Variant = undefined extends string ? u
|
|
|
4881
3831
|
additionalClasses?: Partial<RadioButtonCssClasses>;
|
|
4882
3832
|
}
|
|
4883
3833
|
|
|
3834
|
+
/**
|
|
3835
|
+
* Standalone radio button component for rendering selectable radio inputs.
|
|
3836
|
+
*
|
|
3837
|
+
* This component renders a radio button with label, optional legend, error message,
|
|
3838
|
+
* and custom icon states. It handles accessibility attributes and visual states.
|
|
3839
|
+
*
|
|
3840
|
+
* @example
|
|
3841
|
+
* ```tsx
|
|
3842
|
+
* <RadioButtonStandAlone
|
|
3843
|
+
* label={{ content: "Option A" }}
|
|
3844
|
+
* checked={true}
|
|
3845
|
+
* onChange={() => {}}
|
|
3846
|
+
* />
|
|
3847
|
+
* ```
|
|
3848
|
+
*/
|
|
4884
3849
|
export declare const RadioButtonStandAlone: ({ altVariant, checked, cssClasses, disabled, error, errorAriaLiveType, errorIcon, errorMessage, id, label, lastChild, name, onBlur, onChange, screenReaderId, state, subTitle, tabIndex, value, ...props }: RadioButtonStandAloneProps) => JSX.Element;
|
|
4885
3850
|
|
|
4886
3851
|
/**
|
|
@@ -4893,7 +3858,7 @@ export declare interface RadioButtonStandAloneProps extends RadioButtonAriaProps
|
|
|
4893
3858
|
name?: string;
|
|
4894
3859
|
label?: RadioButtonLabelProps;
|
|
4895
3860
|
errorMessage?: string;
|
|
4896
|
-
errorIcon?:
|
|
3861
|
+
errorIcon?: CommonIconProps;
|
|
4897
3862
|
errorAriaLiveType?: AriaAttributes['aria-live'];
|
|
4898
3863
|
onBlur?: React.FocusEventHandler<HTMLInputElement>;
|
|
4899
3864
|
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
@@ -4936,34 +3901,101 @@ declare type RecoverComponentStyles = <T extends ComponentsTypesAvailableCompone
|
|
|
4936
3901
|
additionalClassNames?: Partial<ComponentSelected_2<ComponentsTypesComponents[T]>>;
|
|
4937
3902
|
}) => ComponentSelected_2<ComponentsTypesComponents[T]>;
|
|
4938
3903
|
|
|
4939
|
-
declare
|
|
3904
|
+
declare type ScreenReaderOnlyProps = ScreenReaderOnlyStandAloneProps;
|
|
3905
|
+
|
|
3906
|
+
declare interface ScreenReaderOnlyStandAloneProps extends DataAttributes {
|
|
3907
|
+
ariaAtomic?: AriaAttributes['aria-atomic'];
|
|
3908
|
+
ariaLive?: AriaAttributes['aria-live'];
|
|
4940
3909
|
children?: React.ReactNode;
|
|
3910
|
+
className?: string;
|
|
4941
3911
|
id?: string;
|
|
4942
|
-
show?: boolean;
|
|
4943
|
-
ariaLive?: AriaAttributes['aria-live'];
|
|
4944
3912
|
role?: React.AriaRole;
|
|
4945
3913
|
}
|
|
4946
3914
|
|
|
4947
|
-
|
|
3915
|
+
/**
|
|
3916
|
+
* Uncontrolled select component for displaying selectable options.
|
|
3917
|
+
*
|
|
3918
|
+
* This component manages its own open/close state and selected option internally, so you do not need
|
|
3919
|
+
* to control the select state from the parent. It is useful when you want a simple select that handles
|
|
3920
|
+
* its own toggle and selection logic. You can optionally receive state changes via callbacks.
|
|
3921
|
+
*
|
|
3922
|
+
* Internally, it wraps {@link SelectControlled} and passes the necessary props.
|
|
3923
|
+
*
|
|
3924
|
+
* @example
|
|
3925
|
+
* ```tsx
|
|
3926
|
+
* <SelectUnControlled defaultOpen />
|
|
3927
|
+
* ```
|
|
3928
|
+
*/
|
|
3929
|
+
export declare const Select: ForwardRefExoticComponent<SelectUnControlledProps & RefAttributes<HTMLDivElement>>;
|
|
3930
|
+
|
|
3931
|
+
/**
|
|
3932
|
+
* Controlled select component for displaying selectable options.
|
|
3933
|
+
*
|
|
3934
|
+
* This component renders a select that is fully controlled by its parent, allowing for custom open/close logic,
|
|
3935
|
+
* keyboard navigation, and flexible theming. It is useful when you need to manage the select state and behavior externally.
|
|
3936
|
+
*
|
|
3937
|
+
* Internally, it wraps {@link SelectStandAlone} and handles keyboard focus and scroll-based closing.
|
|
3938
|
+
* Accepts a generic type parameter `<Variant extends string>` to allow for custom variant values, enabling flexible styling.
|
|
3939
|
+
*
|
|
3940
|
+
* @example
|
|
3941
|
+
* ```tsx
|
|
3942
|
+
* <SelectControlled open listOptions={options} />
|
|
3943
|
+
*
|
|
3944
|
+
* // With a custom variant type:
|
|
3945
|
+
* type MyVariant = "primary" | "secondary";
|
|
3946
|
+
* <SelectControlled<MyVariant> variant="primary" open listOptions={options} />
|
|
3947
|
+
* ```
|
|
3948
|
+
*/
|
|
3949
|
+
export declare const SelectControlled: ForwardRefExoticComponent<SelectControlledProps<string> & RefAttributes<HTMLDivElement>>;
|
|
3950
|
+
|
|
3951
|
+
/**
|
|
3952
|
+
* Interface for the controlled Select component.
|
|
3953
|
+
* Extends the SelectStandAloneProps interface and adds a variant and additional CSS classes.
|
|
3954
|
+
*
|
|
3955
|
+
* @template Variant - The type of the variant for the Select.
|
|
3956
|
+
*/
|
|
3957
|
+
export declare interface SelectControlledProps<Variant = undefined extends string ? unknown : string> extends Omit<SelectStandAloneProps, 'listOptionsRef' | 'onButtonKeyDown' | 'component'> {
|
|
3958
|
+
variant?: Variant;
|
|
3959
|
+
additionalClasses?: Partial<SelectCssClasses>;
|
|
3960
|
+
}
|
|
3961
|
+
|
|
3962
|
+
declare type SelectCssClasses = ComponentSelected<ComponentsTypesComponents['SELECT']>;
|
|
4948
3963
|
|
|
4949
3964
|
/**
|
|
4950
|
-
* Represents the type for the
|
|
3965
|
+
* Represents the type for the list options in the Select component.
|
|
4951
3966
|
*/
|
|
4952
|
-
export declare type
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
3967
|
+
export declare type SelectListOptionsProps = Omit<ListOptionsProps, 'selectedValue' | 'onOptionClick'>;
|
|
3968
|
+
|
|
3969
|
+
declare type SelectOmittedProps = 'buttonOrLinkRef' | 'open' | 'onButtonClick' | 'optionSelected' | 'onOptionClick' | 'onClosePopover' | 'onMouseEnter' | 'onMouseLeave' | 'onBlur' | 'onFocus' | 'onKeyDown';
|
|
3970
|
+
|
|
3971
|
+
/**
|
|
3972
|
+
* SelectorBoxFile component for file upload with drag-and-drop support.
|
|
3973
|
+
*
|
|
3974
|
+
* This component provides a file selection interface with validation for file type
|
|
3975
|
+
* and size, upload progress display, error handling, and visual feedback states
|
|
3976
|
+
* (loading, success, error). It manages internal state for file selection and focus.
|
|
3977
|
+
*
|
|
3978
|
+
* @example
|
|
3979
|
+
* ```tsx
|
|
3980
|
+
* <SelectorBoxFile
|
|
3981
|
+
* accept="image/*"
|
|
3982
|
+
* maxSize={5000000}
|
|
3983
|
+
* onChange={(files) => console.log(files)}
|
|
3984
|
+
* onSizeError={(file) => alert('File too large')}
|
|
3985
|
+
* />
|
|
3986
|
+
* ```
|
|
3987
|
+
*/
|
|
3988
|
+
export declare const SelectorBoxFile: ForwardRefExoticComponent<SelectorBoxFileProps<string> & RefAttributes<HTMLDivElement>>;
|
|
4957
3989
|
|
|
4958
3990
|
/**
|
|
4959
3991
|
* Represents the mapping of states to content in the SelectorBoxFile component.
|
|
4960
3992
|
*/
|
|
4961
3993
|
export declare type SelectorBoxFileContainerBoxStateContentProps = {
|
|
4962
3994
|
[key in SelectorBoxFileStateType]: {
|
|
4963
|
-
icon?:
|
|
4964
|
-
iconRight?:
|
|
3995
|
+
icon?: CommonIconProps;
|
|
3996
|
+
iconRight?: CommonIconProps;
|
|
4965
3997
|
actionText?: CommonTextProps;
|
|
4966
|
-
actionIcon?:
|
|
3998
|
+
actionIcon?: CommonIconProps;
|
|
4967
3999
|
description?: CommonTextProps;
|
|
4968
4000
|
};
|
|
4969
4001
|
};
|
|
@@ -4981,6 +4013,8 @@ export declare interface SelectorBoxFileProps<Variant = undefined extends string
|
|
|
4981
4013
|
success?: boolean;
|
|
4982
4014
|
error?: boolean;
|
|
4983
4015
|
disabled?: boolean;
|
|
4016
|
+
errorMaxSizeMessage?: CommonTextProps;
|
|
4017
|
+
errorFileExtensionMessage?: CommonTextProps;
|
|
4984
4018
|
percentage?: number;
|
|
4985
4019
|
variant?: Variant;
|
|
4986
4020
|
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
@@ -4995,16 +4029,8 @@ export declare interface SelectorBoxFileProps<Variant = undefined extends string
|
|
|
4995
4029
|
*/
|
|
4996
4030
|
export declare interface SelectorBoxFileStandAloneProps extends DataAttributes {
|
|
4997
4031
|
state: SelectorBoxFileStateType;
|
|
4998
|
-
title?: CommonTextProps;
|
|
4999
|
-
subtitle?: CommonTextProps;
|
|
5000
|
-
tooltipIcon?: ElementOrIconProps;
|
|
5001
|
-
tooltip?: SelectorBoxFileTooltipProps;
|
|
5002
4032
|
containerBoxStateContent: SelectorBoxFileContainerBoxStateContentProps;
|
|
5003
4033
|
filename?: string;
|
|
5004
|
-
errorMessageIcon?: ElementOrIconProps;
|
|
5005
|
-
errorMessage?: CommonTextProps;
|
|
5006
|
-
errorMaxSizeMessage?: CommonTextProps;
|
|
5007
|
-
errorFileExtensionMessage?: CommonTextProps;
|
|
5008
4034
|
focus: boolean;
|
|
5009
4035
|
onFocus: React.FocusEventHandler<HTMLInputElement>;
|
|
5010
4036
|
onBlur: React.FocusEventHandler<HTMLInputElement>;
|
|
@@ -5015,8 +4041,6 @@ export declare interface SelectorBoxFileStandAloneProps extends DataAttributes {
|
|
|
5015
4041
|
onChange: React.ChangeEventHandler<HTMLInputElement>;
|
|
5016
4042
|
onClick?: React.MouseEventHandler<HTMLInputElement>;
|
|
5017
4043
|
onAnimationCompleted?: () => void;
|
|
5018
|
-
description?: CommonTextProps;
|
|
5019
|
-
button?: SelectorBoxFileButtonProps;
|
|
5020
4044
|
maxSize?: number;
|
|
5021
4045
|
fileExtension?: string[];
|
|
5022
4046
|
loader?: React.ReactNode;
|
|
@@ -5027,19 +4051,7 @@ export declare interface SelectorBoxFileStandAloneProps extends DataAttributes {
|
|
|
5027
4051
|
declare type SelectorBoxFileStateType = Extract<StateType, 'default' | 'loading' | 'success' | 'error' | 'disabled'>;
|
|
5028
4052
|
|
|
5029
4053
|
export declare interface SelectorBoxFileStyleProps extends CssLibPropsType {
|
|
5030
|
-
_actionDescriptionContainer?: CssLibPropsType;
|
|
5031
4054
|
_header?: CssLibPropsType;
|
|
5032
|
-
_titleSubtitleContainer?: CssLibPropsType;
|
|
5033
|
-
_title?: CssLibPropsType;
|
|
5034
|
-
_subtitle?: CssLibPropsType;
|
|
5035
|
-
_subtitleTooltipContainer?: CssLibPropsType;
|
|
5036
|
-
_descriptionContainer?: CssLibPropsType;
|
|
5037
|
-
_description?: CssLibPropsType;
|
|
5038
|
-
_tooltipIconContainer?: CssLibPropsType;
|
|
5039
|
-
_tooltipIcon?: CssLibPropsType;
|
|
5040
|
-
_errorMessageContainer?: CssLibPropsType;
|
|
5041
|
-
_errorMessageIcon?: CssLibPropsType;
|
|
5042
|
-
_errorMessage?: CssLibPropsType;
|
|
5043
4055
|
_animationContainer?: CssLibPropsType;
|
|
5044
4056
|
_topAnimationContainer?: CssLibPropsType;
|
|
5045
4057
|
_leftAnimationContainer?: CssLibPropsType;
|
|
@@ -5057,17 +4069,96 @@ export declare interface SelectorBoxFileStyleProps extends CssLibPropsType {
|
|
|
5057
4069
|
_containerActionContainer?: CssLibPropsType;
|
|
5058
4070
|
}
|
|
5059
4071
|
|
|
4072
|
+
export declare type SelectorBoxFileVariantStyles<Variant extends string> = SelectorBoxFileStyleProps & {
|
|
4073
|
+
[key in Variant]?: SelectorBoxFileStyleProps;
|
|
4074
|
+
};
|
|
4075
|
+
|
|
5060
4076
|
/**
|
|
5061
|
-
* Represents the type for the
|
|
4077
|
+
* Represents the type for the popover in the Select component.
|
|
5062
4078
|
*/
|
|
5063
|
-
export declare type
|
|
5064
|
-
|
|
4079
|
+
export declare type SelectPopoverProps = Omit<IPopover, 'children' | 'open'>;
|
|
4080
|
+
|
|
4081
|
+
/**
|
|
4082
|
+
* Interface for the standalone Select component.
|
|
4083
|
+
* Includes properties for state, event handlers, and CSS classes.
|
|
4084
|
+
*/
|
|
4085
|
+
export declare interface SelectStandAloneProps extends DataAttributes {
|
|
4086
|
+
open: boolean;
|
|
4087
|
+
popover?: SelectPopoverProps;
|
|
4088
|
+
onButtonClick: MouseEventHandler<HTMLButtonElement | HTMLLinkElement>;
|
|
4089
|
+
onButtonKeyDown: KeyboardEventHandler<HTMLButtonElement | HTMLLinkElement>;
|
|
4090
|
+
onClosePopover: () => void;
|
|
4091
|
+
label: CommonTextProps;
|
|
4092
|
+
icon: CommonIconProps;
|
|
4093
|
+
listOptions: SelectListOptionsProps;
|
|
4094
|
+
optionSelected?: string;
|
|
4095
|
+
onOptionClick: (value: string) => void;
|
|
4096
|
+
listOptionsRef: RefObject<HTMLDivElement | null>;
|
|
4097
|
+
closePopoverOnScroll?: boolean;
|
|
4098
|
+
openAndCloseOnHover?: boolean;
|
|
4099
|
+
url?: string;
|
|
4100
|
+
urlTarget?: HTMLAttributeAnchorTarget;
|
|
4101
|
+
component: 'button' | GenericLinkType;
|
|
4102
|
+
buttonOrLinkRef?: RefObject<HTMLButtonElement | null>;
|
|
4103
|
+
onFocus?: FocusEventHandler<HTMLDivElement>;
|
|
4104
|
+
onBlur?: FocusEventHandler<HTMLDivElement>;
|
|
4105
|
+
onKeyDown?: KeyboardEventHandler<HTMLDivElement>;
|
|
4106
|
+
cssClasses?: SelectCssClasses;
|
|
4107
|
+
}
|
|
4108
|
+
|
|
4109
|
+
export declare interface SelectStyleProps extends CssLibPropsType {
|
|
4110
|
+
_buttonOrLinkContainer?: CssLibPropsType;
|
|
4111
|
+
_labelOpened?: CssLibPropsType;
|
|
4112
|
+
_labelClosed?: CssLibPropsType;
|
|
4113
|
+
_iconOpened?: CssLibPropsType;
|
|
4114
|
+
_iconClosed?: CssLibPropsType;
|
|
4115
|
+
_listOptionsContainer?: CssLibPropsType;
|
|
4116
|
+
}
|
|
4117
|
+
|
|
4118
|
+
/**
|
|
4119
|
+
* Interface for the uncontrolled Select component.
|
|
4120
|
+
* Extends the SelectProps interface and adds default properties.
|
|
4121
|
+
*/
|
|
4122
|
+
export declare interface SelectUnControlledProps extends Omit<SelectControlledProps, SelectOmittedProps> {
|
|
4123
|
+
defaultOpen?: boolean;
|
|
4124
|
+
defaultOptionSelected?: string;
|
|
4125
|
+
onOptionClick?: (value: string) => void;
|
|
4126
|
+
onButtonClick?: (open: boolean) => void;
|
|
4127
|
+
onClosePopover?: (open: boolean) => void;
|
|
4128
|
+
onMouseEnter?: (open: boolean) => void;
|
|
4129
|
+
onMouseLeave?: (open: boolean) => void;
|
|
4130
|
+
onFocus?: (open: boolean) => void;
|
|
4131
|
+
onBlur?: (open: boolean) => void;
|
|
4132
|
+
}
|
|
4133
|
+
|
|
4134
|
+
export declare type SelectVariantStyles<Variant extends string> = SelectStyleProps & {
|
|
4135
|
+
[key in Variant]: SelectStyleProps;
|
|
5065
4136
|
};
|
|
5066
4137
|
|
|
5067
|
-
export declare
|
|
5068
|
-
|
|
4138
|
+
export declare const SIZES: {
|
|
4139
|
+
readonly EXTRA_LARGE: "extra_large";
|
|
4140
|
+
readonly EXTRA_SMALL: "extra_small";
|
|
4141
|
+
readonly LARGE: "large";
|
|
4142
|
+
readonly MEDIUM: "medium";
|
|
4143
|
+
readonly SMALL: "small";
|
|
5069
4144
|
};
|
|
5070
4145
|
|
|
4146
|
+
export declare type SizesType = 'extra_small' | 'small' | 'medium' | 'large' | 'extra_large';
|
|
4147
|
+
|
|
4148
|
+
/**
|
|
4149
|
+
* Skeleton component for displaying loading placeholders.
|
|
4150
|
+
*
|
|
4151
|
+
* This component renders animated placeholder shapes while content is loading.
|
|
4152
|
+
* It supports different shapes (rectangle, circle, text) and variants for styling.
|
|
4153
|
+
* Useful for improving perceived performance by showing content structure during loading.
|
|
4154
|
+
*
|
|
4155
|
+
* @example
|
|
4156
|
+
* ```tsx
|
|
4157
|
+
* <Skeleton variant="rectangular" shapeVariant="image" />
|
|
4158
|
+
* <Skeleton variant="text" shapeVariant="heading" />
|
|
4159
|
+
* <Skeleton variant="circular" shapeVariant="avatar" />
|
|
4160
|
+
* ```
|
|
4161
|
+
*/
|
|
5071
4162
|
export declare const Skeleton: ForwardRefExoticComponent<SkeletonProps<string> & RefAttributes<HTMLDivElement>>;
|
|
5072
4163
|
|
|
5073
4164
|
/**
|
|
@@ -5085,8 +4176,8 @@ declare type SkeletonCssClasses = ComponentSelected<ComponentsTypesComponents['S
|
|
|
5085
4176
|
*/
|
|
5086
4177
|
export declare interface SkeletonProps<Variant = undefined extends string ? unknown : string> extends SkeletonStandAloneProps {
|
|
5087
4178
|
variant?: Variant;
|
|
5088
|
-
additionalClasses?:
|
|
5089
|
-
additionalShapeClasses?:
|
|
4179
|
+
additionalClasses?: Partial<SkeletonCssClasses>;
|
|
4180
|
+
additionalShapeClasses?: Partial<SkeletonCssClasses>;
|
|
5090
4181
|
}
|
|
5091
4182
|
|
|
5092
4183
|
export declare type SkeletonShapeStyles<Shape extends string> = CssLibPropsType & {
|
|
@@ -5100,6 +4191,7 @@ export declare type SkeletonShapeStyles<Shape extends string> = CssLibPropsType
|
|
|
5100
4191
|
export declare interface SkeletonStandAloneProps extends SkeletonAriaProps, DataAttributes {
|
|
5101
4192
|
width?: string;
|
|
5102
4193
|
height?: string;
|
|
4194
|
+
borderRadius?: string;
|
|
5103
4195
|
duration?: string;
|
|
5104
4196
|
cssClasses?: SkeletonCssClasses;
|
|
5105
4197
|
shapeVariant?: string;
|
|
@@ -5112,6 +4204,31 @@ export declare type SkeletonVariantStyles<Variant extends string> = CssLibPropsT
|
|
|
5112
4204
|
[key in Variant]?: CssLibPropsType;
|
|
5113
4205
|
};
|
|
5114
4206
|
|
|
4207
|
+
/**
|
|
4208
|
+
* Slider component for selecting values within a range.
|
|
4209
|
+
*
|
|
4210
|
+
* This component provides a draggable slider control for selecting single values
|
|
4211
|
+
* or value ranges. It supports keyboard navigation, custom min/max/step values,
|
|
4212
|
+
* tooltips, and range selection. Handles both mouse and touch interactions.
|
|
4213
|
+
*
|
|
4214
|
+
* @example
|
|
4215
|
+
* ```tsx
|
|
4216
|
+
* <Slider
|
|
4217
|
+
* min={0}
|
|
4218
|
+
* max={100}
|
|
4219
|
+
* value={50}
|
|
4220
|
+
* onChange={(value) => console.log(value)}
|
|
4221
|
+
* />
|
|
4222
|
+
*
|
|
4223
|
+
* // Range slider:
|
|
4224
|
+
* <Slider
|
|
4225
|
+
* min={0}
|
|
4226
|
+
* max={100}
|
|
4227
|
+
* rangeValue={[25, 75]}
|
|
4228
|
+
* onChange={(range) => console.log(range)}
|
|
4229
|
+
* />
|
|
4230
|
+
* ```
|
|
4231
|
+
*/
|
|
5115
4232
|
export declare const Slider: ForwardRefExoticComponent<SliderProps<string> & RefAttributes<HTMLDivElement>>;
|
|
5116
4233
|
|
|
5117
4234
|
/**
|
|
@@ -5183,7 +4300,7 @@ export declare interface SliderStandAloneProps extends DataAttributes {
|
|
|
5183
4300
|
hover: boolean;
|
|
5184
4301
|
pressed: boolean;
|
|
5185
4302
|
activePointer: React.MutableRefObject<string>;
|
|
5186
|
-
containerRef: React.RefObject<HTMLDivElement>;
|
|
4303
|
+
containerRef: React.RefObject<HTMLDivElement | null>;
|
|
5187
4304
|
onMouseDown: React.MouseEventHandler<HTMLDivElement>;
|
|
5188
4305
|
onChange: (event: MouseEvent | React.TouchEvent | React.MouseEvent) => void;
|
|
5189
4306
|
onTouchStart: React.TouchEventHandler<HTMLDivElement>;
|
|
@@ -5244,8 +4361,73 @@ declare type SnackbarV2CssClasses = ComponentSelected<ComponentsTypesComponents[
|
|
|
5244
4361
|
|
|
5245
4362
|
export declare type SnackbarV2Popover = Omit<IPopover, 'children' | 'open'>;
|
|
5246
4363
|
|
|
5247
|
-
declare
|
|
4364
|
+
export declare const STATES: {
|
|
4365
|
+
readonly ACTIVE: "active";
|
|
4366
|
+
readonly ACTIVE_FILLED: "active_filled";
|
|
4367
|
+
readonly ACTIVE_FILLED_HIDE: "active_filled_hide";
|
|
4368
|
+
readonly BLOCKED_BY_SYSTEM: "blocked_by_system";
|
|
4369
|
+
readonly COMPLETED: "completed";
|
|
4370
|
+
readonly CURRENT: "current";
|
|
4371
|
+
readonly CURRENT_DAY: "current_day";
|
|
4372
|
+
readonly DEFAULT: "default";
|
|
4373
|
+
readonly DEFAULT_SELECTED: "default_selected";
|
|
4374
|
+
readonly DEFAULT_UNSELECTED: "default_unselected";
|
|
4375
|
+
readonly DISABLED: "disabled";
|
|
4376
|
+
readonly DISABLED_EMPTY: "disabled_empty";
|
|
4377
|
+
readonly DISABLED_FILLED: "disabled_filled";
|
|
4378
|
+
readonly DISABLED_FILLED_HIDE: "disabled_filled_hide";
|
|
4379
|
+
readonly DISABLED_SELECTED: "disabled_selected";
|
|
4380
|
+
readonly DISABLED_UNSELECTED: "disabled_unselected";
|
|
4381
|
+
readonly EMPTY: "empty";
|
|
4382
|
+
readonly END_DATE_RANGE: "end_date_range";
|
|
4383
|
+
readonly ERROR: "error";
|
|
4384
|
+
readonly ERROR_EMPTY: "error_empty";
|
|
4385
|
+
readonly ERROR_FILLED: "error_filled";
|
|
4386
|
+
readonly ERROR_FILLED_HIDE: "error_filled_hide";
|
|
4387
|
+
readonly ERROR_SELECTED: "error_selected";
|
|
4388
|
+
readonly ERROR_UNSELECTED: "error_unselected";
|
|
4389
|
+
readonly FILLED: "filled";
|
|
4390
|
+
readonly FILLED_HIDE: "filled_hide";
|
|
4391
|
+
readonly FILLING: "filling";
|
|
4392
|
+
readonly FOCUS: "focus";
|
|
4393
|
+
readonly HOVER: "hover";
|
|
4394
|
+
readonly INACTIVE: "inactive";
|
|
4395
|
+
readonly LOADING: "loading";
|
|
4396
|
+
readonly MIDLE_DATE_RANGE: "midle_date_range";
|
|
4397
|
+
readonly MULTIPLE_SELECTED: "multiple_selected";
|
|
4398
|
+
readonly MULTIPLE_SELECTED_HOVER: "multiple_selected_hover";
|
|
4399
|
+
readonly PENDING: "pending";
|
|
4400
|
+
readonly PREFILLED: "prefilled";
|
|
4401
|
+
readonly PRESSED: "pressed";
|
|
4402
|
+
readonly SELECTED: "selected";
|
|
4403
|
+
readonly SELECTED_HOVER: "selected_hover";
|
|
4404
|
+
readonly START_DATE_RANGE: "start_date_range";
|
|
4405
|
+
readonly SUCCESS: "success";
|
|
4406
|
+
readonly UNSELECTED: "unselected";
|
|
4407
|
+
readonly VISITED: "visited";
|
|
4408
|
+
readonly WARNING: "warning";
|
|
4409
|
+
};
|
|
4410
|
+
|
|
4411
|
+
export declare type StateType = 'active' | 'active_filled' | 'active_filled_hide' | 'completed' | 'default' | 'default_selected' | 'default_unselected' | 'disabled' | 'disabled_empty' | 'disabled_filled' | 'disabled_filled_hide' | 'disabled_selected' | 'disabled_unselected' | 'error' | 'error_empty' | 'error_filled' | 'error_filled_hide' | 'empty' | 'filled' | 'filled_hide' | 'focus' | 'hover' | 'loading' | 'multiple_selected' | 'multiple_selected_hover' | 'prefilled' | 'pressed' | 'selected' | 'selected_hover' | 'success' | 'warning' | 'visited' | 'inactive' | 'filling' | 'blocked_by_system' | 'error_unselected' | 'error_selected' | 'current' | 'current_day' | 'start_date_range' | 'end_date_range' | 'midle_date_range' | 'pending' | 'unselected';
|
|
5248
4412
|
|
|
4413
|
+
/**
|
|
4414
|
+
* StepperNumber component for incrementing/decrementing numeric values.
|
|
4415
|
+
*
|
|
4416
|
+
* This component provides plus/minus buttons for adjusting numeric values with
|
|
4417
|
+
* configurable step intervals. Supports both horizontal and vertical orientations.
|
|
4418
|
+
*
|
|
4419
|
+
* @example
|
|
4420
|
+
* ```tsx
|
|
4421
|
+
* <StepperNumber
|
|
4422
|
+
* value={5}
|
|
4423
|
+
* min={0}
|
|
4424
|
+
* max={10}
|
|
4425
|
+
* step={1}
|
|
4426
|
+
* onChange={(newValue) => console.log(newValue)}
|
|
4427
|
+
* orientation="horizontal"
|
|
4428
|
+
* />
|
|
4429
|
+
* ```
|
|
4430
|
+
*/
|
|
5249
4431
|
export declare const StepperNumber: ForwardRefExoticComponent<StepperNumberProps<string> & RefAttributes<HTMLDivElement>>;
|
|
5250
4432
|
|
|
5251
4433
|
declare type StepperNumberCssClasses = ComponentSelected<ComponentsTypesComponents['STEPPER_NUMBER']>;
|
|
@@ -5254,7 +4436,7 @@ export declare type StepperNumberOrientationStyles<Orientation extends StepperNu
|
|
|
5254
4436
|
[key in Orientation]?: StepperNumberStyleProps;
|
|
5255
4437
|
};
|
|
5256
4438
|
|
|
5257
|
-
declare type StepperNumberOrientationType = 'horizontal' | 'vertical';
|
|
4439
|
+
export declare type StepperNumberOrientationType = 'horizontal' | 'vertical';
|
|
5258
4440
|
|
|
5259
4441
|
declare interface StepperNumberprefixSuffixProps {
|
|
5260
4442
|
prefix?: {
|
|
@@ -5340,42 +4522,140 @@ export declare interface StepStateProps {
|
|
|
5340
4522
|
['aria-label']?: string;
|
|
5341
4523
|
}
|
|
5342
4524
|
|
|
4525
|
+
/**
|
|
4526
|
+
* React Context for styles and theming.
|
|
4527
|
+
* Provides access to styling utilities, theme management, and responsive breakpoints.
|
|
4528
|
+
*/
|
|
5343
4529
|
export declare const StylesContext: Context<StylesContextProps | undefined>;
|
|
5344
4530
|
|
|
4531
|
+
/**
|
|
4532
|
+
* Context value provided by StylesProvider.
|
|
4533
|
+
* Contains all styling-related data and utilities available to child components.
|
|
4534
|
+
*/
|
|
5345
4535
|
declare interface StylesContextProps {
|
|
4536
|
+
/** Current responsive breakpoints configuration */
|
|
5346
4537
|
breakpoints: Breakpoints;
|
|
4538
|
+
/** Array of CSS class names or null */
|
|
5347
4539
|
classes: string[] | null;
|
|
4540
|
+
/** Pre-built media query strings for responsive design */
|
|
5348
4541
|
mediaQueries: MediaQueries;
|
|
4542
|
+
/** Map of available icons */
|
|
5349
4543
|
icons: Record<string, string>;
|
|
4544
|
+
/** Map of available illustrations */
|
|
5350
4545
|
illustrations: Record<string, string>;
|
|
4546
|
+
/** Currently active theme name, or null if no theme is selected */
|
|
5351
4547
|
currentTheme: string | null;
|
|
4548
|
+
/** Function to retrieve styles for a specific component and variant */
|
|
5352
4549
|
getComponentStyles: RecoverComponentStyles;
|
|
4550
|
+
/** Function to change the active theme */
|
|
5353
4551
|
changeTheme: (themeName: string) => void;
|
|
4552
|
+
/** Array of CSS class names for the current theme */
|
|
5354
4553
|
themeClassNames: string[];
|
|
4554
|
+
/** Map of all available themes */
|
|
5355
4555
|
themes: Record<string, string>;
|
|
4556
|
+
/** Map of CSS custom properties (variables) for the current theme */
|
|
5356
4557
|
themeVariables: Record<string, string>;
|
|
5357
4558
|
}
|
|
5358
4559
|
|
|
5359
4560
|
/**
|
|
5360
|
-
* Provider component
|
|
4561
|
+
* Provider component for styles, theming, and responsive design utilities.
|
|
4562
|
+
* Manages theme selection, CSS class generation, and provides styling context to child components.
|
|
4563
|
+
*
|
|
4564
|
+
* Features:
|
|
4565
|
+
* - Theme management with dynamic theme switching
|
|
4566
|
+
* - Responsive breakpoints and media queries
|
|
4567
|
+
* - Icon and illustration asset management
|
|
4568
|
+
* - Component-specific style retrieval
|
|
4569
|
+
* - CSS-in-JS support via Bernova provider
|
|
4570
|
+
*
|
|
4571
|
+
* @param props - Configuration props for the styles provider
|
|
4572
|
+
* @param props.children - React children to be wrapped by the provider
|
|
4573
|
+
* @param props.breakpoints - Custom responsive breakpoints (defaults to standard breakpoints if not provided)
|
|
4574
|
+
* @param props.icons - Map of icon names to URLs or base64 strings
|
|
4575
|
+
* @param props.illustrations - Map of illustration names to URLs or base64 strings
|
|
4576
|
+
* @param props.themeSelected - Initial theme to apply
|
|
4577
|
+
* @param props.bernovaProvider - Custom Bernova provider instance for advanced styling control
|
|
4578
|
+
* @param props.linkId - ID for the style link element in the DOM (default: 'kb-styled-provider')
|
|
4579
|
+
* @param props.jsInCss - Whether to inject CSS directly into JavaScript (default: true)
|
|
4580
|
+
*
|
|
4581
|
+
* @returns The styled provider component wrapping all child components
|
|
4582
|
+
*
|
|
4583
|
+
* @example
|
|
4584
|
+
* ```tsx
|
|
4585
|
+
* <StylesProvider
|
|
4586
|
+
* themeSelected="dark"
|
|
4587
|
+
* breakpoints={{ sm: 576, md: 768, lg: 992, xl: 1200 }}
|
|
4588
|
+
* icons={{ home: '/icons/home.svg' }}
|
|
4589
|
+
* >
|
|
4590
|
+
* <App />
|
|
4591
|
+
* </StylesProvider>
|
|
4592
|
+
* ```
|
|
5361
4593
|
*/
|
|
5362
4594
|
export declare const StylesProvider: FC<StylesProviderProps>;
|
|
5363
4595
|
|
|
4596
|
+
/**
|
|
4597
|
+
* Props for the StylesProvider component.
|
|
4598
|
+
* Configures the styling system including themes, breakpoints, and assets.
|
|
4599
|
+
*/
|
|
5364
4600
|
declare interface StylesProviderProps {
|
|
4601
|
+
/** The React children to be wrapped by the provider */
|
|
5365
4602
|
children: React.ReactNode;
|
|
4603
|
+
/** Custom breakpoints for responsive design. If not provided, uses default breakpoints */
|
|
5366
4604
|
breakpoints?: Breakpoints;
|
|
4605
|
+
/** Map of icon names to their corresponding URLs or base64 strings */
|
|
5367
4606
|
icons?: Record<string, string>;
|
|
4607
|
+
/** Map of illustration names to their corresponding URLs or base64 strings */
|
|
5368
4608
|
illustrations?: Record<string, string>;
|
|
4609
|
+
/** The initial theme to be applied. If not provided, uses the provider's default theme */
|
|
5369
4610
|
themeSelected?: string;
|
|
5370
|
-
|
|
4611
|
+
/** Custom Bernova provider instance for advanced styling control */
|
|
4612
|
+
bernovaProvider?: never;
|
|
4613
|
+
/** ID for the style link element in the DOM. Default: 'kb-styled-provider' */
|
|
5371
4614
|
linkId?: string;
|
|
4615
|
+
/** Whether to inject CSS directly into JavaScript. Default: true */
|
|
5372
4616
|
jsInCss?: boolean;
|
|
4617
|
+
genericComponents?: GenericComponentsType;
|
|
4618
|
+
dateHelpers?: dateHelpers;
|
|
5373
4619
|
}
|
|
5374
4620
|
|
|
4621
|
+
/**
|
|
4622
|
+
* Table component with automatic sticky column calculations and scroll shadow effects.
|
|
4623
|
+
*
|
|
4624
|
+
* This component wraps TableStandAlone and adds automatic sticky positioning for left
|
|
4625
|
+
* and right columns, scroll shadow effects, and responsive behavior. It manages scroll
|
|
4626
|
+
* state and column positioning internally.
|
|
4627
|
+
*
|
|
4628
|
+
* @example
|
|
4629
|
+
* ```tsx
|
|
4630
|
+
* <Table
|
|
4631
|
+
* variant="primary"
|
|
4632
|
+
* autoLeftStickyCalc={true}
|
|
4633
|
+
* autoRightStickyCalc={true}
|
|
4634
|
+
* >
|
|
4635
|
+
* <thead>...</thead>
|
|
4636
|
+
* <tbody>...</tbody>
|
|
4637
|
+
* </Table>
|
|
4638
|
+
* ```
|
|
4639
|
+
*/
|
|
5375
4640
|
export declare const Table: ForwardRefExoticComponent<TableProps & {
|
|
5376
4641
|
children?: ReactNode | undefined;
|
|
5377
4642
|
} & RefAttributes<HTMLDivElement>>;
|
|
5378
4643
|
|
|
4644
|
+
/**
|
|
4645
|
+
* TableBody component for rendering table body sections.
|
|
4646
|
+
*
|
|
4647
|
+
* This component wraps the tbody element with consistent styling and variant support.
|
|
4648
|
+
* Use it as a container for TableRow components within a Table.
|
|
4649
|
+
*
|
|
4650
|
+
* @example
|
|
4651
|
+
* ```tsx
|
|
4652
|
+
* <Table>
|
|
4653
|
+
* <TableBody variant="default">
|
|
4654
|
+
* <TableRow>...</TableRow>
|
|
4655
|
+
* </TableBody>
|
|
4656
|
+
* </Table>
|
|
4657
|
+
* ```
|
|
4658
|
+
*/
|
|
5379
4659
|
export declare const TableBody: ForwardRefExoticComponent<TableBodyProps & {
|
|
5380
4660
|
children?: ReactNode | undefined;
|
|
5381
4661
|
} & RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -5397,6 +4677,22 @@ export declare type TableBodyVariantStyles<Variant extends string> = CssLibProps
|
|
|
5397
4677
|
[key in Variant]: CssLibPropsType;
|
|
5398
4678
|
};
|
|
5399
4679
|
|
|
4680
|
+
/**
|
|
4681
|
+
* TableCaption component for providing titles or descriptions for tables.
|
|
4682
|
+
*
|
|
4683
|
+
* This component renders a caption element for tables, helping users understand
|
|
4684
|
+
* the table's purpose or contents. Important for accessibility and SEO.
|
|
4685
|
+
*
|
|
4686
|
+
* @example
|
|
4687
|
+
* ```tsx
|
|
4688
|
+
* <Table>
|
|
4689
|
+
* <TableCaption variant="default">
|
|
4690
|
+
* Sales Report for Q4 2024
|
|
4691
|
+
* </TableCaption>
|
|
4692
|
+
* <TableHead>...</TableHead>
|
|
4693
|
+
* </Table>
|
|
4694
|
+
* ```
|
|
4695
|
+
*/
|
|
5400
4696
|
export declare const TableCaption: ForwardRefExoticComponent<TableCaptionProps & {
|
|
5401
4697
|
children?: ReactNode | undefined;
|
|
5402
4698
|
} & RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -5419,6 +4715,20 @@ export declare type TableCaptionVariantStyles<Variant extends string> = CssLibPr
|
|
|
5419
4715
|
[key in Variant]: CssLibPropsType;
|
|
5420
4716
|
};
|
|
5421
4717
|
|
|
4718
|
+
/**
|
|
4719
|
+
* TableCell component for rendering individual table cells.
|
|
4720
|
+
*
|
|
4721
|
+
* This component wraps td or th elements with consistent styling and variant support.
|
|
4722
|
+
* Use it within TableRow components to display data or headers in a table.
|
|
4723
|
+
*
|
|
4724
|
+
* @example
|
|
4725
|
+
* ```tsx
|
|
4726
|
+
* <TableRow>
|
|
4727
|
+
* <TableCell variant="default">Cell content</TableCell>
|
|
4728
|
+
* <TableCell>Another cell</TableCell>
|
|
4729
|
+
* </TableRow>
|
|
4730
|
+
* ```
|
|
4731
|
+
*/
|
|
5422
4732
|
export declare const TableCell: ForwardRefExoticComponent<TableCellProps<string> & {
|
|
5423
4733
|
children?: ReactNode | undefined;
|
|
5424
4734
|
} & RefAttributes<HTMLTableCellElement>>;
|
|
@@ -5475,6 +4785,23 @@ export declare type TableCellVariantStyles<Variant extends string> = CssLibProps
|
|
|
5475
4785
|
|
|
5476
4786
|
declare type TableCssClasses = ComponentSelected<ComponentsTypesComponents['TABLE']>;
|
|
5477
4787
|
|
|
4788
|
+
/**
|
|
4789
|
+
* TableDivider component for rendering visual separators in tables.
|
|
4790
|
+
*
|
|
4791
|
+
* This component creates visual dividers or separators between table sections.
|
|
4792
|
+
* Useful for organizing complex tables with multiple logical groups of data.
|
|
4793
|
+
*
|
|
4794
|
+
* @example
|
|
4795
|
+
* ```tsx
|
|
4796
|
+
* <Table>
|
|
4797
|
+
* <TableBody>
|
|
4798
|
+
* <TableRow>...</TableRow>
|
|
4799
|
+
* <TableDivider variant="default" />
|
|
4800
|
+
* <TableRow>...</TableRow>
|
|
4801
|
+
* </TableBody>
|
|
4802
|
+
* </Table>
|
|
4803
|
+
* ```
|
|
4804
|
+
*/
|
|
5478
4805
|
export declare const TableDivider: ForwardRefExoticComponent<TableDividerProps & {
|
|
5479
4806
|
children?: ReactNode | undefined;
|
|
5480
4807
|
} & RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -5496,6 +4823,25 @@ export declare type TableDividerVariantStyles<Variant extends string> = CssLibPr
|
|
|
5496
4823
|
[key in Variant]: CssLibPropsType;
|
|
5497
4824
|
};
|
|
5498
4825
|
|
|
4826
|
+
/**
|
|
4827
|
+
* TableFoot component for rendering table footer sections.
|
|
4828
|
+
*
|
|
4829
|
+
* This component wraps the tfoot element with consistent styling and variant support.
|
|
4830
|
+
* Use it to display summary rows, totals, or footer information in a table.
|
|
4831
|
+
*
|
|
4832
|
+
* @example
|
|
4833
|
+
* ```tsx
|
|
4834
|
+
* <Table>
|
|
4835
|
+
* <TableBody>...</TableBody>
|
|
4836
|
+
* <TableFoot variant="default">
|
|
4837
|
+
* <TableRow>
|
|
4838
|
+
* <TableCell>Total</TableCell>
|
|
4839
|
+
* <TableCell>$1,234</TableCell>
|
|
4840
|
+
* </TableRow>
|
|
4841
|
+
* </TableFoot>
|
|
4842
|
+
* </Table>
|
|
4843
|
+
* ```
|
|
4844
|
+
*/
|
|
5499
4845
|
export declare const TableFoot: ForwardRefExoticComponent<TableFootProps & {
|
|
5500
4846
|
children?: ReactNode | undefined;
|
|
5501
4847
|
} & RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -5517,6 +4863,23 @@ export declare type TableFootVariantStyles<Variant extends string> = CssLibProps
|
|
|
5517
4863
|
[key in Variant]: CssLibPropsType;
|
|
5518
4864
|
};
|
|
5519
4865
|
|
|
4866
|
+
/**
|
|
4867
|
+
* TableHead component for rendering table header sections.
|
|
4868
|
+
*
|
|
4869
|
+
* This component wraps the thead element with consistent styling and variant support.
|
|
4870
|
+
* Use it as a container for TableRow components with header cells within a Table.
|
|
4871
|
+
*
|
|
4872
|
+
* @example
|
|
4873
|
+
* ```tsx
|
|
4874
|
+
* <Table>
|
|
4875
|
+
* <TableHead variant="default">
|
|
4876
|
+
* <TableRow>
|
|
4877
|
+
* <TableCell>Header 1</TableCell>
|
|
4878
|
+
* </TableRow>
|
|
4879
|
+
* </TableHead>
|
|
4880
|
+
* </Table>
|
|
4881
|
+
* ```
|
|
4882
|
+
*/
|
|
5520
4883
|
export declare const TableHead: ForwardRefExoticComponent<TableHeadProps & {
|
|
5521
4884
|
children?: ReactNode | undefined;
|
|
5522
4885
|
} & RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -5548,6 +4911,22 @@ export declare interface TableProps extends Omit<TableStandAloneProps, 'hasScrol
|
|
|
5548
4911
|
additionalClasses?: Partial<TableCssClasses>;
|
|
5549
4912
|
}
|
|
5550
4913
|
|
|
4914
|
+
/**
|
|
4915
|
+
* TableRow component for rendering table rows.
|
|
4916
|
+
*
|
|
4917
|
+
* This component wraps the tr element with consistent styling and variant support.
|
|
4918
|
+
* Use it as a container for TableCell components within TableHead or TableBody sections.
|
|
4919
|
+
*
|
|
4920
|
+
* @example
|
|
4921
|
+
* ```tsx
|
|
4922
|
+
* <TableBody>
|
|
4923
|
+
* <TableRow variant="default">
|
|
4924
|
+
* <TableCell>Data 1</TableCell>
|
|
4925
|
+
* <TableCell>Data 2</TableCell>
|
|
4926
|
+
* </TableRow>
|
|
4927
|
+
* </TableBody>
|
|
4928
|
+
* ```
|
|
4929
|
+
*/
|
|
5551
4930
|
export declare const TableRow: ForwardRefExoticComponent<TableRowProps & {
|
|
5552
4931
|
children?: ReactNode | undefined;
|
|
5553
4932
|
} & RefAttributes<HTMLTableRowElement>>;
|
|
@@ -5597,8 +4976,44 @@ export declare type TableVariantStyles<Variant extends string> = TableStyleProps
|
|
|
5597
4976
|
[key in Variant]: TableStyleProps;
|
|
5598
4977
|
};
|
|
5599
4978
|
|
|
4979
|
+
/**
|
|
4980
|
+
* TabsUnControlled component with internal tab selection state.
|
|
4981
|
+
*
|
|
4982
|
+
* This component renders a tab navigation that manages the selected tab internally.
|
|
4983
|
+
* It starts with a default selected tab and updates automatically on user interaction.
|
|
4984
|
+
* Useful when you don't need to control tab selection from a parent component.
|
|
4985
|
+
*
|
|
4986
|
+
* @example
|
|
4987
|
+
* ```tsx
|
|
4988
|
+
* <TabsUnControlled
|
|
4989
|
+
* defaultSelectedTab={0}
|
|
4990
|
+
* tabs={[
|
|
4991
|
+
* { id: 'tab1', label: 'Tab 1' },
|
|
4992
|
+
* { id: 'tab2', label: 'Tab 2' }
|
|
4993
|
+
* ]}
|
|
4994
|
+
* onSelectTab={(index) => console.log(index)}
|
|
4995
|
+
* />
|
|
4996
|
+
* ```
|
|
4997
|
+
*/
|
|
5600
4998
|
export declare const Tabs: ForwardRefExoticComponent<TabsUnControlledProps<string | undefined> & RefAttributes<HTMLDivElement>>;
|
|
5601
4999
|
|
|
5000
|
+
/**
|
|
5001
|
+
* TabsControlled component for tab navigation with external state management.
|
|
5002
|
+
*
|
|
5003
|
+
* This component displays a set of tabs where the selected tab is controlled
|
|
5004
|
+
* externally via props. It's device-aware and adjusts behavior based on screen size.
|
|
5005
|
+
*
|
|
5006
|
+
* @example
|
|
5007
|
+
* ```tsx
|
|
5008
|
+
* <TabsControlled
|
|
5009
|
+
* defaultSelectedTab="tab1"
|
|
5010
|
+
* tabs={[
|
|
5011
|
+
* { id: 'tab1', label: 'Tab 1' },
|
|
5012
|
+
* { id: 'tab2', label: 'Tab 2' }
|
|
5013
|
+
* ]}
|
|
5014
|
+
* />
|
|
5015
|
+
* ```
|
|
5016
|
+
*/
|
|
5602
5017
|
export declare const TabsControlled: ForwardRefExoticComponent<TabsUnControlledProps<string> & RefAttributes<HTMLDivElement>>;
|
|
5603
5018
|
|
|
5604
5019
|
declare type TabsCssClasses = ComponentSelected<ComponentsTypesComponents['TABS']>;
|
|
@@ -5753,6 +5168,23 @@ export declare type TagVariantStyles<Variant extends string> = TagStyleProps & {
|
|
|
5753
5168
|
declare const Text_2: ForwardRefExoticComponent<TextProps<string> & RefAttributes<HTMLParagraphElement>>;
|
|
5754
5169
|
export { Text_2 as Text }
|
|
5755
5170
|
|
|
5171
|
+
/**
|
|
5172
|
+
* TextArea component for multi-line text input.
|
|
5173
|
+
*
|
|
5174
|
+
* This component provides a styled textarea with support for labels, error states,
|
|
5175
|
+
* character counting, and focus management. It handles internal focus state and
|
|
5176
|
+
* applies appropriate styling based on filled and error states.
|
|
5177
|
+
*
|
|
5178
|
+
* @example
|
|
5179
|
+
* ```tsx
|
|
5180
|
+
* <TextArea
|
|
5181
|
+
* label="Comments"
|
|
5182
|
+
* placeholder="Enter your comments"
|
|
5183
|
+
* maxLength={500}
|
|
5184
|
+
* error="Required field"
|
|
5185
|
+
* />
|
|
5186
|
+
* ```
|
|
5187
|
+
*/
|
|
5756
5188
|
export declare const TextArea: ForwardRefExoticComponent<TextAreaProps<string | undefined> & RefAttributes<HTMLDivElement>>;
|
|
5757
5189
|
|
|
5758
5190
|
export declare type TextAreaCssClasses = ComponentSelected<ComponentsTypesComponents['TEXT_AREA']>;
|
|
@@ -5840,6 +5272,15 @@ declare type TextAriaProps = Pick<React.AriaAttributes, 'aria-label' | 'aria-lab
|
|
|
5840
5272
|
|
|
5841
5273
|
declare type TextComponentType = 'b' | 'a' | 'strong' | 'i' | 'em' | 'mark' | 'small' | 'del' | 'ins' | 'sub' | 'sup' | 'p' | 'span' | 'label' | 'legend' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'dl' | 'dt' | 'dd' | 'div' | (string & {});
|
|
5842
5274
|
|
|
5275
|
+
export declare interface TextCountPropsStylesType extends CssLibPropsType {
|
|
5276
|
+
_letfText?: CssLibPropsType;
|
|
5277
|
+
_rightText?: CssLibPropsType;
|
|
5278
|
+
}
|
|
5279
|
+
|
|
5280
|
+
export declare type TextCountStylesType<P extends string> = TextCountPropsStylesType & {
|
|
5281
|
+
[variant in P]: TextCountPropsStylesType;
|
|
5282
|
+
};
|
|
5283
|
+
|
|
5843
5284
|
export declare type TextCssClasses = ComponentSelected<ComponentsTypesComponents['TEXT']>;
|
|
5844
5285
|
|
|
5845
5286
|
/**
|
|
@@ -6038,17 +5479,46 @@ export declare type ToggleVariantStyles<Variant extends string> = ToggleVariantS
|
|
|
6038
5479
|
[key in Variant]?: ToggleVariantStyleProps;
|
|
6039
5480
|
};
|
|
6040
5481
|
|
|
5482
|
+
/**
|
|
5483
|
+
* TooltipUnControlled component with internal visibility management.
|
|
5484
|
+
*
|
|
5485
|
+
* This component renders a tooltip that manages its own open/close state based
|
|
5486
|
+
* on user interactions (hover, focus). It handles modal behavior on mobile devices,
|
|
5487
|
+
* scroll detection, swipe gestures, and focus trapping automatically.
|
|
5488
|
+
*
|
|
5489
|
+
* @example
|
|
5490
|
+
* ```tsx
|
|
5491
|
+
* <TooltipUnControlled
|
|
5492
|
+
* title="Helpful information"
|
|
5493
|
+
* variant="default"
|
|
5494
|
+
* >
|
|
5495
|
+
* <button>Hover me</button>
|
|
5496
|
+
* </TooltipUnControlled>
|
|
5497
|
+
* ```
|
|
5498
|
+
*/
|
|
6041
5499
|
export declare const Tooltip: ForwardRefExoticComponent<TooltipUnControlledProps<string | undefined> & RefAttributes<HTMLDivElement>>;
|
|
6042
5500
|
|
|
6043
5501
|
declare type TooltipAlignType = Extract<PositionType, 'top' | 'right' | 'bottom' | 'left'>;
|
|
6044
5502
|
|
|
6045
5503
|
/**
|
|
6046
|
-
*
|
|
5504
|
+
* TooltipControlled component for displaying contextual information.
|
|
5505
|
+
*
|
|
5506
|
+
* This component renders a tooltip that can be shown on hover or focus.
|
|
5507
|
+
* It supports modal behavior on mobile devices and adjusts positioning based
|
|
5508
|
+
* on scroll detection. State is managed externally via props.
|
|
5509
|
+
*
|
|
5510
|
+
* @example
|
|
5511
|
+
* ```tsx
|
|
5512
|
+
* <TooltipControlled
|
|
5513
|
+
* variant="default"
|
|
5514
|
+
* title="Help text"
|
|
5515
|
+
* open={isOpen}
|
|
5516
|
+
* onOpenChange={setIsOpen}
|
|
5517
|
+
* >
|
|
5518
|
+
* <button>Hover me</button>
|
|
5519
|
+
* </TooltipControlled>
|
|
5520
|
+
* ```
|
|
6047
5521
|
*/
|
|
6048
|
-
export declare type TooltipCloseIconProps = Omit<IconProps, 'icon'> & {
|
|
6049
|
-
icon?: string;
|
|
6050
|
-
};
|
|
6051
|
-
|
|
6052
5522
|
export declare const TooltipControlled: <Variant extends string>({ additionalClasses, tooltipAriaLabel, tooltipAsModal: propTooltipAsModal, tooltipAsModal: isModal, tooltipRef, variant, ...props }: TooltipControlledProps<Variant>) => JSX.Element;
|
|
6053
5523
|
|
|
6054
5524
|
/**
|
|
@@ -6083,7 +5553,6 @@ export declare interface TooltipStandAloneProps extends DataAttributes {
|
|
|
6083
5553
|
disabled?: boolean;
|
|
6084
5554
|
mediaDevice: DeviceBreakpointsType;
|
|
6085
5555
|
align?: TooltipAlignType | string;
|
|
6086
|
-
title?: CommonTextProps;
|
|
6087
5556
|
contentHasScroll?: boolean;
|
|
6088
5557
|
content?: CommonTextProps;
|
|
6089
5558
|
contentRef?: ForwardedRef<HTMLDivElement> | undefined;
|
|
@@ -6095,11 +5564,9 @@ export declare interface TooltipStandAloneProps extends DataAttributes {
|
|
|
6095
5564
|
onTriggerClick?: MouseEventHandler<HTMLElement>;
|
|
6096
5565
|
onTriggerMouseDown?: MouseEventHandler<HTMLElement>;
|
|
6097
5566
|
onTriggerMouseUp?: MouseEventHandler<HTMLElement>;
|
|
6098
|
-
onCloseIconClick?: MouseEventHandler<HTMLElement>;
|
|
6099
5567
|
children: JSX.Element | string | ReactNode;
|
|
6100
5568
|
popoverOpen?: boolean;
|
|
6101
5569
|
cssClasses?: TooltipCssClasses;
|
|
6102
|
-
closeIcon?: IconProps;
|
|
6103
5570
|
childrenAsButton?: boolean;
|
|
6104
5571
|
triggerAsButton?: Pick<AriaAttributes, 'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'aria-controls' | 'aria-expanded' | 'aria-pressed' | 'aria-disabled'>;
|
|
6105
5572
|
onPopoverCloseInternally?: () => void;
|
|
@@ -6110,8 +5577,6 @@ export declare interface TooltipStandAloneProps extends DataAttributes {
|
|
|
6110
5577
|
onTriggerKeyDown?: KeyboardEventHandler<HTMLDivElement>;
|
|
6111
5578
|
onTooltipKeyDown?: KeyboardEventHandler<HTMLElement>;
|
|
6112
5579
|
popover?: TooltipPopoverProps;
|
|
6113
|
-
dragIcon?: ElementOrIconProps;
|
|
6114
|
-
dragIconRef?: MutableRefObject<HTMLDivElement | null>;
|
|
6115
5580
|
tooltipAriaLabel?: string;
|
|
6116
5581
|
}
|
|
6117
5582
|
|
|
@@ -6149,6 +5614,24 @@ export declare type TooltipVariantStyles<Variant extends string> = TooltipStyleP
|
|
|
6149
5614
|
[key in Variant]?: TooltipStyleProps;
|
|
6150
5615
|
};
|
|
6151
5616
|
|
|
5617
|
+
/**
|
|
5618
|
+
* Custom hook to access the generic components context.
|
|
5619
|
+
* Provides access to the custom Link and Image components configured in the provider.
|
|
5620
|
+
*
|
|
5621
|
+
* @throws {Error} If used outside of a GenericComponentsProvider or with invalid value
|
|
5622
|
+
* @returns The generic components (LINK, IMAGE) from the context
|
|
5623
|
+
*
|
|
5624
|
+
* @example
|
|
5625
|
+
* ```tsx
|
|
5626
|
+
* const { LINK, IMAGE } = useGenericComponents();
|
|
5627
|
+
*
|
|
5628
|
+
* return (
|
|
5629
|
+
* <LINK url="/home">
|
|
5630
|
+
* <IMAGE src="/logo.png" alt="Logo" />
|
|
5631
|
+
* </LINK>
|
|
5632
|
+
* );
|
|
5633
|
+
* ```
|
|
5634
|
+
*/
|
|
6152
5635
|
export declare const useGenericComponents: () => GenericComponentsType;
|
|
6153
5636
|
|
|
6154
5637
|
declare interface UseRoveFocusProps {
|
|
@@ -6164,10 +5647,17 @@ declare interface UseRoveFocusProps {
|
|
|
6164
5647
|
}
|
|
6165
5648
|
|
|
6166
5649
|
/**
|
|
6167
|
-
* Custom hook to access the
|
|
5650
|
+
* Custom hook to access the StylesContext.
|
|
5651
|
+
* Provides styling utilities including theme management, breakpoints, and component styles.
|
|
6168
5652
|
*
|
|
6169
|
-
* @throws
|
|
6170
|
-
* @returns The current
|
|
5653
|
+
* @throws {Error} If used outside of a StylesProvider
|
|
5654
|
+
* @returns The current styles context value
|
|
5655
|
+
*
|
|
5656
|
+
* @example
|
|
5657
|
+
* ```tsx
|
|
5658
|
+
* const { currentTheme, changeTheme, getComponentStyles } = useStylesContext();
|
|
5659
|
+
* const styles = getComponentStyles({ component: 'button', variant: 'primary' });
|
|
5660
|
+
* ```
|
|
6171
5661
|
*/
|
|
6172
5662
|
export declare const useStylesContext: () => StylesContextProps;
|
|
6173
5663
|
|
|
@@ -6192,29 +5682,46 @@ export declare const useUtilsProvider: () => UtilsContextType;
|
|
|
6192
5682
|
*/
|
|
6193
5683
|
export declare const UtilsContext: Context<UtilsContextType | null>;
|
|
6194
5684
|
|
|
5685
|
+
/**
|
|
5686
|
+
* Context type for utility functions and configurations.
|
|
5687
|
+
* Provides date manipulation, formatting, and asset management utilities.
|
|
5688
|
+
*/
|
|
6195
5689
|
declare interface UtilsContextType {
|
|
5690
|
+
/**
|
|
5691
|
+
* Base URLs for different types of assets.
|
|
5692
|
+
* Used to construct full paths for icons, illustrations, images, and animations.
|
|
5693
|
+
*/
|
|
6196
5694
|
assets?: {
|
|
5695
|
+
/** Base URL for all assets */
|
|
6197
5696
|
baseHost: string;
|
|
5697
|
+
/** Specific base URL for icon assets */
|
|
6198
5698
|
iconsBaseHost?: string;
|
|
5699
|
+
/** Specific base URL for illustration assets */
|
|
6199
5700
|
illutrationsBaseHost?: string;
|
|
5701
|
+
/** Specific base URL for image assets */
|
|
6200
5702
|
imagesBaseHost?: string;
|
|
5703
|
+
/** Specific base URL for animation assets */
|
|
6201
5704
|
animationsBaseHost?: string;
|
|
6202
5705
|
};
|
|
5706
|
+
/**
|
|
5707
|
+
* Formats a Date object into a string representation.
|
|
5708
|
+
* @param date - The date to format
|
|
5709
|
+
* @param format - Format string or options object (e.g., 'dd/MM/yyyy', 'd', etc.)
|
|
5710
|
+
* @param locale - Optional locale string (e.g., 'en-US', 'es-ES')
|
|
5711
|
+
* @returns Formatted date string
|
|
5712
|
+
*/
|
|
6203
5713
|
formatDate: (date: Date, format: DateFormatOptions | FormatDateType | string, locale?: string) => string;
|
|
5714
|
+
/**
|
|
5715
|
+
* Transforms a string or number into a Date object.
|
|
5716
|
+
* @param date - The date value to transform (timestamp or date string)
|
|
5717
|
+
* @param format - Optional format string to parse the date
|
|
5718
|
+
* @returns Parsed Date object
|
|
5719
|
+
*/
|
|
6204
5720
|
transformDate: (date: string | number, format?: string) => Date;
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
getAddMonths: (date: Date, amount: number) => Date;
|
|
6210
|
-
getAddDays: (date: Date, amount: number) => Date;
|
|
6211
|
-
getAddYears: (date: Date, years: number) => Date;
|
|
6212
|
-
getAllMonthName: (monthFormat: Intl.DateTimeFormatOptions['month'], locale?: string) => Array<string>;
|
|
6213
|
-
getAllWeekdayName: (weekdayFormat: Intl.DateTimeFormatOptions['weekday'], isSundayFirst: boolean, locale?: string) => Array<string>;
|
|
6214
|
-
isBefore: (date1: Date, date2: Date) => boolean;
|
|
6215
|
-
isAfter: (date1: Date, date2: Date) => boolean;
|
|
6216
|
-
isDatesEqual: (firstDate: Date | number | string, secondDate: Date | number | string, shouldCompareTime: boolean) => boolean;
|
|
6217
|
-
};
|
|
5721
|
+
/**
|
|
5722
|
+
* Collection of date manipulation and comparison utilities.
|
|
5723
|
+
*/
|
|
5724
|
+
dateHelpers: dateHelpers;
|
|
6218
5725
|
}
|
|
6219
5726
|
|
|
6220
5727
|
/**
|
|
@@ -6243,7 +5750,12 @@ declare interface UtilsContextType {
|
|
|
6243
5750
|
*/
|
|
6244
5751
|
export declare const UtilsProvider: (props: UtilsProviderProps) => JSX_2.Element;
|
|
6245
5752
|
|
|
5753
|
+
/**
|
|
5754
|
+
* Props for the UtilsProvider component.
|
|
5755
|
+
* Extends UtilsContextType with required children prop.
|
|
5756
|
+
*/
|
|
6246
5757
|
declare type UtilsProviderProps = UtilsContextType & {
|
|
5758
|
+
/** The React children to be wrapped by the provider */
|
|
6247
5759
|
children: ReactElement;
|
|
6248
5760
|
};
|
|
6249
5761
|
|
|
@@ -6296,7 +5808,7 @@ export declare interface VirtualKeyboardStandAloneProps extends DataAttributes {
|
|
|
6296
5808
|
onVirtualKeyboardBlur: React.FocusEventHandler<HTMLDivElement>;
|
|
6297
5809
|
onDigitButtonClick: (digit: string, event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
6298
5810
|
onRemoveButtonClick: React.MouseEventHandler<HTMLButtonElement>;
|
|
6299
|
-
icon:
|
|
5811
|
+
icon: CommonIconProps;
|
|
6300
5812
|
cssClasses?: VirtualKeyboardCssClasses;
|
|
6301
5813
|
}
|
|
6302
5814
|
|