@glimstone/vue 4.2.3 → 4.2.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/dist/SignInCard.vue.d.ts +1 -1
- package/dist/dragArmed.d.ts +7 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6 -1
- package/package.json +2 -2
package/dist/SignInCard.vue.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ResetAnswer, type SignInAnswer, type SignInText } from "@glimstone/core";
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
/** The address of the app's logo. It stands
|
|
3
|
+
/** The address of the app's logo. It stands 7.5rem tall above the name, as wide as its shape asks. */
|
|
4
4
|
logo?: string;
|
|
5
5
|
/** The page's heading. */
|
|
6
6
|
appName: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type Ref } from "vue";
|
|
2
|
+
/**
|
|
3
|
+
* useDragArmed makes the other items of a reorderable list tremble while one
|
|
4
|
+
* is held, by keeping `glim-drag-armed` on the list. Call it from the drag
|
|
5
|
+
* gesture, so no list can forget the class.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useDragArmed(list: Ref<HTMLElement | null>, held: () => boolean): void;
|
package/dist/index.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export { default as Tree } from "./Tree.vue";
|
|
|
44
44
|
export { default as UnavailableNotice } from "./UnavailableNotice.vue";
|
|
45
45
|
export { default as Window } from "./Window.vue";
|
|
46
46
|
export { useConfirm, type ConfirmOptions, type ConfirmText } from "./confirm";
|
|
47
|
+
export { useDragArmed } from "./dragArmed";
|
|
47
48
|
export { useFieldName } from "./fieldName";
|
|
48
49
|
export { useAccent, useHue, useLabelMode, useMotion, useRainbow, useShape } from "./engines";
|
|
49
50
|
export * from "./glyphs";
|
package/dist/index.js
CHANGED
|
@@ -2883,4 +2883,9 @@ function ma(e) {
|
|
|
2883
2883
|
})
|
|
2884
2884
|
};
|
|
2885
2885
|
}
|
|
2886
|
-
|
|
2886
|
+
// src/dragArmed.ts
|
|
2887
|
+
function ha(e, t) {
|
|
2888
|
+
let n = () => e.value?.classList.toggle("glim-drag-armed", t());
|
|
2889
|
+
me(n, { flush: "post" }), ae(n);
|
|
2890
|
+
}
|
|
2891
|
+
export { rn as Badge, on as BrandMark, Z as Button, vn as Card, Sn as Checkbox, Dn as ColorPicker, Pn as ConfirmDialog, Yn as ContextMenu, Qn as CopyField, nr as EmptyState, or as FieldRow, sr as FieldRowGroup, Se as GLIMSTONE_VERSION, ur as GlyphField, dr as GlyphTile, pr as IconButton, g as IconCancel, d as IconCheck, m as IconClose, c as IconCopy, r as IconExpand, f as IconEye, h as IconEyeOff, i as IconFolderOpen, l as IconPencil, tn as IconTipButton, _ as IconWindowMaximise, a as IconWindowMinimise, o as IconWindowRestore, Cr as InfoAboutCard, Q as InfoBubble, Er as InfoHelpCard, Ir as InfoTile, Fr as InfoVersionCard, In as Kbd, Vr as ListRow, p as MarkSvg, Wr as MenuBar, Kr as Meter, Yr as NumberField, Zr as PasswordField, $r as PathField, rr as Pill, ti as ProgressBar, $ as ReadmeButton, ni as RowMark, ci as Selector, pi as SidebarRow, Oi as SignInCard, gi as SignInField, Mi as SubCard, Li as Table, zi as TextArea, vi as TextField, Ki as ToastViewport, Xi as Toggle, na as Tree, sa as UnavailableNotice, pa as Window, u as glyphFor, Et as selectorTabId, s as setGlyphResolver, pn as useAccent, ma as useConfirm, ha as useDragArmed, y as useFieldName, ln as useHue, sn as useLabelMode, fn as useMotion, cn as useRainbow, dn as useShape, t as useTipBubble };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glimstone/vue",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.5",
|
|
4
4
|
"description": "GlimStone's components for Vue",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"build": "vite build && vue-tsc -p tsconfig.build.json"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@glimstone/core": "4.2.
|
|
39
|
+
"@glimstone/core": "4.2.5"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@zag-js/combobox": "^1.46.0",
|