@myghf/ui 0.2.0 → 0.4.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/README.md +27 -106
- package/dist/components/alert/Alert.vue.d.ts +46 -0
- package/dist/components/alert/Alert.vue.d.ts.map +1 -0
- package/dist/components/avatar/Avatar.vue.d.ts +12 -0
- package/dist/components/avatar/Avatar.vue.d.ts.map +1 -0
- package/dist/components/button/Button.vue.d.ts +11 -4
- package/dist/components/button/Button.vue.d.ts.map +1 -1
- package/dist/components/date-picker/DatePicker.vue.d.ts +24 -1
- package/dist/components/date-picker/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/drawer/Drawer.vue.d.ts +54 -0
- package/dist/components/drawer/Drawer.vue.d.ts.map +1 -0
- package/dist/components/dropdown-menu/DropdownMenuGroup.vue.d.ts +18 -0
- package/dist/components/dropdown-menu/DropdownMenuGroup.vue.d.ts.map +1 -0
- package/dist/components/dropdown-menu/DropdownMenuItem.vue.d.ts +5 -1
- package/dist/components/dropdown-menu/DropdownMenuItem.vue.d.ts.map +1 -1
- package/dist/components/dropdown-menu/DropdownMenuLabel.vue.d.ts +18 -0
- package/dist/components/dropdown-menu/DropdownMenuLabel.vue.d.ts.map +1 -0
- package/dist/components/dropdown-menu/DropdownMenuSeparator.vue.d.ts +3 -0
- package/dist/components/dropdown-menu/DropdownMenuSeparator.vue.d.ts.map +1 -0
- package/dist/components/form-field/FormDescription.vue.d.ts +22 -0
- package/dist/components/form-field/FormDescription.vue.d.ts.map +1 -0
- package/dist/components/form-field/FormField.vue.d.ts +37 -0
- package/dist/components/form-field/FormField.vue.d.ts.map +1 -0
- package/dist/components/form-field/FormMessage.vue.d.ts +22 -0
- package/dist/components/form-field/FormMessage.vue.d.ts.map +1 -0
- package/dist/components/input/Input.vue.d.ts +8 -0
- package/dist/components/input/Input.vue.d.ts.map +1 -1
- package/dist/components/input-number/InputNumber.vue.d.ts +31 -0
- package/dist/components/input-number/InputNumber.vue.d.ts.map +1 -0
- package/dist/components/label/Label.vue.d.ts +24 -0
- package/dist/components/label/Label.vue.d.ts.map +1 -0
- package/dist/components/select/Select.vue.d.ts +4 -0
- package/dist/components/select/Select.vue.d.ts.map +1 -1
- package/dist/components/skeleton/Skeleton.vue.d.ts +51 -0
- package/dist/components/skeleton/Skeleton.vue.d.ts.map +1 -0
- package/dist/components/spinner/Spinner.vue.d.ts +13 -0
- package/dist/components/spinner/Spinner.vue.d.ts.map +1 -0
- package/dist/components/tag/Tag.vue.d.ts +4 -28
- package/dist/components/tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/textarea/Textarea.vue.d.ts +9 -1
- package/dist/components/textarea/Textarea.vue.d.ts.map +1 -1
- package/dist/components/theme-toggle/ThemeToggle.vue.d.ts +10 -0
- package/dist/components/theme-toggle/ThemeToggle.vue.d.ts.map +1 -0
- package/dist/components/toast/Toast.vue.d.ts +12 -0
- package/dist/components/toast/Toast.vue.d.ts.map +1 -0
- package/dist/components/toast/Toaster.vue.d.ts +33 -0
- package/dist/components/toast/Toaster.vue.d.ts.map +1 -0
- package/dist/components/toast/useToast.d.ts +44 -0
- package/dist/components/toast/useToast.d.ts.map +1 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1643 -448
- package/dist/index.js.map +1 -1
- package/dist/lib/date.d.ts +7 -0
- package/dist/lib/date.d.ts.map +1 -1
- package/dist/lib/formField.d.ts +27 -0
- package/dist/lib/formField.d.ts.map +1 -0
- package/dist/lib/locale.d.ts +6 -0
- package/dist/lib/locale.d.ts.map +1 -0
- package/dist/lib/number.d.ts +16 -0
- package/dist/lib/number.d.ts.map +1 -0
- package/dist/lib/theme.d.ts +36 -0
- package/dist/lib/theme.d.ts.map +1 -0
- package/dist/lib/tones.d.ts +9 -0
- package/dist/lib/tones.d.ts.map +1 -0
- package/dist/nuxt.d.ts +14 -0
- package/dist/nuxt.d.ts.map +1 -0
- package/dist/nuxt.js +32 -0
- package/dist/nuxt.js.map +1 -0
- package/dist/tailwindPreset.js +1 -0
- package/dist/tokens.css +13 -0
- package/package.json +23 -1
package/README.md
CHANGED
|
@@ -1,42 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
- **Brand-aligned** to the MYGHF palette, typography, and spacing (see [DESIGN.md](./DESIGN.md)).
|
|
12
|
-
- **Bilingual-ready**: English and Arabic, with RTL support.
|
|
13
|
-
- **Tree-shakeable** ESM output with bundled TypeScript types.
|
|
14
|
-
- **Accessible**: keyboard-operable primitives, focus-visible states, and WCAG-minded contrast.
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/myghf/ui/main/docs/public/logo.png" alt="MYGHF heart logo" width="140" />
|
|
3
|
+
<h1>@myghf/ui</h1>
|
|
4
|
+
<p>The shared Vue 3 + Tailwind design system for the <strong>Magdi Yacoub Global Heart Foundation (MYGHF)</strong> and Aswan Heart Centre.</p>
|
|
5
|
+
<p>
|
|
6
|
+
<a href="https://www.npmjs.com/package/@myghf/ui"><img src="https://img.shields.io/npm/v/@myghf/ui.svg" alt="npm version" /></a>
|
|
7
|
+
<a href="./LICENSE"><img src="https://img.shields.io/npm/l/@myghf/ui.svg" alt="license" /></a>
|
|
8
|
+
</p>
|
|
9
|
+
<p><a href="https://ui.myfegypt.org"><strong>📖 Full documentation →</strong></a></p>
|
|
10
|
+
</div>
|
|
15
11
|
|
|
16
12
|
## Requirements
|
|
17
13
|
|
|
18
14
|
| Dependency | Version |
|
|
19
15
|
| --- | --- |
|
|
20
|
-
| `vue` | `^3.5.0` (peer) |
|
|
21
|
-
| `tailwindcss` | `^3.4.0` (peer) |
|
|
16
|
+
| [`vue`](https://vuejs.org) | `^3.5.0` (peer) |
|
|
17
|
+
| [`tailwindcss`](https://tailwindcss.com) | `^3.4.0` (peer) |
|
|
22
18
|
|
|
23
|
-
##
|
|
19
|
+
## Installation
|
|
24
20
|
|
|
25
21
|
```bash
|
|
26
22
|
npm install @myghf/ui
|
|
27
23
|
```
|
|
28
24
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
Import the design tokens once, in your app entry stylesheet:
|
|
25
|
+
Import the design tokens once in your app entry stylesheet:
|
|
32
26
|
|
|
33
27
|
```css
|
|
34
28
|
/* app.css */
|
|
35
29
|
@import '@myghf/ui/tokens.css';
|
|
36
30
|
```
|
|
37
31
|
|
|
38
|
-
Then load the Tailwind preset and
|
|
39
|
-
utility classes are generated:
|
|
32
|
+
Then load the Tailwind preset and include the library's output in your `content` globs:
|
|
40
33
|
|
|
41
34
|
```js
|
|
42
35
|
// tailwind.config.js
|
|
@@ -48,102 +41,30 @@ export default {
|
|
|
48
41
|
}
|
|
49
42
|
```
|
|
50
43
|
|
|
51
|
-
The preset provides the brand colour scale (`primary`, `secondary`, `success`, `warning`, `error`,
|
|
52
|
-
`info`), semantic colours (`background`, `foreground`, `surface`, `surface-muted`, `border`,
|
|
53
|
-
`muted`), and the font families (`font-sans`, `font-serif`, `font-ar`).
|
|
54
|
-
|
|
55
44
|
## Usage
|
|
56
45
|
|
|
57
|
-
```ts
|
|
58
|
-
import { Button, Input, DataTable } from '@myghf/ui'
|
|
59
|
-
```
|
|
60
|
-
|
|
61
46
|
```vue
|
|
47
|
+
<script setup>
|
|
48
|
+
import { Button, Input } from '@myghf/ui'
|
|
49
|
+
</script>
|
|
50
|
+
|
|
62
51
|
<template>
|
|
63
52
|
<form @submit.prevent="submit">
|
|
64
53
|
<Input v-model="email" type="email" placeholder="you@example.com" />
|
|
65
|
-
<Button type="submit"
|
|
54
|
+
<Button type="submit">Continue</Button>
|
|
66
55
|
</form>
|
|
67
56
|
</template>
|
|
68
57
|
```
|
|
69
58
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
| Area | Exports |
|
|
73
|
-
| --- | --- |
|
|
74
|
-
| Actions & display | `Button`, `Tag`, `Icon` |
|
|
75
|
-
| Form controls | `Input`, `Textarea`, `Password`, `Checkbox`, `Select`, `SelectButton`, `DatePicker`, `TreeSelect` |
|
|
76
|
-
| Navigation & overlays | `Tabs`, `TabsList`, `TabsTrigger`, `TabsContent`, `Dialog`, `DropdownMenu`, `DropdownMenuTrigger`, `DropdownMenuContent`, `DropdownMenuItem` |
|
|
77
|
-
| Data | `Table`, `TableHeader`, `TableBody`, `TableRow`, `TableHead`, `TableCell`, `TableEmpty`, `TablePagination`, `DataTable`, `TreeTable`, `TransferList` |
|
|
78
|
-
| Utilities & types | `cn`, date helpers, `toPascalCase`, `resolveIconName`, `TagTone`, `DataTableFeatures`, `TreeTableColumn`, `TreeNode`, `FlatTreeRow`, `CheckedState` |
|
|
79
|
-
|
|
80
|
-
### Entry points
|
|
81
|
-
|
|
82
|
-
| Import | Contents |
|
|
83
|
-
| --- | --- |
|
|
84
|
-
| `@myghf/ui` | Components, utilities, and types |
|
|
85
|
-
| `@myghf/ui/tokens.css` | CSS custom properties (`--myghf-*`) |
|
|
86
|
-
| `@myghf/ui/tailwind-preset` | Tailwind preset |
|
|
87
|
-
|
|
88
|
-
## Theming
|
|
89
|
-
|
|
90
|
-
Tokens are space-separated RGB channels so Tailwind's `<alpha-value>` opacity modifiers keep working.
|
|
91
|
-
Override any `--myghf-*` variable after importing `tokens.css`:
|
|
92
|
-
|
|
93
|
-
```css
|
|
94
|
-
:root {
|
|
95
|
-
--myghf-primary-500: 0 130 177; /* custom brand blue */
|
|
96
|
-
--myghf-background: 255 255 255; /* brand-white page background */
|
|
97
|
-
}
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
Do not hard-code hex values in component code — use the tokens or the Tailwind classes. See
|
|
101
|
-
[DESIGN.md](./DESIGN.md) for the full palette and rules.
|
|
102
|
-
|
|
103
|
-
## Bilingual & RTL
|
|
104
|
-
|
|
105
|
-
Wrap RTL content with `dir="rtl"` and the Arabic font:
|
|
106
|
-
|
|
107
|
-
```vue
|
|
108
|
-
<div dir="rtl" class="font-ar">
|
|
109
|
-
<!-- Arabic content -->
|
|
110
|
-
</div>
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
Prefer logical utilities (`ps-*`, `pe-*`, `ms-*`, `me-*`, `text-start`, `text-end`) over physical
|
|
114
|
-
ones, and use the `rtl:` variant for directional icons.
|
|
115
|
-
|
|
116
|
-
## Design system
|
|
117
|
-
|
|
118
|
-
Brand rules, the colour/token reference, typography, and logo usage live in
|
|
119
|
-
[DESIGN.md](./DESIGN.md). It is written for both developers and AI agents — follow it when building
|
|
120
|
-
MYGHF UI.
|
|
121
|
-
|
|
122
|
-
## Development
|
|
123
|
-
|
|
124
|
-
```bash
|
|
125
|
-
npm ci # install from the lockfile
|
|
126
|
-
npm run typecheck # vue-tsc --noEmit
|
|
127
|
-
npm test # vitest run
|
|
128
|
-
npm run build # vite build + copy tokens/preset into dist/
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
Contributor and release conventions are documented in [AGENTS.md](./AGENTS.md).
|
|
132
|
-
|
|
133
|
-
## Releasing
|
|
59
|
+
## Documentation
|
|
134
60
|
|
|
135
|
-
|
|
136
|
-
|
|
61
|
+
Full guides, live component examples, API reference, theming, and RTL notes live at
|
|
62
|
+
**[ui.myfegypt.org](https://ui.myfegypt.org)**.
|
|
137
63
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
2. Open a pull request into `main` as usual.
|
|
143
|
-
3. When it merges, CI opens (or updates) a **Version Packages** pull request that bumps `version`
|
|
144
|
-
and updates `CHANGELOG.md`.
|
|
145
|
-
4. Merge that pull request to publish to npm. CI creates the git tag and GitHub Release
|
|
146
|
-
automatically, with provenance.
|
|
64
|
+
- [Getting started](https://ui.myfegypt.org/guide/introduction)
|
|
65
|
+
- [Components](https://ui.myfegypt.org/components/index)
|
|
66
|
+
- [Theming & dark mode](https://ui.myfegypt.org/guide/theming)
|
|
67
|
+
- [Brand rules (`DESIGN.md`)](./DESIGN.md)
|
|
147
68
|
|
|
148
69
|
## License
|
|
149
70
|
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Tone } from '../../lib/tones';
|
|
2
|
+
export type AlertVariant = 'soft' | 'outline';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
tone?: Tone;
|
|
5
|
+
title?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
icon?: string;
|
|
8
|
+
showIcon?: boolean;
|
|
9
|
+
closable?: boolean;
|
|
10
|
+
duration?: number;
|
|
11
|
+
closeLabel?: string;
|
|
12
|
+
variant?: AlertVariant;
|
|
13
|
+
};
|
|
14
|
+
declare function __VLS_template(): {
|
|
15
|
+
attrs: Partial<{}>;
|
|
16
|
+
slots: {
|
|
17
|
+
icon?(_: {}): any;
|
|
18
|
+
title?(_: {}): any;
|
|
19
|
+
description?(_: {}): any;
|
|
20
|
+
default?(_: {}): any;
|
|
21
|
+
actions?(_: {}): any;
|
|
22
|
+
close?(_: {}): any;
|
|
23
|
+
};
|
|
24
|
+
refs: {};
|
|
25
|
+
rootEl: any;
|
|
26
|
+
};
|
|
27
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
28
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
|
+
close: () => any;
|
|
30
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
31
|
+
onClose?: (() => any) | undefined;
|
|
32
|
+
}>, {
|
|
33
|
+
variant: AlertVariant;
|
|
34
|
+
tone: Tone;
|
|
35
|
+
showIcon: boolean;
|
|
36
|
+
closable: boolean;
|
|
37
|
+
closeLabel: string;
|
|
38
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
39
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
40
|
+
export default _default;
|
|
41
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=Alert.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.vue.d.ts","sourceRoot":"","sources":["../../../src/components/alert/Alert.vue"],"names":[],"mappings":"AA0KA,OAAO,EAAe,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAGxD,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,SAAS,CAAA;AAE7C,KAAK,WAAW,GAAG;IACf,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,YAAY,CAAA;CACvB,CAAC;AA+GJ,iBAAS,cAAc;WA8FT,OAAO,IAA6B;;sBAfxB,GAAG;uBACF,GAAG;6BACG,GAAG;yBACP,GAAG;yBACH,GAAG;uBACJ,GAAG;;;;EAe9B;AAoBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;aAxOP,YAAY;UARf,IAAI;cAIA,OAAO;cACP,OAAO;gBAEL,MAAM;6EAiPrB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
src?: string;
|
|
3
|
+
alt?: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
initials?: string;
|
|
6
|
+
size?: 'sm' | 'default' | 'lg' | 'xl';
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
|
+
size: "sm" | "default" | "lg" | "xl";
|
|
10
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=Avatar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/avatar/Avatar.vue"],"names":[],"mappings":"AAwFA,KAAK,WAAW,GAAG;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI,GAAG,IAAI,CAAA;CACtC,CAAC;;UADO,IAAI,GAAG,SAAS,GAAG,IAAI,GAAG,IAAI;;AA+GzC,wBAOG"}
|
|
@@ -14,7 +14,7 @@ declare const buttonVariants: import('tailwind-variants').TVReturnType<{
|
|
|
14
14
|
icon: string;
|
|
15
15
|
'icon-sm': string;
|
|
16
16
|
};
|
|
17
|
-
}, undefined, "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:size-4 data-[loading=true]:cursor-not-allowed", {
|
|
17
|
+
}, undefined, "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2 dark:focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50 [&_svg]:size-4 data-[loading=true]:cursor-not-allowed", {
|
|
18
18
|
variant: {
|
|
19
19
|
default: string;
|
|
20
20
|
secondary: string;
|
|
@@ -44,7 +44,7 @@ declare const buttonVariants: import('tailwind-variants').TVReturnType<{
|
|
|
44
44
|
icon: string;
|
|
45
45
|
'icon-sm': string;
|
|
46
46
|
};
|
|
47
|
-
}, undefined, "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:size-4 data-[loading=true]:cursor-not-allowed", unknown, unknown, undefined>>;
|
|
47
|
+
}, undefined, "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2 dark:focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50 [&_svg]:size-4 data-[loading=true]:cursor-not-allowed", unknown, unknown, undefined>>;
|
|
48
48
|
type __VLS_Props = {
|
|
49
49
|
variant?: VariantProps<typeof buttonVariants>['variant'];
|
|
50
50
|
size?: VariantProps<typeof buttonVariants>['size'];
|
|
@@ -53,6 +53,12 @@ type __VLS_Props = {
|
|
|
53
53
|
loading?: boolean;
|
|
54
54
|
/** Text label; equivalent to slot content. PrimeVue parity for the app migration. */
|
|
55
55
|
label?: string;
|
|
56
|
+
/** Leading icon name (lucide). Ignored while `loading` shows the spinner. */
|
|
57
|
+
icon?: string;
|
|
58
|
+
/** Trailing icon name (lucide); implies end placement. */
|
|
59
|
+
iconTrailing?: string;
|
|
60
|
+
/** Side the `icon` renders on. Defaults to `start`. */
|
|
61
|
+
iconPos?: 'start' | 'end';
|
|
56
62
|
};
|
|
57
63
|
declare function __VLS_template(): {
|
|
58
64
|
attrs: Partial<{}>;
|
|
@@ -64,11 +70,12 @@ declare function __VLS_template(): {
|
|
|
64
70
|
};
|
|
65
71
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
66
72
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
67
|
-
size: "
|
|
73
|
+
size: "sm" | "default" | "lg" | "icon" | "icon-sm";
|
|
68
74
|
type: "button" | "submit" | "reset";
|
|
69
|
-
variant: "
|
|
75
|
+
variant: "secondary" | "default" | "destructive" | "outline" | "ghost";
|
|
70
76
|
disabled: boolean;
|
|
71
77
|
loading: boolean;
|
|
78
|
+
iconPos: "start" | "end";
|
|
72
79
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
73
80
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
74
81
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.vue.d.ts","sourceRoot":"","sources":["../../../src/components/button/Button.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Button.vue.d.ts","sourceRoot":"","sources":["../../../src/components/button/Button.vue"],"names":[],"mappings":"AA2EA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAGzD,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2ZAmBlB,CAAA;AAEF,KAAK,WAAW,GAAG;IACf,OAAO,CAAC,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC,SAAS,CAAC,CAAA;IACxD,IAAI,CAAC,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAA;IAClD,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAA;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,qFAAqF;IACrF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6EAA6E;IAC7E,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,0DAA0D;IAC1D,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,uDAAuD;IACvD,OAAO,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;CAC1B,CAAC;AA0BJ,iBAAS,cAAc;WAoFT,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;UA5IV,QAAQ,GAAG,QAAQ,GAAG,OAAO;;cACzB,OAAO;aACR,OAAO;aAQP,OAAO,GAAG,KAAK;2FA0I3B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,12 +1,32 @@
|
|
|
1
|
+
export interface DatePickerLabels {
|
|
2
|
+
placeholder: string;
|
|
3
|
+
previousMonth: string;
|
|
4
|
+
nextMonth: string;
|
|
5
|
+
clear: string;
|
|
6
|
+
apply: string;
|
|
7
|
+
today: string;
|
|
8
|
+
time: string;
|
|
9
|
+
hour: string;
|
|
10
|
+
minute: string;
|
|
11
|
+
am: string;
|
|
12
|
+
pm: string;
|
|
13
|
+
}
|
|
1
14
|
type __VLS_Props = {
|
|
2
15
|
mode?: 'date' | 'range' | 'datetime';
|
|
3
16
|
modelValue?: Date | [Date, Date] | null;
|
|
17
|
+
/** @deprecated Prefer `labels.placeholder`; kept for the existing trigger API. */
|
|
4
18
|
placeholder?: string;
|
|
5
19
|
disabled?: boolean;
|
|
6
20
|
invalid?: boolean;
|
|
7
21
|
size?: 'sm' | 'default';
|
|
8
22
|
/** Applied to the trigger button so an external <label for> still matches. */
|
|
9
23
|
inputId?: string;
|
|
24
|
+
hourFormat?: '12' | '24';
|
|
25
|
+
minuteStep?: number;
|
|
26
|
+
locale?: string;
|
|
27
|
+
labels?: Partial<DatePickerLabels>;
|
|
28
|
+
weekStartsOn?: number;
|
|
29
|
+
defaultOpen?: boolean;
|
|
10
30
|
};
|
|
11
31
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
32
|
"update:modelValue": (value: Date | [Date, Date] | null) => any;
|
|
@@ -15,7 +35,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
15
35
|
}>, {
|
|
16
36
|
size: "sm" | "default";
|
|
17
37
|
mode: "date" | "range" | "datetime";
|
|
18
|
-
|
|
38
|
+
locale: string;
|
|
39
|
+
defaultOpen: boolean;
|
|
40
|
+
hourFormat: "12" | "24";
|
|
41
|
+
minuteStep: number;
|
|
19
42
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
43
|
export default _default;
|
|
21
44
|
//# sourceMappingURL=DatePicker.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/DatePicker.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DatePicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/date-picker/DatePicker.vue"],"names":[],"mappings":"AAwdA,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CAAA;IACrB,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;CACX;AA2ED,KAAK,WAAW,GAAG;IACf,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,CAAA;IACpC,UAAU,CAAC,EAAE,IAAI,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,IAAI,CAAA;IACvC,kFAAkF;IAClF,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAA;IACvB,8EAA8E;IAC9E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACxB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAA;IAClC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;;;;;;UATO,IAAI,GAAG,SAAS;UANhB,MAAM,GAAG,OAAO,GAAG,UAAU;YAW3B,MAAM;iBAGD,OAAO;gBALR,IAAI,GAAG,IAAI;gBACX,MAAM;;AAmgBvB,wBASG"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export type DrawerPosition = 'left' | 'right' | 'top' | 'bottom' | 'start' | 'end';
|
|
2
|
+
export type DrawerSize = 'sm' | 'md' | 'lg' | 'full';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
open?: boolean;
|
|
5
|
+
position?: DrawerPosition;
|
|
6
|
+
size?: DrawerSize;
|
|
7
|
+
backdrop?: boolean;
|
|
8
|
+
closeOnEscape?: boolean;
|
|
9
|
+
closeOnOutside?: boolean;
|
|
10
|
+
title?: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
showClose?: boolean;
|
|
13
|
+
preventScroll?: boolean;
|
|
14
|
+
};
|
|
15
|
+
declare function __VLS_template(): {
|
|
16
|
+
attrs: Partial<{}>;
|
|
17
|
+
slots: {
|
|
18
|
+
trigger?(_: {}): any;
|
|
19
|
+
header?(_: {}): any;
|
|
20
|
+
description?(_: {}): any;
|
|
21
|
+
close?(_: {}): any;
|
|
22
|
+
default?(_: {}): any;
|
|
23
|
+
footer?(_: {}): any;
|
|
24
|
+
};
|
|
25
|
+
refs: {};
|
|
26
|
+
rootEl: any;
|
|
27
|
+
};
|
|
28
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
29
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
30
|
+
close: () => any;
|
|
31
|
+
open: () => any;
|
|
32
|
+
"update:open": (value: boolean) => any;
|
|
33
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
34
|
+
onClose?: (() => any) | undefined;
|
|
35
|
+
onOpen?: (() => any) | undefined;
|
|
36
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
37
|
+
}>, {
|
|
38
|
+
size: DrawerSize;
|
|
39
|
+
position: DrawerPosition;
|
|
40
|
+
open: boolean;
|
|
41
|
+
backdrop: boolean;
|
|
42
|
+
closeOnEscape: boolean;
|
|
43
|
+
closeOnOutside: boolean;
|
|
44
|
+
showClose: boolean;
|
|
45
|
+
preventScroll: boolean;
|
|
46
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
47
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
48
|
+
export default _default;
|
|
49
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
50
|
+
new (): {
|
|
51
|
+
$slots: S;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=Drawer.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Drawer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/Drawer.vue"],"names":[],"mappings":"AAmLA,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAA;AAClF,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAA;AAEpD,KAAK,WAAW,GAAG;IACf,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,cAAc,CAAA;IACzB,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAC;AAiFJ,iBAAS,cAAc;WAmNT,OAAO,IAA6B;;yBAfpB,GAAG;wBACJ,GAAG;6BACE,GAAG;uBACT,GAAG;yBACD,GAAG;wBACJ,GAAG;;;;EAe/B;AA0BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;UA5UV,UAAU;cADN,cAAc;UADlB,OAAO;cAGH,OAAO;mBACF,OAAO;oBACN,OAAO;eAGZ,OAAO;mBACH,OAAO;6EA8UzB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: any;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=DropdownMenuGroup.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DropdownMenuGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown-menu/DropdownMenuGroup.vue"],"names":[],"mappings":"AAeA,iBAAS,cAAc;WA8BT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,+QAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -17,6 +17,8 @@ declare const itemVariants: import('tailwind-variants').TVReturnType<{
|
|
|
17
17
|
}, undefined, "relative flex w-full cursor-pointer select-none items-center gap-2 rounded px-2 py-1.5 text-sm outline-none transition-colors focus:bg-surface-muted data-[highlighted]:bg-surface-muted data-[highlighted]:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", unknown, unknown, undefined>>;
|
|
18
18
|
type __VLS_Props = {
|
|
19
19
|
variant?: VariantProps<typeof itemVariants>['variant'];
|
|
20
|
+
icon?: string;
|
|
21
|
+
disabled?: boolean;
|
|
20
22
|
};
|
|
21
23
|
declare function __VLS_template(): {
|
|
22
24
|
attrs: Partial<{}>;
|
|
@@ -31,7 +33,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
31
33
|
select: () => any;
|
|
32
34
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
33
35
|
onSelect?: (() => any) | undefined;
|
|
34
|
-
}>, {
|
|
36
|
+
}>, {
|
|
37
|
+
disabled: boolean;
|
|
38
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
35
39
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
36
40
|
export default _default;
|
|
37
41
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenuItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown-menu/DropdownMenuItem.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DropdownMenuItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown-menu/DropdownMenuItem.vue"],"names":[],"mappings":"AAyCA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAGzD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;yUAShB,CAAA;AAEF,KAAK,WAAW,GAAG;IACf,OAAO,CAAC,EAAE,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC,SAAS,CAAC,CAAA;IACtD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAgBJ,iBAAS,cAAc;WAuDT,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;cA5FN,OAAO;6EAqGpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: any;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=DropdownMenuLabel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DropdownMenuLabel.vue.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown-menu/DropdownMenuLabel.vue"],"names":[],"mappings":"AAeA,iBAAS,cAAc;WAiCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,+QAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=DropdownMenuSeparator.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DropdownMenuSeparator.vue.d.ts","sourceRoot":"","sources":["../../../src/components/dropdown-menu/DropdownMenuSeparator.vue"],"names":[],"mappings":";AAwDA,wBAMG"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** The id of the element the description describes. */
|
|
3
|
+
id?: string;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=FormDescription.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormDescription.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form-field/FormDescription.vue"],"names":[],"mappings":"AAcA,KAAK,WAAW,GAAG;IACjB,uDAAuD;IACvD,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ,CAAC;AAKF,iBAAS,cAAc;WA2BT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** Label text; can also be supplied through the `label` slot. */
|
|
3
|
+
label?: string;
|
|
4
|
+
/** Description text; rendered below the control when present. */
|
|
5
|
+
description?: string;
|
|
6
|
+
/** Error text; marks the field invalid and renders an alert below the control. */
|
|
7
|
+
error?: string;
|
|
8
|
+
/** Marks the field required (adds the label marker and context flag). */
|
|
9
|
+
required?: boolean;
|
|
10
|
+
/** Overrides the invalid state. Defaults to `Boolean(error)`. */
|
|
11
|
+
invalid?: boolean;
|
|
12
|
+
/** Explicit control id. Defaults to a stable generated id. */
|
|
13
|
+
id?: string;
|
|
14
|
+
};
|
|
15
|
+
declare function __VLS_template(): {
|
|
16
|
+
attrs: Partial<{}>;
|
|
17
|
+
slots: {
|
|
18
|
+
label?(_: {}): any;
|
|
19
|
+
default?(_: {}): any;
|
|
20
|
+
description?(_: {}): any;
|
|
21
|
+
error?(_: {}): any;
|
|
22
|
+
};
|
|
23
|
+
refs: {};
|
|
24
|
+
rootEl: HTMLDivElement;
|
|
25
|
+
};
|
|
26
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
28
|
+
invalid: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=FormField.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form-field/FormField.vue"],"names":[],"mappings":"AAqFA,KAAK,WAAW,GAAG;IACf,iEAAiE;IACjE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iEAAiE;IACjE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,kFAAkF;IAClF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,yEAAyE;IACzE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,iEAAiE;IACjE,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,8DAA8D;IAC9D,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ,CAAC;AA2CJ,iBAAS,cAAc;WAgFT,OAAO,IAA6B;;uBAbvB,GAAG;yBACD,GAAG;6BACE,GAAG;uBACT,GAAG;;;;EAe9B;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;aAlJP,OAAO;wFA0JnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** The id of the element the message describes. */
|
|
3
|
+
id?: string;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=FormMessage.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormMessage.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form-field/FormMessage.vue"],"names":[],"mappings":"AAcA,KAAK,WAAW,GAAG;IACjB,mDAAmD;IACnD,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ,CAAC;AAKF,iBAAS,cAAc;WA4BT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -6,6 +6,11 @@ type __VLS_Props = {
|
|
|
6
6
|
leadingIcon?: string;
|
|
7
7
|
trailingIcon?: string;
|
|
8
8
|
size?: 'sm' | 'default' | 'lg';
|
|
9
|
+
type?: string;
|
|
10
|
+
id?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
autocomplete?: string;
|
|
13
|
+
required?: boolean;
|
|
9
14
|
};
|
|
10
15
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
11
16
|
focus: () => void | undefined;
|
|
@@ -15,6 +20,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
15
20
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
16
21
|
}>, {
|
|
17
22
|
size: "sm" | "default" | "lg";
|
|
23
|
+
type: string;
|
|
24
|
+
required: boolean;
|
|
25
|
+
invalid: boolean;
|
|
18
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
27
|
inputRef: HTMLInputElement;
|
|
20
28
|
}, HTMLDivElement>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.vue.d.ts","sourceRoot":"","sources":["../../../src/components/input/Input.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Input.vue.d.ts","sourceRoot":"","sources":["../../../src/components/input/Input.vue"],"names":[],"mappings":"AAwEA,KAAK,WAAW,GAAG;IACf,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAA;IACnC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI,CAAA;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;;;;;;;;UANO,IAAI,GAAG,SAAS,GAAG,IAAI;UACvB,MAAM;cAIF,OAAO;aARR,OAAO;;;;AAoIrB,wBAWG"}
|