@meddleware/ui 0.1.37 → 0.1.39
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/base.css +14 -14
- package/dist/components/AppFooter.vue.d.ts +9 -7
- package/dist/components/AppHeader.css +1 -1
- package/dist/components/AppHeader.js +1 -1
- package/dist/components/AppHeader.vue.d.ts +9 -7
- package/dist/components/AppHeader.vue_vue_type_script_setup_true_lang.js +30 -29
- package/dist/components/AppSidebar.vue.d.ts +11 -9
- package/dist/components/AppTabNav.css +1 -1
- package/dist/components/AppTabNav.js +1 -1
- package/dist/components/AppTabNav.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/CopyableAddress.vue.d.ts +5 -3
- package/dist/components/ExplorerLink.vue.d.ts +5 -3
- package/dist/components/SidebarGroup.vue.d.ts +5 -3
- package/dist/components/UiActivityFeed.vue.d.ts +5 -3
- package/dist/components/UiActivityItem.vue.d.ts +9 -7
- package/dist/components/UiAppShell.vue.d.ts +11 -9
- package/dist/components/UiBadge.css +1 -1
- package/dist/components/UiBadge.js +1 -1
- package/dist/components/UiBadge.vue.d.ts +5 -3
- package/dist/components/UiButton.vue.d.ts +9 -7
- package/dist/components/UiCard.vue.d.ts +11 -9
- package/dist/components/UiCheckField.vue.d.ts +5 -3
- package/dist/components/UiCodeBlock.css +1 -1
- package/dist/components/UiCodeBlock.js +1 -1
- package/dist/components/UiCodeBlock.vue.d.ts +5 -3
- package/dist/components/UiDialog.css +1 -1
- package/dist/components/UiDialog.js +1 -1
- package/dist/components/UiDialog.vue.d.ts +11 -9
- package/dist/components/UiDialog.vue_vue_type_script_setup_true_lang.js +41 -37
- package/dist/components/UiEmptyState.vue.d.ts +7 -5
- package/dist/components/UiFieldHint.css +1 -1
- package/dist/components/UiFieldHint.js +1 -1
- package/dist/components/UiFieldHint.vue.d.ts +5 -3
- package/dist/components/UiFieldHint.vue_vue_type_script_setup_true_lang.js +35 -10
- package/dist/components/UiFileField.css +1 -1
- package/dist/components/UiFileField.js +1 -1
- package/dist/components/UiFormField.css +1 -1
- package/dist/components/UiFormField.js +1 -1
- package/dist/components/UiFormField.vue.d.ts +12 -10
- package/dist/components/UiInput.css +1 -1
- package/dist/components/UiInput.js +1 -1
- package/dist/components/UiLiveStatus.vue.d.ts +5 -3
- package/dist/components/UiNotice.vue.d.ts +5 -3
- package/dist/components/UiPager.css +1 -1
- package/dist/components/UiPager.js +1 -1
- package/dist/components/UiPanel.vue.d.ts +7 -5
- package/dist/components/UiSelect.css +1 -1
- package/dist/components/UiSelect.js +1 -1
- package/dist/components/UiSelect.vue.d.ts +5 -3
- package/dist/components/UiSelectField.vue.d.ts +5 -3
- package/dist/components/UiStatGrid.vue.d.ts +5 -3
- package/dist/components/UiStatRow.vue.d.ts +5 -3
- package/dist/components/UiStatusBar.css +1 -1
- package/dist/components/UiStatusBar.js +1 -1
- package/dist/components/UiStatusBar.vue.d.ts +5 -3
- package/dist/components/UiTabPanel.vue.d.ts +5 -3
- package/dist/components/UiTextField.vue.d.ts +5 -3
- package/dist/components/UiTextarea.css +1 -1
- package/dist/components/UiTextarea.js +1 -1
- package/dist/components/UiToolIntro.vue.d.ts +5 -3
- package/dist/components/UiToolbarButton.vue.d.ts +5 -3
- package/dist/composables/useStickyOffset.d.ts +18 -0
- package/dist/composables/useStickyOffset.js +25 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +59 -58
- package/dist/reset.css +1 -1
- package/package.json +5 -5
|
@@ -11,10 +11,12 @@ type __VLS_ModelProps = {
|
|
|
11
11
|
modelValue?: string;
|
|
12
12
|
};
|
|
13
13
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
14
|
-
declare
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
declare const __VLS_template: () => {
|
|
15
|
+
__VLS_Slots: {
|
|
16
|
+
'label-suffix'?: (props: {}) => any;
|
|
17
|
+
};
|
|
17
18
|
};
|
|
19
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
18
20
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
21
|
"update:modelValue": (value: string) => any;
|
|
20
22
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer mw.reset;@layer mw.components{.mw-textarea[data-v-
|
|
1
|
+
@layer mw.reset;@layer mw.components{.mw-textarea[data-v-1bdf3072]{width:100%;padding:var(--space-2xs) var(--space-xs);background:var(--surface);color:var(--text);border:1px solid var(--control-border);border-radius:var(--radius);font:inherit;resize:vertical}.mw-textarea[data-v-1bdf3072]::placeholder{color:var(--muted)}.mw-textarea[data-v-1bdf3072]:focus-visible{outline:2px solid var(--focus-ring);outline-offset:1px}.mw-textarea[aria-invalid=true][data-v-1bdf3072]{border-color:var(--danger)}.mw-textarea[data-v-1bdf3072]:disabled{filter:grayscale(.6);cursor:not-allowed}}
|
|
@@ -2,6 +2,6 @@ import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./UiTextarea.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
import "./UiTextarea.css";
|
|
4
4
|
//#region src/components/UiTextarea.vue
|
|
5
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-1bdf3072"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const __VLS_template: () => {
|
|
2
|
+
__VLS_Slots: {
|
|
3
|
+
default?: (props: {}) => any;
|
|
4
|
+
};
|
|
4
5
|
};
|
|
6
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
5
7
|
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
8
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
9
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const __VLS_template: () => {
|
|
2
|
+
__VLS_Slots: {
|
|
3
|
+
default?: (props: {}) => any;
|
|
4
|
+
};
|
|
4
5
|
};
|
|
6
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
5
7
|
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
8
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
9
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
/** An element, or a component instance (whose root element is read). */
|
|
3
|
+
type Target = HTMLElement | {
|
|
4
|
+
$el?: unknown;
|
|
5
|
+
} | null;
|
|
6
|
+
/**
|
|
7
|
+
* Publish the height of a sticky element as a custom property on `<html>`, so the page can leave room for it when focus or a scroll moves
|
|
8
|
+
* something into view (WCAG 2.4.11 *focus not obscured*): `reset.css` pads the scroll area with `--mw-header-offset` (the sticky
|
|
9
|
+
* `AppHeader` does this itself) plus `--mw-sticky-extra` (a second sticky layer under the header, such as a tab strip: call
|
|
10
|
+
* `useStickyOffset(strip, '--mw-sticky-extra')`).
|
|
11
|
+
*
|
|
12
|
+
* The height is not fixed: a header or strip wraps onto more rows on a phone or at a large text size. It is measured with a
|
|
13
|
+
* `ResizeObserver` and written on the next animation frame (never inside the observer callback: a write that changes the layout there
|
|
14
|
+
* ends in "ResizeObserver loop completed with undelivered notifications"), only when it changed, from the size the observer itself reports, through the CSSOM so no inline style is
|
|
15
|
+
* rendered. The property is removed when the component unmounts. Must be called from a component's `setup`.
|
|
16
|
+
*/
|
|
17
|
+
export declare function useStickyOffset(target: Ref<Target>, property: `--${string}`): void;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { onBeforeUnmount as e, onMounted as t } from "vue";
|
|
2
|
+
//#region src/composables/useStickyOffset.ts
|
|
3
|
+
function n(e) {
|
|
4
|
+
if (!e) return null;
|
|
5
|
+
let t = e instanceof HTMLElement ? e : e.$el;
|
|
6
|
+
return t instanceof HTMLElement ? t : null;
|
|
7
|
+
}
|
|
8
|
+
function r(r, i) {
|
|
9
|
+
let a = null, o = -1, s = !1;
|
|
10
|
+
t(() => {
|
|
11
|
+
let e = n(r.value);
|
|
12
|
+
e && typeof ResizeObserver < "u" && (a = new ResizeObserver((e) => {
|
|
13
|
+
let t = e[e.length - 1];
|
|
14
|
+
if (!t) return;
|
|
15
|
+
let n = Math.ceil(t.borderBoxSize?.[0]?.blockSize ?? t.contentRect.height);
|
|
16
|
+
n !== 0 && n !== o && (o = n, requestAnimationFrame(() => {
|
|
17
|
+
s || document.documentElement.style.setProperty(i, `${n}px`);
|
|
18
|
+
}));
|
|
19
|
+
}), a.observe(e));
|
|
20
|
+
}), e(() => {
|
|
21
|
+
s = !0, a && (a.disconnect(), document.documentElement.style.removeProperty(i));
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
export { r as useStickyOffset };
|
package/dist/index.d.ts
CHANGED
|
@@ -66,6 +66,7 @@ export { useNow } from './composables/useNow.js';
|
|
|
66
66
|
export { useStatusSnapshot, MIN_STATUS_POLL_MS } from './composables/useStatusSnapshot.js';
|
|
67
67
|
export type { UseStatusSnapshotOptions, StatusSnapshotState } from './composables/useStatusSnapshot.js';
|
|
68
68
|
export { usePager } from './composables/usePager.js';
|
|
69
|
+
export { useStickyOffset } from './composables/useStickyOffset.js';
|
|
69
70
|
export type { Pager, PageOf } from './composables/usePager.js';
|
|
70
71
|
export type { PanelVariant, PanelColors } from './internal/panel.js';
|
|
71
72
|
export { loadRuntimeConfig, runtimeEndpoints, withRuntimeEnv, parseRuntimeConfig, parseEndpoint, resetRuntimeConfigForTesting, RUNTIME_ENDPOINT_KEYS, RUNTIME_CONFIG_PATH, } from './runtime-config.js';
|
package/dist/index.js
CHANGED
|
@@ -1,58 +1,59 @@
|
|
|
1
|
-
import e from "./
|
|
2
|
-
import t from "./components/
|
|
3
|
-
import n from "./components/
|
|
4
|
-
import r from "./components/
|
|
5
|
-
import i from "./components/
|
|
6
|
-
import a from "./components/
|
|
7
|
-
import o from "./components/
|
|
8
|
-
import s from "./components/
|
|
9
|
-
import c from "./components/
|
|
10
|
-
import l from "./components/
|
|
11
|
-
import
|
|
12
|
-
import d from "./
|
|
13
|
-
import f from "./components/
|
|
14
|
-
import p from "./components/
|
|
15
|
-
import m from "./components/
|
|
16
|
-
import h from "./components/
|
|
17
|
-
import g from "./components/
|
|
18
|
-
import _ from "./components/
|
|
19
|
-
import v from "./components/
|
|
20
|
-
import y from "./components/
|
|
21
|
-
import b from "./components/
|
|
22
|
-
import x from "./components/
|
|
23
|
-
import S from "./components/
|
|
24
|
-
import C from "./components/
|
|
25
|
-
import w from "./components/
|
|
26
|
-
import T from "./components/
|
|
27
|
-
import E from "./components/
|
|
28
|
-
import D from "./components/
|
|
29
|
-
import O from "./components/
|
|
30
|
-
import k from "./components/
|
|
31
|
-
import A from "./components/
|
|
32
|
-
import j from "./components/
|
|
33
|
-
import M from "./components/
|
|
34
|
-
import N from "./components/
|
|
35
|
-
import P from "./components/
|
|
36
|
-
import F from "./components/
|
|
37
|
-
import I from "./components/
|
|
38
|
-
import L from "./components/
|
|
39
|
-
import R from "./components/
|
|
40
|
-
import z from "./components/
|
|
41
|
-
import B from "./components/
|
|
42
|
-
import V from "./components/
|
|
43
|
-
import H from "./components/
|
|
44
|
-
import U from "./components/
|
|
45
|
-
import W from "./components/
|
|
46
|
-
import
|
|
47
|
-
import K from "./
|
|
48
|
-
import q from "./components/
|
|
49
|
-
import J from "./components/
|
|
50
|
-
import Y from "./components/
|
|
51
|
-
import
|
|
52
|
-
import Q from "./
|
|
53
|
-
import
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
|
|
1
|
+
import { useStickyOffset as e } from "./composables/useStickyOffset.js";
|
|
2
|
+
import t from "./components/AppHeader.js";
|
|
3
|
+
import n from "./components/AppSidebar.js";
|
|
4
|
+
import r from "./components/AppFooter.js";
|
|
5
|
+
import i from "./components/ColorModeControl.js";
|
|
6
|
+
import a from "./components/UiButton.js";
|
|
7
|
+
import o from "./components/UiCard.js";
|
|
8
|
+
import s from "./components/UiSelect.js";
|
|
9
|
+
import c from "./components/UiNotice.js";
|
|
10
|
+
import l from "./components/SidebarItem.js";
|
|
11
|
+
import u from "./components/SidebarGroup.js";
|
|
12
|
+
import { tabIds as d } from "./tabs.js";
|
|
13
|
+
import f from "./components/AppTabNav.js";
|
|
14
|
+
import p from "./components/UiTabPanel.js";
|
|
15
|
+
import m from "./components/UiDialog.js";
|
|
16
|
+
import h from "./components/UiCopyButton.js";
|
|
17
|
+
import g from "./components/CopyableAddress.js";
|
|
18
|
+
import _ from "./components/ExplorerLink.js";
|
|
19
|
+
import v from "./components/CopyrightLine.js";
|
|
20
|
+
import y from "./components/UiStepper.js";
|
|
21
|
+
import b from "./components/UiSegmentedControl.js";
|
|
22
|
+
import x from "./components/UiFieldHint.js";
|
|
23
|
+
import S from "./components/UiFormField.js";
|
|
24
|
+
import C from "./components/UiToolIntro.js";
|
|
25
|
+
import w from "./components/UiInput.js";
|
|
26
|
+
import T from "./components/UiTextarea.js";
|
|
27
|
+
import E from "./components/UiFileField.js";
|
|
28
|
+
import D from "./components/UiTextField.js";
|
|
29
|
+
import O from "./components/UiSelectField.js";
|
|
30
|
+
import k from "./components/UiCheckField.js";
|
|
31
|
+
import A from "./components/UiDateTimeField.js";
|
|
32
|
+
import j from "./components/UiMeter.js";
|
|
33
|
+
import M from "./components/UiPager.js";
|
|
34
|
+
import N from "./components/UiLiveStatus.js";
|
|
35
|
+
import P from "./components/UiEmptyState.js";
|
|
36
|
+
import F from "./components/UiCodeBlock.js";
|
|
37
|
+
import I from "./components/UiSkipLink.js";
|
|
38
|
+
import L from "./components/UiAmount.js";
|
|
39
|
+
import R from "./components/UiAppShell.js";
|
|
40
|
+
import z from "./components/UiPanel.js";
|
|
41
|
+
import B from "./components/UiBadge.js";
|
|
42
|
+
import V from "./components/UiToolbarButton.js";
|
|
43
|
+
import H from "./components/UiToolbar.js";
|
|
44
|
+
import U from "./components/UiStatGrid.js";
|
|
45
|
+
import W from "./components/UiStatRow.js";
|
|
46
|
+
import G from "./components/UiDataTable.js";
|
|
47
|
+
import { useNow as K } from "./composables/useNow.js";
|
|
48
|
+
import q from "./components/UiStatusDot.js";
|
|
49
|
+
import J from "./components/UiStatusBar.js";
|
|
50
|
+
import Y from "./components/UiActivityFeed.js";
|
|
51
|
+
import X from "./components/UiActivityItem.js";
|
|
52
|
+
import { MIN_STATUS_POLL_MS as Z, useStatusSnapshot as Q } from "./composables/useStatusSnapshot.js";
|
|
53
|
+
import $ from "./components/StatusWidget.js";
|
|
54
|
+
import { useColorMode as ee } from "./composables/useColorMode.js";
|
|
55
|
+
import { useSeason as te } from "./composables/useSeason.js";
|
|
56
|
+
import { usePager as ne } from "./composables/usePager.js";
|
|
57
|
+
import { RUNTIME_CONFIG_PATH as re, RUNTIME_ENDPOINT_KEYS as ie, loadRuntimeConfig as ae, parseEndpoint as oe, parseRuntimeConfig as se, resetRuntimeConfigForTesting as ce, runtimeEndpoints as le, withRuntimeEnv as ue } from "./runtime-config.js";
|
|
58
|
+
import { DEFAULT_TRUNCATE_CHARS as de, STATUS_HEADLINE as fe, STATUS_LABEL as pe, isStatusLevel as me, parseSnapshot as he, safeHref as ge, safeIcon as _e, safePath as ve, suiExplorerUrl as ye, truncateMiddle as be, walruscanBlobUrl as xe } from "@meddleware/web-utils";
|
|
59
|
+
export { r as AppFooter, t as AppHeader, n as AppSidebar, f as AppTabNav, i as ColorModeControl, g as CopyableAddress, v as CopyrightLine, de as DEFAULT_TRUNCATE_CHARS, _ as ExplorerLink, Z as MIN_STATUS_POLL_MS, re as RUNTIME_CONFIG_PATH, ie as RUNTIME_ENDPOINT_KEYS, fe as STATUS_HEADLINE, pe as STATUS_LABEL, u as SidebarGroup, l as SidebarItem, $ as StatusWidget, Y as UiActivityFeed, X as UiActivityItem, L as UiAmount, R as UiAppShell, B as UiBadge, a as UiButton, o as UiCard, k as UiCheckField, F as UiCodeBlock, h as UiCopyButton, G as UiDataTable, A as UiDateTimeField, m as UiDialog, P as UiEmptyState, x as UiFieldHint, E as UiFileField, S as UiFormField, w as UiInput, N as UiLiveStatus, j as UiMeter, c as UiNotice, M as UiPager, z as UiPanel, b as UiSegmentedControl, s as UiSelect, O as UiSelectField, I as UiSkipLink, U as UiStatGrid, W as UiStatRow, J as UiStatusBar, q as UiStatusDot, y as UiStepper, p as UiTabPanel, D as UiTextField, T as UiTextarea, C as UiToolIntro, H as UiToolbar, V as UiToolbarButton, me as isStatusLevel, ae as loadRuntimeConfig, oe as parseEndpoint, se as parseRuntimeConfig, he as parseSnapshot, ce as resetRuntimeConfigForTesting, le as runtimeEndpoints, ge as safeHref, _e as safeIcon, ve as safePath, ye as suiExplorerUrl, d as tabIds, be as truncateMiddle, ee as useColorMode, K as useNow, ne as usePager, te as useSeason, Q as useStatusSnapshot, e as useStickyOffset, xe as walruscanBlobUrl, ue as withRuntimeEnv };
|
package/dist/reset.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer mw.reset{*,:before,:after{box-sizing:border-box}html,body{margin:0;padding:0}html{scroll-padding-block
|
|
1
|
+
@layer mw.reset{*,:before,:after{box-sizing:border-box}html,body{margin:0;padding:0}html{scroll-padding-block:calc(var(--mw-header-offset,calc(var(--mw-header-height) * 2)) + var(--mw-sticky-extra,0px)) calc(var(--mw-header-height) * 2)}body{background:var(--bg);min-height:100vh;color:var(--text);font-family:var(--mw-font-sans);font-size:var(--font-size-base);line-height:var(--leading-normal);letter-spacing:var(--tracking-normal);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizelegibility}:where(ul,ol):where([role=list],[role=listitem]),:where(menu){margin:0;padding:0;list-style:none}.mw-visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.mw-panel--dark{--_bg:var(--mw-panel-dark-bg);--_surface:var(--mw-panel-dark-surface);--_text:var(--mw-panel-dark-text);--_muted:var(--mw-panel-dark-muted);--_border:var(--mw-panel-dark-border);--_ok:var(--mw-panel-dark-ok);--_danger:var(--mw-panel-dark-danger);--_info:var(--mw-panel-dark-info);--text:var(--_text);--muted:var(--_muted);--border:var(--_border);--bg:var(--_bg);--surface:var(--_surface);--lift:var(--_surface);--mw-link:var(--_text)}.mw-panel--light{--_bg:var(--mw-panel-light-bg);--_surface:var(--mw-panel-light-surface);--_text:var(--mw-panel-light-text);--_muted:var(--mw-panel-light-muted);--_border:var(--mw-panel-light-border);--_ok:var(--mw-panel-light-ok);--_danger:var(--mw-panel-light-danger);--_info:var(--mw-panel-light-info);--text:var(--_text);--muted:var(--_muted);--border:var(--_border);--bg:var(--_bg);--surface:var(--_surface);--lift:var(--_surface);--mw-link:var(--_text)}.mw-panel--transparent{--_bg:transparent;--_surface:transparent;--_text:var(--text);--_muted:var(--muted);--_border:transparent;--_ok:var(--ok);--_danger:var(--danger);--_info:var(--info)}:where(img,svg,video,canvas){max-width:100%;display:block}:where(fieldset){border:0;min-inline-size:0;margin:0;padding:0}:where(legend){overflow-wrap:anywhere;max-inline-size:100%;padding:0}a{color:var(--mw-link,var(--accent));text-underline-offset:.18em;transition:color var(--transition-base);text-decoration:underline;text-decoration-thickness:.08em}a:hover{text-decoration-thickness:.14em}:where(button,input,select,textarea){font-family:inherit}:where(button){padding:var(--space-3xs) var(--space-xs);color:var(--text);background-color:var(--lift);border:1px solid var(--border);border-radius:var(--radius-sm);font-size:inherit;cursor:pointer}:where(input[type=file])::file-selector-button{padding:var(--space-3xs) var(--space-xs);color:var(--text);background-color:var(--lift);border:1px solid var(--border);border-radius:var(--radius-sm);font-size:inherit;cursor:pointer}:where(input[type=file])::file-selector-button{margin-inline-end:var(--space-xs)}:where(button:disabled){cursor:not-allowed}:where(a,button,input,select,textarea):focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.mw-mono{font-family:var(--mw-font-mono)}:where(code,kbd,samp){font-family:var(--mw-font-mono);overflow-wrap:anywhere}:where(pre) :where(code,kbd,samp){overflow-wrap:normal}.mw-noise{isolation:isolate;position:relative}.mw-noise:before{content:"";z-index:var(--z-below);background-image:var(--noise-overlay);opacity:var(--noise-opacity);pointer-events:none;background-repeat:repeat;position:absolute;inset:0}.mw-hand-drawn{display:inline-flex;position:relative}.mw-spinner{width:var(--space-sm);height:var(--space-sm);border:2px solid var(--border);border-top-color:var(--accent);animation:mw-spin var(--transition-slow) linear infinite;border-radius:50%;display:inline-block}@keyframes mw-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:0s!important;transition-delay:0s!important;animation-duration:.001ms!important}.mw-spinner{border-top-color:var(--accent);animation:none}}}@layer mw.components;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meddleware/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.39",
|
|
4
4
|
"description": "Shared Vue 3 component library for @meddleware UIs — layout shell (header/sidebar/footer), colour-mode control, and primitives. Built on @meddleware/design-tokens.",
|
|
5
5
|
"homepage": "https://docs.meddleware.co.uk/",
|
|
6
6
|
"license": "0BSD",
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
"vue": "^3.5.0"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@meddleware/design-tokens": "^0.1.
|
|
49
|
-
"@meddleware/web-utils": "^0.0.
|
|
48
|
+
"@meddleware/design-tokens": "^0.1.13",
|
|
49
|
+
"@meddleware/web-utils": "^0.0.2"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@axe-core/playwright": "^4.13.0",
|
|
53
53
|
"@meddleware/eslint-config": "^0.0.4",
|
|
54
|
-
"@meddleware/frontend-config": "^0.0.
|
|
54
|
+
"@meddleware/frontend-config": "^0.0.2",
|
|
55
55
|
"@playwright/test": "~1.64.1",
|
|
56
56
|
"@vitejs/plugin-vue": "^6.0.9",
|
|
57
57
|
"@vue/eslint-config-typescript": "^14.9.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"stylelint-config-standard": "^40.0.0",
|
|
71
71
|
"typescript": "^6.0.0",
|
|
72
72
|
"vite": "^8.3.0",
|
|
73
|
-
"vitest": "~5.0
|
|
73
|
+
"vitest": "~5.1.0",
|
|
74
74
|
"vitest-axe": "^0.1.0",
|
|
75
75
|
"vue": "^3.5.43",
|
|
76
76
|
"vue-eslint-parser": "^10.4.1",
|