@nextui-org/theme 0.0.0-dev-v2-20230610220209 → 0.0.0-dev-v2-20230612214035

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.
@@ -5,7 +5,7 @@ var modal = tv({
5
5
  wrapper: [
6
6
  "flex",
7
7
  "w-screen",
8
- "h-screen",
8
+ "h-[100dvh]",
9
9
  "fixed",
10
10
  "inset-0",
11
11
  "z-50",
@@ -29,7 +29,7 @@ var modal = tv({
29
29
  "my-16"
30
30
  ],
31
31
  trigger: [],
32
- backdrop: ["hidden", "z-50"],
32
+ backdrop: "z-50",
33
33
  header: "flex py-4 px-6 flex-initial text-lg font-semibold",
34
34
  body: "flex flex-1 flex-col gap-3 px-6 py-2",
35
35
  footer: "flex flex-row gap-2 px-6 py-4 justify-end",
@@ -83,7 +83,7 @@ var modal = tv({
83
83
  base: "max-w-5xl"
84
84
  },
85
85
  full: {
86
- base: "my-0 max-w-full rounded-none min-h-screen"
86
+ base: "my-0 max-w-full min-h-full rounded-none "
87
87
  }
88
88
  },
89
89
  radius: {
@@ -97,7 +97,9 @@ var modal = tv({
97
97
  "3xl": { base: "rounded-3xl" }
98
98
  },
99
99
  backdrop: {
100
- transparent: {},
100
+ transparent: {
101
+ backdrop: "hidden"
102
+ },
101
103
  opaque: {
102
104
  backdrop: "bg-black/50 backdrop-opacity-50"
103
105
  },
@@ -107,7 +109,7 @@ var modal = tv({
107
109
  },
108
110
  scrollBehavior: {
109
111
  normal: {
110
- base: ["overflow-y-hidden"]
112
+ base: "overflow-y-hidden"
111
113
  },
112
114
  inside: {
113
115
  base: "max-h-[calc(100%_-_7.5rem)]",
@@ -129,7 +131,7 @@ var modal = tv({
129
131
  {
130
132
  backdrop: ["opaque", "blur"],
131
133
  class: {
132
- backdrop: "block w-full h-full fixed inset-0"
134
+ backdrop: "w-full h-full fixed inset-0"
133
135
  }
134
136
  }
135
137
  ]
@@ -5067,7 +5067,7 @@ var modal = (0, import_tailwind_variants23.tv)({
5067
5067
  wrapper: [
5068
5068
  "flex",
5069
5069
  "w-screen",
5070
- "h-screen",
5070
+ "h-[100dvh]",
5071
5071
  "fixed",
5072
5072
  "inset-0",
5073
5073
  "z-50",
@@ -5091,7 +5091,7 @@ var modal = (0, import_tailwind_variants23.tv)({
5091
5091
  "my-16"
5092
5092
  ],
5093
5093
  trigger: [],
5094
- backdrop: ["hidden", "z-50"],
5094
+ backdrop: "z-50",
5095
5095
  header: "flex py-4 px-6 flex-initial text-lg font-semibold",
5096
5096
  body: "flex flex-1 flex-col gap-3 px-6 py-2",
5097
5097
  footer: "flex flex-row gap-2 px-6 py-4 justify-end",
@@ -5145,7 +5145,7 @@ var modal = (0, import_tailwind_variants23.tv)({
5145
5145
  base: "max-w-5xl"
5146
5146
  },
5147
5147
  full: {
5148
- base: "my-0 max-w-full rounded-none min-h-screen"
5148
+ base: "my-0 max-w-full min-h-full rounded-none "
5149
5149
  }
5150
5150
  },
5151
5151
  radius: {
@@ -5159,7 +5159,9 @@ var modal = (0, import_tailwind_variants23.tv)({
5159
5159
  "3xl": { base: "rounded-3xl" }
5160
5160
  },
5161
5161
  backdrop: {
5162
- transparent: {},
5162
+ transparent: {
5163
+ backdrop: "hidden"
5164
+ },
5163
5165
  opaque: {
5164
5166
  backdrop: "bg-black/50 backdrop-opacity-50"
5165
5167
  },
@@ -5169,7 +5171,7 @@ var modal = (0, import_tailwind_variants23.tv)({
5169
5171
  },
5170
5172
  scrollBehavior: {
5171
5173
  normal: {
5172
- base: ["overflow-y-hidden"]
5174
+ base: "overflow-y-hidden"
5173
5175
  },
5174
5176
  inside: {
5175
5177
  base: "max-h-[calc(100%_-_7.5rem)]",
@@ -5191,7 +5193,7 @@ var modal = (0, import_tailwind_variants23.tv)({
5191
5193
  {
5192
5194
  backdrop: ["opaque", "blur"],
5193
5195
  class: {
5194
- backdrop: "block w-full h-full fixed inset-0"
5196
+ backdrop: "w-full h-full fixed inset-0"
5195
5197
  }
5196
5198
  }
5197
5199
  ]
@@ -1,7 +1,4 @@
1
1
  import "../chunk-PRWEADY4.mjs";
2
- import {
3
- snippet
4
- } from "../chunk-ADHGFNBD.mjs";
5
2
  import {
6
3
  spacer
7
4
  } from "../chunk-3B4SYPW2.mjs";
@@ -20,13 +17,9 @@ import {
20
17
  import {
21
18
  user
22
19
  } from "../chunk-ZFYINWFR.mjs";
23
- import {
24
- link,
25
- linkAnchorClasses
26
- } from "../chunk-YQXYRWJP.mjs";
27
20
  import {
28
21
  modal
29
- } from "../chunk-WLZX7EUD.mjs";
22
+ } from "../chunk-LPECHTXS.mjs";
30
23
  import {
31
24
  navbar
32
25
  } from "../chunk-2JNTU7SI.mjs";
@@ -47,8 +40,8 @@ import {
47
40
  skeleton
48
41
  } from "../chunk-P5E3PNHW.mjs";
49
42
  import {
50
- code
51
- } from "../chunk-E3HXNSRG.mjs";
43
+ snippet
44
+ } from "../chunk-ADHGFNBD.mjs";
52
45
  import {
53
46
  divider
54
47
  } from "../chunk-2ENRZMQI.mjs";
@@ -71,9 +64,9 @@ import {
71
64
  kbd
72
65
  } from "../chunk-GYSMGV7B.mjs";
73
66
  import {
74
- accordion,
75
- accordionItem
76
- } from "../chunk-HNRHIJNK.mjs";
67
+ link,
68
+ linkAnchorClasses
69
+ } from "../chunk-YQXYRWJP.mjs";
77
70
  import {
78
71
  avatar,
79
72
  avatarGroup
@@ -95,12 +88,19 @@ import {
95
88
  import {
96
89
  chip
97
90
  } from "../chunk-N37GPOJZ.mjs";
91
+ import {
92
+ circularProgress
93
+ } from "../chunk-UPBFQDTD.mjs";
94
+ import {
95
+ code
96
+ } from "../chunk-E3HXNSRG.mjs";
98
97
  import "../chunk-CMYR6AOY.mjs";
99
98
  import "../chunk-K7LK7NCE.mjs";
100
99
  import "../chunk-IQPW7V4N.mjs";
101
100
  import {
102
- circularProgress
103
- } from "../chunk-UPBFQDTD.mjs";
101
+ accordion,
102
+ accordionItem
103
+ } from "../chunk-HNRHIJNK.mjs";
104
104
  import "../chunk-INZK6TTL.mjs";
105
105
  export {
106
106
  accordion,
@@ -80,7 +80,9 @@ declare const modal: tailwind_variants.TVReturnType<{
80
80
  };
81
81
  };
82
82
  backdrop: {
83
- transparent: {};
83
+ transparent: {
84
+ backdrop: string;
85
+ };
84
86
  opaque: {
85
87
  backdrop: string;
86
88
  };
@@ -90,7 +92,7 @@ declare const modal: tailwind_variants.TVReturnType<{
90
92
  };
91
93
  scrollBehavior: {
92
94
  normal: {
93
- base: string[];
95
+ base: string;
94
96
  };
95
97
  inside: {
96
98
  base: string;
@@ -105,7 +107,7 @@ declare const modal: tailwind_variants.TVReturnType<{
105
107
  wrapper: string[];
106
108
  base: string[];
107
109
  trigger: never[];
108
- backdrop: string[];
110
+ backdrop: string;
109
111
  header: string;
110
112
  body: string;
111
113
  footer: string;
@@ -170,7 +172,9 @@ declare const modal: tailwind_variants.TVReturnType<{
170
172
  };
171
173
  };
172
174
  backdrop: {
173
- transparent: {};
175
+ transparent: {
176
+ backdrop: string;
177
+ };
174
178
  opaque: {
175
179
  backdrop: string;
176
180
  };
@@ -180,7 +184,7 @@ declare const modal: tailwind_variants.TVReturnType<{
180
184
  };
181
185
  scrollBehavior: {
182
186
  normal: {
183
- base: string[];
187
+ base: string;
184
188
  };
185
189
  inside: {
186
190
  base: string;
@@ -29,7 +29,7 @@ var modal = (0, import_tailwind_variants.tv)({
29
29
  wrapper: [
30
30
  "flex",
31
31
  "w-screen",
32
- "h-screen",
32
+ "h-[100dvh]",
33
33
  "fixed",
34
34
  "inset-0",
35
35
  "z-50",
@@ -53,7 +53,7 @@ var modal = (0, import_tailwind_variants.tv)({
53
53
  "my-16"
54
54
  ],
55
55
  trigger: [],
56
- backdrop: ["hidden", "z-50"],
56
+ backdrop: "z-50",
57
57
  header: "flex py-4 px-6 flex-initial text-lg font-semibold",
58
58
  body: "flex flex-1 flex-col gap-3 px-6 py-2",
59
59
  footer: "flex flex-row gap-2 px-6 py-4 justify-end",
@@ -107,7 +107,7 @@ var modal = (0, import_tailwind_variants.tv)({
107
107
  base: "max-w-5xl"
108
108
  },
109
109
  full: {
110
- base: "my-0 max-w-full rounded-none min-h-screen"
110
+ base: "my-0 max-w-full min-h-full rounded-none "
111
111
  }
112
112
  },
113
113
  radius: {
@@ -121,7 +121,9 @@ var modal = (0, import_tailwind_variants.tv)({
121
121
  "3xl": { base: "rounded-3xl" }
122
122
  },
123
123
  backdrop: {
124
- transparent: {},
124
+ transparent: {
125
+ backdrop: "hidden"
126
+ },
125
127
  opaque: {
126
128
  backdrop: "bg-black/50 backdrop-opacity-50"
127
129
  },
@@ -131,7 +133,7 @@ var modal = (0, import_tailwind_variants.tv)({
131
133
  },
132
134
  scrollBehavior: {
133
135
  normal: {
134
- base: ["overflow-y-hidden"]
136
+ base: "overflow-y-hidden"
135
137
  },
136
138
  inside: {
137
139
  base: "max-h-[calc(100%_-_7.5rem)]",
@@ -153,7 +155,7 @@ var modal = (0, import_tailwind_variants.tv)({
153
155
  {
154
156
  backdrop: ["opaque", "blur"],
155
157
  class: {
156
- backdrop: "block w-full h-full fixed inset-0"
158
+ backdrop: "w-full h-full fixed inset-0"
157
159
  }
158
160
  }
159
161
  ]
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  modal
3
- } from "../chunk-WLZX7EUD.mjs";
3
+ } from "../chunk-LPECHTXS.mjs";
4
4
  export {
5
5
  modal
6
6
  };
package/dist/index.js CHANGED
@@ -5099,7 +5099,7 @@ var modal = (0, import_tailwind_variants23.tv)({
5099
5099
  wrapper: [
5100
5100
  "flex",
5101
5101
  "w-screen",
5102
- "h-screen",
5102
+ "h-[100dvh]",
5103
5103
  "fixed",
5104
5104
  "inset-0",
5105
5105
  "z-50",
@@ -5123,7 +5123,7 @@ var modal = (0, import_tailwind_variants23.tv)({
5123
5123
  "my-16"
5124
5124
  ],
5125
5125
  trigger: [],
5126
- backdrop: ["hidden", "z-50"],
5126
+ backdrop: "z-50",
5127
5127
  header: "flex py-4 px-6 flex-initial text-lg font-semibold",
5128
5128
  body: "flex flex-1 flex-col gap-3 px-6 py-2",
5129
5129
  footer: "flex flex-row gap-2 px-6 py-4 justify-end",
@@ -5177,7 +5177,7 @@ var modal = (0, import_tailwind_variants23.tv)({
5177
5177
  base: "max-w-5xl"
5178
5178
  },
5179
5179
  full: {
5180
- base: "my-0 max-w-full rounded-none min-h-screen"
5180
+ base: "my-0 max-w-full min-h-full rounded-none "
5181
5181
  }
5182
5182
  },
5183
5183
  radius: {
@@ -5191,7 +5191,9 @@ var modal = (0, import_tailwind_variants23.tv)({
5191
5191
  "3xl": { base: "rounded-3xl" }
5192
5192
  },
5193
5193
  backdrop: {
5194
- transparent: {},
5194
+ transparent: {
5195
+ backdrop: "hidden"
5196
+ },
5195
5197
  opaque: {
5196
5198
  backdrop: "bg-black/50 backdrop-opacity-50"
5197
5199
  },
@@ -5201,7 +5203,7 @@ var modal = (0, import_tailwind_variants23.tv)({
5201
5203
  },
5202
5204
  scrollBehavior: {
5203
5205
  normal: {
5204
- base: ["overflow-y-hidden"]
5206
+ base: "overflow-y-hidden"
5205
5207
  },
5206
5208
  inside: {
5207
5209
  base: "max-h-[calc(100%_-_7.5rem)]",
@@ -5223,7 +5225,7 @@ var modal = (0, import_tailwind_variants23.tv)({
5223
5225
  {
5224
5226
  backdrop: ["opaque", "blur"],
5225
5227
  class: {
5226
- backdrop: "block w-full h-full fixed inset-0"
5228
+ backdrop: "w-full h-full fixed inset-0"
5227
5229
  }
5228
5230
  }
5229
5231
  ]
package/dist/index.mjs CHANGED
@@ -1,7 +1,4 @@
1
1
  import "./chunk-PRWEADY4.mjs";
2
- import {
3
- snippet
4
- } from "./chunk-ADHGFNBD.mjs";
5
2
  import {
6
3
  spacer
7
4
  } from "./chunk-3B4SYPW2.mjs";
@@ -20,13 +17,9 @@ import {
20
17
  import {
21
18
  user
22
19
  } from "./chunk-ZFYINWFR.mjs";
23
- import {
24
- link,
25
- linkAnchorClasses
26
- } from "./chunk-YQXYRWJP.mjs";
27
20
  import {
28
21
  modal
29
- } from "./chunk-WLZX7EUD.mjs";
22
+ } from "./chunk-LPECHTXS.mjs";
30
23
  import {
31
24
  navbar
32
25
  } from "./chunk-2JNTU7SI.mjs";
@@ -47,8 +40,8 @@ import {
47
40
  skeleton
48
41
  } from "./chunk-P5E3PNHW.mjs";
49
42
  import {
50
- code
51
- } from "./chunk-E3HXNSRG.mjs";
43
+ snippet
44
+ } from "./chunk-ADHGFNBD.mjs";
52
45
  import {
53
46
  divider
54
47
  } from "./chunk-2ENRZMQI.mjs";
@@ -71,9 +64,9 @@ import {
71
64
  kbd
72
65
  } from "./chunk-GYSMGV7B.mjs";
73
66
  import {
74
- accordion,
75
- accordionItem
76
- } from "./chunk-HNRHIJNK.mjs";
67
+ link,
68
+ linkAnchorClasses
69
+ } from "./chunk-YQXYRWJP.mjs";
77
70
  import {
78
71
  avatar,
79
72
  avatarGroup
@@ -95,17 +88,25 @@ import {
95
88
  import {
96
89
  chip
97
90
  } from "./chunk-N37GPOJZ.mjs";
91
+ import {
92
+ circularProgress
93
+ } from "./chunk-UPBFQDTD.mjs";
94
+ import {
95
+ code
96
+ } from "./chunk-E3HXNSRG.mjs";
98
97
  import "./chunk-CMYR6AOY.mjs";
99
98
  import "./chunk-K7LK7NCE.mjs";
100
99
  import {
101
100
  colorVariants
102
101
  } from "./chunk-IQPW7V4N.mjs";
103
102
  import {
104
- circularProgress
105
- } from "./chunk-UPBFQDTD.mjs";
103
+ accordion,
104
+ accordionItem
105
+ } from "./chunk-HNRHIJNK.mjs";
106
106
  import {
107
107
  nextui
108
- } from "./chunk-7M7P7JYC.mjs";
108
+ } from "./chunk-45VMNIGW.mjs";
109
+ import "./chunk-GKMFQDRM.mjs";
109
110
  import {
110
111
  absoluteFullClasses,
111
112
  baseStyles,
@@ -113,7 +114,6 @@ import {
113
114
  ringClasses,
114
115
  translateCenterClasses
115
116
  } from "./chunk-INZK6TTL.mjs";
116
- import "./chunk-GKMFQDRM.mjs";
117
117
  import "./chunk-WQEDQHKX.mjs";
118
118
  import {
119
119
  colors
package/dist/plugin.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  nextui
3
- } from "./chunk-7M7P7JYC.mjs";
4
- import "./chunk-INZK6TTL.mjs";
3
+ } from "./chunk-45VMNIGW.mjs";
5
4
  import "./chunk-GKMFQDRM.mjs";
5
+ import "./chunk-INZK6TTL.mjs";
6
6
  import "./chunk-WQEDQHKX.mjs";
7
7
  import "./chunk-CNGIMNA5.mjs";
8
8
  import "./chunk-3YM7ZXUG.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextui-org/theme",
3
- "version": "0.0.0-dev-v2-20230610220209",
3
+ "version": "0.0.0-dev-v2-20230612214035",
4
4
  "description": "The default theme for NextUI components",
5
5
  "keywords": [
6
6
  "theme",
@@ -1,9 +1,9 @@
1
- import {
2
- baseStyles
3
- } from "./chunk-INZK6TTL.mjs";
4
1
  import {
5
2
  utilities
6
3
  } from "./chunk-GKMFQDRM.mjs";
4
+ import {
5
+ baseStyles
6
+ } from "./chunk-INZK6TTL.mjs";
7
7
  import {
8
8
  semanticColors
9
9
  } from "./chunk-3YM7ZXUG.mjs";