@newt-app/templates 0.17.1 → 0.18.1
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.
- package/dist/index.js +29 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1330,6 +1330,31 @@ var ui = {
|
|
|
1330
1330
|
};
|
|
1331
1331
|
var ui_default = ui;
|
|
1332
1332
|
|
|
1333
|
+
// src/shadcn-ui/templates/components-json.ts
|
|
1334
|
+
var components_json_default = {
|
|
1335
|
+
filename: "packages/ui/components.json",
|
|
1336
|
+
template: `{
|
|
1337
|
+
"$schema": "https://ui.shadcn.com/schema.json",
|
|
1338
|
+
"style": "base-nova",
|
|
1339
|
+
"rsc": true,
|
|
1340
|
+
"tsx": true,
|
|
1341
|
+
"tailwind": {
|
|
1342
|
+
"config": "",
|
|
1343
|
+
"css": "src/styles/globals.css",
|
|
1344
|
+
"baseColor": "neutral",
|
|
1345
|
+
"cssVariables": true
|
|
1346
|
+
},
|
|
1347
|
+
"iconLibrary": "lucide",
|
|
1348
|
+
"aliases": {
|
|
1349
|
+
"components": "@<%= projectName %>/ui/components",
|
|
1350
|
+
"utils": "@<%= projectName %>/ui/lib/utils",
|
|
1351
|
+
"hooks": "@<%= projectName %>/ui/hooks",
|
|
1352
|
+
"lib": "@<%= projectName %>/ui/lib",
|
|
1353
|
+
"ui": "@<%= projectName %>/ui/components"
|
|
1354
|
+
}
|
|
1355
|
+
}`
|
|
1356
|
+
};
|
|
1357
|
+
|
|
1333
1358
|
// src/shadcn-ui/templates/package-json.ts
|
|
1334
1359
|
var package_json_default6 = {
|
|
1335
1360
|
filename: "packages/ui/package.json",
|
|
@@ -2859,6 +2884,7 @@ function Calendar({
|
|
|
2859
2884
|
...classNames,
|
|
2860
2885
|
}}
|
|
2861
2886
|
components={{
|
|
2887
|
+
// eslint-disable-next-line react/prop-types
|
|
2862
2888
|
Root: ({ className, rootRef, ...props }) => {
|
|
2863
2889
|
return (
|
|
2864
2890
|
<div
|
|
@@ -2869,6 +2895,7 @@ function Calendar({
|
|
|
2869
2895
|
/>
|
|
2870
2896
|
)
|
|
2871
2897
|
},
|
|
2898
|
+
// eslint-disable-next-line react/prop-types
|
|
2872
2899
|
Chevron: ({ className, orientation, ...props }) => {
|
|
2873
2900
|
if (orientation === "left") {
|
|
2874
2901
|
return (
|
|
@@ -9027,7 +9054,8 @@ var shadcnUi = {
|
|
|
9027
9054
|
toggle_group_default,
|
|
9028
9055
|
toggle_default,
|
|
9029
9056
|
tooltip_default,
|
|
9030
|
-
mode_toggle_default
|
|
9057
|
+
mode_toggle_default,
|
|
9058
|
+
components_json_default
|
|
9031
9059
|
],
|
|
9032
9060
|
packages: [
|
|
9033
9061
|
{ package: "next-themes", module: "apps/web", version: "^0.4.6" }
|