@threadlabs/looma 0.37.4 → 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.
Files changed (124) hide show
  1. package/components/shared/active-item-reveal.js +74 -0
  2. package/components/shared/menu-navigation.js +3 -1
  3. package/components/ui-button/ui-button.html +13 -0
  4. package/components/ui-combobox/ui-combobox.js +3 -1
  5. package/components/ui-context-menu/ui-context-menu.js +4 -1
  6. package/components/ui-editor-link-form/ui-editor-link-form.js +3 -1
  7. package/components/ui-editor-mention-menu/ui-editor-mention-menu.js +12 -5
  8. package/components/ui-editor-slash-menu/ui-editor-slash-menu.js +12 -5
  9. package/components/ui-listbox/ui-listbox.js +3 -1
  10. package/components/ui-menu/ui-menu.js +5 -1
  11. package/components/ui-pagination/ui-pagination.html +74 -0
  12. package/components/ui-pagination/ui-pagination.js +19 -0
  13. package/components/ui-search-shell/ui-search-shell.js +7 -4
  14. package/dist/index.js +20 -19
  15. package/docs/catalog.json +323 -1
  16. package/docs/examples/ui-pagination/examples/01-numbered.behavior.js +11 -0
  17. package/package.json +1 -1
  18. package/styles/ui-button.css +12 -0
  19. package/styles/ui-pagination.css +1 -0
  20. package/vanilla/UiButton.d.ts +1 -0
  21. package/vanilla/UiButton.js +31 -31
  22. package/vanilla/UiPagination.d.ts +35 -0
  23. package/vanilla/UiPagination.js +202 -0
  24. package/vanilla/index.js +1 -0
  25. package/vue/UiButton.d.ts +6 -0
  26. package/vue/UiButton.vue +34 -0
  27. package/vue/UiPagination.d.ts +115 -0
  28. package/vue/UiPagination.js +2 -0
  29. package/vue/UiPagination.vue +598 -0
  30. package/vue/chunks/UiActionBar.js +1 -1
  31. package/vue/chunks/UiAffordanceScope.js +1 -1
  32. package/vue/chunks/UiAvatar.js +1 -1
  33. package/vue/chunks/UiAvatarGroup.js +1 -1
  34. package/vue/chunks/UiBadge.js +1 -1
  35. package/vue/chunks/UiBreadcrumbItem.js +1 -1
  36. package/vue/chunks/UiBreadcrumbs.js +1 -1
  37. package/vue/chunks/UiButton.js +30 -2
  38. package/vue/chunks/UiCallout.js +1 -1
  39. package/vue/chunks/UiCard.js +1 -1
  40. package/vue/chunks/UiCheckbox.js +1 -1
  41. package/vue/chunks/UiCluster.js +1 -1
  42. package/vue/chunks/UiColorPicker.js +1 -1
  43. package/vue/chunks/UiCombobox.js +1 -1
  44. package/vue/chunks/UiContainer.js +1 -1
  45. package/vue/chunks/UiContextMenu.js +1 -1
  46. package/vue/chunks/UiCover.js +1 -1
  47. package/vue/chunks/UiCurveEditor.js +1 -1
  48. package/vue/chunks/UiCycleButton.js +1 -1
  49. package/vue/chunks/UiDescriptionItem.js +1 -1
  50. package/vue/chunks/UiDescriptionList.js +1 -1
  51. package/vue/chunks/UiDialog.js +1 -1
  52. package/vue/chunks/UiDisclosure.js +1 -1
  53. package/vue/chunks/UiEditable.js +1 -1
  54. package/vue/chunks/UiEditorBlockActions.js +1 -1
  55. package/vue/chunks/UiEditorChipEditor.js +1 -1
  56. package/vue/chunks/UiEditorCodeLanguage.js +1 -1
  57. package/vue/chunks/UiEditorFootnoteEditor.js +1 -1
  58. package/vue/chunks/UiEditorImageToolbar.js +1 -1
  59. package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
  60. package/vue/chunks/UiEditorLinkCard.js +1 -1
  61. package/vue/chunks/UiEditorLinkForm.js +1 -1
  62. package/vue/chunks/UiEditorMentionMenu.js +1 -1
  63. package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
  64. package/vue/chunks/UiEditorSlashMenu.js +1 -1
  65. package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
  66. package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
  67. package/vue/chunks/UiEditorSurface.js +1 -1
  68. package/vue/chunks/UiEditorTableContextMenu.js +1 -1
  69. package/vue/chunks/UiEditorTableOverlay.js +1 -1
  70. package/vue/chunks/UiEditorTableToolbar.js +1 -1
  71. package/vue/chunks/UiEditorToolbar.js +1 -1
  72. package/vue/chunks/UiFloatingActionButton.js +1 -1
  73. package/vue/chunks/UiFormField.js +1 -1
  74. package/vue/chunks/UiGrid.js +1 -1
  75. package/vue/chunks/UiIcon.js +1 -1
  76. package/vue/chunks/UiIconButton.js +1 -1
  77. package/vue/chunks/UiImage.js +1 -1
  78. package/vue/chunks/UiInput.js +1 -1
  79. package/vue/chunks/UiInputGroup.js +1 -1
  80. package/vue/chunks/UiLightEditor.js +1 -1
  81. package/vue/chunks/UiList.js +1 -1
  82. package/vue/chunks/UiListItem.js +1 -1
  83. package/vue/chunks/UiListbox.js +1 -1
  84. package/vue/chunks/UiMenu.js +1 -1
  85. package/vue/chunks/UiMenuGroup.js +1 -1
  86. package/vue/chunks/UiMenuItem.js +1 -1
  87. package/vue/chunks/UiMeter.js +1 -1
  88. package/vue/chunks/UiNavItem.js +1 -1
  89. package/vue/chunks/UiNumberInput.js +1 -1
  90. package/vue/chunks/UiPageHeader.js +1 -1
  91. package/vue/chunks/UiPagination.js +551 -0
  92. package/vue/chunks/UiPopover.js +1 -1
  93. package/vue/chunks/UiRadio.js +1 -1
  94. package/vue/chunks/UiRadioGroup.js +1 -1
  95. package/vue/chunks/UiReel.js +1 -1
  96. package/vue/chunks/UiScrollArea.js +1 -1
  97. package/vue/chunks/UiSearchResultRow.js +1 -1
  98. package/vue/chunks/UiSearchShell.js +1 -1
  99. package/vue/chunks/UiSection.js +1 -1
  100. package/vue/chunks/UiSelect.js +1 -1
  101. package/vue/chunks/UiSeparator.js +1 -1
  102. package/vue/chunks/UiSidebar.js +1 -1
  103. package/vue/chunks/UiSlider.js +1 -1
  104. package/vue/chunks/UiSpinner.js +1 -1
  105. package/vue/chunks/UiStack.js +1 -1
  106. package/vue/chunks/UiStatusMessage.js +1 -1
  107. package/vue/chunks/UiSwatch.js +1 -1
  108. package/vue/chunks/UiSwitch.js +1 -1
  109. package/vue/chunks/UiSwitcher.js +1 -1
  110. package/vue/chunks/UiTable.js +1 -1
  111. package/vue/chunks/UiTabs.js +1 -1
  112. package/vue/chunks/UiText.js +1 -1
  113. package/vue/chunks/UiTextarea.js +1 -1
  114. package/vue/chunks/UiToast.js +1 -1
  115. package/vue/chunks/UiToastRegion.js +1 -1
  116. package/vue/chunks/UiTooltip.js +1 -1
  117. package/vue/chunks/UiTopBar.js +1 -1
  118. package/vue/chunks/UiTree.js +1 -1
  119. package/vue/chunks/UiTreeItem.js +1 -1
  120. package/vue/chunks/_plugin-vue_export-helper.js +27 -2
  121. package/vue/components.css +22 -0
  122. package/vue/editor/index.js +139 -35
  123. package/vue/index.d.ts +1 -0
  124. 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
+ };
@@ -0,0 +1,2 @@
1
+ import { t as UiPagination_default } from "./chunks/UiPagination.js";
2
+ export { UiPagination_default as default };