@myghf/ui 0.3.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.
Files changed (42) hide show
  1. package/README.md +27 -223
  2. package/dist/components/avatar/Avatar.vue.d.ts +12 -0
  3. package/dist/components/avatar/Avatar.vue.d.ts.map +1 -0
  4. package/dist/components/button/Button.vue.d.ts +7 -0
  5. package/dist/components/button/Button.vue.d.ts.map +1 -1
  6. package/dist/components/dropdown-menu/DropdownMenuGroup.vue.d.ts +18 -0
  7. package/dist/components/dropdown-menu/DropdownMenuGroup.vue.d.ts.map +1 -0
  8. package/dist/components/dropdown-menu/DropdownMenuItem.vue.d.ts +5 -1
  9. package/dist/components/dropdown-menu/DropdownMenuItem.vue.d.ts.map +1 -1
  10. package/dist/components/dropdown-menu/DropdownMenuLabel.vue.d.ts +18 -0
  11. package/dist/components/dropdown-menu/DropdownMenuLabel.vue.d.ts.map +1 -0
  12. package/dist/components/dropdown-menu/DropdownMenuSeparator.vue.d.ts +3 -0
  13. package/dist/components/dropdown-menu/DropdownMenuSeparator.vue.d.ts.map +1 -0
  14. package/dist/components/form-field/FormDescription.vue.d.ts +22 -0
  15. package/dist/components/form-field/FormDescription.vue.d.ts.map +1 -0
  16. package/dist/components/form-field/FormField.vue.d.ts +37 -0
  17. package/dist/components/form-field/FormField.vue.d.ts.map +1 -0
  18. package/dist/components/form-field/FormMessage.vue.d.ts +22 -0
  19. package/dist/components/form-field/FormMessage.vue.d.ts.map +1 -0
  20. package/dist/components/input/Input.vue.d.ts +8 -0
  21. package/dist/components/input/Input.vue.d.ts.map +1 -1
  22. package/dist/components/label/Label.vue.d.ts +24 -0
  23. package/dist/components/label/Label.vue.d.ts.map +1 -0
  24. package/dist/components/select/Select.vue.d.ts +4 -0
  25. package/dist/components/select/Select.vue.d.ts.map +1 -1
  26. package/dist/components/skeleton/Skeleton.vue.d.ts +51 -0
  27. package/dist/components/skeleton/Skeleton.vue.d.ts.map +1 -0
  28. package/dist/components/spinner/Spinner.vue.d.ts +13 -0
  29. package/dist/components/spinner/Spinner.vue.d.ts.map +1 -0
  30. package/dist/components/textarea/Textarea.vue.d.ts +9 -1
  31. package/dist/components/textarea/Textarea.vue.d.ts.map +1 -1
  32. package/dist/index.d.ts +12 -0
  33. package/dist/index.d.ts.map +1 -1
  34. package/dist/index.js +845 -517
  35. package/dist/index.js.map +1 -1
  36. package/dist/lib/formField.d.ts +27 -0
  37. package/dist/lib/formField.d.ts.map +1 -0
  38. package/dist/nuxt.d.ts +14 -0
  39. package/dist/nuxt.d.ts.map +1 -0
  40. package/dist/nuxt.js +32 -0
  41. package/dist/nuxt.js.map +1 -0
  42. package/package.json +17 -1
