infinity-ui-elements 1.7.2 → 1.7.3
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/components/Avatar/Avatar.d.ts +2 -2
- package/dist/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.esm.js +6 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -115,6 +115,7 @@ const avatarVariants = classVarianceAuthority.cva("inline-flex items-center just
|
|
|
115
115
|
size: {
|
|
116
116
|
small: "h-[24px] w-[24px] text-body-medium-regular rounded-large",
|
|
117
117
|
medium: "h-[32px] w-[32px] text-body-medium-regular rounded-xlarge",
|
|
118
|
+
xlarge: "h-[36px] w-[36px] text-body-medium-regular rounded-xlarge",
|
|
118
119
|
},
|
|
119
120
|
},
|
|
120
121
|
defaultVariants: {
|
|
@@ -127,6 +128,7 @@ const statusVariants = classVarianceAuthority.cva("absolute flex items-center ju
|
|
|
127
128
|
size: {
|
|
128
129
|
small: "h-5 w-5 -bottom-0.5 -right-0.5",
|
|
129
130
|
medium: "h-6 w-6 -bottom-1 -right-1",
|
|
131
|
+
xlarge: "h-6 w-6 -bottom-1 -right-1",
|
|
130
132
|
},
|
|
131
133
|
statusColor: {
|
|
132
134
|
positive: "bg-action-fill-positive-default",
|
|
@@ -309,7 +311,7 @@ const buttonVariants = classVarianceAuthority.cva("items-center gap-3 justify-ce
|
|
|
309
311
|
variants: {
|
|
310
312
|
variant: {
|
|
311
313
|
primary: "bg-action-fill-primary-default text-action-ink-on-primary-normal hover:bg-action-fill-primary-hover",
|
|
312
|
-
secondary: "border
|
|
314
|
+
secondary: "border",
|
|
313
315
|
tertiary: "hover:bg-accent hover:text-accent-foreground",
|
|
314
316
|
},
|
|
315
317
|
color: {
|
|
@@ -323,8 +325,8 @@ const buttonVariants = classVarianceAuthority.cva("items-center gap-3 justify-ce
|
|
|
323
325
|
size: {
|
|
324
326
|
xsmall: "md:h-[28px] px-3 rounded-medium text-body-small-medium",
|
|
325
327
|
small: "md:h-[32px] px-4 rounded-medium text-body-small-medium",
|
|
326
|
-
medium: "md:h-[36px] px-
|
|
327
|
-
large: "md:h-[44px] px-6 rounded-
|
|
328
|
+
medium: "md:h-[36px] px-5 py-2 rounded-large text-body-medium-medium",
|
|
329
|
+
large: "md:h-[44px] px-6 rounded-large text-body-large-medium",
|
|
328
330
|
},
|
|
329
331
|
isIconOnly: {
|
|
330
332
|
true: "aspect-square p-0",
|
|
@@ -410,7 +412,7 @@ const buttonVariants = classVarianceAuthority.cva("items-center gap-3 justify-ce
|
|
|
410
412
|
variant: "secondary",
|
|
411
413
|
color: "primary",
|
|
412
414
|
class: `
|
|
413
|
-
border-action-outline-
|
|
415
|
+
border-action-outline-primary-faded
|
|
414
416
|
text-action-ink-primary-normal
|
|
415
417
|
hover:border-action-outline-primary-faded-hover
|
|
416
418
|
hover:bg-action-fill-primary-faded-hover
|