@neobrut-vue/core 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.
Files changed (36) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +71 -4
  3. package/dist/components/NbAlertDialog/NbAlertDialog.vue.d.ts +40 -0
  4. package/dist/components/NbAlertDialog/index.d.ts +1 -0
  5. package/dist/components/NbCollapsible/NbCollapsible.vue.d.ts +31 -0
  6. package/dist/components/NbCollapsible/index.d.ts +1 -0
  7. package/dist/components/NbCommand/NbCommand.vue.d.ts +44 -0
  8. package/dist/components/NbCommand/NbCommandPanel.vue.d.ts +18 -0
  9. package/dist/components/NbCommand/index.d.ts +2 -0
  10. package/dist/components/NbCommand/types.d.ts +8 -0
  11. package/dist/components/NbContextMenu/NbContextMenu.vue.d.ts +29 -0
  12. package/dist/components/NbContextMenu/NbContextMenuCheckboxItem.vue.d.ts +28 -0
  13. package/dist/components/NbContextMenu/NbContextMenuItem.vue.d.ts +28 -0
  14. package/dist/components/NbContextMenu/NbContextMenuLabel.vue.d.ts +17 -0
  15. package/dist/components/NbContextMenu/NbContextMenuRadioGroup.vue.d.ts +24 -0
  16. package/dist/components/NbContextMenu/NbContextMenuRadioItem.vue.d.ts +23 -0
  17. package/dist/components/NbContextMenu/NbContextMenuSeparator.vue.d.ts +2 -0
  18. package/dist/components/NbContextMenu/NbContextMenuShortcut.vue.d.ts +17 -0
  19. package/dist/components/NbContextMenu/NbContextMenuSub.vue.d.ts +23 -0
  20. package/dist/components/NbContextMenu/index.d.ts +9 -0
  21. package/dist/components/NbHoverCard/NbHoverCard.vue.d.ts +37 -0
  22. package/dist/components/NbHoverCard/index.d.ts +1 -0
  23. package/dist/components/NbNavigationMenu/NbNavigationMenu.vue.d.ts +25 -0
  24. package/dist/components/NbNavigationMenu/index.d.ts +2 -0
  25. package/dist/components/NbPinInput/NbPinInput.vue.d.ts +28 -0
  26. package/dist/components/NbPinInput/index.d.ts +1 -0
  27. package/dist/components/NbRating/NbRating.vue.d.ts +21 -0
  28. package/dist/components/NbRating/index.d.ts +1 -0
  29. package/dist/components/NbSheet/NbSheet.vue.d.ts +35 -0
  30. package/dist/components/NbSheet/index.d.ts +2 -0
  31. package/dist/components/NbTagsInput/NbTagsInput.vue.d.ts +22 -0
  32. package/dist/components/NbTagsInput/index.d.ts +1 -0
  33. package/dist/index.d.ts +14 -1
  34. package/dist/neobrut-vue.css +1 -1
  35. package/dist/neobrut-vue.js +1766 -777
  36. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.0
4
+
5
+ - Added `NbTagsInput`, `NbPinInput`, `NbRating`, and `NbCollapsible`.
6
+ - Added accessible demos and usage examples for the new components.
7
+
8
+ ## 0.3.0
9
+
10
+ - Added `NbSheet`, `NbAlertDialog`, `NbContextMenu`, `NbCommand`, `NbHoverCard`, and `NbNavigationMenu`.
11
+ - Added accessible playground and README examples for navigation and advanced overlays.
12
+
3
13
  ## 0.2.0
4
14
 
5
15
  - Added `NbLink`, `NbButtonGroup`, `NbToggle`, `NbKbd`, and `NbMarker`.
package/README.md CHANGED
@@ -50,10 +50,10 @@ import { NbBadge, NbButton, NbCard } from '@neobrut-vue/core'
50
50
  | Group | Components |
51
51
  | --- | --- |
52
52
  | Actions and surfaces | `NbButton`, `NbButtonGroup`, `NbToggle`, `NbCard`, `NbAlert`, `NbBadge` |
