@threadlabs/looma 0.37.3 → 0.37.5
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/components/shared/active-item-reveal.js +74 -0
- package/components/shared/menu-navigation.js +3 -1
- package/components/ui-button/ui-button.html +13 -0
- package/components/ui-combobox/ui-combobox.js +3 -1
- package/components/ui-context-menu/ui-context-menu.js +4 -1
- package/components/ui-editor-link-form/ui-editor-link-form.js +3 -1
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.js +12 -5
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.js +12 -5
- package/components/ui-form-field/ui-form-field.js +7 -1
- package/components/ui-listbox/ui-listbox.js +3 -1
- package/components/ui-menu/ui-menu.js +5 -1
- package/components/ui-pagination/ui-pagination.html +74 -0
- package/components/ui-pagination/ui-pagination.js +19 -0
- package/components/ui-search-shell/ui-search-shell.js +7 -4
- package/dist/index.js +20 -19
- package/docs/catalog.json +323 -1
- package/docs/examples/ui-pagination/examples/01-numbered.behavior.js +11 -0
- package/package.json +1 -1
- package/styles/ui-button.css +12 -0
- package/styles/ui-pagination.css +1 -0
- package/vanilla/UiButton.d.ts +1 -0
- package/vanilla/UiButton.js +31 -31
- package/vanilla/UiPagination.d.ts +35 -0
- package/vanilla/UiPagination.js +202 -0
- package/vanilla/index.js +1 -0
- package/vue/UiButton.d.ts +6 -0
- package/vue/UiButton.vue +34 -0
- package/vue/UiPagination.d.ts +115 -0
- package/vue/UiPagination.js +2 -0
- package/vue/UiPagination.vue +598 -0
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +1 -1
- package/vue/chunks/UiAvatar.js +1 -1
- package/vue/chunks/UiAvatarGroup.js +1 -1
- package/vue/chunks/UiBadge.js +1 -1
- package/vue/chunks/UiBreadcrumbItem.js +1 -1
- package/vue/chunks/UiBreadcrumbs.js +1 -1
- package/vue/chunks/UiButton.js +30 -2
- package/vue/chunks/UiCallout.js +1 -1
- package/vue/chunks/UiCard.js +1 -1
- package/vue/chunks/UiCheckbox.js +1 -1
- package/vue/chunks/UiCluster.js +1 -1
- package/vue/chunks/UiColorPicker.js +1 -1
- package/vue/chunks/UiCombobox.js +1 -1
- package/vue/chunks/UiContainer.js +1 -1
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiCover.js +1 -1
- package/vue/chunks/UiCurveEditor.js +1 -1
- package/vue/chunks/UiCycleButton.js +1 -1
- package/vue/chunks/UiDescriptionItem.js +1 -1
- package/vue/chunks/UiDescriptionList.js +1 -1
- package/vue/chunks/UiDialog.js +1 -1
- package/vue/chunks/UiDisclosure.js +1 -1
- package/vue/chunks/UiEditable.js +1 -1
- package/vue/chunks/UiEditorBlockActions.js +1 -1
- package/vue/chunks/UiEditorChipEditor.js +1 -1
- package/vue/chunks/UiEditorCodeLanguage.js +1 -1
- package/vue/chunks/UiEditorFootnoteEditor.js +1 -1
- package/vue/chunks/UiEditorImageToolbar.js +1 -1
- package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
- package/vue/chunks/UiEditorLinkCard.js +1 -1
- package/vue/chunks/UiEditorLinkForm.js +1 -1
- package/vue/chunks/UiEditorMentionMenu.js +1 -1
- package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
- package/vue/chunks/UiEditorSlashMenu.js +1 -1
- package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
- package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
- package/vue/chunks/UiEditorSurface.js +1 -1
- package/vue/chunks/UiEditorTableContextMenu.js +1 -1
- package/vue/chunks/UiEditorTableOverlay.js +1 -1
- package/vue/chunks/UiEditorTableToolbar.js +1 -1
- package/vue/chunks/UiEditorToolbar.js +1 -1
- package/vue/chunks/UiFloatingActionButton.js +1 -1
- package/vue/chunks/UiFormField.js +1 -1
- package/vue/chunks/UiGrid.js +1 -1
- package/vue/chunks/UiIcon.js +1 -1
- package/vue/chunks/UiIconButton.js +1 -1
- package/vue/chunks/UiImage.js +1 -1
- package/vue/chunks/UiInput.js +1 -1
- package/vue/chunks/UiInputGroup.js +1 -1
- package/vue/chunks/UiLightEditor.js +1 -1
- package/vue/chunks/UiList.js +1 -1
- package/vue/chunks/UiListItem.js +1 -1
- package/vue/chunks/UiListbox.js +1 -1
- package/vue/chunks/UiMenu.js +1 -1
- package/vue/chunks/UiMenuGroup.js +1 -1
- package/vue/chunks/UiMenuItem.js +1 -1
- package/vue/chunks/UiMeter.js +1 -1
- package/vue/chunks/UiNavItem.js +1 -1
- package/vue/chunks/UiNumberInput.js +1 -1
- package/vue/chunks/UiPageHeader.js +1 -1
- package/vue/chunks/UiPagination.js +551 -0
- package/vue/chunks/UiPopover.js +1 -1
- package/vue/chunks/UiRadio.js +1 -1
- package/vue/chunks/UiRadioGroup.js +1 -1
- package/vue/chunks/UiReel.js +1 -1
- package/vue/chunks/UiScrollArea.js +1 -1
- package/vue/chunks/UiSearchResultRow.js +1 -1
- package/vue/chunks/UiSearchShell.js +1 -1
- package/vue/chunks/UiSection.js +1 -1
- package/vue/chunks/UiSelect.js +1 -1
- package/vue/chunks/UiSeparator.js +1 -1
- package/vue/chunks/UiSidebar.js +1 -1
- package/vue/chunks/UiSlider.js +1 -1
- package/vue/chunks/UiSpinner.js +1 -1
- package/vue/chunks/UiStack.js +1 -1
- package/vue/chunks/UiStatusMessage.js +1 -1
- package/vue/chunks/UiSwatch.js +1 -1
- package/vue/chunks/UiSwitch.js +1 -1
- package/vue/chunks/UiSwitcher.js +1 -1
- package/vue/chunks/UiTable.js +1 -1
- package/vue/chunks/UiTabs.js +1 -1
- package/vue/chunks/UiText.js +1 -1
- package/vue/chunks/UiTextarea.js +1 -1
- package/vue/chunks/UiToast.js +1 -1
- package/vue/chunks/UiToastRegion.js +1 -1
- package/vue/chunks/UiTooltip.js +1 -1
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +1 -1
- package/vue/chunks/UiTreeItem.js +1 -1
- package/vue/chunks/_plugin-vue_export-helper.js +27 -2
- package/vue/components.css +22 -0
- package/vue/editor/index.js +145 -36
- package/vue/index.d.ts +1 -0
- package/vue/index.js +2 -1
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import { type InputBindings } from './props.js';
|
|
3
|
+
declare var __VLS_46: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_46) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
disabled: {
|
|
9
|
+
type: PropType<boolean | null>;
|
|
10
|
+
};
|
|
11
|
+
hasNext: {
|
|
12
|
+
type: PropType<boolean | null>;
|
|
13
|
+
};
|
|
14
|
+
hasPrevious: {
|
|
15
|
+
type: PropType<boolean | null>;
|
|
16
|
+
};
|
|
17
|
+
label: {
|
|
18
|
+
type: PropType<string | null>;
|
|
19
|
+
};
|
|
20
|
+
nextHref: {
|
|
21
|
+
type: PropType<string | null>;
|
|
22
|
+
};
|
|
23
|
+
nextLabel: {
|
|
24
|
+
type: PropType<string | null>;
|
|
25
|
+
};
|
|
26
|
+
page: {
|
|
27
|
+
type: PropType<number | null>;
|
|
28
|
+
};
|
|
29
|
+
pageLabel: {
|
|
30
|
+
type: PropType<string | null>;
|
|
31
|
+
};
|
|
32
|
+
pages: {
|
|
33
|
+
type: PropType<readonly ({
|
|
34
|
+
readonly value: number;
|
|
35
|
+
readonly href?: string | null;
|
|
36
|
+
})[] | null>;
|
|
37
|
+
};
|
|
38
|
+
previousHref: {
|
|
39
|
+
type: PropType<string | null>;
|
|
40
|
+
};
|
|
41
|
+
previousLabel: {
|
|
42
|
+
type: PropType<string | null>;
|
|
43
|
+
};
|
|
44
|
+
size: {
|
|
45
|
+
type: PropType<"sm" | "md" | "lg" | null>;
|
|
46
|
+
};
|
|
47
|
+
"\0htmlNextInputStatus": {
|
|
48
|
+
type: PropType<InputBindings>;
|
|
49
|
+
};
|
|
50
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
51
|
+
"update:page": (value: number) => any;
|
|
52
|
+
navigate: (event: CustomEvent<{
|
|
53
|
+
readonly page: number;
|
|
54
|
+
readonly previousPage: number;
|
|
55
|
+
readonly trigger: "keyboard" | "pointer" | "programmatic";
|
|
56
|
+
}>) => any;
|
|
57
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
58
|
+
disabled: {
|
|
59
|
+
type: PropType<boolean | null>;
|
|
60
|
+
};
|
|
61
|
+
hasNext: {
|
|
62
|
+
type: PropType<boolean | null>;
|
|
63
|
+
};
|
|
64
|
+
hasPrevious: {
|
|
65
|
+
type: PropType<boolean | null>;
|
|
66
|
+
};
|
|
67
|
+
label: {
|
|
68
|
+
type: PropType<string | null>;
|
|
69
|
+
};
|
|
70
|
+
nextHref: {
|
|
71
|
+
type: PropType<string | null>;
|
|
72
|
+
};
|
|
73
|
+
nextLabel: {
|
|
74
|
+
type: PropType<string | null>;
|
|
75
|
+
};
|
|
76
|
+
page: {
|
|
77
|
+
type: PropType<number | null>;
|
|
78
|
+
};
|
|
79
|
+
pageLabel: {
|
|
80
|
+
type: PropType<string | null>;
|
|
81
|
+
};
|
|
82
|
+
pages: {
|
|
83
|
+
type: PropType<readonly ({
|
|
84
|
+
readonly value: number;
|
|
85
|
+
readonly href?: string | null;
|
|
86
|
+
})[] | null>;
|
|
87
|
+
};
|
|
88
|
+
previousHref: {
|
|
89
|
+
type: PropType<string | null>;
|
|
90
|
+
};
|
|
91
|
+
previousLabel: {
|
|
92
|
+
type: PropType<string | null>;
|
|
93
|
+
};
|
|
94
|
+
size: {
|
|
95
|
+
type: PropType<"sm" | "md" | "lg" | null>;
|
|
96
|
+
};
|
|
97
|
+
"\0htmlNextInputStatus": {
|
|
98
|
+
type: PropType<InputBindings>;
|
|
99
|
+
};
|
|
100
|
+
}>> & Readonly<{
|
|
101
|
+
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
102
|
+
onNavigate?: ((event: CustomEvent<{
|
|
103
|
+
readonly page: number;
|
|
104
|
+
readonly previousPage: number;
|
|
105
|
+
readonly trigger: "keyboard" | "pointer" | "programmatic";
|
|
106
|
+
}>) => any) | undefined;
|
|
107
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
108
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
109
|
+
declare const _default: typeof __VLS_export;
|
|
110
|
+
export default _default;
|
|
111
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
112
|
+
new (): {
|
|
113
|
+
$slots: S;
|
|
114
|
+
};
|
|
115
|
+
};
|