@myghf/ui 0.3.0 → 0.5.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 +49 -213
- 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 +7 -0
- package/dist/components/button/Button.vue.d.ts.map +1 -1
- package/dist/components/data-table/DataTable.vue.d.ts +3 -0
- package/dist/components/data-table/DataTable.vue.d.ts.map +1 -1
- 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/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/textarea/Textarea.vue.d.ts +9 -1
- package/dist/components/textarea/Textarea.vue.d.ts.map +1 -1
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +888 -539
- package/dist/index.js.map +1 -1
- package/dist/lib/formField.d.ts +27 -0
- package/dist/lib/formField.d.ts.map +1 -0
- package/dist/nuxt.d.ts +61 -0
- package/dist/nuxt.d.ts.map +1 -0
- package/dist/nuxt.js +98 -0
- package/dist/nuxt.js.map +1 -0
- package/package.json +21 -1
package/README.md
CHANGED
|
@@ -1,42 +1,36 @@
|
|
|
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) |
|
|
18
|
+
| [`@nuxtjs/tailwindcss`](https://tailwindcss.nuxtjs.org) | `^6.0.0` (optional peer, Nuxt only) |
|
|
22
19
|
|
|
23
|
-
##
|
|
20
|
+
## Installation
|
|
24
21
|
|
|
25
22
|
```bash
|
|
26
23
|
npm install @myghf/ui
|
|
27
24
|
```
|
|
28
25
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
Import the design tokens once, in your app entry stylesheet:
|
|
26
|
+
Import the design tokens once in your app entry stylesheet:
|
|
32
27
|
|
|
33
28
|
```css
|
|
34
29
|
/* app.css */
|
|
35
30
|
@import '@myghf/ui/tokens.css';
|
|
36
31
|
```
|
|
37
32
|
|
|
38
|
-
Then load the Tailwind preset and
|
|
39
|
-
utility classes are generated:
|
|
33
|
+
Then load the Tailwind preset and include the library's output in your `content` globs:
|
|
40
34
|
|
|
41
35
|
```js
|
|
42
36
|
// tailwind.config.js
|
|
@@ -48,219 +42,61 @@ export default {
|
|
|
48
42
|
}
|
|
49
43
|
```
|
|
50
44
|
|
|
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
45
|
## Usage
|
|
56
46
|
|
|
57
|
-
```ts
|
|
58
|
-
import { Button, Input, DataTable } from '@myghf/ui'
|
|
59
|
-
```
|
|
60
|
-
|
|
61
47
|
```vue
|
|
48
|
+
<script setup>
|
|
49
|
+
import { Button, Input } from '@myghf/ui'
|
|
50
|
+
</script>
|
|
51
|
+
|
|
62
52
|
<template>
|
|
63
53
|
<form @submit.prevent="submit">
|
|
64
54
|
<Input v-model="email" type="email" placeholder="you@example.com" />
|
|
65
|
-
<Button type="submit"
|
|
55
|
+
<Button type="submit">Continue</Button>
|
|
66
56
|
</form>
|
|
67
57
|
</template>
|
|
68
58
|
```
|
|
69
59
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
| Area | Exports |
|
|
73
|
-
| --- | --- |
|
|
74
|
-
| Actions & display | `Button`, `Tag`, `Icon`, `ThemeToggle`, `Alert`, `Message` |
|
|
75
|
-
| Feedback | `Toaster`, `useToast`, `createToastStore` |
|
|
76
|
-
| Form controls | `Input`, `InputNumber`, `Textarea`, `Password`, `Checkbox`, `Select`, `SelectButton`, `DatePicker`, `TreeSelect` |
|
|
77
|
-
| Navigation & overlays | `Tabs`, `TabsList`, `TabsTrigger`, `TabsContent`, `Dialog`, `Drawer`, `DropdownMenu`, `DropdownMenuTrigger`, `DropdownMenuContent`, `DropdownMenuItem` |
|
|
78
|
-
| Data | `Table`, `TableHeader`, `TableBody`, `TableRow`, `TableHead`, `TableCell`, `TableEmpty`, `TablePagination`, `DataTable`, `TreeTable`, `TransferList` |
|
|
79
|
-
| Utilities & types | `cn`, date and locale helpers, `toNumberOrNull`, `mergeFormatOptions`, `toPascalCase`, `resolveIconName`, `toneClasses`, `useTheme`, `createTheme`, `toastKey`, `TagTone`, `Tone`, `AlertVariant`, `DatePickerLabels`, `DrawerPosition`, `DrawerSize`, `ThemeMode`, `ToastSeverity`, `ToastPosition`, `DataTableFeatures`, `TreeTableColumn`, `TreeNode`, `FlatTreeRow`, `CheckedState` |
|
|
80
|
-
|
|
81
|
-
### Component examples
|
|
82
|
-
|
|
83
|
-
**Toasts** — mount one `<Toaster>` near the root and call `useToast()` from a descendant setup:
|
|
84
|
-
|
|
85
|
-
```vue
|
|
86
|
-
<!-- App.vue -->
|
|
87
|
-
<template>
|
|
88
|
-
<Toaster position="top-end" :max="4" />
|
|
89
|
-
<SaveButton />
|
|
90
|
-
</template>
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
```vue
|
|
94
|
-
<!-- SaveButton.vue -->
|
|
95
|
-
<script setup lang="ts">
|
|
96
|
-
import { useToast } from '@myghf/ui'
|
|
97
|
-
|
|
98
|
-
const toast = useToast() // setup-only; requires an ancestor <Toaster />
|
|
99
|
-
toast.success('Saved', 'Your changes were saved.')
|
|
100
|
-
toast.add({ title: 'Uploading…', severity: 'info', duration: 0 }) // 0 = persistent
|
|
101
|
-
</script>
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
`useToast()` throws unless a `<Toaster>` is mounted above the calling component. Positions are
|
|
105
|
-
logical (`top-start`…`bottom-end`, default `top-end`); severities are `info`, `success`, `warning`,
|
|
106
|
-
`danger`, `secondary`. For tests or a pre-seeded queue, build a store with `createToastStore()` and
|
|
107
|
-
pass it via `<Toaster :store="store">`.
|
|
108
|
-
|
|
109
|
-
**Alert / Message** — the same component under two names, sharing Tag's tones:
|
|
60
|
+
## Nuxt
|
|
110
61
|
|
|
111
|
-
|
|
112
|
-
<Alert tone="success" title="Payment received" description="Receipt sent by email." show-icon />
|
|
113
|
-
<Message tone="danger" variant="outline" closable @close="dismissed = true">Something failed.</Message>
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
Tones: `info` (default), `success`, `warning`, `danger`, `secondary`; `variant` is `soft` (default)
|
|
117
|
-
or `outline`. Pass `duration` (ms) to auto-dismiss, pausable on hover/focus; `0`/omitted is
|
|
118
|
-
persistent.
|
|
119
|
-
|
|
120
|
-
**InputNumber** — numeric `v-model` that emits `number | null`:
|
|
121
|
-
|
|
122
|
-
```vue
|
|
123
|
-
<InputNumber v-model="amount" :min="0" :max="100" :step="5" integer show-buttons />
|
|
124
|
-
<InputNumber v-model="price" currency="USD" locale="en-US" prefix="$" />
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
Empty input emits `null`. Supports `min`/`max`/`step`/`stepSnapping`/`integer`, `locale`,
|
|
128
|
-
`formatOptions`/`currency`, `prefix`/`suffix`, `showButtons`, and `size`; reka's input renders
|
|
129
|
-
`role="spinbutton"` with `aria-roledescription`, `aria-valuenow`, `aria-valuemin`, and `aria-valuemax`
|
|
130
|
-
(via the underlying `NumberFieldInput`).
|
|
131
|
-
|
|
132
|
-
**Drawer** — controlled via `v-model:open`:
|
|
133
|
-
|
|
134
|
-
```vue
|
|
135
|
-
<Drawer v-model:open="open" position="end" size="md" title="Filters">
|
|
136
|
-
<p>Drawer body</p>
|
|
137
|
-
<template #footer><Button @click="open = false">Done</Button></template>
|
|
138
|
-
</Drawer>
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
Positions: `left`, `right` (default), `top`, `bottom`, plus logical `start`/`end` that mirror them
|
|
142
|
-
and flip in RTL. Sizes: `sm`, `md`, `lg`, `full`. Also supports `backdrop`, `closeOnEscape`,
|
|
143
|
-
`closeOnOutside`, `showClose`, and `preventScroll`.
|
|
144
|
-
|
|
145
|
-
> **Drawer caveat:** `preventScroll: false` only takes effect with `backdrop: false`; when a
|
|
146
|
-
> backdrop is shown, reka's overlay owns the body scroll lock.
|
|
147
|
-
|
|
148
|
-
**DatePicker i18n/time** — `DatePicker` accepts `hourFormat` (`'12' | '24'`, default `'24'`),
|
|
149
|
-
`minuteStep` (default `1`), `locale` (BCP-47, default runtime locale), `labels` (partial overrides
|
|
150
|
-
for `placeholder`, `previousMonth`, `nextMonth`, `clear`, `apply`, `today`, `time`, `hour`,
|
|
151
|
-
`minute`, `am`, `pm`), `weekStartsOn`, and `defaultOpen`. Month and weekday headers and the display
|
|
152
|
-
text are locale-formatted, and the nav chevrons flip in RTL. Override individual labels with
|
|
153
|
-
`label-<key>` slots.
|
|
154
|
-
|
|
155
|
-
### Entry points
|
|
156
|
-
|
|
157
|
-
| Import | Contents |
|
|
158
|
-
| --- | --- |
|
|
159
|
-
| `@myghf/ui` | Components, utilities, and types |
|
|
160
|
-
| `@myghf/ui/tokens.css` | CSS custom properties (`--myghf-*`) |
|
|
161
|
-
| `@myghf/ui/tailwind-preset` | Tailwind preset |
|
|
162
|
-
|
|
163
|
-
## Theming
|
|
164
|
-
|
|
165
|
-
Tokens are space-separated RGB channels so Tailwind's `<alpha-value>` opacity modifiers keep working.
|
|
166
|
-
Override any `--myghf-*` variable after importing `tokens.css`:
|
|
167
|
-
|
|
168
|
-
```css
|
|
169
|
-
:root {
|
|
170
|
-
--myghf-primary-500: 0 130 177; /* custom brand blue */
|
|
171
|
-
--myghf-background: 255 255 255; /* brand-white page background */
|
|
172
|
-
}
|
|
173
|
-
```
|
|
174
|
-
|
|
175
|
-
Do not hard-code hex values in component code — use the tokens or the Tailwind classes. See
|
|
176
|
-
[DESIGN.md](./DESIGN.md) for the full palette and rules.
|
|
177
|
-
|
|
178
|
-
### Dark mode
|
|
179
|
-
|
|
180
|
-
The preset sets `darkMode: ['class', '.dark']`, and importing `@myghf/ui/tokens.css` ships a dark
|
|
181
|
-
token block under both `[data-theme='dark']` and `.dark`. It overrides **only** the six semantic
|
|
182
|
-
variables; the brand colour scales are unchanged, so your own `--myghf-*` overrides still apply in
|
|
183
|
-
dark mode:
|
|
184
|
-
|
|
185
|
-
```css
|
|
186
|
-
/* shipped by tokens.css */
|
|
187
|
-
[data-theme='dark'],
|
|
188
|
-
.dark {
|
|
189
|
-
color-scheme: dark;
|
|
190
|
-
--myghf-background: 15 18 23;
|
|
191
|
-
--myghf-foreground: 243 244 246;
|
|
192
|
-
--myghf-surface: 26 30 37;
|
|
193
|
-
--myghf-surface-muted: 39 44 53;
|
|
194
|
-
--myghf-border: 55 61 71;
|
|
195
|
-
--myghf-muted: 156 163 175;
|
|
196
|
-
}
|
|
197
|
-
```
|
|
198
|
-
|
|
199
|
-
Use `useTheme()` — a shared singleton — or `createTheme()` for an independent controller:
|
|
62
|
+
An optional module ships at `@myghf/ui/nuxt`:
|
|
200
63
|
|
|
201
64
|
```ts
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
```
|
|
207
|
-
|
|
208
|
-
```vue
|
|
209
|
-
<ThemeToggle />
|
|
210
|
-
```
|
|
211
|
-
|
|
212
|
-
`useTheme` follows the OS preference when `mode` is `'system'`, persists explicit choices to
|
|
213
|
-
`localStorage`, and writes **both** `.dark` and `data-theme="dark"` on `<html>` (`attribute: 'both'`).
|
|
214
|
-
`createTheme()` accepts the same options and returns an isolated instance.
|
|
215
|
-
|
|
216
|
-
> **Caveat:** Tailwind `dark:` utilities only activate under the `.dark` class. Setting
|
|
217
|
-
> `data-theme="dark"` by hand drives the token block but **not** `dark:` utilities. `useTheme` sets
|
|
218
|
-
> both so they always agree — if you apply the theme yourself, add `class="dark"` as well.
|
|
219
|
-
|
|
220
|
-
## Bilingual & RTL
|
|
221
|
-
|
|
222
|
-
Wrap RTL content with `dir="rtl"` and the Arabic font:
|
|
223
|
-
|
|
224
|
-
```vue
|
|
225
|
-
<div dir="rtl" class="font-ar">
|
|
226
|
-
<!-- Arabic content -->
|
|
227
|
-
</div>
|
|
65
|
+
// nuxt.config.ts
|
|
66
|
+
export default defineNuxtConfig({
|
|
67
|
+
modules: ['@nuxtjs/tailwindcss', '@myghf/ui/nuxt'],
|
|
68
|
+
})
|
|
228
69
|
```
|
|
229
70
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
MYGHF UI.
|
|
238
|
-
|
|
239
|
-
## Development
|
|
71
|
+
It transpiles the library, loads the design tokens, and auto-imports the components,
|
|
72
|
+
composables, and utilities. When
|
|
73
|
+
[`@nuxtjs/tailwindcss`](https://tailwindcss.nuxtjs.org) is installed (an optional peer) it
|
|
74
|
+
also appends the `@myghf/ui/tailwind-preset` and the library content glob to your Tailwind
|
|
75
|
+
config; without it the module logs a warning and you add those two entries yourself, or set
|
|
76
|
+
`myghfUi: { tailwind: false }` to opt out. Install the Tailwind module explicitly if your app
|
|
77
|
+
does not already have it:
|
|
240
78
|
|
|
241
79
|
```bash
|
|
242
|
-
npm
|
|
243
|
-
npm run typecheck # vue-tsc --noEmit
|
|
244
|
-
npm test # vitest run
|
|
245
|
-
npm run build # vite build + copy tokens/preset into dist/
|
|
80
|
+
npm install -D @nuxtjs/tailwindcss
|
|
246
81
|
```
|
|
247
82
|
|
|
248
|
-
|
|
83
|
+
| Option | Type | Default |
|
|
84
|
+
| --- | --- | --- |
|
|
85
|
+
| `autoImports` | `boolean \| { components?: boolean; composables?: boolean }` | `true` |
|
|
86
|
+
| `prefix` | `string` (components only) | `''` |
|
|
87
|
+
| `tailwind` | `boolean` | `true` |
|
|
88
|
+
|
|
89
|
+
See the [Nuxt guide](https://ui.myfegypt.org/guide/nuxt) for details.
|
|
249
90
|
|
|
250
|
-
##
|
|
91
|
+
## Documentation
|
|
251
92
|
|
|
252
|
-
|
|
253
|
-
|
|
93
|
+
Full guides, live component examples, API reference, theming, and RTL notes live at
|
|
94
|
+
**[ui.myfegypt.org](https://ui.myfegypt.org)**.
|
|
254
95
|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
2. Open a pull request into `main` as usual.
|
|
260
|
-
3. When it merges, CI opens (or updates) a **Version Packages** pull request that bumps `version`
|
|
261
|
-
and updates `CHANGELOG.md`.
|
|
262
|
-
4. Merge that pull request to publish to npm. CI creates the git tag and GitHub Release
|
|
263
|
-
automatically, with provenance.
|
|
96
|
+
- [Getting started](https://ui.myfegypt.org/guide/introduction)
|
|
97
|
+
- [Components](https://ui.myfegypt.org/components/index)
|
|
98
|
+
- [Theming & dark mode](https://ui.myfegypt.org/guide/theming)
|
|
99
|
+
- [Brand rules (`DESIGN.md`)](./DESIGN.md)
|
|
264
100
|
|
|
265
101
|
## License
|
|
266
102
|
|
|
@@ -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"}
|
|
@@ -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<{}>;
|
|
@@ -69,6 +75,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
69
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"}
|
|
@@ -20,6 +20,9 @@ declare const _default: <T extends RowData>(__VLS_props: NonNullable<Awaited<typ
|
|
|
20
20
|
expanded?: Record<string, boolean>;
|
|
21
21
|
stopRowToggleOnInteractiveCells?: boolean;
|
|
22
22
|
maxHeight?: string;
|
|
23
|
+
loading?: boolean;
|
|
24
|
+
loadingRows?: number;
|
|
25
|
+
loadingLabel?: string;
|
|
23
26
|
} & Partial<{}>> & import('vue').PublicProps;
|
|
24
27
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
25
28
|
attrs: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/data-table/DataTable.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DataTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/data-table/DataTable.vue"],"names":[],"mappings":"AA8LA,OAAO,EAAwB,KAAK,SAAS,EAAE,KAAK,OAAO,EAAqB,MAAM,qBAAqB,CAAA;AAE3G,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;yBAWlC,CAAC,SAAS,OAAO,EACjC,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAycO,mBAAmB,CAAC;;gBAvaM,MAAM;kBAAQ,OAAO;;;;;cAhC7C,CAAC,EAAE;iBACA,SAAS,CAAC,OAAO,iBAAiB,EAAE,CAAC,CAAC,EAAE;mBACtC,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM;kBACnB,OAAO;eACV,IAAI,GAAG,SAAS;qBACV,MAAM;mBACR,OAAO;qBACL,OAAO;mBACT,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;0CACA,OAAO;oBAC7B,MAAM;kBACR,OAAO;sBACH,MAAM;uBACL,MAAM;mBA0bqE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UApD4E,GAAG;uBAE9D,GAAG;;;;;;;;;;;;;;;;;;YACE,GAAG;;;YAxXF,MAAM;cAAQ,OAAO;;EA6anD,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AApdzE,wBAod4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,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"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** The id of the control this label belongs to. Falls back to the field context. */
|
|
3
|
+
for?: string;
|
|
4
|
+
/** Renders an accessible-hidden required marker. */
|
|
5
|
+
required?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLLabelElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
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, {}, HTMLLabelElement>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=Label.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Label.vue.d.ts","sourceRoot":"","sources":["../../../src/components/label/Label.vue"],"names":[],"mappings":"AA0BA,KAAK,WAAW,GAAG;IACjB,oFAAoF;IACpF,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,oDAAoD;IACpD,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAQF,iBAAS,cAAc;WA+BT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,+SAOnB,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"}
|
|
@@ -10,6 +10,8 @@ type __VLS_Props = {
|
|
|
10
10
|
multiple?: boolean;
|
|
11
11
|
size?: 'sm' | 'default';
|
|
12
12
|
invalid?: boolean;
|
|
13
|
+
id?: string;
|
|
14
|
+
required?: boolean;
|
|
13
15
|
};
|
|
14
16
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
17
|
"update:modelValue": (value: unknown) => any;
|
|
@@ -17,7 +19,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
17
19
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
18
20
|
}>, {
|
|
19
21
|
size: "sm" | "default";
|
|
22
|
+
required: boolean;
|
|
20
23
|
placeholder: string;
|
|
24
|
+
invalid: boolean;
|
|
21
25
|
optionLabel: string;
|
|
22
26
|
optionValue: string;
|
|
23
27
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|