@vuecs/elements 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.
Files changed (104) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +21 -0
  3. package/dist/components/alert/Alert.vue.d.ts +177 -0
  4. package/dist/components/alert/Alert.vue.d.ts.map +1 -0
  5. package/dist/components/alert/AlertClose.vue.d.ts +110 -0
  6. package/dist/components/alert/AlertClose.vue.d.ts.map +1 -0
  7. package/dist/components/alert/AlertDescription.vue.d.ts +56 -0
  8. package/dist/components/alert/AlertDescription.vue.d.ts.map +1 -0
  9. package/dist/components/alert/AlertTitle.vue.d.ts +71 -0
  10. package/dist/components/alert/AlertTitle.vue.d.ts.map +1 -0
  11. package/dist/components/alert/index.d.ts +11 -0
  12. package/dist/components/alert/index.d.ts.map +1 -0
  13. package/dist/components/alert/theme.d.ts +6 -0
  14. package/dist/components/alert/theme.d.ts.map +1 -0
  15. package/dist/components/alert/types.d.ts +44 -0
  16. package/dist/components/alert/types.d.ts.map +1 -0
  17. package/dist/components/aspect-ratio/AspectRatio.vue.d.ts +63 -0
  18. package/dist/components/aspect-ratio/AspectRatio.vue.d.ts.map +1 -0
  19. package/dist/components/aspect-ratio/index.d.ts +5 -0
  20. package/dist/components/aspect-ratio/index.d.ts.map +1 -0
  21. package/dist/components/aspect-ratio/theme.d.ts +4 -0
  22. package/dist/components/aspect-ratio/theme.d.ts.map +1 -0
  23. package/dist/components/aspect-ratio/types.d.ts +11 -0
  24. package/dist/components/aspect-ratio/types.d.ts.map +1 -0
  25. package/dist/components/avatar/Avatar.vue.d.ts +174 -0
  26. package/dist/components/avatar/Avatar.vue.d.ts.map +1 -0
  27. package/dist/components/avatar/index.d.ts +5 -0
  28. package/dist/components/avatar/index.d.ts.map +1 -0
  29. package/dist/components/avatar/theme.d.ts +4 -0
  30. package/dist/components/avatar/theme.d.ts.map +1 -0
  31. package/dist/components/avatar/types.d.ts +16 -0
  32. package/dist/components/avatar/types.d.ts.map +1 -0
  33. package/dist/components/badge/Badge.vue.d.ts +104 -0
  34. package/dist/components/badge/Badge.vue.d.ts.map +1 -0
  35. package/dist/components/badge/index.d.ts +5 -0
  36. package/dist/components/badge/index.d.ts.map +1 -0
  37. package/dist/components/badge/theme.d.ts +4 -0
  38. package/dist/components/badge/theme.d.ts.map +1 -0
  39. package/dist/components/badge/types.d.ts +14 -0
  40. package/dist/components/badge/types.d.ts.map +1 -0
  41. package/dist/components/card/Card.vue.d.ts +120 -0
  42. package/dist/components/card/Card.vue.d.ts.map +1 -0
  43. package/dist/components/card/CardBody.vue.d.ts +79 -0
  44. package/dist/components/card/CardBody.vue.d.ts.map +1 -0
  45. package/dist/components/card/CardDescription.vue.d.ts +79 -0
  46. package/dist/components/card/CardDescription.vue.d.ts.map +1 -0
  47. package/dist/components/card/CardFooter.vue.d.ts +79 -0
  48. package/dist/components/card/CardFooter.vue.d.ts.map +1 -0
  49. package/dist/components/card/CardHeader.vue.d.ts +79 -0
  50. package/dist/components/card/CardHeader.vue.d.ts.map +1 -0
  51. package/dist/components/card/CardTitle.vue.d.ts +79 -0
  52. package/dist/components/card/CardTitle.vue.d.ts.map +1 -0
  53. package/dist/components/card/context.d.ts +17 -0
  54. package/dist/components/card/context.d.ts.map +1 -0
  55. package/dist/components/card/index.d.ts +16 -0
  56. package/dist/components/card/index.d.ts.map +1 -0
  57. package/dist/components/card/theme.d.ts +9 -0
  58. package/dist/components/card/theme.d.ts.map +1 -0
  59. package/dist/components/card/types.d.ts +38 -0
  60. package/dist/components/card/types.d.ts.map +1 -0
  61. package/dist/components/collapse/Collapse.vue.d.ts +153 -0
  62. package/dist/components/collapse/Collapse.vue.d.ts.map +1 -0
  63. package/dist/components/collapse/CollapseContent.vue.d.ts +97 -0
  64. package/dist/components/collapse/CollapseContent.vue.d.ts.map +1 -0
  65. package/dist/components/collapse/CollapseTrigger.vue.d.ts +106 -0
  66. package/dist/components/collapse/CollapseTrigger.vue.d.ts.map +1 -0
  67. package/dist/components/collapse/index.d.ts +9 -0
  68. package/dist/components/collapse/index.d.ts.map +1 -0
  69. package/dist/components/collapse/theme.d.ts +6 -0
  70. package/dist/components/collapse/theme.d.ts.map +1 -0
  71. package/dist/components/collapse/types.d.ts +32 -0
  72. package/dist/components/collapse/types.d.ts.map +1 -0
  73. package/dist/components/index.d.ts +10 -0
  74. package/dist/components/index.d.ts.map +1 -0
  75. package/dist/components/separator/Separator.vue.d.ts +106 -0
  76. package/dist/components/separator/Separator.vue.d.ts.map +1 -0
  77. package/dist/components/separator/index.d.ts +5 -0
  78. package/dist/components/separator/index.d.ts.map +1 -0
  79. package/dist/components/separator/theme.d.ts +4 -0
  80. package/dist/components/separator/theme.d.ts.map +1 -0
  81. package/dist/components/separator/types.d.ts +11 -0
  82. package/dist/components/separator/types.d.ts.map +1 -0
  83. package/dist/components/tag/Tag.vue.d.ts +145 -0
  84. package/dist/components/tag/Tag.vue.d.ts.map +1 -0
  85. package/dist/components/tag/Tags.vue.d.ts +115 -0
  86. package/dist/components/tag/Tags.vue.d.ts.map +1 -0
  87. package/dist/components/tag/index.d.ts +7 -0
  88. package/dist/components/tag/index.d.ts.map +1 -0
  89. package/dist/components/tag/theme.d.ts +5 -0
  90. package/dist/components/tag/theme.d.ts.map +1 -0
  91. package/dist/components/tag/types.d.ts +41 -0
  92. package/dist/components/tag/types.d.ts.map +1 -0
  93. package/dist/components/visually-hidden/VisuallyHidden.vue.d.ts +29 -0
  94. package/dist/components/visually-hidden/VisuallyHidden.vue.d.ts.map +1 -0
  95. package/dist/components/visually-hidden/index.d.ts +3 -0
  96. package/dist/components/visually-hidden/index.d.ts.map +1 -0
  97. package/dist/index.d.ts +19 -0
  98. package/dist/index.d.ts.map +1 -0
  99. package/dist/index.mjs +1080 -0
  100. package/dist/index.mjs.map +1 -0
  101. package/dist/style.css +213 -0
  102. package/dist/vue.d.ts +45 -0
  103. package/dist/vue.d.ts.map +1 -0
  104. package/package.json +68 -0
