@@ -4,11 +4,11 @@ exports[`Avatar > renders with alt correctly 1`] = `"<span data-slot="root" clas
44
55exports [` Avatar > renders with as (object) correctly 1` ] = `
66"<section data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7) size-[32px] text-(length:--ui-font-size-sm)/(--ui-font-line-height-reset)" >
7- <p src = " https://github.com/bitrix24.png" width = " 32 " height = " 32 " data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></p >
7+ <p src = " https://github.com/bitrix24.png" data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></p >
88</section >"
99` ;
1010
11- exports [` Avatar > renders with as (partial object) correctly 1` ] = ` "<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7) size-[32px] text-(length:--ui-font-size-sm)/(--ui-font-line-height-reset)" ><p src = " https://github.com/bitrix24.png" width = " 32 " height = " 32 " data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></p ></span >"` ;
11+ exports [` Avatar > renders with as (partial object) correctly 1` ] = ` "<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7) size-[32px] text-(length:--ui-font-size-sm)/(--ui-font-line-height-reset)" ><p src = " https://github.com/bitrix24.png" data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></p ></span >"` ;
1212
1313exports [` Avatar > renders with as correctly 1` ] = ` "<section data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7) size-[32px] text-(length:--ui-font-size-sm)/(--ui-font-line-height-reset)" ><span data-slot = " fallback" class = " font-(--ui-font-weight-medium) text-(--ui-color-design-plain-content-icon-secondary) truncate" > </span ></section >"` ;
1414
@@ -19,30 +19,32 @@ exports[`Avatar > renders with chip correctly 1`] = `
1919<!----></span></span>"
2020` ;
2121
22- exports [` Avatar > renders with class correctly 1` ] = ` "<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle ring ring-(--ui-color-base-7) size-[32px] text-(length:--ui-font-size-sm)/(--ui-font-line-height-reset) bg-white" ><span data-slot = " fallback" class = " font-(--ui-font-weight-medium) text-(--ui-color-design-plain-content-icon-secondary) truncate" > </span ></span >"` ;
22+ exports [` Avatar > renders with class correctly 1` ] = ` "<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle ring ring-(--ui-color-base-7) size-[32px] text-(length:--ui-font-size-sm)/(--ui-font-line-height-reset) bg-default" ><span data-slot = " fallback" class = " font-(--ui-font-weight-medium) text-(--ui-color-design-plain-content-icon-secondary) truncate" > </span ></span >"` ;
23+
24+ exports [` Avatar > renders with custom size correctly 1` ] = ` "<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7) text-(length:--ui-font-size-sm)/(--ui-font-line-height-reset) size-100" ><img src = " https://github.com/bitrix24.png" width = " 400" height = " 400" data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></span >"`;
2325
2426exports[`Avatar > renders with default slot correctly 1`] = `"<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7) size-[32px] text-(length:--ui-font-size-sm)/(--ui-font-line-height-reset)" >🚀</span >"`;
2527
2628exports[`Avatar > renders with icon correctly 1`] = `"<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7) size-[32px] text-(length:--ui-font-size-sm)/(--ui-font-line-height-reset)" ><svg xmlns = " http://www.w3.org/2000/svg" fill = " none" viewBox = " 0 0 24 24" aria-hidden = " true" data-slot = " icon" class = " text-(--ui-color-design-plain-content-icon-secondary) shrink-0 size-[28px]" ><path fill = " currentColor" fill-rule = " evenodd" d = " M14.05 15.886a6.37 6.37 0 1 1 1.836-1.837l3.311 3.311a1 1 0 0 1 0 1.414l-.422.423a1 1 0 0 1-1.414 0zm1.058-5.328a4.55 4.55 0 1 1-9.098 0 4.55 4.55 0 0 1 9.099 0" clip-rule = " evenodd" ></path ></svg ></span >"`;
2729
28- exports [` Avatar > renders with size 2xl correctly 1` ] = ` "<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring-(--ui-color-base-7) ring-2 size-[60px] text-(length:--ui-font-size-5xl)/(--ui-font-line-height-reset)" ><img src = " https://github.com/bitrix24.png" width = " 60 " height = " 60 " data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></span >"`;
30+ exports[`Avatar > renders with size 2xl correctly 1`] = `"<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring-(--ui-color-base-7) ring-2 size-[60px] text-(length:--ui-font-size-5xl)/(--ui-font-line-height-reset)" ><img src = " https://github.com/bitrix24.png" data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></span >"`;
2931
30- exports[`Avatar > renders with size 2xs correctly 1`] = `"<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7) size-[20px] text-(length:--ui-font-size-4xs)/(--ui-font-line-height-reset) font-(--ui-font-weight-regular)" ><img src = " https://github.com/bitrix24.png" width = " 14 " height = " 14 " data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></span >"`;
32+ exports[`Avatar > renders with size 2xs correctly 1`] = `"<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7) size-[20px] text-(length:--ui-font-size-4xs)/(--ui-font-line-height-reset) font-(--ui-font-weight-regular)" ><img src = " https://github.com/bitrix24.png" data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></span >"`;
3133
32- exports[`Avatar > renders with size 3xl correctly 1`] = `"<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring-(--ui-color-base-7) ring-2 size-[94px] text-[34px]/(--ui-font-line-height-reset)" ><img src = " https://github.com/bitrix24.png" width = " 94 " height = " 94 " data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></span >"`;
34+ exports[`Avatar > renders with size 3xl correctly 1`] = `"<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring-(--ui-color-base-7) ring-2 size-[94px] text-[34px]/(--ui-font-line-height-reset)" ><img src = " https://github.com/bitrix24.png" data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></span >"`;
3335
34- exports[`Avatar > renders with size 3xs correctly 1`] = `"<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7) size-[10px] text-4xs font-(--ui-font-weight-regular)" ><img src = " https://github.com/bitrix24.png" width = " 10 " height = " 10 " data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></span >"`;
36+ exports[`Avatar > renders with size 3xs correctly 1`] = `"<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7) size-[10px] text-4xs font-(--ui-font-weight-regular)" ><img src = " https://github.com/bitrix24.png" data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></span >"`;
3537
36- exports[`Avatar > renders with size lg correctly 1`] = `"<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7) size-[42px] text-(length:--ui-font-size-2xl)/(--ui-font-line-height-reset)" ><img src = " https://github.com/bitrix24.png" width = " 42 " height = " 42 " data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></span >"`;
38+ exports[`Avatar > renders with size lg correctly 1`] = `"<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7) size-[42px] text-(length:--ui-font-size-2xl)/(--ui-font-line-height-reset)" ><img src = " https://github.com/bitrix24.png" data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></span >"`;
3739
38- exports[`Avatar > renders with size md correctly 1`] = `"<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7) size-[32px] text-(length:--ui-font-size-sm)/(--ui-font-line-height-reset)" ><img src = " https://github.com/bitrix24.png" width = " 32 " height = " 32 " data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></span >"`;
40+ exports[`Avatar > renders with size md correctly 1`] = `"<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7) size-[32px] text-(length:--ui-font-size-sm)/(--ui-font-line-height-reset)" ><img src = " https://github.com/bitrix24.png" data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></span >"`;
3941
40- exports[`Avatar > renders with size sm correctly 1`] = `"<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7) size-[28px] text-(length:--ui-font-size-xs)/(--ui-font-line-height-reset)" ><img src = " https://github.com/bitrix24.png" width = " 22 " height = " 22 " data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></span >"`;
42+ exports[`Avatar > renders with size sm correctly 1`] = `"<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7) size-[28px] text-(length:--ui-font-size-xs)/(--ui-font-line-height-reset)" ><img src = " https://github.com/bitrix24.png" data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></span >"`;
4143
42- exports[`Avatar > renders with size xl correctly 1`] = `"<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring-(--ui-color-base-7) ring-2 size-[48px] text-(length:--ui-font-size-2xl)/(--ui-font-line-height-reset)" ><img src = " https://github.com/bitrix24.png" width = " 48 " height = " 48 " data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></span >"`;
44+ exports[`Avatar > renders with size xl correctly 1`] = `"<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring-(--ui-color-base-7) ring-2 size-[48px] text-(length:--ui-font-size-2xl)/(--ui-font-line-height-reset)" ><img src = " https://github.com/bitrix24.png" data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></span >"`;
4345
44- exports[`Avatar > renders with size xs correctly 1`] = `"<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7) size-[24px] text-(length:--ui-font-size-3xs)/(--ui-font-line-height-reset) font-(--ui-font-weight-regular)" ><img src = " https://github.com/bitrix24.png" width = " 18 " height = " 18 " data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></span >"`;
46+ exports[`Avatar > renders with size xs correctly 1`] = `"<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7) size-[24px] text-(length:--ui-font-size-3xs)/(--ui-font-line-height-reset) font-(--ui-font-weight-regular)" ><img src = " https://github.com/bitrix24.png" data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></span >"`;
4547
46- exports[`Avatar > renders with src correctly 1`] = `"<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7) size-[32px] text-(length:--ui-font-size-sm)/(--ui-font-line-height-reset)" ><img src = " https://github.com/bitrix24.png" width = " 32 " height = " 32 " data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></span >"`;
48+ exports[`Avatar > renders with src correctly 1`] = `"<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7) size-[32px] text-(length:--ui-font-size-sm)/(--ui-font-line-height-reset)" ><img src = " https://github.com/bitrix24.png" data-slot = " image" class = " h-full w-full rounded-[inherit] object-cover" ></span >"`;
4749
4850exports[`Avatar > renders with text correctly 1`] = `"<span data-slot = " root" class = " air-secondary-accent inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-(--ui-color-base-8) ring ring-(--ui-color-base-7) size-[32px] text-(length:--ui-font-size-sm)/(--ui-font-line-height-reset)" ><span data-slot = " fallback" class = " font-(--ui-font-weight-medium) text-(--ui-color-design-plain-content-icon-secondary) truncate" >+1</span ></span >"`;
0 commit comments