@beweco/aurora-ui 1.0.0-beta.99 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -0
- package/dist/assets/css/styles.css +432 -3
- package/dist/assets/css/theme.css +129 -0
- package/dist/index.cjs.js +17609 -7449
- package/dist/index.esm.js +17996 -7971
- package/dist/types/__smoke__/field-ref-surface.d.ts +34 -0
- package/dist/types/__smoke__/field-ref-surface.d.ts.map +1 -0
- package/dist/types/__smoke__/v2-api-surface.d.ts +206 -0
- package/dist/types/__smoke__/v2-api-surface.d.ts.map +1 -0
- package/dist/types/compat/heroui-v2-shims.d.ts +324 -0
- package/dist/types/compat/heroui-v2-shims.d.ts.map +1 -0
- package/dist/types/components/accordion-list/AccordionList.d.ts +2 -1
- package/dist/types/components/accordion-list/AccordionList.d.ts.map +1 -1
- package/dist/types/components/add-holiday-form/AddHolidayForm.d.ts.map +1 -1
- package/dist/types/components/alert/Alert.d.ts +14 -0
- package/dist/types/components/alert/Alert.d.ts.map +1 -0
- package/dist/types/components/alert/Alert.types.d.ts +100 -0
- package/dist/types/components/alert/Alert.types.d.ts.map +1 -0
- package/dist/types/components/alert/index.d.ts +3 -0
- package/dist/types/components/alert/index.d.ts.map +1 -0
- package/dist/types/components/analytics-card/AnalyticsCard.d.ts.map +1 -1
- package/dist/types/components/analytics-card/AnalyticsCard.types.d.ts +14 -0
- package/dist/types/components/analytics-card/AnalyticsCard.types.d.ts.map +1 -1
- package/dist/types/components/area-line-chart/AreaLineChart.d.ts +1 -1
- package/dist/types/components/area-line-chart/AreaLineChart.d.ts.map +1 -1
- package/dist/types/components/area-line-chart/AreaLineChart.types.d.ts +26 -0
- package/dist/types/components/area-line-chart/AreaLineChart.types.d.ts.map +1 -1
- package/dist/types/components/assistant-orb/assistant-orb.constants.d.ts +1 -1
- package/dist/types/components/assistant-orb/assistant-orb.constants.d.ts.map +1 -1
- package/dist/types/components/autocomplete/AutoComplete.d.ts +14 -7
- package/dist/types/components/autocomplete/AutoComplete.d.ts.map +1 -1
- package/dist/types/components/autocomplete/AutoComplete.types.d.ts +153 -8
- package/dist/types/components/autocomplete/AutoComplete.types.d.ts.map +1 -1
- package/dist/types/components/autocomplete/index.d.ts +1 -1
- package/dist/types/components/autocomplete/index.d.ts.map +1 -1
- package/dist/types/components/badge/Badge.d.ts +20 -0
- package/dist/types/components/badge/Badge.d.ts.map +1 -0
- package/dist/types/components/badge/Badge.types.d.ts +35 -0
- package/dist/types/components/badge/Badge.types.d.ts.map +1 -0
- package/dist/types/components/badge/index.d.ts +3 -0
- package/dist/types/components/badge/index.d.ts.map +1 -0
- package/dist/types/components/beta-badge/BetaBadge.d.ts +9 -0
- package/dist/types/components/beta-badge/BetaBadge.d.ts.map +1 -0
- package/dist/types/components/beta-badge/BetaBadge.types.d.ts +31 -0
- package/dist/types/components/beta-badge/BetaBadge.types.d.ts.map +1 -0
- package/dist/types/components/beta-badge/beta-badge.styles.d.ts +2 -0
- package/dist/types/components/beta-badge/beta-badge.styles.d.ts.map +1 -0
- package/dist/types/components/beta-badge/index.d.ts +3 -0
- package/dist/types/components/beta-badge/index.d.ts.map +1 -0
- package/dist/types/components/breadcrumbs/Breadcrumbs.d.ts +9 -3
- package/dist/types/components/breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/dist/types/components/breadcrumbs/Breadcrumbs.types.d.ts +29 -7
- package/dist/types/components/breadcrumbs/Breadcrumbs.types.d.ts.map +1 -1
- package/dist/types/components/button/Button.d.ts +17 -7
- package/dist/types/components/button/Button.d.ts.map +1 -1
- package/dist/types/components/button/Button.types.d.ts +82 -4
- package/dist/types/components/button/Button.types.d.ts.map +1 -1
- package/dist/types/components/button/_internal/press-event.d.ts +16 -0
- package/dist/types/components/button/_internal/press-event.d.ts.map +1 -0
- package/dist/types/components/button/_internal/ripple.d.ts +34 -0
- package/dist/types/components/button/_internal/ripple.d.ts.map +1 -0
- package/dist/types/components/button/index.d.ts +1 -1
- package/dist/types/components/button/index.d.ts.map +1 -1
- package/dist/types/components/card/Card.d.ts +23 -5
- package/dist/types/components/card/Card.d.ts.map +1 -1
- package/dist/types/components/card/Card.types.d.ts +58 -2
- package/dist/types/components/card/Card.types.d.ts.map +1 -1
- package/dist/types/components/card/index.d.ts +1 -1
- package/dist/types/components/card/index.d.ts.map +1 -1
- package/dist/types/components/checkbox/Checkbox.d.ts +22 -0
- package/dist/types/components/checkbox/Checkbox.d.ts.map +1 -0
- package/dist/types/components/checkbox/Checkbox.types.d.ts +69 -0
- package/dist/types/components/checkbox/Checkbox.types.d.ts.map +1 -0
- package/dist/types/components/checkbox/index.d.ts +3 -0
- package/dist/types/components/checkbox/index.d.ts.map +1 -0
- package/dist/types/components/chip/Chip.d.ts +15 -3
- package/dist/types/components/chip/Chip.d.ts.map +1 -1
- package/dist/types/components/chip/Chip.types.d.ts +65 -4
- package/dist/types/components/chip/Chip.types.d.ts.map +1 -1
- package/dist/types/components/color-picker/ColorPicker.d.ts.map +1 -1
- package/dist/types/components/color-selector/ColorSelector.d.ts.map +1 -1
- package/dist/types/components/content-carousel/ContentCarousel.d.ts.map +1 -1
- package/dist/types/components/content-carousel/variants/SocialMediaCarousel.d.ts.map +1 -1
- package/dist/types/components/copy-text/CopyText.d.ts.map +1 -1
- package/dist/types/components/currency/Currency.d.ts.map +1 -1
- package/dist/types/components/currency/currency.constants.d.ts.map +1 -1
- package/dist/types/components/date-selector/DateSelector.d.ts +6 -0
- package/dist/types/components/date-selector/DateSelector.d.ts.map +1 -1
- package/dist/types/components/date-selector/DateSelector.types.d.ts +4 -2
- package/dist/types/components/date-selector/DateSelector.types.d.ts.map +1 -1
- package/dist/types/components/datepicker/DatePicker.d.ts +9 -2
- package/dist/types/components/datepicker/DatePicker.d.ts.map +1 -1
- package/dist/types/components/datepicker/DatePicker.types.d.ts +158 -4
- package/dist/types/components/datepicker/DatePicker.types.d.ts.map +1 -1
- package/dist/types/components/datepicker/calendar-slots.d.ts +17 -0
- package/dist/types/components/datepicker/calendar-slots.d.ts.map +1 -0
- package/dist/types/components/datepicker/index.d.ts +1 -1
- package/dist/types/components/datepicker/index.d.ts.map +1 -1
- package/dist/types/components/daterangepicker/DateRangePicker.d.ts +8 -2
- package/dist/types/components/daterangepicker/DateRangePicker.d.ts.map +1 -1
- package/dist/types/components/daterangepicker/DateRangePicker.types.d.ts +112 -4
- package/dist/types/components/daterangepicker/DateRangePicker.types.d.ts.map +1 -1
- package/dist/types/components/daterangepicker/index.d.ts +1 -1
- package/dist/types/components/daterangepicker/index.d.ts.map +1 -1
- package/dist/types/components/donut-chart/DonutChart.d.ts.map +1 -1
- package/dist/types/components/donut-chart/DonutChart.types.d.ts +16 -0
- package/dist/types/components/donut-chart/DonutChart.types.d.ts.map +1 -1
- package/dist/types/components/donut-chart/donut-chart.utils.d.ts +15 -1
- package/dist/types/components/donut-chart/donut-chart.utils.d.ts.map +1 -1
- package/dist/types/components/donut-chart/index.d.ts +1 -1
- package/dist/types/components/donut-chart/index.d.ts.map +1 -1
- package/dist/types/components/drawer/Drawer.d.ts +58 -0
- package/dist/types/components/drawer/Drawer.d.ts.map +1 -0
- package/dist/types/components/drawer/Drawer.types.d.ts +86 -0
- package/dist/types/components/drawer/Drawer.types.d.ts.map +1 -0
- package/dist/types/components/drawer/DrawerContext.d.ts +15 -0
- package/dist/types/components/drawer/DrawerContext.d.ts.map +1 -0
- package/dist/types/components/drawer/_internal/DrawerBody.d.ts +7 -0
- package/dist/types/components/drawer/_internal/DrawerBody.d.ts.map +1 -0
- package/dist/types/components/drawer/_internal/DrawerContent.d.ts +14 -0
- package/dist/types/components/drawer/_internal/DrawerContent.d.ts.map +1 -0
- package/dist/types/components/drawer/_internal/DrawerFooter.d.ts +15 -0
- package/dist/types/components/drawer/_internal/DrawerFooter.d.ts.map +1 -0
- package/dist/types/components/drawer/_internal/DrawerHeader.d.ts +20 -0
- package/dist/types/components/drawer/_internal/DrawerHeader.d.ts.map +1 -0
- package/dist/types/components/drawer/_internal/index.d.ts +5 -0
- package/dist/types/components/drawer/_internal/index.d.ts.map +1 -0
- package/dist/types/components/drawer/index.d.ts +4 -0
- package/dist/types/components/drawer/index.d.ts.map +1 -0
- package/dist/types/components/drawer-filters/DrawerFilters.d.ts.map +1 -1
- package/dist/types/components/drawer-filters/DrawerFilters.types.d.ts +6 -1
- package/dist/types/components/drawer-filters/DrawerFilters.types.d.ts.map +1 -1
- package/dist/types/components/drawer-filters/_internal/DayMonthPicker.d.ts +6 -0
- package/dist/types/components/drawer-filters/_internal/DayMonthPicker.d.ts.map +1 -1
- package/dist/types/components/drawer-filters/_internal/DrawerFiltersHeader.d.ts.map +1 -1
- package/dist/types/components/drawer-filters/_internal/FilterSection.d.ts.map +1 -1
- package/dist/types/components/drawer-filters/_internal/multiselect-search.d.ts +16 -0
- package/dist/types/components/drawer-filters/_internal/multiselect-search.d.ts.map +1 -0
- package/dist/types/components/dropdown/Dropdown.d.ts +58 -0
- package/dist/types/components/dropdown/Dropdown.d.ts.map +1 -0
- package/dist/types/components/dropdown/Dropdown.types.d.ts +110 -0
- package/dist/types/components/dropdown/Dropdown.types.d.ts.map +1 -0
- package/dist/types/components/dropdown/_internal/renderTrigger.d.ts +47 -0
- package/dist/types/components/dropdown/_internal/renderTrigger.d.ts.map +1 -0
- package/dist/types/components/dropdown/index.d.ts +3 -0
- package/dist/types/components/dropdown/index.d.ts.map +1 -0
- package/dist/types/components/h1/H1.d.ts.map +1 -1
- package/dist/types/components/h2/H2.d.ts.map +1 -1
- package/dist/types/components/h3/H3.d.ts.map +1 -1
- package/dist/types/components/h4/H4.d.ts.map +1 -1
- package/dist/types/components/header/Header.d.ts.map +1 -1
- package/dist/types/components/header/Header.types.d.ts +14 -0
- package/dist/types/components/header/Header.types.d.ts.map +1 -1
- package/dist/types/components/header/_internal/config-menu/ConfigMenu.d.ts.map +1 -1
- package/dist/types/components/header/_internal/notification-button/NotificationButton.d.ts +6 -0
- package/dist/types/components/header/_internal/notification-button/NotificationButton.d.ts.map +1 -1
- package/dist/types/components/icon/Icon.d.ts.map +1 -1
- package/dist/types/components/icon/Icon.types.d.ts +16 -2
- package/dist/types/components/icon/Icon.types.d.ts.map +1 -1
- package/dist/types/components/input/Input.d.ts +26 -6
- package/dist/types/components/input/Input.d.ts.map +1 -1
- package/dist/types/components/input/Input.types.d.ts +84 -6
- package/dist/types/components/input/Input.types.d.ts.map +1 -1
- package/dist/types/components/input-password/InputPassword.d.ts +10 -1
- package/dist/types/components/input-password/InputPassword.d.ts.map +1 -1
- package/dist/types/components/kanban/Kanban.d.ts +4 -2
- package/dist/types/components/kanban/Kanban.d.ts.map +1 -1
- package/dist/types/components/kanban/Kanban.types.d.ts +21 -1
- package/dist/types/components/kanban/Kanban.types.d.ts.map +1 -1
- package/dist/types/components/kanban/_internal/KanbanCard.d.ts +4 -2
- package/dist/types/components/kanban/_internal/KanbanCard.d.ts.map +1 -1
- package/dist/types/components/kanban/_internal/KanbanColumn.d.ts +5 -2
- package/dist/types/components/kanban/_internal/KanbanColumn.d.ts.map +1 -1
- package/dist/types/components/linda-mascot/LindaMascot.d.ts +17 -0
- package/dist/types/components/linda-mascot/LindaMascot.d.ts.map +1 -0
- package/dist/types/components/linda-mascot/LindaMascot.types.d.ts +58 -0
- package/dist/types/components/linda-mascot/LindaMascot.types.d.ts.map +1 -0
- package/dist/types/components/linda-mascot/index.d.ts +4 -0
- package/dist/types/components/linda-mascot/index.d.ts.map +1 -0
- package/dist/types/components/linda-mascot/linda-mascot.constants.d.ts +55 -0
- package/dist/types/components/linda-mascot/linda-mascot.constants.d.ts.map +1 -0
- package/dist/types/components/linda-mascot/linda-mascot.styles.d.ts +2 -0
- package/dist/types/components/linda-mascot/linda-mascot.styles.d.ts.map +1 -0
- package/dist/types/components/menu/Menu.d.ts.map +1 -1
- package/dist/types/components/menu/Menu.types.d.ts +4 -0
- package/dist/types/components/menu/Menu.types.d.ts.map +1 -1
- package/dist/types/components/menu/_internal/menu-mobile-bottom-bar/MenuMobileBottomBar.d.ts.map +1 -1
- package/dist/types/components/menu/_internal/menu-nav-list/MenuNavList.d.ts +1 -4
- package/dist/types/components/menu/_internal/menu-nav-list/MenuNavList.d.ts.map +1 -1
- package/dist/types/components/menu/_internal/menu-nav-list/MenuNavList.types.d.ts +8 -5
- package/dist/types/components/menu/_internal/menu-nav-list/MenuNavList.types.d.ts.map +1 -1
- package/dist/types/components/menu-claw/MenuClaw.d.ts.map +1 -1
- package/dist/types/components/menu-claw/MenuClaw.types.d.ts +38 -0
- package/dist/types/components/menu-claw/MenuClaw.types.d.ts.map +1 -1
- package/dist/types/components/menu-claw/_internal/menu-claw-history/MenuClawHistoryPanel.d.ts +14 -3
- package/dist/types/components/menu-claw/_internal/menu-claw-history/MenuClawHistoryPanel.d.ts.map +1 -1
- package/dist/types/components/menu-claw/_internal/menu-claw-history/MenuClawHistoryPanel.types.d.ts +8 -0
- package/dist/types/components/menu-claw/_internal/menu-claw-history/MenuClawHistoryPanel.types.d.ts.map +1 -1
- package/dist/types/components/menu-claw/_internal/menu-claw-history/menuClawHistoryLoadMore.d.ts +21 -0
- package/dist/types/components/menu-claw/_internal/menu-claw-history/menuClawHistoryLoadMore.d.ts.map +1 -0
- package/dist/types/components/menu-claw/_internal/menu-claw-nav/MenuClawNavItem.d.ts.map +1 -1
- package/dist/types/components/modal/Modal.d.ts +23 -1
- package/dist/types/components/modal/Modal.d.ts.map +1 -1
- package/dist/types/components/modal/Modal.types.d.ts +128 -2
- package/dist/types/components/modal/Modal.types.d.ts.map +1 -1
- package/dist/types/components/modal/ModalFacadeContext.d.ts +27 -0
- package/dist/types/components/modal/ModalFacadeContext.d.ts.map +1 -0
- package/dist/types/components/modal/_internal/ModalBody.d.ts +1 -5
- package/dist/types/components/modal/_internal/ModalBody.d.ts.map +1 -1
- package/dist/types/components/modal/_internal/ModalContent.d.ts +14 -4
- package/dist/types/components/modal/_internal/ModalContent.d.ts.map +1 -1
- package/dist/types/components/modal/_internal/ModalFooter.d.ts +20 -1
- package/dist/types/components/modal/_internal/ModalFooter.d.ts.map +1 -1
- package/dist/types/components/modal/_internal/ModalHeader.d.ts +20 -1
- package/dist/types/components/modal/_internal/ModalHeader.d.ts.map +1 -1
- package/dist/types/components/multi-step-wizard/MultiStepWizard.d.ts +2 -1
- package/dist/types/components/multi-step-wizard/MultiStepWizard.d.ts.map +1 -1
- package/dist/types/components/multi-step-wizard/MultiStepWizard.types.d.ts +2 -0
- package/dist/types/components/multi-step-wizard/MultiStepWizard.types.d.ts.map +1 -1
- package/dist/types/components/multi-step-wizard/_internal/MultiStepSidebar.d.ts +1 -0
- package/dist/types/components/multi-step-wizard/_internal/MultiStepSidebar.d.ts.map +1 -1
- package/dist/types/components/multi-step-wizard/_internal/MultiStepSidebar.types.d.ts +2 -0
- package/dist/types/components/multi-step-wizard/_internal/MultiStepSidebar.types.d.ts.map +1 -1
- package/dist/types/components/multi-step-wizard/_internal/MultistepNavigationButtons.d.ts.map +1 -1
- package/dist/types/components/multi-step-wizard/_internal/MultistepNavigationButtons.types.d.ts +1 -1
- package/dist/types/components/multi-step-wizard/_internal/MultistepNavigationButtons.types.d.ts.map +1 -1
- package/dist/types/components/navigation-loading-overlay/NavigationLoadingOverlay.d.ts.map +1 -1
- package/dist/types/components/p/P.d.ts.map +1 -1
- package/dist/types/components/pagination/Pagination.d.ts +34 -1
- package/dist/types/components/pagination/Pagination.d.ts.map +1 -1
- package/dist/types/components/pagination/Pagination.types.d.ts +73 -2
- package/dist/types/components/pagination/Pagination.types.d.ts.map +1 -1
- package/dist/types/components/phone/Phone.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Andorra.d.ts +1 -1
- package/dist/types/components/phone/flags/Andorra.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Argentina.d.ts +1 -1
- package/dist/types/components/phone/flags/Argentina.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Aruba.d.ts +1 -1
- package/dist/types/components/phone/flags/Aruba.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Australia.d.ts +1 -1
- package/dist/types/components/phone/flags/Australia.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Austria.d.ts +1 -1
- package/dist/types/components/phone/flags/Austria.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Bahamas.d.ts +1 -1
- package/dist/types/components/phone/flags/Bahamas.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Barbados.d.ts +1 -1
- package/dist/types/components/phone/flags/Barbados.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Belgica.d.ts +1 -1
- package/dist/types/components/phone/flags/Belgica.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Belize.d.ts +1 -1
- package/dist/types/components/phone/flags/Belize.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Bolivia.d.ts +1 -1
- package/dist/types/components/phone/flags/Bolivia.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Brasil.d.ts +1 -1
- package/dist/types/components/phone/flags/Brasil.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Bulgaria.d.ts +1 -1
- package/dist/types/components/phone/flags/Bulgaria.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Canada.d.ts +2 -0
- package/dist/types/components/phone/flags/Canada.d.ts.map +1 -0
- package/dist/types/components/phone/flags/Chile.d.ts +1 -1
- package/dist/types/components/phone/flags/Chile.d.ts.map +1 -1
- package/dist/types/components/phone/flags/China.d.ts +1 -1
- package/dist/types/components/phone/flags/China.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Colombia.d.ts +1 -1
- package/dist/types/components/phone/flags/Colombia.d.ts.map +1 -1
- package/dist/types/components/phone/flags/CostaRica.d.ts +1 -1
- package/dist/types/components/phone/flags/CostaRica.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Cuba.d.ts +1 -1
- package/dist/types/components/phone/flags/Cuba.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Curazao.d.ts +1 -1
- package/dist/types/components/phone/flags/Curazao.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Cyrpus.d.ts +1 -1
- package/dist/types/components/phone/flags/Cyrpus.d.ts.map +1 -1
- package/dist/types/components/phone/flags/CzechRepublic.d.ts +1 -1
- package/dist/types/components/phone/flags/CzechRepublic.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Denmark.d.ts +1 -1
- package/dist/types/components/phone/flags/Denmark.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Ecuador.d.ts +1 -1
- package/dist/types/components/phone/flags/Ecuador.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Egypt.d.ts +1 -1
- package/dist/types/components/phone/flags/Egypt.d.ts.map +1 -1
- package/dist/types/components/phone/flags/ElSalvador.d.ts +1 -1
- package/dist/types/components/phone/flags/ElSalvador.d.ts.map +1 -1
- package/dist/types/components/phone/flags/EuropeanUnion.d.ts +1 -1
- package/dist/types/components/phone/flags/EuropeanUnion.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Finland.d.ts +1 -1
- package/dist/types/components/phone/flags/Finland.d.ts.map +1 -1
- package/dist/types/components/phone/flags/FlagIcon.d.ts.map +1 -1
- package/dist/types/components/phone/flags/France.d.ts +1 -1
- package/dist/types/components/phone/flags/France.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Germany.d.ts +1 -1
- package/dist/types/components/phone/flags/Germany.d.ts.map +1 -1
- package/dist/types/components/phone/flags/GreatBritain.d.ts +1 -1
- package/dist/types/components/phone/flags/GreatBritain.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Greece.d.ts +1 -1
- package/dist/types/components/phone/flags/Greece.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Guatemala.d.ts +1 -1
- package/dist/types/components/phone/flags/Guatemala.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Guyana.d.ts +1 -1
- package/dist/types/components/phone/flags/Guyana.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Honduras.d.ts +1 -1
- package/dist/types/components/phone/flags/Honduras.d.ts.map +1 -1
- package/dist/types/components/phone/flags/HongKong.d.ts +1 -1
- package/dist/types/components/phone/flags/HongKong.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Hungary.d.ts +1 -1
- package/dist/types/components/phone/flags/Hungary.d.ts.map +1 -1
- package/dist/types/components/phone/flags/India.d.ts +1 -1
- package/dist/types/components/phone/flags/India.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Indonesia.d.ts +1 -1
- package/dist/types/components/phone/flags/Indonesia.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Ireland.d.ts +1 -1
- package/dist/types/components/phone/flags/Ireland.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Israel.d.ts +1 -1
- package/dist/types/components/phone/flags/Israel.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Italy.d.ts +1 -1
- package/dist/types/components/phone/flags/Italy.d.ts.map +1 -1
- package/dist/types/components/phone/flags/IvoryCoast.d.ts +1 -1
- package/dist/types/components/phone/flags/IvoryCoast.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Jamaica.d.ts +1 -1
- package/dist/types/components/phone/flags/Jamaica.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Japan.d.ts +1 -1
- package/dist/types/components/phone/flags/Japan.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Kuwait.d.ts +1 -1
- package/dist/types/components/phone/flags/Kuwait.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Malta.d.ts +1 -1
- package/dist/types/components/phone/flags/Malta.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Marruecos.d.ts +1 -1
- package/dist/types/components/phone/flags/Marruecos.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Mexico.d.ts +1 -1
- package/dist/types/components/phone/flags/Mexico.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Netherlands.d.ts +1 -1
- package/dist/types/components/phone/flags/Netherlands.d.ts.map +1 -1
- package/dist/types/components/phone/flags/NewGuinea.d.ts +1 -1
- package/dist/types/components/phone/flags/NewGuinea.d.ts.map +1 -1
- package/dist/types/components/phone/flags/NewZealand.d.ts +1 -1
- package/dist/types/components/phone/flags/NewZealand.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Nicaragua.d.ts +1 -1
- package/dist/types/components/phone/flags/Nicaragua.d.ts.map +1 -1
- package/dist/types/components/phone/flags/NorthernIreland.d.ts +1 -1
- package/dist/types/components/phone/flags/NorthernIreland.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Norway.d.ts +1 -1
- package/dist/types/components/phone/flags/Norway.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Panama.d.ts +1 -1
- package/dist/types/components/phone/flags/Panama.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Paraguay.d.ts +1 -1
- package/dist/types/components/phone/flags/Paraguay.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Peru.d.ts +1 -1
- package/dist/types/components/phone/flags/Peru.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Philippines.d.ts +1 -1
- package/dist/types/components/phone/flags/Philippines.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Poland.d.ts +1 -1
- package/dist/types/components/phone/flags/Poland.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Portugal.d.ts +1 -1
- package/dist/types/components/phone/flags/Portugal.d.ts.map +1 -1
- package/dist/types/components/phone/flags/PuertoRico.d.ts +1 -1
- package/dist/types/components/phone/flags/PuertoRico.d.ts.map +1 -1
- package/dist/types/components/phone/flags/RepublicaDominicana.d.ts +1 -1
- package/dist/types/components/phone/flags/RepublicaDominicana.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Rumania.d.ts +1 -1
- package/dist/types/components/phone/flags/Rumania.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Russia.d.ts +1 -1
- package/dist/types/components/phone/flags/Russia.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Scotland.d.ts +1 -1
- package/dist/types/components/phone/flags/Scotland.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Singapore.d.ts +1 -1
- package/dist/types/components/phone/flags/Singapore.d.ts.map +1 -1
- package/dist/types/components/phone/flags/SouthAfrica.d.ts +1 -1
- package/dist/types/components/phone/flags/SouthAfrica.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Spain.d.ts +1 -1
- package/dist/types/components/phone/flags/Spain.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Suriname.d.ts +1 -1
- package/dist/types/components/phone/flags/Suriname.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Sweden.d.ts +1 -1
- package/dist/types/components/phone/flags/Sweden.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Switzerland.d.ts +1 -1
- package/dist/types/components/phone/flags/Switzerland.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Turkey.d.ts +1 -1
- package/dist/types/components/phone/flags/Turkey.d.ts.map +1 -1
- package/dist/types/components/phone/flags/UnitedArabEmirates.d.ts +1 -1
- package/dist/types/components/phone/flags/UnitedArabEmirates.d.ts.map +1 -1
- package/dist/types/components/phone/flags/UnitedStates.d.ts +1 -1
- package/dist/types/components/phone/flags/UnitedStates.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Uruguay.d.ts +1 -1
- package/dist/types/components/phone/flags/Uruguay.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Venezuela.d.ts +1 -1
- package/dist/types/components/phone/flags/Venezuela.d.ts.map +1 -1
- package/dist/types/components/phone/flags/Wales.d.ts +1 -1
- package/dist/types/components/phone/flags/Wales.d.ts.map +1 -1
- package/dist/types/components/phone/flags/index.d.ts +1 -0
- package/dist/types/components/phone/flags/index.d.ts.map +1 -1
- package/dist/types/components/phone/phone.constants.d.ts.map +1 -1
- package/dist/types/components/promotional-banner/PromotionalBanner.d.ts.map +1 -1
- package/dist/types/components/promotional-banner/PromotionalBanner.types.d.ts +6 -3
- package/dist/types/components/promotional-banner/PromotionalBanner.types.d.ts.map +1 -1
- package/dist/types/components/range-filter/RangeFilter.d.ts.map +1 -1
- package/dist/types/components/range-filter/RangeFilter.types.d.ts +21 -1
- package/dist/types/components/range-filter/RangeFilter.types.d.ts.map +1 -1
- package/dist/types/components/ranked-bar-list/ranked-bar-list.utils.d.ts +7 -1
- package/dist/types/components/ranked-bar-list/ranked-bar-list.utils.d.ts.map +1 -1
- package/dist/types/components/row-steps/RowSteps.d.ts.map +1 -1
- package/dist/types/components/row-steps/RowSteps.types.d.ts +8 -2
- package/dist/types/components/row-steps/RowSteps.types.d.ts.map +1 -1
- package/dist/types/components/schedule-row/schedule-row.d.ts.map +1 -1
- package/dist/types/components/segmentation-builder/SegmentationBuilder.d.ts.map +1 -1
- package/dist/types/components/select/Select.d.ts +7 -6
- package/dist/types/components/select/Select.d.ts.map +1 -1
- package/dist/types/components/select/Select.types.d.ts +269 -6
- package/dist/types/components/select/Select.types.d.ts.map +1 -1
- package/dist/types/components/select/_internal/v2-collection.d.ts +64 -0
- package/dist/types/components/select/_internal/v2-collection.d.ts.map +1 -0
- package/dist/types/components/select/_internal/with-item-indicator.d.ts +13 -0
- package/dist/types/components/select/_internal/with-item-indicator.d.ts.map +1 -0
- package/dist/types/components/select/index.d.ts +1 -1
- package/dist/types/components/select/index.d.ts.map +1 -1
- package/dist/types/components/social-media-bar/SocialMediaBar.d.ts.map +1 -1
- package/dist/types/components/social-media-preview/SocialMediaPreview.d.ts.map +1 -1
- package/dist/types/components/social-media-preview/SocialMediaPreview.types.d.ts +3 -3
- package/dist/types/components/social-media-preview/SocialMediaPreview.types.d.ts.map +1 -1
- package/dist/types/components/step-indicator/StepIndicator.d.ts.map +1 -1
- package/dist/types/components/switch/Switch.d.ts +23 -1
- package/dist/types/components/switch/Switch.d.ts.map +1 -1
- package/dist/types/components/switch/Switch.types.d.ts +43 -2
- package/dist/types/components/switch/Switch.types.d.ts.map +1 -1
- package/dist/types/components/switch/index.d.ts +2 -2
- package/dist/types/components/switch/index.d.ts.map +1 -1
- package/dist/types/components/table/AuraTable.d.ts +20 -1
- package/dist/types/components/table/AuraTable.d.ts.map +1 -1
- package/dist/types/components/table/AuraTable.types.d.ts +25 -2
- package/dist/types/components/table/AuraTable.types.d.ts.map +1 -1
- package/dist/types/components/table/Table.d.ts +78 -0
- package/dist/types/components/table/Table.d.ts.map +1 -0
- package/dist/types/components/table/TableContent.d.ts +32 -0
- package/dist/types/components/table/TableContent.d.ts.map +1 -0
- package/dist/types/components/table/_internal/TableColumn.d.ts +1 -2
- package/dist/types/components/table/_internal/TableColumn.d.ts.map +1 -1
- package/dist/types/components/table/_internal/TableRow.d.ts +2 -1
- package/dist/types/components/table/_internal/TableRow.d.ts.map +1 -1
- package/dist/types/components/table/_internal/v2-compat.d.ts +94 -0
- package/dist/types/components/table/_internal/v2-compat.d.ts.map +1 -0
- package/dist/types/components/table/index.d.ts +1 -0
- package/dist/types/components/table/index.d.ts.map +1 -1
- package/dist/types/components/tabs/Tabs.d.ts +66 -0
- package/dist/types/components/tabs/Tabs.d.ts.map +1 -0
- package/dist/types/components/tabs/Tabs.types.d.ts +102 -0
- package/dist/types/components/tabs/Tabs.types.d.ts.map +1 -0
- package/dist/types/components/tabs/index.d.ts +3 -0
- package/dist/types/components/tabs/index.d.ts.map +1 -0
- package/dist/types/components/tags-filter/TagsFilter.d.ts +2 -1
- package/dist/types/components/tags-filter/TagsFilter.d.ts.map +1 -1
- package/dist/types/components/textarea/Textarea.d.ts +17 -3
- package/dist/types/components/textarea/Textarea.d.ts.map +1 -1
- package/dist/types/components/textarea/Textarea.types.d.ts +91 -2
- package/dist/types/components/textarea/Textarea.types.d.ts.map +1 -1
- package/dist/types/components/textarea/useTextareaAutosize.d.ts +13 -0
- package/dist/types/components/textarea/useTextareaAutosize.d.ts.map +1 -0
- package/dist/types/components/theme-picker/ThemePicker.d.ts.map +1 -1
- package/dist/types/components/theme-picker/ThemePicker.types.d.ts +0 -1
- package/dist/types/components/theme-picker/ThemePicker.types.d.ts.map +1 -1
- package/dist/types/components/time-input/TimeInput.d.ts +14 -3
- package/dist/types/components/time-input/TimeInput.d.ts.map +1 -1
- package/dist/types/components/time-input/TimeInput.types.d.ts +40 -2
- package/dist/types/components/time-input/TimeInput.types.d.ts.map +1 -1
- package/dist/types/components/time-input/index.d.ts +2 -2
- package/dist/types/components/time-input/index.d.ts.map +1 -1
- package/dist/types/components/toast/GlobalToast.d.ts +10 -1
- package/dist/types/components/toast/GlobalToast.d.ts.map +1 -1
- package/dist/types/components/toast/GlobalToast.types.d.ts +22 -0
- package/dist/types/components/toast/GlobalToast.types.d.ts.map +1 -0
- package/dist/types/components/toast/_internal/toast-host.d.ts +39 -0
- package/dist/types/components/toast/_internal/toast-host.d.ts.map +1 -0
- package/dist/types/components/toast/index.d.ts +2 -1
- package/dist/types/components/toast/index.d.ts.map +1 -1
- package/dist/types/components/tooltip/Tooltip.d.ts +4 -0
- package/dist/types/components/tooltip/Tooltip.d.ts.map +1 -1
- package/dist/types/components/tooltip/Tooltip.types.d.ts +66 -4
- package/dist/types/components/tooltip/Tooltip.types.d.ts.map +1 -1
- package/dist/types/components/tooltip/_internal/renderTrigger.d.ts +3 -0
- package/dist/types/components/tooltip/_internal/renderTrigger.d.ts.map +1 -0
- package/dist/types/components/tooltip/index.d.ts +1 -1
- package/dist/types/components/tooltip/index.d.ts.map +1 -1
- package/dist/types/components/two-column-layout-agent/TwoColumnLayoutAgent.d.ts.map +1 -1
- package/dist/types/components/upload-file/UploadFile.d.ts +1 -0
- package/dist/types/components/upload-file/UploadFile.d.ts.map +1 -1
- package/dist/types/components/vertical-steps/VerticalSteps.d.ts.map +1 -1
- package/dist/types/components/vertical-steps/VerticalSteps.types.d.ts +8 -2
- package/dist/types/components/vertical-steps/VerticalSteps.types.d.ts.map +1 -1
- package/dist/types/components/violin-plot/ViolinFallback.d.ts +1 -1
- package/dist/types/components/violin-plot/ViolinFallback.d.ts.map +1 -1
- package/dist/types/components/violin-plot/ViolinPlot.d.ts +1 -1
- package/dist/types/components/violin-plot/ViolinPlot.d.ts.map +1 -1
- package/dist/types/components/whatsapp-preview/WhatsAppPreview.d.ts.map +1 -1
- package/dist/types/components/wizard/Wizard.d.ts +1 -1
- package/dist/types/components/wizard/Wizard.d.ts.map +1 -1
- package/dist/types/components/wizard/WizardNavigation.d.ts +1 -1
- package/dist/types/components/wizard/WizardNavigation.d.ts.map +1 -1
- package/dist/types/components/wizard/WizardSidebar.d.ts +2 -1
- package/dist/types/components/wizard/WizardSidebar.d.ts.map +1 -1
- package/dist/types/contexts/toast/toast.context.type.d.ts +10 -2
- package/dist/types/contexts/toast/toast.context.type.d.ts.map +1 -1
- package/dist/types/index.d.ts +25 -12
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/providers/theme/apply-custom-color.d.ts +8 -0
- package/dist/types/providers/theme/apply-custom-color.d.ts.map +1 -1
- package/dist/types/providers/theme/apply-theme-class.d.ts +12 -0
- package/dist/types/providers/theme/apply-theme-class.d.ts.map +1 -0
- package/dist/types/providers/theme/force-light-only-theme.d.ts +14 -3
- package/dist/types/providers/theme/force-light-only-theme.d.ts.map +1 -1
- package/dist/types/providers/theme/generate-color-scale.d.ts +13 -0
- package/dist/types/providers/theme/generate-color-scale.d.ts.map +1 -1
- package/dist/types/providers/theme/index.d.ts +1 -0
- package/dist/types/providers/theme/index.d.ts.map +1 -1
- package/dist/types/providers/theme/linda-tones.d.ts +76 -0
- package/dist/types/providers/theme/linda-tones.d.ts.map +1 -0
- package/dist/types/providers/theme/useThemeManager.d.ts.map +1 -1
- package/dist/types/providers/toast/toast-provider.d.ts.map +1 -1
- package/dist/types/utils/cn.d.ts +46 -0
- package/dist/types/utils/cn.d.ts.map +1 -0
- package/dist/types/utils/collection-items.d.ts +3 -0
- package/dist/types/utils/collection-items.d.ts.map +1 -0
- package/dist/types/utils/dismiss-control.d.ts +113 -0
- package/dist/types/utils/dismiss-control.d.ts.map +1 -0
- package/dist/types/utils/text-search.d.ts +18 -0
- package/dist/types/utils/text-search.d.ts.map +1 -0
- package/dist/types/utils/theme-scope.d.ts +18 -0
- package/dist/types/utils/theme-scope.d.ts.map +1 -0
- package/dist/types/utils/use-injected-style.d.ts +25 -0
- package/dist/types/utils/use-injected-style.d.ts.map +1 -0
- package/package.json +25 -16
- package/dist/types/components/menu/_internal/menu-nav-list/MenuNavList.styles.d.ts +0 -7
- package/dist/types/components/menu/_internal/menu-nav-list/MenuNavList.styles.d.ts.map +0 -1
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type ReactElement, type ReactNode } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Trigger del Dropdown con la semántica de v2 (TECH-2459): el hijo ES el trigger.
|
|
4
|
+
*
|
|
5
|
+
* v2 CLONABA el hijo (`@heroui/popover@2.3.32` → `PopoverTrigger`, que es lo que monta el
|
|
6
|
+
* `DropdownTrigger` de `@heroui/dropdown@2.3.32`): `cloneElement(child, mergeProps(triggerProps,
|
|
7
|
+
* …))`, con `mergeProps(otherProps, child.props)` para las props del propio `DropdownTrigger`. Así
|
|
8
|
+
* `<DropdownTrigger><Button/></DropdownTrigger>` era UN botón con `aria-haspopup`/`aria-expanded`.
|
|
9
|
+
*
|
|
10
|
+
* v3 (`Dropdown.Trigger`) es un `Button` de react-aria que ENVUELVE al hijo: el mismo JSX pinta
|
|
11
|
+
* `<button><button/></button>` — HTML inválido, dos paradas de tabulación, y el botón de la app sin
|
|
12
|
+
* los atributos del menú.
|
|
13
|
+
*
|
|
14
|
+
* La vía de v3 para no tener el envoltorio es su `render` (el `Button` de react-aria es un
|
|
15
|
+
* `dom.button`): recibe las props del `<button>` ya resueltas (handlers de press/teclado/foco/
|
|
16
|
+
* hover, `ref` —que es el ancla del popover—, `id`, `aria-haspopup`, `aria-expanded`,
|
|
17
|
+
* `aria-controls`) y aquí se clonan sobre el hijo. Mismo mecanismo que
|
|
18
|
+
* `src/components/tooltip/_internal/renderTrigger.tsx` (se replica en vez de importarlo para no
|
|
19
|
+
* acoplar dos fachadas: los descartes y las fusiones no son los mismos, ver abajo).
|
|
20
|
+
*
|
|
21
|
+
* Qué se descarta del envoltorio:
|
|
22
|
+
* - `children` (son los del hijo), `className` (la `.dropdown__trigger` de v3 repintaría el botón
|
|
23
|
+
* de la app) y todos los `data-*` (estado del envoltorio: el hijo pinta el suyo).
|
|
24
|
+
* - `type`, salvo que el hijo sea un `<button>` nativo.
|
|
25
|
+
*
|
|
26
|
+
* Qué se fusiona, como `mergeProps` de v2: handlers `on*` encadenados (primero el del menú, luego
|
|
27
|
+
* el del hijo), `aria-describedby`/`aria-labelledby` concatenados, `ref` fusionado, y el
|
|
28
|
+
* `className` del propio `DropdownTrigger` (si la app se lo puso) delante del del hijo. En el
|
|
29
|
+
* resto gana el hijo.
|
|
30
|
+
*
|
|
31
|
+
* Un hijo que es un elemento HTML no-botón (`<div>`, `<span>`) recibe `role="button"` y
|
|
32
|
+
* `tabIndex=0` como en v2 (`useAriaButton` para hijos que no son el `Button` de HeroUI), si no los
|
|
33
|
+
* trae ya.
|
|
34
|
+
*
|
|
35
|
+
* NO se usa `Focusable`/`Pressable` de `react-aria`: Rollup lo empaquetaría con su propia copia del
|
|
36
|
+
* contexto, distinta de la de `@heroui/react` (externa). `render` usa el contexto de HeroUI.
|
|
37
|
+
*/
|
|
38
|
+
type AnyProps = Record<string, unknown>;
|
|
39
|
+
/** ¿Se puede clonar como trigger? Un único elemento que no sea Fragment. */
|
|
40
|
+
export declare function isClonableTriggerChild(children: ReactNode): children is ReactElement<AnyProps>;
|
|
41
|
+
/**
|
|
42
|
+
* `render` para `Dropdown.Trigger`: clona las props resueltas del `<button>` de v3 sobre `child`.
|
|
43
|
+
* `triggerClassName` es el `className` que la app puso en el propio `DropdownTrigger`.
|
|
44
|
+
*/
|
|
45
|
+
export declare function renderDropdownTrigger(child: ReactElement<AnyProps>, triggerClassName: string | undefined): (buttonProps: AnyProps) => ReactElement;
|
|
46
|
+
export {};
|
|
47
|
+
//# sourceMappingURL=renderTrigger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderTrigger.d.ts","sourceRoot":"","sources":["../../../../../src/components/dropdown/_internal/renderTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,YAAY,EACjB,KAAK,SAAS,EAMd,MAAM,OAAO,CAAC;AAGf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAEH,KAAK,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAwCxC,4EAA4E;AAC5E,wBAAgB,sBAAsB,CACrC,QAAQ,EAAE,SAAS,GACjB,QAAQ,IAAI,YAAY,CAAC,QAAQ,CAAC,CAEpC;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CACpC,KAAK,EAAE,YAAY,CAAC,QAAQ,CAAC,EAC7B,gBAAgB,EAAE,MAAM,GAAG,SAAS,IAE5B,aAAa,QAAQ,KAAG,YAAY,CAmC5C"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Dropdown, DropdownSection } from "./Dropdown";
|
|
2
|
+
export type { DropdownClassNames, DropdownPlacement, DropdownProps, DropdownSectionClassNames, DropdownSectionProps, DropdownV2Placement, DropdownV3Placement, } from "./Dropdown.types";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/dropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AACvD,YAAY,EACX,kBAAkB,EAClB,iBAAiB,EACjB,aAAa,EACb,yBAAyB,EACzB,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,GACnB,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"H1.d.ts","sourceRoot":"","sources":["../../../../src/components/h1/H1.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"H1.d.ts","sourceRoot":"","sources":["../../../../src/components/h1/H1.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,eAAO,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,kBAAkB,CAAC,CAUjE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"H2.d.ts","sourceRoot":"","sources":["../../../../src/components/h2/H2.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"H2.d.ts","sourceRoot":"","sources":["../../../../src/components/h2/H2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,eAAO,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,OAAO,CAMhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"H3.d.ts","sourceRoot":"","sources":["../../../../src/components/h3/H3.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"H3.d.ts","sourceRoot":"","sources":["../../../../src/components/h3/H3.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,eAAO,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,OAAO,CAMhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"H4.d.ts","sourceRoot":"","sources":["../../../../src/components/h4/H4.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"H4.d.ts","sourceRoot":"","sources":["../../../../src/components/h4/H4.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,eAAO,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,OAAO,CAMhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../src/components/header/Header.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../src/components/header/Header.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAsB,MAAM,gBAAgB,CAAC;AAEtE,OAAO,eAAe,CAAC;AAUvB,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAwDjD,CAAC"}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
2
|
import type { BreadcrumbItemComponentProps } from "@/components/breadcrumbs";
|
|
3
|
+
/**
|
|
4
|
+
* Vocabulario de color de la fachada propia `Button` (`@/components/button`, fuera de este
|
|
5
|
+
* lane — no se importa su tipo `ButtonColor` para no tocar un componente ajeno a G2). Mismo
|
|
6
|
+
* literal, duplicado a propósito.
|
|
7
|
+
*/
|
|
8
|
+
export type HeaderButtonColor = "primary" | "default" | "secondary" | "success" | "warning" | "danger";
|
|
3
9
|
/**
|
|
4
10
|
* Traducciones disponibles para el componente Header.
|
|
5
11
|
* Todas las propiedades son opcionales para permitir traducciones parciales.
|
|
@@ -32,6 +38,14 @@ export interface HeaderProps {
|
|
|
32
38
|
* The number of notifications to display in the badge.
|
|
33
39
|
*/
|
|
34
40
|
notificationCount?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Color del botón de notificaciones.
|
|
43
|
+
*
|
|
44
|
+
* TECH-2459 · G2 — antes hardcodeado a `"secondary"` dentro de `NotificationButton` sin forma
|
|
45
|
+
* de configurarlo (una app consumidora compensaba con un parche CSS externo). Trabajo pedido
|
|
46
|
+
* por la issue: exponer la prop. @default "secondary" (mismo valor que pintaba antes)
|
|
47
|
+
*/
|
|
48
|
+
notificationButtonColor?: HeaderButtonColor;
|
|
35
49
|
/**
|
|
36
50
|
* The options for the configuration header.
|
|
37
51
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.types.d.ts","sourceRoot":"","sources":["../../../../src/components/header/Header.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AAE7E;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAChC,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,WAAW,WAAW;IAC3B;;;;;;;;OAQG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;;;;;OAOG;IACH,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,OAAO,EAAE,aAAa,EAAE,CAAC;IAEzB;;OAEG;IACH,WAAW,CAAC,EAAE,4BAA4B,EAAE,CAAC;IAE7C;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C;AAED,MAAM,WAAW,aAAa;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACb"}
|
|
1
|
+
{"version":3,"file":"Header.types.d.ts","sourceRoot":"","sources":["../../../../src/components/header/Header.types.ts"],"names":[],"mappings":"AAAA,O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.ts","sourceRoot":"","sources":["../../../../../../src/components/header/_internal/config-menu/ConfigMenu.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConfigMenu.d.ts","sourceRoot":"","sources":["../../../../../../src/components/header/_internal/config-menu/ConfigMenu.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AA0B1D,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA6GhD,CAAC"}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
2
|
import "./NotificationButton.scss";
|
|
3
|
+
import type { HeaderButtonColor } from "../../Header.types";
|
|
3
4
|
export interface NotificationButtonProps {
|
|
4
5
|
notificationCount?: number;
|
|
5
6
|
onPress?: () => void;
|
|
7
|
+
/**
|
|
8
|
+
* Color del botón. TECH-2459 · G2 — antes hardcodeado a "secondary" sin forma de
|
|
9
|
+
* configurarlo (trabajo pedido por la issue). @default "secondary"
|
|
10
|
+
*/
|
|
11
|
+
color?: HeaderButtonColor;
|
|
6
12
|
}
|
|
7
13
|
export declare const NotificationButton: React.FC<NotificationButtonProps>;
|
|
8
14
|
//# sourceMappingURL=NotificationButton.d.ts.map
|
package/dist/types/components/header/_internal/notification-button/NotificationButton.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/header/_internal/notification-button/NotificationButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"NotificationButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/header/_internal/notification-button/NotificationButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,MAAM,WAAW,uBAAuB;IACvC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;OAGG;IACH,KAAK,CAAC,EAAE,iBAAiB,CAAC;CAC1B;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAsBhE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/Icon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAEvD,eAAO,MAAM,OAAO;;;;;CAKV,CAAC;AAEX,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/Icon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAEvD,eAAO,MAAM,OAAO;;;;;CAKV,CAAC;AAEX,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAoCtD,CAAC"}
|
|
@@ -2,11 +2,25 @@ import type { IconifyIcon } from "@iconify/react";
|
|
|
2
2
|
import type React from "react";
|
|
3
3
|
/** Available icon sizes mapped to pixel values */
|
|
4
4
|
export type IconSize = keyof typeof import("./Icon").sizeMap;
|
|
5
|
+
/**
|
|
6
|
+
* v2 compatibility: `"xs"` was never a step of the scale, but v2 accepted any string at runtime
|
|
7
|
+
* and fell back to the default (`sizeMap[size] ?? sizeMap.md` in `@beweco/aurora-ui@0.6.85`), so
|
|
8
|
+
* `size="xs"` rendered at **20px**, like `"md"`. It is accepted here with that same result (it does
|
|
9
|
+
* NOT mean "smaller than sm"); use `"sm"` or a number for a smaller icon.
|
|
10
|
+
*/
|
|
11
|
+
export type IconSizeV2Alias = "xs";
|
|
5
12
|
export interface IconComponentProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
6
13
|
/** The icon name/identifier from Iconify */
|
|
7
14
|
icon: string | IconifyIcon;
|
|
8
|
-
/**
|
|
9
|
-
|
|
15
|
+
/**
|
|
16
|
+
* The size of the icon: a named step — 'sm' (16px), 'md' (20px), 'lg' (24px), 'xl' (32px) —
|
|
17
|
+
* or a number, applied as pixels as-is (e.g. `size={64}` → 64px). This is the ONLY way to
|
|
18
|
+
* size the icon: `width`/`height` are not props of this component and, if passed, land on
|
|
19
|
+
* the wrapping `<span>` with no effect.
|
|
20
|
+
* `"xs"` is a v2 alias that renders like `"md"` (20px) — see `IconSizeV2Alias`.
|
|
21
|
+
* @default "md"
|
|
22
|
+
*/
|
|
23
|
+
size?: IconSize | IconSizeV2Alias | number;
|
|
10
24
|
/** Optional CSS class name to apply custom styles */
|
|
11
25
|
className?: string;
|
|
12
26
|
/** Optional inline styles */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.types.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/Icon.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,kDAAkD;AAClD,MAAM,MAAM,QAAQ,GAAG,MAAM,cAAc,QAAQ,EAAE,OAAO,CAAC;AAE7D,MAAM,WAAW,kBAChB,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IAC7C,4CAA4C;IAC5C,IAAI,EAAE,MAAM,GAAG,WAAW,CAAC;IAC3B
|
|
1
|
+
{"version":3,"file":"Icon.types.d.ts","sourceRoot":"","sources":["../../../../src/components/icon/Icon.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,kDAAkD;AAClD,MAAM,MAAM,QAAQ,GAAG,MAAM,cAAc,QAAQ,EAAE,OAAO,CAAC;AAE7D;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC;AAEnC,MAAM,WAAW,kBAChB,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IAC7C,4CAA4C;IAC5C,IAAI,EAAE,MAAM,GAAG,WAAW,CAAC;IAC3B;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,eAAe,GAAG,MAAM,CAAC;IAC3C,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,qBAAqB;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+BAA+B;IAC/B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,8BAA8B;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,wBAAwB;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1,14 +1,34 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
2
|
import type { InputProps } from "./Input.types";
|
|
3
3
|
/**
|
|
4
|
-
* Input genérico reutilizable basado en HeroUI
|
|
4
|
+
* Input genérico reutilizable basado en HeroUI v3 (TextField + InputGroup + Input) siguiendo las
|
|
5
|
+
* reglas de diseño BeweOS (TECH-2459 · F3.0).
|
|
5
6
|
*
|
|
6
7
|
* Reglas aplicadas:
|
|
7
|
-
* - Variant:
|
|
8
|
-
*
|
|
9
|
-
* -
|
|
10
|
-
*
|
|
8
|
+
* - Variant: bordered (por defecto), flat, faded, underlined — reimplementadas vía className (v3
|
|
9
|
+
* solo tiene primary/secondary, sin vocabulario v2).
|
|
10
|
+
* - labelPlacement: siempre "outside" (v3 no tiene la prop — el `Label` de un `TextField` va
|
|
11
|
+
* siempre fuera del campo, así que no hace falta traducir nada).
|
|
12
|
+
* - Size: sm, md, lg (configurable, reimplementado — v3 no tiene tamaños).
|
|
13
|
+
* - Radius configurable (v3 no tiene la prop).
|
|
14
|
+
* - `startContent`/`endContent` → `InputGroup.Prefix`/`InputGroup.Suffix`.
|
|
15
|
+
* - `isClearable` → botón de limpiar propio (`CloseButton`); solo en modo controlado (`value`).
|
|
16
|
+
* - `onClear` (API v2) → basta para mostrar la X; se llama al limpiar (X o Escape) y el foco
|
|
17
|
+
* vuelve al campo, como en v2.
|
|
18
|
+
* - `classNames`: los 10 slots de v2, cada uno en su nodo equivalente (tabla en `Input.types.ts`).
|
|
19
|
+
* - `labelPlacement` (API v2): aceptado y sin efecto — el label siempre va fuera.
|
|
20
|
+
*
|
|
21
|
+
* `ref` apunta al `<input>` REAL (`HTMLInputElement`), no al `InputGroup` ni al `TextField` que lo
|
|
22
|
+
* envuelven: el consumidor que necesita el nodo —insertar texto en la posición del cursor con
|
|
23
|
+
* `selectionStart`/`setSelectionRange`, enfocar, leer `validity`— lo alcanza directamente.
|
|
24
|
+
*
|
|
25
|
+
* ⚠️ Se reenvía con `forwardRef` (patrón de las 8 fachadas del repo que ya lo hacen) y NO
|
|
26
|
+
* confiando en que React 19 pase `ref` dentro de `...rest`: medido, en React 19 eso ya funcionaba
|
|
27
|
+
* de rebote —el `ref` viajaba en el spread hasta `InputGroup.Input`, que también hace spread— pero
|
|
28
|
+
* (a) el tipo público lo rechazaba, así que el consumidor no podía escribirlo sin un `as any`, y
|
|
29
|
+
* (b) era accidental: cualquier prop que se añadiese al destructuring lo habría cortado en
|
|
30
|
+
* silencio.
|
|
11
31
|
*/
|
|
12
|
-
export declare const Input: React.
|
|
32
|
+
export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
13
33
|
export default Input;
|
|
14
34
|
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/components/input/Input.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/components/input/Input.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,UAAU,EAA0B,MAAM,eAAe,CAAC;AAiUxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,KAAK,qFAoSjB,CAAC;AAIF,eAAe,KAAK,CAAC"}
|
|
@@ -1,8 +1,86 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export type
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export type InputSize = "sm" | "md" | "lg";
|
|
3
|
+
/** Vocabulario v2 (HeroUI v3 solo tiene "primary"/"secondary"). */
|
|
4
|
+
export type InputVariant = "flat" | "bordered" | "faded" | "underlined";
|
|
5
|
+
export type InputRadius = "none" | "sm" | "md" | "lg" | "full";
|
|
6
|
+
/**
|
|
7
|
+
* Slots de `classNames` de v2 (`@heroui/theme@2.4.15`, `dist/components/input.js`), cada uno
|
|
8
|
+
* aterrizado en su nodo equivalente de la composición v3. v3 tiene menos nodos que v2, así que
|
|
9
|
+
* algunos slots comparten destino:
|
|
10
|
+
*
|
|
11
|
+
* | Slot v2 | Nodo aquí | Nota |
|
|
12
|
+
* |---|---|---|
|
|
13
|
+
* | `base` | raíz (`TextField`) | igual que v2: el slot donde vive el ancho |
|
|
14
|
+
* | `mainWrapper` | raíz (`TextField`) | v2 lo ponía entre la raíz y el campo (`h-full`); aquí no existe ese nodo intermedio, así que se fusiona en la raíz ANTES de `base` y `className` |
|
|
15
|
+
* | `label` | `Label` | |
|
|
16
|
+
* | `inputWrapper` | `InputGroup` | la caja con borde |
|
|
17
|
+
* | `innerWrapper` | `InputGroup` | v3 fusiona `inputWrapper` e `innerWrapper` en un solo elemento; se aplica ANTES de `inputWrapper` |
|
|
18
|
+
* | `input` | el `<input>` real | |
|
|
19
|
+
* | `clearButton` | botón de limpiar (`CloseButton`) | |
|
|
20
|
+
* | `helperWrapper` | `Description` / `FieldError` | v2 los envolvía en un contenedor; aquí son hijos directos de la raíz, así que va sobre cada uno ANTES de su slot propio |
|
|
21
|
+
* | `description` | `Description` | |
|
|
22
|
+
* | `errorMessage` | `FieldError` | |
|
|
23
|
+
*/
|
|
24
|
+
export interface InputClassNames {
|
|
25
|
+
base?: string;
|
|
26
|
+
mainWrapper?: string;
|
|
3
27
|
label?: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
28
|
+
inputWrapper?: string;
|
|
29
|
+
innerWrapper?: string;
|
|
30
|
+
input?: string;
|
|
31
|
+
clearButton?: string;
|
|
32
|
+
helperWrapper?: string;
|
|
33
|
+
description?: string;
|
|
34
|
+
errorMessage?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "defaultValue" | "onChange" | "className"> {
|
|
37
|
+
/** Texto de la etiqueta visible sobre el campo. */
|
|
38
|
+
label?: ReactNode;
|
|
39
|
+
/** Texto de ayuda bajo el campo (se oculta automáticamente cuando hay error). */
|
|
40
|
+
description?: ReactNode;
|
|
41
|
+
/** Mensaje de error mostrado cuando `isInvalid` es `true`. */
|
|
42
|
+
errorMessage?: ReactNode;
|
|
43
|
+
/** Contenido antes del texto (icono, prefijo…). v3 lo llama `InputGroup.Prefix`. */
|
|
44
|
+
startContent?: ReactNode;
|
|
45
|
+
/** Contenido después del texto (icono, sufijo…). v3 lo llama `InputGroup.Suffix`. */
|
|
46
|
+
endContent?: ReactNode;
|
|
47
|
+
/**
|
|
48
|
+
* Muestra un botón de limpiar cuando el campo tiene valor (v3 eliminó `isClearable`).
|
|
49
|
+
* Funciona en modo controlado (`value`) y no controlado (`defaultValue`).
|
|
50
|
+
*/
|
|
51
|
+
isClearable?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* API v2: se llama al limpiar el campo (botón X o tecla Escape), DESPUÉS de
|
|
54
|
+
* `onValueChange("")`. Como en v2 (`@heroui/input@2.4.22`, `use-input.ts`:
|
|
55
|
+
* `isClearable = !!onClear || originalProps.isClearable`), pasar `onClear` basta para que
|
|
56
|
+
* aparezca la X, aunque no se pase `isClearable`.
|
|
57
|
+
*/
|
|
58
|
+
onClear?: () => void;
|
|
59
|
+
/**
|
|
60
|
+
* API v2, sin efecto: el label va siempre fuera del campo (`"outside"`), que es el único valor
|
|
61
|
+
* que usan las apps (30 de 30 en beweossmbs). Se acepta para que el código v2 compile y no
|
|
62
|
+
* llegue como atributo desconocido al `<input>` (React avisaría en consola).
|
|
63
|
+
*/
|
|
64
|
+
labelPlacement?: "outside" | "outside-left" | "inside";
|
|
65
|
+
isInvalid?: boolean;
|
|
66
|
+
isRequired?: boolean;
|
|
67
|
+
isDisabled?: boolean;
|
|
68
|
+
isReadOnly?: boolean;
|
|
69
|
+
/** Ocupa el 100% del ancho disponible. */
|
|
70
|
+
fullWidth?: boolean;
|
|
71
|
+
/** Estilo visual v2. @default "bordered" */
|
|
72
|
+
variant?: InputVariant;
|
|
73
|
+
/** Tamaño del campo. @default "lg" (BeweOS) */
|
|
74
|
+
size?: InputSize;
|
|
75
|
+
/** Radio de borde. @default "md" (BeweOS) */
|
|
76
|
+
radius?: InputRadius;
|
|
77
|
+
value?: string;
|
|
78
|
+
defaultValue?: string;
|
|
79
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
80
|
+
/** Compat v2: recibe directamente el string, sin evento. */
|
|
81
|
+
onValueChange?: (value: string) => void;
|
|
82
|
+
className?: string;
|
|
83
|
+
/** Overrides puntuales por slot (compat v2; usar `className` para el resto). */
|
|
84
|
+
classNames?: InputClassNames;
|
|
85
|
+
}
|
|
8
86
|
//# sourceMappingURL=Input.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.types.d.ts","sourceRoot":"","sources":["../../../../src/components/input/Input.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Input.types.d.ts","sourceRoot":"","sources":["../../../../src/components/input/Input.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC3C,mEAAmE;AACnE,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,YAAY,CAAC;AACxE,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAE/D;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,eAAe;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB;AAQD,MAAM,WAAW,UAChB,SAAQ,IAAI,CACX,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAC3C,MAAM,GAAG,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,WAAW,CAC5D;IACD,mDAAmD;IACn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contraseña: la fachada `Input` con un botón de mostrar/ocultar y, opcionalmente, la
|
|
4
|
+
* lista de criterios.
|
|
5
|
+
*
|
|
6
|
+
* `ref` apunta al `<input>` REAL (`HTMLInputElement`) — el mismo contrato que `Input`, no el `<div>`
|
|
7
|
+
* que envuelve campo y criterios. Estaba afectado por el mismo defecto de tipos que `Input` y
|
|
8
|
+
* `Textarea`: el `ref` llegaba al `<input>` en runtime (React 19 lo pasaba dentro de
|
|
9
|
+
* `...inputProps`) pero `InputPasswordProps` no lo declaraba, así que TypeScript lo rechazaba.
|
|
10
|
+
*/
|
|
11
|
+
export declare const InputPassword: import("react").ForwardRefExoticComponent<InputPasswordProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
3
12
|
//# sourceMappingURL=InputPassword.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputPassword.d.ts","sourceRoot":"","sources":["../../../../src/components/input-password/InputPassword.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"InputPassword.d.ts","sourceRoot":"","sources":["../../../../src/components/input-password/InputPassword.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,iHAyFzB,CAAC"}
|
|
@@ -21,7 +21,9 @@ import type { KanbanProps } from "./Kanban.types";
|
|
|
21
21
|
* />
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
|
-
declare const KanbanComponent: <T>({ columns, renderItem, onCardClick, onItemMove, isDraggable, cardClassName, isCardClickable, className, columnWidth, columnGap, horizontalScroll, columnMaxHeight, renderColumnHeader, renderEmptyState, translations, onLoadMore, }: KanbanProps<T>) => import("react
|
|
25
|
-
export declare const Kanban: typeof KanbanComponent
|
|
24
|
+
declare const KanbanComponent: <T>({ columns, renderItem, onCardClick, onItemMove, isDraggable, cardClassName, isCardClickable, className, columnWidth, columnGap, horizontalScroll, columnMaxHeight, renderColumnHeader, renderEmptyState, translations, onLoadMore, showItemCount, }: KanbanProps<T>) => import("react").JSX.Element;
|
|
25
|
+
export declare const Kanban: typeof KanbanComponent & {
|
|
26
|
+
displayName?: string;
|
|
27
|
+
};
|
|
26
28
|
export {};
|
|
27
29
|
//# sourceMappingURL=Kanban.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Kanban.d.ts","sourceRoot":"","sources":["../../../../src/components/kanban/Kanban.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAc,WAAW,EAAsB,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"Kanban.d.ts","sourceRoot":"","sources":["../../../../src/components/kanban/Kanban.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAc,WAAW,EAAsB,MAAM,gBAAgB,CAAC;AAmBlF;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,QAAA,MAAM,eAAe,GAAI,CAAC,EAAG,qPAkB1B,WAAW,CAAC,CAAC,CAAC,gCAqGhB,CAAC;AAEF,eAAO,MAAM,MAAM,EAA4B,OAAO,eAAe,GAAG;IACvE,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -8,6 +8,11 @@ export type KanbanTranslations = {
|
|
|
8
8
|
dropHere?: string;
|
|
9
9
|
/** Mensaje por defecto cuando una columna está vacía */
|
|
10
10
|
emptyMessage?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Sustantivo para el `aria-label` del contador de items del header
|
|
13
|
+
* (se compone como "<n> <itemsLabel>"). Solo se usa si `showItemCount` está activo.
|
|
14
|
+
*/
|
|
15
|
+
itemsLabel?: string;
|
|
11
16
|
};
|
|
12
17
|
/**
|
|
13
18
|
* Representa un item genérico en el Kanban.
|
|
@@ -31,7 +36,10 @@ export interface KanbanColumn<T = unknown> {
|
|
|
31
36
|
items: KanbanItem<T>[];
|
|
32
37
|
/** Mensaje cuando no hay items */
|
|
33
38
|
emptyMessage?: string;
|
|
34
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* Color del badge de conteo. Solo tiene efecto si el Kanban recibe
|
|
41
|
+
* `showItemCount` (el contador está apagado por defecto, ver `KanbanProps.showItemCount`).
|
|
42
|
+
*/
|
|
35
43
|
countBadgeColor?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
36
44
|
/** Si hay más items para cargar (scroll infinito) */
|
|
37
45
|
hasMore?: boolean;
|
|
@@ -117,6 +125,8 @@ export interface KanbanColumnInternalProps<T = unknown> {
|
|
|
117
125
|
translations?: KanbanTranslations;
|
|
118
126
|
/** Callback para cargar más items (scroll infinito) */
|
|
119
127
|
onLoadMore?: () => void;
|
|
128
|
+
/** Si se muestra el badge con el número de items en el header. @default false */
|
|
129
|
+
showItemCount?: boolean;
|
|
120
130
|
}
|
|
121
131
|
/**
|
|
122
132
|
* Props para el componente Kanban principal
|
|
@@ -174,5 +184,15 @@ export interface KanbanProps<T = unknown> {
|
|
|
174
184
|
* ```
|
|
175
185
|
*/
|
|
176
186
|
onLoadMore?: (columnId: string) => void;
|
|
187
|
+
/**
|
|
188
|
+
* Si es true, el header de cada columna muestra un badge con el número de items.
|
|
189
|
+
*
|
|
190
|
+
* TECH-2459 · F5 · P-29 — apagado por defecto por decisión de producto (el contador se
|
|
191
|
+
* retira del Kanban). Se conserva como prop para no romper a quien ya dependía de él ni la
|
|
192
|
+
* prop pública `KanbanColumn.countBadgeColor`, que solo aplica cuando esto está activo.
|
|
193
|
+
*
|
|
194
|
+
* @default false
|
|
195
|
+
*/
|
|
196
|
+
showItemCount?: boolean;
|
|
177
197
|
}
|
|
178
198
|
//# sourceMappingURL=Kanban.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Kanban.types.d.ts","sourceRoot":"","sources":["../../../../src/components/kanban/Kanban.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAChC,kDAAkD;IAClD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wDAAwD;IACxD,YAAY,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"Kanban.types.d.ts","sourceRoot":"","sources":["../../../../src/components/kanban/Kanban.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAChC,kDAAkD;IAClD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wDAAwD;IACxD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;GAGG;AACH,MAAM,WAAW,UAAU,CAAC,CAAC,GAAG,OAAO;IACtC,yDAAyD;IACzD,EAAE,EAAE,MAAM,CAAC;IACX,uDAAuD;IACvD,IAAI,EAAE,CAAC,CAAC;CACR;AAED;;GAEG;AACH,MAAM,WAAW,YAAY,CAAC,CAAC,GAAG,OAAO;IACxC,wCAAwC;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,2BAA2B;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,4BAA4B;IAC5B,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;IACvB,kCAAkC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,eAAe,CAAC,EACb,SAAS,GACT,SAAS,GACT,WAAW,GACX,SAAS,GACT,SAAS,GACT,QAAQ,CAAC;IACZ,qDAAqD;IACrD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,iCAAiC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MA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types";
|
|
|
5
5
|
* El contenido es 100% definido por el padre mediante renderContent.
|
|
6
6
|
* Este componente solo provee el contenedor con estilos, eventos y drag.
|
|
7
7
|
*/
|
|
8
|
-
declare const KanbanCardComponent: <T>({ item, columnId, index, renderContent, onCardClick, className, isClickable, isDraggable, onDragStart, onDragEnd, }: KanbanCardProps<T>) => import("react
|
|
9
|
-
export declare const KanbanCard: typeof KanbanCardComponent
|
|
8
|
+
declare const KanbanCardComponent: <T>({ item, columnId, index, renderContent, onCardClick, className, isClickable, isDraggable, onDragStart, onDragEnd, }: KanbanCardProps<T>) => import("react").JSX.Element;
|
|
9
|
+
export declare const KanbanCard: typeof KanbanCardComponent & {
|
|
10
|
+
displayName?: string;
|
|
11
|
+
};
|
|
10
12
|
export {};
|
|
11
13
|
//# sourceMappingURL=KanbanCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KanbanCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/kanban/_internal/KanbanCard.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD;;;;;GAKG;AACH,QAAA,MAAM,mBAAmB,GAAI,CAAC,EAAG,qHAW9B,eAAe,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"KanbanCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/kanban/_internal/KanbanCard.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD;;;;;GAKG;AACH,QAAA,MAAM,mBAAmB,GAAI,CAAC,EAAG,qHAW9B,eAAe,CAAC,CAAC,CAAC,gCAiEpB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAgC,OAAO,mBAAmB,GAAG;IACnF,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type React from "react";
|
|
1
2
|
import type { KanbanColumnInternalProps } from "../Kanban.types";
|
|
2
3
|
/**
|
|
3
4
|
* KanbanColumn - Columna individual del Kanban con soporte de drop
|
|
@@ -6,7 +7,9 @@ import type { KanbanColumnInternalProps } from "../Kanban.types";
|
|
|
6
7
|
* una lista scrolleable de tarjetas, y estado vacío.
|
|
7
8
|
* Acepta drops de tarjetas de otras columnas.
|
|
8
9
|
*/
|
|
9
|
-
declare const KanbanColumnComponent: <T>({ column, renderItem, onCardClick, cardClassName, isCardClickable, className, maxHeight, renderColumnHeader, renderEmptyState, isDraggable, onDragStart, onDragEnd, onDrop, isDragging, translations, onLoadMore, }: KanbanColumnInternalProps<T>) =>
|
|
10
|
-
export declare const KanbanColumn: typeof KanbanColumnComponent
|
|
10
|
+
declare const KanbanColumnComponent: <T>({ column, renderItem, onCardClick, cardClassName, isCardClickable, className, maxHeight, renderColumnHeader, renderEmptyState, isDraggable, onDragStart, onDragEnd, onDrop, isDragging, translations, onLoadMore, showItemCount, }: KanbanColumnInternalProps<T>) => React.JSX.Element;
|
|
11
|
+
export declare const KanbanColumn: typeof KanbanColumnComponent & {
|
|
12
|
+
displayName?: string;
|
|
13
|
+
};
|
|
11
14
|
export {};
|
|
12
15
|
//# sourceMappingURL=KanbanColumn.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KanbanColumn.d.ts","sourceRoot":"","sources":["../../../../../src/components/kanban/_internal/KanbanColumn.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KanbanColumn.d.ts","sourceRoot":"","sources":["../../../../../src/components/kanban/_internal/KanbanColumn.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAgCjE;;;;;;GAMG;AACH,QAAA,MAAM,qBAAqB,GAAI,CAAC,EAAG,oOAkBhC,yBAAyB,CAAC,CAAC,CAAC,sBA+L9B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAkC,OAAO,qBAAqB,GAAG;IACzF,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { LindaMascotProps } from "./LindaMascot.types";
|
|
3
|
+
/**
|
|
4
|
+
* `useId` devuelve `:r0:` (React 18), `«r0»` o `_r_0_` (19): fuera lo que no vale en un
|
|
5
|
+
* id referenciado desde `url(#…)`.
|
|
6
|
+
*/
|
|
7
|
+
export declare const safeId: (raw: string) => string;
|
|
8
|
+
/**
|
|
9
|
+
* LindaMascot — la cara de Linda: un orbe de tinta con ojos luminosos y anillos
|
|
10
|
+
* iridiscentes, en SVG + CSS (sin imágenes, fuentes ni WebGL).
|
|
11
|
+
*
|
|
12
|
+
* Se anima según lo que Linda está haciendo (`state`) y, en la llamada de voz, según el
|
|
13
|
+
* volumen (`level`), sin preguntar nada al modelo. Pinta más o menos detalle según la
|
|
14
|
+
* talla para leerse igual a 16 px que a 200 px. Ver README.
|
|
15
|
+
*/
|
|
16
|
+
export declare const LindaMascot: React.ForwardRefExoticComponent<LindaMascotProps & React.RefAttributes<SVGSVGElement>>;
|
|
17
|
+
//# sourceMappingURL=LindaMascot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LindaMascot.d.ts","sourceRoot":"","sources":["../../../../src/components/linda-mascot/LindaMascot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,gBAAgB,EAAmB,MAAM,qBAAqB,CAAC;AAmI7E;;;GAGG;AACH,eAAO,MAAM,MAAM,GAAI,KAAK,MAAM,WACQ,CAAC;AAE3C;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,wFA2bvB,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Lo que Linda está haciendo. Ningún estado depende de su ánimo (decisión de producto: sin expresiones faciales): todos
|
|
4
|
+
* salen de señales que la app ya tiene.
|
|
5
|
+
*
|
|
6
|
+
* - `idle`: reposo.
|
|
7
|
+
* - `processing`: esperando el primer token, conectando, pensando.
|
|
8
|
+
* - `working`: una herramienta en curso.
|
|
9
|
+
* - `listening`: llamada de voz, habla la persona (reacciona a `level`).
|
|
10
|
+
* - `talking`: llamada de voz, habla Linda (reacciona a `level`).
|
|
11
|
+
* - `ready`: fin de turno; destello de chispas una sola vez y vuelve al reposo.
|
|
12
|
+
*/
|
|
13
|
+
export type LindaMascotState = "idle" | "processing" | "working" | "listening" | "talking" | "ready";
|
|
14
|
+
/** Tallas con nombre. Cada una pinta su nivel de detalle (ver README). */
|
|
15
|
+
export type LindaMascotSize = "xs" | "sm" | "md" | "lg";
|
|
16
|
+
/** Nivel de detalle que se pinta; sale de los px, no del nombre. */
|
|
17
|
+
export type LindaMascotTier = LindaMascotSize;
|
|
18
|
+
/**
|
|
19
|
+
* `auto` sigue al ancestro claro/oscuro más cercano: los nombres de tema de HeroUI v3
|
|
20
|
+
* (`.light`/`.default`/`.dark` y `[data-theme]`) y los 14 packs de aurora (`green-dark`…).
|
|
21
|
+
* `light`/`dark` lo fuerzan, p. ej. en un escenario que es oscuro siempre. Ver
|
|
22
|
+
* `utils/theme-scope.ts`.
|
|
23
|
+
*/
|
|
24
|
+
export type LindaMascotAppearance = "auto" | "light" | "dark";
|
|
25
|
+
/**
|
|
26
|
+
* `auto` respeta `prefers-reduced-motion`. `reduce` lo fuerza: nada gira ni parpadea y el
|
|
27
|
+
* estado se lee solo por la intensidad del halo. Úsalo en listas largas (un avatar por
|
|
28
|
+
* mensaje) para no animar decenas de SVG a la vez.
|
|
29
|
+
*/
|
|
30
|
+
export type LindaMascotMotion = "auto" | "reduce";
|
|
31
|
+
export interface LindaMascotProps extends Omit<React.SVGProps<SVGSVGElement>, "ref" | "children" | "level"> {
|
|
32
|
+
/** Lo que Linda está haciendo. Default: `idle`. */
|
|
33
|
+
state?: LindaMascotState;
|
|
34
|
+
/**
|
|
35
|
+
* Talla: `xs` (20 px) · `sm` (32) · `md` (72) · `lg` (144), o px exactos. El nivel de
|
|
36
|
+
* detalle sale de los px: ≤20 xs, 21–40 sm, 41–95 md, ≥96 lg. Default: `md`.
|
|
37
|
+
*/
|
|
38
|
+
size?: LindaMascotSize | number;
|
|
39
|
+
/**
|
|
40
|
+
* Intensidad de voz 0–1 para `listening`/`talking`. Se acota a 0–1 (NaN → 0) y se
|
|
41
|
+
* escribe en la variable CSS `--linda-mascot-level`. Para seguir el audio a 60 fps no
|
|
42
|
+
* pases esta prop en cada fotograma: escribe la variable por `ref`
|
|
43
|
+
* (`svg.style.setProperty("--linda-mascot-level", v)`); el componente la suaviza.
|
|
44
|
+
*/
|
|
45
|
+
level?: number;
|
|
46
|
+
/**
|
|
47
|
+
* Nombre accesible. Sin él la mascota es decorativa (`aria-hidden`), porque el nombre
|
|
48
|
+
* suele estar ya en texto al lado. Con él, `role="img"`.
|
|
49
|
+
*/
|
|
50
|
+
label?: string;
|
|
51
|
+
/** Tema. Default: `auto`. */
|
|
52
|
+
appearance?: LindaMascotAppearance;
|
|
53
|
+
/** Movimiento. Default: `auto`. */
|
|
54
|
+
motion?: LindaMascotMotion;
|
|
55
|
+
/** Clases adicionales para el `<svg>`. */
|
|
56
|
+
className?: string;
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=LindaMascot.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LindaMascot.types.d.ts","sourceRoot":"","sources":["../../../../src/components/linda-mascot/LindaMascot.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;;;;;;;;;GAUG;AACH,MAAM,MAAM,gBAAgB,GACzB,MAAM,GACN,YAAY,GACZ,SAAS,GACT,WAAW,GACX,SAAS,GACT,OAAO,CAAC;AAEX,0EAA0E;AAC1E,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAExD,oEAAoE;AACpE,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC;AAE9C;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAE9D;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,QAAQ,CAAC;AAElD,MAAM,WAAW,gBAChB,SAAQ,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,KAAK,GAAG,UAAU,GAAG,OAAO,CAAC;IACzE,mDAAmD;IACnD,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB;;;OAGG;IACH,IAAI,CAAC,EAAE,eAAe,GAAG,MAAM,CAAC;IAChC;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6BAA6B;IAC7B,UAAU,CAAC,EAAE,qBAAqB,CAAC;IACnC,mCAAmC;IACnC,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { LindaMascot } from "./LindaMascot";
|
|
2
|
+
export type { LindaMascotAppearance, LindaMascotMotion, LindaMascotProps, LindaMascotSize, LindaMascotState, } from "./LindaMascot.types";
|
|
3
|
+
export { LINDA_MASCOT_LEVEL_VAR, LINDA_MASCOT_STATES, } from "./linda-mascot.constants";
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/linda-mascot/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EACX,qBAAqB,EACrB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,GAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACN,sBAAsB,EACtB,mBAAmB,GACnB,MAAM,0BAA0B,CAAC"}
|