diff --git a/test/components/Accordion.spec.ts b/test/components/Accordion.spec.ts index 9850dbd2..49c4e9c8 100644 --- a/test/components/Accordion.spec.ts +++ b/test/components/Accordion.spec.ts @@ -45,7 +45,7 @@ describe('Accordion', () => { ['with collapsible', { props: { ...props, collapsible: false } }], ['with trailingIcon', { props: { ...props, trailingIcon: 'i-heroicons-plus' } }], ['with class', { props: { ...props, class: 'w-96' } }], - ['with ui', { props: { ui: { ...props, item: 'border-gray-300 dark:border-gray-700' } } }], + ['with ui', { props: { ...props, ui: { item: 'border-gray-300 dark:border-gray-700' } } }], // Slots ['with leading slot', { props, slots: { leading: () => 'Leading slot' } }], ['with default slot', { props, slots: { default: () => 'Default slot' } }], diff --git a/test/components/Breadcrumb.spec.ts b/test/components/Breadcrumb.spec.ts index 11ba4818..7afb7754 100644 --- a/test/components/Breadcrumb.spec.ts +++ b/test/components/Breadcrumb.spec.ts @@ -26,7 +26,7 @@ describe('Breadcrumb', () => { ['with items', { props }], ['with separatorIcon', { props: { ...props, separatorIcon: 'i-heroicons-minus' } }], ['with class', { props: { ...props, class: 'w-48' } }], - ['with ui', { props: { ui: { ...props, item: 'font-bold' } } }], + ['with ui', { props: { ...props, ui: { link: 'font-bold' } } }], // Slots ['with item slot', { props, slots: { item: () => 'Item slot' } }], ['with item-leading slot', { props, slots: { 'item-leading': () => 'Item leading slot' } }], diff --git a/test/components/Select.spec.ts b/test/components/Select.spec.ts index 2797ddf2..c0da5550 100644 --- a/test/components/Select.spec.ts +++ b/test/components/Select.spec.ts @@ -53,7 +53,7 @@ describe('Select', () => { ...colors.map((color: string) => [`with color ${color}`, { props: { ...props, color } }]), ...variants.map((variant: string) => [`with variant ${variant}`, { props: { ...props, variant } }]), ['with class', { props: { ...props, class: 'rounded-full' } }], - ['with ui', { props: { ui: { ...props, group: 'p-2' } } }], + ['with ui', { props: { ...props, ui: { group: 'p-2' } } }], // Slots ['with leading slot', { props, slots: { leading: () => 'Leading slot' } }], ['with trailing slot', { props, slots: { trailing: () => 'Trailing slot' } }], diff --git a/test/components/SelectMenu.spec.ts b/test/components/SelectMenu.spec.ts index 347b8155..f4865631 100644 --- a/test/components/SelectMenu.spec.ts +++ b/test/components/SelectMenu.spec.ts @@ -56,7 +56,7 @@ describe('SelectMenu', () => { ...colors.map((color: string) => [`with color ${color}`, { props: { ...props, color } }]), ...variants.map((variant: string) => [`with variant ${variant}`, { props: { ...props, variant } }]), ['with class', { props: { ...props, class: 'rounded-full' } }], - ['with ui', { props: { ui: { ...props, group: 'p-2' } } }], + ['with ui', { props: { ...props, ui: { group: 'p-2' } } }], // Slots ['with leading slot', { props, slots: { leading: () => 'Leading slot' } }], ['with default slot', { props, slots: { default: () => 'Default slot' } }], diff --git a/test/components/__snapshots__/Accordion.spec.ts.snap b/test/components/__snapshots__/Accordion.spec.ts.snap index 32b91c0f..95eed824 100644 --- a/test/components/__snapshots__/Accordion.spec.ts.snap +++ b/test/components/__snapshots__/Accordion.spec.ts.snap @@ -124,47 +124,6 @@ exports[`Accordion > renders with collapsible correctly 1`] = ` `; exports[`Accordion > renders with content slot correctly 1`] = ` -"
-
-

- -
-
-

- -
-
-

- -
-
-

- -
-
-

- -
-
-

- -
-
" -`; - -exports[`Accordion > renders with custom slot correctly 1`] = ` "

@@ -205,41 +164,82 @@ exports[`Accordion > renders with custom slot correctly 1`] = `
" `; -exports[`Accordion > renders with default slot correctly 1`] = ` +exports[`Accordion > renders with custom slot correctly 1`] = ` "
-

-
-

-
-

-
-

-
-

-
-

- +
" +`; + +exports[`Accordion > renders with default slot correctly 1`] = ` +"
+
+

+ +
+
+

+ +
+
+

+ +
+
+

+ +
+
+

+ +
+
+

+
@@ -370,38 +370,38 @@ exports[`Accordion > renders with items correctly 1`] = ` exports[`Accordion > renders with leading slot correctly 1`] = ` "
-

-
-

-
-

-
-

-
-

-
-

- @@ -450,38 +450,38 @@ exports[`Accordion > renders with modelValue correctly 1`] = ` exports[`Accordion > renders with trailing slot correctly 1`] = ` "
-

-
-

-
-

-
-

-
-

-
-

- @@ -570,4 +570,43 @@ exports[`Accordion > renders with type correctly 1`] = `
" `; -exports[`Accordion > renders with ui correctly 1`] = `"
"`; +exports[`Accordion > renders with ui correctly 1`] = ` +"
+
+

+ +
+
+

+ +
+
+

+ +
+
+

+ +
+
+

+ +
+
+

+ +
+
" +`; diff --git a/test/components/__snapshots__/Breadcrumb.spec.ts.snap b/test/components/__snapshots__/Breadcrumb.spec.ts.snap index de0a6e51..b30829ce 100644 --- a/test/components/__snapshots__/Breadcrumb.spec.ts.snap +++ b/test/components/__snapshots__/Breadcrumb.spec.ts.snap @@ -119,6 +119,13 @@ exports[`Breadcrumb > renders with separatorIcon correctly 1`] = ` exports[`Breadcrumb > renders with ui correctly 1`] = ` "
-
    +
      +
    1. Home
    2. + +
    3. Navigation
    4. + +
    5. Breadcrumb
    6. + +
    " `; diff --git a/test/components/__snapshots__/Select.spec.ts.snap b/test/components/__snapshots__/Select.spec.ts.snap index 0200c55b..f5fa3d84 100644 --- a/test/components/__snapshots__/Select.spec.ts.snap +++ b/test/components/__snapshots__/Select.spec.ts.snap @@ -599,21 +599,21 @@ exports[`Select > renders with id correctly 1`] = ` `; exports[`Select > renders with item slot correctly 1`] = ` -"
    -
    +
    +
    + + -" +" `; exports[`Select > renders with variant none correctly 1`] = ` diff --git a/test/components/__snapshots__/SelectMenu.spec.ts.snap b/test/components/__snapshots__/SelectMenu.spec.ts.snap index 786e0ac9..f390e625 100644 --- a/test/components/__snapshots__/SelectMenu.spec.ts.snap +++ b/test/components/__snapshots__/SelectMenu.spec.ts.snap @@ -302,23 +302,23 @@ exports[`SelectMenu > renders with default slot correctly 1`] = `
    -
    - +
    +