53
- | Forms | `NbCheckbox`, `NbCombobox`, `NbFieldset`, `NbInput`, `NbInputGroup`, `NbNumberInput`, `NbRadioGroup`, `NbSelect`, `NbSelectItem`, `NbSlider`, `NbSwitch`, `NbTextarea`, `NbToggleGroup`, `NbToggleGroupItem` |
54
- | Navigation | `NbBreadcrumbs`, `NbPagination`, `NbTabs`, `NbTabsList`, `NbTabsTrigger`, `NbTabsContent` |
55
- | Overlays | `NbDialog`, `NbDropdownMenu`, `NbDropdownMenuItem`, `NbDropdownMenuSeparator`, `NbPopover`, `NbToast`, `NbTooltip` |
56
- | Data display | `NbAccordion`, `NbAccordionItem`, `NbAvatar`, `NbEmptyState`, `NbProgress`, `NbSkeleton`, `NbSpinner`, `NbTable` |
53
+ | Forms | `NbCheckbox`, `NbCombobox`, `NbFieldset`, `NbInput`, `NbInputGroup`, `NbNumberInput`, `NbPinInput`, `NbRadioGroup`, `NbRating`, `NbSelect`, `NbSelectItem`, `NbSlider`, `NbSwitch`, `NbTagsInput`, `NbTextarea`, `NbToggleGroup`, `NbToggleGroupItem` |
54
+ | Navigation | `NbBreadcrumbs`, `NbNavigationMenu`, `NbPagination`, `NbTabs`, `NbTabsList`, `NbTabsTrigger`, `NbTabsContent` |
55
+ | Overlays | `NbAlertDialog`, `NbCommand`, `NbContextMenu`, `NbDialog`, `NbDropdownMenu`, `NbHoverCard`, `NbPopover`, `NbSheet`, `NbToast`, `NbTooltip` |
56
+ | Data display | `NbAccordion`, `NbAccordionItem`, `NbAvatar`, `NbCollapsible`, `NbEmptyState`, `NbProgress`, `NbSkeleton`, `NbSpinner`, `NbTable` |
57
57
  | Inline and layout | `NbLink`, `NbKbd`, `NbMarker`, `NbAspectRatio`, `NbScrollArea`, `NbSeparator` |
58
58
 
59
59
  ## Links and actions
@@ -179,6 +179,26 @@ const handle = ref('')
179
179
  </template>
180
180
  ```
181
181
 
182
+ Tags, verification codes, and ratings use the same `v-model` pattern. A PIN value is an array of digits so leading zeroes survive; `complete` fires when every cell is filled.
183
+ Set `name` when submitting tags or codes in a native form so the submitted field has a predictable key.
184
+
185
+ ```vue
186
+ <script setup lang="ts">
187
+ import { ref } from 'vue'
188
+ import { NbPinInput, NbRating, NbTagsInput } from '@neobrut-vue/core'
189
+
190
+ const tags = ref(['Vue'])
191
+ const code = ref<number[]>([])
192
+ const rating = ref(3)
193
+ </script>
194
+
195
+ <template>
196
+ <NbTagsInput v-model="tags" label="Skills" placeholder="Add a skill" name="skills" />
197
+ <NbPinInput v-model="code" label="Verification code" :length="6" otp name="code" />
198
+ <NbRating v-model="rating" label="Experience" name="rating" />
199
+ </template>
200
+ ```
201
+
182
202
  ## Navigation and disclosure
183
203
 
184
204
  Tabs support controlled and uncontrolled state plus horizontal or vertical keyboard navigation:
@@ -222,6 +242,18 @@ import { NbAccordion, NbAccordionItem } from '@neobrut-vue/core'
222
242
  </template>
223
243
  ```
224
244
 
245
+ For one revealable section, use `NbCollapsible` with `default-open` or `v-model:open`:
246
+
247
+ ```vue
248
+ <script setup lang="ts">
249
+ import { NbCollapsible } from '@neobrut-vue/core'
250
+ </script>
251
+
252
+ <template>
253
+ <NbCollapsible title="Advanced options">Extra controls go here.</NbCollapsible>
254
+ </template>
255
+ ```
256
+
225
257
  ## Dialogs and menus
226
258
 
227
259
  `NbDialog` traps focus, closes on Escape, and restores focus to its trigger:
