@ui-organized/vue 0.0.0-stage → 6.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/LICENSE +201 -0
- package/README.md +135 -2
- package/dist/components/Accordion/Accordion.types.d.ts +28 -0
- package/dist/components/Accordion/Accordion.vue.d.ts +13 -0
- package/dist/components/Accordion/index.d.ts +2 -0
- package/dist/components/Alert/Alert.types.d.ts +23 -0
- package/dist/components/Alert/Alert.vue.d.ts +16 -0
- package/dist/components/Alert/index.d.ts +3 -0
- package/dist/components/AlertDialog/AlertDialog.types.d.ts +18 -0
- package/dist/components/AlertDialog/AlertDialog.vue.d.ts +24 -0
- package/dist/components/AlertDialog/AlertDialogCancel.vue.d.ts +12 -0
- package/dist/components/AlertDialog/AlertDialogConfirm.vue.d.ts +15 -0
- package/dist/components/AlertDialog/AlertDialogContent.vue.d.ts +16 -0
- package/dist/components/AlertDialog/AlertDialogDescription.vue.d.ts +12 -0
- package/dist/components/AlertDialog/AlertDialogFooter.vue.d.ts +12 -0
- package/dist/components/AlertDialog/AlertDialogTitle.vue.d.ts +12 -0
- package/dist/components/AlertDialog/AlertDialogTrigger.vue.d.ts +15 -0
- package/dist/components/AlertDialog/index.d.ts +9 -0
- package/dist/components/AngleSlider/AngleSlider.types.d.ts +35 -0
- package/dist/components/AngleSlider/AngleSlider.vue.d.ts +16 -0
- package/dist/components/AngleSlider/AngleSliderValue.vue.d.ts +2 -0
- package/dist/components/AngleSlider/index.d.ts +3 -0
- package/dist/components/Avatar/Avatar.types.d.ts +12 -0
- package/dist/components/Avatar/Avatar.vue.d.ts +16 -0
- package/dist/components/Avatar/index.d.ts +2 -0
- package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +20 -0
- package/dist/components/Breadcrumb/Breadcrumb.vue.d.ts +14 -0
- package/dist/components/Breadcrumb/index.d.ts +2 -0
- package/dist/components/Button/Button.types.d.ts +33 -0
- package/dist/components/Button/Button.vue.d.ts +17 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Calendar/Calendar.types.d.ts +38 -0
- package/dist/components/Calendar/Calendar.vue.d.ts +11 -0
- package/dist/components/Calendar/index.d.ts +2 -0
- package/dist/components/Card/Card.types.d.ts +6 -0
- package/dist/components/Card/Card.vue.d.ts +14 -0
- package/dist/components/Card/CardBody.vue.d.ts +12 -0
- package/dist/components/Card/CardFooter.vue.d.ts +12 -0
- package/dist/components/Card/CardHeader.vue.d.ts +12 -0
- package/dist/components/Card/index.d.ts +5 -0
- package/dist/components/Carousel/Carousel.types.d.ts +48 -0
- package/dist/components/Carousel/Carousel.vue.d.ts +20 -0
- package/dist/components/Carousel/index.d.ts +3 -0
- package/dist/components/Checkbox/Checkbox.types.d.ts +27 -0
- package/dist/components/Checkbox/Checkbox.vue.d.ts +15 -0
- package/dist/components/Checkbox/index.d.ts +2 -0
- package/dist/components/Chip/Chip.types.d.ts +30 -0
- package/dist/components/Chip/Chip.vue.d.ts +23 -0
- package/dist/components/Chip/ChipSegment.vue.d.ts +15 -0
- package/dist/components/Chip/chipContext.d.ts +3 -0
- package/dist/components/Chip/index.d.ts +4 -0
- package/dist/components/Clipboard/Clipboard.types.d.ts +25 -0
- package/dist/components/Clipboard/Clipboard.vue.d.ts +13 -0
- package/dist/components/Clipboard/index.d.ts +3 -0
- package/dist/components/Collapsible/Collapsible.types.d.ts +27 -0
- package/dist/components/Collapsible/Collapsible.vue.d.ts +24 -0
- package/dist/components/Collapsible/CollapsibleContent.vue.d.ts +15 -0
- package/dist/components/Collapsible/CollapsibleTrigger.vue.d.ts +13 -0
- package/dist/components/Collapsible/index.d.ts +4 -0
- package/dist/components/ColorPicker/ChannelField.vue.d.ts +14 -0
- package/dist/components/ColorPicker/ColorPicker.types.d.ts +60 -0
- package/dist/components/ColorPicker/ColorPicker.vue.d.ts +27 -0
- package/dist/components/ColorPicker/FormatInputs.vue.d.ts +17 -0
- package/dist/components/ColorPicker/channelFields.d.ts +35 -0
- package/dist/components/ColorPicker/index.d.ts +3 -0
- package/dist/components/Combobox/Combobox.types.d.ts +45 -0
- package/dist/components/Combobox/Combobox.vue.d.ts +18 -0
- package/dist/components/Combobox/index.d.ts +2 -0
- package/dist/components/ContextMenu/ContextMenu.types.d.ts +38 -0
- package/dist/components/ContextMenu/ContextMenu.vue.d.ts +25 -0
- package/dist/components/ContextMenu/ContextMenuCheckboxItem.vue.d.ts +22 -0
- package/dist/components/ContextMenu/ContextMenuContent.vue.d.ts +15 -0
- package/dist/components/ContextMenu/ContextMenuGroup.vue.d.ts +12 -0
- package/dist/components/ContextMenu/ContextMenuGroupLabel.vue.d.ts +12 -0
- package/dist/components/ContextMenu/ContextMenuItem.vue.d.ts +19 -0
- package/dist/components/ContextMenu/ContextMenuRadioGroup.vue.d.ts +19 -0
- package/dist/components/ContextMenu/ContextMenuRadioItem.vue.d.ts +15 -0
- package/dist/components/ContextMenu/ContextMenuSeparator.vue.d.ts +2 -0
- package/dist/components/ContextMenu/ContextMenuTrigger.vue.d.ts +12 -0
- package/dist/components/ContextMenu/index.d.ts +11 -0
- package/dist/components/DateField/DateFieldBase.types.d.ts +44 -0
- package/dist/components/DateField/DateFieldBase.vue.d.ts +12 -0
- package/dist/components/DateField/DatePopover.types.d.ts +10 -0
- package/dist/components/DateField/DatePopover.vue.d.ts +14 -0
- package/dist/components/DateField/datePopoverPositioning.d.ts +26 -0
- package/dist/components/DateField/openDatePicker.d.ts +8 -0
- package/dist/components/DateField/setNativeInputValue.d.ts +13 -0
- package/dist/components/DateField/useCoarsePointer.d.ts +14 -0
- package/dist/components/DateInput/DateInput.types.d.ts +41 -0
- package/dist/components/DateInput/DateInput.vue.d.ts +10 -0
- package/dist/components/DateInput/index.d.ts +3 -0
- package/dist/components/DatePicker/DatePicker.types.d.ts +54 -0
- package/dist/components/DatePicker/DatePicker.vue.d.ts +21 -0
- package/dist/components/DatePicker/index.d.ts +23 -0
- package/dist/components/DateRangeInput/DateRangeInput.types.d.ts +53 -0
- package/dist/components/DateRangeInput/DateRangeInput.vue.d.ts +30 -0
- package/dist/components/DateRangeInput/index.d.ts +3 -0
- package/dist/components/DateTimeInput/DateTimeInput.types.d.ts +41 -0
- package/dist/components/DateTimeInput/DateTimeInput.vue.d.ts +10 -0
- package/dist/components/DateTimeInput/index.d.ts +3 -0
- package/dist/components/Dialog/Dialog.types.d.ts +16 -0
- package/dist/components/Dialog/Dialog.vue.d.ts +24 -0
- package/dist/components/Dialog/DialogClose.vue.d.ts +15 -0
- package/dist/components/Dialog/DialogContent.vue.d.ts +15 -0
- package/dist/components/Dialog/DialogDescription.vue.d.ts +12 -0
- package/dist/components/Dialog/DialogFooter.vue.d.ts +12 -0
- package/dist/components/Dialog/DialogTitle.vue.d.ts +12 -0
- package/dist/components/Dialog/DialogTrigger.vue.d.ts +15 -0
- package/dist/components/Dialog/index.d.ts +8 -0
- package/dist/components/Divider/Divider.types.d.ts +6 -0
- package/dist/components/Divider/Divider.vue.d.ts +7 -0
- package/dist/components/Divider/index.d.ts +2 -0
- package/dist/components/Editable/Editable.types.d.ts +43 -0
- package/dist/components/Editable/Editable.vue.d.ts +18 -0
- package/dist/components/Editable/index.d.ts +3 -0
- package/dist/components/Field/Field.types.d.ts +16 -0
- package/dist/components/Field/Field.vue.d.ts +19 -0
- package/dist/components/Field/FieldControl.vue.d.ts +2 -0
- package/dist/components/Field/FieldDescription.vue.d.ts +12 -0
- package/dist/components/Field/FieldErrorMessage.vue.d.ts +13 -0
- package/dist/components/Field/FieldLabel.vue.d.ts +12 -0
- package/dist/components/Field/Fieldset.vue.d.ts +12 -0
- package/dist/components/Field/FieldsetLegend.vue.d.ts +12 -0
- package/dist/components/Field/index.d.ts +9 -0
- package/dist/components/FieldError/FieldError.types.d.ts +10 -0
- package/dist/components/FieldError/FieldError.vue.d.ts +14 -0
- package/dist/components/FieldError/index.d.ts +2 -0
- package/dist/components/FileUpload/FileUpload.types.d.ts +54 -0
- package/dist/components/FileUpload/FileUpload.vue.d.ts +28 -0
- package/dist/components/FileUpload/FileUploadLabel.vue.d.ts +12 -0
- package/dist/components/FileUpload/FileUploadTrigger.vue.d.ts +7 -0
- package/dist/components/FileUpload/index.d.ts +3 -0
- package/dist/components/FloatingPanel/FloatingPanel.types.d.ts +39 -0
- package/dist/components/FloatingPanel/FloatingPanel.vue.d.ts +25 -0
- package/dist/components/FloatingPanel/FloatingPanelBody.vue.d.ts +12 -0
- package/dist/components/FloatingPanel/FloatingPanelClose.vue.d.ts +12 -0
- package/dist/components/FloatingPanel/FloatingPanelContent.vue.d.ts +13 -0
- package/dist/components/FloatingPanel/FloatingPanelHeader.vue.d.ts +12 -0
- package/dist/components/FloatingPanel/FloatingPanelTitle.vue.d.ts +12 -0
- package/dist/components/FloatingPanel/FloatingPanelTrigger.vue.d.ts +12 -0
- package/dist/components/FloatingPanel/index.d.ts +9 -0
- package/dist/components/HoverCard/HoverCard.types.d.ts +24 -0
- package/dist/components/HoverCard/HoverCard.vue.d.ts +23 -0
- package/dist/components/HoverCard/HoverCardContent.vue.d.ts +17 -0
- package/dist/components/HoverCard/HoverCardTrigger.vue.d.ts +15 -0
- package/dist/components/HoverCard/index.d.ts +4 -0
- package/dist/components/Icon/Icon.types.d.ts +29 -0
- package/dist/components/Icon/Icon.vue.d.ts +6 -0
- package/dist/components/Icon/index.d.ts +2 -0
- package/dist/components/Icon/warnMissingIconSet.d.ts +12 -0
- package/dist/components/ImageCropper/ImageCropper.types.d.ts +36 -0
- package/dist/components/ImageCropper/ImageCropper.vue.d.ts +28 -0
- package/dist/components/ImageCropper/index.d.ts +3 -0
- package/dist/components/Input/Input.types.d.ts +20 -0
- package/dist/components/Input/Input.vue.d.ts +11 -0
- package/dist/components/Input/index.d.ts +2 -0
- package/dist/components/Listbox/Listbox.types.d.ts +39 -0
- package/dist/components/Listbox/Listbox.vue.d.ts +14 -0
- package/dist/components/Listbox/ListboxOptions.vue.d.ts +7 -0
- package/dist/components/Listbox/index.d.ts +3 -0
- package/dist/components/Marquee/Marquee.types.d.ts +37 -0
- package/dist/components/Marquee/Marquee.vue.d.ts +18 -0
- package/dist/components/Marquee/index.d.ts +3 -0
- package/dist/components/Menu/Menu.types.d.ts +46 -0
- package/dist/components/Menu/Menu.vue.d.ts +25 -0
- package/dist/components/Menu/MenuCheckboxItem.vue.d.ts +22 -0
- package/dist/components/Menu/MenuContent.vue.d.ts +17 -0
- package/dist/components/Menu/MenuGroup.vue.d.ts +12 -0
- package/dist/components/Menu/MenuGroupLabel.vue.d.ts +12 -0
- package/dist/components/Menu/MenuItem.vue.d.ts +19 -0
- package/dist/components/Menu/MenuRadioGroup.vue.d.ts +19 -0
- package/dist/components/Menu/MenuRadioItem.vue.d.ts +15 -0
- package/dist/components/Menu/MenuSeparator.vue.d.ts +2 -0
- package/dist/components/Menu/MenuTrigger.vue.d.ts +15 -0
- package/dist/components/Menu/index.d.ts +11 -0
- package/dist/components/Menubar/Menubar.types.d.ts +4 -0
- package/dist/components/Menubar/Menubar.vue.d.ts +16 -0
- package/dist/components/Menubar/index.d.ts +3 -0
- package/dist/components/Menubar/menubarContext.d.ts +2 -0
- package/dist/components/Meter/Meter.types.d.ts +36 -0
- package/dist/components/Meter/Meter.vue.d.ts +8 -0
- package/dist/components/Meter/index.d.ts +3 -0
- package/dist/components/Navigation/NavItem.vue.d.ts +25 -0
- package/dist/components/Navigation/NavProvider.vue.d.ts +15 -0
- package/dist/components/Navigation/NavSubItem.vue.d.ts +8 -0
- package/dist/components/Navigation/Navigation.types.d.ts +60 -0
- package/dist/components/Navigation/Sidebar.vue.d.ts +38 -0
- package/dist/components/Navigation/index.d.ts +8 -0
- package/dist/components/Navigation/navContext.d.ts +19 -0
- package/dist/components/NumberField/NumberField.types.d.ts +44 -0
- package/dist/components/NumberField/NumberField.vue.d.ts +15 -0
- package/dist/components/NumberField/index.d.ts +3 -0
- package/dist/components/Pagination/Pagination.types.d.ts +12 -0
- package/dist/components/Pagination/Pagination.vue.d.ts +14 -0
- package/dist/components/Pagination/index.d.ts +2 -0
- package/dist/components/PasswordInput/PasswordInput.types.d.ts +22 -0
- package/dist/components/PasswordInput/PasswordInput.vue.d.ts +14 -0
- package/dist/components/PasswordInput/index.d.ts +3 -0
- package/dist/components/PinInput/PinInput.types.d.ts +50 -0
- package/dist/components/PinInput/PinInput.vue.d.ts +21 -0
- package/dist/components/PinInput/index.d.ts +3 -0
- package/dist/components/Popover/Popover.types.d.ts +22 -0
- package/dist/components/Popover/Popover.vue.d.ts +24 -0
- package/dist/components/Popover/PopoverClose.vue.d.ts +15 -0
- package/dist/components/Popover/PopoverContent.vue.d.ts +17 -0
- package/dist/components/Popover/PopoverDescription.vue.d.ts +12 -0
- package/dist/components/Popover/PopoverTitle.vue.d.ts +12 -0
- package/dist/components/Popover/PopoverTrigger.vue.d.ts +15 -0
- package/dist/components/Popover/index.d.ts +7 -0
- package/dist/components/Popover/positioning.d.ts +41 -0
- package/dist/components/Progress/Progress.types.d.ts +26 -0
- package/dist/components/Progress/Progress.vue.d.ts +9 -0
- package/dist/components/Progress/index.d.ts +2 -0
- package/dist/components/QRCode/QRCode.types.d.ts +27 -0
- package/dist/components/QRCode/QRCode.vue.d.ts +20 -0
- package/dist/components/QRCode/index.d.ts +3 -0
- package/dist/components/Radio/Radio.types.d.ts +31 -0
- package/dist/components/Radio/Radio.vue.d.ts +13 -0
- package/dist/components/Radio/index.d.ts +2 -0
- package/dist/components/Range/Range.types.d.ts +63 -0
- package/dist/components/Range/Range.vue.d.ts +17 -0
- package/dist/components/Range/index.d.ts +3 -0
- package/dist/components/RatingGroup/RatingGroup.types.d.ts +38 -0
- package/dist/components/RatingGroup/RatingGroup.vue.d.ts +17 -0
- package/dist/components/RatingGroup/index.d.ts +3 -0
- package/dist/components/ScrollArea/ScrollArea.types.d.ts +7 -0
- package/dist/components/ScrollArea/ScrollArea.vue.d.ts +16 -0
- package/dist/components/ScrollArea/index.d.ts +2 -0
- package/dist/components/SearchInput/SearchInput.types.d.ts +27 -0
- package/dist/components/SearchInput/SearchInput.vue.d.ts +16 -0
- package/dist/components/SearchInput/index.d.ts +3 -0
- package/dist/components/SegmentedControl/SegmentedControl.types.d.ts +41 -0
- package/dist/components/SegmentedControl/SegmentedControl.vue.d.ts +13 -0
- package/dist/components/SegmentedControl/index.d.ts +3 -0
- package/dist/components/Select/Select.types.d.ts +44 -0
- package/dist/components/Select/Select.vue.d.ts +17 -0
- package/dist/components/Select/SelectTrigger.vue.d.ts +15 -0
- package/dist/components/Select/index.d.ts +2 -0
- package/dist/components/Sheet/Sheet.types.d.ts +19 -0
- package/dist/components/Sheet/Sheet.vue.d.ts +25 -0
- package/dist/components/Sheet/SheetClose.vue.d.ts +15 -0
- package/dist/components/Sheet/SheetContent.vue.d.ts +15 -0
- package/dist/components/Sheet/SheetDescription.vue.d.ts +12 -0
- package/dist/components/Sheet/SheetFooter.vue.d.ts +12 -0
- package/dist/components/Sheet/SheetTitle.vue.d.ts +12 -0
- package/dist/components/Sheet/SheetTrigger.vue.d.ts +15 -0
- package/dist/components/Sheet/index.d.ts +9 -0
- package/dist/components/SignaturePad/SignaturePad.types.d.ts +43 -0
- package/dist/components/SignaturePad/SignaturePad.vue.d.ts +21 -0
- package/dist/components/SignaturePad/index.d.ts +3 -0
- package/dist/components/Skeleton/Skeleton.types.d.ts +12 -0
- package/dist/components/Skeleton/Skeleton.vue.d.ts +8 -0
- package/dist/components/Skeleton/index.d.ts +2 -0
- package/dist/components/Splitter/Splitter.types.d.ts +33 -0
- package/dist/components/Splitter/Splitter.vue.d.ts +14 -0
- package/dist/components/Splitter/index.d.ts +3 -0
- package/dist/components/Steps/Steps.types.d.ts +30 -0
- package/dist/components/Steps/Steps.vue.d.ts +18 -0
- package/dist/components/Steps/index.d.ts +3 -0
- package/dist/components/Switch/Switch.types.d.ts +25 -0
- package/dist/components/Switch/Switch.vue.d.ts +15 -0
- package/dist/components/Switch/index.d.ts +2 -0
- package/dist/components/Tabs/Tabs.types.d.ts +23 -0
- package/dist/components/Tabs/Tabs.vue.d.ts +13 -0
- package/dist/components/Tabs/index.d.ts +2 -0
- package/dist/components/Tag/Tag.types.d.ts +18 -0
- package/dist/components/Tag/Tag.vue.d.ts +17 -0
- package/dist/components/Tag/index.d.ts +2 -0
- package/dist/components/TagsInput/TagsInput.types.d.ts +41 -0
- package/dist/components/TagsInput/TagsInput.vue.d.ts +16 -0
- package/dist/components/TagsInput/index.d.ts +3 -0
- package/dist/components/TextArea/TextArea.types.d.ts +28 -0
- package/dist/components/TextArea/TextArea.vue.d.ts +13 -0
- package/dist/components/TextArea/index.d.ts +2 -0
- package/dist/components/Timer/Timer.types.d.ts +27 -0
- package/dist/components/Timer/Timer.vue.d.ts +16 -0
- package/dist/components/Timer/index.d.ts +3 -0
- package/dist/components/Toast/Toast.types.d.ts +16 -0
- package/dist/components/Toast/ToastProvider.vue.d.ts +13 -0
- package/dist/components/Toast/index.d.ts +3 -0
- package/dist/components/Toast/toaster.d.ts +17 -0
- package/dist/components/Toggle/Toggle.types.d.ts +34 -0
- package/dist/components/Toggle/Toggle.vue.d.ts +24 -0
- package/dist/components/Toggle/ToggleGroup.vue.d.ts +23 -0
- package/dist/components/Toggle/index.d.ts +4 -0
- package/dist/components/Toolbar/Toolbar.types.d.ts +4 -0
- package/dist/components/Toolbar/Toolbar.vue.d.ts +16 -0
- package/dist/components/Toolbar/ToolbarGroup.vue.d.ts +12 -0
- package/dist/components/Toolbar/index.d.ts +3 -0
- package/dist/components/Tooltip/Tooltip.types.d.ts +31 -0
- package/dist/components/Tooltip/Tooltip.vue.d.ts +29 -0
- package/dist/components/Tooltip/TooltipProvider.vue.d.ts +13 -0
- package/dist/components/Tooltip/delays.d.ts +15 -0
- package/dist/components/Tooltip/index.d.ts +3 -0
- package/dist/components/Tour/Tour.types.d.ts +73 -0
- package/dist/components/Tour/Tour.vue.d.ts +13 -0
- package/dist/components/Tour/index.d.ts +3 -0
- package/dist/components/TreeView/TreeNode.vue.d.ts +9 -0
- package/dist/components/TreeView/TreeView.types.d.ts +36 -0
- package/dist/components/TreeView/TreeView.vue.d.ts +17 -0
- package/dist/components/TreeView/index.d.ts +3 -0
- package/dist/context/IconProvider.types.d.ts +16 -0
- package/dist/context/IconProvider.vue.d.ts +16 -0
- package/dist/context/iconContext.d.ts +20 -0
- package/dist/icons/entry-heroicons.d.ts +30 -0
- package/dist/icons/entry-heroicons.js +127 -0
- package/dist/icons/entry-lucide.d.ts +40 -0
- package/dist/icons/entry-lucide.js +62 -0
- package/dist/icons/entry-tabler.d.ts +30 -0
- package/dist/icons/entry-tabler.js +86 -0
- package/dist/icons/glyph.d.ts +17 -0
- package/dist/icons/heroicons.d.ts +11 -0
- package/dist/icons/lucide.d.ts +25 -0
- package/dist/icons/registry.d.ts +22 -0
- package/dist/icons/tabler.d.ts +16 -0
- package/dist/index.d.ts +150 -0
- package/dist/index.js +7814 -0
- package/dist/props.d.ts +50 -0
- package/dist/registry-DyLcm8o3.js +10 -0
- package/dist/styles.css +6045 -0
- package/dist/types.d.ts +10 -0
- package/package.json +103 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or Derivative
|
|
95
|
+
Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 arossi58
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -1,3 +1,136 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @ui-organized/vue
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Vue component library for the **ui-organized** design system, built on
|
|
4
|
+
[Ark UI](https://ark-ui.com/) and themed entirely through design tokens
|
|
5
|
+
(CSS custom properties from [`@ui-organized/tokens`](https://www.npmjs.com/package/@ui-organized/tokens)).
|
|
6
|
+
|
|
7
|
+
The same 68 components the React, Svelte and Angular libraries ship, rendering
|
|
8
|
+
the same DOM: one stylesheet, one set of class names, one token contract. A gate
|
|
9
|
+
in this repo renders every component in every library and diffs the markup, so
|
|
10
|
+
"same component" is asserted rather than intended.
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
npm install @ui-organized/vue @ui-organized/tokens
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
`vue` (>=3.5) is a peer dependency.
|
|
19
|
+
|
|
20
|
+
## Icons
|
|
21
|
+
|
|
22
|
+
Icon libraries are **optional** peers, and genuinely so: this package imports
|
|
23
|
+
none of them. Install the one you want and register it with a single import.
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
npm install @lucide/vue # or @tabler/icons-vue, or @heroicons/vue
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
// once, near your app entry
|
|
31
|
+
import { registerIcons } from "@ui-organized/vue/icons/lucide";
|
|
32
|
+
import { ChevronDown, Search, X } from "@lucide/vue";
|
|
33
|
+
|
|
34
|
+
registerIcons({ ChevronDown, Search, X });
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Names are the icon library's own, exactly as it publishes them: `search` and
|
|
38
|
+
`x` in Lucide, `x-mark` in Heroicons. Nothing is renamed, so a name belongs to
|
|
39
|
+
one library, and only the icons you register reach your bundle. The subpath
|
|
40
|
+
import alone is enough for the components' own icons (a dialog's close button,
|
|
41
|
+
a select's chevron), which follow whichever library is active.
|
|
42
|
+
|
|
43
|
+
```vue
|
|
44
|
+
<script setup>
|
|
45
|
+
import { Icon, IconProvider } from "@ui-organized/vue";
|
|
46
|
+
</script>
|
|
47
|
+
|
|
48
|
+
<template>
|
|
49
|
+
<!-- icon-style, not style: Vue reserves `style` for inline CSS -->
|
|
50
|
+
<IconProvider library="lucide" icon-style="outline">
|
|
51
|
+
<Icon name="search" label="Search" />
|
|
52
|
+
</IconProvider>
|
|
53
|
+
</template>
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
The subpath is the only module that touches `@lucide/vue`, so the two libraries
|
|
57
|
+
you didn't choose are never resolved — not at install, not at build. Forget the
|
|
58
|
+
import and `<Icon>` renders nothing and logs the line to add.
|
|
59
|
+
|
|
60
|
+
Prefer not to rely on import side effects? Pass the set explicitly:
|
|
61
|
+
|
|
62
|
+
```vue
|
|
63
|
+
<script setup>
|
|
64
|
+
import { lucideIcons } from "@ui-organized/vue/icons/lucide";
|
|
65
|
+
</script>
|
|
66
|
+
|
|
67
|
+
<template>
|
|
68
|
+
<IconProvider library="lucide" :icons="lucideIcons">
|
|
69
|
+
</template>
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
You can also hand `<Icon>` a component directly, which needs no registration:
|
|
73
|
+
|
|
74
|
+
```vue
|
|
75
|
+
<script setup>
|
|
76
|
+
import { Rocket } from "@lucide/vue";
|
|
77
|
+
</script>
|
|
78
|
+
|
|
79
|
+
<template>
|
|
80
|
+
<Icon :name="Rocket" label="Launch" />
|
|
81
|
+
</template>
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## Usage
|
|
85
|
+
|
|
86
|
+
Import the stylesheets once, at your app entry, **in this order**:
|
|
87
|
+
|
|
88
|
+
```ts
|
|
89
|
+
// src/main.ts
|
|
90
|
+
import "@ui-organized/tokens/variables.css"; // 1. token baseline
|
|
91
|
+
import "@ui-organized/vue/styles"; // 2. component styles
|
|
92
|
+
import "./styles/theme.css"; // 3. your theme — last, so it wins
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Order is load-bearing. A theme and the baseline both declare on `:root`, and
|
|
96
|
+
`:root` vs `:root` is a specificity tie — decided by source order. Import the
|
|
97
|
+
theme earlier and the baseline silently wins.
|
|
98
|
+
|
|
99
|
+
`@ui-organized/vue/styles.css` is exported as an alias of `/styles`, so either
|
|
100
|
+
spelling resolves.
|
|
101
|
+
|
|
102
|
+
```vue
|
|
103
|
+
<script setup>
|
|
104
|
+
import { Button } from "@ui-organized/vue";
|
|
105
|
+
</script>
|
|
106
|
+
|
|
107
|
+
<template>
|
|
108
|
+
<Button intent="primary">Save</Button>
|
|
109
|
+
</template>
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
Events follow Vue's convention rather than React's — `@value-change`, `@remove` —
|
|
113
|
+
and the controllable ones support `v-model`: `<Select v-model="value" />`.
|
|
114
|
+
|
|
115
|
+
## Theming
|
|
116
|
+
|
|
117
|
+
Components reference semantic _roles_ — `--color-surface-primary`,
|
|
118
|
+
`--color-interactive-primary-default` — never literal colors, so re-theming
|
|
119
|
+
means redefining those properties. The contract is shared with every other
|
|
120
|
+
library in the system, so a theme written once themes all four.
|
|
121
|
+
|
|
122
|
+
Light and dark ship together and are switched by attribute, not by re-import:
|
|
123
|
+
|
|
124
|
+
```ts
|
|
125
|
+
document.documentElement.setAttribute("data-theme", "dark");
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
Pin the default in your HTML (`<html data-theme="light">`) so the first frame
|
|
129
|
+
paints correctly, before any JavaScript runs.
|
|
130
|
+
|
|
131
|
+
Full guide, including the three ways to produce a theme:
|
|
132
|
+
<https://uiorganized.com/docs/theming>.
|
|
133
|
+
|
|
134
|
+
## License
|
|
135
|
+
|
|
136
|
+
Apache-2.0
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { Component } from "vue";
|
|
2
|
+
import type { ControlSize } from "@ui-organized/core";
|
|
3
|
+
export interface AccordionItem {
|
|
4
|
+
/** Unique value identifying this item. */
|
|
5
|
+
value: string | number;
|
|
6
|
+
/** Header label shown in the trigger. A string, or a component. */
|
|
7
|
+
title: string | Component;
|
|
8
|
+
/** Panel content revealed when the item is open. */
|
|
9
|
+
content: string | Component;
|
|
10
|
+
/** Whether this item is disabled. */
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface AccordionProps {
|
|
14
|
+
/** Item definitions including titles and panel content. */
|
|
15
|
+
items: AccordionItem[];
|
|
16
|
+
/** Whether multiple panels can be open at once. Defaults to true. */
|
|
17
|
+
multiple?: boolean;
|
|
18
|
+
/** Open item values. Use `v-model` for two-way binding. */
|
|
19
|
+
modelValue?: (string | number)[];
|
|
20
|
+
/** Initial open item values for uncontrolled usage. */
|
|
21
|
+
defaultValue?: (string | number)[];
|
|
22
|
+
/** Whether the entire accordion is disabled. */
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
/** Visual variant. Defaults to 'default'. */
|
|
25
|
+
variant?: "default" | "bordered" | "separated";
|
|
26
|
+
/** Sizing of triggers and panels. Defaults to 'md'. */
|
|
27
|
+
size?: ControlSize;
|
|
28
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { AccordionProps } from "./Accordion.types.js";
|
|
2
|
+
import "@ui-organized/core/components/Accordion/Accordion.css";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<AccordionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
"update:modelValue": (value: string[]) => any;
|
|
5
|
+
valueChange: (value: string[]) => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<AccordionProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
8
|
+
onValueChange?: ((value: string[]) => any) | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
multiple: boolean;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface AlertProps {
|
|
2
|
+
/** Semantic variant driving icon and color. Defaults to 'info'. */
|
|
3
|
+
variant?: "info" | "success" | "warning" | "error";
|
|
4
|
+
/** Optional title text rendered above the message. */
|
|
5
|
+
title?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Called when the dismiss button is activated. Its *presence* renders the
|
|
8
|
+
* button — omit it and there is none.
|
|
9
|
+
*
|
|
10
|
+
* A callback prop rather than an emit, and that is the whole point: Vue can
|
|
11
|
+
* ask "did anyone pass this?" and an emit cannot. `defineEmits` strips
|
|
12
|
+
* `onDismiss` out of `$attrs`, so a component that declared `dismiss` as an
|
|
13
|
+
* emit has no way to find out whether it is listened to — which is exactly why
|
|
14
|
+
* the Angular library had to take an explicit `dismissible` input instead.
|
|
15
|
+
* React and Svelte both key the button off the callback's presence; declaring
|
|
16
|
+
* it as a prop is what lets Vue match them.
|
|
17
|
+
*
|
|
18
|
+
* Both spellings reach it, because a declared prop wins over an emit listener
|
|
19
|
+
* during prop resolution: `@dismiss="hide"` and `:on-dismiss="hide"` are the
|
|
20
|
+
* same thing here. Pinned by a test — see Alert.test.ts.
|
|
21
|
+
*/
|
|
22
|
+
onDismiss?: () => void;
|
|
23
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { AlertProps } from "./Alert.types.js";
|
|
2
|
+
import "@ui-organized/core/components/Alert/Alert.css";
|
|
3
|
+
declare var __VLS_4: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_4) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import("vue").DefineComponent<AlertProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AlertProps> & Readonly<{}>, {
|
|
8
|
+
variant: "info" | "success" | "warning" | "error";
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface AlertDialogProps {
|
|
2
|
+
/** Open state. Use `v-model:open` for two-way binding. */
|
|
3
|
+
open?: boolean;
|
|
4
|
+
/** Initial open state for uncontrolled usage. */
|
|
5
|
+
defaultOpen?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface AlertDialogContentProps {
|
|
8
|
+
/** Width preset. Defaults to 'sm'. */
|
|
9
|
+
size?: "sm" | "md" | "lg" | "fullscreen";
|
|
10
|
+
/** Render a close (x) button. Defaults to false — confirm with the actions. */
|
|
11
|
+
showClose?: boolean;
|
|
12
|
+
/** DOM element to teleport into. Defaults to `body`. */
|
|
13
|
+
container?: HTMLElement | null;
|
|
14
|
+
}
|
|
15
|
+
export interface AlertDialogConfirmProps {
|
|
16
|
+
/** Button intent. Defaults to 'primary'. Use 'destructive' for dangerous actions. */
|
|
17
|
+
intent?: "primary" | "destructive";
|
|
18
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { AlertDialogProps } from "./AlertDialog.types.js";
|
|
2
|
+
import "@ui-organized/core/components/Dialog/Dialog.css";
|
|
3
|
+
import "@ui-organized/core/components/Button/Button.css";
|
|
4
|
+
declare var __VLS_9: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_9) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<AlertDialogProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
openChange: (open: boolean) => any;
|
|
10
|
+
"update:open": (open: boolean) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<AlertDialogProps> & Readonly<{
|
|
12
|
+
onOpenChange?: ((open: boolean) => any) | undefined;
|
|
13
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
open: boolean;
|
|
16
|
+
defaultOpen: boolean;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare var __VLS_6: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_6) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { AlertDialogConfirmProps } from "./AlertDialog.types.js";
|
|
2
|
+
declare var __VLS_6: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_6) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<AlertDialogConfirmProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AlertDialogConfirmProps> & Readonly<{}>, {
|
|
7
|
+
intent: "primary" | "destructive";
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { AlertDialogContentProps } from "./AlertDialog.types.js";
|
|
2
|
+
declare var __VLS_24: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_24) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<AlertDialogContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AlertDialogContentProps> & Readonly<{}>, {
|
|
7
|
+
size: "sm" | "md" | "lg" | "fullscreen";
|
|
8
|
+
showClose: boolean;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare var __VLS_6: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_6) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare var __VLS_6: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_6) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
asChild?: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_6: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_6) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as AlertDialog } from "./AlertDialog.vue";
|
|
2
|
+
export { default as AlertDialogTrigger } from "./AlertDialogTrigger.vue";
|
|
3
|
+
export { default as AlertDialogContent } from "./AlertDialogContent.vue";
|
|
4
|
+
export { default as AlertDialogTitle } from "./AlertDialogTitle.vue";
|
|
5
|
+
export { default as AlertDialogDescription } from "./AlertDialogDescription.vue";
|
|
6
|
+
export { default as AlertDialogFooter } from "./AlertDialogFooter.vue";
|
|
7
|
+
export { default as AlertDialogCancel } from "./AlertDialogCancel.vue";
|
|
8
|
+
export { default as AlertDialogConfirm } from "./AlertDialogConfirm.vue";
|
|
9
|
+
export type { AlertDialogProps, AlertDialogContentProps, AlertDialogConfirmProps, } from "./AlertDialog.types.js";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export interface AngleSliderProps {
|
|
2
|
+
/** Accessible label text rendered above the dial. */
|
|
3
|
+
label?: string;
|
|
4
|
+
/** Helper text rendered below the dial. Hidden when an error is shown. */
|
|
5
|
+
helperText?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Error state. Pass a string to show an error message.
|
|
8
|
+
* Pass `true` to mark the field invalid without a message.
|
|
9
|
+
*/
|
|
10
|
+
error?: string | boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Controlled angle in degrees. Use `v-model` for two-way binding.
|
|
13
|
+
*
|
|
14
|
+
* Spelled `modelValue` rather than React's `value` — Ark Vue names the
|
|
15
|
+
* angle-slider machine's controlled value for `v-model`, and this package
|
|
16
|
+
* follows Ark.
|
|
17
|
+
*/
|
|
18
|
+
modelValue?: number;
|
|
19
|
+
/** Initial angle for the uncontrolled case. */
|
|
20
|
+
defaultValue?: number;
|
|
21
|
+
/** Degrees between allowed angles. Defaults to 1. */
|
|
22
|
+
step?: number;
|
|
23
|
+
/** Angles to mark around the dial, in degrees. */
|
|
24
|
+
markers?: number[];
|
|
25
|
+
/** Shows the current angle beside the label. Defaults to false. */
|
|
26
|
+
showValue?: boolean;
|
|
27
|
+
/** Size variant. Defaults to 'md'. */
|
|
28
|
+
size?: "sm" | "md" | "lg";
|
|
29
|
+
/** Disables the control. */
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
/** Renders the angle without interaction while keeping it focusable. */
|
|
32
|
+
readOnly?: boolean;
|
|
33
|
+
/** Form field name for the hidden input. */
|
|
34
|
+
name?: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { AngleSliderProps } from "./AngleSlider.types.js";
|
|
2
|
+
import "@ui-organized/core/components/AngleSlider/AngleSlider.css";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<AngleSliderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
"update:modelValue": (value: number) => any;
|
|
5
|
+
valueChange: (value: number) => any;
|
|
6
|
+
valueChangeEnd: (value: number) => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<AngleSliderProps> & Readonly<{
|
|
8
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
9
|
+
onValueChange?: ((value: number) => any) | undefined;
|
|
10
|
+
onValueChangeEnd?: ((value: number) => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
readOnly: boolean;
|
|
14
|
+
showValue: boolean;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|