@@ -0,0 +1,145 @@
1
+ import type { ExtractPublicPropTypes, PropType, SlotsType } from 'vue';
2
+ import type { ThemeClassesOverride, VariantValues } from '@vuecs/core';
3
+ import type { TagSize, TagThemeClasses } from './types';
4
+ export type TagSlotProps = {
5
+ /** Resolved theme class for the matching slot. */
6
+ class: string;
7
+ };
8
+ export type TagRemoveSlotProps = TagSlotProps & {
9
+ /** Invoke to fire the chip's `remove` event with its bound value. */
10
+ remove: () => void;
11
+ };
12
+ export type TagDefaultSlotProps = {
13
+ /** Resolved label string (`label ?? String(value) ?? ''`). */
14
+ label: string;
15
+ };
16
+ declare const tagProps: {
17
+ /** Bound value — emitted on remove, also used by `<VCTags>` as the chip key. */
18
+ value: {
19
+ type: PropType<string | number>;
20
+ default: any;
21
+ };
22
+ /** Display label. Default slot wins if both are passed. */
23
+ label: {
24
+ type: StringConstructor;
25
+ default: any;
26
+ };
27
+ /** Iconify-style icon name forwarded to the leading `icon` slot. */
28
+ icon: {
29
+ type: StringConstructor;
30
+ default: any;
31
+ };
32
+ /** When `true`, renders the trailing remove button. */
33
+ removable: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ /** Size variant key — resolved by the active theme. */
38
+ size: {
39
+ type: PropType<TagSize>;
40
+ default: any;
41
+ };
42
+ /** Theme-class overrides for this component instance. */
43
+ themeClass: {
44
+ type: PropType<ThemeClassesOverride<TagThemeClasses>>;
45
+ default: any;
46
+ };
47
+ /** Theme-variant values for this component instance. */
48
+ themeVariant: {
49
+ type: PropType<VariantValues>;
50
+ default: any;
51
+ };
52
+ };
53
+ export type TagProps = ExtractPublicPropTypes<typeof tagProps>;
54
+ declare const _default: typeof __VLS_export;
55
+ export default _default;
56
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
57
+ /** Bound value — emitted on remove, also used by `<VCTags>` as the chip key. */
58
+ value: {
59
+ type: PropType<string | number>;
60
+ default: any;
61
+ };
62
+ /** Display label. Default slot wins if both are passed. */
63
+ label: {
64
+ type: StringConstructor;
65
+ default: any;
66
+ };
67
+ /** Iconify-style icon name forwarded to the leading `icon` slot. */
68
+ icon: {
69
+ type: StringConstructor;
70
+ default: any;
71
+ };
72
+ /** When `true`, renders the trailing remove button. */
73
+ removable: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
77
+ /** Size variant key — resolved by the active theme. */
78
+ size: {
79
+ type: PropType<TagSize>;
80
+ default: any;
81
+ };
82
+ /** Theme-class overrides for this component instance. */
83
+ themeClass: {
84
+ type: PropType<ThemeClassesOverride<TagThemeClasses>>;
85
+ default: any;
86
+ };
87
+ /** Theme-variant values for this component instance. */
88
+ themeVariant: {
89
+ type: PropType<VariantValues>;
90
+ default: any;
91
+ };
92
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
93
+ [key: string]: any;
94
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove"[], "remove", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
95
+ /** Bound value — emitted on remove, also used by `<VCTags>` as the chip key. */
96
+ value: {
97
+ type: PropType<string | number>;
98
+ default: any;
99
+ };
100
+ /** Display label. Default slot wins if both are passed. */
101
+ label: {
102
+ type: StringConstructor;
103
+ default: any;
104
+ };
105
+ /** Iconify-style icon name forwarded to the leading `icon` slot. */
106
+ icon: {
107
+ type: StringConstructor;
108
+ default: any;
109
+ };
110
+ /** When `true`, renders the trailing remove button. */
111
+ removable: {
112
+ type: BooleanConstructor;
113
+ default: boolean;
114
+ };
115
+ /** Size variant key — resolved by the active theme. */
116
+ size: {
117
+ type: PropType<TagSize>;
118
+ default: any;
119
+ };
120
+ /** Theme-class overrides for this component instance. */
121
+ themeClass: {
122
+ type: PropType<ThemeClassesOverride<TagThemeClasses>>;
123
+ default: any;
124
+ };
125
+ /** Theme-variant values for this component instance. */
126
+ themeVariant: {
127
+ type: PropType<VariantValues>;
128
+ default: any;
129
+ };
130
+ }>> & Readonly<{
131
+ onRemove?: (...args: any[]) => any;
132
+ }>, {
133
+ icon: string;
134
+ themeClass: ThemeClassesOverride<TagThemeClasses>;
135
+ themeVariant: VariantValues;
136
+ size: TagSize;
137
+ value: string | number;
138
+ label: string;
139
+ removable: boolean;
140
+ }, SlotsType<{
141
+ default: TagDefaultSlotProps;
142
+ icon: TagSlotProps;
143
+ remove: TagRemoveSlotProps;
144
+ }>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
145
+ //# sourceMappingURL=Tag.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tag.vue.d.ts","sourceRoot":"","sources":["../../../src/components/tag/Tag.vue"],"names":[],"mappings":"AAyIA,OAAO,KAAK,EAAE,sBAAsB,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAEvE,OAAO,KAAK,EACR,oBAAoB,EAEpB,aAAa,EAChB,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAExD,MAAM,MAAM,YAAY,GAAG;IACvB,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG;IAC5C,qEAAqE;IACrE,MAAM,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAC9B,8DAA8D;IAC9D,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,QAAA,MAAM,QAAQ;IACV,gFAAgF;;cAC7C,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC;;;IAC5D,2DAA2D;;;;;IAE3D,oEAAoE;;;;;IAEpE,uDAAuD;;;;;IAEvD,uDAAuD;;cAC/B,QAAQ,CAAC,OAAO,CAAC;;;IACzC,yDAAyD;;cAC3B,QAAQ,CAAC,oBAAoB,CAAC,eAAe,CAAC,CAAC;;;IAC7E,wDAAwD;;cACxB,QAAQ,CAAC,aAAa,CAAC;;;CAC1D,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,sBAAsB,CAAC,OAAO,QAAQ,CAAC,CAAC;wBAE1C,OAAO,YAAY;AAAxC,wBAAyC;AAQzC,QAAA,MAAM,YAAY;IA1Bd,gFAAgF;;cAC7C,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC;;;IAC5D,2DAA2D;;;;;IAE3D,oEAAoE;;;;;IAEpE,uDAAuD;;;;;IAEvD,uDAAuD;;cAC/B,QAAQ,CAAC,OAAO,CAAC;;;IACzC,yDAAyD;;cAC3B,QAAQ,CAAC,oBAAoB,CAAC,eAAe,CAAC,CAAC;;;IAC7E,wDAAwD;;cACxB,QAAQ,CAAC,aAAa,CAAC;;;;;;IAbvD,gFAAgF;;cAC7C,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC;;;IAC5D,2DAA2D;;;;;IAE3D,oEAAoE;;;;;IAEpE,uDAAuD;;;;;IAEvD,uDAAuD;;cAC/B,QAAQ,CAAC,OAAO,CAAC;;;IACzC,yDAAyD;;cAC3B,QAAQ,CAAC,oBAAoB,CAAC,eAAe,CAAC,CAAC;;;IAC7E,wDAAwD;;cACxB,QAAQ,CAAC,aAAa,CAAC;;;;;;;;;;;;;;aAmB1C,mBAAmB;UACtB,YAAY;YACV,kBAAkB;yEAmEhC,CAAC"}
@@ -0,0 +1,115 @@
1
+ import type { ExtractPublicPropTypes, PropType, SlotsType } from 'vue';
2
+ import type { ThemeClassesOverride, VariantValues } from '@vuecs/core';
3
+ import type { TagItem, TagSize, TagsThemeClasses } from './types';
4
+ export type TagsItem = TagItem | string | number;
5
+ export type TagsSlotProps = {
6
+ item: TagItem;
7
+ index: number;
8
+ /** Resolved per-item wrapper class. */
9
+ class: string;
10
+ };
11
+ declare const tagsProps: {
12
+ /**
13
+ * Items to render. Strings/numbers are coerced to `{ value, label: String(value) }`.
14
+ * Objects follow the `TagItem` shape (structurally compatible with `FormOption`).
15
+ */
16
+ items: {
17
+ type: PropType<TagsItem[]>;
18
+ default: () => any[];
19
+ };
20
+ /** When `true`, every chip renders its remove button (per-item `disabled` opts out). */
21
+ removable: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ /** Default size forwarded to every chip; per-item `size` overrides. */
26
+ size: {
27
+ type: PropType<TagSize>;
28
+ default: any;
29
+ };
30
+ /** Theme-class overrides for this component instance. */
31
+ themeClass: {
32
+ type: PropType<ThemeClassesOverride<TagsThemeClasses>>;
33
+ default: any;
34
+ };
35
+ /** Theme-variant values for this component instance. */
36
+ themeVariant: {
37
+ type: PropType<VariantValues>;
38
+ default: any;
39
+ };
40
+ };
41
+ export type TagsProps = ExtractPublicPropTypes<typeof tagsProps>;
42
+ declare const _default: typeof __VLS_export;
43
+ export default _default;
44
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
45
+ /**
46
+ * Items to render. Strings/numbers are coerced to `{ value, label: String(value) }`.
47
+ * Objects follow the `TagItem` shape (structurally compatible with `FormOption`).
48
+ */
49
+ items: {
50
+ type: PropType<TagsItem[]>;
51
+ default: () => any[];
52
+ };
53
+ /** When `true`, every chip renders its remove button (per-item `disabled` opts out). */
54
+ removable: {
55
+ type: BooleanConstructor;
56
+ default: boolean;
57
+ };
58
+ /** Default size forwarded to every chip; per-item `size` overrides. */
59
+ size: {
60
+ type: PropType<TagSize>;
61
+ default: any;
62
+ };
63
+ /** Theme-class overrides for this component instance. */
64
+ themeClass: {
65
+ type: PropType<ThemeClassesOverride<TagsThemeClasses>>;
66
+ default: any;
67
+ };
68
+ /** Theme-variant values for this component instance. */
69
+ themeVariant: {
70
+ type: PropType<VariantValues>;
71
+ default: any;
72
+ };
73
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
74
+ [key: string]: any;
75
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "remove"[], "remove", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
76
+ /**
77
+ * Items to render. Strings/numbers are coerced to `{ value, label: String(value) }`.
78
+ * Objects follow the `TagItem` shape (structurally compatible with `FormOption`).
79
+ */
80
+ items: {
81
+ type: PropType<TagsItem[]>;
82
+ default: () => any[];
83
+ };
84
+ /** When `true`, every chip renders its remove button (per-item `disabled` opts out). */
85
+ removable: {
86
+ type: BooleanConstructor;
87
+ default: boolean;
88
+ };
89
+ /** Default size forwarded to every chip; per-item `size` overrides. */
90
+ size: {
91
+ type: PropType<TagSize>;
92
+ default: any;
93
+ };
94
+ /** Theme-class overrides for this component instance. */
95
+ themeClass: {
96
+ type: PropType<ThemeClassesOverride<TagsThemeClasses>>;
97
+ default: any;
98
+ };
99
+ /** Theme-variant values for this component instance. */
100
+ themeVariant: {
101
+ type: PropType<VariantValues>;
102
+ default: any;
103
+ };
104
+ }>> & Readonly<{
105
+ onRemove?: (...args: any[]) => any;
106
+ }>, {
107
+ themeClass: ThemeClassesOverride<TagsThemeClasses>;
108
+ themeVariant: VariantValues;
109
+ size: TagSize;
110
+ removable: boolean;
111
+ items: TagsItem[];
112
+ }, SlotsType<{
113
+ item: TagsSlotProps;
114
+ }>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
115
+ //# sourceMappingURL=Tags.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tags.vue.d.ts","sourceRoot":"","sources":["../../../src/components/tag/Tags.vue"],"names":[],"mappings":"AAwFA,OAAO,KAAK,EAAE,sBAAsB,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAEvE,OAAO,KAAK,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGvE,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAElE,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AAEjD,MAAM,MAAM,aAAa,GAAG;IACxB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,uCAAuC;IACvC,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,QAAA,MAAM,SAAS;IACX;;;OAGG;;cACqB,QAAQ,CAAC,QAAQ,EAAE,CAAC;;;IAC5C,wFAAwF;;;;;IAExF,uEAAuE;;cAC/C,QAAQ,CAAC,OAAO,CAAC;;;IACzC,yDAAyD;;cAC3B,QAAQ,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;;;IAC9E,wDAAwD;;cACxB,QAAQ,CAAC,aAAa,CAAC;;;CAC1D,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,sBAAsB,CAAC,OAAO,SAAS,CAAC,CAAC;wBAS5C,OAAO,YAAY;AAAxC,wBAAyC;AAQzC,QAAA,MAAM,YAAY;IAhCd;;;OAGG;;cACqB,QAAQ,CAAC,QAAQ,EAAE,CAAC;;;IAC5C,wFAAwF;;;;;IAExF,uEAAuE;;cAC/C,QAAQ,CAAC,OAAO,CAAC;;;IACzC,yDAAyD;;cAC3B,QAAQ,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;;;IAC9E,wDAAwD;;cACxB,QAAQ,CAAC,aAAa,CAAC;;;;;;IAZvD;;;OAGG;;cACqB,QAAQ,CAAC,QAAQ,EAAE,CAAC;;;IAC5C,wFAAwF;;;;;IAExF,uEAAuE;;cAC/C,QAAQ,CAAC,OAAO,CAAC;;;IACzC,yDAAyD;;cAC3B,QAAQ,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;;;IAC9E,wDAAwD;;cACxB,QAAQ,CAAC,aAAa,CAAC;;;;;;;;;;;;UA0B7C,aAAa;yEAiCzB,CAAC"}
@@ -0,0 +1,7 @@
1
+ export { default as VCTag } from './Tag.vue';
2
+ export { default as VCTags } from './Tags.vue';
3
+ export type { TagProps, TagSlotProps, TagRemoveSlotProps, TagDefaultSlotProps, } from './Tag.vue';
4
+ export type { TagsProps, TagsItem, TagsSlotProps } from './Tags.vue';
5
+ export * from './theme';
6
+ export * from './types';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/tag/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,YAAY,CAAC;AAC/C,YAAY,EACR,QAAQ,EACR,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,GACtB,MAAM,WAAW,CAAC;AACnB,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACrE,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { ComponentThemeDefinition } from '@vuecs/core';
2
+ import type { TagThemeClasses, TagsThemeClasses } from './types';
3
+ export declare const tagThemeDefaults: ComponentThemeDefinition<TagThemeClasses>;
4
+ export declare const tagsThemeDefaults: ComponentThemeDefinition<TagsThemeClasses>;
5
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/components/tag/theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEjE,eAAO,MAAM,gBAAgB,EAAE,wBAAwB,CAAC,eAAe,CAMtE,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,wBAAwB,CAAC,gBAAgB,CAKxE,CAAC"}
@@ -0,0 +1,41 @@
1
+ import type { ThemeElementDefinition } from '@vuecs/core';
2
+ export type TagSize = 'sm' | 'md' | 'lg';
3
+ export type TagThemeClasses = {
4
+ /** The chip's outer element. */
5
+ root: string;
6
+ /** Optional leading icon slot wrapper. */
7
+ icon: string;
8
+ /** Trailing remove-button slot. */
9
+ remove: string;
10
+ };
11
+ export type TagsThemeClasses = {
12
+ /** The flex container that wraps every chip. */
13
+ root: string;
14
+ /** Per-chip wrapper (`<VCTag>`'s root composes onto this). */
15
+ item: string;
16
+ };
17
+ declare module '@vuecs/core' {
18
+ interface ThemeElements {
19
+ tag?: ThemeElementDefinition<TagThemeClasses>;
20
+ tags?: ThemeElementDefinition<TagsThemeClasses>;
21
+ }
22
+ }
23
+ /**
24
+ * Item shape accepted by `<VCTags>`. Structurally compatible with
25
+ * `@vuecs/forms`' `FormOption` so consumers can hand the same array to
26
+ * a select and a chip summary, but defined locally to keep
27
+ * `@vuecs/elements` free of cross-package deps.
28
+ */
29
+ export type TagItem = {
30
+ /** Bound value — matches the chip identity (used as `key` and emitted on remove). */
31
+ value: string | number;
32
+ /** Display label; falls back to `value` when missing. */
33
+ label?: string;
34
+ /** Optional Iconify-style icon name forwarded to `<VCTag :icon>`. */
35
+ icon?: string;
36
+ /** Per-chip size override; falls back to the list-level `size`. */
37
+ size?: TagSize;
38
+ /** When `true`, the chip is rendered without a remove button (overrides list-level `removable`). */
39
+ disabled?: boolean;
40
+ };
41
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/tag/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAE1D,MAAM,MAAM,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEzC,MAAM,MAAM,eAAe,GAAG;IAC1B,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,0CAA0C;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,mCAAmC;IACnC,MAAM,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC3B,gDAAgD;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,8DAA8D;IAC9D,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,OAAO,QAAQ,aAAa,CAAC;IACzB,UAAU,aAAa;QACnB,GAAG,CAAC,EAAE,sBAAsB,CAAC,eAAe,CAAC,CAAC;QAC9C,IAAI,CAAC,EAAE,sBAAsB,CAAC,gBAAgB,CAAC,CAAC;KACnD;CACJ;AAED;;;;;GAKG;AACH,MAAM,MAAM,OAAO,GAAG;IAClB,qFAAqF;IACrF,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qEAAqE;IACrE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mEAAmE;IACnE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,oGAAoG;IACpG,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC"}
@@ -0,0 +1,29 @@
1
+ import type { ExtractPublicPropTypes } from 'vue';
2
+ declare const visuallyHiddenProps: {
3
+ /** HTML tag to render. */
4
+ as: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ };
9
+ export type VisuallyHiddenProps = ExtractPublicPropTypes<typeof visuallyHiddenProps>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
12
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
+ /** HTML tag to render. */
14
+ as: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
19
+ [key: string]: any;
20
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
+ /** HTML tag to render. */
22
+ as: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ }>> & Readonly<{}>, {
27
+ as: string;
28
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
29
+ //# sourceMappingURL=VisuallyHidden.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VisuallyHidden.vue.d.ts","sourceRoot":"","sources":["../../../src/components/visually-hidden/VisuallyHidden.vue"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,KAAK,CAAC;AAGlD,QAAA,MAAM,mBAAmB;IACrB,0BAA0B;;;;;CAE7B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,sBAAsB,CAAC,OAAO,mBAAmB,CAAC,CAAC;wBAEhE,OAAO,YAAY;AAAxC,wBAAyC;AAQzC,QAAA,MAAM,YAAY;IAdd,0BAA0B;;;;;;;;IAA1B,0BAA0B;;;;;;;4EAyB5B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as VCVisuallyHidden } from './VisuallyHidden.vue';
2
+ export type { VisuallyHiddenProps } from './VisuallyHidden.vue';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/visually-hidden/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACnE,YAAY,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import type { App } from 'vue';
2
+ import type { CoreOptions } from '@vuecs/core';
3
+ import '../assets/alert.css';
4
+ import '../assets/aspect-ratio.css';
5
+ import '../assets/avatar.css';
6
+ import '../assets/badge.css';
7
+ import '../assets/card.css';
8
+ import '../assets/collapse.css';
9
+ import '../assets/separator.css';
10
+ import '../assets/tag.css';
11
+ import './vue';
12
+ export * from './components';
13
+ export type Options = CoreOptions;
14
+ export declare function install(app: App, options?: Options): void;
15
+ declare const _default: {
16
+ install: typeof install;
17
+ };
18
+ export default _default;
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAU,MAAM,KAAK,CAAC;AAEvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,OAAO,qBAAqB,CAAC;AAC7B,OAAO,4BAA4B,CAAC;AACpC,OAAO,sBAAsB,CAAC;AAC9B,OAAO,qBAAqB,CAAC;AAC7B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,wBAAwB,CAAC;AAChC,OAAO,yBAAyB,CAAC;AACjC,OAAO,mBAAmB,CAAC;AAC3B,OAAO,OAAO,CAAC;AAyBf,cAAc,cAAc,CAAC;AAE7B,MAAM,MAAM,OAAO,GAAG,WAAW,CAAC;AAElC,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,GAAE,OAAY,GAAG,IAAI,CA4B7D;;;;AAED,wBAAwD"}