@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 @@
|
|
|
1
|
+
{"version":3,"file":"renderTrigger.d.ts","sourceRoot":"","sources":["../../../../../src/components/tooltip/_internal/renderTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGN,KAAK,GAAG,EACR,KAAK,YAAY,EACjB,KAAK,SAAS,EAMd,MAAM,OAAO,CAAC;AA0Ef,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,SAAS,IAC/C,UAAU,GAAG,CAAC,iBAAiB,CAAC,KAAK,CAAC,KAAG,YAAY,CAkC7D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EACX,iBAAiB,EACjB,YAAY,EACZ,YAAY,GACZ,MAAM,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TwoColumnLayoutAgent.d.ts","sourceRoot":"","sources":["../../../../src/components/two-column-layout-agent/TwoColumnLayoutAgent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TwoColumnLayoutAgent.d.ts","sourceRoot":"","sources":["../../../../src/components/two-column-layout-agent/TwoColumnLayoutAgent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EACX,yBAAyB,EAEzB,MAAM,8BAA8B,CAAC;AA4ItC,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAuGpE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadFile.d.ts","sourceRoot":"","sources":["../../../../src/components/upload-file/UploadFile.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UploadFile.d.ts","sourceRoot":"","sources":["../../../../src/components/upload-file/UploadFile.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,mBAAmB,CAAC;AAK3B,OAAO,KAAK,EACX,eAAe,EAEf,MAAM,oBAAoB,CAAC;AAslB5B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA2ZhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerticalSteps.d.ts","sourceRoot":"","sources":["../../../../src/components/vertical-steps/VerticalSteps.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"VerticalSteps.d.ts","sourceRoot":"","sources":["../../../../src/components/vertical-steps/VerticalSteps.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAEX,kBAAkB,EAElB,MAAM,uBAAuB,CAAC;AA4D/B,eAAO,MAAM,aAAa,8FAuMzB,CAAC"}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
import type { ButtonProps } from "@heroui/react";
|
|
2
1
|
import type React from "react";
|
|
3
2
|
export interface VerticalStepsTranslations {
|
|
4
3
|
checkIconTitle?: string;
|
|
5
4
|
}
|
|
5
|
+
/**
|
|
6
|
+
* TECH-2459 · G2 — antes derivado de `ButtonProps["color"]` (HeroUI v2). v3 fusionó color+variant
|
|
7
|
+
* en un único `variant` (ver Button.tsx de F3.0) y `ButtonRootProps` ya no tiene `color`. El tipo
|
|
8
|
+
* público no cambia: es literalmente el mismo que `VALID_STEP_COLORS` ya usaba en tiempo de
|
|
9
|
+
* ejecución (VerticalSteps.tsx).
|
|
10
|
+
*/
|
|
11
|
+
export type VerticalStepColor = "primary" | "secondary" | "success" | "warning" | "danger" | "default";
|
|
6
12
|
export type Step = {
|
|
7
13
|
className?: string;
|
|
8
14
|
description?: React.ReactNode;
|
|
@@ -22,7 +28,7 @@ export interface VerticalStepsProps extends React.HTMLAttributes<HTMLButtonEleme
|
|
|
22
28
|
*
|
|
23
29
|
* @default "primary"
|
|
24
30
|
*/
|
|
25
|
-
color?:
|
|
31
|
+
color?: VerticalStepColor;
|
|
26
32
|
/**
|
|
27
33
|
* The current step index.
|
|
28
34
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerticalSteps.types.d.ts","sourceRoot":"","sources":["../../../../src/components/vertical-steps/VerticalSteps.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"VerticalSteps.types.d.ts","sourceRoot":"","sources":["../../../../src/components/vertical-steps/VerticalSteps.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,yBAAyB;IACzC,cAAc,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAC1B,SAAS,GACT,WAAW,GACX,SAAS,GACT,SAAS,GACT,QAAQ,GACR,SAAS,CAAC;AAEb,MAAM,MAAM,IAAI,GAAG;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,kBAChB,SAAQ,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC;IAC/C;;;;OAIG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE,CAAC;IACvB;;;;OAIG;IACH,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;;OAKG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C;;OAEG;IACH,YAAY,CAAC,EAAE,yBAAyB,CAAC;CACzC"}
|
|
@@ -8,5 +8,5 @@ export declare function ViolinFallback({ group, centerX, valueToY, }: {
|
|
|
8
8
|
group: ViolinGroup;
|
|
9
9
|
centerX: number;
|
|
10
10
|
valueToY: (v: number) => number;
|
|
11
|
-
}): import("react
|
|
11
|
+
}): import("react").JSX.Element;
|
|
12
12
|
//# sourceMappingURL=ViolinFallback.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViolinFallback.d.ts","sourceRoot":"","sources":["../../../../src/components/violin-plot/ViolinFallback.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAStD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,EAC9B,KAAK,EACL,OAAO,EACP,QAAQ,GACR,EAAE;IACF,KAAK,EAAE,WAAW,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;CAChC
|
|
1
|
+
{"version":3,"file":"ViolinFallback.d.ts","sourceRoot":"","sources":["../../../../src/components/violin-plot/ViolinFallback.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAStD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,EAC9B,KAAK,EACL,OAAO,EACP,QAAQ,GACR,EAAE;IACF,KAAK,EAAE,WAAW,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;CAChC,+BAyDA"}
|
|
@@ -9,6 +9,6 @@ import type { ViolinPlotProps } from "./ViolinPlot.types";
|
|
|
9
9
|
* `<svg viewBox>` + `width="100%"`. Autocontenido, sin HeroUI, para render
|
|
10
10
|
* server-side directo en tests.
|
|
11
11
|
*/
|
|
12
|
-
export declare function ViolinPlot({ groups, valueLabel, groupLabel, baseUnit, formatValue, height, minSampleForViolin, translations, }: ViolinPlotProps): import("react
|
|
12
|
+
export declare function ViolinPlot({ groups, valueLabel, groupLabel, baseUnit, formatValue, height, minSampleForViolin, translations, }: ViolinPlotProps): import("react").JSX.Element;
|
|
13
13
|
export default ViolinPlot;
|
|
14
14
|
//# sourceMappingURL=ViolinPlot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViolinPlot.d.ts","sourceRoot":"","sources":["../../../../src/components/violin-plot/ViolinPlot.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEX,eAAe,EAEf,MAAM,oBAAoB,CAAC;AAsC5B;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,EAC1B,MAAM,EACN,UAAU,EACV,UAAU,EACV,QAAiB,EACjB,WAAW,EACX,MAAY,EACZ,kBAAuB,EACvB,YAAiB,GACjB,EAAE,eAAe
|
|
1
|
+
{"version":3,"file":"ViolinPlot.d.ts","sourceRoot":"","sources":["../../../../src/components/violin-plot/ViolinPlot.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEX,eAAe,EAEf,MAAM,oBAAoB,CAAC;AAsC5B;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,EAC1B,MAAM,EACN,UAAU,EACV,UAAU,EACV,QAAiB,EACjB,WAAW,EACX,MAAY,EACZ,kBAAuB,EACvB,YAAiB,GACjB,EAAE,eAAe,+BA2LjB;AA2DD,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WhatsAppPreview.d.ts","sourceRoot":"","sources":["../../../../src/components/whatsapp-preview/WhatsAppPreview.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WhatsAppPreview.d.ts","sourceRoot":"","sources":["../../../../src/components/whatsapp-preview/WhatsAppPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAGX,oBAAoB,EAEpB,MAAM,yBAAyB,CAAC;AA6JjC;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwN1D,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { WizardProps } from "./Wizard.types";
|
|
2
|
-
export declare function Wizard({ steps, currentStep, onStepChange, renderStep, navigationConfig, validations, onComplete, onBeforeStepChange, onAfterStepChange, showSidebar, sidebarPosition, minHeight, className, isLoading, loadingText, isDisabled, translations, }: WizardProps): import("react
|
|
2
|
+
export declare function Wizard({ steps, currentStep, onStepChange, renderStep, navigationConfig, validations, onComplete, onBeforeStepChange, onAfterStepChange, showSidebar, sidebarPosition, minHeight, className, isLoading, loadingText, isDisabled, translations, }: WizardProps): import("react").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=Wizard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Wizard.d.ts","sourceRoot":"","sources":["../../../../src/components/wizard/Wizard.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Wizard.d.ts","sourceRoot":"","sources":["../../../../src/components/wizard/Wizard.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,WAAW,EAIZ,MAAM,gBAAgB,CAAC;AAiDxB,wBAAgB,MAAM,CAAC,EACrB,KAAK,EACL,WAAW,EACX,YAAY,EACZ,UAAU,EACV,gBAAqB,EACrB,WAAgB,EAChB,UAAU,EACV,kBAAkB,EAClB,iBAAiB,EACjB,WAAkB,EAClB,eAAwB,EACxB,SAAmB,EACnB,SAAc,EACd,SAAiB,EACjB,WAAW,EACX,UAAkB,EAClB,YAAiB,GAClB,EAAE,WAAW,+BA8Sb"}
|
|
@@ -2,5 +2,5 @@ import type { WizardNavigationProps } from "./Wizard.types";
|
|
|
2
2
|
/**
|
|
3
3
|
* WizardNavigation - Botones de navegación del wizard (Atrás/Siguiente/Finalizar)
|
|
4
4
|
*/
|
|
5
|
-
export declare function WizardNavigation({ currentStep, totalSteps, onBack, onNext, onFinish, isNextDisabled, isBackDisabled, showBack, nextText, backText, finishText, isLoading, className, translations, }: WizardNavigationProps): import("react
|
|
5
|
+
export declare function WizardNavigation({ currentStep, totalSteps, onBack, onNext, onFinish, isNextDisabled, isBackDisabled, showBack, nextText, backText, finishText, isLoading, className, translations, }: WizardNavigationProps): import("react").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=WizardNavigation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WizardNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/wizard/WizardNavigation.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WizardNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/wizard/WizardNavigation.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAE5D;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,WAAW,EACX,UAAU,EACV,MAAM,EACN,MAAM,EACN,QAAQ,EACR,cAAsB,EACtB,cAAsB,EACtB,QAAe,EACf,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,SAAiB,EACjB,SAAc,EACd,YAAiB,GAClB,EAAE,qBAAqB,+BA2DvB"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import "./WizardSidebar.scss";
|
|
1
2
|
import type { WizardSidebarProps } from "./Wizard.types";
|
|
2
3
|
/**
|
|
3
4
|
* WizardSidebar - Componente de navegación lateral del wizard
|
|
4
5
|
* Muestra los pasos con indicadores visuales de estado (activo, completado, pendiente)
|
|
5
6
|
*/
|
|
6
|
-
export declare function WizardSidebar({ steps, currentStep, onStepClick, allowSkipToCompleted, position, translations, }: WizardSidebarProps): import("react
|
|
7
|
+
export declare function WizardSidebar({ steps, currentStep, onStepClick, allowSkipToCompleted, position, translations, }: WizardSidebarProps): import("react").JSX.Element;
|
|
7
8
|
//# sourceMappingURL=WizardSidebar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WizardSidebar.d.ts","sourceRoot":"","sources":["../../../../src/components/wizard/WizardSidebar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WizardSidebar.d.ts","sourceRoot":"","sources":["../../../../src/components/wizard/WizardSidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEzD;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,WAAW,EACX,WAAW,EACX,oBAA4B,EAC5B,QAAiB,EACjB,YAAiB,GAClB,EAAE,kBAAkB,+BAuHpB"}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Colores del toast.
|
|
3
|
+
*
|
|
4
|
+
* Antes se derivaba de `AlertProps["color"]` de HeroUI v2. En v3 `Alert` ya no tiene prop
|
|
5
|
+
* `color`, así que la unión se escribe literal para que el tipo PÚBLICO de la librería no
|
|
6
|
+
* cambie: es exactamente el que resolvía `AlertProps["color"]` en v2.
|
|
7
|
+
* La migración del componente Toast en sí va en su lane (F3 · G2).
|
|
8
|
+
*/
|
|
9
|
+
export type ToastColor = "default" | "primary" | "secondary" | "success" | "warning" | "danger";
|
|
2
10
|
export interface ToastState {
|
|
3
11
|
isVisible: boolean;
|
|
4
12
|
title: string;
|
|
5
13
|
description?: string;
|
|
6
|
-
color?:
|
|
14
|
+
color?: ToastColor;
|
|
7
15
|
duration?: number;
|
|
8
16
|
}
|
|
9
17
|
export type ToastOptions = Omit<ToastState, "isVisible">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast.context.type.d.ts","sourceRoot":"","sources":["../../../../src/contexts/toast/toast.context.type.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"toast.context.type.d.ts","sourceRoot":"","sources":["../../../../src/contexts/toast/toast.context.type.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,MAAM,UAAU,GACnB,SAAS,GACT,SAAS,GACT,WAAW,GACX,SAAS,GACT,SAAS,GACT,QAAQ,CAAC;AAEZ,MAAM,WAAW,UAAU;IAC1B,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;AAEzD,MAAM,WAAW,gBAAgB;IAChC,KAAK,EAAE,UAAU,CAAC;IAClB,SAAS,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;IAC3C,SAAS,EAAE,MAAM,IAAI,CAAC;CACtB"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import "./styles/globals.css";
|
|
2
|
-
|
|
3
|
-
export { Slider } from "@heroui/react";
|
|
2
|
+
import "./styles/linda-aura.css";
|
|
3
|
+
export { Accordion, AccordionItem, Avatar, Breadcrumbs, CardFooter, CardHeader, CheckboxGroup, CloseButton, type DateValue, DropdownItem, DropdownMenu, DropdownTrigger, Link, Popover, PopoverContent, PopoverTrigger, Radio, RadioGroup, type RangeValue, Skeleton, Slider, Spinner, TableBody, TableCell, TableColumn, TableHeader, TableRow, } from "@heroui/react";
|
|
4
|
+
export { cn } from "./utils/cn";
|
|
5
|
+
export { AutocompleteItem, BreadcrumbItem, CardBody, Divider, HeroUIProvider, type HeroUIProviderProps, Image, type ImageProps, Progress, type ProgressProps, SelectItem, type SelectItemClassNames, type SelectItemProps, SelectSection, type SelectSectionProps, useDisclosure, type Selection, type SortDescriptor, type TextAreaProps, } from "./compat/heroui-v2-shims";
|
|
4
6
|
export * from "./components/accordion-list";
|
|
5
7
|
export * from "./components/add-holiday-form";
|
|
6
8
|
export * from "./components/analytics-card";
|
|
7
9
|
export * from "./components/area-line-chart";
|
|
8
10
|
export * from "./components/autocomplete";
|
|
9
|
-
export * from "./components/
|
|
11
|
+
export * from "./components/beta-badge";
|
|
12
|
+
export { ColorPicker, DEFAULT_PREDEFINED_COLORS, type ColorPickerHandle, type ColorPickerProps, type ColorPickerTranslations, type PredefinedColor, } from "./components/color-picker";
|
|
10
13
|
export * from "./components/color-selector";
|
|
11
14
|
export * from "./components/chip";
|
|
12
15
|
export * from "./components/currency";
|
|
@@ -19,10 +22,11 @@ export * from "./components/h1";
|
|
|
19
22
|
export * from "./components/h2";
|
|
20
23
|
export * from "./components/h3";
|
|
21
24
|
export * from "./components/h4";
|
|
22
|
-
export
|
|
25
|
+
export { HeaderComponent, type HeaderProps, type HeaderOptions, type HeaderTranslations, } from "./components/header";
|
|
23
26
|
export * from "./components/icon";
|
|
24
27
|
export * from "./components/kanban";
|
|
25
28
|
export * from "./components/linda-icon";
|
|
29
|
+
export * from "./components/linda-mascot";
|
|
26
30
|
export * from "./components/image-preview";
|
|
27
31
|
export * from "./components/menu";
|
|
28
32
|
export * from "./components/menu-claw";
|
|
@@ -61,22 +65,31 @@ export * from "./components/range-filter";
|
|
|
61
65
|
export * from "./components/simple-line-chart";
|
|
62
66
|
export * from "./components/segmentation-builder";
|
|
63
67
|
export * from "./components/tags-filter";
|
|
68
|
+
export * from "./utils/dismiss-control";
|
|
64
69
|
export * from "./utils/formatters";
|
|
65
|
-
export { Modal, ModalContent, ModalHeader, ModalBody, ModalFooter, type ModalProps, } from "./components/modal";
|
|
66
|
-
export {
|
|
67
|
-
export {
|
|
68
|
-
export {
|
|
70
|
+
export { Modal, ModalContent, ModalHeader, ModalBody, ModalFooter, type ModalClassNames, type ModalProps, } from "./components/modal";
|
|
71
|
+
export { Drawer, DrawerBody, type DrawerBodyProps, DrawerContent, type DrawerContentProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerPlacement, type DrawerProps, type DrawerScrollBehavior, type DrawerSize, } from "./components/drawer";
|
|
72
|
+
export { Alert, type AlertClassNames, type AlertColor, type AlertProps, type AlertRadius, type AlertStatus, type AlertTranslations, type AlertVariant, } from "./components/alert";
|
|
73
|
+
export { Checkbox, type CheckboxClassNames, type CheckboxColor, type CheckboxIconProps, type CheckboxProps, type CheckboxRadius, type CheckboxSize, } from "./components/checkbox";
|
|
74
|
+
export { Switch, type SwitchColor, type SwitchProps, type SwitchSize, } from "./components/switch";
|
|
75
|
+
export { AuraAutocomplete, AuraAutocomplete as Autocomplete, type AuraAutocompleteProps, type AuraAutocompleteTranslations, } from "./components/autocomplete";
|
|
76
|
+
export { Button, type ButtonDOMProps, type ButtonLinkProps, type ButtonProps, } from "./components/button";
|
|
77
|
+
export { Card, type CardPressEvent, type CardProps } from "./components/card";
|
|
69
78
|
export { Input, type InputProps } from "./components/input";
|
|
70
79
|
export { SearchInput, type SearchInputProps } from "./components/search-input";
|
|
71
|
-
export { Select, type SelectProps } from "./components/select";
|
|
80
|
+
export { Select, type SelectProps, type SelectTranslations, } from "./components/select";
|
|
81
|
+
export { Table, type TableProps } from "./components/table";
|
|
82
|
+
export { Dropdown, DropdownSection, type DropdownClassNames, type DropdownPlacement, type DropdownProps, type DropdownSectionClassNames, type DropdownSectionProps, type DropdownV2Placement, type DropdownV3Placement, } from "./components/dropdown";
|
|
83
|
+
export { Tab, Tabs, type TabProps, type TabsProps, } from "./components/tabs";
|
|
72
84
|
export { Textarea, type TextareaProps } from "./components/textarea";
|
|
73
85
|
export { DatePicker, type DatePickerProps, } from "./components/datepicker";
|
|
74
86
|
export { DateRangePicker, type DateRangePickerProps, } from "./components/daterangepicker";
|
|
75
|
-
export { Pagination, type PaginationProps } from "./components/pagination";
|
|
87
|
+
export { Pagination, type PaginationProps, type PaginationTranslations, } from "./components/pagination";
|
|
88
|
+
export { Badge, type BadgeProps, type BadgeSize } from "./components/badge";
|
|
76
89
|
export { Chip, type ChipProps } from "./components/chip";
|
|
77
90
|
export { RangeFilter, type RangeFilterProps, type RangeFilterTranslations, } from "./components/range-filter";
|
|
78
91
|
export { TagsFilter, type TagsFilterProps, type TagsFilterTranslations, type TagItem, } from "./components/tags-filter";
|
|
79
|
-
export { Tooltip, type TooltipProps } from "./components/tooltip";
|
|
92
|
+
export { Tooltip, type TooltipClassNames, type TooltipColor, type TooltipProps, } from "./components/tooltip";
|
|
80
93
|
export { InputPassword, type InputPasswordProps, type PasswordCriterionItem, type InputPasswordTranslations, } from "./components/input-password";
|
|
81
94
|
export { SegmentationBuilder, type SegmentationBuilderProps, type SegmentationBuilderRef, type SegmentationBuilderTranslations, type SegmentationField, type SegmentationGroup, type SegmentationRule, type SegmentationFilter, type SegmentationTag, type SegmentationOperator, } from "./components/segmentation-builder";
|
|
82
95
|
export * from "./types/calendar.types";
|
|
@@ -88,6 +101,6 @@ export * from "./providers/navigation-loading";
|
|
|
88
101
|
export * from "./contexts/theme";
|
|
89
102
|
export * from "./contexts/toast";
|
|
90
103
|
export * from "./contexts/navigation-loading";
|
|
91
|
-
export
|
|
104
|
+
export { useCloseOnAncestorScroll, useMediaQuery } from "./hooks";
|
|
92
105
|
export { loadIcons } from "@iconify/react";
|
|
93
106
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import type { ThemeMode } from "../../contexts/theme/theme-context.type";
|
|
2
|
+
/**
|
|
3
|
+
* Pisa el primary del tema activo con un color arbitrario (onboarding de negocio).
|
|
4
|
+
*
|
|
5
|
+
* Comportamiento deliberado y sin cambios respecto a v2: escribe estilos INLINE en `<html>`,
|
|
6
|
+
* son temporales (se pierden al recargar) y solo tocan `primary` — nunca `secondary`.
|
|
7
|
+
* `--accent` se escribe además del token propio para que los componentes de HeroUI v3 sigan
|
|
8
|
+
* el color aunque el elemento no lleve ninguna clase de pack.
|
|
9
|
+
*/
|
|
2
10
|
export declare function applyCustomPrimaryColor(hex: string, mode: ThemeMode): void;
|
|
3
11
|
export declare function removeCustomPrimaryColor(): void;
|
|
4
12
|
//# sourceMappingURL=apply-custom-color.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apply-custom-color.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/apply-custom-color.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"apply-custom-color.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/apply-custom-color.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAiCzE;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,IAAI,CAoB1E;AAED,wBAAgB,wBAAwB,IAAI,IAAI,CAK/C"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deja en el `<html>` la clase del pack `theme` y ninguna otra de {@link ALL_THEMES}.
|
|
3
|
+
*
|
|
4
|
+
* El DOM se escribe SÍNCRONAMENTE y no se delega el `add` a un efecto de React a propósito:
|
|
5
|
+
* cuando una app reaplica el pack que ya estaba (tema de sesión + brand-config asíncrono con
|
|
6
|
+
* el mismo valor), el `setState` recibe un valor idéntico, React hace bail-out y el efecto no
|
|
7
|
+
* vuelve a correr. Con el `remove` aquí y el `add` allí, ese caso dejaba el `<html>` sin clase
|
|
8
|
+
* de tema y `--color-primary` caía al azul base del `@theme static`. Quitar y añadir juntas
|
|
9
|
+
* hace la función idempotente por construcción.
|
|
10
|
+
*/
|
|
11
|
+
export declare function applyThemeClass(root: HTMLElement, theme: string): void;
|
|
12
|
+
//# sourceMappingURL=apply-theme-class.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apply-theme-class.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/apply-theme-class.ts"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAGtE"}
|
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* Nombre de la cookie con la que BeweOS SMBs guarda el modo de apariencia del usuario. Debe
|
|
3
|
+
* coincidir con `THEME_MODE_COOKIE_NAME` en SMBs (`apply-initial-session-theme`).
|
|
4
|
+
*
|
|
5
|
+
* Se exporta solo como constante compartida: esta librería NO la lee ni la escribe. Hasta el
|
|
6
|
+
* 08-sep-2026 `forceLightOnlyThemeBeforeReact()` la borraba, y como `useThemeManager` llama a
|
|
7
|
+
* esa función al montar `ThemeProvider`, toda app que montara el provider perdía la
|
|
8
|
+
* preferencia del usuario (medido en loginos, ver runbook-apps.md).
|
|
9
|
+
*/
|
|
2
10
|
export declare const BEWEOS_THEME_MODE_COOKIE_NAME = "beweos_theme_mode";
|
|
3
11
|
/**
|
|
4
|
-
* Asegura apariencia solo clara antes de montar React: corrige `localStorage`
|
|
5
|
-
*
|
|
12
|
+
* Asegura apariencia solo clara antes de montar React: corrige `localStorage["heroui-theme"]`
|
|
13
|
+
* (`dark`/`system` → `light`, `<pack>-dark` → `<pack>-light`), sustituye las clases `dark` /
|
|
14
|
+
* `*-dark` de `<html>` por su pack claro y fija `color-scheme: light`.
|
|
15
|
+
*
|
|
16
|
+
* No toca ninguna cookie: `beweos_theme_mode` es de la app (BeweOS SMBs), no de la librería.
|
|
6
17
|
* Debe ejecutarse lo antes posible en el entry (p. ej. justo antes de `createRoot`).
|
|
7
18
|
*/
|
|
8
19
|
export declare function forceLightOnlyThemeBeforeReact(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"force-light-only-theme.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/force-light-only-theme.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"force-light-only-theme.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/force-light-only-theme.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,eAAO,MAAM,6BAA6B,sBAAsB,CAAC;AAajE;;;;;;;GAOG;AACH,wBAAgB,8BAA8B,IAAI,IAAI,CA4BrD"}
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
import type { ThemeMode } from "../../contexts/theme/theme-context.type";
|
|
2
2
|
export declare function hslToCssValue(h: number, s: number, l: number): string;
|
|
3
|
+
/**
|
|
4
|
+
* Pasa un hex (`#rgb` o `#rrggbb`, en cualquier caja) a canales HSL.
|
|
5
|
+
*
|
|
6
|
+
* Se expone porque el hex es una de las dos formas en las que llega el `primary` del
|
|
7
|
+
* tema —los 14 packs lo emiten así en `theme-tokens.generated.css`— y `linda-tones.ts`
|
|
8
|
+
* necesita esa misma conversión para derivar los tonos del aura. Antes de exportarla ya
|
|
9
|
+
* había dos copias privadas de `hexToRgb` en esta carpeta; no hacía falta una tercera.
|
|
10
|
+
*/
|
|
11
|
+
export declare function hexToHsl(hex: string): {
|
|
12
|
+
h: number;
|
|
13
|
+
s: number;
|
|
14
|
+
l: number;
|
|
15
|
+
};
|
|
3
16
|
export declare function getContrastForeground(hex: string): string;
|
|
4
17
|
export interface ThemeColorScale {
|
|
5
18
|
shades: Record<string, string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-color-scale.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/generate-color-scale.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAmDzE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAErE;AAED,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAIzD;AAgDD,MAAM,WAAW,eAAe;IAC/B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,eAAe,CAUrF"}
|
|
1
|
+
{"version":3,"file":"generate-color-scale.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/generate-color-scale.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAmDzE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAErE;AAED;;;;;;;GAOG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAIzE;AAED,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAIzD;AAgDD,MAAM,WAAW,eAAe;IAC/B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,eAAe,CAUrF"}
|
|
@@ -2,6 +2,7 @@ export * from "./force-light-only-theme";
|
|
|
2
2
|
export * from "./hex-to-theme-color";
|
|
3
3
|
export * from "./generate-color-scale";
|
|
4
4
|
export * from "./apply-custom-color";
|
|
5
|
+
export * from "./linda-tones";
|
|
5
6
|
export * from "./theme-provider";
|
|
6
7
|
export * from "./theme-provider.types";
|
|
7
8
|
export * from "./theme.utils";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Los tres tonos del aura de Linda, derivados del `primary` de la agencia.
|
|
3
|
+
*
|
|
4
|
+
* Linda no tiene color propio: es el `primary` que el negocio eligió en el onboarding,
|
|
5
|
+
* y por eso aquí no hay ni un color escrito. Lo único que se fija es CUÁNTO se gira ese
|
|
6
|
+
* tono y en qué banda de luz se pinta.
|
|
7
|
+
*/
|
|
8
|
+
/** Un color en HSL, la forma en la que trabaja la matemática de los tonos. */
|
|
9
|
+
export interface Hsl {
|
|
10
|
+
h: number;
|
|
11
|
+
s: number;
|
|
12
|
+
l: number;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Lee el `primary` del tema en las DOS formas en las que llega de verdad.
|
|
16
|
+
*
|
|
17
|
+
* Medido en el navegador sobre esta rama, `getComputedStyle(<html>)` de
|
|
18
|
+
* `--color-primary`:
|
|
19
|
+
*
|
|
20
|
+
* | Camino por el que llega el primary | Valor |
|
|
21
|
+
* |---|---|
|
|
22
|
+
* | Los 14 packs (`theme-tokens.generated.css`) | `#006fee` |
|
|
23
|
+
* | Hex a medida del negocio (`apply-custom-color.ts`) | `hsl(212 100% 46.67%)` |
|
|
24
|
+
*
|
|
25
|
+
* En HeroUI v2 esto era un único formato —canales HSL sueltos, `212 100% 47%`, que es
|
|
26
|
+
* lo que hacía válido el `hsl(var(--heroui-primary))` de la hoja del aura— porque el
|
|
27
|
+
* token de HeroUI guardaba canales. `--heroui-primary` ya no existe en v3 y el token de
|
|
28
|
+
* Aurora guarda un COLOR COMPLETO (`tabla-mapeo-tokens.md` §2), así que el triplete
|
|
29
|
+
* suelto desapareció y lo que hay que leer son estas dos formas del color.
|
|
30
|
+
*
|
|
31
|
+
* Devuelve `null` en vez de lanzar: esto corre en un efecto de tema y el valor puede
|
|
32
|
+
* no estar todavía —la clase del tema aún no está en el `<html>`, o el consumidor no
|
|
33
|
+
* cargó la hoja de estilos—. Un aura que no se pinta es un problema menor; una
|
|
34
|
+
* excepción que tumba el provider de tema, no. Por lo mismo devuelve `null` para
|
|
35
|
+
* cualquier otra notación (un color con nombre, `oklch(...)`): Aurora no emite ninguna
|
|
36
|
+
* para este token, y si algún día lo hiciera el aura se queda monocroma en vez de
|
|
37
|
+
* romper el tema.
|
|
38
|
+
*/
|
|
39
|
+
export declare function parseColorToHsl(value: string): Hsl | null;
|
|
40
|
+
/**
|
|
41
|
+
* Los tres tonos del aura, listos para escribirse en una variable CSS.
|
|
42
|
+
*
|
|
43
|
+
* Salen como COLOR COMPLETO (`hsl(H S% L%)`) y no como los canales sueltos de v2: la
|
|
44
|
+
* hoja del aura los consume con `var(--linda-N, var(--color-primary))`, sin envolver,
|
|
45
|
+
* porque el fallback —el token de primary de Aurora— también es un color completo y
|
|
46
|
+
* `hsl(var(--color-primary))` no sería CSS válido. Es la misma conversión que hace
|
|
47
|
+
* `apply-custom-color.ts` al escribir el primary a medida.
|
|
48
|
+
*
|
|
49
|
+
* Se redondean a entero: es un degradado decorativo, y las décimas de grado solo
|
|
50
|
+
* alargan la hoja de estilos.
|
|
51
|
+
*/
|
|
52
|
+
export declare function deriveLindaTones(primary: Hsl): [string, string, string];
|
|
53
|
+
/** Las variables que se escriben en el `<html>`, en el orden en que se pintan. */
|
|
54
|
+
export declare const LINDA_TONE_PROPERTIES: readonly ["--linda-1", "--linda-2", "--linda-3"];
|
|
55
|
+
/**
|
|
56
|
+
* Lo que se usa del `style` del `<html>`.
|
|
57
|
+
*
|
|
58
|
+
* Se pide esta forma y no un `HTMLElement` para que la derivación se pueda probar sin
|
|
59
|
+
* navegador: `CSSStyleDeclaration` la cumple tal cual.
|
|
60
|
+
*/
|
|
61
|
+
export interface LindaStyleTarget {
|
|
62
|
+
setProperty(name: string, value: string): void;
|
|
63
|
+
removeProperty(name: string): void;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Escribe los tres tonos del aura a partir del valor de `--color-primary`.
|
|
67
|
+
*
|
|
68
|
+
* Si el primary no se puede leer, **borra los que hubiera** y devuelve `false`. Es lo
|
|
69
|
+
* contrario de dejarlos: unos tonos viejos son de otro tema, y un aura del color
|
|
70
|
+
* anterior es peor que un aura que no se pinta —la CSS del efecto ya está escrita para
|
|
71
|
+
* desaparecer sin sus variables—.
|
|
72
|
+
*/
|
|
73
|
+
export declare function applyLindaTones(style: LindaStyleTarget, primaryValue: string): boolean;
|
|
74
|
+
/** Quita los tres tonos del aura. */
|
|
75
|
+
export declare function removeLindaTones(style: LindaStyleTarget): void;
|
|
76
|
+
//# sourceMappingURL=linda-tones.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linda-tones.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/linda-tones.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,8EAA8E;AAC9E,MAAM,WAAW,GAAG;IACnB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACV;AAuDD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,GAAG,IAAI,CAgBzD;AAWD;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAgBvE;AAED,kFAAkF;AAClF,eAAO,MAAM,qBAAqB,kDAIxB,CAAC;AAEX;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAChC,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/C,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC9B,KAAK,EAAE,gBAAgB,EACvB,YAAY,EAAE,MAAM,GAClB,OAAO,CAgBT;AAED,qCAAqC;AACrC,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAI9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useThemeManager.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/useThemeManager.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useThemeManager.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/useThemeManager.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACX,UAAU,EACV,SAAS,EACT,MAAM,yCAAyC,CAAC;AAiDjD;;;;GAIG;AACH,eAAO,MAAM,eAAe;;;;uBAqFhB,SAAS;yBAUR,UAAU,GAAG,MAAM;CAiC/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast-provider.d.ts","sourceRoot":"","sources":["../../../../src/providers/toast/toast-provider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"toast-provider.d.ts","sourceRoot":"","sources":["../../../../src/providers/toast/toast-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAa3C,UAAU,sBAAsB;IAC/B,QAAQ,EAAE,SAAS,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAyDxD,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `cn` de Aurora: el mismo `cn` de `tailwind-variants` que reexporta HeroUI v3, pero con
|
|
3
|
+
* `tailwind-merge` enseñado a reconocer el vocabulario de HeroUI v2.
|
|
4
|
+
*
|
|
5
|
+
* Por qué existe (TECH-2459): el `cn` de v3 corre sobre `tailwind-merge` 3, que no conoce la
|
|
6
|
+
* escala `tiny/small/medium/large` del plugin `heroui()` de v2. Sin esta configuración:
|
|
7
|
+
*
|
|
8
|
+
* - `cn("text-tiny text-default-500")` → `"text-default-500"`: lee `text-tiny` como un COLOR
|
|
9
|
+
* (`text-<cualquier cosa>` casa con el validador de color), ve otro color detrás y la BORRA
|
|
10
|
+
* del DOM. Medido en `P.tsx`: texto a 16px en vez de 12px.
|
|
11
|
+
* - `cn("border-medium border-default-200")` y `cn("shadow-small shadow-primary")` igual:
|
|
12
|
+
* `border-*` y `shadow-*` también caen en el validador de color.
|
|
13
|
+
* - `cn("rounded-medium rounded-none")` → conserva las dos: no la reconoce como radio, así
|
|
14
|
+
* que el conflicto real no se resuelve y gana la que venga después en la hoja.
|
|
15
|
+
*
|
|
16
|
+
* Las utilidades en sí (`.text-tiny`, `.rounded-medium`…) las genera el Tailwind de la app a
|
|
17
|
+
* partir de los tokens `--text-*`, `--radius-*`, `--border-width-*` y `--shadow-*` que publica
|
|
18
|
+
* `theme-tokens.generated.css` (export `./theme`). Esto solo cubre la otra mitad: que `cn` no
|
|
19
|
+
* las borre ni las deje sin resolver.
|
|
20
|
+
*
|
|
21
|
+
* La escala sale del plugin v2 (`@heroui/theme@2.4.15`, `corePlugin` → `theme.extend`):
|
|
22
|
+
* `fontSize` tiny/small/medium/large, `borderRadius` small/medium/large, `borderWidth`
|
|
23
|
+
* small/medium/large, `boxShadow` small/medium/large. Nada más: la escala `*-unit-*` NO existía
|
|
24
|
+
* en 2.4.15 (ya estaba muerta en v2) y no se repone.
|
|
25
|
+
*
|
|
26
|
+
* Se exporta como `cn` del paquete, así que el de las apps y el de las fachadas es el mismo.
|
|
27
|
+
* Las fachadas deben importarlo de aquí, nunca de `@heroui/react` (lo vigila `cn.test.ts`).
|
|
28
|
+
*/
|
|
29
|
+
import { type CnOptions, type CnReturn } from "tailwind-variants";
|
|
30
|
+
export declare const AURORA_TW_MERGE_CONFIG: {
|
|
31
|
+
extend: {
|
|
32
|
+
theme: {
|
|
33
|
+
text: string[];
|
|
34
|
+
radius: string[];
|
|
35
|
+
shadow: string[];
|
|
36
|
+
};
|
|
37
|
+
classGroups: {
|
|
38
|
+
[k: string]: {
|
|
39
|
+
[x: string]: string[];
|
|
40
|
+
}[];
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
/** Combina clases y resuelve conflictos de Tailwind, conociendo la escala de HeroUI v2. */
|
|
45
|
+
export declare const cn: <T extends CnOptions>(...classnames: T) => CnReturn;
|
|
46
|
+
//# sourceMappingURL=cn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../../src/utils/cn.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAW,MAAM,mBAAmB,CAAC;AA0B3E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;CAclC,CAAC;AAKF,2FAA2F;AAC3F,eAAO,MAAM,EAAE,GAAI,CAAC,SAAS,SAAS,EAAE,GAAG,YAAY,CAAC,KAAG,QACrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection-items.d.ts","sourceRoot":"","sources":["../../../src/utils/collection-items.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAgB,SAAS,EAAE,MAAM,OAAO,CAAC;AAmErD,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,SAAS,GAAG,SAAS,CA8BpE"}
|