@arclux/arc-ui-vue 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/content/Card.vue +3 -0
- package/src/content/CtaBanner.vue +26 -0
- package/src/content/index.ts +1 -0
- package/src/index.ts +1 -0
- package/src/input/Form.vue +13 -0
- package/src/layout/PageHeader.vue +3 -0
- package/src/navigation/NavItem.vue +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arclux/arc-ui-vue",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Vue 3 wrappers for ARC UI Web Components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"vue": ">=3.3.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@arclux/arc-ui": "1.
|
|
47
|
+
"@arclux/arc-ui": "1.1.0"
|
|
48
48
|
},
|
|
49
49
|
"license": "MIT",
|
|
50
50
|
"keywords": [
|
package/src/content/Card.vue
CHANGED
|
@@ -6,14 +6,17 @@ defineOptions({ name: 'Card' });
|
|
|
6
6
|
|
|
7
7
|
withDefaults(defineProps<{
|
|
8
8
|
href?: string;
|
|
9
|
+
_hasFooter?: string;
|
|
9
10
|
}>(), {
|
|
10
11
|
href: '',
|
|
12
|
+
_hasFooter: false,
|
|
11
13
|
});
|
|
12
14
|
</script>
|
|
13
15
|
|
|
14
16
|
<template>
|
|
15
17
|
<arc-card
|
|
16
18
|
:href="href"
|
|
19
|
+
:_hasFooter="_hasFooter"
|
|
17
20
|
>
|
|
18
21
|
<slot />
|
|
19
22
|
</arc-card>
|
|
@@ -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: 'CtaBanner' });
|
|
6
|
+
|
|
7
|
+
withDefaults(defineProps<{
|
|
8
|
+
eyebrow?: string;
|
|
9
|
+
headline?: string;
|
|
10
|
+
nogradient?: boolean;
|
|
11
|
+
}>(), {
|
|
12
|
+
eyebrow: '',
|
|
13
|
+
headline: '',
|
|
14
|
+
nogradient: false,
|
|
15
|
+
});
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<template>
|
|
19
|
+
<arc-cta-banner
|
|
20
|
+
:eyebrow="eyebrow"
|
|
21
|
+
:headline="headline"
|
|
22
|
+
:nogradient="nogradient"
|
|
23
|
+
>
|
|
24
|
+
<slot />
|
|
25
|
+
</arc-cta-banner>
|
|
26
|
+
</template>
|
package/src/content/index.ts
CHANGED
|
@@ -35,3 +35,4 @@ export { default as DataTable } from './DataTable.vue';
|
|
|
35
35
|
export { default as InfiniteScroll } from './InfiniteScroll.vue';
|
|
36
36
|
export { default as Tag } from './Tag.vue';
|
|
37
37
|
export { default as Truncate } from './Truncate.vue';
|
|
38
|
+
export { default as CtaBanner } from './CtaBanner.vue';
|
package/src/index.ts
CHANGED
|
@@ -114,3 +114,4 @@ export { default as Truncate } from './reactive/Truncate.vue';
|
|
|
114
114
|
export { default as MenuDivider } from './shared/MenuDivider.vue';
|
|
115
115
|
export { default as MenuItem } from './shared/MenuItem.vue';
|
|
116
116
|
export { default as Option } from './shared/Option.vue';
|
|
117
|
+
export { default as CtaBanner } from './content/CtaBanner.vue';
|
package/src/input/Form.vue
CHANGED
|
@@ -8,15 +8,24 @@ withDefaults(defineProps<{
|
|
|
8
8
|
action?: string;
|
|
9
9
|
method?: string;
|
|
10
10
|
novalidate?: boolean;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
errorSummary?: boolean;
|
|
14
|
+
_errors?: string;
|
|
11
15
|
}>(), {
|
|
12
16
|
action: '',
|
|
13
17
|
method: '',
|
|
14
18
|
novalidate: false,
|
|
19
|
+
loading: false,
|
|
20
|
+
disabled: false,
|
|
21
|
+
errorSummary: true,
|
|
22
|
+
_errors: () => ([]),
|
|
15
23
|
});
|
|
16
24
|
|
|
17
25
|
defineEmits<{
|
|
18
26
|
'arc-invalid': [event: CustomEvent];
|
|
19
27
|
'arc-submit': [event: CustomEvent];
|
|
28
|
+
'arc-reset': [event: CustomEvent];
|
|
20
29
|
}>();
|
|
21
30
|
</script>
|
|
22
31
|
|
|
@@ -25,6 +34,10 @@ defineEmits<{
|
|
|
25
34
|
:action="action"
|
|
26
35
|
:method="method"
|
|
27
36
|
:novalidate="novalidate"
|
|
37
|
+
:loading="loading"
|
|
38
|
+
:disabled="disabled"
|
|
39
|
+
:errorSummary="errorSummary"
|
|
40
|
+
:_errors="_errors"
|
|
28
41
|
>
|
|
29
42
|
<slot />
|
|
30
43
|
</arc-form>
|
|
@@ -7,9 +7,11 @@ defineOptions({ name: 'PageHeader' });
|
|
|
7
7
|
withDefaults(defineProps<{
|
|
8
8
|
heading?: string;
|
|
9
9
|
description?: string;
|
|
10
|
+
border?: boolean;
|
|
10
11
|
}>(), {
|
|
11
12
|
heading: '',
|
|
12
13
|
description: '',
|
|
14
|
+
border: false,
|
|
13
15
|
});
|
|
14
16
|
</script>
|
|
15
17
|
|
|
@@ -17,6 +19,7 @@ withDefaults(defineProps<{
|
|
|
17
19
|
<arc-page-header
|
|
18
20
|
:heading="heading"
|
|
19
21
|
:description="description"
|
|
22
|
+
:border="border"
|
|
20
23
|
>
|
|
21
24
|
<slot />
|
|
22
25
|
</arc-page-header>
|
|
@@ -7,10 +7,12 @@ defineOptions({ name: 'NavItem' });
|
|
|
7
7
|
withDefaults(defineProps<{
|
|
8
8
|
href?: string;
|
|
9
9
|
active?: boolean;
|
|
10
|
+
muted?: boolean;
|
|
10
11
|
description?: string;
|
|
11
12
|
}>(), {
|
|
12
13
|
href: '',
|
|
13
14
|
active: false,
|
|
15
|
+
muted: false,
|
|
14
16
|
description: '',
|
|
15
17
|
});
|
|
16
18
|
</script>
|
|
@@ -19,6 +21,7 @@ withDefaults(defineProps<{
|
|
|
19
21
|
<arc-nav-item
|
|
20
22
|
:href="href"
|
|
21
23
|
:active="active"
|
|
24
|
+
:muted="muted"
|
|
22
25
|
:description="description"
|
|
23
26
|
>
|
|
24
27
|
<slot />
|