package/README.md CHANGED
@@ -1,42 +1,35 @@
1
- # @myghf/ui
2
-
3
- [![npm version](https://img.shields.io/npm/v/@myghf/ui.svg)](https://www.npmjs.com/package/@myghf/ui)
4
- [![license](https://img.shields.io/npm/l/@myghf/ui.svg)](./LICENSE)
5
-
6
- The **Magdi Yacoub Global Heart Foundation (MYGHF)** shared Vue 3 design system — Tailwind-based,
7
- app-agnostic, accessible components for MYGHF / Aswan Heart Centre applications.
8
-
9
- - **Built on** [Vue 3](https://vuejs.org) + [Reka UI](https://reka-ui.com) primitives, styled with
10
- [Tailwind CSS](https://tailwindcss.com).
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
- ## Install
19
+ ## Installation
24
20
 
25
21
  ```bash
26
22
  npm install @myghf/ui
27
23
  ```
28
24
 
29
- ## Setup
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 make sure your `content` globs include the library's output so its
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,219 +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" variant="primary">Continue</Button>
54
+ <Button type="submit">Continue</Button>
66
55
  </form>
67
56
  </template>
68
57
  ```
69
58
 
70
- ### Components
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:
110
-
111
- ```vue
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:
200
-
201
- ```ts
202
- import { useTheme } from '@myghf/ui'
203
-
204
- const { mode, resolved, isDark, setMode, toggle, enable, disable, reset } = useTheme()
205
- // defaults: storageKey 'myghf-theme', attribute 'both', defaultMode 'system'
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>
228
- ```
229
-
230
- Prefer logical utilities (`ps-*`, `pe-*`, `ms-*`, `me-*`, `text-start`, `text-end`) over physical
231
- ones, and use the `rtl:` variant for directional icons.
232
-
233
- ## Design system
234
-
235
- Brand rules, the colour/token reference, typography, and logo usage live in
236
- [DESIGN.md](./DESIGN.md). It is written for both developers and AI agents — follow it when building
237
- MYGHF UI.
238
-
239
- ## Development
240
-
241
- ```bash
242
- npm ci # install from the lockfile
243
- npm run typecheck # vue-tsc --noEmit
244
- npm test # vitest run
245
- npm run build # vite build + copy tokens/preset into dist/
246
- ```
247
-
248
- Contributor and release conventions are documented in [AGENTS.md](./AGENTS.md).
249
-
250
- ## Releasing
59
+ ## Documentation
251
60
 
252
- This package uses [Changesets](https://changesets.dev) for versioning and publishing, and ships
253
- from CI via npm Trusted Publishing (OIDC) — there is no `NPM_TOKEN`.
61
+ Full guides, live component examples, API reference, theming, and RTL notes live at
62
+ **[ui.myfegypt.org](https://ui.myfegypt.org)**.
254
63
 
255
- 1. Add a changeset describing your change and commit it with your work:
256
- ```bash
257
- npx changeset
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.
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)
264
68
 
265
69
  ## License
266
70
 
@@ -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":"AAyDA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEzD,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;CACf,CAAC;AAYJ,iBAAS,cAAc;WAqCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;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,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"}
@@ -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
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
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":"AA2BA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEzD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;yUAShB,CAAA;AAEF,KAAK,WAAW,GAAG;IAAE,OAAO,CAAC,EAAE,YAAY,CAAC,OAAO,YAAY,CA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C"}
@@ -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":"AAkDA,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;CAC/B,CAAC;;;;;;;;UADO,IAAI,GAAG,SAAS,GAAG,IAAI;;;;AAyGlC,wBAWG"}
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>;
@@ -1 +1 @@
1
- {"version":3,"file":"Select.vue.d.ts","sourceRoot":"","sources":["../../../src/components/select/Select.vue"],"names":[],"mappings":"AAqIA,OAAO,EAQL,KAAK,eAAe,EACrB,MAAM,SAAS,CAAA;AAIhB,KAAK,WAAW,GAAG;IACf,UAAU,CAAC,EAAE,eAAe,GAAG,eAAe,EAAE,CAAA;IAChD,OAAO,CAAC,EAAE,OAAO,EAAE,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAA;IACvB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;;;;;;UAFO,IAAI,GAAG,SAAS;iBAJT,MAAM;iBAFN,MAAM;iBACN,MAAM;;AA2QxB,wBASG"}
1
+ {"version":3,"file":"Select.vue.d.ts","sourceRoot":"","sources":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