@arclux/arc-ui-vue 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +52 -0
- package/package.json +71 -0
- package/src/application/AppShell.vue +20 -0
- package/src/application/AuthShell.vue +20 -0
- package/src/application/Breadcrumb.vue +24 -0
- package/src/application/BreadcrumbItem.vue +20 -0
- package/src/application/Container.vue +20 -0
- package/src/application/DashboardGrid.vue +26 -0
- package/src/application/Footer.vue +23 -0
- package/src/application/NavItem.vue +26 -0
- package/src/application/NavigationMenu.vue +23 -0
- package/src/application/NotificationPanel.vue +31 -0
- package/src/application/PageHeader.vue +23 -0
- package/src/application/PageLayout.vue +26 -0
- package/src/application/Resizable.vue +36 -0
- package/src/application/ScrollSpy.vue +33 -0
- package/src/application/Section.vue +20 -0
- package/src/application/SettingsLayout.vue +20 -0
- package/src/application/Sidebar.vue +32 -0
- package/src/application/SidebarLink.vue +23 -0
- package/src/application/SidebarSection.vue +30 -0
- package/src/application/SplitPane.vue +33 -0
- package/src/application/SpyLink.vue +20 -0
- package/src/application/StatusBar.vue +20 -0
- package/src/application/Toolbar.vue +26 -0
- package/src/application/TopBar.vue +30 -0
- package/src/application/index.ts +23 -0
- package/src/content/Accordion.vue +23 -0
- package/src/content/AccordionItem.vue +20 -0
- package/src/content/AnimatedNumber.vue +38 -0
- package/src/content/AspectRatio.vue +20 -0
- package/src/content/Avatar.vue +26 -0
- package/src/content/AvatarGroup.vue +23 -0
- package/src/content/Badge.vue +20 -0
- package/src/content/Callout.vue +20 -0
- package/src/content/Card.vue +20 -0
- package/src/content/Carousel.vue +42 -0
- package/src/content/CodeBlock.vue +29 -0
- package/src/content/Collapsible.vue +27 -0
- package/src/content/ColorSwatch.vue +26 -0
- package/src/content/Column.vue +29 -0
- package/src/content/DataTable.vue +44 -0
- package/src/content/Divider.vue +25 -0
- package/src/content/EmptyState.vue +23 -0
- package/src/content/FeatureCard.vue +29 -0
- package/src/content/Highlight.vue +26 -0
- package/src/content/Icon.vue +26 -0
- package/src/content/InfiniteScroll.vue +33 -0
- package/src/content/Kbd.vue +13 -0
- package/src/content/Link.vue +29 -0
- package/src/content/Markdown.vue +20 -0
- package/src/content/Marquee.vue +29 -0
- package/src/content/Meter.vue +38 -0
- package/src/content/ScrollArea.vue +23 -0
- package/src/content/Skeleton.vue +26 -0
- package/src/content/Spinner.vue +23 -0
- package/src/content/Stack.vue +32 -0
- package/src/content/Stat.vue +23 -0
- package/src/content/Step.vue +20 -0
- package/src/content/Stepper.vue +23 -0
- package/src/content/Table.vue +29 -0
- package/src/content/Tag.vue +30 -0
- package/src/content/Text.vue +23 -0
- package/src/content/Timeline.vue +20 -0
- package/src/content/TimelineItem.vue +23 -0
- package/src/content/Truncate.vue +27 -0
- package/src/content/ValueCard.vue +26 -0
- package/src/content/index.ts +37 -0
- package/src/feedback/Alert.vue +30 -0
- package/src/feedback/CommandItem.vue +23 -0
- package/src/feedback/CommandPalette.vue +37 -0
- package/src/feedback/ContextMenu.vue +38 -0
- package/src/feedback/Dialog.vue +34 -0
- package/src/feedback/DropdownMenu.vue +31 -0
- package/src/feedback/HoverCard.vue +34 -0
- package/src/feedback/Modal.vue +34 -0
- package/src/feedback/NotificationPanel.vue +31 -0
- package/src/feedback/Popover.vue +30 -0
- package/src/feedback/Progress.vue +32 -0
- package/src/feedback/Sheet.vue +31 -0
- package/src/feedback/Toast.vue +30 -0
- package/src/feedback/Tooltip.vue +29 -0
- package/src/index.ts +116 -0
- package/src/input/Button.vue +32 -0
- package/src/input/Calendar.vue +40 -0
- package/src/input/Checkbox.vue +39 -0
- package/src/input/Chip.vue +30 -0
- package/src/input/ColorPicker.vue +51 -0
- package/src/input/Combobox.vue +45 -0
- package/src/input/CopyButton.vue +30 -0
- package/src/input/DatePicker.vue +51 -0
- package/src/input/FileUpload.vue +43 -0
- package/src/input/Form.vue +31 -0
- package/src/input/IconButton.vue +41 -0
- package/src/input/Input.vue +49 -0
- package/src/input/MultiSelect.vue +45 -0
- package/src/input/NumberInput.vue +39 -0
- package/src/input/OtpInput.vue +33 -0
- package/src/input/PinInput.vue +43 -0
- package/src/input/Radio.vue +23 -0
- package/src/input/RadioGroup.vue +36 -0
- package/src/input/Rating.vue +33 -0
- package/src/input/Search.vue +48 -0
- package/src/input/SegmentedControl.vue +30 -0
- package/src/input/Select.vue +42 -0
- package/src/input/Slider.vue +40 -0
- package/src/input/SortableList.vue +39 -0
- package/src/input/Suggestion.vue +20 -0
- package/src/input/Textarea.vue +49 -0
- package/src/input/ThemeToggle.vue +30 -0
- package/src/input/Toggle.vue +33 -0
- package/src/layout/AppShell.vue +29 -0
- package/src/layout/AuthShell.vue +20 -0
- package/src/layout/Container.vue +20 -0
- package/src/layout/DashboardGrid.vue +26 -0
- package/src/layout/PageHeader.vue +23 -0
- package/src/layout/PageLayout.vue +26 -0
- package/src/layout/Resizable.vue +36 -0
- package/src/layout/Section.vue +20 -0
- package/src/layout/SettingsLayout.vue +20 -0
- package/src/layout/SplitPane.vue +33 -0
- package/src/layout/StatusBar.vue +20 -0
- package/src/layout/Toolbar.vue +26 -0
- package/src/navigation/Breadcrumb.vue +24 -0
- package/src/navigation/BreadcrumbItem.vue +20 -0
- package/src/navigation/Drawer.vue +30 -0
- package/src/navigation/Footer.vue +23 -0
- package/src/navigation/Link.vue +29 -0
- package/src/navigation/NavItem.vue +26 -0
- package/src/navigation/NavigationMenu.vue +36 -0
- package/src/navigation/Pagination.vue +30 -0
- package/src/navigation/ScrollSpy.vue +33 -0
- package/src/navigation/ScrollToTop.vue +32 -0
- package/src/navigation/Sidebar.vue +32 -0
- package/src/navigation/SidebarLink.vue +23 -0
- package/src/navigation/SidebarSection.vue +30 -0
- package/src/navigation/SpyLink.vue +20 -0
- package/src/navigation/Tab.vue +20 -0
- package/src/navigation/Tabs.vue +30 -0
- package/src/navigation/TopBar.vue +32 -0
- package/src/navigation/TreeItem.vue +26 -0
- package/src/navigation/TreeView.vue +28 -0
- package/src/reactive/Accordion.vue +23 -0
- package/src/reactive/AccordionItem.vue +20 -0
- package/src/reactive/Alert.vue +30 -0
- package/src/reactive/Button.vue +32 -0
- package/src/reactive/Calendar.vue +40 -0
- package/src/reactive/Carousel.vue +42 -0
- package/src/reactive/Checkbox.vue +39 -0
- package/src/reactive/Chip.vue +30 -0
- package/src/reactive/Collapsible.vue +27 -0
- package/src/reactive/ColorPicker.vue +51 -0
- package/src/reactive/Column.vue +29 -0
- package/src/reactive/Combobox.vue +45 -0
- package/src/reactive/CommandItem.vue +23 -0
- package/src/reactive/CommandPalette.vue +37 -0
- package/src/reactive/ContextMenu.vue +38 -0
- package/src/reactive/CopyButton.vue +30 -0
- package/src/reactive/DataTable.vue +44 -0
- package/src/reactive/DatePicker.vue +51 -0
- package/src/reactive/Dialog.vue +34 -0
- package/src/reactive/Drawer.vue +30 -0
- package/src/reactive/DropdownMenu.vue +31 -0
- package/src/reactive/FileUpload.vue +43 -0
- package/src/reactive/Form.vue +31 -0
- package/src/reactive/HoverCard.vue +34 -0
- package/src/reactive/IconButton.vue +41 -0
- package/src/reactive/InfiniteScroll.vue +33 -0
- package/src/reactive/Input.vue +49 -0
- package/src/reactive/Modal.vue +34 -0
- package/src/reactive/MultiSelect.vue +45 -0
- package/src/reactive/NumberInput.vue +39 -0
- package/src/reactive/OtpInput.vue +33 -0
- package/src/reactive/Pagination.vue +30 -0
- package/src/reactive/PinInput.vue +43 -0
- package/src/reactive/Popover.vue +30 -0
- package/src/reactive/Progress.vue +32 -0
- package/src/reactive/Radio.vue +23 -0
- package/src/reactive/RadioGroup.vue +36 -0
- package/src/reactive/Rating.vue +33 -0
- package/src/reactive/ScrollToTop.vue +32 -0
- package/src/reactive/Search.vue +48 -0
- package/src/reactive/SegmentedControl.vue +30 -0
- package/src/reactive/Select.vue +42 -0
- package/src/reactive/Sheet.vue +31 -0
- package/src/reactive/Slider.vue +40 -0
- package/src/reactive/SortableList.vue +39 -0
- package/src/reactive/Suggestion.vue +20 -0
- package/src/reactive/Tab.vue +20 -0
- package/src/reactive/Tabs.vue +30 -0
- package/src/reactive/Tag.vue +30 -0
- package/src/reactive/Textarea.vue +49 -0
- package/src/reactive/ThemeToggle.vue +30 -0
- package/src/reactive/Toast.vue +30 -0
- package/src/reactive/Toggle.vue +33 -0
- package/src/reactive/Tooltip.vue +29 -0
- package/src/reactive/TreeItem.vue +26 -0
- package/src/reactive/TreeView.vue +28 -0
- package/src/reactive/Truncate.vue +27 -0
- package/src/reactive/index.ts +53 -0
- package/src/shared/MenuDivider.vue +13 -0
- package/src/shared/MenuItem.vue +26 -0
- package/src/shared/Option.vue +26 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Arclight Digital, LLC
|
|
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
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# @arclux/arc-ui-vue
|
|
2
|
+
|
|
3
|
+
Vue 3 component wrappers for [ARC UI](https://arcui.dev) web components.
|
|
4
|
+
|
|
5
|
+
> **Auto-generated** -- this package is produced by [Prism](../../prism.config.js) from the canonical source in [`@arclux/arc-ui`](../web-components/). Do not edit by hand.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @arclux/arc-ui-vue @arclux/arc-ui
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Requires `vue >= 3.3.0`.
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
```vue
|
|
18
|
+
<script setup>
|
|
19
|
+
import { Button, Card, Input } from '@arclux/arc-ui-vue';
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
<template>
|
|
23
|
+
<Button variant="primary" @click="console.log('clicked')">
|
|
24
|
+
Get Started
|
|
25
|
+
</Button>
|
|
26
|
+
|
|
27
|
+
<Card>
|
|
28
|
+
<h3>Card Title</h3>
|
|
29
|
+
<p>Card content.</p>
|
|
30
|
+
</Card>
|
|
31
|
+
|
|
32
|
+
<Input label="Email" type="email" placeholder="you@example.com" />
|
|
33
|
+
</template>
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Components are organized by category and can be imported from subpaths:
|
|
37
|
+
|
|
38
|
+
```js
|
|
39
|
+
import { Button } from '@arclux/arc-ui-vue/input';
|
|
40
|
+
import { Card } from '@arclux/arc-ui-vue/content';
|
|
41
|
+
import { AppShell } from '@arclux/arc-ui-vue/layout';
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Documentation
|
|
45
|
+
|
|
46
|
+
Full component docs and interactive examples: [arcui.dev](https://arcui.dev)
|
|
47
|
+
|
|
48
|
+
## Links
|
|
49
|
+
|
|
50
|
+
- [Canonical source (`@arclux/arc-ui`)](../web-components/)
|
|
51
|
+
- [Root README](../../README.md)
|
|
52
|
+
- [License](../../LICENSE)
|
package/package.json
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@arclux/arc-ui-vue",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Vue 3 wrappers for ARC UI Web Components.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "src/index.ts",
|
|
7
|
+
"module": "src/index.ts",
|
|
8
|
+
"types": "src/index.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./src/index.ts",
|
|
12
|
+
"default": "./src/index.ts"
|
|
13
|
+
},
|
|
14
|
+
"./content": {
|
|
15
|
+
"types": "./src/content/index.ts",
|
|
16
|
+
"default": "./src/content/index.ts"
|
|
17
|
+
},
|
|
18
|
+
"./input": {
|
|
19
|
+
"types": "./src/input/index.ts",
|
|
20
|
+
"default": "./src/input/index.ts"
|
|
21
|
+
},
|
|
22
|
+
"./feedback": {
|
|
23
|
+
"types": "./src/feedback/index.ts",
|
|
24
|
+
"default": "./src/feedback/index.ts"
|
|
25
|
+
},
|
|
26
|
+
"./navigation": {
|
|
27
|
+
"types": "./src/navigation/index.ts",
|
|
28
|
+
"default": "./src/navigation/index.ts"
|
|
29
|
+
},
|
|
30
|
+
"./layout": {
|
|
31
|
+
"types": "./src/layout/index.ts",
|
|
32
|
+
"default": "./src/layout/index.ts"
|
|
33
|
+
},
|
|
34
|
+
"./shared": {
|
|
35
|
+
"types": "./src/shared/index.ts",
|
|
36
|
+
"default": "./src/shared/index.ts"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"src/"
|
|
41
|
+
],
|
|
42
|
+
"sideEffects": false,
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"vue": ">=3.3.0"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@arclux/arc-ui": "1.0.0"
|
|
48
|
+
},
|
|
49
|
+
"license": "MIT",
|
|
50
|
+
"keywords": [
|
|
51
|
+
"vue",
|
|
52
|
+
"web-components",
|
|
53
|
+
"design-system",
|
|
54
|
+
"arclight"
|
|
55
|
+
],
|
|
56
|
+
"repository": {
|
|
57
|
+
"type": "git",
|
|
58
|
+
"url": "https://github.com/arclight-digital/arc-ui",
|
|
59
|
+
"directory": "packages/vue"
|
|
60
|
+
},
|
|
61
|
+
"homepage": "https://arcui.dev",
|
|
62
|
+
"bugs": {
|
|
63
|
+
"url": "https://github.com/arclight-digital/arc-ui/issues"
|
|
64
|
+
},
|
|
65
|
+
"publishConfig": {
|
|
66
|
+
"access": "public"
|
|
67
|
+
},
|
|
68
|
+
"scripts": {
|
|
69
|
+
"build": "echo 'Consumed directly via workspace — no build step required'"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!-- Auto-generated by @arclux/prism — do not edit manually -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
import '@arclux/arc-ui';
|
|
4
|
+
|
|
5
|
+
defineOptions({ name: 'AppShell' });
|
|
6
|
+
|
|
7
|
+
withDefaults(defineProps<{
|
|
8
|
+
sidebarOpen?: boolean;
|
|
9
|
+
}>(), {
|
|
10
|
+
sidebarOpen: false,
|
|
11
|
+
});
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<arc-app-shell
|
|
16
|
+
:sidebarOpen="sidebarOpen"
|
|
17
|
+
>
|
|
18
|
+
<slot />
|
|
19
|
+
</arc-app-shell>
|
|
20
|
+
</template>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!-- Auto-generated by @arclux/prism — do not edit manually -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
import '@arclux/arc-ui';
|
|
4
|
+
|
|
5
|
+
defineOptions({ name: 'AuthShell' });
|
|
6
|
+
|
|
7
|
+
withDefaults(defineProps<{
|
|
8
|
+
variant?: string;
|
|
9
|
+
}>(), {
|
|
10
|
+
variant: 'centered',
|
|
11
|
+
});
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<arc-auth-shell
|
|
16
|
+
:variant="variant"
|
|
17
|
+
>
|
|
18
|
+
<slot />
|
|
19
|
+
</arc-auth-shell>
|
|
20
|
+
</template>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!-- Auto-generated by @arclux/prism — do not edit manually -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
import '@arclux/arc-ui';
|
|
4
|
+
|
|
5
|
+
defineOptions({ name: 'Breadcrumb' });
|
|
6
|
+
|
|
7
|
+
withDefaults(defineProps<{
|
|
8
|
+
_items?: string;
|
|
9
|
+
}>(), {
|
|
10
|
+
_items: () => ([]),
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
defineEmits<{
|
|
14
|
+
'arc-navigate': [event: CustomEvent];
|
|
15
|
+
}>();
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<template>
|
|
19
|
+
<arc-breadcrumb
|
|
20
|
+
:_items="_items"
|
|
21
|
+
>
|
|
22
|
+
<slot />
|
|
23
|
+
</arc-breadcrumb>
|
|
24
|
+
</template>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!-- Auto-generated by @arclux/prism — do not edit manually -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
import '@arclux/arc-ui';
|
|
4
|
+
|
|
5
|
+
defineOptions({ name: 'BreadcrumbItem' });
|
|
6
|
+
|
|
7
|
+
withDefaults(defineProps<{
|
|
8
|
+
href?: string;
|
|
9
|
+
}>(), {
|
|
10
|
+
href: '',
|
|
11
|
+
});
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<arc-breadcrumb-item
|
|
16
|
+
:href="href"
|
|
17
|
+
>
|
|
18
|
+
<slot />
|
|
19
|
+
</arc-breadcrumb-item>
|
|
20
|
+
</template>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!-- Auto-generated by @arclux/prism — do not edit manually -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
import '@arclux/arc-ui';
|
|
4
|
+
|
|
5
|
+
defineOptions({ name: 'Container' });
|
|
6
|
+
|
|
7
|
+
withDefaults(defineProps<{
|
|
8
|
+
narrow?: boolean;
|
|
9
|
+
}>(), {
|
|
10
|
+
narrow: false,
|
|
11
|
+
});
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<arc-container
|
|
16
|
+
:narrow="narrow"
|
|
17
|
+
>
|
|
18
|
+
<slot />
|
|
19
|
+
</arc-container>
|
|
20
|
+
</template>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<!-- Auto-generated by @arclux/prism — do not edit manually -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
import '@arclux/arc-ui';
|
|
4
|
+
|
|
5
|
+
defineOptions({ name: 'DashboardGrid' });
|
|
6
|
+
|
|
7
|
+
withDefaults(defineProps<{
|
|
8
|
+
columns?: number;
|
|
9
|
+
gap?: string;
|
|
10
|
+
minColumnWidth?: string;
|
|
11
|
+
}>(), {
|
|
12
|
+
columns: 3,
|
|
13
|
+
gap: 'var(--space-lg)',
|
|
14
|
+
minColumnWidth: '280px',
|
|
15
|
+
});
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<template>
|
|
19
|
+
<arc-dashboard-grid
|
|
20
|
+
:columns="columns"
|
|
21
|
+
:gap="gap"
|
|
22
|
+
:minColumnWidth="minColumnWidth"
|
|
23
|
+
>
|
|
24
|
+
<slot />
|
|
25
|
+
</arc-dashboard-grid>
|
|
26
|
+
</template>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<!-- Auto-generated by @arclux/prism — do not edit manually -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
import '@arclux/arc-ui';
|
|
4
|
+
|
|
5
|
+
defineOptions({ name: 'Footer' });
|
|
6
|
+
|
|
7
|
+
withDefaults(defineProps<{
|
|
8
|
+
compact?: boolean;
|
|
9
|
+
border?: boolean;
|
|
10
|
+
}>(), {
|
|
11
|
+
compact: false,
|
|
12
|
+
border: true,
|
|
13
|
+
});
|
|
14
|
+
</script>
|
|
15
|
+
|
|
16
|
+
<template>
|
|
17
|
+
<arc-footer
|
|
18
|
+
:compact="compact"
|
|
19
|
+
:border="border"
|
|
20
|
+
>
|
|
21
|
+
<slot />
|
|
22
|
+
</arc-footer>
|
|
23
|
+
</template>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<!-- Auto-generated by @arclux/prism — do not edit manually -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
import '@arclux/arc-ui';
|
|
4
|
+
|
|
5
|
+
defineOptions({ name: 'NavItem' });
|
|
6
|
+
|
|
7
|
+
withDefaults(defineProps<{
|
|
8
|
+
href?: string;
|
|
9
|
+
active?: boolean;
|
|
10
|
+
description?: string;
|
|
11
|
+
}>(), {
|
|
12
|
+
href: '',
|
|
13
|
+
active: false,
|
|
14
|
+
description: '',
|
|
15
|
+
});
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<template>
|
|
19
|
+
<arc-nav-item
|
|
20
|
+
:href="href"
|
|
21
|
+
:active="active"
|
|
22
|
+
:description="description"
|
|
23
|
+
>
|
|
24
|
+
<slot />
|
|
25
|
+
</arc-nav-item>
|
|
26
|
+
</template>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<!-- Auto-generated by @arclux/prism — do not edit manually -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
import '@arclux/arc-ui';
|
|
4
|
+
|
|
5
|
+
defineOptions({ name: 'NavigationMenu' });
|
|
6
|
+
|
|
7
|
+
withDefaults(defineProps<{
|
|
8
|
+
_items?: string;
|
|
9
|
+
_openIndex?: string;
|
|
10
|
+
}>(), {
|
|
11
|
+
_items: () => ([]),
|
|
12
|
+
_openIndex: -1,
|
|
13
|
+
});
|
|
14
|
+
</script>
|
|
15
|
+
|
|
16
|
+
<template>
|
|
17
|
+
<arc-navigation-menu
|
|
18
|
+
:_items="_items"
|
|
19
|
+
:_openIndex="_openIndex"
|
|
20
|
+
>
|
|
21
|
+
<slot />
|
|
22
|
+
</arc-navigation-menu>
|
|
23
|
+
</template>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<!-- Auto-generated by @arclux/prism — do not edit manually -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
import '@arclux/arc-ui';
|
|
4
|
+
|
|
5
|
+
defineOptions({ name: 'NotificationPanel' });
|
|
6
|
+
|
|
7
|
+
withDefaults(defineProps<{
|
|
8
|
+
open?: boolean;
|
|
9
|
+
position?: string;
|
|
10
|
+
maxHeight?: string;
|
|
11
|
+
}>(), {
|
|
12
|
+
open: false,
|
|
13
|
+
position: 'top-right',
|
|
14
|
+
maxHeight: '400px',
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
defineEmits<{
|
|
18
|
+
'arc-open': [event: CustomEvent];
|
|
19
|
+
'arc-close': [event: CustomEvent];
|
|
20
|
+
}>();
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
<template>
|
|
24
|
+
<arc-notification-panel
|
|
25
|
+
:open="open"
|
|
26
|
+
:position="position"
|
|
27
|
+
:maxHeight="maxHeight"
|
|
28
|
+
>
|
|
29
|
+
<slot />
|
|
30
|
+
</arc-notification-panel>
|
|
31
|
+
</template>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<!-- Auto-generated by @arclux/prism — do not edit manually -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
import '@arclux/arc-ui';
|
|
4
|
+
|
|
5
|
+
defineOptions({ name: 'PageHeader' });
|
|
6
|
+
|
|
7
|
+
withDefaults(defineProps<{
|
|
8
|
+
heading?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
}>(), {
|
|
11
|
+
heading: '',
|
|
12
|
+
description: '',
|
|
13
|
+
});
|
|
14
|
+
</script>
|
|
15
|
+
|
|
16
|
+
<template>
|
|
17
|
+
<arc-page-header
|
|
18
|
+
:heading="heading"
|
|
19
|
+
:description="description"
|
|
20
|
+
>
|
|
21
|
+
<slot />
|
|
22
|
+
</arc-page-header>
|
|
23
|
+
</template>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<!-- Auto-generated by @arclux/prism — do not edit manually -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
import '@arclux/arc-ui';
|
|
4
|
+
|
|
5
|
+
defineOptions({ name: 'PageLayout' });
|
|
6
|
+
|
|
7
|
+
withDefaults(defineProps<{
|
|
8
|
+
layout?: string;
|
|
9
|
+
maxWidth?: string;
|
|
10
|
+
gap?: string;
|
|
11
|
+
}>(), {
|
|
12
|
+
layout: 'centered',
|
|
13
|
+
maxWidth: '1120px',
|
|
14
|
+
gap: 'var(--space-xl)',
|
|
15
|
+
});
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<template>
|
|
19
|
+
<arc-page-layout
|
|
20
|
+
:layout="layout"
|
|
21
|
+
:maxWidth="maxWidth"
|
|
22
|
+
:gap="gap"
|
|
23
|
+
>
|
|
24
|
+
<slot />
|
|
25
|
+
</arc-page-layout>
|
|
26
|
+
</template>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<!-- Auto-generated by @arclux/prism — do not edit manually -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
import '@arclux/arc-ui';
|
|
4
|
+
|
|
5
|
+
defineOptions({ name: 'Resizable' });
|
|
6
|
+
|
|
7
|
+
withDefaults(defineProps<{
|
|
8
|
+
direction?: 'horizontal' | 'vertical';
|
|
9
|
+
minSize?: number;
|
|
10
|
+
maxSize?: number;
|
|
11
|
+
size?: number;
|
|
12
|
+
_dragging?: string;
|
|
13
|
+
}>(), {
|
|
14
|
+
direction: 'horizontal',
|
|
15
|
+
minSize: 100,
|
|
16
|
+
maxSize: Infinity,
|
|
17
|
+
size: 300,
|
|
18
|
+
_dragging: false,
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
defineEmits<{
|
|
22
|
+
'arc-resize': [event: CustomEvent];
|
|
23
|
+
}>();
|
|
24
|
+
</script>
|
|
25
|
+
|
|
26
|
+
<template>
|
|
27
|
+
<arc-resizable
|
|
28
|
+
:direction="direction"
|
|
29
|
+
:minSize="minSize"
|
|
30
|
+
:maxSize="maxSize"
|
|
31
|
+
:size="size"
|
|
32
|
+
:_dragging="_dragging"
|
|
33
|
+
>
|
|
34
|
+
<slot />
|
|
35
|
+
</arc-resizable>
|
|
36
|
+
</template>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<!-- Auto-generated by @arclux/prism — do not edit manually -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
import '@arclux/arc-ui';
|
|
4
|
+
|
|
5
|
+
defineOptions({ name: 'ScrollSpy' });
|
|
6
|
+
|
|
7
|
+
withDefaults(defineProps<{
|
|
8
|
+
active?: string;
|
|
9
|
+
offset?: number;
|
|
10
|
+
_active?: string;
|
|
11
|
+
_links?: string;
|
|
12
|
+
}>(), {
|
|
13
|
+
active: '',
|
|
14
|
+
offset: 80,
|
|
15
|
+
_active: '',
|
|
16
|
+
_links: () => ([]),
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
defineEmits<{
|
|
20
|
+
'arc-change': [event: CustomEvent];
|
|
21
|
+
}>();
|
|
22
|
+
</script>
|
|
23
|
+
|
|
24
|
+
<template>
|
|
25
|
+
<arc-scroll-spy
|
|
26
|
+
:active="active"
|
|
27
|
+
:offset="offset"
|
|
28
|
+
:_active="_active"
|
|
29
|
+
:_links="_links"
|
|
30
|
+
>
|
|
31
|
+
<slot />
|
|
32
|
+
</arc-scroll-spy>
|
|
33
|
+
</template>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!-- Auto-generated by @arclux/prism — do not edit manually -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
import '@arclux/arc-ui';
|
|
4
|
+
|
|
5
|
+
defineOptions({ name: 'Section' });
|
|
6
|
+
|
|
7
|
+
withDefaults(defineProps<{
|
|
8
|
+
label?: string;
|
|
9
|
+
}>(), {
|
|
10
|
+
label: '',
|
|
11
|
+
});
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<arc-section
|
|
16
|
+
:label="label"
|
|
17
|
+
>
|
|
18
|
+
<slot />
|
|
19
|
+
</arc-section>
|
|
20
|
+
</template>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!-- Auto-generated by @arclux/prism — do not edit manually -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
import '@arclux/arc-ui';
|
|
4
|
+
|
|
5
|
+
defineOptions({ name: 'SettingsLayout' });
|
|
6
|
+
|
|
7
|
+
withDefaults(defineProps<{
|
|
8
|
+
navPosition?: string;
|
|
9
|
+
}>(), {
|
|
10
|
+
navPosition: 'left',
|
|
11
|
+
});
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<arc-settings-layout
|
|
16
|
+
:navPosition="navPosition"
|
|
17
|
+
>
|
|
18
|
+
<slot />
|
|
19
|
+
</arc-settings-layout>
|
|
20
|
+
</template>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<!-- Auto-generated by @arclux/prism — do not edit manually -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
import '@arclux/arc-ui';
|
|
4
|
+
|
|
5
|
+
defineOptions({ name: 'Sidebar' });
|
|
6
|
+
|
|
7
|
+
withDefaults(defineProps<{
|
|
8
|
+
active?: string;
|
|
9
|
+
collapsed?: boolean;
|
|
10
|
+
width?: string;
|
|
11
|
+
glow?: boolean;
|
|
12
|
+
_sections?: string;
|
|
13
|
+
}>(), {
|
|
14
|
+
active: '',
|
|
15
|
+
collapsed: false,
|
|
16
|
+
width: '260px',
|
|
17
|
+
glow: false,
|
|
18
|
+
_sections: () => ([]),
|
|
19
|
+
});
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
<template>
|
|
23
|
+
<arc-sidebar
|
|
24
|
+
:active="active"
|
|
25
|
+
:collapsed="collapsed"
|
|
26
|
+
:width="width"
|
|
27
|
+
:glow="glow"
|
|
28
|
+
:_sections="_sections"
|
|
29
|
+
>
|
|
30
|
+
<slot />
|
|
31
|
+
</arc-sidebar>
|
|
32
|
+
</template>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<!-- Auto-generated by @arclux/prism — do not edit manually -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
import '@arclux/arc-ui';
|
|
4
|
+
|
|
5
|
+
defineOptions({ name: 'SidebarLink' });
|
|
6
|
+
|
|
7
|
+
withDefaults(defineProps<{
|
|
8
|
+
href?: string;
|
|
9
|
+
active?: boolean;
|
|
10
|
+
}>(), {
|
|
11
|
+
href: '',
|
|
12
|
+
active: false,
|
|
13
|
+
});
|
|
14
|
+
</script>
|
|
15
|
+
|
|
16
|
+
<template>
|
|
17
|
+
<arc-sidebar-link
|
|
18
|
+
:href="href"
|
|
19
|
+
:active="active"
|
|
20
|
+
>
|
|
21
|
+
<slot />
|
|
22
|
+
</arc-sidebar-link>
|
|
23
|
+
</template>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<!-- Auto-generated by @arclux/prism — do not edit manually -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
import '@arclux/arc-ui';
|
|
4
|
+
|
|
5
|
+
defineOptions({ name: 'SidebarSection' });
|
|
6
|
+
|
|
7
|
+
withDefaults(defineProps<{
|
|
8
|
+
heading?: string;
|
|
9
|
+
collapsible?: boolean;
|
|
10
|
+
open?: boolean;
|
|
11
|
+
}>(), {
|
|
12
|
+
heading: '',
|
|
13
|
+
collapsible: false,
|
|
14
|
+
open: true,
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
defineEmits<{
|
|
18
|
+
'arc-toggle': [event: CustomEvent];
|
|
19
|
+
}>();
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
<template>
|
|
23
|
+
<arc-sidebar-section
|
|
24
|
+
:heading="heading"
|
|
25
|
+
:collapsible="collapsible"
|
|
26
|
+
:open="open"
|
|
27
|
+
>
|
|
28
|
+
<slot />
|
|
29
|
+
</arc-sidebar-section>
|
|
30
|
+
</template>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<!-- Auto-generated by @arclux/prism — do not edit manually -->
|
|
2
|
+
<script setup lang="ts">
|
|
3
|
+
import '@arclux/arc-ui';
|
|
4
|
+
|
|
5
|
+
defineOptions({ name: 'SplitPane' });
|
|
6
|
+
|
|
7
|
+
withDefaults(defineProps<{
|
|
8
|
+
orientation?: string;
|
|
9
|
+
ratio?: number;
|
|
10
|
+
minRatio?: number;
|
|
11
|
+
maxRatio?: number;
|
|
12
|
+
}>(), {
|
|
13
|
+
orientation: 'horizontal',
|
|
14
|
+
ratio: 0.5,
|
|
15
|
+
minRatio: 0.15,
|
|
16
|
+
maxRatio: 0.85,
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
defineEmits<{
|
|
20
|
+
'arc-resize': [event: CustomEvent];
|
|
21
|
+
}>();
|
|
22
|
+
</script>
|
|
23
|
+
|
|
24
|
+
<template>
|
|
25
|
+
<arc-split-pane
|
|
26
|
+
:orientation="orientation"
|
|
27
|
+
:ratio="ratio"
|
|
28
|
+
:minRatio="minRatio"
|
|
29
|
+
:maxRatio="maxRatio"
|
|
30
|
+
>
|
|
31
|
+
<slot />
|
|
32
|
+
</arc-split-pane>
|
|
33
|
+
</template>
|