@nextui-org/theme 2.2.5 → 2.2.6

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.
@@ -189,7 +189,7 @@ var navbar = tv({
189
189
  },
190
190
  disableAnimation: {
191
191
  true: {
192
- menu: ["hidden", "h-[calc(100dvh_-_var(--navbar-height)_-_1px)]", "data-[open=true]:flex"]
192
+ menu: ["hidden", "h-[calc(100dvh_-_var(--navbar-height))]", "data-[open=true]:flex"]
193
193
  }
194
194
  }
195
195
  },
@@ -9,7 +9,7 @@ import {
9
9
  // src/components/input.ts
10
10
  var input = tv({
11
11
  slots: {
12
- base: "group flex flex-col",
12
+ base: "group flex flex-col data-[hidden=true]:hidden",
13
13
  label: [
14
14
  "absolute",
15
15
  "z-10",
@@ -29,8 +29,6 @@ var table = tv({
29
29
  "group",
30
30
  "px-3",
31
31
  "h-10",
32
- "text-left",
33
- "rtl:text-right",
34
32
  "align-middle",
35
33
  "bg-default-100",
36
34
  "whitespace-nowrap",
@@ -211,6 +209,20 @@ var table = tv({
211
209
  wrapper: "w-full",
212
210
  table: "w-full"
213
211
  }
212
+ },
213
+ align: {
214
+ start: {
215
+ th: "text-start",
216
+ td: "text-start"
217
+ },
218
+ center: {
219
+ th: "text-center",
220
+ td: "text-center"
221
+ },
222
+ end: {
223
+ th: "text-end",
224
+ td: "text-end"
225
+ }
214
226
  }
215
227
  },
216
228
  defaultVariants: {
@@ -221,7 +233,8 @@ var table = tv({
221
233
  isCompact: false,
222
234
  hideHeader: false,
223
235
  isStriped: false,
224
- fullWidth: true
236
+ fullWidth: true,
237
+ align: "start"
225
238
  }
226
239
  });
227
240
 
@@ -3714,7 +3714,7 @@ var circularProgress = tv({
3714
3714
  // src/components/input.ts
3715
3715
  var input = tv({
3716
3716
  slots: {
3717
- base: "group flex flex-col",
3717
+ base: "group flex flex-col data-[hidden=true]:hidden",
3718
3718
  label: [
3719
3719
  "absolute",
3720
3720
  "z-10",
@@ -5374,7 +5374,7 @@ var navbar = tv({
5374
5374
  },
5375
5375
  disableAnimation: {
5376
5376
  true: {
5377
- menu: ["hidden", "h-[calc(100dvh_-_var(--navbar-height)_-_1px)]", "data-[open=true]:flex"]
5377
+ menu: ["hidden", "h-[calc(100dvh_-_var(--navbar-height))]", "data-[open=true]:flex"]
5378
5378
  }
5379
5379
  }
5380
5380
  },
@@ -5409,8 +5409,6 @@ var table = tv({
5409
5409
  "group",
5410
5410
  "px-3",
5411
5411
  "h-10",
5412
- "text-left",
5413
- "rtl:text-right",
5414
5412
  "align-middle",
5415
5413
  "bg-default-100",
5416
5414
  "whitespace-nowrap",
@@ -5591,6 +5589,20 @@ var table = tv({
5591
5589
  wrapper: "w-full",
5592
5590
  table: "w-full"
5593
5591
  }
5592
+ },
5593
+ align: {
5594
+ start: {
5595
+ th: "text-start",
5596
+ td: "text-start"
5597
+ },
5598
+ center: {
5599
+ th: "text-center",
5600
+ td: "text-center"
5601
+ },
5602
+ end: {
5603
+ th: "text-end",
5604
+ td: "text-end"
5605
+ }
5594
5606
  }
5595
5607
  },
5596
5608
  defaultVariants: {
@@ -5601,7 +5613,8 @@ var table = tv({
5601
5613
  isCompact: false,
5602
5614
  hideHeader: false,
5603
5615
  isStriped: false,
5604
- fullWidth: true
5616
+ fullWidth: true,
5617
+ align: "start"
5605
5618
  }
5606
5619
  });
5607
5620
 
@@ -31,7 +31,7 @@ import {
31
31
  } from "../chunk-AXXUQWWC.mjs";
32
32
  import {
33
33
  table
34
- } from "../chunk-WRLU2O3D.mjs";
34
+ } from "../chunk-BBWRBJQB.mjs";
35
35
  import "../chunk-YJLQTC7L.mjs";
36
36
  import {
37
37
  menu,
@@ -43,7 +43,7 @@ import {
43
43
  } from "../chunk-INW3YHX5.mjs";
44
44
  import {
45
45
  navbar
46
- } from "../chunk-QXCYVABV.mjs";
46
+ } from "../chunk-3QYYLFUC.mjs";
47
47
  import {
48
48
  pagination
49
49
  } from "../chunk-DXPS72CE.mjs";
@@ -74,7 +74,7 @@ import {
74
74
  } from "../chunk-U6G6SZ26.mjs";
75
75
  import {
76
76
  input
77
- } from "../chunk-66462YHM.mjs";
77
+ } from "../chunk-AEDZYTPD.mjs";
78
78
  import {
79
79
  kbd
80
80
  } from "../chunk-F4AOWB64.mjs";
@@ -83,7 +83,7 @@ var groupDataFocusVisibleClasses = [
83
83
  // src/components/input.ts
84
84
  var input = tv({
85
85
  slots: {
86
- base: "group flex flex-col",
86
+ base: "group flex flex-col data-[hidden=true]:hidden",
87
87
  label: [
88
88
  "absolute",
89
89
  "z-10",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  input
3
- } from "../chunk-66462YHM.mjs";
3
+ } from "../chunk-AEDZYTPD.mjs";
4
4
  import "../chunk-IV3K5WDK.mjs";
5
5
  import "../chunk-3XVMTUU7.mjs";
6
6
  import "../chunk-2PIR7DFM.mjs";
@@ -256,7 +256,7 @@ var navbar = tv({
256
256
  },
257
257
  disableAnimation: {
258
258
  true: {
259
- menu: ["hidden", "h-[calc(100dvh_-_var(--navbar-height)_-_1px)]", "data-[open=true]:flex"]
259
+ menu: ["hidden", "h-[calc(100dvh_-_var(--navbar-height))]", "data-[open=true]:flex"]
260
260
  }
261
261
  }
262
262
  },
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  navbar
3
- } from "../chunk-QXCYVABV.mjs";
3
+ } from "../chunk-3QYYLFUC.mjs";
4
4
  import "../chunk-IV3K5WDK.mjs";
5
5
  import "../chunk-3XVMTUU7.mjs";
6
6
  import "../chunk-2PIR7DFM.mjs";
@@ -136,6 +136,20 @@ declare const table: tailwind_variants.TVReturnType<{
136
136
  table: string;
137
137
  };
138
138
  };
139
+ align: {
140
+ start: {
141
+ th: string;
142
+ td: string;
143
+ };
144
+ center: {
145
+ th: string;
146
+ td: string;
147
+ };
148
+ end: {
149
+ th: string;
150
+ td: string;
151
+ };
152
+ };
139
153
  }, {
140
154
  base: string;
141
155
  wrapper: string[];
@@ -248,6 +262,20 @@ declare const table: tailwind_variants.TVReturnType<{
248
262
  table: string;
249
263
  };
250
264
  };
265
+ align: {
266
+ start: {
267
+ th: string;
268
+ td: string;
269
+ };
270
+ center: {
271
+ th: string;
272
+ td: string;
273
+ };
274
+ end: {
275
+ th: string;
276
+ td: string;
277
+ };
278
+ };
251
279
  }, {
252
280
  color: {
253
281
  default: {
@@ -347,6 +375,20 @@ declare const table: tailwind_variants.TVReturnType<{
347
375
  table: string;
348
376
  };
349
377
  };
378
+ align: {
379
+ start: {
380
+ th: string;
381
+ td: string;
382
+ };
383
+ center: {
384
+ th: string;
385
+ td: string;
386
+ };
387
+ end: {
388
+ th: string;
389
+ td: string;
390
+ };
391
+ };
350
392
  }>, {
351
393
  color: {
352
394
  default: {
@@ -446,6 +488,20 @@ declare const table: tailwind_variants.TVReturnType<{
446
488
  table: string;
447
489
  };
448
490
  };
491
+ align: {
492
+ start: {
493
+ th: string;
494
+ td: string;
495
+ };
496
+ center: {
497
+ th: string;
498
+ td: string;
499
+ };
500
+ end: {
501
+ th: string;
502
+ td: string;
503
+ };
504
+ };
449
505
  }, {
450
506
  base: string;
451
507
  wrapper: string[];
@@ -558,6 +614,20 @@ declare const table: tailwind_variants.TVReturnType<{
558
614
  table: string;
559
615
  };
560
616
  };
617
+ align: {
618
+ start: {
619
+ th: string;
620
+ td: string;
621
+ };
622
+ center: {
623
+ th: string;
624
+ td: string;
625
+ };
626
+ end: {
627
+ th: string;
628
+ td: string;
629
+ };
630
+ };
561
631
  }, {
562
632
  base: string;
563
633
  wrapper: string[];
@@ -670,6 +740,20 @@ declare const table: tailwind_variants.TVReturnType<{
670
740
  table: string;
671
741
  };
672
742
  };
743
+ align: {
744
+ start: {
745
+ th: string;
746
+ td: string;
747
+ };
748
+ center: {
749
+ th: string;
750
+ td: string;
751
+ };
752
+ end: {
753
+ th: string;
754
+ td: string;
755
+ };
756
+ };
673
757
  }, {
674
758
  color: {
675
759
  default: {
@@ -769,6 +853,20 @@ declare const table: tailwind_variants.TVReturnType<{
769
853
  table: string;
770
854
  };
771
855
  };
856
+ align: {
857
+ start: {
858
+ th: string;
859
+ td: string;
860
+ };
861
+ center: {
862
+ th: string;
863
+ td: string;
864
+ };
865
+ end: {
866
+ th: string;
867
+ td: string;
868
+ };
869
+ };
772
870
  }>, unknown, unknown, undefined>>;
773
871
  type TableVariantProps = VariantProps<typeof table>;
774
872
  type TableSlots = keyof ReturnType<typeof table>;
@@ -96,8 +96,6 @@ var table = tv({
96
96
  "group",
97
97
  "px-3",
98
98
  "h-10",
99
- "text-left",
100
- "rtl:text-right",
101
99
  "align-middle",
102
100
  "bg-default-100",
103
101
  "whitespace-nowrap",
@@ -278,6 +276,20 @@ var table = tv({
278
276
  wrapper: "w-full",
279
277
  table: "w-full"
280
278
  }
279
+ },
280
+ align: {
281
+ start: {
282
+ th: "text-start",
283
+ td: "text-start"
284
+ },
285
+ center: {
286
+ th: "text-center",
287
+ td: "text-center"
288
+ },
289
+ end: {
290
+ th: "text-end",
291
+ td: "text-end"
292
+ }
281
293
  }
282
294
  },
283
295
  defaultVariants: {
@@ -288,7 +300,8 @@ var table = tv({
288
300
  isCompact: false,
289
301
  hideHeader: false,
290
302
  isStriped: false,
291
- fullWidth: true
303
+ fullWidth: true,
304
+ align: "start"
292
305
  }
293
306
  });
294
307
  // Annotate the CommonJS export names for ESM import in node:
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  table
3
- } from "../chunk-WRLU2O3D.mjs";
3
+ } from "../chunk-BBWRBJQB.mjs";
4
4
  import "../chunk-IV3K5WDK.mjs";
5
5
  import "../chunk-3XVMTUU7.mjs";
6
6
  import "../chunk-2PIR7DFM.mjs";
package/dist/index.js CHANGED
@@ -3756,7 +3756,7 @@ var circularProgress = tv({
3756
3756
  // src/components/input.ts
3757
3757
  var input = tv({
3758
3758
  slots: {
3759
- base: "group flex flex-col",
3759
+ base: "group flex flex-col data-[hidden=true]:hidden",
3760
3760
  label: [
3761
3761
  "absolute",
3762
3762
  "z-10",
@@ -5416,7 +5416,7 @@ var navbar = tv({
5416
5416
  },
5417
5417
  disableAnimation: {
5418
5418
  true: {
5419
- menu: ["hidden", "h-[calc(100dvh_-_var(--navbar-height)_-_1px)]", "data-[open=true]:flex"]
5419
+ menu: ["hidden", "h-[calc(100dvh_-_var(--navbar-height))]", "data-[open=true]:flex"]
5420
5420
  }
5421
5421
  }
5422
5422
  },
@@ -5451,8 +5451,6 @@ var table = tv({
5451
5451
  "group",
5452
5452
  "px-3",
5453
5453
  "h-10",
5454
- "text-left",
5455
- "rtl:text-right",
5456
5454
  "align-middle",
5457
5455
  "bg-default-100",
5458
5456
  "whitespace-nowrap",
@@ -5633,6 +5631,20 @@ var table = tv({
5633
5631
  wrapper: "w-full",
5634
5632
  table: "w-full"
5635
5633
  }
5634
+ },
5635
+ align: {
5636
+ start: {
5637
+ th: "text-start",
5638
+ td: "text-start"
5639
+ },
5640
+ center: {
5641
+ th: "text-center",
5642
+ td: "text-center"
5643
+ },
5644
+ end: {
5645
+ th: "text-end",
5646
+ td: "text-end"
5647
+ }
5636
5648
  }
5637
5649
  },
5638
5650
  defaultVariants: {
@@ -5643,7 +5655,8 @@ var table = tv({
5643
5655
  isCompact: false,
5644
5656
  hideHeader: false,
5645
5657
  isStriped: false,
5646
- fullWidth: true
5658
+ fullWidth: true,
5659
+ align: "start"
5647
5660
  }
5648
5661
  });
5649
5662
 
package/dist/index.mjs CHANGED
@@ -31,7 +31,7 @@ import {
31
31
  } from "./chunk-AXXUQWWC.mjs";
32
32
  import {
33
33
  table
34
- } from "./chunk-WRLU2O3D.mjs";
34
+ } from "./chunk-BBWRBJQB.mjs";
35
35
  import "./chunk-YJLQTC7L.mjs";
36
36
  import {
37
37
  menu,
@@ -43,7 +43,7 @@ import {
43
43
  } from "./chunk-INW3YHX5.mjs";
44
44
  import {
45
45
  navbar
46
- } from "./chunk-QXCYVABV.mjs";
46
+ } from "./chunk-3QYYLFUC.mjs";
47
47
  import {
48
48
  pagination
49
49
  } from "./chunk-DXPS72CE.mjs";
@@ -74,7 +74,7 @@ import {
74
74
  } from "./chunk-U6G6SZ26.mjs";
75
75
  import {
76
76
  input
77
- } from "./chunk-66462YHM.mjs";
77
+ } from "./chunk-AEDZYTPD.mjs";
78
78
  import {
79
79
  kbd
80
80
  } from "./chunk-F4AOWB64.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextui-org/theme",
3
- "version": "2.2.5",
3
+ "version": "2.2.6",
4
4
  "description": "The default theme for NextUI components",
5
5
  "keywords": [
6
6
  "theme",