@nextui-org/theme 0.0.0-dev-v2-20230902175339 → 0.0.0-dev-v2-20230902181020

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.
@@ -35,6 +35,7 @@ var pagination = tv({
35
35
  "left-0",
36
36
  "select-none",
37
37
  "touch-none",
38
+ "pointer-events-none",
38
39
  "z-20"
39
40
  ],
40
41
  forwardIcon: "hidden group-hover:block group-data-[focus-visible=true]:block data-[before=true]:rotate-180",
@@ -124,7 +125,12 @@ var pagination = tv({
124
125
  },
125
126
  false: {
126
127
  item: ["data-[pressed=true]:scale-[0.97]", "transition-transform-background"],
127
- cursor: ["transition-transform", "!duration-300"]
128
+ cursor: [
129
+ "data-[moving=true]:transition-transform",
130
+ "!data-[moving=true]:duration-300",
131
+ "opacity-0",
132
+ "data-[moving]:opacity-100"
133
+ ]
128
134
  }
129
135
  }
130
136
  },
@@ -329,17 +335,28 @@ var pagination = tv({
329
335
  {
330
336
  slots: ["item", "prev", "next"],
331
337
  variant: "flat",
332
- class: ["bg-default-100", "data-[hover=true]:bg-default-200", "active:bg-default-300"]
338
+ class: [
339
+ "bg-default-100",
340
+ "[&[data-hover=true]:not([data-active=true])]:bg-default-200",
341
+ "active:bg-default-300"
342
+ ]
333
343
  },
334
344
  {
335
345
  slots: ["item", "prev", "next"],
336
346
  variant: "faded",
337
- class: ["bg-default-50", "data-[hover=true]:bg-default-100", "active:bg-default-200"]
347
+ class: [
348
+ "bg-default-50",
349
+ "[&[data-hover=true]:not([data-active=true])]:bg-default-100",
350
+ "active:bg-default-200"
351
+ ]
338
352
  },
339
353
  {
340
354
  slots: ["item", "prev", "next"],
341
355
  variant: "light",
342
- class: ["data-[hover=true]:bg-default-100", "active:bg-default-200"]
356
+ class: [
357
+ "[&[data-hover=true]:not([data-active=true])]:bg-default-100",
358
+ "active:bg-default-200"
359
+ ]
343
360
  },
344
361
  {
345
362
  slots: ["item", "cursor", "prev", "next"],
@@ -2771,6 +2771,7 @@ var pagination = tv({
2771
2771
  "left-0",
2772
2772
  "select-none",
2773
2773
  "touch-none",
2774
+ "pointer-events-none",
2774
2775
  "z-20"
2775
2776
  ],
2776
2777
  forwardIcon: "hidden group-hover:block group-data-[focus-visible=true]:block data-[before=true]:rotate-180",
@@ -2860,7 +2861,12 @@ var pagination = tv({
2860
2861
  },
2861
2862
  false: {
2862
2863
  item: ["data-[pressed=true]:scale-[0.97]", "transition-transform-background"],
2863
- cursor: ["transition-transform", "!duration-300"]
2864
+ cursor: [
2865
+ "data-[moving=true]:transition-transform",
2866
+ "!data-[moving=true]:duration-300",
2867
+ "opacity-0",
2868
+ "data-[moving]:opacity-100"
2869
+ ]
2864
2870
  }
2865
2871
  }
2866
2872
  },
@@ -3065,17 +3071,28 @@ var pagination = tv({
3065
3071
  {
3066
3072
  slots: ["item", "prev", "next"],
3067
3073
  variant: "flat",
3068
- class: ["bg-default-100", "data-[hover=true]:bg-default-200", "active:bg-default-300"]
3074
+ class: [
3075
+ "bg-default-100",
3076
+ "[&[data-hover=true]:not([data-active=true])]:bg-default-200",
3077
+ "active:bg-default-300"
3078
+ ]
3069
3079
  },
3070
3080
  {
3071
3081
  slots: ["item", "prev", "next"],
3072
3082
  variant: "faded",
3073
- class: ["bg-default-50", "data-[hover=true]:bg-default-100", "active:bg-default-200"]
3083
+ class: [
3084
+ "bg-default-50",
3085
+ "[&[data-hover=true]:not([data-active=true])]:bg-default-100",
3086
+ "active:bg-default-200"
3087
+ ]
3074
3088
  },
3075
3089
  {
3076
3090
  slots: ["item", "prev", "next"],
3077
3091
  variant: "light",
3078
- class: ["data-[hover=true]:bg-default-100", "active:bg-default-200"]
3092
+ class: [
3093
+ "[&[data-hover=true]:not([data-active=true])]:bg-default-100",
3094
+ "active:bg-default-200"
3095
+ ]
3079
3096
  },
3080
3097
  {
3081
3098
  slots: ["item", "cursor", "prev", "next"],
@@ -63,7 +63,7 @@ import {
63
63
  } from "../chunk-LGRQRHJJ.mjs";
64
64
  import {
65
65
  pagination
66
- } from "../chunk-FZZINZOQ.mjs";
66
+ } from "../chunk-ER6JQ3OQ.mjs";
67
67
  import {
68
68
  chip
69
69
  } from "../chunk-PKP3F3VC.mjs";
@@ -226,6 +226,7 @@ var pagination = tv({
226
226
  "left-0",
227
227
  "select-none",
228
228
  "touch-none",
229
+ "pointer-events-none",
229
230
  "z-20"
230
231
  ],
231
232
  forwardIcon: "hidden group-hover:block group-data-[focus-visible=true]:block data-[before=true]:rotate-180",
@@ -315,7 +316,12 @@ var pagination = tv({
315
316
  },
316
317
  false: {
317
318
  item: ["data-[pressed=true]:scale-[0.97]", "transition-transform-background"],
318
- cursor: ["transition-transform", "!duration-300"]
319
+ cursor: [
320
+ "data-[moving=true]:transition-transform",
321
+ "!data-[moving=true]:duration-300",
322
+ "opacity-0",
323
+ "data-[moving]:opacity-100"
324
+ ]
319
325
  }
320
326
  }
321
327
  },
@@ -520,17 +526,28 @@ var pagination = tv({
520
526
  {
521
527
  slots: ["item", "prev", "next"],
522
528
  variant: "flat",
523
- class: ["bg-default-100", "data-[hover=true]:bg-default-200", "active:bg-default-300"]
529
+ class: [
530
+ "bg-default-100",
531
+ "[&[data-hover=true]:not([data-active=true])]:bg-default-200",
532
+ "active:bg-default-300"
533
+ ]
524
534
  },
525
535
  {
526
536
  slots: ["item", "prev", "next"],
527
537
  variant: "faded",
528
- class: ["bg-default-50", "data-[hover=true]:bg-default-100", "active:bg-default-200"]
538
+ class: [
539
+ "bg-default-50",
540
+ "[&[data-hover=true]:not([data-active=true])]:bg-default-100",
541
+ "active:bg-default-200"
542
+ ]
529
543
  },
530
544
  {
531
545
  slots: ["item", "prev", "next"],
532
546
  variant: "light",
533
- class: ["data-[hover=true]:bg-default-100", "active:bg-default-200"]
547
+ class: [
548
+ "[&[data-hover=true]:not([data-active=true])]:bg-default-100",
549
+ "active:bg-default-200"
550
+ ]
534
551
  },
535
552
  {
536
553
  slots: ["item", "cursor", "prev", "next"],
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pagination
3
- } from "../chunk-FZZINZOQ.mjs";
3
+ } from "../chunk-ER6JQ3OQ.mjs";
4
4
  import "../chunk-CMYR6AOY.mjs";
5
5
  import "../chunk-K7LK7NCE.mjs";
6
6
  import "../chunk-2PIR7DFM.mjs";
package/dist/index.js CHANGED
@@ -2803,6 +2803,7 @@ var pagination = tv({
2803
2803
  "left-0",
2804
2804
  "select-none",
2805
2805
  "touch-none",
2806
+ "pointer-events-none",
2806
2807
  "z-20"
2807
2808
  ],
2808
2809
  forwardIcon: "hidden group-hover:block group-data-[focus-visible=true]:block data-[before=true]:rotate-180",
@@ -2892,7 +2893,12 @@ var pagination = tv({
2892
2893
  },
2893
2894
  false: {
2894
2895
  item: ["data-[pressed=true]:scale-[0.97]", "transition-transform-background"],
2895
- cursor: ["transition-transform", "!duration-300"]
2896
+ cursor: [
2897
+ "data-[moving=true]:transition-transform",
2898
+ "!data-[moving=true]:duration-300",
2899
+ "opacity-0",
2900
+ "data-[moving]:opacity-100"
2901
+ ]
2896
2902
  }
2897
2903
  }
2898
2904
  },
@@ -3097,17 +3103,28 @@ var pagination = tv({
3097
3103
  {
3098
3104
  slots: ["item", "prev", "next"],
3099
3105
  variant: "flat",
3100
- class: ["bg-default-100", "data-[hover=true]:bg-default-200", "active:bg-default-300"]
3106
+ class: [
3107
+ "bg-default-100",
3108
+ "[&[data-hover=true]:not([data-active=true])]:bg-default-200",
3109
+ "active:bg-default-300"
3110
+ ]
3101
3111
  },
3102
3112
  {
3103
3113
  slots: ["item", "prev", "next"],
3104
3114
  variant: "faded",
3105
- class: ["bg-default-50", "data-[hover=true]:bg-default-100", "active:bg-default-200"]
3115
+ class: [
3116
+ "bg-default-50",
3117
+ "[&[data-hover=true]:not([data-active=true])]:bg-default-100",
3118
+ "active:bg-default-200"
3119
+ ]
3106
3120
  },
3107
3121
  {
3108
3122
  slots: ["item", "prev", "next"],
3109
3123
  variant: "light",
3110
- class: ["data-[hover=true]:bg-default-100", "active:bg-default-200"]
3124
+ class: [
3125
+ "[&[data-hover=true]:not([data-active=true])]:bg-default-100",
3126
+ "active:bg-default-200"
3127
+ ]
3111
3128
  },
3112
3129
  {
3113
3130
  slots: ["item", "cursor", "prev", "next"],
package/dist/index.mjs CHANGED
@@ -63,7 +63,7 @@ import {
63
63
  } from "./chunk-LGRQRHJJ.mjs";
64
64
  import {
65
65
  pagination
66
- } from "./chunk-FZZINZOQ.mjs";
66
+ } from "./chunk-ER6JQ3OQ.mjs";
67
67
  import {
68
68
  chip
69
69
  } from "./chunk-PKP3F3VC.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextui-org/theme",
3
- "version": "0.0.0-dev-v2-20230902175339",
3
+ "version": "0.0.0-dev-v2-20230902181020",
4
4
  "description": "The default theme for NextUI components",
5
5
  "keywords": [
6
6
  "theme",