nuxt-ui-tools 1.11.0 → 1.11.2
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/module.json +1 -1
- package/dist/runtime/form/components/provider/form-overlay-host.vue +3 -0
- package/dist/runtime/form/components/root/form.d.vue.ts +2 -1
- package/dist/runtime/form/components/root/form.vue +2 -0
- package/dist/runtime/form/components/root/form.vue.d.ts +2 -1
- package/dist/runtime/form/composables/use-form-overlay-controller.d.ts +1 -0
- package/dist/runtime/form/composables/use-form-overlay-controller.js +10 -0
- package/dist/runtime/form/composables/use-form-root.d.ts +4 -2
- package/dist/runtime/form/composables/use-form-root.js +13 -10
- package/dist/runtime/shared/styles/scrollbars.css +1 -1
- package/dist/runtime/shared/styles/tokens.css +1 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -49,6 +49,7 @@ function resolveSchemaUi(schema) {
|
|
|
49
49
|
>
|
|
50
50
|
<FormRoot
|
|
51
51
|
:form="overlay.form"
|
|
52
|
+
:runtime="overlay.runtime"
|
|
52
53
|
shell="drawer"
|
|
53
54
|
:show-close-button="drawerConfig?.showCloseButton !== false"
|
|
54
55
|
:ui="formUi"
|
|
@@ -70,6 +71,7 @@ function resolveSchemaUi(schema) {
|
|
|
70
71
|
>
|
|
71
72
|
<FormRoot
|
|
72
73
|
:form="overlay.form"
|
|
74
|
+
:runtime="overlay.runtime"
|
|
73
75
|
shell="fullscreen"
|
|
74
76
|
:show-close-button="fullscreenConfig?.showCloseButton !== false"
|
|
75
77
|
:ui="formUi"
|
|
@@ -91,6 +93,7 @@ function resolveSchemaUi(schema) {
|
|
|
91
93
|
>
|
|
92
94
|
<FormRoot
|
|
93
95
|
:form="overlay.form"
|
|
96
|
+
:runtime="overlay.runtime"
|
|
94
97
|
shell="modal"
|
|
95
98
|
:show-close-button="modalConfig?.showCloseButton !== false"
|
|
96
99
|
:ui="formUi"
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type { FormValue, FormObject, FormRendererController, FormRenderShell, FormUiConfig, FormValidationMode } from '../../types/index.js';
|
|
1
|
+
import type { FormValue, FormObject, FormRendererController, FormRuntime, FormRenderShell, FormUiConfig, FormValidationMode } from '../../types/index.js';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
form?: FormRendererController;
|
|
4
|
+
runtime?: FormRuntime;
|
|
4
5
|
schema?: FormValue;
|
|
5
6
|
input?: FormObject;
|
|
6
7
|
shell?: FormRenderShell;
|
|
@@ -20,6 +20,7 @@ import FormFieldRenderer from "../renderer/form-field-renderer.vue";
|
|
|
20
20
|
import FormDirectionalTransition from "../utils/form-directional-transition.vue";
|
|
21
21
|
const props = defineProps({
|
|
22
22
|
form: { type: Object, required: false },
|
|
23
|
+
runtime: { type: Object, required: false },
|
|
23
24
|
schema: { type: null, required: false },
|
|
24
25
|
input: { type: null, required: false },
|
|
25
26
|
shell: { type: String, required: false },
|
|
@@ -42,6 +43,7 @@ const {
|
|
|
42
43
|
submit
|
|
43
44
|
} = useFormRoot({
|
|
44
45
|
form: () => props.form,
|
|
46
|
+
runtime: () => props.runtime,
|
|
45
47
|
input: () => props.input,
|
|
46
48
|
onCancelled: (value) => emit("cancel", value),
|
|
47
49
|
onSubmitted: (value, result) => emit("submit", value, result),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type { FormValue, FormObject, FormRendererController, FormRenderShell, FormUiConfig, FormValidationMode } from '../../types/index.js';
|
|
1
|
+
import type { FormValue, FormObject, FormRendererController, FormRuntime, FormRenderShell, FormUiConfig, FormValidationMode } from '../../types/index.js';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
form?: FormRendererController;
|
|
4
|
+
runtime?: FormRuntime;
|
|
4
5
|
schema?: FormValue;
|
|
5
6
|
input?: FormObject;
|
|
6
7
|
shell?: FormRenderShell;
|
|
@@ -8,5 +8,6 @@ export declare function useFormOverlayController(instance: FormApiRuntimeInstanc
|
|
|
8
8
|
handleSubmitted: (formData: FormObject, result: FormSubmitHandlerResult<FormValue>) => void;
|
|
9
9
|
open: import("vue").Ref<boolean, boolean>;
|
|
10
10
|
resolveAfterClose: () => void;
|
|
11
|
+
runtime: import("../types/index.js").FormRuntime;
|
|
11
12
|
title: import("vue").ComputedRef<string | undefined>;
|
|
12
13
|
};
|
|
@@ -3,6 +3,7 @@ import { getFormOverlayDescription, getFormOverlayTitle } from "../utils/overlay
|
|
|
3
3
|
import { isRecord } from "../utils/path.js";
|
|
4
4
|
import { useForm } from "./use-form.js";
|
|
5
5
|
import { useFormApi } from "./use-form-api.js";
|
|
6
|
+
import { useFormRuntime } from "./use-form-runtime.js";
|
|
6
7
|
export function useFormOverlayController(instance) {
|
|
7
8
|
const formApi = useFormApi();
|
|
8
9
|
const form = useForm({
|
|
@@ -17,6 +18,13 @@ export function useFormOverlayController(instance) {
|
|
|
17
18
|
() => getFormOverlayDescription(instance.schema) ?? getFormOverlayTitle(instance.schema) ?? "Form"
|
|
18
19
|
);
|
|
19
20
|
const dismissible = computed(() => !form.isSubmitting.value);
|
|
21
|
+
const runtime = useFormRuntime({
|
|
22
|
+
input: form.input,
|
|
23
|
+
schema: form.schema,
|
|
24
|
+
syncInput: form.syncInput,
|
|
25
|
+
validationMode: form.validationMode
|
|
26
|
+
});
|
|
27
|
+
form.bind(runtime);
|
|
20
28
|
formApi.setController(instance.id, form);
|
|
21
29
|
const runtimeControls = {
|
|
22
30
|
close: requestCancel,
|
|
@@ -24,6 +32,7 @@ export function useFormOverlayController(instance) {
|
|
|
24
32
|
};
|
|
25
33
|
formApi.setRuntimeControls(instance.id, runtimeControls);
|
|
26
34
|
onBeforeUnmount(() => {
|
|
35
|
+
form.unbind(runtime);
|
|
27
36
|
formApi.removeController(instance.id, form);
|
|
28
37
|
formApi.removeRuntimeControls(instance.id, runtimeControls);
|
|
29
38
|
});
|
|
@@ -85,6 +94,7 @@ export function useFormOverlayController(instance) {
|
|
|
85
94
|
handleSubmitted,
|
|
86
95
|
open,
|
|
87
96
|
resolveAfterClose,
|
|
97
|
+
runtime,
|
|
88
98
|
title
|
|
89
99
|
};
|
|
90
100
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import type { FormObject, FormRendererController, FormSubmitHandlerResult, FormUiConfig, FormValidationMode, FormValue } from '../types/index.js';
|
|
1
|
+
import type { FormObject, FormRendererController, FormRuntime, FormSubmitHandlerResult, FormUiConfig, FormValidationMode, FormValue } from '../types/index.js';
|
|
2
2
|
export interface UseFormRootParams {
|
|
3
3
|
/** Controller from `useForm`. Its schema, input, and policies win over the direct ones. */
|
|
4
4
|
form: () => FormRendererController | undefined;
|
|
5
|
+
/** Runtime owned by a parent. The root renders it and neither creates, binds nor disposes it. */
|
|
6
|
+
runtime?: () => FormRuntime | undefined;
|
|
5
7
|
schema: () => FormValue;
|
|
6
8
|
input: () => FormObject | undefined;
|
|
7
9
|
syncInput: () => boolean | readonly string[] | undefined;
|
|
@@ -27,7 +29,7 @@ export declare function useFormRoot(params: UseFormRootParams): {
|
|
|
27
29
|
};
|
|
28
30
|
input: import("vue").ComputedRef<import("../../shared/index.js").GenericObject | undefined>;
|
|
29
31
|
refreshContext: () => Promise<void>;
|
|
30
|
-
runtime:
|
|
32
|
+
runtime: FormRuntime;
|
|
31
33
|
schema: import("vue").ComputedRef<{}>;
|
|
32
34
|
submit: () => Promise<void>;
|
|
33
35
|
validationMode: import("vue").ComputedRef<FormValidationMode>;
|
|
@@ -34,17 +34,20 @@ export function useFormRoot(params) {
|
|
|
34
34
|
const validationMode = computed(
|
|
35
35
|
() => params.form()?.validationMode.value ?? params.validate() ?? getSchemaValidationMode(schema.value)
|
|
36
36
|
);
|
|
37
|
-
const
|
|
37
|
+
const ownedRuntime = params.runtime?.();
|
|
38
|
+
const runtime = ownedRuntime ?? useFormRuntime({ input, schema, syncInput, validationMode });
|
|
38
39
|
provideFormRuntime(runtime);
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
previousController
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
40
|
+
if (!ownedRuntime) {
|
|
41
|
+
watch(
|
|
42
|
+
params.form,
|
|
43
|
+
(controller, previousController) => {
|
|
44
|
+
previousController?.unbind(runtime);
|
|
45
|
+
controller?.bind(runtime);
|
|
46
|
+
},
|
|
47
|
+
{ immediate: true }
|
|
48
|
+
);
|
|
49
|
+
onBeforeUnmount(() => params.form()?.unbind(runtime));
|
|
50
|
+
}
|
|
48
51
|
onMounted(async () => {
|
|
49
52
|
await nextTick();
|
|
50
53
|
const target = getSchemaAutoFocus(schema.value);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--nut-scrollbar-size:11px;--nut-scrollbar-gap:3px;--nut-scrollbar-thumb:color-mix(in srgb,var(--ui-text,#1f1d1a) 18%,transparent);--nut-scrollbar-thumb-hover:color-mix(in srgb,var(--ui-text,#1f1d1a) 32%,transparent);--nut-scrollbar-thumb-active:color-mix(in srgb,var(--ui-text,#1f1d1a) 44%,transparent)}@supports (scrollbar-width:thin){*{scrollbar-color:transparent transparent;scrollbar-width:thin;transition:scrollbar-color .2s ease}:hover{scrollbar-color:var(--nut-scrollbar-thumb) transparent}}@supports not (scrollbar-width:thin){::-webkit-scrollbar{background:transparent;height:var(--nut-scrollbar-size);width:var(--nut-scrollbar-size)}::-webkit-scrollbar-corner,::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:transparent;border:var(--nut-scrollbar-gap) solid transparent;border-radius:999px}:hover::-webkit-scrollbar-thumb{background-color:var(--nut-scrollbar-thumb)}::-webkit-scrollbar-thumb:hover{background-color:var(--nut-scrollbar-thumb-hover)}::-webkit-scrollbar-thumb:active{background-color:var(--nut-scrollbar-thumb-active)}}
|
|
1
|
+
@layer theme, base, components, utilities;@layer base{:root{--nut-scrollbar-size:11px;--nut-scrollbar-gap:3px;--nut-scrollbar-thumb:color-mix(in srgb,var(--ui-text,#1f1d1a) 18%,transparent);--nut-scrollbar-thumb-hover:color-mix(in srgb,var(--ui-text,#1f1d1a) 32%,transparent);--nut-scrollbar-thumb-active:color-mix(in srgb,var(--ui-text,#1f1d1a) 44%,transparent)}@supports (scrollbar-width:thin){*{scrollbar-color:transparent transparent;scrollbar-width:thin;transition:scrollbar-color .2s ease}:hover{scrollbar-color:var(--nut-scrollbar-thumb) transparent}}@supports not (scrollbar-width:thin){::-webkit-scrollbar{background:transparent;height:var(--nut-scrollbar-size);width:var(--nut-scrollbar-size)}::-webkit-scrollbar-corner,::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:transparent;border:var(--nut-scrollbar-gap) solid transparent;border-radius:999px}:hover::-webkit-scrollbar-thumb{background-color:var(--nut-scrollbar-thumb)}::-webkit-scrollbar-thumb:hover{background-color:var(--nut-scrollbar-thumb-hover)}::-webkit-scrollbar-thumb:active{background-color:var(--nut-scrollbar-thumb-active)}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--nut-form-veil:rgba(31,29,26,.18)}.dark{--nut-form-veil:rgba(0,0,0,.45)}:where(:root){--nut-dash-s1:var(--ui-primary);--nut-dash-s2:var(--ui-color-neutral-400);--nut-dash-s3:var(--ui-secondary);--nut-dash-s4:color-mix(in oklab,var(--ui-primary) 20%,var(--ui-bg));--nut-dash-s5:var(--ui-warning);--nut-dash-s6:color-mix(in oklab,var(--ui-secondary) 35%,var(--ui-bg));--nut-dash-up:var(--ui-success);--nut-dash-up-mark:var(--nut-dash-up);--nut-dash-down:var(--ui-error);--nut-dash-muted:var(--ui-border-accented);--nut-dash-track:var(--ui-bg-elevated);--nut-dash-grid:var(--ui-border-muted);--nut-dash-axis:var(--ui-text-dimmed);--nut-dash-ref:var(--ui-text-dimmed);--nut-dash-ref-label:var(--ui-text-muted);--nut-dash-ghost:var(--ui-bg-accented);--nut-dash-ghost-shine:color-mix(in oklab,var(--ui-bg) 70%,transparent);--nut-dash-filter-active:color-mix(in oklab,var(--ui-primary) 9%,var(--ui-bg));--nut-dash-filter-active-line:color-mix(in oklab,var(--ui-primary) 35%,var(--ui-border));--nut-dash-filter-ink:var(--nut-dl-accent-ink,var(--ui-primary));--nut-dash-row-hover:var(--ui-bg-elevated)}:where(.dark){--nut-dash-s2:var(--ui-color-neutral-500);--nut-dash-s4:color-mix(in oklab,var(--ui-primary) 30%,var(--ui-bg));--nut-dash-s6:color-mix(in oklab,var(--ui-secondary) 40%,var(--ui-bg))}@supports (color:oklch(from red l c h)){:where(:root){--nut-dash-s4:oklch(from var(--ui-primary) 0.88 calc(c * 0.45) h);--nut-dash-s6:oklch(from var(--ui-secondary) 0.8 calc(c * 0.55) h)}:where(.dark){--nut-dash-s4:oklch(from var(--ui-primary) 0.42 calc(c * 0.6) h);--nut-dash-s6:oklch(from var(--ui-secondary) 0.45 calc(c * 0.65) h)}}.nut-dash-chart{--vis-font-family:inherit;--vis-axis-tick-label-color:var(--nut-dash-axis);--vis-axis-tick-label-font-size:10px;--vis-axis-grid-color:var(--nut-dash-grid);--vis-axis-domain-color:var(--nut-dash-grid);--vis-crosshair-line-stroke-color:var(--ui-border-accented);--vis-crosshair-circle-stroke-color:var(--ui-bg);--vis-tooltip-background-color:var(--ui-bg);--vis-tooltip-border-color:var(--ui-border);--vis-tooltip-text-color:var(--ui-text);--vis-tooltip-padding:8px 10px;--vis-tooltip-border-radius:calc(var(--ui-radius)*1.5);--vis-tooltip-shadow-color:rgb(0 0 0/8%);--vis-plotline-label-font-size:10px}.nut-dash-chart--bars [data-vis-component] rect:hover{opacity:.8}.nut-dash-tip{display:flex;flex-direction:column;font-size:12px;gap:4px;min-width:9rem}.nut-dash-tip-title{color:var(--ui-text-muted);font-weight:500}.nut-dash-tip-row{align-items:center;display:flex;gap:6px}.nut-dash-tip-row i{border-radius:2px;height:8px;width:8px}.nut-dash-tip-row span{color:var(--ui-text-muted);flex:1}.nut-dash-tip-row b{font-variant-numeric:tabular-nums;font-weight:600}.nut-dash-ghost{background:var(--nut-dash-ghost)}.nut-dash-shimmer{overflow:hidden;position:relative}.nut-dash-shimmer:after{animation:nut-dash-shimmer 1.6s ease-in-out infinite;background:linear-gradient(100deg,transparent 25%,var(--nut-dash-ghost-shine) 50%,transparent 75%);content:"";inset:0;pointer-events:none;position:absolute;transform:translateX(-100%);will-change:transform}@keyframes nut-dash-shimmer{to{transform:translateX(100%)}}.nut-dash-enter{animation:nut-dash-enter .28s ease-out}@keyframes nut-dash-enter{0%{opacity:0;transform:translateY(2px)}to{opacity:1;transform:none}}.nut-dash-progress{animation:nut-dash-progress 1.1s ease-in-out infinite}@keyframes nut-dash-progress{0%{transform:translateX(-100%)}to{transform:translateX(300%)}}@media (prefers-reduced-motion:reduce){.nut-dash-shimmer:after{display:none}.nut-dash-enter{animation:none}.nut-dash-progress{animation-duration:3s}}
|
|
1
|
+
@layer theme, base, components, utilities;@layer base{:root{--nut-form-veil:rgba(31,29,26,.18)}.dark{--nut-form-veil:rgba(0,0,0,.45)}:where(:root){--nut-dash-s1:var(--ui-primary);--nut-dash-s2:var(--ui-color-neutral-400);--nut-dash-s3:var(--ui-secondary);--nut-dash-s4:color-mix(in oklab,var(--ui-primary) 20%,var(--ui-bg));--nut-dash-s5:var(--ui-warning);--nut-dash-s6:color-mix(in oklab,var(--ui-secondary) 35%,var(--ui-bg));--nut-dash-up:var(--ui-success);--nut-dash-up-mark:var(--nut-dash-up);--nut-dash-down:var(--ui-error);--nut-dash-muted:var(--ui-border-accented);--nut-dash-track:var(--ui-bg-elevated);--nut-dash-grid:var(--ui-border-muted);--nut-dash-axis:var(--ui-text-dimmed);--nut-dash-ref:var(--ui-text-dimmed);--nut-dash-ref-label:var(--ui-text-muted);--nut-dash-ghost:var(--ui-bg-accented);--nut-dash-ghost-shine:color-mix(in oklab,var(--ui-bg) 70%,transparent);--nut-dash-filter-active:color-mix(in oklab,var(--ui-primary) 9%,var(--ui-bg));--nut-dash-filter-active-line:color-mix(in oklab,var(--ui-primary) 35%,var(--ui-border));--nut-dash-filter-ink:var(--nut-dl-accent-ink,var(--ui-primary));--nut-dash-row-hover:var(--ui-bg-elevated)}:where(.dark){--nut-dash-s2:var(--ui-color-neutral-500);--nut-dash-s4:color-mix(in oklab,var(--ui-primary) 30%,var(--ui-bg));--nut-dash-s6:color-mix(in oklab,var(--ui-secondary) 40%,var(--ui-bg))}@supports (color:oklch(from red l c h)){:where(:root){--nut-dash-s4:oklch(from var(--ui-primary) 0.88 calc(c * 0.45) h);--nut-dash-s6:oklch(from var(--ui-secondary) 0.8 calc(c * 0.55) h)}:where(.dark){--nut-dash-s4:oklch(from var(--ui-primary) 0.42 calc(c * 0.6) h);--nut-dash-s6:oklch(from var(--ui-secondary) 0.45 calc(c * 0.65) h)}}:where(:root){--nut-fp-veil:rgba(31,29,26,.4);--nut-fp-stage:var(--ui-bg-muted);--nut-fp-document:#525659;--nut-fp-checker-a:#fff;--nut-fp-checker-b:#ebe7e2;--nut-fp-token-key:var(--ui-primary);--nut-fp-token-string:var(--ui-success);--nut-fp-token-number:var(--ui-info);--nut-fp-token-literal:var(--ui-error)}:where(.dark){--nut-fp-veil:rgba(0,0,0,.62);--nut-fp-stage:var(--ui-bg);--nut-fp-checker-a:#e9e4dd;--nut-fp-checker-b:#d8d1c7}}@layer components{.nut-dash-chart{--vis-font-family:inherit;--vis-axis-tick-label-color:var(--nut-dash-axis);--vis-axis-tick-label-font-size:10px;--vis-axis-grid-color:var(--nut-dash-grid);--vis-axis-domain-color:var(--nut-dash-grid);--vis-crosshair-line-stroke-color:var(--ui-border-accented);--vis-crosshair-circle-stroke-color:var(--ui-bg);--vis-tooltip-background-color:var(--ui-bg);--vis-tooltip-border-color:var(--ui-border);--vis-tooltip-text-color:var(--ui-text);--vis-tooltip-padding:8px 10px;--vis-tooltip-border-radius:calc(var(--ui-radius)*1.5);--vis-tooltip-shadow-color:rgb(0 0 0/8%);--vis-plotline-label-font-size:10px}.nut-dash-chart--bars [data-vis-component] rect:hover{opacity:.8}.nut-dash-tip{display:flex;flex-direction:column;font-size:12px;gap:4px;min-width:9rem}.nut-dash-tip-title{color:var(--ui-text-muted);font-weight:500}.nut-dash-tip-row{align-items:center;display:flex;gap:6px}.nut-dash-tip-row i{border-radius:2px;height:8px;width:8px}.nut-dash-tip-row span{color:var(--ui-text-muted);flex:1}.nut-dash-tip-row b{font-variant-numeric:tabular-nums;font-weight:600}.nut-dash-ghost{background:var(--nut-dash-ghost)}.nut-dash-shimmer{overflow:hidden;position:relative}.nut-dash-shimmer:after{animation:nut-dash-shimmer 1.6s ease-in-out infinite;background:linear-gradient(100deg,transparent 25%,var(--nut-dash-ghost-shine) 50%,transparent 75%);content:"";inset:0;pointer-events:none;position:absolute;transform:translateX(-100%);will-change:transform}@keyframes nut-dash-shimmer{to{transform:translateX(100%)}}.nut-dash-enter{animation:nut-dash-enter .28s ease-out}@keyframes nut-dash-enter{0%{opacity:0;transform:translateY(2px)}to{opacity:1;transform:none}}.nut-dash-progress{animation:nut-dash-progress 1.1s ease-in-out infinite}@keyframes nut-dash-progress{0%{transform:translateX(-100%)}to{transform:translateX(300%)}}@media (prefers-reduced-motion:reduce){.nut-dash-shimmer:after{display:none}.nut-dash-enter{animation:none}.nut-dash-progress{animation-duration:3s}}.nut-fp-checker{background-color:var(--nut-fp-checker-a);background-image:conic-gradient(var(--nut-fp-checker-b) 25%,transparent 0 50%,var(--nut-fp-checker-b) 0 75%,transparent 0);background-size:18px 18px}.nut-fp-code [data-token=key]{color:var(--nut-fp-token-key)}.nut-fp-code [data-token=string]{color:var(--nut-fp-token-string)}.nut-fp-code [data-token=number]{color:var(--nut-fp-token-number)}.nut-fp-code [data-token=literal]{color:var(--nut-fp-token-literal)}[data-file-preview-bottom][data-single]:has([data-file-preview-tools]:empty){display:none}@keyframes nut-fp-progress{0%{transform:translateX(-100%)}to{transform:translateX(300%)}}.nut-fp-progress{animation:nut-fp-progress 1s ease-in-out infinite}@keyframes nut-fp-equalizer{to{transform:scaleY(.45)}}.nut-fp-equalizer{animation:nut-fp-equalizer .9s ease-in-out infinite alternate}@media (prefers-reduced-motion:reduce){.nut-fp-progress{animation-duration:2.4s}.nut-fp-equalizer{animation:none}}.nut-fp-prose{color:var(--ui-text);font-size:.925rem;line-height:1.7}.nut-fp-prose>:first-child{margin-top:0}.nut-fp-prose :where(h1,h2,h3,h4){color:var(--ui-text-highlighted);font-weight:650;letter-spacing:-.01em;line-height:1.25;margin:1.75em 0 .6em}.nut-fp-prose h1{font-size:1.6em}.nut-fp-prose h2{font-size:1.25em}.nut-fp-prose h3{font-size:1.05em}.nut-fp-prose :where(p,ul,ol,pre,table,blockquote){margin:0 0 1em}.nut-fp-prose :where(ul,ol){padding-inline-start:1.4em}.nut-fp-prose ul{list-style:disc}.nut-fp-prose ol{list-style:decimal}.nut-fp-prose a{color:var(--ui-primary);text-decoration:underline;text-underline-offset:2px}.nut-fp-prose :not(pre)>code{background:var(--ui-bg-elevated);border:1px solid var(--ui-border-muted);border-radius:4px;font-size:.86em;padding:.1em .35em}.nut-fp-prose pre{background:var(--ui-bg-elevated);border:1px solid var(--ui-border);border-radius:8px;font-size:.85em;overflow-x:auto;padding:.9em 1.1em}.nut-fp-prose table{border-collapse:collapse;display:block;font-size:.9em;overflow-x:auto}.nut-fp-prose :where(th,td){border:1px solid var(--ui-border);padding:.4em .75em;text-align:start}.nut-fp-prose th{background:var(--ui-bg-elevated);font-weight:600}.nut-fp-prose blockquote{border-inline-start:3px solid var(--ui-primary);color:var(--ui-text-toned);padding-inline-start:1em}.nut-fp-prose img{border-radius:6px;max-width:100%}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-ui-tools",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.2",
|
|
4
4
|
"description": "Nuxt module and runtime toolkit for UI-heavy Nuxt applications",
|
|
5
5
|
"homepage": "https://github.com/ChronicStone/nuxt-ui-tools#readme",
|
|
6
6
|
"bugs": "https://github.com/ChronicStone/nuxt-ui-tools/issues",
|