@neobrut-vue/core 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/CHANGELOG.md +10 -0
- package/README.md +73 -4
- package/dist/components/NbCollapsible/NbCollapsible.vue.d.ts +31 -0
- package/dist/components/NbCollapsible/index.d.ts +1 -0
- package/dist/components/NbCopyButton/NbCopyButton.vue.d.ts +20 -0
- package/dist/components/NbCopyButton/index.d.ts +1 -0
- package/dist/components/NbMeter/NbMeter.vue.d.ts +16 -0
- package/dist/components/NbMeter/index.d.ts +1 -0
- package/dist/components/NbPinInput/NbPinInput.vue.d.ts +28 -0
- package/dist/components/NbPinInput/index.d.ts +1 -0
- package/dist/components/NbRating/NbRating.vue.d.ts +21 -0
- package/dist/components/NbRating/index.d.ts +1 -0
- package/dist/components/NbStepper/NbStepper.vue.d.ts +33 -0
- package/dist/components/NbStepper/NbStepperItem.vue.d.ts +9 -0
- package/dist/components/NbStepper/index.d.ts +2 -0
- package/dist/components/NbTagsInput/NbTagsInput.vue.d.ts +22 -0
- package/dist/components/NbTagsInput/index.d.ts +1 -0
- package/dist/components/NbTimeline/NbTimeline.vue.d.ts +20 -0
- package/dist/components/NbTimeline/NbTimelineItem.vue.d.ts +22 -0
- package/dist/components/NbTimeline/index.d.ts +2 -0
- package/dist/index.d.ts +9 -1
- package/dist/neobrut-vue.css +1 -1
- package/dist/neobrut-vue.js +1252 -770
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.0
|
|
4
|
+
|
|
5
|
+
- Added `NbStepper`, `NbMeter`, `NbTimeline`, and `NbCopyButton` with accessible examples.
|
|
6
|
+
- Added clipboard success and failure feedback, with coverage for text changes during copying.
|
|
7
|
+
|
|
8
|
+
## 0.4.0
|
|
9
|
+
|
|
10
|
+
- Added `NbTagsInput`, `NbPinInput`, `NbRating`, and `NbCollapsible`.
|
|
11
|
+
- Added accessible demos and usage examples for the new components.
|
|
12
|
+
|
|
3
13
|
## 0.3.0
|
|
4
14
|
|
|
5
15
|
- Added `NbSheet`, `NbAlertDialog`, `NbContextMenu`, `NbCommand`, `NbHoverCard`, and `NbNavigationMenu`.
|
package/README.md
CHANGED
|
@@ -49,11 +49,11 @@ import { NbBadge, NbButton, NbCard } from '@neobrut-vue/core'
|
|
|
49
49
|
|
|
50
50
|
| Group | Components |
|
|
51
51
|
| --- | --- |
|
|
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`, `NbNavigationMenu`, `NbPagination`, `NbTabs`, `NbTabsList`, `NbTabsTrigger`, `NbTabsContent` |
|
|
52
|
+
| Actions and surfaces | `NbButton`, `NbButtonGroup`, `NbCopyButton`, `NbToggle`, `NbCard`, `NbAlert`, `NbBadge` |
|
|
53
|
+
| Forms | `NbCheckbox`, `NbCombobox`, `NbFieldset`, `NbInput`, `NbInputGroup`, `NbNumberInput`, `NbPinInput`, `NbRadioGroup`, `NbRating`, `NbSelect`, `NbSelectItem`, `NbSlider`, `NbSwitch`, `NbTagsInput`, `NbTextarea`, `NbToggleGroup`, `NbToggleGroupItem` |
|
|
54
|
+
| Navigation | `NbBreadcrumbs`, `NbNavigationMenu`, `NbPagination`, `NbStepper`, `NbStepperItem`, `NbTabs`, `NbTabsList`, `NbTabsTrigger`, `NbTabsContent` |
|
|
55
55
|
| Overlays | `NbAlertDialog`, `NbCommand`, `NbContextMenu`, `NbDialog`, `NbDropdownMenu`, `NbHoverCard`, `NbPopover`, `NbSheet`, `NbToast`, `NbTooltip` |
|
|
56
|
-
| Data display | `NbAccordion`, `NbAccordionItem`, `NbAvatar`, `NbEmptyState`, `NbProgress`, `NbSkeleton`, `NbSpinner`, `NbTable` |
|
|
56
|
+
| Data display | `NbAccordion`, `NbAccordionItem`, `NbAvatar`, `NbCollapsible`, `NbEmptyState`, `NbMeter`, `NbProgress`, `NbSkeleton`, `NbSpinner`, `NbTable`, `NbTimeline`, `NbTimelineItem` |
|
|
57
57
|
| Inline and layout | `NbLink`, `NbKbd`, `NbMarker`, `NbAspectRatio`, `NbScrollArea`, `NbSeparator` |
|
|
58
58
|
|
|
59
59
|
## Links and actions
|
|
@@ -84,6 +84,18 @@ const pinned = ref(false)
|
|
|
84
84
|
</template>
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
+
`NbCopyButton` copies its `text` with the browser Clipboard API. It announces short success or failure feedback and emits `copied` or `error`; clipboard access requires a secure context such as HTTPS or localhost.
|
|
88
|
+
|
|
89
|
+
```vue
|
|
90
|
+
<script setup lang="ts">
|
|
91
|
+
import { NbCopyButton } from '@neobrut-vue/core'
|
|
92
|
+
</script>
|
|
93
|
+
|
|
94
|
+
<template>
|
|
95
|
+
<NbCopyButton text="npm install @neobrut-vue/core" label="Copy install command" />
|
|
96
|
+
</template>
|
|
97
|
+
```
|
|
98
|
+
|
|
87
99
|
## Forms
|
|
88
100
|
|
|
89
101
|
Form components use `v-model`, forward native input attributes, and expose labels, hints, and errors through the relevant ARIA relationships.
|
|
@@ -179,6 +191,26 @@ const handle = ref('')
|
|
|
179
191
|
</template>
|
|
180
192
|
```
|
|
181
193
|
|
|
194
|
+
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.
|
|
195
|
+
Set `name` when submitting tags or codes in a native form so the submitted field has a predictable key.
|
|
196
|
+
|
|
197
|
+
```vue
|
|
198
|
+
<script setup lang="ts">
|
|
199
|
+
import { ref } from 'vue'
|
|
200
|
+
import { NbPinInput, NbRating, NbTagsInput } from '@neobrut-vue/core'
|
|
201
|
+
|
|
202
|
+
const tags = ref(['Vue'])
|
|
203
|
+
const code = ref<number[]>([])
|
|
204
|
+
const rating = ref(3)
|
|
205
|
+
</script>
|
|
206
|
+
|
|
207
|
+
<template>
|
|
208
|
+
<NbTagsInput v-model="tags" label="Skills" placeholder="Add a skill" name="skills" />
|
|
209
|
+
<NbPinInput v-model="code" label="Verification code" :length="6" otp name="code" />
|
|
210
|
+
<NbRating v-model="rating" label="Experience" name="rating" />
|
|
211
|
+
</template>
|
|
212
|
+
```
|
|
213
|
+
|
|
182
214
|
## Navigation and disclosure
|
|
183
215
|
|
|
184
216
|
Tabs support controlled and uncontrolled state plus horizontal or vertical keyboard navigation:
|
|
@@ -222,6 +254,18 @@ import { NbAccordion, NbAccordionItem } from '@neobrut-vue/core'
|
|
|
222
254
|
</template>
|
|
223
255
|
```
|
|
224
256
|
|
|
257
|
+
For one revealable section, use `NbCollapsible` with `default-open` or `v-model:open`:
|
|
258
|
+
|
|
259
|
+
```vue
|
|
260
|
+
<script setup lang="ts">
|
|
261
|
+
import { NbCollapsible } from '@neobrut-vue/core'
|
|
262
|
+
</script>
|
|
263
|
+
|
|
264
|
+
<template>
|
|
265
|
+
<NbCollapsible title="Advanced options">Extra controls go here.</NbCollapsible>
|
|
266
|
+
</template>
|
|
267
|
+
```
|
|
268
|
+
|
|
225
269
|
## Dialogs and menus
|
|
226
270
|
|
|
227
271
|
`NbDialog` traps focus, closes on Escape, and restores focus to its trigger:
|
|
@@ -324,6 +368,31 @@ const page = ref(1)
|
|
|
324
368
|
</template>
|
|
325
369
|
```
|
|
326
370
|
|
|
371
|
+
Use `NbProgress` for completion, and the native `NbMeter` for a bounded measurement. `NbStepper` handles keyboard navigation and controlled or uncontrolled steps; render the active panel in your app. `NbTimeline` keeps event history in a semantic ordered list.
|
|
372
|
+
|
|
373
|
+
```vue
|
|
374
|
+
<script setup lang="ts">
|
|
375
|
+
import { ref } from 'vue'
|
|
376
|
+
import { NbMeter, NbStepper, NbStepperItem, NbTimeline, NbTimelineItem } from '@neobrut-vue/core'
|
|
377
|
+
|
|
378
|
+
const step = ref(1)
|
|
379
|
+
</script>
|
|
380
|
+
|
|
381
|
+
<template>
|
|
382
|
+
<NbStepper v-model="step" label="Checkout">
|
|
383
|
+
<NbStepperItem :step="1" title="Cart" description="Review items" />
|
|
384
|
+
<NbStepperItem :step="2" title="Address" />
|
|
385
|
+
<NbStepperItem :step="3" title="Payment" />
|
|
386
|
+
</NbStepper>
|
|
387
|
+
<section v-if="step === 1">Review your cart here.</section>
|
|
388
|
+
|
|
389
|
+
<NbMeter label="Storage used" :value="72" show-value />
|
|
390
|
+
<NbTimeline label="Release history">
|
|
391
|
+
<NbTimelineItem title="Published" date="Oct 1" datetime="2026-10-01">Available on npm.</NbTimelineItem>
|
|
392
|
+
</NbTimeline>
|
|
393
|
+
</template>
|
|
394
|
+
```
|
|
395
|
+
|
|
327
396
|
## VeeValidate
|
|
328
397
|
|
|
329
398
|
VeeValidate is optional. Standard model and attribute bindings work without an adapter:
|
|
@@ -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,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
text: string;
|
|
3
|
+
label?: string;
|
|
4
|
+
copiedLabel?: string;
|
|
5
|
+
errorLabel?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
copied: (text: string) => any;
|
|
10
|
+
error: (error: unknown) => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onCopied?: ((text: string) => any) | undefined;
|
|
13
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
label: string;
|
|
17
|
+
copiedLabel: string;
|
|
18
|
+
errorLabel: string;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as NbCopyButton } from './NbCopyButton.vue';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value: number;
|
|
3
|
+
min?: number;
|
|
4
|
+
max?: number;
|
|
5
|
+
label: string;
|
|
6
|
+
showValue?: boolean;
|
|
7
|
+
low?: number;
|
|
8
|
+
high?: number;
|
|
9
|
+
optimum?: number;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
|
+
min: number;
|
|
13
|
+
max: number;
|
|
14
|
+
showValue: boolean;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as NbMeter } from './NbMeter.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,33 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: number;
|
|
3
|
+
defaultValue?: number;
|
|
4
|
+
label?: string;
|
|
5
|
+
orientation?: 'horizontal' | 'vertical';
|
|
6
|
+
linear?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: any;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
"update:modelValue": (value: number) => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
defaultValue: number;
|
|
23
|
+
orientation: "horizontal" | "vertical";
|
|
24
|
+
label: string;
|
|
25
|
+
linear: boolean;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
step: number;
|
|
3
|
+
title: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
completed?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: 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>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: string[];
|
|
3
|
+
label?: string;
|
|
4
|
+
hint?: string;
|
|
5
|
+
error?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
id?: string;
|
|
9
|
+
max?: number;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: 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
|
+
}>, {
|
|
18
|
+
modelValue: string[];
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
required: boolean;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as NbTagsInput } from './NbTagsInput.vue';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label?: string;
|
|
3
|
+
};
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLOListElement;
|
|
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, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLOListElement>;
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title: string;
|
|
3
|
+
date?: string;
|
|
4
|
+
datetime?: string;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLLIElement;
|
|
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, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLIElement>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ import { NbButton } from './components/NbButton';
|
|
|
7
7
|
import { NbButtonGroup } from './components/NbButtonGroup';
|
|
8
8
|
import { NbCard } from './components/NbCard';
|
|
9
9
|
import { NbCheckbox } from './components/NbCheckbox';
|
|
10
|
+
import { NbCollapsible } from './components/NbCollapsible';
|
|
11
|
+
import { NbCopyButton } from './components/NbCopyButton';
|
|
10
12
|
import { NbCombobox } from './components/NbCombobox';
|
|
11
13
|
import { NbCommand } from './components/NbCommand';
|
|
12
14
|
import { NbContextMenu, NbContextMenuCheckboxItem, NbContextMenuItem, NbContextMenuLabel, NbContextMenuRadioGroup, NbContextMenuRadioItem, NbContextMenuSeparator, NbContextMenuShortcut, NbContextMenuSub } from './components/NbContextMenu';
|
|
@@ -22,12 +24,15 @@ import { NbHoverCard } from './components/NbHoverCard';
|
|
|
22
24
|
import { NbKbd } from './components/NbKbd';
|
|
23
25
|
import { NbLink } from './components/NbLink';
|
|
24
26
|
import { NbMarker } from './components/NbMarker';
|
|
27
|
+
import { NbMeter } from './components/NbMeter';
|
|
25
28
|
import { NbNavigationMenu } from './components/NbNavigationMenu';
|
|
26
29
|
import { NbNumberInput } from './components/NbNumberInput';
|
|
27
30
|
import { NbPagination } from './components/NbPagination';
|
|
31
|
+
import { NbPinInput } from './components/NbPinInput';
|
|
28
32
|
import { NbPopover } from './components/NbPopover';
|
|
29
33
|
import { NbProgress } from './components/NbProgress';
|
|
30
34
|
import { NbRadioGroup } from './components/NbRadioGroup';
|
|
35
|
+
import { NbRating } from './components/NbRating';
|
|
31
36
|
import { NbScrollArea } from './components/NbScrollArea';
|
|
32
37
|
import { NbSheet } from './components/NbSheet';
|
|
33
38
|
import { NbSelect, NbSelectItem } from './components/NbSelect';
|
|
@@ -35,15 +40,18 @@ import { NbSeparator } from './components/NbSeparator';
|
|
|
35
40
|
import { NbSlider } from './components/NbSlider';
|
|
36
41
|
import { NbSkeleton } from './components/NbSkeleton';
|
|
37
42
|
import { NbSpinner } from './components/NbSpinner';
|
|
43
|
+
import { NbStepper, NbStepperItem } from './components/NbStepper';
|
|
38
44
|
import { NbSwitch } from './components/NbSwitch';
|
|
45
|
+
import { NbTagsInput } from './components/NbTagsInput';
|
|
39
46
|
import { NbTabs, NbTabsContent, NbTabsList, NbTabsTrigger } from './components/NbTabs';
|
|
40
47
|
import { NbTextarea } from './components/NbTextarea';
|
|
41
48
|
import { NbTable } from './components/NbTable';
|
|
42
49
|
import { NbToast } from './components/NbToast';
|
|
50
|
+
import { NbTimeline, NbTimelineItem } from './components/NbTimeline';
|
|
43
51
|
import { NbToggle } from './components/NbToggle';
|
|
44
52
|
import { NbToggleGroup, NbToggleGroupItem } from './components/NbToggleGroup';
|
|
45
53
|
import { NbTooltip } from './components/NbTooltip';
|
|
46
|
-
export { NbAccordion, NbAccordionItem, NbAlert, NbAlertDialog, NbAspectRatio, NbAvatar, NbBadge, NbBreadcrumbs, NbButton, NbButtonGroup, NbCard, NbCheckbox, NbCombobox, NbCommand, NbContextMenu, NbContextMenuCheckboxItem, NbContextMenuItem, NbContextMenuLabel, NbContextMenuRadioGroup, NbContextMenuRadioItem, NbContextMenuSeparator, NbContextMenuShortcut, NbContextMenuSub, NbDialog, NbDropdownMenu, NbDropdownMenuItem, NbDropdownMenuSeparator, NbEmptyState, NbFieldset, NbHoverCard, NbInput, NbInputGroup, NbKbd, NbLink, NbMarker, NbNavigationMenu, NbNumberInput, NbPagination, NbPopover, NbProgress, NbRadioGroup, NbScrollArea, NbSelect, NbSelectItem, NbSeparator, NbSheet, NbSkeleton, NbSlider, NbSpinner, NbSwitch, NbTable, NbTabs, NbTabsContent, NbTabsList, NbTabsTrigger, NbTextarea, NbToast, NbToggle, NbToggleGroup, NbToggleGroupItem, NbTooltip };
|
|
54
|
+
export { NbAccordion, NbAccordionItem, NbAlert, NbAlertDialog, NbAspectRatio, NbAvatar, NbBadge, NbBreadcrumbs, NbButton, NbButtonGroup, NbCard, NbCheckbox, NbCollapsible, NbCombobox, NbCommand, NbContextMenu, NbContextMenuCheckboxItem, NbContextMenuItem, NbContextMenuLabel, NbContextMenuRadioGroup, NbContextMenuRadioItem, NbContextMenuSeparator, NbContextMenuShortcut, NbContextMenuSub, NbCopyButton, NbDialog, NbDropdownMenu, NbDropdownMenuItem, NbDropdownMenuSeparator, NbEmptyState, NbFieldset, NbHoverCard, NbInput, NbInputGroup, NbKbd, NbLink, NbMarker, NbMeter, NbNavigationMenu, NbNumberInput, NbPagination, NbPinInput, NbPopover, NbProgress, NbRadioGroup, NbRating, NbScrollArea, NbSelect, NbSelectItem, NbSeparator, NbSheet, NbSkeleton, NbSlider, NbSpinner, NbStepper, NbStepperItem, NbSwitch, NbTable, NbTabs, NbTabsContent, NbTabsList, NbTabsTrigger, NbTagsInput, NbTextarea, NbTimeline, NbTimelineItem, NbToast, NbToggle, NbToggleGroup, NbToggleGroupItem, NbTooltip };
|
|
47
55
|
export type { NbBreadcrumbItem } from './components/NbBreadcrumbs';
|
|
48
56
|
export type { NbComboboxOption } from './components/NbCombobox';
|
|
49
57
|
export type { NbCommandOption } from './components/NbCommand';
|