shadcn-studio-extension-cli 0.1.0 → 0.1.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.
|
@@ -5985,11 +5985,6 @@ const options = [
|
|
|
5985
5985
|
label: "Documentation",
|
|
5986
5986
|
Icon: "Context7Logo"
|
|
5987
5987
|
},
|
|
5988
|
-
{
|
|
5989
|
-
type: "shadcn-studio-docs",
|
|
5990
|
-
label: "ShadcnStudio Docs",
|
|
5991
|
-
Icon: "ShadcnStudioLogo"
|
|
5992
|
-
},
|
|
5993
5988
|
{
|
|
5994
5989
|
type: "blocks",
|
|
5995
5990
|
label: "ShadcnStudio Blocks",
|
|
@@ -7173,7 +7168,7 @@ const performLocalSearch = (blocks, query) => {
|
|
|
7173
7168
|
const apiResults = await fetchAndSearchBlocks(query, isValidated);
|
|
7174
7169
|
if (apiResults.length > 0) {
|
|
7175
7170
|
const combinedResults = [...apiResults, ...localResults], uniqueResults = removeDuplicateBlocks(combinedResults);
|
|
7176
|
-
setSearchResults(uniqueResults
|
|
7171
|
+
setSearchResults(uniqueResults);
|
|
7177
7172
|
} else
|
|
7178
7173
|
console.log("No API results found, keeping local results only");
|
|
7179
7174
|
} catch (error2) {
|
|
@@ -7551,7 +7546,7 @@ const RECENT_BLOCKS_KEY = "toolbar-blocks-recent", getRecentBlocks = () => {
|
|
|
7551
7546
|
] }) }),
|
|
7552
7547
|
/* @__PURE__ */ jsx("div", { className: "ml-auto text-primary text-xs", children: "↑↓ navigate • ⏎ select" })
|
|
7553
7548
|
] })
|
|
7554
|
-
] }) : /* @__PURE__ */ jsx("div", { className: "px-1 py-2 text-muted-foreground text-xs", children: searchQuery != null && searchQuery.trim() ? `No components found for "${searchQuery}"` : "
|
|
7549
|
+
] }) : /* @__PURE__ */ jsx("div", { className: "px-1 py-2 text-center text-muted-foreground text-xs", children: searchQuery != null && searchQuery.trim() ? `No components found for "${searchQuery}"` : 'Try searching blocks like "Hero Section", "Pricing", etc.' })
|
|
7555
7550
|
]
|
|
7556
7551
|
}
|
|
7557
7552
|
);
|
|
@@ -10997,79 +10992,73 @@ const Logo = () => /* @__PURE__ */ jsxs(
|
|
|
10997
10992
|
/* @__PURE__ */ jsx(
|
|
10998
10993
|
"rect",
|
|
10999
10994
|
{
|
|
11000
|
-
|
|
11001
|
-
|
|
11002
|
-
|
|
11003
|
-
|
|
11004
|
-
|
|
11005
|
-
fill: "url(#paint0_linear_15373_2835)"
|
|
10995
|
+
width: "40",
|
|
10996
|
+
height: "40",
|
|
10997
|
+
rx: "20",
|
|
10998
|
+
transform: "matrix(1 0 0 -1 0 40)",
|
|
10999
|
+
fill: "black"
|
|
11006
11000
|
}
|
|
11007
11001
|
),
|
|
11008
11002
|
/* @__PURE__ */ jsx(
|
|
11009
|
-
"
|
|
11003
|
+
"path",
|
|
11010
11004
|
{
|
|
11011
|
-
|
|
11012
|
-
|
|
11013
|
-
width: "
|
|
11014
|
-
height: "39",
|
|
11015
|
-
rx: "19.5",
|
|
11016
|
-
stroke: "url(#paint1_linear_15373_2835)"
|
|
11005
|
+
d: "M20.2648 34V25.5378C20.2648 22.7555 18.0093 20.5 15.2269 20.5H7",
|
|
11006
|
+
stroke: "white",
|
|
11007
|
+
"stroke-width": "2.79879"
|
|
11017
11008
|
}
|
|
11018
11009
|
),
|
|
11019
11010
|
/* @__PURE__ */ jsx(
|
|
11020
11011
|
"path",
|
|
11021
11012
|
{
|
|
11022
|
-
d: "
|
|
11023
|
-
|
|
11013
|
+
d: "M20.4896 7L20.4896 15.4622C20.4896 18.2445 22.7451 20.5 25.5274 20.5L33.7544 20.5",
|
|
11014
|
+
stroke: "white",
|
|
11015
|
+
"stroke-width": "2.79879"
|
|
11024
11016
|
}
|
|
11025
11017
|
),
|
|
11026
|
-
/* @__PURE__ */
|
|
11027
|
-
|
|
11028
|
-
|
|
11029
|
-
|
|
11030
|
-
|
|
11031
|
-
|
|
11032
|
-
|
|
11033
|
-
|
|
11034
|
-
|
|
11035
|
-
|
|
11036
|
-
|
|
11037
|
-
|
|
11038
|
-
|
|
11039
|
-
|
|
11040
|
-
|
|
11041
|
-
|
|
11042
|
-
|
|
11043
|
-
"
|
|
11044
|
-
|
|
11045
|
-
|
|
11046
|
-
|
|
11047
|
-
|
|
11048
|
-
|
|
11049
|
-
|
|
11050
|
-
|
|
11051
|
-
|
|
11052
|
-
|
|
11053
|
-
|
|
11054
|
-
|
|
11055
|
-
|
|
11056
|
-
|
|
11057
|
-
|
|
11058
|
-
|
|
11059
|
-
|
|
11060
|
-
|
|
11061
|
-
|
|
11062
|
-
|
|
11063
|
-
|
|
11064
|
-
|
|
11065
|
-
|
|
11066
|
-
|
|
11067
|
-
|
|
11068
|
-
|
|
11069
|
-
|
|
11070
|
-
}
|
|
11071
|
-
)
|
|
11072
|
-
] })
|
|
11018
|
+
/* @__PURE__ */ jsx(
|
|
11019
|
+
"line",
|
|
11020
|
+
{
|
|
11021
|
+
y1: "-1.3994",
|
|
11022
|
+
x2: "8.14036",
|
|
11023
|
+
y2: "-1.3994",
|
|
11024
|
+
transform: "matrix(-0.711279 -0.70291 -0.70291 0.711279 29.5129 31.2846)",
|
|
11025
|
+
stroke: "white",
|
|
11026
|
+
"stroke-width": "2.79879"
|
|
11027
|
+
}
|
|
11028
|
+
),
|
|
11029
|
+
/* @__PURE__ */ jsx(
|
|
11030
|
+
"line",
|
|
11031
|
+
{
|
|
11032
|
+
y1: "-1.3994",
|
|
11033
|
+
x2: "8.14036",
|
|
11034
|
+
y2: "-1.3994",
|
|
11035
|
+
transform: "matrix(-0.711279 -0.70291 -0.70291 0.711279 15.1768 16.9914)",
|
|
11036
|
+
stroke: "white",
|
|
11037
|
+
"stroke-width": "2.79879"
|
|
11038
|
+
}
|
|
11039
|
+
),
|
|
11040
|
+
/* @__PURE__ */ jsx(
|
|
11041
|
+
"line",
|
|
11042
|
+
{
|
|
11043
|
+
y1: "-1.3994",
|
|
11044
|
+
x2: "8.14036",
|
|
11045
|
+
y2: "-1.3994",
|
|
11046
|
+
transform: "matrix(-0.707107 0.707107 0.707107 0.707107 16.8704 25.8622)",
|
|
11047
|
+
stroke: "white",
|
|
11048
|
+
"stroke-width": "2.79879"
|
|
11049
|
+
}
|
|
11050
|
+
),
|
|
11051
|
+
/* @__PURE__ */ jsx(
|
|
11052
|
+
"line",
|
|
11053
|
+
{
|
|
11054
|
+
y1: "-1.3994",
|
|
11055
|
+
x2: "8.14036",
|
|
11056
|
+
y2: "-1.3994",
|
|
11057
|
+
transform: "matrix(-0.707107 0.707107 0.707107 0.707107 31.4224 11.2694)",
|
|
11058
|
+
stroke: "white",
|
|
11059
|
+
"stroke-width": "2.79879"
|
|
11060
|
+
}
|
|
11061
|
+
)
|
|
11073
11062
|
]
|
|
11074
11063
|
}
|
|
11075
11064
|
);
|
package/package.json
CHANGED