@almadar/ui 2.25.0 → 2.25.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.
@@ -238,9 +238,9 @@ var variantStyles = {
238
238
  "active:scale-[var(--active-scale)] active:shadow-[var(--shadow-active)]"
239
239
  ].join(" "),
240
240
  secondary: [
241
- "bg-[var(--color-muted)] text-[var(--color-foreground)]",
242
- "border-none",
243
- "hover:bg-[var(--color-muted-foreground)]/15 hover:text-[var(--color-foreground)]",
241
+ "bg-transparent text-[var(--color-accent)]",
242
+ "border border-[var(--color-accent)]/30",
243
+ "hover:bg-[var(--color-accent)] hover:text-white hover:border-[var(--color-accent)]",
244
244
  "active:scale-[var(--active-scale)]"
245
245
  ].join(" "),
246
246
  ghost: [
@@ -345,6 +345,7 @@ var Button = React88__namespace.default.forwardRef(
345
345
  "inline-flex items-center justify-center gap-2",
346
346
  "font-[var(--font-weight-medium)]",
347
347
  "rounded-[var(--radius-sm)]",
348
+ "cursor-pointer",
348
349
  "transition-all duration-[var(--transition-normal)]",
349
350
  "focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-[var(--color-ring)] focus:ring-offset-[length:var(--focus-ring-offset)]",
350
351
  "disabled:opacity-50 disabled:cursor-not-allowed",
@@ -208,9 +208,9 @@ var variantStyles = {
208
208
  "active:scale-[var(--active-scale)] active:shadow-[var(--shadow-active)]"
209
209
  ].join(" "),
210
210
  secondary: [
211
- "bg-[var(--color-muted)] text-[var(--color-foreground)]",
212
- "border-none",
213
- "hover:bg-[var(--color-muted-foreground)]/15 hover:text-[var(--color-foreground)]",
211
+ "bg-transparent text-[var(--color-accent)]",
212
+ "border border-[var(--color-accent)]/30",
213
+ "hover:bg-[var(--color-accent)] hover:text-white hover:border-[var(--color-accent)]",
214
214
  "active:scale-[var(--active-scale)]"
215
215
  ].join(" "),
216
216
  ghost: [
@@ -315,6 +315,7 @@ var Button = React88__default.forwardRef(
315
315
  "inline-flex items-center justify-center gap-2",
316
316
  "font-[var(--font-weight-medium)]",
317
317
  "rounded-[var(--radius-sm)]",
318
+ "cursor-pointer",
318
319
  "transition-all duration-[var(--transition-normal)]",
319
320
  "focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-[var(--color-ring)] focus:ring-offset-[length:var(--focus-ring-offset)]",
320
321
  "disabled:opacity-50 disabled:cursor-not-allowed",
@@ -3047,9 +3047,9 @@ var variantStyles2 = {
3047
3047
  "active:scale-[var(--active-scale)] active:shadow-[var(--shadow-active)]"
3048
3048
  ].join(" "),
3049
3049
  secondary: [
3050
- "bg-[var(--color-muted)] text-[var(--color-foreground)]",
3051
- "border-none",
3052
- "hover:bg-[var(--color-muted-foreground)]/15 hover:text-[var(--color-foreground)]",
3050
+ "bg-transparent text-[var(--color-accent)]",
3051
+ "border border-[var(--color-accent)]/30",
3052
+ "hover:bg-[var(--color-accent)] hover:text-white hover:border-[var(--color-accent)]",
3053
3053
  "active:scale-[var(--active-scale)]"
3054
3054
  ].join(" "),
3055
3055
  ghost: [
@@ -3154,6 +3154,7 @@ var Button = React4__default.default.forwardRef(
3154
3154
  "inline-flex items-center justify-center gap-2",
3155
3155
  "font-[var(--font-weight-medium)]",
3156
3156
  "rounded-[var(--radius-sm)]",
3157
+ "cursor-pointer",
3157
3158
  "transition-all duration-[var(--transition-normal)]",
3158
3159
  "focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-[var(--color-ring)] focus:ring-offset-[length:var(--focus-ring-offset)]",
3159
3160
  "disabled:opacity-50 disabled:cursor-not-allowed",
@@ -3023,9 +3023,9 @@ var variantStyles2 = {
3023
3023
  "active:scale-[var(--active-scale)] active:shadow-[var(--shadow-active)]"
3024
3024
  ].join(" "),
3025
3025
  secondary: [
3026
- "bg-[var(--color-muted)] text-[var(--color-foreground)]",
3027
- "border-none",
3028
- "hover:bg-[var(--color-muted-foreground)]/15 hover:text-[var(--color-foreground)]",
3026
+ "bg-transparent text-[var(--color-accent)]",
3027
+ "border border-[var(--color-accent)]/30",
3028
+ "hover:bg-[var(--color-accent)] hover:text-white hover:border-[var(--color-accent)]",
3029
3029
  "active:scale-[var(--active-scale)]"
3030
3030
  ].join(" "),
3031
3031
  ghost: [
@@ -3130,6 +3130,7 @@ var Button = React4.forwardRef(
3130
3130
  "inline-flex items-center justify-center gap-2",
3131
3131
  "font-[var(--font-weight-medium)]",
3132
3132
  "rounded-[var(--radius-sm)]",
3133
+ "cursor-pointer",
3133
3134
  "transition-all duration-[var(--transition-normal)]",
3134
3135
  "focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-[var(--color-ring)] focus:ring-offset-[length:var(--focus-ring-offset)]",
3135
3136
  "disabled:opacity-50 disabled:cursor-not-allowed",
@@ -3047,9 +3047,9 @@ var variantStyles2 = {
3047
3047
  "active:scale-[var(--active-scale)] active:shadow-[var(--shadow-active)]"
3048
3048
  ].join(" "),
3049
3049
  secondary: [
3050
- "bg-[var(--color-muted)] text-[var(--color-foreground)]",
3051
- "border-none",
3052
- "hover:bg-[var(--color-muted-foreground)]/15 hover:text-[var(--color-foreground)]",
3050
+ "bg-transparent text-[var(--color-accent)]",
3051
+ "border border-[var(--color-accent)]/30",
3052
+ "hover:bg-[var(--color-accent)] hover:text-white hover:border-[var(--color-accent)]",
3053
3053
  "active:scale-[var(--active-scale)]"
3054
3054
  ].join(" "),
3055
3055
  ghost: [
@@ -3154,6 +3154,7 @@ var Button = React5__default.default.forwardRef(
3154
3154
  "inline-flex items-center justify-center gap-2",
3155
3155
  "font-[var(--font-weight-medium)]",
3156
3156
  "rounded-[var(--radius-sm)]",
3157
+ "cursor-pointer",
3157
3158
  "transition-all duration-[var(--transition-normal)]",
3158
3159
  "focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-[var(--color-ring)] focus:ring-offset-[length:var(--focus-ring-offset)]",
3159
3160
  "disabled:opacity-50 disabled:cursor-not-allowed",
@@ -4494,7 +4495,7 @@ var MarketingFooter = ({
4494
4495
  {
4495
4496
  as: "footer",
4496
4497
  className: cn(
4497
- "bg-[var(--color-foreground)] text-[var(--color-background)]",
4498
+ "bg-[var(--color-surface)]",
4498
4499
  "border-t border-[var(--color-border)]",
4499
4500
  "pt-12 pb-8 px-4",
4500
4501
  className
@@ -4507,7 +4508,7 @@ var MarketingFooter = ({
4507
4508
  Typography,
4508
4509
  {
4509
4510
  variant: "body2",
4510
- className: "font-semibold text-[var(--color-background)] mb-1",
4511
+ className: "font-semibold text-[var(--color-foreground)] mb-1",
4511
4512
  children: col.title
4512
4513
  }
4513
4514
  ),
@@ -4517,7 +4518,7 @@ var MarketingFooter = ({
4517
4518
  href: item.href,
4518
4519
  className: cn(
4519
4520
  "text-sm no-underline",
4520
- "text-[var(--color-background)]/60",
4521
+ "text-[var(--color-foreground)]/60",
4521
4522
  "hover:text-[var(--color-accent)]",
4522
4523
  "transition-colors duration-150"
4523
4524
  ),
@@ -4533,7 +4534,7 @@ var MarketingFooter = ({
4533
4534
  Typography,
4534
4535
  {
4535
4536
  variant: "caption",
4536
- className: "text-[var(--color-background)]/30 text-center w-full pt-6",
4537
+ className: "text-[var(--color-foreground)]/30 text-center w-full pt-6",
4537
4538
  children: copyright
4538
4539
  }
4539
4540
  )
@@ -3023,9 +3023,9 @@ var variantStyles2 = {
3023
3023
  "active:scale-[var(--active-scale)] active:shadow-[var(--shadow-active)]"
3024
3024
  ].join(" "),
3025
3025
  secondary: [
3026
- "bg-[var(--color-muted)] text-[var(--color-foreground)]",
3027
- "border-none",
3028
- "hover:bg-[var(--color-muted-foreground)]/15 hover:text-[var(--color-foreground)]",
3026
+ "bg-transparent text-[var(--color-accent)]",
3027
+ "border border-[var(--color-accent)]/30",
3028
+ "hover:bg-[var(--color-accent)] hover:text-white hover:border-[var(--color-accent)]",
3029
3029
  "active:scale-[var(--active-scale)]"
3030
3030
  ].join(" "),
3031
3031
  ghost: [
@@ -3130,6 +3130,7 @@ var Button = React5.forwardRef(
3130
3130
  "inline-flex items-center justify-center gap-2",
3131
3131
  "font-[var(--font-weight-medium)]",
3132
3132
  "rounded-[var(--radius-sm)]",
3133
+ "cursor-pointer",
3133
3134
  "transition-all duration-[var(--transition-normal)]",
3134
3135
  "focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-[var(--color-ring)] focus:ring-offset-[length:var(--focus-ring-offset)]",
3135
3136
  "disabled:opacity-50 disabled:cursor-not-allowed",
@@ -4470,7 +4471,7 @@ var MarketingFooter = ({
4470
4471
  {
4471
4472
  as: "footer",
4472
4473
  className: cn(
4473
- "bg-[var(--color-foreground)] text-[var(--color-background)]",
4474
+ "bg-[var(--color-surface)]",
4474
4475
  "border-t border-[var(--color-border)]",
4475
4476
  "pt-12 pb-8 px-4",
4476
4477
  className
@@ -4483,7 +4484,7 @@ var MarketingFooter = ({
4483
4484
  Typography,
4484
4485
  {
4485
4486
  variant: "body2",
4486
- className: "font-semibold text-[var(--color-background)] mb-1",
4487
+ className: "font-semibold text-[var(--color-foreground)] mb-1",
4487
4488
  children: col.title
4488
4489
  }
4489
4490
  ),
@@ -4493,7 +4494,7 @@ var MarketingFooter = ({
4493
4494
  href: item.href,
4494
4495
  className: cn(
4495
4496
  "text-sm no-underline",
4496
- "text-[var(--color-background)]/60",
4497
+ "text-[var(--color-foreground)]/60",
4497
4498
  "hover:text-[var(--color-accent)]",
4498
4499
  "transition-colors duration-150"
4499
4500
  ),
@@ -4509,7 +4510,7 @@ var MarketingFooter = ({
4509
4510
  Typography,
4510
4511
  {
4511
4512
  variant: "caption",
4512
- className: "text-[var(--color-background)]/30 text-center w-full pt-6",
4513
+ className: "text-[var(--color-foreground)]/30 text-center w-full pt-6",
4513
4514
  children: copyright
4514
4515
  }
4515
4516
  )
@@ -914,9 +914,9 @@ var variantStyles2 = {
914
914
  "active:scale-[var(--active-scale)] active:shadow-[var(--shadow-active)]"
915
915
  ].join(" "),
916
916
  secondary: [
917
- "bg-[var(--color-muted)] text-[var(--color-foreground)]",
918
- "border-none",
919
- "hover:bg-[var(--color-muted-foreground)]/15 hover:text-[var(--color-foreground)]",
917
+ "bg-transparent text-[var(--color-accent)]",
918
+ "border border-[var(--color-accent)]/30",
919
+ "hover:bg-[var(--color-accent)] hover:text-white hover:border-[var(--color-accent)]",
920
920
  "active:scale-[var(--active-scale)]"
921
921
  ].join(" "),
922
922
  ghost: [
@@ -1021,6 +1021,7 @@ var Button = React110__namespace.default.forwardRef(
1021
1021
  "inline-flex items-center justify-center gap-2",
1022
1022
  "font-[var(--font-weight-medium)]",
1023
1023
  "rounded-[var(--radius-sm)]",
1024
+ "cursor-pointer",
1024
1025
  "transition-all duration-[var(--transition-normal)]",
1025
1026
  "focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-[var(--color-ring)] focus:ring-offset-[length:var(--focus-ring-offset)]",
1026
1027
  "disabled:opacity-50 disabled:cursor-not-allowed",
@@ -884,9 +884,9 @@ var variantStyles2 = {
884
884
  "active:scale-[var(--active-scale)] active:shadow-[var(--shadow-active)]"
885
885
  ].join(" "),
886
886
  secondary: [
887
- "bg-[var(--color-muted)] text-[var(--color-foreground)]",
888
- "border-none",
889
- "hover:bg-[var(--color-muted-foreground)]/15 hover:text-[var(--color-foreground)]",
887
+ "bg-transparent text-[var(--color-accent)]",
888
+ "border border-[var(--color-accent)]/30",
889
+ "hover:bg-[var(--color-accent)] hover:text-white hover:border-[var(--color-accent)]",
890
890
  "active:scale-[var(--active-scale)]"
891
891
  ].join(" "),
892
892
  ghost: [
@@ -991,6 +991,7 @@ var Button = React110__default.forwardRef(
991
991
  "inline-flex items-center justify-center gap-2",
992
992
  "font-[var(--font-weight-medium)]",
993
993
  "rounded-[var(--radius-sm)]",
994
+ "cursor-pointer",
994
995
  "transition-all duration-[var(--transition-normal)]",
995
996
  "focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-[var(--color-ring)] focus:ring-offset-[length:var(--focus-ring-offset)]",
996
997
  "disabled:opacity-50 disabled:cursor-not-allowed",
@@ -2620,9 +2620,9 @@ var variantStyles2 = {
2620
2620
  "active:scale-[var(--active-scale)] active:shadow-[var(--shadow-active)]"
2621
2621
  ].join(" "),
2622
2622
  secondary: [
2623
- "bg-[var(--color-muted)] text-[var(--color-foreground)]",
2624
- "border-none",
2625
- "hover:bg-[var(--color-muted-foreground)]/15 hover:text-[var(--color-foreground)]",
2623
+ "bg-transparent text-[var(--color-accent)]",
2624
+ "border border-[var(--color-accent)]/30",
2625
+ "hover:bg-[var(--color-accent)] hover:text-white hover:border-[var(--color-accent)]",
2626
2626
  "active:scale-[var(--active-scale)]"
2627
2627
  ].join(" "),
2628
2628
  ghost: [
@@ -2727,6 +2727,7 @@ var Button = React114__namespace.default.forwardRef(
2727
2727
  "inline-flex items-center justify-center gap-2",
2728
2728
  "font-[var(--font-weight-medium)]",
2729
2729
  "rounded-[var(--radius-sm)]",
2730
+ "cursor-pointer",
2730
2731
  "transition-all duration-[var(--transition-normal)]",
2731
2732
  "focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-[var(--color-ring)] focus:ring-offset-[length:var(--focus-ring-offset)]",
2732
2733
  "disabled:opacity-50 disabled:cursor-not-allowed",
@@ -2590,9 +2590,9 @@ var variantStyles2 = {
2590
2590
  "active:scale-[var(--active-scale)] active:shadow-[var(--shadow-active)]"
2591
2591
  ].join(" "),
2592
2592
  secondary: [
2593
- "bg-[var(--color-muted)] text-[var(--color-foreground)]",
2594
- "border-none",
2595
- "hover:bg-[var(--color-muted-foreground)]/15 hover:text-[var(--color-foreground)]",
2593
+ "bg-transparent text-[var(--color-accent)]",
2594
+ "border border-[var(--color-accent)]/30",
2595
+ "hover:bg-[var(--color-accent)] hover:text-white hover:border-[var(--color-accent)]",
2596
2596
  "active:scale-[var(--active-scale)]"
2597
2597
  ].join(" "),
2598
2598
  ghost: [
@@ -2697,6 +2697,7 @@ var Button = React114__default.forwardRef(
2697
2697
  "inline-flex items-center justify-center gap-2",
2698
2698
  "font-[var(--font-weight-medium)]",
2699
2699
  "rounded-[var(--radius-sm)]",
2700
+ "cursor-pointer",
2700
2701
  "transition-all duration-[var(--transition-normal)]",
2701
2702
  "focus:outline-none focus:ring-[length:var(--focus-ring-width)] focus:ring-[var(--color-ring)] focus:ring-offset-[length:var(--focus-ring-offset)]",
2702
2703
  "disabled:opacity-50 disabled:cursor-not-allowed",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/ui",
3
- "version": "2.25.0",
3
+ "version": "2.25.2",
4
4
  "description": "React UI components, hooks, and providers for Almadar",
5
5
  "type": "module",
6
6
  "main": "./dist/components/index.js",