@eslamdevui/ui 3.2.0-beta.2 → 3.2.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/.nuxt/ui/alert.ts +0 -5
- package/.nuxt/ui/badge.ts +0 -5
- package/.nuxt/ui/button-group.ts +0 -13
- package/.nuxt/ui/button.ts +0 -5
- package/.nuxt/ui/carousel.ts +0 -5
- package/.nuxt/ui/content-surround.ts +0 -5
- package/.nuxt/ui/dashboard-navbar.ts +0 -5
- package/.nuxt/ui/dashboard-sidebar-collapse.ts +0 -5
- package/.nuxt/ui/dashboard-sidebar-toggle.ts +0 -5
- package/.nuxt/ui/dashboard-sidebar.ts +0 -10
- package/.nuxt/ui/index.ts +1 -48
- package/.nuxt/ui/input-menu.ts +0 -9
- package/.nuxt/ui/input-number.ts +0 -5
- package/.nuxt/ui/input-tags.ts +0 -9
- package/.nuxt/ui/input.ts +0 -9
- package/.nuxt/ui/select-menu.ts +0 -9
- package/.nuxt/ui/select.ts +0 -9
- package/.nuxt/ui/textarea.ts +0 -9
- package/.nuxt/ui/toast.ts +0 -5
- package/LICENSE.md +9 -9
- package/README.md +147 -147
- package/cli/commands/make/component.mjs +95 -95
- package/cli/commands/make/index.mjs +14 -14
- package/cli/commands/make/locale.mjs +64 -64
- package/cli/index.mjs +15 -15
- package/cli/package.json +13 -13
- package/cli/templates.mjs +236 -236
- package/cli/utils.mjs +31 -31
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/Accordion.vue +36 -36
- package/dist/runtime/components/Alert.vue +46 -46
- package/dist/runtime/components/App.vue +10 -10
- package/dist/runtime/components/Avatar.vue +27 -27
- package/dist/runtime/components/AvatarGroup.vue +4 -4
- package/dist/runtime/components/Badge.vue +16 -16
- package/dist/runtime/components/Breadcrumb.vue +32 -32
- package/dist/runtime/components/Button.vue +28 -28
- package/dist/runtime/components/ButtonGroup.vue +3 -3
- package/dist/runtime/components/Calendar.vue +74 -74
- package/dist/runtime/components/Card.vue +13 -13
- package/dist/runtime/components/Carousel.vue +58 -58
- package/dist/runtime/components/ChatMessage.vue +35 -35
- package/dist/runtime/components/ChatMessages.vue +55 -55
- package/dist/runtime/components/ChatPrompt.vue +26 -26
- package/dist/runtime/components/ChatPromptSubmit.vue +10 -10
- package/dist/runtime/components/Checkbox.vue +33 -33
- package/dist/runtime/components/CheckboxGroup.vue +32 -32
- package/dist/runtime/components/Chip.vue +11 -11
- package/dist/runtime/components/Collapsible.vue +9 -9
- package/dist/runtime/components/ColorPicker.vue +30 -30
- package/dist/runtime/components/CommandPalette.vue +117 -117
- package/dist/runtime/components/Container.vue +3 -3
- package/dist/runtime/components/ContextMenu.vue +22 -22
- package/dist/runtime/components/ContextMenuContent.vue +105 -105
- package/dist/runtime/components/DashboardGroup.vue +3 -3
- package/dist/runtime/components/DashboardNavbar.vue +40 -40
- package/dist/runtime/components/DashboardPanel.vue +27 -27
- package/dist/runtime/components/DashboardResizeHandle.vue +7 -7
- package/dist/runtime/components/DashboardSearch.vue +20 -20
- package/dist/runtime/components/DashboardSearchButton.vue +43 -43
- package/dist/runtime/components/DashboardSidebar.vue +74 -74
- package/dist/runtime/components/DashboardSidebarCollapse.vue +7 -7
- package/dist/runtime/components/DashboardSidebarToggle.vue +7 -7
- package/dist/runtime/components/Drawer.vue +55 -55
- package/dist/runtime/components/DropdownMenu.vue +24 -24
- package/dist/runtime/components/DropdownMenuContent.vue +107 -107
- package/dist/runtime/components/Error.vue +22 -22
- package/dist/runtime/components/Form.vue +8 -8
- package/dist/runtime/components/FormField.vue +37 -37
- package/dist/runtime/components/Icon.vue +1 -1
- package/dist/runtime/components/Input.vue +34 -34
- package/dist/runtime/components/InputMenu.vue +163 -163
- package/dist/runtime/components/InputNumber.vue +49 -49
- package/dist/runtime/components/InputTags.vue +55 -55
- package/dist/runtime/components/Kbd.vue +5 -5
- package/dist/runtime/components/Link.vue +14 -14
- package/dist/runtime/components/LinkBase.vue +8 -8
- package/dist/runtime/components/Modal.vue +69 -69
- package/dist/runtime/components/NavigationMenu.vue +166 -166
- package/dist/runtime/components/OverlayProvider.vue +9 -9
- package/dist/runtime/components/Pagination.vue +47 -47
- package/dist/runtime/components/PinInput.vue +20 -20
- package/dist/runtime/components/Popover.vue +17 -17
- package/dist/runtime/components/Progress.vue +19 -19
- package/dist/runtime/components/RadioGroup.vue +43 -43
- package/dist/runtime/components/Select.vue +96 -96
- package/dist/runtime/components/SelectMenu.vue +130 -130
- package/dist/runtime/components/Separator.vue +15 -15
- package/dist/runtime/components/Skeleton.vue +10 -10
- package/dist/runtime/components/Slideover.vue +76 -76
- package/dist/runtime/components/Slider.vue +27 -27
- package/dist/runtime/components/Stepper.vue +51 -51
- package/dist/runtime/components/Switch.vue +33 -33
- package/dist/runtime/components/Table.vue +77 -77
- package/dist/runtime/components/Tabs.vue +37 -37
- package/dist/runtime/components/Textarea.vue +33 -33
- package/dist/runtime/components/Timeline.vue +38 -38
- package/dist/runtime/components/Toast.vue +69 -69
- package/dist/runtime/components/Toaster.vue +28 -28
- package/dist/runtime/components/Tooltip.vue +19 -19
- package/dist/runtime/components/Tree.vue +60 -60
- package/dist/runtime/components/color-mode/ColorModeAvatar.vue +2 -2
- package/dist/runtime/components/color-mode/ColorModeButton.vue +16 -16
- package/dist/runtime/components/color-mode/ColorModeImage.vue +2 -2
- package/dist/runtime/components/color-mode/ColorModeSelect.vue +19 -19
- package/dist/runtime/components/color-mode/ColorModeSwitch.vue +19 -19
- package/dist/runtime/components/content/ContentNavigation.vue +109 -109
- package/dist/runtime/components/content/ContentSearch.vue +25 -25
- package/dist/runtime/components/content/ContentSearchButton.vue +38 -38
- package/dist/runtime/components/content/ContentSearchButton.vue.d.ts +12 -12
- package/dist/runtime/components/content/ContentSurround.vue +29 -29
- package/dist/runtime/components/content/ContentSurround.vue.d.ts +59 -59
- package/dist/runtime/components/content/ContentToc.vue +68 -68
- package/dist/runtime/components/content/ContentToc.vue.d.ts +88 -88
- package/dist/runtime/components/locale/LocaleSelect.vue +20 -20
- package/dist/runtime/components/prose/A.vue +3 -3
- package/dist/runtime/components/prose/Accordion.vue +5 -5
- package/dist/runtime/components/prose/AccordionItem.vue +5 -5
- package/dist/runtime/components/prose/Badge.vue +3 -3
- package/dist/runtime/components/prose/Blockquote.vue +3 -3
- package/dist/runtime/components/prose/Callout.vue +27 -27
- package/dist/runtime/components/prose/Card.vue +43 -43
- package/dist/runtime/components/prose/CardGroup.vue +3 -3
- package/dist/runtime/components/prose/Code.vue +3 -3
- package/dist/runtime/components/prose/CodeCollapse.vue +16 -16
- package/dist/runtime/components/prose/CodeGroup.vue +15 -15
- package/dist/runtime/components/prose/CodeIcon.vue +1 -1
- package/dist/runtime/components/prose/CodePreview.vue +9 -9
- package/dist/runtime/components/prose/CodeTree.vue +61 -61
- package/dist/runtime/components/prose/Collapsible.vue +15 -15
- package/dist/runtime/components/prose/Em.vue +1 -1
- package/dist/runtime/components/prose/Field.vue +23 -23
- package/dist/runtime/components/prose/FieldGroup.vue +3 -3
- package/dist/runtime/components/prose/H1.vue +6 -6
- package/dist/runtime/components/prose/H2.vue +10 -10
- package/dist/runtime/components/prose/H3.vue +10 -10
- package/dist/runtime/components/prose/H4.vue +6 -6
- package/dist/runtime/components/prose/Hr.vue +1 -1
- package/dist/runtime/components/prose/Icon.vue +1 -1
- package/dist/runtime/components/prose/Img.vue +8 -8
- package/dist/runtime/components/prose/Kbd.vue +1 -1
- package/dist/runtime/components/prose/Li.vue +3 -3
- package/dist/runtime/components/prose/Ol.vue +3 -3
- package/dist/runtime/components/prose/P.vue +3 -3
- package/dist/runtime/components/prose/Pre.vue +20 -20
- package/dist/runtime/components/prose/Script.vue +3 -3
- package/dist/runtime/components/prose/Steps.vue +3 -3
- package/dist/runtime/components/prose/Strong.vue +3 -3
- package/dist/runtime/components/prose/Table.vue +5 -5
- package/dist/runtime/components/prose/Tabs.vue +14 -14
- package/dist/runtime/components/prose/TabsItem.vue +5 -5
- package/dist/runtime/components/prose/Tbody.vue +3 -3
- package/dist/runtime/components/prose/Td.vue +3 -3
- package/dist/runtime/components/prose/Th.vue +3 -3
- package/dist/runtime/components/prose/Thead.vue +3 -3
- package/dist/runtime/components/prose/Tr.vue +3 -3
- package/dist/runtime/components/prose/Ul.vue +3 -3
- package/dist/runtime/components/prose/callout/Caution.vue +3 -3
- package/dist/runtime/components/prose/callout/Note.vue +3 -3
- package/dist/runtime/components/prose/callout/Tip.vue +3 -3
- package/dist/runtime/components/prose/callout/Warning.vue +3 -3
- package/dist/runtime/inertia/components/Link.vue +12 -12
- package/dist/runtime/inertia/components/LinkBase.vue +15 -15
- package/dist/runtime/types/app.config.d.ts +6 -6
- package/dist/runtime/vue/components/Icon.vue +1 -1
- package/dist/runtime/vue/components/Link.vue +31 -31
- package/dist/runtime/vue/components/color-mode/ColorModeButton.vue +7 -7
- package/dist/runtime/vue/components/color-mode/ColorModeSelect.vue +7 -7
- package/dist/runtime/vue/components/color-mode/ColorModeSwitch.vue +7 -7
- package/package.json +1 -1
- package/vue-plugin.d.ts +5 -5
- package/.nuxt/ui/content/content-navigation.ts +0 -339
- package/.nuxt/ui/content/content-search-button.ts +0 -6
- package/.nuxt/ui/content/content-search.ts +0 -6
- package/.nuxt/ui/content/content-surround.ts +0 -39
- package/.nuxt/ui/content/content-toc.ts +0 -150
- package/.nuxt/ui/content/index.ts +0 -5
- package/.nuxt/ui/error.ts +0 -9
- package/.nuxt/ui/prose/a.ts +0 -6
- package/.nuxt/ui/prose/accordion-item.ts +0 -3
- package/.nuxt/ui/prose/accordion.ts +0 -6
- package/.nuxt/ui/prose/badge.ts +0 -3
- package/.nuxt/ui/prose/blockquote.ts +0 -3
- package/.nuxt/ui/prose/callout.ts +0 -129
- package/.nuxt/ui/prose/card-group.ts +0 -3
- package/.nuxt/ui/prose/card.ts +0 -119
- package/.nuxt/ui/prose/code-collapse.ts +0 -19
- package/.nuxt/ui/prose/code-group.ts +0 -13
- package/.nuxt/ui/prose/code-icon.ts +0 -66
- package/.nuxt/ui/prose/code-preview.ts +0 -14
- package/.nuxt/ui/prose/code-tree.ts +0 -28
- package/.nuxt/ui/prose/code.ts +0 -27
- package/.nuxt/ui/prose/collapsible.ts +0 -12
- package/.nuxt/ui/prose/em.ts +0 -3
- package/.nuxt/ui/prose/field-group.ts +0 -3
- package/.nuxt/ui/prose/field.ts +0 -11
- package/.nuxt/ui/prose/h1.ts +0 -6
- package/.nuxt/ui/prose/h2.ts +0 -14
- package/.nuxt/ui/prose/h3.ts +0 -14
- package/.nuxt/ui/prose/h4.ts +0 -6
- package/.nuxt/ui/prose/hr.ts +0 -3
- package/.nuxt/ui/prose/icon.ts +0 -3
- package/.nuxt/ui/prose/img.ts +0 -3
- package/.nuxt/ui/prose/index.ts +0 -41
- package/.nuxt/ui/prose/kbd.ts +0 -3
- package/.nuxt/ui/prose/li.ts +0 -3
- package/.nuxt/ui/prose/ol.ts +0 -3
- package/.nuxt/ui/prose/p.ts +0 -3
- package/.nuxt/ui/prose/pre.ts +0 -17
- package/.nuxt/ui/prose/steps.ts +0 -19
- package/.nuxt/ui/prose/strong.ts +0 -3
- package/.nuxt/ui/prose/table.ts +0 -6
- package/.nuxt/ui/prose/tabs-item.ts +0 -3
- package/.nuxt/ui/prose/tabs.ts +0 -5
- package/.nuxt/ui/prose/tbody.ts +0 -3
- package/.nuxt/ui/prose/td.ts +0 -3
- package/.nuxt/ui/prose/th.ts +0 -3
- package/.nuxt/ui/prose/thead.ts +0 -3
- package/.nuxt/ui/prose/tr.ts +0 -3
- package/.nuxt/ui/prose/ul.ts +0 -3
package/.nuxt/ui/alert.ts
CHANGED
package/.nuxt/ui/badge.ts
CHANGED
package/.nuxt/ui/button-group.ts
CHANGED
package/.nuxt/ui/button.ts
CHANGED
package/.nuxt/ui/carousel.ts
CHANGED
package/.nuxt/ui/index.ts
CHANGED
|
@@ -37,7 +37,6 @@ export { default as dashboardSidebarCollapse } from './dashboard-sidebar-collaps
|
|
|
37
37
|
export { default as dashboardSidebarToggle } from './dashboard-sidebar-toggle'
|
|
38
38
|
export { default as drawer } from './drawer'
|
|
39
39
|
export { default as dropdownMenu } from './dropdown-menu'
|
|
40
|
-
export { default as error } from './error'
|
|
41
40
|
export { default as form } from './form'
|
|
42
41
|
export { default as formField } from './form-field'
|
|
43
42
|
export { default as input } from './input'
|
|
@@ -69,50 +68,4 @@ export { default as timeline } from './timeline'
|
|
|
69
68
|
export { default as toast } from './toast'
|
|
70
69
|
export { default as toaster } from './toaster'
|
|
71
70
|
export { default as tooltip } from './tooltip'
|
|
72
|
-
export { default as tree } from './tree'
|
|
73
|
-
export { default as contentNavigation } from './content/content-navigation'
|
|
74
|
-
export { default as contentSearch } from './content/content-search'
|
|
75
|
-
export { default as contentSearchButton } from './content/content-search-button'
|
|
76
|
-
export { default as contentSurround } from './content/content-surround'
|
|
77
|
-
export { default as contentToc } from './content/content-toc'
|
|
78
|
-
export { default as a } from './prose/a'
|
|
79
|
-
export { default as accordion } from './prose/accordion'
|
|
80
|
-
export { default as accordionItem } from './prose/accordion-item'
|
|
81
|
-
export { default as badge } from './prose/badge'
|
|
82
|
-
export { default as blockquote } from './prose/blockquote'
|
|
83
|
-
export { default as callout } from './prose/callout'
|
|
84
|
-
export { default as card } from './prose/card'
|
|
85
|
-
export { default as cardGroup } from './prose/card-group'
|
|
86
|
-
export { default as code } from './prose/code'
|
|
87
|
-
export { default as codeCollapse } from './prose/code-collapse'
|
|
88
|
-
export { default as codeGroup } from './prose/code-group'
|
|
89
|
-
export { default as codeIcon } from './prose/code-icon'
|
|
90
|
-
export { default as codePreview } from './prose/code-preview'
|
|
91
|
-
export { default as codeTree } from './prose/code-tree'
|
|
92
|
-
export { default as collapsible } from './prose/collapsible'
|
|
93
|
-
export { default as em } from './prose/em'
|
|
94
|
-
export { default as field } from './prose/field'
|
|
95
|
-
export { default as fieldGroup } from './prose/field-group'
|
|
96
|
-
export { default as h1 } from './prose/h1'
|
|
97
|
-
export { default as h2 } from './prose/h2'
|
|
98
|
-
export { default as h3 } from './prose/h3'
|
|
99
|
-
export { default as h4 } from './prose/h4'
|
|
100
|
-
export { default as hr } from './prose/hr'
|
|
101
|
-
export { default as icon } from './prose/icon'
|
|
102
|
-
export { default as img } from './prose/img'
|
|
103
|
-
export { default as kbd } from './prose/kbd'
|
|
104
|
-
export { default as li } from './prose/li'
|
|
105
|
-
export { default as ol } from './prose/ol'
|
|
106
|
-
export { default as p } from './prose/p'
|
|
107
|
-
export { default as pre } from './prose/pre'
|
|
108
|
-
export { default as steps } from './prose/steps'
|
|
109
|
-
export { default as strong } from './prose/strong'
|
|
110
|
-
export { default as table } from './prose/table'
|
|
111
|
-
export { default as tabs } from './prose/tabs'
|
|
112
|
-
export { default as tabsItem } from './prose/tabs-item'
|
|
113
|
-
export { default as tbody } from './prose/tbody'
|
|
114
|
-
export { default as td } from './prose/td'
|
|
115
|
-
export { default as th } from './prose/th'
|
|
116
|
-
export { default as thead } from './prose/thead'
|
|
117
|
-
export { default as tr } from './prose/tr'
|
|
118
|
-
export { default as ul } from './prose/ul'
|
|
71
|
+
export { default as tree } from './tree'
|
package/.nuxt/ui/input-menu.ts
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
const buttonGroup = [
|
|
2
|
-
"horizontal",
|
|
3
|
-
"vertical"
|
|
4
|
-
] as const
|
|
5
|
-
|
|
6
1
|
const size = [
|
|
7
2
|
"xs",
|
|
8
3
|
"sm",
|
|
@@ -29,10 +24,6 @@ const color = [
|
|
|
29
24
|
"neutral"
|
|
30
25
|
] as const
|
|
31
26
|
|
|
32
|
-
const type = [
|
|
33
|
-
"file"
|
|
34
|
-
] as const
|
|
35
|
-
|
|
36
27
|
export default {
|
|
37
28
|
"slots": {
|
|
38
29
|
"root": "relative inline-flex items-center",
|
package/.nuxt/ui/input-number.ts
CHANGED
package/.nuxt/ui/input-tags.ts
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
const buttonGroup = [
|
|
2
|
-
"horizontal",
|
|
3
|
-
"vertical"
|
|
4
|
-
] as const
|
|
5
|
-
|
|
6
1
|
const size = [
|
|
7
2
|
"xs",
|
|
8
3
|
"sm",
|
|
@@ -29,10 +24,6 @@ const color = [
|
|
|
29
24
|
"neutral"
|
|
30
25
|
] as const
|
|
31
26
|
|
|
32
|
-
const type = [
|
|
33
|
-
"file"
|
|
34
|
-
] as const
|
|
35
|
-
|
|
36
27
|
export default {
|
|
37
28
|
"slots": {
|
|
38
29
|
"root": [
|
package/.nuxt/ui/input.ts
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
const buttonGroup = [
|
|
2
|
-
"horizontal",
|
|
3
|
-
"vertical"
|
|
4
|
-
] as const
|
|
5
|
-
|
|
6
1
|
const size = [
|
|
7
2
|
"xs",
|
|
8
3
|
"sm",
|
|
@@ -29,10 +24,6 @@ const color = [
|
|
|
29
24
|
"neutral"
|
|
30
25
|
] as const
|
|
31
26
|
|
|
32
|
-
const type = [
|
|
33
|
-
"file"
|
|
34
|
-
] as const
|
|
35
|
-
|
|
36
27
|
export default {
|
|
37
28
|
"slots": {
|
|
38
29
|
"root": "relative inline-flex items-center",
|
package/.nuxt/ui/select-menu.ts
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
const buttonGroup = [
|
|
2
|
-
"horizontal",
|
|
3
|
-
"vertical"
|
|
4
|
-
] as const
|
|
5
|
-
|
|
6
1
|
const size = [
|
|
7
2
|
"xs",
|
|
8
3
|
"sm",
|
|
@@ -29,10 +24,6 @@ const color = [
|
|
|
29
24
|
"neutral"
|
|
30
25
|
] as const
|
|
31
26
|
|
|
32
|
-
const type = [
|
|
33
|
-
"file"
|
|
34
|
-
] as const
|
|
35
|
-
|
|
36
27
|
export default {
|
|
37
28
|
"slots": {
|
|
38
29
|
"base": [
|
package/.nuxt/ui/select.ts
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
const buttonGroup = [
|
|
2
|
-
"horizontal",
|
|
3
|
-
"vertical"
|
|
4
|
-
] as const
|
|
5
|
-
|
|
6
1
|
const size = [
|
|
7
2
|
"xs",
|
|
8
3
|
"sm",
|
|
@@ -29,10 +24,6 @@ const color = [
|
|
|
29
24
|
"neutral"
|
|
30
25
|
] as const
|
|
31
26
|
|
|
32
|
-
const type = [
|
|
33
|
-
"file"
|
|
34
|
-
] as const
|
|
35
|
-
|
|
36
27
|
export default {
|
|
37
28
|
"slots": {
|
|
38
29
|
"base": [
|
package/.nuxt/ui/textarea.ts
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
const buttonGroup = [
|
|
2
|
-
"horizontal",
|
|
3
|
-
"vertical"
|
|
4
|
-
] as const
|
|
5
|
-
|
|
6
1
|
const size = [
|
|
7
2
|
"xs",
|
|
8
3
|
"sm",
|
|
@@ -29,10 +24,6 @@ const color = [
|
|
|
29
24
|
"neutral"
|
|
30
25
|
] as const
|
|
31
26
|
|
|
32
|
-
const type = [
|
|
33
|
-
"file"
|
|
34
|
-
] as const
|
|
35
|
-
|
|
36
27
|
export default {
|
|
37
28
|
"slots": {
|
|
38
29
|
"root": "relative inline-flex items-center",
|
package/.nuxt/ui/toast.ts
CHANGED
|
@@ -8,11 +8,6 @@ const color = [
|
|
|
8
8
|
"neutral"
|
|
9
9
|
] as const
|
|
10
10
|
|
|
11
|
-
const orientation = [
|
|
12
|
-
"horizontal",
|
|
13
|
-
"vertical"
|
|
14
|
-
] as const
|
|
15
|
-
|
|
16
11
|
export default {
|
|
17
12
|
"slots": {
|
|
18
13
|
"root": "relative group overflow-hidden bg-default shadow-lg rounded-lg ring ring-default p-4 flex gap-2.5 focus:outline-none",
|
package/LICENSE.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2023 NuxtLabs
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 NuxtLabs
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
+
|
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,147 +1,147 @@
|
|
|
1
|
-
<picture>
|
|
2
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/user-attachments/assets/91ceab67-89ce-4ef4-8678-4402a92baca5">
|
|
3
|
-
<source media="(prefers-color-scheme: light)" srcset="https://github.com/user-attachments/assets/51526d6d-e5ec-41b4-aa37-242dec1cdb27">
|
|
4
|
-
<img alt="Nuxt UI" src="https://github.com/user-attachments/assets/51526d6d-e5ec-41b4-aa37-242dec1cdb27">
|
|
5
|
-
</picture>
|
|
6
|
-
|
|
7
|
-
# Nuxt UI
|
|
8
|
-
|
|
9
|
-
[![npm version][npm-version-src]][npm-version-href]
|
|
10
|
-
[![npm downloads][npm-downloads-src]][npm-downloads-href]
|
|
11
|
-
[![License][license-src]][license-href]
|
|
12
|
-
[![Nuxt][nuxt-src]][nuxt-href]
|
|
13
|
-
|
|
14
|
-
Nuxt UI harnesses the combined strengths of [Reka UI](https://reka-ui.com/), [Tailwind CSS](https://tailwindcss.com/), and [Tailwind Variants](https://www.tailwind-variants.org/) to offer developers an unparalleled set of tools for creating sophisticated, accessible, and highly performant user interfaces.
|
|
15
|
-
|
|
16
|
-
> [!NOTE]
|
|
17
|
-
> You are on the `v3` development branch, check out the [v2 branch](https://github.com/nuxt/ui/tree/v2) for Nuxt UI v2.
|
|
18
|
-
|
|
19
|
-
> [!TIP]
|
|
20
|
-
> **Looking for more components ?**
|
|
21
|
-
> Check out [Nuxt UI Pro](https://ui.nuxt.com/pro), a collection of premium Vue components, composables, and utilities built on top of Nuxt UI for faster and more powerful app development.
|
|
22
|
-
|
|
23
|
-
## Documentation
|
|
24
|
-
|
|
25
|
-
Visit https://ui.nuxt.com to explore the documentation.
|
|
26
|
-
|
|
27
|
-
## Installation
|
|
28
|
-
|
|
29
|
-
```bash [pnpm]
|
|
30
|
-
pnpm add @eslamdevui/ui
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
```bash [yarn]
|
|
34
|
-
yarn add @eslamdevui/ui
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
```bash [npm]
|
|
38
|
-
npm install @eslamdevui/ui
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
```bash [bun]
|
|
42
|
-
bun add @eslamdevui/ui
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
### Nuxt
|
|
46
|
-
|
|
47
|
-
1. Add the Nuxt UI module in your `nuxt.config.ts`:
|
|
48
|
-
|
|
49
|
-
```ts [nuxt.config.ts]
|
|
50
|
-
export default defineNuxtConfig({
|
|
51
|
-
modules: ['@eslamdevui/ui']
|
|
52
|
-
})
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
2. Import Tailwind CSS and Nuxt UI in your CSS:
|
|
56
|
-
|
|
57
|
-
```css [assets/css/main.css]
|
|
58
|
-
@import "tailwindcss";
|
|
59
|
-
@import "@eslamdevui/ui";
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
Learn more in the [installation guide](https://ui.nuxt.com/getting-started/installation/nuxt).
|
|
63
|
-
|
|
64
|
-
### Vue
|
|
65
|
-
|
|
66
|
-
1. Add the Nuxt UI Vite plugin in your `vite.config.ts`:
|
|
67
|
-
|
|
68
|
-
```ts [vite.config.ts]
|
|
69
|
-
import { defineConfig } from 'vite'
|
|
70
|
-
import vue from '@vitejs/plugin-vue'
|
|
71
|
-
import ui from '@eslamdevui/ui/vite'
|
|
72
|
-
|
|
73
|
-
export default defineConfig({
|
|
74
|
-
plugins: [
|
|
75
|
-
vue(),
|
|
76
|
-
ui()
|
|
77
|
-
]
|
|
78
|
-
})
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
2. Use the Nuxt UI Vue plugin in your `main.ts`:
|
|
82
|
-
|
|
83
|
-
```ts [main.ts]
|
|
84
|
-
import { createApp } from 'vue'
|
|
85
|
-
import { createRouter, createWebHistory } from 'vue-router'
|
|
86
|
-
import ui from '@eslamdevui/ui/vue-plugin'
|
|
87
|
-
import App from './App.vue'
|
|
88
|
-
|
|
89
|
-
const app = createApp(App)
|
|
90
|
-
|
|
91
|
-
const router = createRouter({
|
|
92
|
-
routes: [],
|
|
93
|
-
history: createWebHistory()
|
|
94
|
-
})
|
|
95
|
-
|
|
96
|
-
app.use(router)
|
|
97
|
-
app.use(ui)
|
|
98
|
-
|
|
99
|
-
app.mount('#app')
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
3. Import Tailwind CSS and Nuxt UI in your CSS:
|
|
103
|
-
|
|
104
|
-
```css [assets/main.css]
|
|
105
|
-
@import "tailwindcss";
|
|
106
|
-
@import "@eslamdevui/ui";
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
Learn more in the [installation guide](https://ui.nuxt.com/getting-started/installation/vue).
|
|
110
|
-
|
|
111
|
-
## Contribution
|
|
112
|
-
|
|
113
|
-
Thank you for considering contributing to Nuxt UI. Here are a few ways you can get involved:
|
|
114
|
-
|
|
115
|
-
- Reporting Bugs: If you come across any bugs or issues, please check out the reporting bugs guide to learn how to submit a bug report.
|
|
116
|
-
- Suggestions: Have any thoughts to enhance Nuxt UI? We'd love to hear them! Check out the [contribution guide](https://ui.nuxt.com/getting-started/contribution) to share your suggestions.
|
|
117
|
-
|
|
118
|
-
## Local Development
|
|
119
|
-
|
|
120
|
-
Follow the docs to [set up your local development environment](https://ui.nuxt.com/getting-started/contribution#local-development) and contribute.
|
|
121
|
-
|
|
122
|
-
## Credits
|
|
123
|
-
|
|
124
|
-
- [nuxt/nuxt](https://github.com/nuxt/nuxt)
|
|
125
|
-
- [nuxt/icon](https://github.com/nuxt/icon)
|
|
126
|
-
- [nuxt/fonts](https://github.com/nuxt/fonts)
|
|
127
|
-
- [nuxt-modules/color-mode](https://github.com/nuxt-modules/color-mode)
|
|
128
|
-
- [unovue/reka-ui](https://github.com/unovue/reka-ui)
|
|
129
|
-
- [tailwindlabs/tailwindcss](https://github.com/tailwindlabs/tailwindcss)
|
|
130
|
-
- [vueuse/vueuse](https://github.com/vueuse/vueuse)
|
|
131
|
-
|
|
132
|
-
## License
|
|
133
|
-
|
|
134
|
-
Licensed under the [MIT license](https://github.com/nuxt/ui/blob/v3/LICENSE.md).
|
|
135
|
-
|
|
136
|
-
<!-- Badges -->
|
|
137
|
-
[npm-version-src]: https://img.shields.io/npm/v/@eslamdevui/ui/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
|
|
138
|
-
[npm-version-href]: https://npmjs.com/package/@eslamdevui/ui
|
|
139
|
-
|
|
140
|
-
[npm-downloads-src]: https://img.shields.io/npm/dm/@eslamdevui/ui.svg?style=flat&colorA=18181B&colorB=28CF8D
|
|
141
|
-
[npm-downloads-href]: https://npm.chart.dev/@eslamdevui/ui
|
|
142
|
-
|
|
143
|
-
[license-src]: https://img.shields.io/github/license/nuxt/ui.svg?style=flat&colorA=18181B&colorB=28CF8D
|
|
144
|
-
[license-href]: https://github.com/nuxt/ui/blob/v3/LICENSE.md
|
|
145
|
-
|
|
146
|
-
[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js
|
|
147
|
-
[nuxt-href]: https://nuxt.com
|
|
1
|
+
<picture>
|
|
2
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/user-attachments/assets/91ceab67-89ce-4ef4-8678-4402a92baca5">
|
|
3
|
+
<source media="(prefers-color-scheme: light)" srcset="https://github.com/user-attachments/assets/51526d6d-e5ec-41b4-aa37-242dec1cdb27">
|
|
4
|
+
<img alt="Nuxt UI" src="https://github.com/user-attachments/assets/51526d6d-e5ec-41b4-aa37-242dec1cdb27">
|
|
5
|
+
</picture>
|
|
6
|
+
|
|
7
|
+
# Nuxt UI
|
|
8
|
+
|
|
9
|
+
[![npm version][npm-version-src]][npm-version-href]
|
|
10
|
+
[![npm downloads][npm-downloads-src]][npm-downloads-href]
|
|
11
|
+
[![License][license-src]][license-href]
|
|
12
|
+
[![Nuxt][nuxt-src]][nuxt-href]
|
|
13
|
+
|
|
14
|
+
Nuxt UI harnesses the combined strengths of [Reka UI](https://reka-ui.com/), [Tailwind CSS](https://tailwindcss.com/), and [Tailwind Variants](https://www.tailwind-variants.org/) to offer developers an unparalleled set of tools for creating sophisticated, accessible, and highly performant user interfaces.
|
|
15
|
+
|
|
16
|
+
> [!NOTE]
|
|
17
|
+
> You are on the `v3` development branch, check out the [v2 branch](https://github.com/nuxt/ui/tree/v2) for Nuxt UI v2.
|
|
18
|
+
|
|
19
|
+
> [!TIP]
|
|
20
|
+
> **Looking for more components ?**
|
|
21
|
+
> Check out [Nuxt UI Pro](https://ui.nuxt.com/pro), a collection of premium Vue components, composables, and utilities built on top of Nuxt UI for faster and more powerful app development.
|
|
22
|
+
|
|
23
|
+
## Documentation
|
|
24
|
+
|
|
25
|
+
Visit https://ui.nuxt.com to explore the documentation.
|
|
26
|
+
|
|
27
|
+
## Installation
|
|
28
|
+
|
|
29
|
+
```bash [pnpm]
|
|
30
|
+
pnpm add @eslamdevui/ui
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
```bash [yarn]
|
|
34
|
+
yarn add @eslamdevui/ui
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
```bash [npm]
|
|
38
|
+
npm install @eslamdevui/ui
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
```bash [bun]
|
|
42
|
+
bun add @eslamdevui/ui
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Nuxt
|
|
46
|
+
|
|
47
|
+
1. Add the Nuxt UI module in your `nuxt.config.ts`:
|
|
48
|
+
|
|
49
|
+
```ts [nuxt.config.ts]
|
|
50
|
+
export default defineNuxtConfig({
|
|
51
|
+
modules: ['@eslamdevui/ui']
|
|
52
|
+
})
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
2. Import Tailwind CSS and Nuxt UI in your CSS:
|
|
56
|
+
|
|
57
|
+
```css [assets/css/main.css]
|
|
58
|
+
@import "tailwindcss";
|
|
59
|
+
@import "@eslamdevui/ui";
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Learn more in the [installation guide](https://ui.nuxt.com/getting-started/installation/nuxt).
|
|
63
|
+
|
|
64
|
+
### Vue
|
|
65
|
+
|
|
66
|
+
1. Add the Nuxt UI Vite plugin in your `vite.config.ts`:
|
|
67
|
+
|
|
68
|
+
```ts [vite.config.ts]
|
|
69
|
+
import { defineConfig } from 'vite'
|
|
70
|
+
import vue from '@vitejs/plugin-vue'
|
|
71
|
+
import ui from '@eslamdevui/ui/vite'
|
|
72
|
+
|
|
73
|
+
export default defineConfig({
|
|
74
|
+
plugins: [
|
|
75
|
+
vue(),
|
|
76
|
+
ui()
|
|
77
|
+
]
|
|
78
|
+
})
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
2. Use the Nuxt UI Vue plugin in your `main.ts`:
|
|
82
|
+
|
|
83
|
+
```ts [main.ts]
|
|
84
|
+
import { createApp } from 'vue'
|
|
85
|
+
import { createRouter, createWebHistory } from 'vue-router'
|
|
86
|
+
import ui from '@eslamdevui/ui/vue-plugin'
|
|
87
|
+
import App from './App.vue'
|
|
88
|
+
|
|
89
|
+
const app = createApp(App)
|
|
90
|
+
|
|
91
|
+
const router = createRouter({
|
|
92
|
+
routes: [],
|
|
93
|
+
history: createWebHistory()
|
|
94
|
+
})
|
|
95
|
+
|
|
96
|
+
app.use(router)
|
|
97
|
+
app.use(ui)
|
|
98
|
+
|
|
99
|
+
app.mount('#app')
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
3. Import Tailwind CSS and Nuxt UI in your CSS:
|
|
103
|
+
|
|
104
|
+
```css [assets/main.css]
|
|
105
|
+
@import "tailwindcss";
|
|
106
|
+
@import "@eslamdevui/ui";
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
Learn more in the [installation guide](https://ui.nuxt.com/getting-started/installation/vue).
|
|
110
|
+
|
|
111
|
+
## Contribution
|
|
112
|
+
|
|
113
|
+
Thank you for considering contributing to Nuxt UI. Here are a few ways you can get involved:
|
|
114
|
+
|
|
115
|
+
- Reporting Bugs: If you come across any bugs or issues, please check out the reporting bugs guide to learn how to submit a bug report.
|
|
116
|
+
- Suggestions: Have any thoughts to enhance Nuxt UI? We'd love to hear them! Check out the [contribution guide](https://ui.nuxt.com/getting-started/contribution) to share your suggestions.
|
|
117
|
+
|
|
118
|
+
## Local Development
|
|
119
|
+
|
|
120
|
+
Follow the docs to [set up your local development environment](https://ui.nuxt.com/getting-started/contribution#local-development) and contribute.
|
|
121
|
+
|
|
122
|
+
## Credits
|
|
123
|
+
|
|
124
|
+
- [nuxt/nuxt](https://github.com/nuxt/nuxt)
|
|
125
|
+
- [nuxt/icon](https://github.com/nuxt/icon)
|
|
126
|
+
- [nuxt/fonts](https://github.com/nuxt/fonts)
|
|
127
|
+
- [nuxt-modules/color-mode](https://github.com/nuxt-modules/color-mode)
|
|
128
|
+
- [unovue/reka-ui](https://github.com/unovue/reka-ui)
|
|
129
|
+
- [tailwindlabs/tailwindcss](https://github.com/tailwindlabs/tailwindcss)
|
|
130
|
+
- [vueuse/vueuse](https://github.com/vueuse/vueuse)
|
|
131
|
+
|
|
132
|
+
## License
|
|
133
|
+
|
|
134
|
+
Licensed under the [MIT license](https://github.com/nuxt/ui/blob/v3/LICENSE.md).
|
|
135
|
+
|
|
136
|
+
<!-- Badges -->
|
|
137
|
+
[npm-version-src]: https://img.shields.io/npm/v/@eslamdevui/ui/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
|
|
138
|
+
[npm-version-href]: https://npmjs.com/package/@eslamdevui/ui
|
|
139
|
+
|
|
140
|
+
[npm-downloads-src]: https://img.shields.io/npm/dm/@eslamdevui/ui.svg?style=flat&colorA=18181B&colorB=28CF8D
|
|
141
|
+
[npm-downloads-href]: https://npm.chart.dev/@eslamdevui/ui
|
|
142
|
+
|
|
143
|
+
[license-src]: https://img.shields.io/github/license/nuxt/ui.svg?style=flat&colorA=18181B&colorB=28CF8D
|
|
144
|
+
[license-href]: https://github.com/nuxt/ui/blob/v3/LICENSE.md
|
|
145
|
+
|
|
146
|
+
[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js
|
|
147
|
+
[nuxt-href]: https://nuxt.com
|