@nuxt/ui 2.18.4 → 2.18.6
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 +1 -1
- package/dist/module.d.mts +1 -6
- package/dist/module.d.ts +1 -6
- package/dist/module.json +2 -2
- package/dist/module.mjs +16 -8
- package/dist/runtime/components/data/Table.vue +8 -7
- package/dist/runtime/components/data/Table.vue.d.ts +2016 -12
- package/dist/runtime/components/elements/Accordion.vue.d.ts +1124 -10
- package/dist/runtime/components/elements/Alert.vue.d.ts +1449 -11
- package/dist/runtime/components/elements/Avatar.vue.d.ts +118 -10
- package/dist/runtime/components/elements/AvatarGroup.d.ts +12 -6
- package/dist/runtime/components/elements/Badge.vue.d.ts +45 -9
- package/dist/runtime/components/elements/Button.vue.d.ts +367 -14
- package/dist/runtime/components/elements/ButtonGroup.d.ts +107 -6
- package/dist/runtime/components/elements/Carousel.vue.d.ts +970 -10
- package/dist/runtime/components/elements/Chip.vue.d.ts +46 -9
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +784 -13
- package/dist/runtime/components/elements/Icon.vue.d.ts +4 -4
- package/dist/runtime/components/elements/Kbd.vue.d.ts +28 -9
- package/dist/runtime/components/elements/Link.vue +1 -0
- package/dist/runtime/components/elements/Link.vue.d.ts +9 -9
- package/dist/runtime/components/elements/Meter.vue.d.ts +136 -11
- package/dist/runtime/components/elements/MeterGroup.d.ts +60 -6
- package/dist/runtime/components/elements/Progress.vue.d.ts +89 -12
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +33 -12
- package/dist/runtime/components/forms/Form.vue +4 -3
- package/dist/runtime/components/forms/Form.vue.d.ts +13 -6
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +39 -11
- package/dist/runtime/components/forms/Input.vue +1 -2
- package/dist/runtime/components/forms/Input.vue.d.ts +176 -14
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +957 -20
- package/dist/runtime/components/forms/Radio.vue.d.ts +32 -12
- package/dist/runtime/components/forms/RadioGroup.vue +1 -1
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +245 -14
- package/dist/runtime/components/forms/Range.vue.d.ts +79 -13
- package/dist/runtime/components/forms/Select.vue.d.ts +171 -12
- package/dist/runtime/components/forms/SelectMenu.vue +1 -1
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +1163 -19
- package/dist/runtime/components/forms/Textarea.vue +3 -0
- package/dist/runtime/components/forms/Textarea.vue.d.ts +129 -14
- package/dist/runtime/components/forms/Toggle.vue.d.ts +211 -12
- package/dist/runtime/components/layout/Card.vue.d.ts +35 -9
- package/dist/runtime/components/layout/Container.vue.d.ts +17 -9
- package/dist/runtime/components/layout/Divider.vue.d.ts +528 -11
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +17 -9
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +302 -9
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +1971 -13
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +625 -5
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +898 -9
- package/dist/runtime/components/navigation/Pagination.vue +4 -0
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +981 -11
- package/dist/runtime/components/navigation/Tabs.vue +4 -0
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +274 -14
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +1666 -9
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +45 -12
- package/dist/runtime/components/overlays/Modal.vue +2 -2
- package/dist/runtime/components/overlays/Modal.vue.d.ts +392 -13
- package/dist/runtime/components/overlays/Notification.vue.d.ts +1459 -12
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +1746 -10
- package/dist/runtime/components/overlays/Popover.vue.d.ts +165 -14
- package/dist/runtime/components/overlays/Slideover.vue +3 -3
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +391 -13
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +168 -12
- package/dist/runtime/composables/useFormGroup.d.ts +1 -1
- package/dist/runtime/composables/useFormGroup.js +4 -2
- package/dist/runtime/composables/useModal.d.ts +1 -1
- package/dist/runtime/composables/usePopper.d.ts +262 -1
- package/dist/runtime/composables/useShortcuts.d.ts +4 -4
- package/dist/runtime/composables/useSlideover.d.ts +1 -1
- package/dist/runtime/composables/useUI.d.ts +2 -2
- package/dist/runtime/composables/useUI.js +1 -1
- package/dist/runtime/plugins/colors.js +3 -3
- package/dist/runtime/types/command-palette.d.ts +2 -2
- package/dist/runtime/ui.config/elements/button.js +9 -9
- package/dist/runtime/ui.config/elements/carousel.js +1 -1
- package/dist/runtime/ui.config/navigation/tabs.js +1 -1
- package/dist/runtime/utils/index.d.ts +1 -0
- package/dist/runtime/utils/index.js +5 -1
- package/package.json +27 -29
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
<UButton
|
|
5
5
|
v-if="firstButton && showFirst"
|
|
6
6
|
:size="size"
|
|
7
|
+
:to="to?.(1)"
|
|
7
8
|
:disabled="!canGoFirstOrPrev || disabled"
|
|
8
9
|
:class="[ui.base, ui.rounded]"
|
|
9
10
|
v-bind="{ ...(ui.default.firstButton || {}), ...firstButton }"
|
|
@@ -17,6 +18,7 @@
|
|
|
17
18
|
<UButton
|
|
18
19
|
v-if="prevButton"
|
|
19
20
|
:size="size"
|
|
21
|
+
:to="to?.(currentPage - 1)"
|
|
20
22
|
:disabled="!canGoFirstOrPrev || disabled"
|
|
21
23
|
:class="[ui.base, ui.rounded]"
|
|
22
24
|
v-bind="{ ...(ui.default.prevButton || {}), ...prevButton }"
|
|
@@ -43,6 +45,7 @@
|
|
|
43
45
|
<UButton
|
|
44
46
|
v-if="nextButton"
|
|
45
47
|
:size="size"
|
|
48
|
+
:to="to?.(currentPage + 1)"
|
|
46
49
|
:disabled="!canGoLastOrNext || disabled"
|
|
47
50
|
:class="[ui.base, ui.rounded]"
|
|
48
51
|
v-bind="{ ...(ui.default.nextButton || {}), ...nextButton }"
|
|
@@ -56,6 +59,7 @@
|
|
|
56
59
|
<UButton
|
|
57
60
|
v-if="lastButton && showLast"
|
|
58
61
|
:size="size"
|
|
62
|
+
:to="to?.(pages.length)"
|
|
59
63
|
:disabled="!canGoLastOrNext || disabled"
|
|
60
64
|
:class="[ui.base, ui.rounded]"
|
|
61
65
|
v-bind="{ ...(ui.default.lastButton || {}), ...lastButton }"
|