diff --git a/src/theme/chat-prompt.ts b/src/theme/chat-prompt.ts index ac50def82b..86fd9ea7dc 100644 --- a/src/theme/chat-prompt.ts +++ b/src/theme/chat-prompt.ts @@ -7,7 +7,7 @@ const focusHighlight = (utilities: string) => ['textarea', '[contenteditable]'] export default (options: Required) => ({ slots: { - root: 'relative flex flex-col items-stretch gap-2 px-2.5 py-2 w-full rounded-lg backdrop-blur', + root: 'relative flex flex-col items-stretch gap-2 px-2.5 py-2 w-full rounded-lg backdrop-blur-sm', header: 'flex items-center gap-1.5', body: 'items-start gap-1.5', footer: 'flex items-center justify-between gap-1.5', diff --git a/src/theme/content/content-toc.ts b/src/theme/content/content-toc.ts index 5346627886..a41f7dd6cb 100644 --- a/src/theme/content/content-toc.ts +++ b/src/theme/content/content-toc.ts @@ -2,7 +2,7 @@ import type { ModuleOptions } from '../../module' export default (options: Required) => ({ slots: { - root: 'sticky top-(--ui-header-height) z-10 bg-default/75 lg:bg-[initial] backdrop-blur -mx-4 px-4 sm:px-6 sm:-mx-6 lg:ms-0 flex flex-col overflow-y-auto max-h-[calc(100vh-var(--ui-header-height))]', + root: 'sticky top-(--ui-header-height) z-10 bg-default/75 lg:bg-[initial] backdrop-blur-sm -mx-4 px-4 sm:px-6 sm:-mx-6 lg:ms-0 flex flex-col overflow-y-auto max-h-[calc(100vh-var(--ui-header-height))]', container: 'pt-4 sm:pt-6 pb-2.5 sm:pb-4.5 lg:py-8 border-b border-dashed border-default lg:border-0 flex flex-col lg:min-h-0', top: 'lg:shrink-0', bottom: 'hidden lg:flex lg:flex-col lg:shrink-0 gap-6', diff --git a/src/theme/header.ts b/src/theme/header.ts index e8ab658e4d..d31b0998a7 100644 --- a/src/theme/header.ts +++ b/src/theme/header.ts @@ -1,6 +1,6 @@ export default { slots: { - root: 'bg-default/75 backdrop-blur border-b border-default h-(--ui-header-height) sticky top-0 z-50', + root: 'bg-default/75 backdrop-blur-sm border-b border-default h-(--ui-header-height) sticky top-0 z-50', container: 'flex items-center justify-between gap-3 h-full', left: 'lg:flex-1 flex items-center gap-1.5', center: 'hidden lg:flex', diff --git a/src/theme/input-date.ts b/src/theme/input-date.ts index bc37b9b6dc..723890f174 100644 --- a/src/theme/input-date.ts +++ b/src/theme/input-date.ts @@ -8,7 +8,7 @@ export default (options: Required) => { slots: { root: () => undefined, base: () => ['group relative inline-flex items-center rounded-md select-none', options.theme.transitions && 'transition-colors'], - segment: ['rounded text-center outline-hidden data-placeholder:text-dimmed data-[segment=literal]:text-muted data-invalid:text-error data-disabled:cursor-not-allowed data-disabled:opacity-75', options.theme.transitions && 'transition-colors'], + segment: ['rounded-sm text-center outline-hidden data-placeholder:text-dimmed data-[segment=literal]:text-muted data-invalid:text-error data-disabled:cursor-not-allowed data-disabled:opacity-75', options.theme.transitions && 'transition-colors'], separatorIcon: 'shrink-0 size-4 text-muted' }, variants: { diff --git a/src/theme/input-time.ts b/src/theme/input-time.ts index ab7e7a0275..7a845f462e 100644 --- a/src/theme/input-time.ts +++ b/src/theme/input-time.ts @@ -8,7 +8,7 @@ export default (options: Required) => { slots: { root: () => undefined, base: () => ['group relative inline-flex items-center rounded-md select-none', options.theme.transitions && 'transition-colors'], - segment: ['rounded text-center outline-hidden data-placeholder:text-dimmed data-[segment=literal]:text-muted data-invalid:text-error data-disabled:cursor-not-allowed data-disabled:opacity-75', options.theme.transitions && 'transition-colors'], + segment: ['rounded-sm text-center outline-hidden data-placeholder:text-dimmed data-[segment=literal]:text-muted data-invalid:text-error data-disabled:cursor-not-allowed data-disabled:opacity-75', options.theme.transitions && 'transition-colors'], separatorIcon: 'shrink-0 size-4 text-muted' }, variants: { diff --git a/src/theme/table.ts b/src/theme/table.ts index 03c74763b5..ce089b37fa 100644 --- a/src/theme/table.ts +++ b/src/theme/table.ts @@ -24,14 +24,14 @@ export default (options: Required) => ({ }, sticky: { true: { - thead: 'sticky top-0 inset-x-0 bg-default/75 backdrop-blur z-1', - tfoot: 'sticky bottom-0 inset-x-0 bg-default/75 backdrop-blur z-1' + thead: 'sticky top-0 inset-x-0 bg-default/75 backdrop-blur-sm z-1', + tfoot: 'sticky bottom-0 inset-x-0 bg-default/75 backdrop-blur-sm z-1' }, header: { - thead: 'sticky top-0 inset-x-0 bg-default/75 backdrop-blur z-1' + thead: 'sticky top-0 inset-x-0 bg-default/75 backdrop-blur-sm z-1' }, footer: { - tfoot: 'sticky bottom-0 inset-x-0 bg-default/75 backdrop-blur z-1' + tfoot: 'sticky bottom-0 inset-x-0 bg-default/75 backdrop-blur-sm z-1' } }, loading: { diff --git a/test/components/__snapshots__/ChatPrompt-vue.spec.ts.snap b/test/components/__snapshots__/ChatPrompt-vue.spec.ts.snap index f0f49a86c3..4e8a07ed3d 100644 --- a/test/components/__snapshots__/ChatPrompt-vue.spec.ts.snap +++ b/test/components/__snapshots__/ChatPrompt-vue.spec.ts.snap @@ -1,7 +1,7 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`ChatPrompt > renders with as correctly 1`] = ` -"
+"
@@ -12,14 +12,14 @@ exports[`ChatPrompt > renders with as correctly 1`] = ` `; exports[`ChatPrompt > renders with body slot correctly 1`] = ` -"
+" Body slot
" `; exports[`ChatPrompt > renders with class correctly 1`] = ` -"
+"
@@ -30,7 +30,7 @@ exports[`ChatPrompt > renders with class correctly 1`] = ` `; exports[`ChatPrompt > renders with error correctly 1`] = ` -" +"
@@ -41,7 +41,7 @@ exports[`ChatPrompt > renders with error correctly 1`] = ` `; exports[`ChatPrompt > renders with footer slot correctly 1`] = ` -" +"
@@ -52,7 +52,7 @@ exports[`ChatPrompt > renders with footer slot correctly 1`] = ` `; exports[`ChatPrompt > renders with header slot correctly 1`] = ` -" +"
Header slot
@@ -63,7 +63,7 @@ exports[`ChatPrompt > renders with header slot correctly 1`] = ` `; exports[`ChatPrompt > renders with placeholder correctly 1`] = ` -" +"
@@ -74,7 +74,7 @@ exports[`ChatPrompt > renders with placeholder correctly 1`] = ` `; exports[`ChatPrompt > renders with ui correctly 1`] = ` -" +"
@@ -85,7 +85,7 @@ exports[`ChatPrompt > renders with ui correctly 1`] = ` `; exports[`ChatPrompt > renders with variant naked correctly 1`] = ` -" +"
@@ -96,7 +96,7 @@ exports[`ChatPrompt > renders with variant naked correctly 1`] = ` `; exports[`ChatPrompt > renders with variant outline correctly 1`] = ` -" +"
@@ -107,7 +107,7 @@ exports[`ChatPrompt > renders with variant outline correctly 1`] = ` `; exports[`ChatPrompt > renders with variant soft correctly 1`] = ` -" +"
@@ -118,7 +118,7 @@ exports[`ChatPrompt > renders with variant soft correctly 1`] = ` `; exports[`ChatPrompt > renders with variant subtle correctly 1`] = ` -" +"
diff --git a/test/components/__snapshots__/ChatPrompt.spec.ts.snap b/test/components/__snapshots__/ChatPrompt.spec.ts.snap index f0f49a86c3..4e8a07ed3d 100644 --- a/test/components/__snapshots__/ChatPrompt.spec.ts.snap +++ b/test/components/__snapshots__/ChatPrompt.spec.ts.snap @@ -1,7 +1,7 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`ChatPrompt > renders with as correctly 1`] = ` -"
+"
@@ -12,14 +12,14 @@ exports[`ChatPrompt > renders with as correctly 1`] = ` `; exports[`ChatPrompt > renders with body slot correctly 1`] = ` -" +" Body slot " `; exports[`ChatPrompt > renders with class correctly 1`] = ` -"
+"
@@ -30,7 +30,7 @@ exports[`ChatPrompt > renders with class correctly 1`] = ` `; exports[`ChatPrompt > renders with error correctly 1`] = ` -" +"
@@ -41,7 +41,7 @@ exports[`ChatPrompt > renders with error correctly 1`] = ` `; exports[`ChatPrompt > renders with footer slot correctly 1`] = ` -" +"
@@ -52,7 +52,7 @@ exports[`ChatPrompt > renders with footer slot correctly 1`] = ` `; exports[`ChatPrompt > renders with header slot correctly 1`] = ` -" +"
Header slot
@@ -63,7 +63,7 @@ exports[`ChatPrompt > renders with header slot correctly 1`] = ` `; exports[`ChatPrompt > renders with placeholder correctly 1`] = ` -" +"
@@ -74,7 +74,7 @@ exports[`ChatPrompt > renders with placeholder correctly 1`] = ` `; exports[`ChatPrompt > renders with ui correctly 1`] = ` -" +"
@@ -85,7 +85,7 @@ exports[`ChatPrompt > renders with ui correctly 1`] = ` `; exports[`ChatPrompt > renders with variant naked correctly 1`] = ` -" +"
@@ -96,7 +96,7 @@ exports[`ChatPrompt > renders with variant naked correctly 1`] = ` `; exports[`ChatPrompt > renders with variant outline correctly 1`] = ` -" +"
@@ -107,7 +107,7 @@ exports[`ChatPrompt > renders with variant outline correctly 1`] = ` `; exports[`ChatPrompt > renders with variant soft correctly 1`] = ` -" +"
@@ -118,7 +118,7 @@ exports[`ChatPrompt > renders with variant soft correctly 1`] = ` `; exports[`ChatPrompt > renders with variant subtle correctly 1`] = ` -" +"
diff --git a/test/components/__snapshots__/Header-vue.spec.ts.snap b/test/components/__snapshots__/Header-vue.spec.ts.snap index 959399fec4..c7f4870e4d 100644 --- a/test/components/__snapshots__/Header-vue.spec.ts.snap +++ b/test/components/__snapshots__/Header-vue.spec.ts.snap @@ -1,7 +1,7 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Header > renders with as correctly 1`] = ` -"
+"
Nuxt UI @@ -19,7 +19,7 @@ exports[`Header > renders with as correctly 1`] = ` `; exports[`Header > renders with body slot correctly 1`] = ` -"
+"
Nuxt UI @@ -37,7 +37,7 @@ exports[`Header > renders with body slot correctly 1`] = ` `; exports[`Header > renders with bottom slot correctly 1`] = ` -"
+"
Nuxt UI @@ -55,7 +55,7 @@ exports[`Header > renders with bottom slot correctly 1`] = ` `; exports[`Header > renders with class correctly 1`] = ` -"
+"
Nuxt UI @@ -73,7 +73,7 @@ exports[`Header > renders with class correctly 1`] = ` `; exports[`Header > renders with content slot correctly 1`] = ` -"
+"
Nuxt UI @@ -91,7 +91,7 @@ exports[`Header > renders with content slot correctly 1`] = ` `; exports[`Header > renders with default slot correctly 1`] = ` -"
+"
Nuxt UI @@ -109,7 +109,7 @@ exports[`Header > renders with default slot correctly 1`] = ` `; exports[`Header > renders with left slot correctly 1`] = ` -"
+"
Left slot @@ -127,7 +127,7 @@ exports[`Header > renders with left slot correctly 1`] = ` `; exports[`Header > renders with mode drawer correctly 1`] = ` -"
+"
Nuxt UI @@ -157,7 +157,7 @@ exports[`Header > renders with mode drawer correctly 1`] = ` `; exports[`Header > renders with mode modal correctly 1`] = ` -"
+"
Nuxt UI @@ -196,7 +196,7 @@ exports[`Header > renders with mode modal correctly 1`] = ` `; exports[`Header > renders with mode slideover correctly 1`] = ` -"
+"
Nuxt UI @@ -233,7 +233,7 @@ exports[`Header > renders with mode slideover correctly 1`] = ` `; exports[`Header > renders with right slot correctly 1`] = ` -"
+"
Nuxt UI @@ -251,7 +251,7 @@ exports[`Header > renders with right slot correctly 1`] = ` `; exports[`Header > renders with title correctly 1`] = ` -"
+"
Documentation @@ -269,7 +269,7 @@ exports[`Header > renders with title correctly 1`] = ` `; exports[`Header > renders with title slot correctly 1`] = ` -"
+"
Title slot @@ -287,7 +287,7 @@ exports[`Header > renders with title slot correctly 1`] = ` `; exports[`Header > renders with to correctly 1`] = ` -"
+"
Nuxt UI @@ -305,7 +305,7 @@ exports[`Header > renders with to correctly 1`] = ` `; exports[`Header > renders with toggle correctly 1`] = ` -"
+"
Nuxt UI @@ -323,7 +323,7 @@ exports[`Header > renders with toggle correctly 1`] = ` `; exports[`Header > renders with toggle slot correctly 1`] = ` -"
+"
Nuxt UI @@ -338,7 +338,7 @@ exports[`Header > renders with toggle slot correctly 1`] = ` `; exports[`Header > renders with toggleSide correctly 1`] = ` -"
+"