@@ -267,6 +299,41 @@ import {
267
299
  </template>
268
300
  ```
269
301
 
302
+ Sheets, alert dialogs, and command menus use the same controlled or uncontrolled open-state pattern:
303
+
304
+ ```vue
305
+ <script setup lang="ts">
306
+ import { ref } from 'vue'
307
+ import { NbAlertDialog, NbCommand, NbSheet, type NbCommandOption } from '@neobrut-vue/core'
308
+
309
+ const selected = ref('')
310
+ const commands: NbCommandOption[] = [
311
+ { value: 'new', label: 'New component', group: 'Project', shortcut: '⌘N' },
312
+ { value: 'publish', label: 'Publish package', group: 'Project', keywords: ['release'] },
313
+ ]
314
+ </script>
315
+
316
+ <template>
317
+ <NbSheet title="Edit component" side="right">
318
+ <template #trigger>Edit</template>
319
+ Sheet content
320
+ </NbSheet>
321
+
322
+ <NbAlertDialog
323
+ title="Delete component?"
324
+ description="This action cannot be undone."
325
+ action-label="Delete"
326
+ destructive
327
+ >
328
+ <template #trigger>Delete</template>
329
+ </NbAlertDialog>
330
+
331
+ <NbCommand v-model="selected" :options="commands" label="Project commands" />
332
+ </template>
333
+ ```
334
+
335
+ `NbContextMenu` includes item, checkbox, radio, submenu, label, separator, and shortcut primitives. `NbHoverCard` preserves the semantics of its slotted trigger, while `NbNavigationMenu` accepts a small data-driven link tree.
336
+
270
337
  ## Data display
271
338
 
272
339
  ```vue
@@ -0,0 +1,40 @@
1
+ type __VLS_Props = {
2
+ open?: boolean;
3
+ defaultOpen?: boolean;
4
+ title: string;
5
+ description: string;
6
+ actionLabel?: string;
7
+ cancelLabel?: string;
8
+ destructive?: boolean;
9
+ };
10
+ declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
12
+ slots: {
13
+ trigger?(_: {}): any;
14
+ };
15
+ refs: {};
16
+ rootEl: any;
17
+ };
18
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ "update:open": (value: boolean) => any;
21
+ action: () => any;
22
+ cancel: () => any;
23
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
24
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
25
+ onAction?: (() => any) | undefined;
26
+ onCancel?: (() => any) | undefined;
27
+ }>, {
28
+ open: boolean;
29
+ defaultOpen: boolean;
30
+ destructive: boolean;
31
+ actionLabel: string;
32
+ cancelLabel: string;
33
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
34
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
35
+ export default _default;
36
+ type __VLS_WithTemplateSlots<T, S> = T & {
37
+ new (): {
38
+ $slots: S;
39
+ };
40
+ };
@@ -0,0 +1 @@
1
+ export { default as NbAlertDialog } from './NbAlertDialog.vue';
@@ -0,0 +1,31 @@
1
+ type __VLS_Props = {
2
+ title: string;
3
+ open?: boolean;
4
+ defaultOpen?: boolean;
5
+ disabled?: boolean;
6
+ };
7
+ declare function __VLS_template(): {
8
+ attrs: Partial<{}>;
9
+ slots: {
10
+ default?(_: {}): any;
11
+ };
12
+ refs: {};
13
+ rootEl: any;
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, {
17
+ "update:open": (value: boolean) => any;
18
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
19
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
20
+ }>, {
21
+ disabled: boolean;
22
+ open: boolean;
23
+ defaultOpen: boolean;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
+ export default _default;
27
+ type __VLS_WithTemplateSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -0,0 +1 @@
1
+ export { default as NbCollapsible } from './NbCollapsible.vue';
@@ -0,0 +1,44 @@
1
+ import { NbCommandOption } from './types';
2
+ type __VLS_Props = {
3
+ modelValue?: string;
4
+ options: NbCommandOption[];
5
+ label?: string;
6
+ placeholder?: string;
7
+ emptyText?: string;
8
+ dialog?: boolean;
9
+ open?: boolean;
10
+ defaultOpen?: boolean;
11
+ };
12
+ declare function __VLS_template(): {
13
+ attrs: Partial<{}>;
14
+ slots: {
15
+ trigger?(_: {}): any;
16
+ };
17
+ refs: {};
18
+ rootEl: any;
19
+ };
20
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
+ "update:modelValue": (value: string) => any;
23
+ select: (option: NbCommandOption) => any;
24
+ "update:open": (value: boolean) => any;
25
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
26
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
27
+ onSelect?: ((option: NbCommandOption) => any) | undefined;
28
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
29
+ }>, {
30
+ modelValue: string;
31
+ label: string;
32
+ placeholder: string;
33
+ open: boolean;
34
+ defaultOpen: boolean;
35
+ dialog: boolean;
36
+ emptyText: string;
37
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
38
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
39
+ export default _default;
40
+ type __VLS_WithTemplateSlots<T, S> = T & {
41
+ new (): {
42
+ $slots: S;
43
+ };
44
+ };
@@ -0,0 +1,18 @@
1
+ import { NbCommandOption } from './types';
2
+ type __VLS_Props = {
3
+ modelValue?: string;
4
+ options: NbCommandOption[];
5
+ label: string;
6
+ placeholder: string;
7
+ emptyText: string;
8
+ };
9
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ "update:modelValue": (value: string) => any;
11
+ select: (option: NbCommandOption) => any;
12
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
14
+ onSelect?: ((option: NbCommandOption) => any) | undefined;
15
+ }>, {
16
+ modelValue: string;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as NbCommand } from './NbCommand.vue';
2
+ export type { NbCommandOption } from './types';
@@ -0,0 +1,8 @@
1
+ export interface NbCommandOption {
2
+ value: string;
3
+ label: string;
4
+ group?: string;
5
+ shortcut?: string;
6
+ keywords?: string[];
7
+ disabled?: boolean;
8
+ }
@@ -0,0 +1,29 @@
1
+ type __VLS_Props = {
2
+ open?: boolean;
3
+ defaultOpen?: boolean;
4
+ };
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ trigger?(_: {}): any;
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ rootEl: any;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ "update:open": (value: boolean) => any;
17
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
18
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
19
+ }>, {
20
+ open: boolean;
21
+ defaultOpen: boolean;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
+ export default _default;
25
+ type __VLS_WithTemplateSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -0,0 +1,28 @@
1
+ type __VLS_Props = {
2
+ modelValue?: boolean;
3
+ disabled?: boolean;
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, {
15
+ "update:modelValue": (value: boolean) => any;
16
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
18
+ }>, {
19
+ modelValue: boolean;
20
+ disabled: boolean;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
+ export default _default;
24
+ type __VLS_WithTemplateSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,28 @@
1
+ type __VLS_Props = {
2
+ disabled?: boolean;
3
+ destructive?: boolean;
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, {
15
+ select: (event: Event) => any;
16
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ onSelect?: ((event: Event) => any) | undefined;
18
+ }>, {
19
+ disabled: boolean;
20
+ destructive: boolean;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
+ export default _default;
24
+ type __VLS_WithTemplateSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,17 @@
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
+ };
@@ -0,0 +1,24 @@
1
+ type __VLS_Props = {
2
+ modelValue?: string;
3
+ };
4
+ declare function __VLS_template(): {
5
+ attrs: Partial<{}>;
6
+ slots: {
7
+ default?(_: {}): any;
8
+ };
9
+ refs: {};
10
+ rootEl: any;
11
+ };
12
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ "update:modelValue": (value: string) => any;
15
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
+ export default _default;
20
+ type __VLS_WithTemplateSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,23 @@
1
+ type __VLS_Props = {
2
+ value: string;
3
+ disabled?: boolean;
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<{}>, {
15
+ disabled: boolean;
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
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
+ };
@@ -0,0 +1,2 @@
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;
@@ -0,0 +1,17 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: HTMLSpanElement;
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, {}, HTMLSpanElement>;
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
+ };
@@ -0,0 +1,23 @@
1
+ type __VLS_Props = {
2
+ label: string;
3
+ disabled?: boolean;
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<{}>, {
15
+ disabled: boolean;
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
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
+ };
@@ -0,0 +1,9 @@
1
+ export { default as NbContextMenu } from './NbContextMenu.vue';
2
+ export { default as NbContextMenuCheckboxItem } from './NbContextMenuCheckboxItem.vue';
3
+ export { default as NbContextMenuItem } from './NbContextMenuItem.vue';
4
+ export { default as NbContextMenuLabel } from './NbContextMenuLabel.vue';
5
+ export { default as NbContextMenuRadioGroup } from './NbContextMenuRadioGroup.vue';
6
+ export { default as NbContextMenuRadioItem } from './NbContextMenuRadioItem.vue';
7
+ export { default as NbContextMenuSeparator } from './NbContextMenuSeparator.vue';
8
+ export { default as NbContextMenuShortcut } from './NbContextMenuShortcut.vue';
9
+ export { default as NbContextMenuSub } from './NbContextMenuSub.vue';
@@ -0,0 +1,37 @@
1
+ type __VLS_Props = {
2
+ open?: boolean;
3
+ defaultOpen?: boolean;
4
+ openDelay?: number;
5
+ closeDelay?: number;
6
+ align?: 'start' | 'center' | 'end';
7
+ side?: 'top' | 'right' | 'bottom' | 'left';
8
+ };
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: {
12
+ trigger?(_: {}): any;
13
+ default?(_: {}): any;
14
+ };
15
+ refs: {};
16
+ rootEl: any;
17
+ };
18
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ "update:open": (value: boolean) => any;
21
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
22
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
23
+ }>, {
24
+ open: boolean;
25
+ defaultOpen: boolean;
26
+ side: "top" | "right" | "bottom" | "left";
27
+ align: "start" | "center" | "end";
28
+ openDelay: number;
29
+ closeDelay: number;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
+ export default _default;
33
+ type __VLS_WithTemplateSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S;
36
+ };
37
+ };
@@ -0,0 +1 @@
1
+ export { default as NbHoverCard } from './NbHoverCard.vue';
@@ -0,0 +1,25 @@
1
+ export interface NbNavigationLink {
2
+ label: string;
3
+ href: string;
4
+ description?: string;
5
+ target?: string;
6
+ active?: boolean;
7
+ children?: never;
8
+ }
9
+ export interface NbNavigationGroup {
10
+ label: string;
11
+ children: NbNavigationLink[];
12
+ href?: never;
13
+ description?: never;
14
+ target?: never;
15
+ active?: never;
16
+ }
17
+ export type NbNavigationItem = NbNavigationLink | NbNavigationGroup;
18
+ type __VLS_Props = {
19
+ items: NbNavigationItem[];
20
+ label?: string;
21
+ };
22
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
23
+ label: string;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as NbNavigationMenu } from './NbNavigationMenu.vue';
2
+ export type { NbNavigationGroup, NbNavigationItem, NbNavigationLink } from './NbNavigationMenu.vue';
@@ -0,0 +1,28 @@
1
+ type __VLS_Props = {
2
+ modelValue?: number[];
3
+ length?: number;
4
+ label?: string;
5
+ hint?: string;
6
+ error?: string;
7
+ name?: string;
8
+ id?: string;
9
+ disabled?: boolean;
10
+ required?: boolean;
11
+ mask?: boolean;
12
+ otp?: boolean;
13
+ };
14
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ "update:modelValue": (value: number[]) => any;
16
+ complete: (value: number[]) => any;
17
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
18
+ "onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
19
+ onComplete?: ((value: number[]) => any) | undefined;
20
+ }>, {
21
+ modelValue: number[];
22
+ disabled: boolean;
23
+ length: number;
24
+ required: boolean;
25
+ mask: boolean;
26
+ otp: boolean;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
28
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as NbPinInput } from './NbPinInput.vue';
@@ -0,0 +1,21 @@
1
+ type __VLS_Props = {
2
+ modelValue?: number;
3
+ length?: number;
4
+ label?: string;
5
+ hint?: string;
6
+ error?: string;
7
+ name?: string;
8
+ id?: string;
9
+ disabled?: boolean;
10
+ required?: boolean;
11
+ };
12
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ "update:modelValue": (value: number) => any;
14
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
16
+ }>, {
17
+ disabled: boolean;
18
+ length: number;
19
+ required: boolean;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as NbRating } from './NbRating.vue';
@@ -0,0 +1,35 @@
1
+ export type NbSheetSide = 'top' | 'right' | 'bottom' | 'left';
2
+ type __VLS_Props = {
3
+ open?: boolean;
4
+ defaultOpen?: boolean;
5
+ title: string;
6
+ description?: string;
7
+ side?: NbSheetSide;
8
+ };
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: {
12
+ trigger?(_: {}): any;
13
+ default?(_: {}): any;
14
+ footer?(_: {}): any;
15
+ };
16
+ refs: {};
17
+ rootEl: any;
18
+ };
19
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
+ "update:open": (value: boolean) => any;
22
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
23
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
24
+ }>, {
25
+ open: boolean;
26
+ defaultOpen: boolean;
27
+ side: NbSheetSide;
28
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
+ export default _default;
31
+ type __VLS_WithTemplateSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };