@nextui-org/theme 2.3.0-beta.13 → 2.3.0-beta.14

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.
@@ -8,7 +8,7 @@ import {
8
8
  // src/components/menu.ts
9
9
  var menu = tv({
10
10
  slots: {
11
- base: "w-full relative flex flex-col gap-1 p-1",
11
+ base: "w-full relative flex flex-col gap-1 p-1 overflow-hidden",
12
12
  list: "w-full flex flex-col gap-0.5 outline-none",
13
13
  emptyContent: [
14
14
  "h-10",
@@ -116,6 +116,16 @@ var menuItem = tv({
116
116
  false: {
117
117
  base: "data-[hover=true]:transition-colors"
118
118
  }
119
+ },
120
+ hasTitleTextChild: {
121
+ true: {
122
+ title: "truncate"
123
+ }
124
+ },
125
+ hasDescriptionTextChild: {
126
+ true: {
127
+ description: "truncate"
128
+ }
119
129
  }
120
130
  },
121
131
  defaultVariants: {
@@ -6884,7 +6884,7 @@ var select = tv({
6884
6884
  // src/components/menu.ts
6885
6885
  var menu = tv({
6886
6886
  slots: {
6887
- base: "w-full relative flex flex-col gap-1 p-1",
6887
+ base: "w-full relative flex flex-col gap-1 p-1 overflow-hidden",
6888
6888
  list: "w-full flex flex-col gap-0.5 outline-none",
6889
6889
  emptyContent: [
6890
6890
  "h-10",
@@ -6992,6 +6992,16 @@ var menuItem = tv({
6992
6992
  false: {
6993
6993
  base: "data-[hover=true]:transition-colors"
6994
6994
  }
6995
+ },
6996
+ hasTitleTextChild: {
6997
+ true: {
6998
+ title: "truncate"
6999
+ }
7000
+ },
7001
+ hasDescriptionTextChild: {
7002
+ true: {
7003
+ description: "truncate"
7004
+ }
6995
7005
  }
6996
7006
  },
6997
7007
  defaultVariants: {
@@ -45,7 +45,7 @@ import {
45
45
  menu,
46
46
  menuItem,
47
47
  menuSection
48
- } from "../chunk-K6KPB2U5.mjs";
48
+ } from "../chunk-PTCUE3XA.mjs";
49
49
  import {
50
50
  modal
51
51
  } from "../chunk-N67DL6BW.mjs";
@@ -84,7 +84,7 @@ var dataFocusVisibleClasses = [
84
84
  // src/components/menu.ts
85
85
  var menu = tv({
86
86
  slots: {
87
- base: "w-full relative flex flex-col gap-1 p-1",
87
+ base: "w-full relative flex flex-col gap-1 p-1 overflow-hidden",
88
88
  list: "w-full flex flex-col gap-0.5 outline-none",
89
89
  emptyContent: [
90
90
  "h-10",
@@ -192,6 +192,16 @@ var menuItem = tv({
192
192
  false: {
193
193
  base: "data-[hover=true]:transition-colors"
194
194
  }
195
+ },
196
+ hasTitleTextChild: {
197
+ true: {
198
+ title: "truncate"
199
+ }
200
+ },
201
+ hasDescriptionTextChild: {
202
+ true: {
203
+ description: "truncate"
204
+ }
195
205
  }
196
206
  },
197
207
  defaultVariants: {
@@ -3,7 +3,7 @@ import {
3
3
  menu,
4
4
  menuItem,
5
5
  menuSection
6
- } from "../chunk-K6KPB2U5.mjs";
6
+ } from "../chunk-PTCUE3XA.mjs";
7
7
  import "../chunk-IV3K5WDK.mjs";
8
8
  import "../chunk-GQT3YUX3.mjs";
9
9
  import "../chunk-46U6G7UJ.mjs";
@@ -129,6 +129,16 @@ declare const menuItem: tailwind_variants.TVReturnType<{
129
129
  base: string;
130
130
  };
131
131
  };
132
+ hasTitleTextChild: {
133
+ true: {
134
+ title: string;
135
+ };
136
+ };
137
+ hasDescriptionTextChild: {
138
+ true: {
139
+ description: string;
140
+ };
141
+ };
132
142
  }, {
133
143
  base: string[];
134
144
  wrapper: string;
@@ -182,6 +192,16 @@ declare const menuItem: tailwind_variants.TVReturnType<{
182
192
  base: string;
183
193
  };
184
194
  };
195
+ hasTitleTextChild: {
196
+ true: {
197
+ title: string;
198
+ };
199
+ };
200
+ hasDescriptionTextChild: {
201
+ true: {
202
+ description: string;
203
+ };
204
+ };
185
205
  }, {
186
206
  variant: {
187
207
  solid: {
@@ -228,6 +248,16 @@ declare const menuItem: tailwind_variants.TVReturnType<{
228
248
  base: string;
229
249
  };
230
250
  };
251
+ hasTitleTextChild: {
252
+ true: {
253
+ title: string;
254
+ };
255
+ };
256
+ hasDescriptionTextChild: {
257
+ true: {
258
+ description: string;
259
+ };
260
+ };
231
261
  }>, {
232
262
  variant: {
233
263
  solid: {
@@ -274,6 +304,16 @@ declare const menuItem: tailwind_variants.TVReturnType<{
274
304
  base: string;
275
305
  };
276
306
  };
307
+ hasTitleTextChild: {
308
+ true: {
309
+ title: string;
310
+ };
311
+ };
312
+ hasDescriptionTextChild: {
313
+ true: {
314
+ description: string;
315
+ };
316
+ };
277
317
  }, {
278
318
  base: string[];
279
319
  wrapper: string;
@@ -327,6 +367,16 @@ declare const menuItem: tailwind_variants.TVReturnType<{
327
367
  base: string;
328
368
  };
329
369
  };
370
+ hasTitleTextChild: {
371
+ true: {
372
+ title: string;
373
+ };
374
+ };
375
+ hasDescriptionTextChild: {
376
+ true: {
377
+ description: string;
378
+ };
379
+ };
330
380
  }, {
331
381
  base: string[];
332
382
  wrapper: string;
@@ -380,6 +430,16 @@ declare const menuItem: tailwind_variants.TVReturnType<{
380
430
  base: string;
381
431
  };
382
432
  };
433
+ hasTitleTextChild: {
434
+ true: {
435
+ title: string;
436
+ };
437
+ };
438
+ hasDescriptionTextChild: {
439
+ true: {
440
+ description: string;
441
+ };
442
+ };
383
443
  }, {
384
444
  variant: {
385
445
  solid: {
@@ -426,6 +486,16 @@ declare const menuItem: tailwind_variants.TVReturnType<{
426
486
  base: string;
427
487
  };
428
488
  };
489
+ hasTitleTextChild: {
490
+ true: {
491
+ title: string;
492
+ };
493
+ };
494
+ hasDescriptionTextChild: {
495
+ true: {
496
+ description: string;
497
+ };
498
+ };
429
499
  }>, unknown, unknown, undefined>>;
430
500
  /**
431
501
  * Menu section wrapper **Tailwind Variants** component
@@ -84,7 +84,7 @@ var dataFocusVisibleClasses = [
84
84
  // src/components/menu.ts
85
85
  var menu = tv({
86
86
  slots: {
87
- base: "w-full relative flex flex-col gap-1 p-1",
87
+ base: "w-full relative flex flex-col gap-1 p-1 overflow-hidden",
88
88
  list: "w-full flex flex-col gap-0.5 outline-none",
89
89
  emptyContent: [
90
90
  "h-10",
@@ -192,6 +192,16 @@ var menuItem = tv({
192
192
  false: {
193
193
  base: "data-[hover=true]:transition-colors"
194
194
  }
195
+ },
196
+ hasTitleTextChild: {
197
+ true: {
198
+ title: "truncate"
199
+ }
200
+ },
201
+ hasDescriptionTextChild: {
202
+ true: {
203
+ description: "truncate"
204
+ }
195
205
  }
196
206
  },
197
207
  defaultVariants: {
@@ -2,7 +2,7 @@ import {
2
2
  menu,
3
3
  menuItem,
4
4
  menuSection
5
- } from "../chunk-K6KPB2U5.mjs";
5
+ } from "../chunk-PTCUE3XA.mjs";
6
6
  import "../chunk-IV3K5WDK.mjs";
7
7
  import "../chunk-GQT3YUX3.mjs";
8
8
  import "../chunk-46U6G7UJ.mjs";
package/dist/index.js CHANGED
@@ -6929,7 +6929,7 @@ var select = tv({
6929
6929
  // src/components/menu.ts
6930
6930
  var menu = tv({
6931
6931
  slots: {
6932
- base: "w-full relative flex flex-col gap-1 p-1",
6932
+ base: "w-full relative flex flex-col gap-1 p-1 overflow-hidden",
6933
6933
  list: "w-full flex flex-col gap-0.5 outline-none",
6934
6934
  emptyContent: [
6935
6935
  "h-10",
@@ -7037,6 +7037,16 @@ var menuItem = tv({
7037
7037
  false: {
7038
7038
  base: "data-[hover=true]:transition-colors"
7039
7039
  }
7040
+ },
7041
+ hasTitleTextChild: {
7042
+ true: {
7043
+ title: "truncate"
7044
+ }
7045
+ },
7046
+ hasDescriptionTextChild: {
7047
+ true: {
7048
+ description: "truncate"
7049
+ }
7040
7050
  }
7041
7051
  },
7042
7052
  defaultVariants: {
package/dist/index.mjs CHANGED
@@ -45,7 +45,7 @@ import {
45
45
  menu,
46
46
  menuItem,
47
47
  menuSection
48
- } from "./chunk-K6KPB2U5.mjs";
48
+ } from "./chunk-PTCUE3XA.mjs";
49
49
  import {
50
50
  modal
51
51
  } from "./chunk-N67DL6BW.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextui-org/theme",
3
- "version": "2.3.0-beta.13",
3
+ "version": "2.3.0-beta.14",
4
4
  "description": "The default theme for NextUI components",
5
5
  "keywords": [
6
6
  "theme",