@nyxwire/vue 0.0.0-stage → 0.1.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/LICENSE +21 -0
- package/README.md +148 -2
- package/dist/components/actions/alert/NwAlert.vue.d.ts +37 -0
- package/dist/components/actions/alert/NwAlertDescription.vue.d.ts +17 -0
- package/dist/components/actions/alert/NwAlertTitle.vue.d.ts +17 -0
- package/dist/components/actions/alert/index.d.ts +6 -0
- package/dist/components/actions/aspect-ratio/NwAspectRatio.vue.d.ts +17 -0
- package/dist/components/actions/aspect-ratio/index.d.ts +2 -0
- package/dist/components/actions/avatar/NwAvatar.vue.d.ts +29 -0
- package/dist/components/actions/avatar/NwAvatarFallback.vue.d.ts +15 -0
- package/dist/components/actions/avatar/NwAvatarGroup.vue.d.ts +14 -0
- package/dist/components/actions/avatar/NwAvatarImage.vue.d.ts +11 -0
- package/dist/components/actions/avatar/context.d.ts +3 -0
- package/dist/components/actions/avatar/index.d.ts +9 -0
- package/dist/components/actions/badge/NwBadge.vue.d.ts +23 -0
- package/dist/components/actions/badge/index.d.ts +2 -0
- package/dist/components/actions/button/NwButton.vue.d.ts +29 -0
- package/dist/components/actions/button/NwButtonGroup.vue.d.ts +19 -0
- package/dist/components/actions/button/index.d.ts +4 -0
- package/dist/components/actions/card/NwCard.vue.d.ts +25 -0
- package/dist/components/actions/card/NwCardContent.vue.d.ts +17 -0
- package/dist/components/actions/card/NwCardDescription.vue.d.ts +17 -0
- package/dist/components/actions/card/NwCardFooter.vue.d.ts +17 -0
- package/dist/components/actions/card/NwCardHeader.vue.d.ts +17 -0
- package/dist/components/actions/card/NwCardTitle.vue.d.ts +17 -0
- package/dist/components/actions/card/index.d.ts +12 -0
- package/dist/components/actions/chip/NwChip.vue.d.ts +24 -0
- package/dist/components/actions/chip/index.d.ts +1 -0
- package/dist/components/actions/code/NwCode.vue.d.ts +20 -0
- package/dist/components/actions/code/index.d.ts +1 -0
- package/dist/components/actions/data-table/NwDataTable.vue.d.ts +37 -0
- package/dist/components/actions/data-table/index.d.ts +1 -0
- package/dist/components/actions/empty/NwEmpty.vue.d.ts +19 -0
- package/dist/components/actions/empty/index.d.ts +1 -0
- package/dist/components/actions/hud-panel/NwHudPanel.vue.d.ts +45 -0
- package/dist/components/actions/hud-panel/index.d.ts +2 -0
- package/dist/components/actions/icon-button/NwIconButton.vue.d.ts +21 -0
- package/dist/components/actions/icon-button/index.d.ts +1 -0
- package/dist/components/actions/index.d.ts +28 -0
- package/dist/components/actions/kbd/NwKbd.vue.d.ts +18 -0
- package/dist/components/actions/kbd/NwKeyHint.vue.d.ts +22 -0
- package/dist/components/actions/kbd/index.d.ts +5 -0
- package/dist/components/actions/layout/NwLayout.vue.d.ts +18 -0
- package/dist/components/actions/layout/index.d.ts +1 -0
- package/dist/components/actions/link/NwLink.vue.d.ts +27 -0
- package/dist/components/actions/link/index.d.ts +3 -0
- package/dist/components/actions/list/NwList.vue.d.ts +19 -0
- package/dist/components/actions/list/index.d.ts +1 -0
- package/dist/components/actions/meter/NwMeter.vue.d.ts +15 -0
- package/dist/components/actions/meter/index.d.ts +1 -0
- package/dist/components/actions/neon-text/NwNeonText.vue.d.ts +26 -0
- package/dist/components/actions/neon-text/index.d.ts +3 -0
- package/dist/components/actions/progress/NwProgress.vue.d.ts +21 -0
- package/dist/components/actions/progress/index.d.ts +2 -0
- package/dist/components/actions/rating/NwRating.vue.d.ts +21 -0
- package/dist/components/actions/rating/index.d.ts +2 -0
- package/dist/components/actions/separator/NwSeparator.vue.d.ts +12 -0
- package/dist/components/actions/separator/index.d.ts +2 -0
- package/dist/components/actions/skeleton/NwSkeleton.vue.d.ts +21 -0
- package/dist/components/actions/skeleton/index.d.ts +3 -0
- package/dist/components/actions/spinner/NwSpinner.vue.d.ts +17 -0
- package/dist/components/actions/spinner/index.d.ts +3 -0
- package/dist/components/actions/stat/NwStat.vue.d.ts +8 -0
- package/dist/components/actions/stat/index.d.ts +1 -0
- package/dist/components/actions/stat-bar/NwStatBar.vue.d.ts +35 -0
- package/dist/components/actions/stat-bar/index.d.ts +2 -0
- package/dist/components/actions/table/NwTable.vue.d.ts +24 -0
- package/dist/components/actions/table/NwTableBody.vue.d.ts +17 -0
- package/dist/components/actions/table/NwTableCaption.vue.d.ts +17 -0
- package/dist/components/actions/table/NwTableCell.vue.d.ts +17 -0
- package/dist/components/actions/table/NwTableFooter.vue.d.ts +17 -0
- package/dist/components/actions/table/NwTableHead.vue.d.ts +21 -0
- package/dist/components/actions/table/NwTableHeader.vue.d.ts +17 -0
- package/dist/components/actions/table/NwTableRow.vue.d.ts +19 -0
- package/dist/components/actions/table/context.d.ts +4 -0
- package/dist/components/actions/table/index.d.ts +16 -0
- package/dist/components/actions/toggle/NwToggle.vue.d.ts +22 -0
- package/dist/components/actions/toggle/NwToggleGroup.vue.d.ts +23 -0
- package/dist/components/actions/toggle/NwToggleGroupItem.vue.d.ts +18 -0
- package/dist/components/actions/toggle/context.d.ts +7 -0
- package/dist/components/actions/toggle/index.d.ts +7 -0
- package/dist/components/actions/toolbar/NwToolbar.vue.d.ts +15 -0
- package/dist/components/actions/toolbar/NwToolbarButton.vue.d.ts +22 -0
- package/dist/components/actions/toolbar/NwToolbarLink.vue.d.ts +15 -0
- package/dist/components/actions/toolbar/NwToolbarSeparator.vue.d.ts +8 -0
- package/dist/components/actions/toolbar/NwToolbarToggleGroup.vue.d.ts +25 -0
- package/dist/components/actions/toolbar/NwToolbarToggleItem.vue.d.ts +18 -0
- package/dist/components/actions/toolbar/index.d.ts +12 -0
- package/dist/components/color/color-area/NwColorArea.vue.d.ts +30 -0
- package/dist/components/color/color-area/NwColorAreaThumb.vue.d.ts +20 -0
- package/dist/components/color/color-area/index.d.ts +4 -0
- package/dist/components/color/color-field/NwColorField.vue.d.ts +20 -0
- package/dist/components/color/color-field/index.d.ts +2 -0
- package/dist/components/color/color-picker/NwColorPicker.vue.d.ts +46 -0
- package/dist/components/color/color-picker/index.d.ts +2 -0
- package/dist/components/color/color-slider/NwColorSlider.vue.d.ts +19 -0
- package/dist/components/color/color-slider/NwColorSliderTrack.vue.d.ts +21 -0
- package/dist/components/color/color-slider/index.d.ts +4 -0
- package/dist/components/color/color-swatch/NwColorSwatch.vue.d.ts +23 -0
- package/dist/components/color/color-swatch/index.d.ts +2 -0
- package/dist/components/color/color-swatch-picker/NwColorSwatchPicker.vue.d.ts +38 -0
- package/dist/components/color/color-swatch-picker/NwColorSwatchPickerItem.vue.d.ts +29 -0
- package/dist/components/color/color-swatch-picker/index.d.ts +4 -0
- package/dist/components/color/index.d.ts +6 -0
- package/dist/components/datetime/calendar/NwCalendar.vue.d.ts +36 -0
- package/dist/components/datetime/calendar/NwCalendarCell.vue.d.ts +20 -0
- package/dist/components/datetime/calendar/index.d.ts +3 -0
- package/dist/components/datetime/calendar/parts.d.ts +14 -0
- package/dist/components/datetime/date-field/NwDateField.vue.d.ts +36 -0
- package/dist/components/datetime/date-field/index.d.ts +3 -0
- package/dist/components/datetime/date-field/parts.d.ts +19 -0
- package/dist/components/datetime/date-picker/NwDatePicker.vue.d.ts +36 -0
- package/dist/components/datetime/date-picker/index.d.ts +3 -0
- package/dist/components/datetime/date-picker/parts.d.ts +21 -0
- package/dist/components/datetime/date-range-field/NwDateRangeField.vue.d.ts +42 -0
- package/dist/components/datetime/date-range-field/index.d.ts +3 -0
- package/dist/components/datetime/date-range-field/parts.d.ts +19 -0
- package/dist/components/datetime/date-range-picker/NwDateRangePicker.vue.d.ts +41 -0
- package/dist/components/datetime/date-range-picker/index.d.ts +3 -0
- package/dist/components/datetime/date-range-picker/parts.d.ts +21 -0
- package/dist/components/datetime/index.d.ts +12 -0
- package/dist/components/datetime/month-cell-trigger.d.ts +13 -0
- package/dist/components/datetime/month-picker/NwMonthPicker.vue.d.ts +31 -0
- package/dist/components/datetime/month-picker/index.d.ts +3 -0
- package/dist/components/datetime/month-picker/parts.d.ts +12 -0
- package/dist/components/datetime/month-range-picker/NwMonthRangePicker.vue.d.ts +33 -0
- package/dist/components/datetime/month-range-picker/index.d.ts +3 -0
- package/dist/components/datetime/month-range-picker/parts.d.ts +12 -0
- package/dist/components/datetime/range-calendar/NwRangeCalendar.vue.d.ts +40 -0
- package/dist/components/datetime/range-calendar/NwRangeCalendarCell.vue.d.ts +20 -0
- package/dist/components/datetime/range-calendar/index.d.ts +3 -0
- package/dist/components/datetime/range-calendar/parts.d.ts +14 -0
- package/dist/components/datetime/styled.d.ts +12 -0
- package/dist/components/datetime/time-field/NwTimeField.vue.d.ts +36 -0
- package/dist/components/datetime/time-field/index.d.ts +3 -0
- package/dist/components/datetime/time-field/parts.d.ts +19 -0
- package/dist/components/datetime/time-range-field/NwTimeRangeField.vue.d.ts +42 -0
- package/dist/components/datetime/time-range-field/index.d.ts +3 -0
- package/dist/components/datetime/time-range-field/parts.d.ts +19 -0
- package/dist/components/datetime/year-picker/NwYearPicker.vue.d.ts +31 -0
- package/dist/components/datetime/year-picker/index.d.ts +3 -0
- package/dist/components/datetime/year-picker/parts.d.ts +12 -0
- package/dist/components/datetime/year-range-picker/NwYearRangePicker.vue.d.ts +33 -0
- package/dist/components/datetime/year-range-picker/index.d.ts +3 -0
- package/dist/components/datetime/year-range-picker/parts.d.ts +12 -0
- package/dist/components/forms/checkbox/NwCheckbox.vue.d.ts +28 -0
- package/dist/components/forms/checkbox/NwCheckboxGroup.vue.d.ts +19 -0
- package/dist/components/forms/checkbox/index.d.ts +4 -0
- package/dist/components/forms/choice-label/ChoiceLabel.vue.d.ts +22 -0
- package/dist/components/forms/editable/NwEditable.vue.d.ts +30 -0
- package/dist/components/forms/editable/NwEditableArea.vue.d.ts +15 -0
- package/dist/components/forms/editable/NwEditableCancelTrigger.vue.d.ts +19 -0
- package/dist/components/forms/editable/NwEditableEditTrigger.vue.d.ts +19 -0
- package/dist/components/forms/editable/NwEditableInput.vue.d.ts +21 -0
- package/dist/components/forms/editable/NwEditablePreview.vue.d.ts +15 -0
- package/dist/components/forms/editable/NwEditableSubmitTrigger.vue.d.ts +19 -0
- package/dist/components/forms/editable/index.d.ts +14 -0
- package/dist/components/forms/field/FieldScope.vue.d.ts +15 -0
- package/dist/components/forms/field/NwField.vue.d.ts +30 -0
- package/dist/components/forms/field/NwFieldDescription.vue.d.ts +15 -0
- package/dist/components/forms/field/NwFieldError.vue.d.ts +17 -0
- package/dist/components/forms/field/NwFieldLabel.vue.d.ts +15 -0
- package/dist/components/forms/field/index.d.ts +10 -0
- package/dist/components/forms/field/useNwFieldControl.d.ts +21 -0
- package/dist/components/forms/form/NwForm.vue.d.ts +23 -0
- package/dist/components/forms/form/index.d.ts +2 -0
- package/dist/components/forms/index.d.ts +15 -0
- package/dist/components/forms/input/NwInput.vue.d.ts +28 -0
- package/dist/components/forms/input/index.d.ts +2 -0
- package/dist/components/forms/input-group/NwInputGroup.vue.d.ts +21 -0
- package/dist/components/forms/input-group/NwInputGroupAddon.vue.d.ts +17 -0
- package/dist/components/forms/input-group/index.d.ts +4 -0
- package/dist/components/forms/label/NwLabel.vue.d.ts +15 -0
- package/dist/components/forms/label/index.d.ts +2 -0
- package/dist/components/forms/number-field/NwNumberField.vue.d.ts +30 -0
- package/dist/components/forms/number-field/NwNumberFieldDecrement.vue.d.ts +19 -0
- package/dist/components/forms/number-field/NwNumberFieldIncrement.vue.d.ts +19 -0
- package/dist/components/forms/number-field/NwNumberFieldInput.vue.d.ts +17 -0
- package/dist/components/forms/number-field/context.d.ts +4 -0
- package/dist/components/forms/number-field/index.d.ts +8 -0
- package/dist/components/forms/pin-input/NwPinInput.vue.d.ts +30 -0
- package/dist/components/forms/pin-input/NwPinInputInput.vue.d.ts +17 -0
- package/dist/components/forms/pin-input/index.d.ts +4 -0
- package/dist/components/forms/radio-group/NwRadioGroup.vue.d.ts +26 -0
- package/dist/components/forms/radio-group/NwRadioGroupItem.vue.d.ts +25 -0
- package/dist/components/forms/radio-group/index.d.ts +4 -0
- package/dist/components/forms/slider/NwSlider.vue.d.ts +29 -0
- package/dist/components/forms/slider/index.d.ts +2 -0
- package/dist/components/forms/switch/NwSwitch.vue.d.ts +18 -0
- package/dist/components/forms/switch/index.d.ts +2 -0
- package/dist/components/forms/tag-group/NwTagGroup.vue.d.ts +23 -0
- package/dist/components/forms/tag-group/NwTagGroupItem.vue.d.ts +18 -0
- package/dist/components/forms/tag-group/NwTagGroupItemDelete.vue.d.ts +19 -0
- package/dist/components/forms/tag-group/NwTagGroupItemText.vue.d.ts +15 -0
- package/dist/components/forms/tag-group/index.d.ts +8 -0
- package/dist/components/forms/tags-input/NwTagsInput.vue.d.ts +34 -0
- package/dist/components/forms/tags-input/NwTagsInputClear.vue.d.ts +19 -0
- package/dist/components/forms/tags-input/NwTagsInputInput.vue.d.ts +15 -0
- package/dist/components/forms/tags-input/NwTagsInputItem.vue.d.ts +15 -0
- package/dist/components/forms/tags-input/NwTagsInputItemDelete.vue.d.ts +19 -0
- package/dist/components/forms/tags-input/NwTagsInputItemText.vue.d.ts +15 -0
- package/dist/components/forms/tags-input/index.d.ts +12 -0
- package/dist/components/forms/textarea/NwTextarea.vue.d.ts +18 -0
- package/dist/components/forms/textarea/index.d.ts +2 -0
- package/dist/components/navigation/accordion/NwAccordion.vue.d.ts +37 -0
- package/dist/components/navigation/accordion/NwAccordionContent.vue.d.ts +22 -0
- package/dist/components/navigation/accordion/NwAccordionItem.vue.d.ts +22 -0
- package/dist/components/navigation/accordion/NwAccordionTrigger.vue.d.ts +20 -0
- package/dist/components/navigation/accordion/index.d.ts +5 -0
- package/dist/components/navigation/breadcrumb/NwBreadcrumb.vue.d.ts +30 -0
- package/dist/components/navigation/breadcrumb/NwBreadcrumbEllipsis.vue.d.ts +24 -0
- package/dist/components/navigation/breadcrumb/NwBreadcrumbItem.vue.d.ts +22 -0
- package/dist/components/navigation/breadcrumb/NwBreadcrumbLink.vue.d.ts +23 -0
- package/dist/components/navigation/breadcrumb/NwBreadcrumbList.vue.d.ts +22 -0
- package/dist/components/navigation/breadcrumb/NwBreadcrumbPage.vue.d.ts +22 -0
- package/dist/components/navigation/breadcrumb/NwBreadcrumbSeparator.vue.d.ts +22 -0
- package/dist/components/navigation/breadcrumb/index.d.ts +7 -0
- package/dist/components/navigation/collapsible/NwCollapsible.vue.d.ts +26 -0
- package/dist/components/navigation/collapsible/NwCollapsibleContent.vue.d.ts +24 -0
- package/dist/components/navigation/collapsible/NwCollapsibleTrigger.vue.d.ts +20 -0
- package/dist/components/navigation/collapsible/index.d.ts +3 -0
- package/dist/components/navigation/index.d.ts +13 -0
- package/dist/components/navigation/navbar/NwNavbar.vue.d.ts +26 -0
- package/dist/components/navigation/navbar/NwNavbarActions.vue.d.ts +22 -0
- package/dist/components/navigation/navbar/NwNavbarBrand.vue.d.ts +23 -0
- package/dist/components/navigation/navbar/NwNavbarLink.vue.d.ts +25 -0
- package/dist/components/navigation/navbar/index.d.ts +4 -0
- package/dist/components/navigation/navigation-menu/NwNavigationMenu.vue.d.ts +26 -0
- package/dist/components/navigation/navigation-menu/NwNavigationMenuContent.vue.d.ts +30 -0
- package/dist/components/navigation/navigation-menu/NwNavigationMenuIndicator.vue.d.ts +20 -0
- package/dist/components/navigation/navigation-menu/NwNavigationMenuItem.vue.d.ts +20 -0
- package/dist/components/navigation/navigation-menu/NwNavigationMenuLink.vue.d.ts +29 -0
- package/dist/components/navigation/navigation-menu/NwNavigationMenuList.vue.d.ts +20 -0
- package/dist/components/navigation/navigation-menu/NwNavigationMenuSub.vue.d.ts +26 -0
- package/dist/components/navigation/navigation-menu/NwNavigationMenuTrigger.vue.d.ts +20 -0
- package/dist/components/navigation/navigation-menu/NwNavigationMenuViewport.vue.d.ts +20 -0
- package/dist/components/navigation/navigation-menu/index.d.ts +9 -0
- package/dist/components/navigation/pagination/NwPagination.vue.d.ts +38 -0
- package/dist/components/navigation/pagination/NwPaginationEllipsis.vue.d.ts +20 -0
- package/dist/components/navigation/pagination/NwPaginationFirst.vue.d.ts +23 -0
- package/dist/components/navigation/pagination/NwPaginationLast.vue.d.ts +23 -0
- package/dist/components/navigation/pagination/NwPaginationList.vue.d.ts +27 -0
- package/dist/components/navigation/pagination/NwPaginationListItem.vue.d.ts +20 -0
- package/dist/components/navigation/pagination/NwPaginationNext.vue.d.ts +23 -0
- package/dist/components/navigation/pagination/NwPaginationPrev.vue.d.ts +23 -0
- package/dist/components/navigation/pagination/index.d.ts +8 -0
- package/dist/components/navigation/scroll-area/NwScrollArea.vue.d.ts +20 -0
- package/dist/components/navigation/scroll-area/NwScrollAreaCorner.vue.d.ts +20 -0
- package/dist/components/navigation/scroll-area/NwScrollAreaScrollbar.vue.d.ts +20 -0
- package/dist/components/navigation/scroll-area/NwScrollAreaThumb.vue.d.ts +20 -0
- package/dist/components/navigation/scroll-area/NwScrollAreaViewport.vue.d.ts +20 -0
- package/dist/components/navigation/scroll-area/index.d.ts +5 -0
- package/dist/components/navigation/sidenav/NwSidenav.vue.d.ts +27 -0
- package/dist/components/navigation/sidenav/NwSidenavGroup.vue.d.ts +21 -0
- package/dist/components/navigation/sidenav/NwSidenavItem.vue.d.ts +22 -0
- package/dist/components/navigation/sidenav/NwSidenavLink.vue.d.ts +25 -0
- package/dist/components/navigation/sidenav/NwSidenavList.vue.d.ts +22 -0
- package/dist/components/navigation/sidenav/index.d.ts +5 -0
- package/dist/components/navigation/splitter/NwSplitterGroup.vue.d.ts +26 -0
- package/dist/components/navigation/splitter/NwSplitterPanel.vue.d.ts +34 -0
- package/dist/components/navigation/splitter/NwSplitterResizeHandle.vue.d.ts +27 -0
- package/dist/components/navigation/splitter/index.d.ts +3 -0
- package/dist/components/navigation/stepper/NwStepper.vue.d.ts +47 -0
- package/dist/components/navigation/stepper/NwStepperDescription.vue.d.ts +20 -0
- package/dist/components/navigation/stepper/NwStepperIndicator.vue.d.ts +26 -0
- package/dist/components/navigation/stepper/NwStepperItem.vue.d.ts +22 -0
- package/dist/components/navigation/stepper/NwStepperSeparator.vue.d.ts +20 -0
- package/dist/components/navigation/stepper/NwStepperTitle.vue.d.ts +20 -0
- package/dist/components/navigation/stepper/NwStepperTrigger.vue.d.ts +20 -0
- package/dist/components/navigation/stepper/index.d.ts +7 -0
- package/dist/components/navigation/tabs/NwTabs.vue.d.ts +46 -0
- package/dist/components/navigation/tabs/NwTabsContent.vue.d.ts +20 -0
- package/dist/components/navigation/tabs/NwTabsIndicator.vue.d.ts +20 -0
- package/dist/components/navigation/tabs/NwTabsList.vue.d.ts +20 -0
- package/dist/components/navigation/tabs/NwTabsTrigger.vue.d.ts +20 -0
- package/dist/components/navigation/tabs/index.d.ts +6 -0
- package/dist/components/navigation/tree/NwTree.vue.d.ts +32 -0
- package/dist/components/navigation/tree/NwTreeItem.vue.d.ts +36 -0
- package/dist/components/navigation/tree/index.d.ts +2 -0
- package/dist/components/overlays/alert-dialog/NwAlertDialog.vue.d.ts +24 -0
- package/dist/components/overlays/alert-dialog/NwAlertDialogAction.vue.d.ts +24 -0
- package/dist/components/overlays/alert-dialog/NwAlertDialogCancel.vue.d.ts +21 -0
- package/dist/components/overlays/alert-dialog/NwAlertDialogContent.vue.d.ts +39 -0
- package/dist/components/overlays/alert-dialog/NwAlertDialogDescription.vue.d.ts +20 -0
- package/dist/components/overlays/alert-dialog/NwAlertDialogFooter.vue.d.ts +23 -0
- package/dist/components/overlays/alert-dialog/NwAlertDialogHeader.vue.d.ts +22 -0
- package/dist/components/overlays/alert-dialog/NwAlertDialogTitle.vue.d.ts +20 -0
- package/dist/components/overlays/alert-dialog/NwAlertDialogTrigger.vue.d.ts +18 -0
- package/dist/components/overlays/alert-dialog/index.d.ts +10 -0
- package/dist/components/overlays/command-palette/NwCommandPalette.vue.d.ts +49 -0
- package/dist/components/overlays/command-palette/index.d.ts +1 -0
- package/dist/components/overlays/context-menu/NwContextMenu.vue.d.ts +24 -0
- package/dist/components/overlays/context-menu/NwContextMenuCheckboxItem.vue.d.ts +30 -0
- package/dist/components/overlays/context-menu/NwContextMenuContent.vue.d.ts +38 -0
- package/dist/components/overlays/context-menu/NwContextMenuGroup.vue.d.ts +20 -0
- package/dist/components/overlays/context-menu/NwContextMenuItem.vue.d.ts +31 -0
- package/dist/components/overlays/context-menu/NwContextMenuLabel.vue.d.ts +25 -0
- package/dist/components/overlays/context-menu/NwContextMenuRadioGroup.vue.d.ts +22 -0
- package/dist/components/overlays/context-menu/NwContextMenuRadioItem.vue.d.ts +27 -0
- package/dist/components/overlays/context-menu/NwContextMenuSeparator.vue.d.ts +8 -0
- package/dist/components/overlays/context-menu/NwContextMenuSub.vue.d.ts +24 -0
- package/dist/components/overlays/context-menu/NwContextMenuSubContent.vue.d.ts +43 -0
- package/dist/components/overlays/context-menu/NwContextMenuSubTrigger.vue.d.ts +25 -0
- package/dist/components/overlays/context-menu/NwContextMenuTrigger.vue.d.ts +18 -0
- package/dist/components/overlays/context-menu/index.d.ts +14 -0
- package/dist/components/overlays/dialog/NwDialog.vue.d.ts +24 -0
- package/dist/components/overlays/dialog/NwDialogBody.vue.d.ts +23 -0
- package/dist/components/overlays/dialog/NwDialogClose.vue.d.ts +18 -0
- package/dist/components/overlays/dialog/NwDialogContent.vue.d.ts +44 -0
- package/dist/components/overlays/dialog/NwDialogDescription.vue.d.ts +20 -0
- package/dist/components/overlays/dialog/NwDialogFooter.vue.d.ts +23 -0
- package/dist/components/overlays/dialog/NwDialogHeader.vue.d.ts +22 -0
- package/dist/components/overlays/dialog/NwDialogTitle.vue.d.ts +20 -0
- package/dist/components/overlays/dialog/NwDialogTrigger.vue.d.ts +18 -0
- package/dist/components/overlays/dialog/index.d.ts +10 -0
- package/dist/components/overlays/drawer/NwDrawer.vue.d.ts +29 -0
- package/dist/components/overlays/drawer/NwDrawerClose.vue.d.ts +18 -0
- package/dist/components/overlays/drawer/NwDrawerContent.vue.d.ts +44 -0
- package/dist/components/overlays/drawer/NwDrawerDescription.vue.d.ts +20 -0
- package/dist/components/overlays/drawer/NwDrawerHandle.vue.d.ts +21 -0
- package/dist/components/overlays/drawer/NwDrawerHeader.vue.d.ts +22 -0
- package/dist/components/overlays/drawer/NwDrawerTitle.vue.d.ts +20 -0
- package/dist/components/overlays/drawer/NwDrawerTrigger.vue.d.ts +18 -0
- package/dist/components/overlays/drawer/index.d.ts +10 -0
- package/dist/components/overlays/dropdown-menu/NwDropdownMenu.vue.d.ts +26 -0
- package/dist/components/overlays/dropdown-menu/NwDropdownMenuCheckboxItem.vue.d.ts +30 -0
- package/dist/components/overlays/dropdown-menu/NwDropdownMenuContent.vue.d.ts +40 -0
- package/dist/components/overlays/dropdown-menu/NwDropdownMenuGroup.vue.d.ts +20 -0
- package/dist/components/overlays/dropdown-menu/NwDropdownMenuItem.vue.d.ts +31 -0
- package/dist/components/overlays/dropdown-menu/NwDropdownMenuLabel.vue.d.ts +25 -0
- package/dist/components/overlays/dropdown-menu/NwDropdownMenuRadioGroup.vue.d.ts +22 -0
- package/dist/components/overlays/dropdown-menu/NwDropdownMenuRadioItem.vue.d.ts +27 -0
- package/dist/components/overlays/dropdown-menu/NwDropdownMenuSeparator.vue.d.ts +8 -0
- package/dist/components/overlays/dropdown-menu/NwDropdownMenuShortcut.vue.d.ts +20 -0
- package/dist/components/overlays/dropdown-menu/NwDropdownMenuSub.vue.d.ts +24 -0
- package/dist/components/overlays/dropdown-menu/NwDropdownMenuSubContent.vue.d.ts +43 -0
- package/dist/components/overlays/dropdown-menu/NwDropdownMenuSubTrigger.vue.d.ts +25 -0
- package/dist/components/overlays/dropdown-menu/NwDropdownMenuTrigger.vue.d.ts +18 -0
- package/dist/components/overlays/dropdown-menu/index.d.ts +15 -0
- package/dist/components/overlays/hover-card/NwHoverCard.vue.d.ts +23 -0
- package/dist/components/overlays/hover-card/NwHoverCardContent.vue.d.ts +30 -0
- package/dist/components/overlays/hover-card/NwHoverCardTrigger.vue.d.ts +18 -0
- package/dist/components/overlays/hover-card/index.d.ts +4 -0
- package/dist/components/overlays/index.d.ts +12 -0
- package/dist/components/overlays/menubar/NwMenubar.vue.d.ts +27 -0
- package/dist/components/overlays/menubar/NwMenubarCheckboxItem.vue.d.ts +30 -0
- package/dist/components/overlays/menubar/NwMenubarContent.vue.d.ts +41 -0
- package/dist/components/overlays/menubar/NwMenubarGroup.vue.d.ts +20 -0
- package/dist/components/overlays/menubar/NwMenubarItem.vue.d.ts +31 -0
- package/dist/components/overlays/menubar/NwMenubarLabel.vue.d.ts +25 -0
- package/dist/components/overlays/menubar/NwMenubarMenu.vue.d.ts +18 -0
- package/dist/components/overlays/menubar/NwMenubarRadioGroup.vue.d.ts +22 -0
- package/dist/components/overlays/menubar/NwMenubarRadioItem.vue.d.ts +27 -0
- package/dist/components/overlays/menubar/NwMenubarSeparator.vue.d.ts +8 -0
- package/dist/components/overlays/menubar/NwMenubarSub.vue.d.ts +24 -0
- package/dist/components/overlays/menubar/NwMenubarSubContent.vue.d.ts +43 -0
- package/dist/components/overlays/menubar/NwMenubarSubTrigger.vue.d.ts +25 -0
- package/dist/components/overlays/menubar/NwMenubarTrigger.vue.d.ts +20 -0
- package/dist/components/overlays/menubar/index.d.ts +15 -0
- package/dist/components/overlays/popover/NwPopover.vue.d.ts +24 -0
- package/dist/components/overlays/popover/NwPopoverAnchor.vue.d.ts +18 -0
- package/dist/components/overlays/popover/NwPopoverClose.vue.d.ts +18 -0
- package/dist/components/overlays/popover/NwPopoverContent.vue.d.ts +52 -0
- package/dist/components/overlays/popover/NwPopoverTrigger.vue.d.ts +18 -0
- package/dist/components/overlays/popover/index.d.ts +6 -0
- package/dist/components/overlays/sheet/NwSheetContent.vue.d.ts +45 -0
- package/dist/components/overlays/sheet/index.d.ts +10 -0
- package/dist/components/overlays/toast/NwToast.vue.d.ts +107 -0
- package/dist/components/overlays/toast/NwToastAction.vue.d.ts +21 -0
- package/dist/components/overlays/toast/NwToastClose.vue.d.ts +24 -0
- package/dist/components/overlays/toast/NwToastDescription.vue.d.ts +20 -0
- package/dist/components/overlays/toast/NwToastTitle.vue.d.ts +20 -0
- package/dist/components/overlays/toast/NwToaster.vue.d.ts +21 -0
- package/dist/components/overlays/toast/index.d.ts +8 -0
- package/dist/components/overlays/toast/useToast.d.ts +45 -0
- package/dist/components/overlays/tooltip/NwTooltip.vue.d.ts +24 -0
- package/dist/components/overlays/tooltip/NwTooltipContent.vue.d.ts +33 -0
- package/dist/components/overlays/tooltip/NwTooltipTrigger.vue.d.ts +18 -0
- package/dist/components/overlays/tooltip/index.d.ts +3 -0
- package/dist/components/selection/autocomplete/NwAutocomplete.vue.d.ts +37 -0
- package/dist/components/selection/autocomplete/NwAutocompleteAnchor.vue.d.ts +20 -0
- package/dist/components/selection/autocomplete/NwAutocompleteCancel.vue.d.ts +23 -0
- package/dist/components/selection/autocomplete/NwAutocompleteContent.vue.d.ts +35 -0
- package/dist/components/selection/autocomplete/NwAutocompleteEmpty.vue.d.ts +20 -0
- package/dist/components/selection/autocomplete/NwAutocompleteGroup.vue.d.ts +20 -0
- package/dist/components/selection/autocomplete/NwAutocompleteInput.vue.d.ts +27 -0
- package/dist/components/selection/autocomplete/NwAutocompleteItem.vue.d.ts +26 -0
- package/dist/components/selection/autocomplete/NwAutocompleteLabel.vue.d.ts +20 -0
- package/dist/components/selection/autocomplete/NwAutocompleteSeparator.vue.d.ts +8 -0
- package/dist/components/selection/autocomplete/NwAutocompleteTrigger.vue.d.ts +23 -0
- package/dist/components/selection/autocomplete/index.d.ts +11 -0
- package/dist/components/selection/combobox/NwCombobox.vue.d.ts +37 -0
- package/dist/components/selection/combobox/NwComboboxAnchor.vue.d.ts +20 -0
- package/dist/components/selection/combobox/NwComboboxCancel.vue.d.ts +23 -0
- package/dist/components/selection/combobox/NwComboboxContent.vue.d.ts +35 -0
- package/dist/components/selection/combobox/NwComboboxEmpty.vue.d.ts +20 -0
- package/dist/components/selection/combobox/NwComboboxGroup.vue.d.ts +20 -0
- package/dist/components/selection/combobox/NwComboboxInput.vue.d.ts +27 -0
- package/dist/components/selection/combobox/NwComboboxItem.vue.d.ts +26 -0
- package/dist/components/selection/combobox/NwComboboxLabel.vue.d.ts +20 -0
- package/dist/components/selection/combobox/NwComboboxSeparator.vue.d.ts +8 -0
- package/dist/components/selection/combobox/NwComboboxTrigger.vue.d.ts +23 -0
- package/dist/components/selection/combobox/index.d.ts +11 -0
- package/dist/components/selection/index.d.ts +4 -0
- package/dist/components/selection/listbox/NwListbox.vue.d.ts +38 -0
- package/dist/components/selection/listbox/NwListboxContent.vue.d.ts +20 -0
- package/dist/components/selection/listbox/NwListboxFilter.vue.d.ts +27 -0
- package/dist/components/selection/listbox/NwListboxGroup.vue.d.ts +20 -0
- package/dist/components/selection/listbox/NwListboxGroupLabel.vue.d.ts +20 -0
- package/dist/components/selection/listbox/NwListboxItem.vue.d.ts +26 -0
- package/dist/components/selection/listbox/index.d.ts +6 -0
- package/dist/components/selection/select/NwSelect.vue.d.ts +29 -0
- package/dist/components/selection/select/NwSelectContent.vue.d.ts +32 -0
- package/dist/components/selection/select/NwSelectGroup.vue.d.ts +20 -0
- package/dist/components/selection/select/NwSelectItem.vue.d.ts +24 -0
- package/dist/components/selection/select/NwSelectLabel.vue.d.ts +20 -0
- package/dist/components/selection/select/NwSelectScrollDownButton.vue.d.ts +20 -0
- package/dist/components/selection/select/NwSelectScrollUpButton.vue.d.ts +20 -0
- package/dist/components/selection/select/NwSelectSeparator.vue.d.ts +8 -0
- package/dist/components/selection/select/NwSelectTrigger.vue.d.ts +23 -0
- package/dist/components/selection/select/NwSelectValue.vue.d.ts +20 -0
- package/dist/components/selection/select/index.d.ts +10 -0
- package/dist/docs/api.json +320 -0
- package/dist/docs/components/accordion.md +123 -0
- package/dist/docs/components/alert-dialog.md +199 -0
- package/dist/docs/components/alert.md +106 -0
- package/dist/docs/components/aspect-ratio.md +57 -0
- package/dist/docs/components/autocomplete.md +282 -0
- package/dist/docs/components/avatar.md +118 -0
- package/dist/docs/components/badge.md +66 -0
- package/dist/docs/components/breadcrumb.md +162 -0
- package/dist/docs/components/button.md +97 -0
- package/dist/docs/components/calendar.md +115 -0
- package/dist/docs/components/card.md +161 -0
- package/dist/docs/components/checkbox.md +117 -0
- package/dist/docs/components/chip.md +76 -0
- package/dist/docs/components/code.md +56 -0
- package/dist/docs/components/collapsible.md +92 -0
- package/dist/docs/components/color-area.md +95 -0
- package/dist/docs/components/color-field.md +81 -0
- package/dist/docs/components/color-picker.md +81 -0
- package/dist/docs/components/color-slider.md +95 -0
- package/dist/docs/components/color-swatch-picker.md +108 -0
- package/dist/docs/components/color-swatch.md +58 -0
- package/dist/docs/components/combobox.md +295 -0
- package/dist/docs/components/command-palette.md +83 -0
- package/dist/docs/components/context-menu.md +325 -0
- package/dist/docs/components/data-table.md +98 -0
- package/dist/docs/components/date-field.md +87 -0
- package/dist/docs/components/date-picker.md +136 -0
- package/dist/docs/components/date-range-field.md +87 -0
- package/dist/docs/components/date-range-picker.md +142 -0
- package/dist/docs/components/dialog.md +226 -0
- package/dist/docs/components/drawer.md +223 -0
- package/dist/docs/components/dropdown-menu.md +365 -0
- package/dist/docs/components/editable.md +171 -0
- package/dist/docs/components/empty.md +55 -0
- package/dist/docs/components/field.md +151 -0
- package/dist/docs/components/form.md +88 -0
- package/dist/docs/components/hover-card.md +116 -0
- package/dist/docs/components/hud-panel.md +163 -0
- package/dist/docs/components/icon-button.md +69 -0
- package/dist/docs/components/input-group.md +84 -0
- package/dist/docs/components/input.md +74 -0
- package/dist/docs/components/kbd.md +62 -0
- package/dist/docs/components/key-hint.md +62 -0
- package/dist/docs/components/layout.md +64 -0
- package/dist/docs/components/link.md +64 -0
- package/dist/docs/components/list.md +56 -0
- package/dist/docs/components/listbox.md +186 -0
- package/dist/docs/components/menubar.md +360 -0
- package/dist/docs/components/meter.md +62 -0
- package/dist/docs/components/month-picker.md +89 -0
- package/dist/docs/components/month-range-picker.md +91 -0
- package/dist/docs/components/navbar.md +115 -0
- package/dist/docs/components/navigation-menu.md +207 -0
- package/dist/docs/components/number-field.md +119 -0
- package/dist/docs/components/pagination.md +199 -0
- package/dist/docs/components/pin-input.md +102 -0
- package/dist/docs/components/popover.md +167 -0
- package/dist/docs/components/progress.md +65 -0
- package/dist/docs/components/provider.md +58 -0
- package/dist/docs/components/radio-group.md +102 -0
- package/dist/docs/components/range-calendar.md +120 -0
- package/dist/docs/components/rating.md +66 -0
- package/dist/docs/components/scroll-area.md +127 -0
- package/dist/docs/components/select.md +250 -0
- package/dist/docs/components/separator.md +63 -0
- package/dist/docs/components/sheet.md +204 -0
- package/dist/docs/components/sidenav.md +124 -0
- package/dist/docs/components/skeleton.md +68 -0
- package/dist/docs/components/slider.md +79 -0
- package/dist/docs/components/spinner.md +50 -0
- package/dist/docs/components/splitter-group.md +119 -0
- package/dist/docs/components/stat.md +58 -0
- package/dist/docs/components/stepper.md +177 -0
- package/dist/docs/components/switch.md +62 -0
- package/dist/docs/components/table.md +191 -0
- package/dist/docs/components/tabs.md +144 -0
- package/dist/docs/components/tag-group.md +128 -0
- package/dist/docs/components/tags-input.md +154 -0
- package/dist/docs/components/textarea.md +50 -0
- package/dist/docs/components/time-field.md +88 -0
- package/dist/docs/components/time-range-field.md +88 -0
- package/dist/docs/components/toaster.md +176 -0
- package/dist/docs/components/toggle.md +121 -0
- package/dist/docs/components/toolbar.md +163 -0
- package/dist/docs/components/tooltip.md +117 -0
- package/dist/docs/components/tree.md +125 -0
- package/dist/docs/components/year-picker.md +87 -0
- package/dist/docs/components/year-range-picker.md +93 -0
- package/dist/docs/composables.md +320 -0
- package/dist/docs/families/actions.md +39 -0
- package/dist/docs/families/color.md +16 -0
- package/dist/docs/families/datetime.md +187 -0
- package/dist/docs/families/forms.md +34 -0
- package/dist/docs/families/navigation.md +26 -0
- package/dist/docs/families/overlays.md +29 -0
- package/dist/docs/families/selection.md +14 -0
- package/dist/docs/foundations/accessibility.md +71 -0
- package/dist/docs/foundations/color-roles.md +114 -0
- package/dist/docs/foundations/effects-motion.md +150 -0
- package/dist/docs/foundations/flavors.md +156 -0
- package/dist/docs/foundations/icons.md +45 -0
- package/dist/docs/foundations/palette.md +180 -0
- package/dist/docs/foundations/spacing-elevation.md +168 -0
- package/dist/docs/foundations/typography.md +80 -0
- package/dist/docs/index.md +239 -0
- package/dist/docs/manifest.json +1777 -0
- package/dist/foundations/NwFlavorSelect.vue.d.ts +19 -0
- package/dist/foundations/NwProvider.vue.d.ts +39 -0
- package/dist/foundations/context.d.ts +13 -0
- package/dist/foundations/flavors.d.ts +15 -0
- package/dist/foundations/index.d.ts +7 -0
- package/dist/foundations/useFlavor.d.ts +46 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +14762 -0
- package/dist/plugin.d.ts +2 -0
- package/dist/tailwind.css +1 -0
- package/dist/theme/accordion.d.ts +9 -0
- package/dist/theme/actions-shared.d.ts +30 -0
- package/dist/theme/alert-dialog.d.ts +28 -0
- package/dist/theme/alert.d.ts +19 -0
- package/dist/theme/aspect-ratio.d.ts +5 -0
- package/dist/theme/autocomplete.d.ts +85 -0
- package/dist/theme/avatar.d.ts +50 -0
- package/dist/theme/badge.d.ts +7 -0
- package/dist/theme/breadcrumb.d.ts +9 -0
- package/dist/theme/button-group.d.ts +7 -0
- package/dist/theme/button.d.ts +12 -0
- package/dist/theme/calendar.d.ts +17 -0
- package/dist/theme/card.d.ts +49 -0
- package/dist/theme/checkbox.d.ts +43 -0
- package/dist/theme/chip.d.ts +5 -0
- package/dist/theme/code.d.ts +6 -0
- package/dist/theme/collapsible.d.ts +5 -0
- package/dist/theme/color-area.d.ts +6 -0
- package/dist/theme/color-field.d.ts +19 -0
- package/dist/theme/color-picker.d.ts +9 -0
- package/dist/theme/color-shared.d.ts +9 -0
- package/dist/theme/color-slider.d.ts +9 -0
- package/dist/theme/color-swatch-picker.d.ts +9 -0
- package/dist/theme/color-swatch.d.ts +27 -0
- package/dist/theme/combobox.d.ts +58 -0
- package/dist/theme/command-palette.d.ts +7 -0
- package/dist/theme/data-table.d.ts +6 -0
- package/dist/theme/date-field.d.ts +28 -0
- package/dist/theme/date-picker.d.ts +53 -0
- package/dist/theme/date-range-field.d.ts +75 -0
- package/dist/theme/date-range-picker.d.ts +86 -0
- package/dist/theme/dialog.d.ts +31 -0
- package/dist/theme/drawer.d.ts +11 -0
- package/dist/theme/editable.d.ts +49 -0
- package/dist/theme/empty.d.ts +6 -0
- package/dist/theme/field.d.ts +16 -0
- package/dist/theme/flavor-select.d.ts +5 -0
- package/dist/theme/form.d.ts +9 -0
- package/dist/theme/forms-shared.d.ts +19 -0
- package/dist/theme/hover-card.d.ts +15 -0
- package/dist/theme/hud-panel.d.ts +71 -0
- package/dist/theme/icon-button.d.ts +2 -0
- package/dist/theme/input-group.d.ts +22 -0
- package/dist/theme/input.d.ts +38 -0
- package/dist/theme/kbd.d.ts +12 -0
- package/dist/theme/key-hint.d.ts +13 -0
- package/dist/theme/label.d.ts +3 -0
- package/dist/theme/layout.d.ts +9 -0
- package/dist/theme/link.d.ts +9 -0
- package/dist/theme/list.d.ts +6 -0
- package/dist/theme/listbox.d.ts +56 -0
- package/dist/theme/menu.d.ts +33 -0
- package/dist/theme/menubar.d.ts +5 -0
- package/dist/theme/meter.d.ts +4 -0
- package/dist/theme/month-picker.d.ts +29 -0
- package/dist/theme/month-range-picker.d.ts +46 -0
- package/dist/theme/navbar.d.ts +7 -0
- package/dist/theme/navigation-menu.d.ts +13 -0
- package/dist/theme/navigation.d.ts +10 -0
- package/dist/theme/neon-text.d.ts +26 -0
- package/dist/theme/number-field.d.ts +45 -0
- package/dist/theme/overlays.d.ts +35 -0
- package/dist/theme/pagination.d.ts +6 -0
- package/dist/theme/pin-input.d.ts +52 -0
- package/dist/theme/popover.d.ts +31 -0
- package/dist/theme/progress.d.ts +39 -0
- package/dist/theme/provider.d.ts +9 -0
- package/dist/theme/radio-group.d.ts +52 -0
- package/dist/theme/range-calendar.d.ts +29 -0
- package/dist/theme/rating.d.ts +32 -0
- package/dist/theme/scroll-area.d.ts +7 -0
- package/dist/theme/select.d.ts +36 -0
- package/dist/theme/selection.d.ts +36 -0
- package/dist/theme/separator.d.ts +28 -0
- package/dist/theme/shared.d.ts +87 -0
- package/dist/theme/sheet.d.ts +28 -0
- package/dist/theme/sidenav.d.ts +8 -0
- package/dist/theme/skeleton.d.ts +14 -0
- package/dist/theme/slider.d.ts +27 -0
- package/dist/theme/spinner.d.ts +24 -0
- package/dist/theme/splitter.d.ts +7 -0
- package/dist/theme/stat-bar.d.ts +45 -0
- package/dist/theme/stat.d.ts +7 -0
- package/dist/theme/stepper.d.ts +12 -0
- package/dist/theme/switch.d.ts +44 -0
- package/dist/theme/table.d.ts +28 -0
- package/dist/theme/tabs.d.ts +8 -0
- package/dist/theme/tag-group.d.ts +7 -0
- package/dist/theme/tags-input.d.ts +25 -0
- package/dist/theme/textarea.d.ts +53 -0
- package/dist/theme/time-field.d.ts +43 -0
- package/dist/theme/time-range-field.d.ts +57 -0
- package/dist/theme/toast.d.ts +45 -0
- package/dist/theme/toggle-group.d.ts +6 -0
- package/dist/theme/toggle.d.ts +15 -0
- package/dist/theme/toolbar.d.ts +21 -0
- package/dist/theme/tooltip.d.ts +5 -0
- package/dist/theme/tree.d.ts +7 -0
- package/dist/theme/year-picker.d.ts +29 -0
- package/dist/theme/year-range-picker.d.ts +46 -0
- package/dist/types.d.ts +36 -0
- package/dist/utils/cn.d.ts +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/tv.d.ts +1 -0
- package/package.json +76 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Florian Maunier
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,149 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @nyxwire/vue
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Nyxwire components for Vue 3.5: more than 400 exported `Nw*` components and parts built on [Reka UI](https://reka-ui.com) (accessible, headless primitives) and styled with the Nyxwire theme for Tailwind CSS v4. Every popup (select, combobox, date and color pickers, menus, dialogs, tooltips, toasts) renders in the page DOM through portals, so the components work wherever native popups do not.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
pnpm add @nyxwire/vue @nyxwire/tailwind vue
|
|
9
|
+
pnpm add -D vite @vitejs/plugin-vue tailwindcss @tailwindcss/vite
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Add `@lucide/vue` too if you import icons in your own code; the components already bundle the icons they use.
|
|
13
|
+
|
|
14
|
+
## Set up the styles
|
|
15
|
+
|
|
16
|
+
The components are styled with Tailwind utilities, so your Tailwind build has to see their class names. In your main stylesheet:
|
|
17
|
+
|
|
18
|
+
```css
|
|
19
|
+
@import 'tailwindcss';
|
|
20
|
+
@import '@nyxwire/tailwind';
|
|
21
|
+
@import '@nyxwire/vue/tailwind.css';
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
The first line is Tailwind, the second the Nyxwire theme (tokens, the four flavors and the bundled fonts), and the third registers this package's built files as a Tailwind source. Add the Vite plugin:
|
|
25
|
+
|
|
26
|
+
```ts
|
|
27
|
+
// vite.config.ts
|
|
28
|
+
import { defineConfig } from 'vite'
|
|
29
|
+
import vue from '@vitejs/plugin-vue'
|
|
30
|
+
import tailwindcss from '@tailwindcss/vite'
|
|
31
|
+
|
|
32
|
+
export default defineConfig({ plugins: [vue(), tailwindcss()] })
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Use the components
|
|
36
|
+
|
|
37
|
+
Import what you use (tree-shakable) and wrap the app in `NwProvider` once:
|
|
38
|
+
|
|
39
|
+
```vue
|
|
40
|
+
<script setup lang="ts">
|
|
41
|
+
import { ref } from 'vue'
|
|
42
|
+
import {
|
|
43
|
+
NwButton,
|
|
44
|
+
NwProvider,
|
|
45
|
+
NwSelect,
|
|
46
|
+
NwSelectContent,
|
|
47
|
+
NwSelectGroup,
|
|
48
|
+
NwSelectItem,
|
|
49
|
+
NwSelectLabel,
|
|
50
|
+
NwSelectTrigger,
|
|
51
|
+
NwSelectValue,
|
|
52
|
+
} from '@nyxwire/vue'
|
|
53
|
+
|
|
54
|
+
const zone = ref('north')
|
|
55
|
+
</script>
|
|
56
|
+
|
|
57
|
+
<template>
|
|
58
|
+
<NwProvider>
|
|
59
|
+
<NwSelect v-model="zone">
|
|
60
|
+
<NwSelectTrigger aria-label="Relay zone"><NwSelectValue /></NwSelectTrigger>
|
|
61
|
+
<NwSelectContent aria-label="Relay zones">
|
|
62
|
+
<NwSelectGroup>
|
|
63
|
+
<NwSelectLabel>Reachable</NwSelectLabel>
|
|
64
|
+
<NwSelectItem value="north">North relay</NwSelectItem>
|
|
65
|
+
<NwSelectItem value="south">South relay</NwSelectItem>
|
|
66
|
+
</NwSelectGroup>
|
|
67
|
+
</NwSelectContent>
|
|
68
|
+
</NwSelect>
|
|
69
|
+
<NwButton intent="primary" cut>Deploy</NwButton>
|
|
70
|
+
</NwProvider>
|
|
71
|
+
</template>
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
`app.use(NyxwirePlugin)` registers every `Nw*` component globally instead; that is convenient for prototypes but defeats tree-shaking.
|
|
75
|
+
|
|
76
|
+
`NwProvider` sets up Reka's configuration (SSR-safe ids, direction, locale), the tooltip provider and the toast provider:
|
|
77
|
+
|
|
78
|
+
| Prop | Default | Effect |
|
|
79
|
+
| ---------------- | --------- | -------------------------------------------- |
|
|
80
|
+
| `v-model:flavor` | inherited | Flavor scoped to the subtree (`data-flavor`) |
|
|
81
|
+
| `v-model:accent` | inherited | Accent scoped to the subtree (`data-accent`) |
|
|
82
|
+
| `dir` | `'ltr'` | Reading direction for every primitive |
|
|
83
|
+
| `locale` | `'en'` | Locale for every primitive, dates included |
|
|
84
|
+
| `tooltipDelay` | `300` | Tooltip open delay in ms |
|
|
85
|
+
| `toastDuration` | `5000` | Toast visible duration in ms |
|
|
86
|
+
|
|
87
|
+
A provider without `flavor` or `accent` inherits the nearest outer provider, or the flavor set on the document. Overlays read the nearest provider even when their content teleports out of the subtree. Every component takes a `class` prop merged with tailwind-merge, so your utilities override the defaults cleanly. `cn()` and `tv()` (tailwind-variants preconfigured with the Nyxwire merge rules) are exported for your own components.
|
|
88
|
+
|
|
89
|
+
## Components
|
|
90
|
+
|
|
91
|
+
| Family | Components |
|
|
92
|
+
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
93
|
+
| Foundations | `NwProvider`, `NwFlavorSelect`, `useFlavor`, `NyxwirePlugin`, `cn`, `tv` |
|
|
94
|
+
| Actions and HUD | `NwButton`, `NwButtonGroup`, `NwToggle`, `NwToggleGroup`, `NwToolbar`, `NwIconButton`, `NwBadge`, `NwChip`, `NwKbd`, `NwKeyHint`, `NwLink`, `NwCard`, `NwSeparator`, `NwAvatar`, `NwAspectRatio`, `NwSkeleton`, `NwSpinner`, `NwAlert`, `NwProgress`, `NwRating`, `NwStat`, `NwStatBar`, `NwMeter`, `NwTable`, `NwHudPanel`, `NwNeonText`, `NwCode`, `NwEmpty`, `NwList`, `NwLayout`, `NwDataTable` |
|
|
95
|
+
| Forms | `NwLabel`, `NwInput`, `NwInputGroup`, `NwTextarea`, `NwField`, `NwForm`, `NwCheckbox`, `NwCheckboxGroup`, `NwRadioGroup`, `NwSwitch`, `NwSlider`, `NwNumberField`, `NwPinInput`, `NwTagsInput`, `NwTagGroup`, `NwEditable` |
|
|
96
|
+
| Selection | `NwSelect`, `NwCombobox`, `NwAutocomplete`, `NwListbox` |
|
|
97
|
+
| Date and time | `NwCalendar`, `NwRangeCalendar`, `NwDateField`, `NwDateRangeField`, `NwTimeField`, `NwTimeRangeField`, `NwDatePicker`, `NwDateRangePicker`, `NwMonthPicker`, `NwMonthRangePicker`, `NwYearPicker`, `NwYearRangePicker` |
|
|
98
|
+
| Color | `NwColorArea`, `NwColorField`, `NwColorSlider`, `NwColorSwatch`, `NwColorSwatchPicker`, `NwColorPicker` |
|
|
99
|
+
| Overlays and menus | `NwDialog`, `NwAlertDialog`, `NwSheet`, `NwDrawer`, `NwPopover`, `NwTooltip`, `NwHoverCard`, `NwDropdownMenu`, `NwContextMenu`, `NwMenubar`, `NwToaster` + `useToast`, `NwCommandPalette` |
|
|
100
|
+
| Navigation | `NwTabs`, `NwAccordion`, `NwCollapsible`, `NwNavigationMenu`, `NwPagination`, `NwBreadcrumb`, `NwStepper`, `NwTree`, `NwScrollArea`, `NwSplitterGroup`, `NwNavbar`, `NwSidenav` |
|
|
101
|
+
|
|
102
|
+
Compound components export their parts under the same prefix and follow Reka's anatomy (`NwDialog`, `NwDialogTrigger`, `NwDialogContent`, `NwDialogTitle`, …). Dates use `@internationalized/date` values (`CalendarDate`, `Time`), color pickers take a `Color` or color string and emit the color formatted per their `format` prop, and `NwDataTable` takes typed rows with sortable column accessors. The documentation site (`apps/docs`, section Vue) has a live example, the anatomy and the props of each main component; the showcase in `packages/vue/dev` exercises everything at once.
|
|
103
|
+
|
|
104
|
+
## Flavors and accents
|
|
105
|
+
|
|
106
|
+
`NwFlavorSelect` is a labeled select listing the four flavors. `useFlavor()` gives you the same state: `flavor` (the preference, `auto` included), `resolvedFlavor`, `isDark`, `flavors` and `setFlavor()`. It sets `data-flavor`, `data-theme` and `color-scheme` on `<html>`, follows the system preference while on `auto`, and persists the choice under the `nyxwire-flavor` storage key, broadcasting every change as a `nyxwire:flavor` event. On a page that runs the Astro or Starlight flavor runtime (`window.nyxwire`), it delegates to that runtime and stays in sync with the page's own flavor select.
|
|
107
|
+
|
|
108
|
+
The flavors are `abyss` (darkest), `nocturne` (the default), `twilight` and `lumen` (light). `NwProvider` scopes a flavor (and an accent) to a subtree with `v-model:flavor` and `v-model:accent`, and any element can also scope one inline with `data-flavor="twilight"` or `data-accent="volt"`; nested scopes re-resolve, so a panel can preview a flavor without touching the rest of the page. The twelve accents are `indigo`, `iris`, `flux`, `synth`, `alarm`, `flare`, `volt`, `matrix`, `circuit`, `ice`, `arc` and `steel`.
|
|
109
|
+
|
|
110
|
+
## Toasts
|
|
111
|
+
|
|
112
|
+
Mount `NwToaster` once inside `NwProvider`, then call `useToast()` anywhere:
|
|
113
|
+
|
|
114
|
+
```ts
|
|
115
|
+
import { useToast } from '@nyxwire/vue'
|
|
116
|
+
|
|
117
|
+
const { toast, dismiss, toasts } = useToast()
|
|
118
|
+
const id = toast({
|
|
119
|
+
title: 'Route deployed',
|
|
120
|
+
description: 'North relay is serving traffic.',
|
|
121
|
+
intent: 'success',
|
|
122
|
+
})
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
Options: `title`, `description`, `intent` (`primary`, `secondary`, `tertiary`, `neutral`, `info`, `success`, `warning`, `danger`), `duration` (the provider's `toastDuration` when omitted, `0` to keep it until dismissed), `action` (`{ label, onClick }`) and `icon`. `NwToaster`'s `position` is `top-right`, `top-left`, `top-center`, `bottom-right` (default), `bottom-left` or `bottom-center`.
|
|
126
|
+
|
|
127
|
+
## Server rendering and Astro
|
|
128
|
+
|
|
129
|
+
The components render on the server: `NwProvider` passes Vue's `useId` to Reka so ids match after hydration, and `useFlavor` touches `window` only after mount. In Astro, add `@astrojs/vue` and hydrate interactive components with `client:visible` or `client:load`; give each island its own `NwProvider`.
|
|
130
|
+
|
|
131
|
+
## Accessibility
|
|
132
|
+
|
|
133
|
+
Every interactive part has a visible `:focus-visible` ring, disabled states and `prefers-reduced-motion` handling; portalled popups keep focus trapped and restore it on close. Composite widgets take their accessible names from props (`label`, `triggerLabel`, `calendarLabel`, `aria-label`), so pass one whenever the visible text is not enough. The test suite runs axe-core over every family once animations have settled, renders each component under SSR, and checks keyboard paths and the 320px reflow of the whole showcase.
|
|
134
|
+
|
|
135
|
+
## For AI agents
|
|
136
|
+
|
|
137
|
+
This package ships Markdown docs for its exact version in `dist/docs/`, so coding agents can read the API instead of guessing it. Run `npx @nyxwire/cli agents-md` in your project to index them in `AGENTS.md`; [AI tools](https://nyxwire.dissidence.ovh/getting-started/ai/) also covers the agent skill, the MCP server and llms.txt.
|
|
138
|
+
|
|
139
|
+
## Development
|
|
140
|
+
|
|
141
|
+
```sh
|
|
142
|
+
pnpm --filter @nyxwire/vue build # Vite library build + vue-tsc declarations
|
|
143
|
+
pnpm --filter @nyxwire/vue test # Vitest: a browser project (Chromium) and an SSR project (Node)
|
|
144
|
+
pnpm --filter @nyxwire/vue typecheck
|
|
145
|
+
pnpm dev:vue # the component showcase in packages/vue/dev
|
|
146
|
+
pnpm --filter @nyxwire/vue build:showcase
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
Browser tests need Playwright's Chromium once: `pnpm --filter @nyxwire/vue exec playwright install chromium`.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { NwIntent } from '../../../types.js';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
import type { NwAppearance } from '../../../types.js';
|
|
4
|
+
export interface NwAlertProps extends NwAppearance {
|
|
5
|
+
readonly class?: HTMLAttributes['class'];
|
|
6
|
+
/** Shortcut for an NwAlertTitle before the default slot. */
|
|
7
|
+
readonly title?: string;
|
|
8
|
+
/** Forces role="alert"; danger and warning alerts use it already. */
|
|
9
|
+
readonly urgent?: boolean;
|
|
10
|
+
/** Hides the leading intent icon. */
|
|
11
|
+
readonly hideIcon?: boolean;
|
|
12
|
+
/** Shows a dismiss button that emits `dismiss`. */
|
|
13
|
+
readonly dismissible?: boolean;
|
|
14
|
+
readonly dismissLabel?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
declare const __VLS_export: __VLS_WithSlots<import("@vue/runtime-core").DefineComponent<NwAlertProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
19
|
+
dismiss: () => any;
|
|
20
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<NwAlertProps> & Readonly<{
|
|
21
|
+
onDismiss?: (() => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
intent: NwIntent;
|
|
24
|
+
variant: import("../../../types.js", { with: { "resolution-mode": "import" } }).NwVariant;
|
|
25
|
+
dismissLabel: string;
|
|
26
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>, {
|
|
27
|
+
icon?: (props: {}) => any;
|
|
28
|
+
} & {
|
|
29
|
+
default?: (props: {}) => any;
|
|
30
|
+
} & {
|
|
31
|
+
actions?: (props: {}) => any;
|
|
32
|
+
}>;
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { PrimitiveProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
export interface NwAlertDescriptionProps extends PrimitiveProps {
|
|
4
|
+
readonly class?: HTMLAttributes['class'];
|
|
5
|
+
}
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<import("@vue/runtime-core").DefineComponent<NwAlertDescriptionProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<NwAlertDescriptionProps> & Readonly<{}>, {
|
|
9
|
+
as: import("@vue/runtime-core").Component | import("../../../../node_modules/reka-ui/dist/index3.js", { with: { "resolution-mode": "import" } }).AsTag;
|
|
10
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>, {
|
|
11
|
+
default?: (props: {}) => any;
|
|
12
|
+
}>;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { PrimitiveProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
export interface NwAlertTitleProps extends PrimitiveProps {
|
|
4
|
+
readonly class?: HTMLAttributes['class'];
|
|
5
|
+
}
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<import("@vue/runtime-core").DefineComponent<NwAlertTitleProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<NwAlertTitleProps> & Readonly<{}>, {
|
|
9
|
+
as: import("@vue/runtime-core").Component | import("../../../../node_modules/reka-ui/dist/index3.js", { with: { "resolution-mode": "import" } }).AsTag;
|
|
10
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>, {
|
|
11
|
+
default?: (props: {}) => any;
|
|
12
|
+
}>;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as NwAlert } from './NwAlert.vue';
|
|
2
|
+
export type { NwAlertProps } from './NwAlert.vue';
|
|
3
|
+
export { default as NwAlertTitle } from './NwAlertTitle.vue';
|
|
4
|
+
export type { NwAlertTitleProps } from './NwAlertTitle.vue';
|
|
5
|
+
export { default as NwAlertDescription } from './NwAlertDescription.vue';
|
|
6
|
+
export type { NwAlertDescriptionProps } from './NwAlertDescription.vue';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { AspectRatioProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
export interface NwAspectRatioProps extends AspectRatioProps {
|
|
4
|
+
readonly class?: HTMLAttributes['class'];
|
|
5
|
+
/** Cut corners on the media frame. */
|
|
6
|
+
readonly cut?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<import("@vue/runtime-core").DefineComponent<NwAspectRatioProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<NwAspectRatioProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>, {
|
|
11
|
+
default?: (props: {}) => any;
|
|
12
|
+
}>;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { AvatarRootProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
import type { NwAvatarSize } from '../../../theme/avatar.js';
|
|
4
|
+
export type NwAvatarStatus = 'online' | 'away' | 'busy' | 'offline';
|
|
5
|
+
export interface NwAvatarProps extends AvatarRootProps {
|
|
6
|
+
readonly class?: HTMLAttributes['class'];
|
|
7
|
+
readonly size?: NwAvatarSize;
|
|
8
|
+
/** Cut-corner square instead of a circle. */
|
|
9
|
+
readonly square?: boolean;
|
|
10
|
+
readonly status?: NwAvatarStatus;
|
|
11
|
+
/** Who the avatar shows: names it for assistive tech and seeds the default initials. */
|
|
12
|
+
readonly name?: string;
|
|
13
|
+
/** Image of the default composition. */
|
|
14
|
+
readonly src?: string;
|
|
15
|
+
/** Initials of the default composition; the first letter of `name` when omitted. */
|
|
16
|
+
readonly fallback?: string;
|
|
17
|
+
/** Hides the avatar from assistive tech when a visible name sits next to it. */
|
|
18
|
+
readonly decorative?: boolean;
|
|
19
|
+
}
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
22
|
+
declare const __VLS_export: __VLS_WithSlots<import("@vue/runtime-core").DefineComponent<NwAvatarProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<NwAvatarProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>, {
|
|
23
|
+
default?: (props: {}) => any;
|
|
24
|
+
}>;
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { AvatarFallbackProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
export interface NwAvatarFallbackProps extends AvatarFallbackProps {
|
|
4
|
+
readonly class?: HTMLAttributes['class'];
|
|
5
|
+
}
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<import("@vue/runtime-core").DefineComponent<NwAvatarFallbackProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<NwAvatarFallbackProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>, {
|
|
9
|
+
default?: (props: {}) => any;
|
|
10
|
+
}>;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
import type { NwAvatarSize } from '../../../theme/avatar.js';
|
|
3
|
+
export interface NwAvatarGroupProps {
|
|
4
|
+
readonly class?: HTMLAttributes['class'];
|
|
5
|
+
/** Size of every avatar in the group that does not set its own. */
|
|
6
|
+
readonly size?: NwAvatarSize;
|
|
7
|
+
/** Avatars shown before the `+N` overflow avatar. */
|
|
8
|
+
readonly max?: number;
|
|
9
|
+
/** Accessible name of the group. */
|
|
10
|
+
readonly label?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<NwAvatarGroupProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<NwAvatarGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { AvatarImageProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
export interface NwAvatarImageProps extends AvatarImageProps {
|
|
4
|
+
readonly class?: HTMLAttributes['class'];
|
|
5
|
+
readonly alt?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<NwAvatarImageProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<NwAvatarImageProps> & Readonly<{}>, {
|
|
10
|
+
alt: string;
|
|
11
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as NwAvatar } from './NwAvatar.vue';
|
|
2
|
+
export type { NwAvatarProps, NwAvatarStatus } from './NwAvatar.vue';
|
|
3
|
+
export { default as NwAvatarImage } from './NwAvatarImage.vue';
|
|
4
|
+
export type { NwAvatarImageProps } from './NwAvatarImage.vue';
|
|
5
|
+
export { default as NwAvatarFallback } from './NwAvatarFallback.vue';
|
|
6
|
+
export type { NwAvatarFallbackProps } from './NwAvatarFallback.vue';
|
|
7
|
+
export { default as NwAvatarGroup } from './NwAvatarGroup.vue';
|
|
8
|
+
export type { NwAvatarGroupProps } from './NwAvatarGroup.vue';
|
|
9
|
+
export type { NwAvatarSize } from '../../../theme/avatar.js';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { AccentName } from '@nyxwire/palette';
|
|
2
|
+
import type { PrimitiveProps } from 'reka-ui';
|
|
3
|
+
import type { HTMLAttributes } from 'vue';
|
|
4
|
+
import type { NwAppearance } from '../../../types.js';
|
|
5
|
+
export interface NwBadgeProps extends PrimitiveProps, NwAppearance {
|
|
6
|
+
readonly class?: HTMLAttributes['class'];
|
|
7
|
+
/** One of the 12 palette accents; replaces the intent. */
|
|
8
|
+
readonly accent?: AccentName;
|
|
9
|
+
/** Diamond status marker before the label. */
|
|
10
|
+
readonly dot?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<import("@vue/runtime-core").DefineComponent<NwBadgeProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<NwBadgeProps> & Readonly<{}>, {
|
|
15
|
+
as: import("@vue/runtime-core").Component | import("../../../../node_modules/reka-ui/dist/index3.js", { with: { "resolution-mode": "import" } }).AsTag;
|
|
16
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>, {
|
|
17
|
+
default?: (props: {}) => any;
|
|
18
|
+
}>;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { PrimitiveProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
import type { NwAppearance } from '../../../types.js';
|
|
4
|
+
export interface NwButtonProps extends PrimitiveProps, NwAppearance {
|
|
5
|
+
readonly class?: HTMLAttributes['class'];
|
|
6
|
+
/** Square icon-only button; name it with aria-label. */
|
|
7
|
+
readonly icon?: boolean;
|
|
8
|
+
/** Fills the width of its container. */
|
|
9
|
+
readonly block?: boolean;
|
|
10
|
+
/** Sets aria-busy and disables the button; a spinner covers the label, which stays for assistive tech. */
|
|
11
|
+
readonly loading?: boolean;
|
|
12
|
+
readonly disabled?: boolean;
|
|
13
|
+
readonly type?: 'button' | 'submit' | 'reset';
|
|
14
|
+
}
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<import("@vue/runtime-core").DefineComponent<NwButtonProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<NwButtonProps> & Readonly<{}>, {
|
|
18
|
+
type: "button" | "reset" | "submit";
|
|
19
|
+
as: import("@vue/runtime-core").Component | import("../../../../node_modules/reka-ui/dist/index3.js", { with: { "resolution-mode": "import" } }).AsTag;
|
|
20
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>, {
|
|
21
|
+
default?: (props: {}) => any;
|
|
22
|
+
} & {
|
|
23
|
+
default?: (props: {}) => any;
|
|
24
|
+
}>;
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'vue';
|
|
2
|
+
export interface NwButtonGroupProps {
|
|
3
|
+
readonly class?: HTMLAttributes['class'];
|
|
4
|
+
readonly orientation?: 'horizontal' | 'vertical';
|
|
5
|
+
/** Accessible name of the group. */
|
|
6
|
+
readonly label?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<import("@vue/runtime-core").DefineComponent<NwButtonGroupProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<NwButtonGroupProps> & Readonly<{}>, {
|
|
11
|
+
orientation: "horizontal" | "vertical";
|
|
12
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>, {
|
|
13
|
+
default?: (props: {}) => any;
|
|
14
|
+
}>;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { PrimitiveProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
import type { NwGlow } from '../../../types.js';
|
|
4
|
+
export interface NwCardProps extends PrimitiveProps {
|
|
5
|
+
readonly class?: HTMLAttributes['class'];
|
|
6
|
+
readonly variant?: 'default' | 'flat' | 'glass' | 'interactive';
|
|
7
|
+
readonly selected?: boolean;
|
|
8
|
+
/** Cut corners on the top-right and bottom-left. */
|
|
9
|
+
readonly cut?: boolean;
|
|
10
|
+
/** Wire gradient edge. */
|
|
11
|
+
readonly wire?: boolean;
|
|
12
|
+
readonly glow?: NwGlow;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<import("@vue/runtime-core").DefineComponent<NwCardProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<NwCardProps> & Readonly<{}>, {
|
|
17
|
+
as: import("@vue/runtime-core").Component | import("../../../../node_modules/reka-ui/dist/index3.js", { with: { "resolution-mode": "import" } }).AsTag;
|
|
18
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>, {
|
|
19
|
+
default?: (props: {}) => any;
|
|
20
|
+
}>;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { PrimitiveProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
export interface NwCardContentProps extends PrimitiveProps {
|
|
4
|
+
readonly class?: HTMLAttributes['class'];
|
|
5
|
+
}
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<import("@vue/runtime-core").DefineComponent<NwCardContentProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<NwCardContentProps> & Readonly<{}>, {
|
|
9
|
+
as: import("@vue/runtime-core").Component | import("../../../../node_modules/reka-ui/dist/index3.js", { with: { "resolution-mode": "import" } }).AsTag;
|
|
10
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>, {
|
|
11
|
+
default?: (props: {}) => any;
|
|
12
|
+
}>;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { PrimitiveProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
export interface NwCardDescriptionProps extends PrimitiveProps {
|
|
4
|
+
readonly class?: HTMLAttributes['class'];
|
|
5
|
+
}
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<import("@vue/runtime-core").DefineComponent<NwCardDescriptionProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<NwCardDescriptionProps> & Readonly<{}>, {
|
|
9
|
+
as: import("@vue/runtime-core").Component | import("../../../../node_modules/reka-ui/dist/index3.js", { with: { "resolution-mode": "import" } }).AsTag;
|
|
10
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>, {
|
|
11
|
+
default?: (props: {}) => any;
|
|
12
|
+
}>;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { PrimitiveProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
export interface NwCardFooterProps extends PrimitiveProps {
|
|
4
|
+
readonly class?: HTMLAttributes['class'];
|
|
5
|
+
}
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<import("@vue/runtime-core").DefineComponent<NwCardFooterProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<NwCardFooterProps> & Readonly<{}>, {
|
|
9
|
+
as: import("@vue/runtime-core").Component | import("../../../../node_modules/reka-ui/dist/index3.js", { with: { "resolution-mode": "import" } }).AsTag;
|
|
10
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>, {
|
|
11
|
+
default?: (props: {}) => any;
|
|
12
|
+
}>;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { PrimitiveProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
export interface NwCardHeaderProps extends PrimitiveProps {
|
|
4
|
+
readonly class?: HTMLAttributes['class'];
|
|
5
|
+
}
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<import("@vue/runtime-core").DefineComponent<NwCardHeaderProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<NwCardHeaderProps> & Readonly<{}>, {
|
|
9
|
+
as: import("@vue/runtime-core").Component | import("../../../../node_modules/reka-ui/dist/index3.js", { with: { "resolution-mode": "import" } }).AsTag;
|
|
10
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>, {
|
|
11
|
+
default?: (props: {}) => any;
|
|
12
|
+
}>;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { PrimitiveProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
export interface NwCardTitleProps extends PrimitiveProps {
|
|
4
|
+
readonly class?: HTMLAttributes['class'];
|
|
5
|
+
}
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<import("@vue/runtime-core").DefineComponent<NwCardTitleProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<NwCardTitleProps> & Readonly<{}>, {
|
|
9
|
+
as: import("@vue/runtime-core").Component | import("../../../../node_modules/reka-ui/dist/index3.js", { with: { "resolution-mode": "import" } }).AsTag;
|
|
10
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>, {
|
|
11
|
+
default?: (props: {}) => any;
|
|
12
|
+
}>;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { default as NwCard } from './NwCard.vue';
|
|
2
|
+
export type { NwCardProps } from './NwCard.vue';
|
|
3
|
+
export { default as NwCardHeader } from './NwCardHeader.vue';
|
|
4
|
+
export type { NwCardHeaderProps } from './NwCardHeader.vue';
|
|
5
|
+
export { default as NwCardTitle } from './NwCardTitle.vue';
|
|
6
|
+
export type { NwCardTitleProps } from './NwCardTitle.vue';
|
|
7
|
+
export { default as NwCardDescription } from './NwCardDescription.vue';
|
|
8
|
+
export type { NwCardDescriptionProps } from './NwCardDescription.vue';
|
|
9
|
+
export { default as NwCardContent } from './NwCardContent.vue';
|
|
10
|
+
export type { NwCardContentProps } from './NwCardContent.vue';
|
|
11
|
+
export { default as NwCardFooter } from './NwCardFooter.vue';
|
|
12
|
+
export type { NwCardFooterProps } from './NwCardFooter.vue';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { NwAppearance } from '../../../types.js';
|
|
2
|
+
type __VLS_Props = NwAppearance & {
|
|
3
|
+
readonly removeLabel?: string;
|
|
4
|
+
readonly disabled?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_template: () => {
|
|
7
|
+
__VLS_Slots: {
|
|
8
|
+
default?: (props: {}) => any;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
12
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
13
|
+
remove: () => any;
|
|
14
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onRemove?: (() => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as NwChip } from './NwChip.vue';
|