@nordhealth/components 4.26.2 → 5.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/custom-elements.json +51620 -18552
- package/lib/Accordion.js +2 -0
- package/lib/Accordion.js.map +1 -0
- package/lib/AccordionHeader.js +2 -0
- package/lib/AccordionHeader.js.map +1 -0
- package/lib/AccordionItem.js +2 -0
- package/lib/AccordionItem.js.map +1 -0
- package/lib/AccordionPanel.js +2 -0
- package/lib/AccordionPanel.js.map +1 -0
- package/lib/AccordionTrigger.js +2 -0
- package/lib/AccordionTrigger.js.map +1 -0
- package/lib/ActiveDescendantController-BnMqM79O.js +2 -0
- package/lib/ActiveDescendantController-BnMqM79O.js.map +1 -0
- package/lib/Aside.js +5 -7
- package/lib/Aside.js.map +1 -1
- package/lib/AsideDrawer.js +7 -11
- package/lib/AsideDrawer.js.map +1 -1
- package/lib/AsideTrigger.js +3 -4
- package/lib/AsideTrigger.js.map +1 -1
- package/lib/Autocomplete.js +2 -0
- package/lib/Autocomplete.js.map +1 -0
- package/lib/Avatar.js +1 -1
- package/lib/Avatar.js.map +1 -1
- package/lib/Badge.js +1 -1
- package/lib/Badge.js.map +1 -1
- package/lib/Banner.js +1 -1
- package/lib/Banner.js.map +1 -1
- package/lib/Button.js +7 -12
- package/lib/Button.js.map +1 -1
- package/lib/ButtonGroup.js +1 -1
- package/lib/ButtonGroup.js.map +1 -1
- package/lib/Calendar-D47b20IT.js +2 -0
- package/lib/Calendar-D47b20IT.js.map +1 -0
- package/lib/Calendar.js +1 -1
- package/lib/Card.js +1 -1
- package/lib/Card.js.map +1 -1
- package/lib/Checkbox.js +1 -1
- package/lib/Checkbox.js.map +1 -1
- package/lib/CollapseController-BtKNFNyJ.js +2 -0
- package/lib/CollapseController-BtKNFNyJ.js.map +1 -0
- package/lib/Collapsible.js +2 -0
- package/lib/Collapsible.js.map +1 -0
- package/lib/CollapsiblePanel.js +2 -0
- package/lib/CollapsiblePanel.js.map +1 -0
- package/lib/CollapsibleTrigger.js +2 -0
- package/lib/CollapsibleTrigger.js.map +1 -0
- package/lib/Combobox-DBxXlbY7.js +2 -0
- package/lib/Combobox-DBxXlbY7.js.map +1 -0
- package/lib/Combobox.js +2 -0
- package/lib/Combobox.js.map +1 -0
- package/lib/ComboboxBase.js +2 -0
- package/lib/ComboboxBase.js.map +1 -0
- package/lib/ComboboxEvents.js +2 -0
- package/lib/ComboboxEvents.js.map +1 -0
- package/lib/ComboboxGroup.js +2 -0
- package/lib/ComboboxGroup.js.map +1 -0
- package/lib/ComboboxOption.js +2 -0
- package/lib/ComboboxOption.js.map +1 -0
- package/lib/CommandMenu.js +1 -1
- package/lib/CommandMenu.js.map +1 -1
- package/lib/CommandMenuAction.js +1 -1
- package/lib/CommandMenuAction.js.map +1 -1
- package/lib/Component-BJ5O5n8k.js +2 -0
- package/lib/Component-BJ5O5n8k.js.map +1 -0
- package/lib/DatePicker.js +1 -1
- package/lib/DatePicker.js.map +1 -1
- package/lib/DateRangeChangeEvent.js +2 -0
- package/lib/DateRangeChangeEvent.js.map +1 -0
- package/lib/DateRangePicker.js +2 -0
- package/lib/DateRangePicker.js.map +1 -0
- package/lib/DateRangeSelectEvent.js +2 -0
- package/lib/DateRangeSelectEvent.js.map +1 -0
- package/lib/Divider.js +1 -1
- package/lib/Divider.js.map +1 -1
- package/lib/DraftComponentMixin-4qug5Rky.js +2 -0
- package/lib/DraftComponentMixin-4qug5Rky.js.map +1 -0
- package/lib/Drawer.js +1 -1
- package/lib/Drawer.js.map +1 -1
- package/lib/Dropdown.js +1 -1
- package/lib/Dropdown.js.map +1 -1
- package/lib/DropdownGroup.js +1 -1
- package/lib/DropdownGroup.js.map +1 -1
- package/lib/DropdownItem-BYbOLth6.js +2 -0
- package/lib/DropdownItem-BYbOLth6.js.map +1 -0
- package/lib/DropdownItem.js +1 -1
- package/lib/DropdownItem.js.map +1 -1
- package/lib/DropdownSubmenu.js +1 -1
- package/lib/DropdownSubmenu.js.map +1 -1
- package/lib/EmptyState.js +1 -1
- package/lib/EmptyState.js.map +1 -1
- package/lib/Field.js +2 -0
- package/lib/Field.js.map +1 -0
- package/lib/FieldContent.js +2 -0
- package/lib/FieldContent.js.map +1 -0
- package/lib/FieldControlMixin-BXNZJXu9.js +2 -0
- package/lib/FieldControlMixin-BXNZJXu9.js.map +1 -0
- package/lib/FieldDescription.js +2 -0
- package/lib/FieldDescription.js.map +1 -0
- package/lib/FieldError.js +2 -0
- package/lib/FieldError.js.map +1 -0
- package/lib/FieldGroup.js +2 -0
- package/lib/FieldGroup.js.map +1 -0
- package/lib/FieldLabel.js +2 -0
- package/lib/FieldLabel.js.map +1 -0
- package/lib/FieldLegend.js +2 -0
- package/lib/FieldLegend.js.map +1 -0
- package/lib/FieldSeparator.js +2 -0
- package/lib/FieldSeparator.js.map +1 -0
- package/lib/FieldSet.js +2 -0
- package/lib/FieldSet.js.map +1 -0
- package/lib/FieldTitle.js +2 -0
- package/lib/FieldTitle.js.map +1 -0
- package/lib/Fieldset2.js +2 -0
- package/lib/Fieldset2.js.map +1 -0
- package/lib/FilterAddButton.js +2 -0
- package/lib/FilterAddButton.js.map +1 -0
- package/lib/FilterAddButtonEvents.js +2 -0
- package/lib/FilterAddButtonEvents.js.map +1 -0
- package/lib/FilterBar.js +2 -0
- package/lib/FilterBar.js.map +1 -0
- package/lib/FilterDateRange.js +2 -0
- package/lib/FilterDateRange.js.map +1 -0
- package/lib/FilterDateRangeEvents.js +2 -0
- package/lib/FilterDateRangeEvents.js.map +1 -0
- package/lib/FilterDropdown.js +2 -0
- package/lib/FilterDropdown.js.map +1 -0
- package/lib/FilterDropdownEvents.js +2 -0
- package/lib/FilterDropdownEvents.js.map +1 -0
- package/lib/FilterField.js +2 -0
- package/lib/FilterField.js.map +1 -0
- package/lib/FilterFieldEvents.js +2 -0
- package/lib/FilterFieldEvents.js.map +1 -0
- package/lib/FilterInput.js +2 -0
- package/lib/FilterInput.js.map +1 -0
- package/lib/FilterResetButton.js +2 -0
- package/lib/FilterResetButton.js.map +1 -0
- package/lib/FocusableWhenDisabledController-C_Mn1mfN.js +2 -0
- package/lib/FocusableWhenDisabledController-C_Mn1mfN.js.map +1 -0
- package/lib/Footer.js +1 -1
- package/lib/Footer.js.map +1 -1
- package/lib/FormAssociatedMixin-D9aPREgv.js +2 -0
- package/lib/FormAssociatedMixin-D9aPREgv.js.map +1 -0
- package/lib/FormField-CMgEFZCK.js +2 -0
- package/lib/FormField-CMgEFZCK.js.map +1 -0
- package/lib/Header.js +1 -1
- package/lib/Header.js.map +1 -1
- package/lib/Icon.js +1 -1
- package/lib/Icon.js.map +1 -1
- package/lib/Input.js +1 -1
- package/lib/Input.js.map +1 -1
- package/lib/Item.js +2 -0
- package/lib/Item.js.map +1 -0
- package/lib/ItemActions.js +2 -0
- package/lib/ItemActions.js.map +1 -0
- package/lib/ItemContent.js +2 -0
- package/lib/ItemContent.js.map +1 -0
- package/lib/ItemDescription.js +2 -0
- package/lib/ItemDescription.js.map +1 -0
- package/lib/ItemFooter.js +2 -0
- package/lib/ItemFooter.js.map +1 -0
- package/lib/ItemGroup.js +2 -0
- package/lib/ItemGroup.js.map +1 -0
- package/lib/ItemHeader.js +2 -0
- package/lib/ItemHeader.js.map +1 -0
- package/lib/ItemMedia.js +2 -0
- package/lib/ItemMedia.js.map +1 -0
- package/lib/ItemSeparator.js +2 -0
- package/lib/ItemSeparator.js.map +1 -0
- package/lib/ItemTitle.js +2 -0
- package/lib/ItemTitle.js.map +1 -0
- package/lib/Kbd.js +2 -0
- package/lib/Kbd.js.map +1 -0
- package/lib/KbdGroup.js +2 -0
- package/lib/KbdGroup.js.map +1 -0
- package/lib/KeyboardController.js +1 -1
- package/lib/KeyboardController.js.map +1 -1
- package/lib/Layout.js +1 -3
- package/lib/Layout.js.map +1 -1
- package/lib/{LightDismissController-4pH8cdko.js → LightDismissController-wcL1ziJa.js} +2 -2
- package/lib/{LightDismissController-4pH8cdko.js.map → LightDismissController-wcL1ziJa.js.map} +1 -1
- package/lib/LocalizeController.js +1 -1
- package/lib/LocalizeController.js.map +1 -1
- package/lib/Message.js +1 -1
- package/lib/Message.js.map +1 -1
- package/lib/Meter.js +2 -0
- package/lib/Meter.js.map +1 -0
- package/lib/Modal.js +1 -1
- package/lib/Modal.js.map +1 -1
- package/lib/ModalController.js +1 -1
- package/lib/ModalController.js.map +1 -1
- package/lib/NavGroup.js +1 -1
- package/lib/NavGroup.js.map +1 -1
- package/lib/NavItem.js +1 -1
- package/lib/NavItem.js.map +1 -1
- package/lib/NavToggle-BY83xpx0.js +2 -0
- package/lib/NavToggle-BY83xpx0.js.map +1 -0
- package/lib/NavToggle.js +1 -1
- package/lib/Navigation.js +1 -1
- package/lib/Navigation.js.map +1 -1
- package/lib/Notification.js +1 -1
- package/lib/Notification.js.map +1 -1
- package/lib/NotificationGroup.js +1 -1
- package/lib/NotificationGroup.js.map +1 -1
- package/lib/NumberField.js +2 -0
- package/lib/NumberField.js.map +1 -0
- package/lib/NumberFieldEvents.js +2 -0
- package/lib/NumberFieldEvents.js.map +1 -0
- package/lib/OpenStateController-CCnZ7up6.js +2 -0
- package/lib/OpenStateController-CCnZ7up6.js.map +1 -0
- package/lib/OtpField.js +2 -0
- package/lib/OtpField.js.map +1 -0
- package/lib/OtpFieldEvents.js +2 -0
- package/lib/OtpFieldEvents.js.map +1 -0
- package/lib/Outline.js +2 -0
- package/lib/Outline.js.map +1 -0
- package/lib/OutlineItem.js +2 -0
- package/lib/OutlineItem.js.map +1 -0
- package/lib/Pagination.js +2 -0
- package/lib/Pagination.js.map +1 -0
- package/lib/PaginationContent.js +2 -0
- package/lib/PaginationContent.js.map +1 -0
- package/lib/PaginationEllipsis.js +2 -0
- package/lib/PaginationEllipsis.js.map +1 -0
- package/lib/PaginationItem.js +2 -0
- package/lib/PaginationItem.js.map +1 -0
- package/lib/PaginationLink.js +2 -0
- package/lib/PaginationLink.js.map +1 -0
- package/lib/PaginationNext.js +2 -0
- package/lib/PaginationNext.js.map +1 -0
- package/lib/PaginationPrevious.js +2 -0
- package/lib/PaginationPrevious.js.map +1 -0
- package/lib/Popout-CFtFoCaA.js +2 -0
- package/lib/Popout-CFtFoCaA.js.map +1 -0
- package/lib/Popout.js +1 -1
- package/lib/Progress.js +1 -1
- package/lib/Progress.js.map +1 -1
- package/lib/ProgressBar.js +1 -1
- package/lib/ProgressBar.js.map +1 -1
- package/lib/Qrcode.js +2 -2
- package/lib/Qrcode.js.map +1 -1
- package/lib/Radio.js +1 -1
- package/lib/Radio.js.map +1 -1
- package/lib/Range.js +1 -1
- package/lib/Range.js.map +1 -1
- package/lib/ReadonlyMixin-BdJPGtQ3.js +2 -0
- package/lib/ReadonlyMixin-BdJPGtQ3.js.map +1 -0
- package/lib/ResizeController-14PUwRQy.js +2 -0
- package/lib/ResizeController-14PUwRQy.js.map +1 -0
- package/lib/ScrollArea.js +2 -0
- package/lib/ScrollArea.js.map +1 -0
- package/lib/SegmentedControl.js +1 -1
- package/lib/SegmentedControl.js.map +1 -1
- package/lib/SegmentedControlItem.js +23 -40
- package/lib/SegmentedControlItem.js.map +1 -1
- package/lib/Select.js +1 -1
- package/lib/Select.js.map +1 -1
- package/lib/ShortcutController-CV5b0BZl.js +2 -0
- package/lib/ShortcutController-CV5b0BZl.js.map +1 -0
- package/lib/Skeleton.js +1 -1
- package/lib/Skeleton.js.map +1 -1
- package/lib/Spinner.js +1 -1
- package/lib/Spinner.js.map +1 -1
- package/lib/Stack.js +1 -1
- package/lib/Stack.js.map +1 -1
- package/lib/StateAttributesController-BIh96sXZ.js +2 -0
- package/lib/StateAttributesController-BIh96sXZ.js.map +1 -0
- package/lib/Sticky-CZImMrGj.js +2 -0
- package/lib/Sticky-CZImMrGj.js.map +1 -0
- package/lib/Tab.js +1 -1
- package/lib/Tab.js.map +1 -1
- package/lib/TabGroup.js +1 -1
- package/lib/TabGroup.js.map +1 -1
- package/lib/TabPanel.js +1 -1
- package/lib/TabPanel.js.map +1 -1
- package/lib/Table.js +1 -1
- package/lib/Table.js.map +1 -1
- package/lib/Tag.js +1 -1
- package/lib/Tag.js.map +1 -1
- package/lib/TagGroup.js +1 -1
- package/lib/TagGroup.js.map +1 -1
- package/lib/TextField-CSKvieoG.js +2 -0
- package/lib/TextField-CSKvieoG.js.map +1 -0
- package/lib/TextSelectableMixin-Cfv__lHS.js.map +1 -1
- package/lib/Textarea.js +1 -1
- package/lib/Textarea.js.map +1 -1
- package/lib/TimePicker.js +2 -0
- package/lib/TimePicker.js.map +1 -0
- package/lib/Toast.js +1 -1
- package/lib/Toast.js.map +1 -1
- package/lib/ToastGroup.js +1 -1
- package/lib/ToastGroup.js.map +1 -1
- package/lib/Toggle.js +1 -1
- package/lib/Toggle.js.map +1 -1
- package/lib/Tooltip.js +1 -1
- package/lib/Tooltip.js.map +1 -1
- package/lib/TopBar.js +1 -1
- package/lib/TopBar.js.map +1 -1
- package/lib/Truncate.js +1 -1
- package/lib/Truncate.js.map +1 -1
- package/lib/VisuallyHidden.js +1 -1
- package/lib/VisuallyHidden.js.map +1 -1
- package/lib/bundle.js +91 -91
- package/lib/bundle.js.map +1 -1
- package/lib/combobox-context.js +2 -0
- package/lib/combobox-context.js.map +1 -0
- package/lib/context-consumer-BJVUulGf.js +7 -0
- package/lib/context-consumer-BJVUulGf.js.map +1 -0
- package/lib/context-provider-D8lrPLVi.js +12 -0
- package/lib/context-provider-D8lrPLVi.js.map +1 -0
- package/lib/context-request-event-CCRlXoeR.js +7 -0
- package/lib/context-request-event-CCRlXoeR.js.map +1 -0
- package/lib/create-context-CJ69ntlY.js +7 -0
- package/lib/create-context-CJ69ntlY.js.map +1 -0
- package/lib/currency.js +2 -0
- package/lib/currency.js.map +1 -0
- package/lib/date-adapter.js +1 -1
- package/lib/dates-C-ZvzXaC.js +2 -0
- package/lib/dates-C-ZvzXaC.js.map +1 -0
- package/lib/dates.js +2 -0
- package/lib/dates.js.map +1 -0
- package/lib/dismiss.js +2 -0
- package/lib/dismiss.js.map +1 -0
- package/lib/en-us.js +1 -1
- package/lib/en-us.js.map +1 -1
- package/lib/fi-fi.js +1 -1
- package/lib/fi-fi.js.map +1 -1
- package/lib/field-context.js +2 -0
- package/lib/field-context.js.map +1 -0
- package/lib/filter-chip-C97zd4PT.js +2 -0
- package/lib/filter-chip-C97zd4PT.js.map +1 -0
- package/lib/format.js +2 -0
- package/lib/format.js.map +1 -0
- package/lib/index.js +1 -1
- package/lib/interface-add-small-B-hv2v9J.js +2 -0
- package/lib/interface-add-small-B-hv2v9J.js.map +1 -0
- package/lib/interface-calendar-Cw2bJfbS.js +2 -0
- package/lib/interface-calendar-Cw2bJfbS.js.map +1 -0
- package/lib/interface-close-BvKnv9eh.js +2 -0
- package/lib/interface-close-BvKnv9eh.js.map +1 -0
- package/lib/interface-dropdown-small-CYvgxudU.js +2 -0
- package/lib/interface-dropdown-small-CYvgxudU.js.map +1 -0
- package/lib/interface-filter-CCsx9-u6.js +2 -0
- package/lib/interface-filter-CCsx9-u6.js.map +1 -0
- package/lib/interface-remove-small-DUaWSs90.js +2 -0
- package/lib/interface-remove-small-DUaWSs90.js.map +1 -0
- package/lib/light-dom-styles-DXsbiKU9.js +2 -0
- package/lib/light-dom-styles-DXsbiKU9.js.map +1 -0
- package/lib/localization.js +1 -1
- package/lib/localization.js.map +1 -1
- package/lib/localization10.js +2 -0
- package/lib/localization10.js.map +1 -0
- package/lib/localization11.js +2 -0
- package/lib/localization11.js.map +1 -0
- package/lib/localization12.js +2 -0
- package/lib/localization12.js.map +1 -0
- package/lib/localization13.js +2 -0
- package/lib/localization13.js.map +1 -0
- package/lib/localization14.js +2 -0
- package/lib/localization14.js.map +1 -0
- package/lib/localization15.js +2 -0
- package/lib/localization15.js.map +1 -0
- package/lib/localization16.js +2 -0
- package/lib/localization16.js.map +1 -0
- package/lib/localization17.js +2 -0
- package/lib/localization17.js.map +1 -0
- package/lib/localization18.js +2 -0
- package/lib/localization18.js.map +1 -0
- package/lib/localization19.js +2 -0
- package/lib/localization19.js.map +1 -0
- package/lib/localization2.js +1 -1
- package/lib/localization2.js.map +1 -1
- package/lib/localization20.js +2 -0
- package/lib/localization20.js.map +1 -0
- package/lib/localization21.js +2 -0
- package/lib/localization21.js.map +1 -0
- package/lib/localization22.js +2 -0
- package/lib/localization22.js.map +1 -0
- package/lib/localization23.js +2 -0
- package/lib/localization23.js.map +1 -0
- package/lib/localization3.js +1 -1
- package/lib/localization3.js.map +1 -1
- package/lib/localization4.js +1 -1
- package/lib/localization4.js.map +1 -1
- package/lib/localization5.js +1 -1
- package/lib/localization5.js.map +1 -1
- package/lib/localization6.js +1 -1
- package/lib/localization6.js.map +1 -1
- package/lib/localization7.js +1 -1
- package/lib/localization7.js.map +1 -1
- package/lib/localization8.js +1 -1
- package/lib/localization8.js.map +1 -1
- package/lib/localization9.js +1 -1
- package/lib/localization9.js.map +1 -1
- package/lib/navigation-search-CBbIGzo2.js +2 -0
- package/lib/navigation-search-CBbIGzo2.js.map +1 -0
- package/lib/paginate.js +2 -0
- package/lib/paginate.js.map +1 -0
- package/lib/parse.js +2 -0
- package/lib/parse.js.map +1 -0
- package/lib/primitives-Dj0vyf1-.js +2 -0
- package/lib/primitives-Dj0vyf1-.js.map +1 -0
- package/lib/react.d.ts +520 -0
- package/lib/src/accordion/Accordion.d.ts +121 -0
- package/lib/src/accordion/AccordionHeader.d.ts +28 -0
- package/lib/src/accordion/AccordionItem.d.ts +68 -0
- package/lib/src/accordion/AccordionPanel.d.ts +35 -0
- package/lib/src/accordion/AccordionTrigger.d.ts +48 -0
- package/lib/src/aside/Aside.d.ts +1 -1
- package/lib/src/aside-drawer/AsideDrawer.d.ts +3 -1
- package/lib/src/aside-trigger/AsideTrigger.d.ts +2 -0
- package/lib/src/autocomplete/Autocomplete.d.ts +190 -0
- package/lib/src/autocomplete/localization.d.ts +5 -0
- package/lib/src/avatar/Avatar.d.ts +1 -1
- package/lib/src/badge/Badge.d.ts +1 -1
- package/lib/src/banner/Banner.d.ts +3 -0
- package/lib/src/button-group/ButtonGroup.d.ts +1 -1
- package/lib/src/calendar/Calendar.d.ts +45 -1
- package/lib/src/calendar/DateRangeSelectEvent.d.ts +16 -0
- package/lib/src/card/Card.d.ts +1 -1
- package/lib/src/collapsible/Collapsible.d.ts +69 -0
- package/lib/src/collapsible/CollapsiblePanel.d.ts +35 -0
- package/lib/src/collapsible/CollapsibleTrigger.d.ts +38 -0
- package/lib/src/combobox/Combobox.d.ts +131 -0
- package/lib/src/combobox/ComboboxBase.d.ts +421 -0
- package/lib/src/combobox/ComboboxEvents.d.ts +25 -0
- package/lib/src/combobox/ComboboxGroup.d.ts +34 -0
- package/lib/src/combobox/ComboboxOption.d.ts +47 -0
- package/lib/src/combobox/combobox-context.d.ts +18 -0
- package/lib/src/combobox/localization.d.ts +6 -0
- package/lib/src/common/controllers/ActiveDescendantController.d.ts +45 -0
- package/lib/src/common/controllers/CollapseController.d.ts +50 -0
- package/lib/src/common/controllers/FocusableWhenDisabledController.d.ts +29 -0
- package/lib/src/common/controllers/OpenStateController.d.ts +58 -0
- package/lib/src/common/controllers/RovingFocusController.d.ts +40 -0
- package/lib/src/common/controllers/ShortcutController.d.ts +5 -5
- package/lib/src/common/controllers/StateAttributesController.d.ts +47 -0
- package/lib/src/common/controllers/TransitionStatusController.d.ts +48 -0
- package/lib/src/common/dates.d.ts +13 -0
- package/lib/src/common/light-dom-styles.d.ts +17 -0
- package/lib/src/common/mixins/FieldControlMixin.d.ts +60 -0
- package/lib/src/common/mixins/FormAssociatedMixin.d.ts +8 -25
- package/lib/src/common/mixins/TextSelectableMixin.d.ts +1 -0
- package/lib/src/common/prefers-reduced-motion.d.ts +7 -0
- package/lib/src/date-picker/DatePicker.d.ts +2 -0
- package/lib/src/date-range-picker/DateRangeChangeEvent.d.ts +27 -0
- package/lib/src/date-range-picker/DateRangePicker.d.ts +307 -0
- package/lib/src/date-range-picker/localization.d.ts +42 -0
- package/lib/src/divider/Divider.d.ts +1 -1
- package/lib/src/drawer/Drawer.d.ts +1 -1
- package/lib/src/dropdown/Dropdown.d.ts +1 -1
- package/lib/src/dropdown-group/DropdownGroup.d.ts +3 -1
- package/lib/src/dropdown-item/DropdownItem.d.ts +3 -1
- package/lib/src/dropdown-submenu/DropdownSubmenu.d.ts +2 -0
- package/lib/src/field/Field.d.ts +102 -0
- package/lib/src/field/FieldContent.d.ts +22 -0
- package/lib/src/field/FieldDescription.d.ts +21 -0
- package/lib/src/field/FieldError.d.ts +25 -0
- package/lib/src/field/FieldGroup.d.ts +25 -0
- package/lib/src/field/FieldLabel.d.ts +41 -0
- package/lib/src/field/FieldLegend.d.ts +20 -0
- package/lib/src/field/FieldSeparator.d.ts +21 -0
- package/lib/src/field/FieldSet.d.ts +28 -0
- package/lib/src/field/FieldTitle.d.ts +21 -0
- package/lib/src/field/field-context.d.ts +47 -0
- package/lib/src/fieldset/Fieldset.d.ts +12 -4
- package/lib/src/filter-add-button/FilterAddButton.d.ts +91 -0
- package/lib/src/filter-add-button/FilterAddButtonEvents.d.ts +17 -0
- package/lib/src/filter-add-button/localization.d.ts +4 -0
- package/lib/src/filter-bar/FilterBar.d.ts +37 -0
- package/lib/src/filter-date-range/FilterDateRange.d.ts +96 -0
- package/lib/src/filter-date-range/FilterDateRangeEvents.d.ts +37 -0
- package/lib/src/filter-date-range/localization.d.ts +11 -0
- package/lib/src/filter-dropdown/FilterDropdown.d.ts +247 -0
- package/lib/src/filter-dropdown/FilterDropdownEvents.d.ts +57 -0
- package/lib/src/filter-dropdown/localization.d.ts +14 -0
- package/lib/src/filter-field/FilterField.d.ts +89 -0
- package/lib/src/filter-field/FilterFieldEvents.d.ts +18 -0
- package/lib/src/filter-field/localization.d.ts +8 -0
- package/lib/src/filter-input/FilterInput.d.ts +102 -0
- package/lib/src/filter-input/localization.d.ts +5 -0
- package/lib/src/filter-reset-button/FilterResetButton.d.ts +50 -0
- package/lib/src/filter-reset-button/localization.d.ts +4 -0
- package/lib/src/footer/Footer.d.ts +1 -1
- package/lib/src/header/Header.d.ts +1 -1
- package/lib/src/icon/Icon.d.ts +1 -1
- package/lib/src/index.d.ts +61 -0
- package/lib/src/input/Input.d.ts +2 -1
- package/lib/src/item/Item.d.ts +44 -0
- package/lib/src/item/ItemActions.d.ts +20 -0
- package/lib/src/item/ItemContent.d.ts +22 -0
- package/lib/src/item/ItemDescription.d.ts +20 -0
- package/lib/src/item/ItemFooter.d.ts +20 -0
- package/lib/src/item/ItemGroup.d.ts +22 -0
- package/lib/src/item/ItemHeader.d.ts +20 -0
- package/lib/src/item/ItemMedia.d.ts +28 -0
- package/lib/src/item/ItemSeparator.d.ts +21 -0
- package/lib/src/item/ItemTitle.d.ts +19 -0
- package/lib/src/kbd/Kbd.d.ts +54 -0
- package/lib/src/kbd/KbdGroup.d.ts +22 -0
- package/lib/src/layout/Layout.d.ts +3 -3
- package/lib/src/localization/en-us.d.ts +88 -0
- package/lib/src/localization/translation.d.ts +88 -0
- package/lib/src/meter/Meter.d.ts +76 -0
- package/lib/src/nav-group/NavGroup.d.ts +2 -0
- package/lib/src/nav-item/NavItem.d.ts +2 -0
- package/lib/src/nav-toggle/NavToggle.d.ts +3 -1
- package/lib/src/notification-group/NotificationGroup.d.ts +2 -0
- package/lib/src/number-field/NumberField.d.ts +377 -0
- package/lib/src/number-field/NumberFieldEvents.d.ts +37 -0
- package/lib/src/number-field/currency.d.ts +24 -0
- package/lib/src/number-field/format.d.ts +8 -0
- package/lib/src/number-field/localization.d.ts +6 -0
- package/lib/src/number-field/parse.d.ts +44 -0
- package/lib/src/number-field/validate.d.ts +24 -0
- package/lib/src/otp-field/OtpField.d.ts +188 -0
- package/lib/src/otp-field/OtpFieldEvents.d.ts +38 -0
- package/lib/src/otp-field/localization.d.ts +4 -0
- package/lib/src/outline/Outline.d.ts +111 -0
- package/lib/src/outline/OutlineItem.d.ts +42 -0
- package/lib/src/outline/localization.d.ts +4 -0
- package/lib/src/pagination/Pagination.d.ts +51 -0
- package/lib/src/pagination/PaginationContent.d.ts +27 -0
- package/lib/src/pagination/PaginationEllipsis.d.ts +27 -0
- package/lib/src/pagination/PaginationItem.d.ts +24 -0
- package/lib/src/pagination/PaginationLink.d.ts +30 -0
- package/lib/src/pagination/PaginationNext.d.ts +24 -0
- package/lib/src/pagination/PaginationPrevious.d.ts +24 -0
- package/lib/src/pagination/localization.d.ts +4 -0
- package/lib/src/pagination/paginate.d.ts +20 -0
- package/lib/src/popout/Popout.d.ts +9 -0
- package/lib/src/qrcode/Qrcode.d.ts +1 -1
- package/lib/src/scroll-area/ScrollArea.d.ts +101 -0
- package/lib/src/segmented-control-item/SegmentedControlItem.d.ts +2 -0
- package/lib/src/stack/Stack.d.ts +1 -1
- package/lib/src/storybook-utils/dates.d.ts +2 -0
- package/lib/src/storybook-utils/dismiss.d.ts +1 -0
- package/lib/src/storybook-utils/story-descriptions.d.ts +2 -0
- package/lib/src/tab-group/TabGroup.d.ts +2 -0
- package/lib/src/tab-panel/TabPanel.d.ts +2 -0
- package/lib/src/tag/Tag.d.ts +1 -1
- package/lib/src/tag-group/TagGroup.d.ts +3 -1
- package/lib/src/time-picker/TimePicker.d.ts +105 -0
- package/lib/src/time-picker/localization.d.ts +4 -0
- package/lib/src/toast-group/ToastGroup.d.ts +11 -0
- package/lib/src/top-bar/TopBar.d.ts +1 -1
- package/lib/src/truncate/Truncate.d.ts +1 -1
- package/lib/src/visually-hidden/VisuallyHidden.d.ts +1 -1
- package/lib/story-descriptions.js +2 -0
- package/lib/story-descriptions.js.map +1 -0
- package/lib/tinykeys-DwvDXsEb.js +2 -0
- package/lib/tinykeys-DwvDXsEb.js.map +1 -0
- package/lib/translation.js +1 -1
- package/lib/translation.js.map +1 -1
- package/lib/validate.js +2 -0
- package/lib/validate.js.map +1 -0
- package/lib/vue.d.ts +418 -0
- package/package.json +10 -13
- package/lib/Calendar-ChNZdVRO.js +0 -2
- package/lib/Calendar-ChNZdVRO.js.map +0 -1
- package/lib/Component-DSU3Qp0O.js +0 -2
- package/lib/Component-DSU3Qp0O.js.map +0 -1
- package/lib/DropdownItem-Cb-7cHMg.js +0 -2
- package/lib/DropdownItem-Cb-7cHMg.js.map +0 -1
- package/lib/Fieldset.js +0 -2
- package/lib/Fieldset.js.map +0 -1
- package/lib/FormAssociatedMixin-B4Qj-CQN.js +0 -2
- package/lib/FormAssociatedMixin-B4Qj-CQN.js.map +0 -1
- package/lib/FormField-BFaVzUjk.js +0 -2
- package/lib/FormField-BFaVzUjk.js.map +0 -1
- package/lib/NavToggle-DzKbd-El.js +0 -2
- package/lib/NavToggle-DzKbd-El.js.map +0 -1
- package/lib/Popout-CYqn_dZu.js +0 -2
- package/lib/Popout-CYqn_dZu.js.map +0 -1
- package/lib/ShortcutController-BIb3WGzH.js +0 -2
- package/lib/ShortcutController-BIb3WGzH.js.map +0 -1
- package/lib/Sticky-DqnqENYN.js +0 -2
- package/lib/Sticky-DqnqENYN.js.map +0 -1
- package/lib/TextField-B955GOhe.js +0 -2
- package/lib/TextField-B955GOhe.js.map +0 -1
- package/lib/dates-CAAlPKZi.js +0 -2
- package/lib/dates-CAAlPKZi.js.map +0 -1
- package/lib/tinykeys.module-_6MZt7MP.js +0 -2
- package/lib/tinykeys.module-_6MZt7MP.js.map +0 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `Intl.NumberFormat` helpers, ported from Base UI's `utils/formatNumber.ts`.
|
|
3
|
+
* The formatter is cached keyed by `JSON.stringify({ locale, options })` so we
|
|
4
|
+
* don't allocate a new `Intl.NumberFormat` on every render/parse.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getFormatter(locale?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): Intl.NumberFormat;
|
|
7
|
+
export declare function formatNumber(value: number | null, locale?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
|
8
|
+
export declare function formatNumberMaxPrecision(value: number | null, locale?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Locale-aware numeric parser, ported verbatim from Base UI's
|
|
3
|
+
* `number-field/utils/parse.ts` (and the symbol tables from
|
|
4
|
+
* `number-field/utils/constants.ts`). The design system has no equivalent
|
|
5
|
+
* number parser (`common/number.ts` only wraps an index), so the whole module
|
|
6
|
+
* is copied here rather than re-exported.
|
|
7
|
+
*
|
|
8
|
+
* It strips bidi/format control characters, normalises unicode +/- signs,
|
|
9
|
+
* replaces locale group/decimal/currency/unit/percent/permille symbols, maps
|
|
10
|
+
* non-ASCII numerals (Arabic, Persian, Han, fullwidth) to ASCII, keeps only the
|
|
11
|
+
* last `.` as the decimal point, guards against `Infinity`, then `parseFloat`s,
|
|
12
|
+
* shifting the decimal for `%`/`‰` formats.
|
|
13
|
+
*/
|
|
14
|
+
export declare const HAN_NUMERALS: string[];
|
|
15
|
+
export declare const HAN_NUMERAL_TO_DIGIT: Record<string, string>;
|
|
16
|
+
export declare const ARABIC_NUMERALS: string[];
|
|
17
|
+
export declare const PERSIAN_NUMERALS: string[];
|
|
18
|
+
export declare const FULLWIDTH_NUMERALS: string[];
|
|
19
|
+
export declare const PERCENTAGES: string[];
|
|
20
|
+
export declare const PERMILLE: string[];
|
|
21
|
+
export declare const UNICODE_MINUS_SIGNS: string[];
|
|
22
|
+
export declare const UNICODE_PLUS_SIGNS: string[];
|
|
23
|
+
export declare const FULLWIDTH_DECIMAL = "\uFF0E";
|
|
24
|
+
export declare const FULLWIDTH_GROUP = "\uFF0C";
|
|
25
|
+
export declare const ARABIC_RE: RegExp;
|
|
26
|
+
export declare const PERSIAN_RE: RegExp;
|
|
27
|
+
export declare const FULLWIDTH_RE: RegExp;
|
|
28
|
+
export declare const HAN_RE: RegExp;
|
|
29
|
+
export declare const PERCENT_RE: RegExp;
|
|
30
|
+
export declare const PERMILLE_RE: RegExp;
|
|
31
|
+
export declare const ARABIC_DETECT_RE: RegExp;
|
|
32
|
+
export declare const PERSIAN_DETECT_RE: RegExp;
|
|
33
|
+
export declare const HAN_DETECT_RE: RegExp;
|
|
34
|
+
export declare const FULLWIDTH_DETECT_RE: RegExp;
|
|
35
|
+
export declare const BASE_NON_NUMERIC_SYMBOLS: readonly [".", ",", ".", ",", "٫", "٬"];
|
|
36
|
+
export declare const SPACE_SEPARATOR_RE: RegExp;
|
|
37
|
+
export declare const PLUS_SIGNS_WITH_ASCII: string[];
|
|
38
|
+
export declare const MINUS_SIGNS_WITH_ASCII: string[];
|
|
39
|
+
export declare const ANY_MINUS_RE: RegExp;
|
|
40
|
+
export declare const ANY_PLUS_RE: RegExp;
|
|
41
|
+
export declare const ANY_MINUS_DETECT_RE: RegExp;
|
|
42
|
+
export declare const ANY_PLUS_DETECT_RE: RegExp;
|
|
43
|
+
export declare function getNumberLocaleDetails(locale?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): Partial<Record<keyof Intl.NumberFormatPartTypeRegistry, string | undefined>>;
|
|
44
|
+
export declare function parseNumber(formattedNumber: string, locale?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): number | null;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Numeric validation/clamping/snapping, ported from Base UI's
|
|
3
|
+
* `number-field/utils/validate.ts`. Snapping happens BEFORE clamping so
|
|
4
|
+
* non-step-aligned boundaries stay reachable.
|
|
5
|
+
*/
|
|
6
|
+
type NumberFormatOptionsWithRounding = Intl.NumberFormatOptions & {
|
|
7
|
+
roundingIncrement?: number | undefined;
|
|
8
|
+
roundingMode?: string | undefined;
|
|
9
|
+
roundingPriority?: string | undefined;
|
|
10
|
+
};
|
|
11
|
+
export declare function clamp(val: number, min?: number, max?: number): number;
|
|
12
|
+
export declare function hasNumberFormatRoundingOptions(format?: NumberFormatOptionsWithRounding): format is NumberFormatOptionsWithRounding;
|
|
13
|
+
export declare function removeFloatingPointErrors(value: number, format?: NumberFormatOptionsWithRounding): number;
|
|
14
|
+
export declare function toValidatedNumber(value: number | null, { step, minWithDefault, maxWithDefault, minWithZeroDefault, format, snapOnStep, small, clamp: shouldClamp, }: {
|
|
15
|
+
step: number | undefined;
|
|
16
|
+
minWithDefault: number;
|
|
17
|
+
maxWithDefault: number;
|
|
18
|
+
minWithZeroDefault: number;
|
|
19
|
+
format: NumberFormatOptionsWithRounding | undefined;
|
|
20
|
+
snapOnStep: boolean;
|
|
21
|
+
small: boolean;
|
|
22
|
+
clamp: boolean;
|
|
23
|
+
}): number | null;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import type { PropertyValues } from 'lit';
|
|
2
|
+
import { LitElement, nothing } from 'lit';
|
|
3
|
+
export { OtpFieldCompleteEvent, OtpFieldInvalidEvent } from './OtpFieldEvents.js';
|
|
4
|
+
/** The character sets the field accepts, mirroring Base UI's `validationType`. */
|
|
5
|
+
export type OtpFieldType = 'numeric' | 'alphanumeric';
|
|
6
|
+
declare const OtpField_base: (new (...args: any[]) => import("../common/mixins/SizeMixin.js").SizeMixinInterface) & (new (...args: any[]) => import("../common/mixins/FieldControlMixin.js").FieldControlMixinInterface) & (new (...args: any[]) => import("../common/mixins/InputMixin.js").InputMixinInterface) & typeof LitElement;
|
|
7
|
+
/**
|
|
8
|
+
* OTP Field is a segmented one-time-code input: it renders `length` individual
|
|
9
|
+
* character cells plus a visually-hidden input that holds the full value, enabling
|
|
10
|
+
* SMS / keychain autofill and native `pattern`/`required` validation. Typing fills
|
|
11
|
+
* and auto-advances, Backspace clears and moves back, the arrow keys navigate, and
|
|
12
|
+
* pasting a code distributes its characters across the cells.
|
|
13
|
+
*
|
|
14
|
+
* OTP Field is a control only — it has no built-in label, hint or error. Compose
|
|
15
|
+
* it inside a [Field](/components/field/) with a [Field Label](/components/field-label/)
|
|
16
|
+
* (connected with `for`) to give it an accessible name, helper text and an error
|
|
17
|
+
* message, exactly like a native input.
|
|
18
|
+
*
|
|
19
|
+
* @status draft
|
|
20
|
+
* @category form
|
|
21
|
+
* @lightDom true
|
|
22
|
+
*
|
|
23
|
+
* @fires {NordEvent} input - Dispatched whenever the OTP value changes through user interaction (typing, Backspace/Delete, paste, autofill).
|
|
24
|
+
* @fires {NordEvent} change - Dispatched alongside `input` when the committed value changes via user interaction.
|
|
25
|
+
* @fires {OtpFieldCompleteEvent} complete - Dispatched after the value updates when every cell becomes filled.
|
|
26
|
+
* @fires {OtpFieldInvalidEvent} value-invalid - Dispatched when typed or pasted text contained characters rejected by `type`.
|
|
27
|
+
*
|
|
28
|
+
* @localization characterLabel - Per-cell accessible label, given the 1-based cell position and total cell count.
|
|
29
|
+
*
|
|
30
|
+
* @attr {boolean} data-invalid - Present while the field is invalid (mirrors the \`invalid\` property). Style hook for the whole control.
|
|
31
|
+
* @attr {boolean} data-focused - Present while any cell has focus. Style hook for focus-within treatments.
|
|
32
|
+
*
|
|
33
|
+
* @cssprop [--n-otp-field-gap=var(--n-space-s)] - Gap between cells (and between groups when `group-size` is used).
|
|
34
|
+
* @cssprop [--n-otp-field-cell-size=var(--n-space-xl)] - Controls the block-size and inline-size of each square cell. When unset, size maps to the shared control block sizes.
|
|
35
|
+
* @cssprop [--n-otp-field-background=var(--n-color-surface)] - Cell background.
|
|
36
|
+
* @cssprop [--n-otp-field-border-color=var(--n-color-border-strong)] - Cell border color (resting).
|
|
37
|
+
* @cssprop [--n-otp-field-border-radius=var(--n-border-radius-s)] - Cell corner radius.
|
|
38
|
+
* @cssprop [--n-otp-field-font-size=var(--n-font-size-m)] - Cell character font size.
|
|
39
|
+
*/
|
|
40
|
+
export default class OtpField extends OtpField_base {
|
|
41
|
+
/** Stable, unique id base for light-DOM ARIA wiring of this instance. */
|
|
42
|
+
private otpId;
|
|
43
|
+
private localize;
|
|
44
|
+
private formData;
|
|
45
|
+
/** Reflects `invalid` to `data-invalid` and focus-within to `data-focused`. */
|
|
46
|
+
private stateAttributes;
|
|
47
|
+
/** Re-renders when the host's forwarded ARIA labelling attributes change. */
|
|
48
|
+
private ariaObserver?;
|
|
49
|
+
/** Index + value to focus once the async value update has applied. */
|
|
50
|
+
private pendingFocus;
|
|
51
|
+
/** Value to fire `complete` for once the async value update has applied. */
|
|
52
|
+
private pendingComplete;
|
|
53
|
+
/** Whether any cell currently holds focus (drives roving tabindex + data-focused). */
|
|
54
|
+
private focused;
|
|
55
|
+
/** The cell index that currently has (or last had) focus. */
|
|
56
|
+
private focusedIndex;
|
|
57
|
+
/**
|
|
58
|
+
* The number of OTP cells. Must be a positive integer.
|
|
59
|
+
*/
|
|
60
|
+
length: number;
|
|
61
|
+
/**
|
|
62
|
+
* Controls the allowed characters, `inputmode` and `pattern`. `numeric` accepts
|
|
63
|
+
* digits; `alphanumeric` accepts letters and digits.
|
|
64
|
+
*/
|
|
65
|
+
type: OtpFieldType;
|
|
66
|
+
/**
|
|
67
|
+
* Prevents the user from changing the value while keeping navigation and focus.
|
|
68
|
+
*/
|
|
69
|
+
readonly: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Obscures each cell (renders `type="password"`) for use on shared screens.
|
|
72
|
+
*/
|
|
73
|
+
mask: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Placeholder character or string shown in every empty cell.
|
|
76
|
+
*/
|
|
77
|
+
placeholder?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Marks the field invalid, applying error styling and `aria-invalid` to every
|
|
80
|
+
* cell and the hidden input. Pair with a `nord-field-error` in the Field.
|
|
81
|
+
*/
|
|
82
|
+
invalid: boolean;
|
|
83
|
+
protected get ownInvalid(): boolean;
|
|
84
|
+
/**
|
|
85
|
+
* The autocomplete token applied to the first cell and the hidden input (all
|
|
86
|
+
* other cells get `autocomplete="off"`). Defaults to `one-time-code` to enable
|
|
87
|
+
* SMS / keychain OTP autofill.
|
|
88
|
+
*/
|
|
89
|
+
autocomplete: string;
|
|
90
|
+
/**
|
|
91
|
+
* Renders a decorative separator after every N cells (for example, `3` shows
|
|
92
|
+
* `123-456`). `0` disables grouping. The separator is `aria-hidden` and does
|
|
93
|
+
* not affect the value or navigation.
|
|
94
|
+
*/
|
|
95
|
+
groupSize: number;
|
|
96
|
+
/**
|
|
97
|
+
* Whether every cell is filled (`value.length === length`). Read-only and
|
|
98
|
+
* derived from `value`; reflected as the `complete` attribute so consumers can
|
|
99
|
+
* style the completed state.
|
|
100
|
+
*/
|
|
101
|
+
get complete(): boolean;
|
|
102
|
+
/** Backing store for the normalized value. */
|
|
103
|
+
private _value;
|
|
104
|
+
/**
|
|
105
|
+
* The OTP value, for example `'123456'`. Whitespace is stripped, characters are
|
|
106
|
+
* filtered by `type`, and the result is clamped to `length`. Set programmatically
|
|
107
|
+
* to prefill.
|
|
108
|
+
*/
|
|
109
|
+
get value(): string;
|
|
110
|
+
set value(next: string);
|
|
111
|
+
/**
|
|
112
|
+
* Function that normalizes the value after whitespace and `type` filtering —
|
|
113
|
+
* e.g. `el.normalizeValue = v => v.toUpperCase()`. It runs whenever the field
|
|
114
|
+
* normalizes a value (initial, programmatic, and user edits), inside the
|
|
115
|
+
* component's own pipeline, so live normalization never fights the per-cell
|
|
116
|
+
* focus handling. The result is filtered by `type` again, then clamped to
|
|
117
|
+
* `length`; it should be idempotent since the same value may be normalized
|
|
118
|
+
* more than once. Characters rejected while normalizing are reported through
|
|
119
|
+
* `value-invalid`. Mirrors Base UI's `normalizeValue`.
|
|
120
|
+
*/
|
|
121
|
+
normalizeValue?: (value: string) => string;
|
|
122
|
+
/** The validation config for the current `type`. */
|
|
123
|
+
private get config();
|
|
124
|
+
/** Whether `length` is a usable positive integer. */
|
|
125
|
+
private get hasValidLength();
|
|
126
|
+
/** The index of the cell that is currently tabbable (roving tabindex). */
|
|
127
|
+
private get activeIndex();
|
|
128
|
+
connectedCallback(): void;
|
|
129
|
+
disconnectedCallback(): void;
|
|
130
|
+
protected createRenderRoot(): this;
|
|
131
|
+
/** Re-normalize the value when `length` or `type` changes (e.g. clamps it). */
|
|
132
|
+
protected renormalize(): void;
|
|
133
|
+
/**
|
|
134
|
+
* Flush queued focus/complete once the value update has actually applied.
|
|
135
|
+
* Runs from `updated()` (after every render) rather than a value observer so
|
|
136
|
+
* it also fires for a re-paste that completes an already-complete value (the
|
|
137
|
+
* value text is unchanged, so a value observer would not run).
|
|
138
|
+
*/
|
|
139
|
+
private flushPending;
|
|
140
|
+
/** Live list of the rendered cell inputs, in DOM order. */
|
|
141
|
+
private get cells();
|
|
142
|
+
/** Focus a cell by index (clamped), then select its content. */
|
|
143
|
+
private focusInput;
|
|
144
|
+
/** Queue a focus to run once the value update applies (Lit renders async). */
|
|
145
|
+
private queueFocusInput;
|
|
146
|
+
/** Focus the field by moving focus into its active cell. */
|
|
147
|
+
focus(options?: FocusOptions): void;
|
|
148
|
+
/**
|
|
149
|
+
* Commit a new value, firing `input` + `change` (and queuing `complete` when
|
|
150
|
+
* the field becomes filled). Returns the committed value, or `null` if nothing
|
|
151
|
+
* changed.
|
|
152
|
+
*/
|
|
153
|
+
private setValue;
|
|
154
|
+
/** The reason for the in-flight `setValue`, used to detect re-paste completion. */
|
|
155
|
+
private lastReason;
|
|
156
|
+
/** Report rejected characters to consumers via `value-invalid`. */
|
|
157
|
+
private reportInvalid;
|
|
158
|
+
/**
|
|
159
|
+
* Re-select a cell on mousedown so clicking an already-focused filled cell
|
|
160
|
+
* re-selects its character (typing then replaces it) instead of dropping a
|
|
161
|
+
* caret. Mirrors Base UI's OTPFieldInput onMouseDown.
|
|
162
|
+
*/
|
|
163
|
+
private handleMousedown;
|
|
164
|
+
private handleInput;
|
|
165
|
+
private handleKeydown;
|
|
166
|
+
private handlePaste;
|
|
167
|
+
private handleFocus;
|
|
168
|
+
private handleBlur;
|
|
169
|
+
/** The browser focuses the hidden input during autofill — redirect to cell 0. */
|
|
170
|
+
private handleHiddenFocus;
|
|
171
|
+
/** SMS autofill writes the whole code into the hidden input. */
|
|
172
|
+
private handleHiddenInput;
|
|
173
|
+
/** Resolve the effective text direction from the host or document. */
|
|
174
|
+
private resolveDirection;
|
|
175
|
+
/** preventDefault + stopPropagation, like Base UI's `stopEvent`. */
|
|
176
|
+
private stopEvent;
|
|
177
|
+
/** The id for a given cell — derived so cell ids stay unique and never collide with the host id. */
|
|
178
|
+
private cellId;
|
|
179
|
+
render(): import("lit").TemplateResult<1> | typeof nothing;
|
|
180
|
+
private renderCell;
|
|
181
|
+
/** Mirror state to host data-* attributes and flush queued focus/complete. */
|
|
182
|
+
protected updated(changed: PropertyValues): void;
|
|
183
|
+
}
|
|
184
|
+
declare global {
|
|
185
|
+
interface HTMLElementTagNameMap {
|
|
186
|
+
'nord-otp-field': OtpField;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { NordEvent } from '../common/events.js';
|
|
2
|
+
/**
|
|
3
|
+
* Dispatched after the value update applies when every OTP cell becomes filled
|
|
4
|
+
* (`value.length === length`), or when a complete value is pasted while the
|
|
5
|
+
* field is already complete. Carries the completed value so consumers can react
|
|
6
|
+
* to completion (for example, submitting the owning form).
|
|
7
|
+
*
|
|
8
|
+
* Fired after `input`/`change` so the committed value is already readable on the
|
|
9
|
+
* host, mirroring Base UI's `onValueComplete`-after-`onValueChange` ordering.
|
|
10
|
+
*/
|
|
11
|
+
export declare class OtpFieldCompleteEvent extends NordEvent {
|
|
12
|
+
/** The completed OTP value, e.g. `'123456'`. */
|
|
13
|
+
readonly value: string;
|
|
14
|
+
static eventName: string;
|
|
15
|
+
constructor(
|
|
16
|
+
/** The completed OTP value, e.g. `'123456'`. */
|
|
17
|
+
value: string);
|
|
18
|
+
/** Convenience accessor mirroring `CustomEvent.detail`. */
|
|
19
|
+
get detail(): string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Dispatched when typed or pasted text contained characters rejected by the
|
|
23
|
+
* field's `type` normalization (for example, letters typed into a `numeric`
|
|
24
|
+
* field). Carries the raw attempted string before normalization.
|
|
25
|
+
*
|
|
26
|
+
* Named `value-invalid` rather than `invalid` so it does not collide with the
|
|
27
|
+
* native `HTMLInputElement` `invalid` event.
|
|
28
|
+
*/
|
|
29
|
+
export declare class OtpFieldInvalidEvent extends NordEvent {
|
|
30
|
+
/** The raw text the user attempted to enter, before normalization. */
|
|
31
|
+
readonly value: string;
|
|
32
|
+
static eventName: string;
|
|
33
|
+
constructor(
|
|
34
|
+
/** The raw text the user attempted to enter, before normalization. */
|
|
35
|
+
value: string);
|
|
36
|
+
/** Convenience accessor mirroring `CustomEvent.detail`. */
|
|
37
|
+
get detail(): string;
|
|
38
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { NordEvent } from '../common/events.js';
|
|
3
|
+
import { LocalizeController } from '../localization/LocalizeController.js';
|
|
4
|
+
import './OutlineItem.js';
|
|
5
|
+
/**
|
|
6
|
+
* Event dispatched when the active section of an Outline changes, either via the
|
|
7
|
+
* built-in scroll-spy, a click on one of its items, or a programmatic change.
|
|
8
|
+
* The event's `activeId` is the id of the newly active heading.
|
|
9
|
+
*/
|
|
10
|
+
export declare class NordOutlineChangeEvent extends NordEvent {
|
|
11
|
+
activeId: string;
|
|
12
|
+
constructor(activeId: string);
|
|
13
|
+
}
|
|
14
|
+
declare const Outline_base: typeof LitElement;
|
|
15
|
+
/**
|
|
16
|
+
* Outline is an in-page table of contents that lists a page's headings and
|
|
17
|
+
* highlights the section currently in view as you scroll.
|
|
18
|
+
*
|
|
19
|
+
* Provide [Outline Item](/components/outline-item/) children, or point `for` at
|
|
20
|
+
* a container to build the list from its headings.
|
|
21
|
+
*
|
|
22
|
+
* @status draft
|
|
23
|
+
* @category navigation
|
|
24
|
+
*
|
|
25
|
+
* @slot - The default slot for [Outline Item](/components/outline-item/) children.
|
|
26
|
+
* @slot header - Custom header content shown above the list. Overrides the default localized "On this page" heading. Set `hide-header` to remove the header entirely.
|
|
27
|
+
*
|
|
28
|
+
* @fires {NordOutlineChangeEvent} change - Dispatched when the active section changes. Includes an `activeId` property.
|
|
29
|
+
*
|
|
30
|
+
* @localization label - Accessible label for the outline navigation landmark, and the default header text.
|
|
31
|
+
*
|
|
32
|
+
* @cssprop [--n-outline-indicator-color=var(--n-color-accent)] - Color of the sliding active indicator.
|
|
33
|
+
* @cssprop [--n-outline-track-color=var(--n-color-border)] - Color of the static track behind the indicator.
|
|
34
|
+
* @cssprop [--n-outline-indicator-width=2px] - Thickness of the track and indicator.
|
|
35
|
+
* @cssprop [--n-outline-indent=var(--n-space-m)] - Indentation step applied per heading level.
|
|
36
|
+
* @cssprop [--n-outline-header-color=var(--n-color-text-weaker)] - Color of the default header text.
|
|
37
|
+
* @cssprop [--n-outline-header-font-size=var(--n-font-size-s)] - Font size of the default header text.
|
|
38
|
+
*/
|
|
39
|
+
export default class Outline extends Outline_base {
|
|
40
|
+
static styles: import("lit").CSSResult[];
|
|
41
|
+
protected localize: LocalizeController<"nord-outline">;
|
|
42
|
+
private headerSlot;
|
|
43
|
+
/**
|
|
44
|
+
* The id of the active heading. Setting this puts the Outline in controlled
|
|
45
|
+
* mode and disables the built-in scroll-spy, so your own logic owns the
|
|
46
|
+
* highlight (mirrors providing `activeId` in other libraries).
|
|
47
|
+
*/
|
|
48
|
+
active?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Tightens spacing for dense sidebars where vertical space is at a premium.
|
|
51
|
+
*/
|
|
52
|
+
density: 'default' | 'compact';
|
|
53
|
+
/**
|
|
54
|
+
* DOM-scan mode: the id (or any CSS selector) of the content container whose
|
|
55
|
+
* headings should populate the outline. When set, slotted children are
|
|
56
|
+
* ignored and items are generated from the matched headings.
|
|
57
|
+
*/
|
|
58
|
+
for?: string;
|
|
59
|
+
/**
|
|
60
|
+
* The selector used to find headings when `for` is set.
|
|
61
|
+
*/
|
|
62
|
+
headingSelector: string;
|
|
63
|
+
/**
|
|
64
|
+
* CSS selector for the element that scrolls the content, used as the
|
|
65
|
+
* scroll-spy `IntersectionObserver` root. Point this at your scroll container
|
|
66
|
+
* when the page scrolls inside an element rather than the window — otherwise
|
|
67
|
+
* the observer watches the window and never sees the headings move. If the
|
|
68
|
+
* selector resolves to a `nord-scroll-area`, its scroll viewport is used.
|
|
69
|
+
*
|
|
70
|
+
* When unset, the nearest ancestor `nord-scroll-area` of the scanned content
|
|
71
|
+
* is detected automatically, falling back to the window.
|
|
72
|
+
*/
|
|
73
|
+
scrollContainer?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Hides the header. By default Outline shows a localized "On this page"
|
|
76
|
+
* heading (or the `header` slot's content) above the list.
|
|
77
|
+
*/
|
|
78
|
+
hideHeader: boolean;
|
|
79
|
+
private scanned;
|
|
80
|
+
private containerEl?;
|
|
81
|
+
private indicatorEl?;
|
|
82
|
+
private controlled;
|
|
83
|
+
private observer?;
|
|
84
|
+
private resizeObserver?;
|
|
85
|
+
private mutationObserver?;
|
|
86
|
+
private readonly intersecting;
|
|
87
|
+
connectedCallback(): void;
|
|
88
|
+
disconnectedCallback(): void;
|
|
89
|
+
protected firstUpdated(): void;
|
|
90
|
+
protected updated(changed: Map<string, unknown>): void;
|
|
91
|
+
/** Re-derive entries, restart scroll-spy and reposition the indicator. */
|
|
92
|
+
private refresh;
|
|
93
|
+
/** The ordered list of items, normalised across slotted and scan modes. */
|
|
94
|
+
private get entries();
|
|
95
|
+
private scanContent;
|
|
96
|
+
private observeTargets;
|
|
97
|
+
private handleIntersect;
|
|
98
|
+
private setActive;
|
|
99
|
+
private applyActiveToItems;
|
|
100
|
+
private updateIndicator;
|
|
101
|
+
private handleClick;
|
|
102
|
+
private handleSlotChange;
|
|
103
|
+
private renderHeader;
|
|
104
|
+
render(): import("lit").TemplateResult<1>;
|
|
105
|
+
}
|
|
106
|
+
declare global {
|
|
107
|
+
interface HTMLElementTagNameMap {
|
|
108
|
+
'nord-outline': Outline;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
declare const OutlineItem_base: typeof LitElement;
|
|
3
|
+
/**
|
|
4
|
+
* Outline Item is a single link within an [Outline](/components/outline/). It
|
|
5
|
+
* points at an in-page heading via its `href` and indents according to its
|
|
6
|
+
* `level`. Its `active` state is managed by the parent Outline — you normally
|
|
7
|
+
* don't set it yourself.
|
|
8
|
+
*
|
|
9
|
+
* @status draft
|
|
10
|
+
* @category navigation
|
|
11
|
+
*
|
|
12
|
+
* @slot - The label text for the heading this item links to.
|
|
13
|
+
*
|
|
14
|
+
* @cssprop [--n-outline-item-color=var(--n-color-text-weak)] - Text color in the default state.
|
|
15
|
+
* @cssprop [--n-outline-item-color-hover=var(--n-color-text)] - Text color on hover.
|
|
16
|
+
* @cssprop [--n-outline-item-color-active=var(--n-color-text-link)] - Text color when the item is active.
|
|
17
|
+
*
|
|
18
|
+
* @parent Outline
|
|
19
|
+
*/
|
|
20
|
+
export default class OutlineItem extends OutlineItem_base {
|
|
21
|
+
static styles: import("lit").CSSResult[];
|
|
22
|
+
/**
|
|
23
|
+
* The URL fragment of the heading this item links to, e.g. `#installation`.
|
|
24
|
+
*/
|
|
25
|
+
href: string;
|
|
26
|
+
/**
|
|
27
|
+
* Heading depth from 1 to 4. Controls how far the item is indented.
|
|
28
|
+
*/
|
|
29
|
+
level: 1 | 2 | 3 | 4;
|
|
30
|
+
/**
|
|
31
|
+
* Whether this item represents the currently active section. Managed by the
|
|
32
|
+
* parent [Outline](/components/outline/) via its scroll-spy or `active` property.
|
|
33
|
+
*/
|
|
34
|
+
active: boolean;
|
|
35
|
+
render(): import("lit").TemplateResult<1>;
|
|
36
|
+
}
|
|
37
|
+
declare global {
|
|
38
|
+
interface HTMLElementTagNameMap {
|
|
39
|
+
'nord-outline-item': OutlineItem;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
export {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { LocalizeController } from '../localization/LocalizeController.js';
|
|
3
|
+
declare const Pagination_base: typeof LitElement;
|
|
4
|
+
/**
|
|
5
|
+
* Pagination is the navigation root for a paginated collection. It is
|
|
6
|
+
* composition-first: it owns no page state, renders no controls, and emits no
|
|
7
|
+
* events. Your app owns the page state, URL/query syncing, cursors and any data
|
|
8
|
+
* fetching; Nord supplies the semantic/layout primitives, the styling and the
|
|
9
|
+
* `paginate()` math utility for building the page window.
|
|
10
|
+
*
|
|
11
|
+
* As a root it is a `navigation` landmark — it sets `role="navigation"` and a
|
|
12
|
+
* default accessible label so screen-reader users can jump to it. Compose the
|
|
13
|
+
* lower-level primitives inside it:
|
|
14
|
+
*
|
|
15
|
+
* - [Pagination Content](/components/pagination-content/) — the list row.
|
|
16
|
+
* - [Pagination Item](/components/pagination-item/) — a slot in the row.
|
|
17
|
+
* - [Pagination Link](/components/pagination-link/) — a page link (set `current`).
|
|
18
|
+
* - [Pagination Previous](/components/pagination-previous/) — the previous control.
|
|
19
|
+
* - [Pagination Next](/components/pagination-next/) — the next control.
|
|
20
|
+
* - [Pagination Ellipsis](/components/pagination-ellipsis/) — the collapsed-pages marker.
|
|
21
|
+
*
|
|
22
|
+
* Bring your own interactive element — an `<a>` (e.g. a framework `<Link>` /
|
|
23
|
+
* `<NuxtLink>`) or a `nord-button` — and own its `href`, navigation and
|
|
24
|
+
* `disabled` state. See the framework adapters in the docs.
|
|
25
|
+
*
|
|
26
|
+
* @status draft
|
|
27
|
+
* @category navigation
|
|
28
|
+
* @lightDom true
|
|
29
|
+
*
|
|
30
|
+
* @localization label - Accessible label for the pagination navigation landmark.
|
|
31
|
+
*
|
|
32
|
+
* @cssprop [--n-pagination-gap=var(--n-space-xs)] - Controls the spacing between pagination controls.
|
|
33
|
+
*
|
|
34
|
+
* @slot - Default slot for the composed pagination primitives.
|
|
35
|
+
*/
|
|
36
|
+
export default class Pagination extends Pagination_base {
|
|
37
|
+
protected localize: LocalizeController<"nord-pagination">;
|
|
38
|
+
/**
|
|
39
|
+
* Dims the pagination and disables interaction while results are loading.
|
|
40
|
+
*/
|
|
41
|
+
loading: boolean;
|
|
42
|
+
connectedCallback(): void;
|
|
43
|
+
protected updated(): void;
|
|
44
|
+
protected createRenderRoot(): this;
|
|
45
|
+
}
|
|
46
|
+
declare global {
|
|
47
|
+
interface HTMLElementTagNameMap {
|
|
48
|
+
'nord-pagination': Pagination;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
declare const PaginationContent_base: typeof LitElement;
|
|
3
|
+
/**
|
|
4
|
+
* The list container for composed [Pagination](/components/pagination/) controls.
|
|
5
|
+
* Lays its [Pagination Item](/components/pagination-item/) children out in a row.
|
|
6
|
+
*
|
|
7
|
+
* Place it inside [Pagination](/components/pagination/), which is already the
|
|
8
|
+
* `navigation` landmark (it sets `role="navigation"` and an accessible label).
|
|
9
|
+
* Do not add your own `<nav>` wrapper — a second landmark around the same
|
|
10
|
+
* controls would be a duplicate that screen-reader users have to wade through.
|
|
11
|
+
*
|
|
12
|
+
* @status draft
|
|
13
|
+
* @category navigation
|
|
14
|
+
* @lightDom true
|
|
15
|
+
*
|
|
16
|
+
* @slot - Default slot for Pagination Item children.
|
|
17
|
+
*/
|
|
18
|
+
export default class PaginationContent extends PaginationContent_base {
|
|
19
|
+
connectedCallback(): void;
|
|
20
|
+
protected createRenderRoot(): this;
|
|
21
|
+
}
|
|
22
|
+
declare global {
|
|
23
|
+
interface HTMLElementTagNameMap {
|
|
24
|
+
'nord-pagination-content': PaginationContent;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '../visually-hidden/VisuallyHidden.js';
|
|
3
|
+
declare const PaginationEllipsis_base: typeof LitElement;
|
|
4
|
+
/**
|
|
5
|
+
* The collapsed-pages marker (…) in a composed [Pagination](/components/pagination/).
|
|
6
|
+
* The glyph is decorative; a visually-hidden label gives it meaning for
|
|
7
|
+
* assistive tech. Set `label` to localise it.
|
|
8
|
+
*
|
|
9
|
+
* @status draft
|
|
10
|
+
* @category navigation
|
|
11
|
+
* @lightDom true
|
|
12
|
+
*
|
|
13
|
+
* @cssprop [--n-pagination-gap=var(--n-space-xs)] - Inherited spacing token used by the pagination row.
|
|
14
|
+
*/
|
|
15
|
+
export default class PaginationEllipsis extends PaginationEllipsis_base {
|
|
16
|
+
/** The visually-hidden label announced for the collapsed pages. */
|
|
17
|
+
label: string;
|
|
18
|
+
connectedCallback(): void;
|
|
19
|
+
protected createRenderRoot(): this;
|
|
20
|
+
render(): import("lit").TemplateResult<1>;
|
|
21
|
+
}
|
|
22
|
+
declare global {
|
|
23
|
+
interface HTMLElementTagNameMap {
|
|
24
|
+
'nord-pagination-ellipsis': PaginationEllipsis;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
declare const PaginationItem_base: typeof LitElement;
|
|
3
|
+
/**
|
|
4
|
+
* A single slot in a composed [Pagination Content](/components/pagination-content/)
|
|
5
|
+
* row. Wrap each control — a [Pagination Link](/components/pagination-link/),
|
|
6
|
+
* [Pagination Previous](/components/pagination-previous/), [Pagination Next](/components/pagination-next/)
|
|
7
|
+
* or [Pagination Ellipsis](/components/pagination-ellipsis/) — in its own item.
|
|
8
|
+
*
|
|
9
|
+
* @status draft
|
|
10
|
+
* @category navigation
|
|
11
|
+
* @lightDom true
|
|
12
|
+
*
|
|
13
|
+
* @slot - Default slot for a single pagination control.
|
|
14
|
+
*/
|
|
15
|
+
export default class PaginationItem extends PaginationItem_base {
|
|
16
|
+
connectedCallback(): void;
|
|
17
|
+
protected createRenderRoot(): this;
|
|
18
|
+
}
|
|
19
|
+
declare global {
|
|
20
|
+
interface HTMLElementTagNameMap {
|
|
21
|
+
'nord-pagination-item': PaginationItem;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
declare const PaginationLink_base: typeof LitElement;
|
|
3
|
+
/**
|
|
4
|
+
* A page link in a composed [Pagination](/components/pagination/). A layout
|
|
5
|
+
* wrapper around your own interactive element — provide an `<a>` (e.g. a
|
|
6
|
+
* framework `<Link>` for crawlable, SSR-friendly links) or a `nord-button`. Set
|
|
7
|
+
* `current` on the link for the active page; it mirrors `aria-current="page"`
|
|
8
|
+
* onto the interactive child so assistive tech announces it.
|
|
9
|
+
*
|
|
10
|
+
* @status draft
|
|
11
|
+
* @category navigation
|
|
12
|
+
* @lightDom true
|
|
13
|
+
*
|
|
14
|
+
* @slot - Default slot for the page link or button.
|
|
15
|
+
*/
|
|
16
|
+
export default class PaginationLink extends PaginationLink_base {
|
|
17
|
+
/** Marks this as the current page, mirroring `aria-current="page"` onto the child. */
|
|
18
|
+
current: boolean;
|
|
19
|
+
connectedCallback(): void;
|
|
20
|
+
protected createRenderRoot(): this;
|
|
21
|
+
protected updated(): void;
|
|
22
|
+
private ownsAriaCurrent;
|
|
23
|
+
private syncCurrent;
|
|
24
|
+
}
|
|
25
|
+
declare global {
|
|
26
|
+
interface HTMLElementTagNameMap {
|
|
27
|
+
'nord-pagination-link': PaginationLink;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
declare const PaginationNext_base: typeof LitElement;
|
|
3
|
+
/**
|
|
4
|
+
* The "next page" control in a composed [Pagination](/components/pagination/). A
|
|
5
|
+
* layout wrapper around your own interactive element — provide an `<a>` (e.g. a
|
|
6
|
+
* framework `<Link>`) or a `nord-button` with its own icon, label and
|
|
7
|
+
* navigation, and disable it when there is no next page.
|
|
8
|
+
*
|
|
9
|
+
* @status draft
|
|
10
|
+
* @category navigation
|
|
11
|
+
* @lightDom true
|
|
12
|
+
*
|
|
13
|
+
* @slot - Default slot for the next-page link or button.
|
|
14
|
+
*/
|
|
15
|
+
export default class PaginationNext extends PaginationNext_base {
|
|
16
|
+
connectedCallback(): void;
|
|
17
|
+
protected createRenderRoot(): this;
|
|
18
|
+
}
|
|
19
|
+
declare global {
|
|
20
|
+
interface HTMLElementTagNameMap {
|
|
21
|
+
'nord-pagination-next': PaginationNext;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export {};
|