@trops/dash-core 0.1.142 → 0.1.144
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.esm.js +50 -47
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +50 -47
- package/dist/index.js.map +1 -1
- package/package.json +7 -2
package/dist/index.esm.js
CHANGED
|
@@ -33901,33 +33901,35 @@ var DashboardsSection = function DashboardsSection(_ref) {
|
|
|
33901
33901
|
inputClassName: "py-1.5 text-xs"
|
|
33902
33902
|
})
|
|
33903
33903
|
})
|
|
33904
|
-
}), /*#__PURE__*/jsx(
|
|
33905
|
-
|
|
33906
|
-
|
|
33907
|
-
|
|
33908
|
-
|
|
33909
|
-
|
|
33910
|
-
|
|
33911
|
-
|
|
33912
|
-
|
|
33913
|
-
|
|
33914
|
-
|
|
33915
|
-
|
|
33916
|
-
|
|
33917
|
-
|
|
33918
|
-
|
|
33919
|
-
|
|
33920
|
-
|
|
33921
|
-
|
|
33922
|
-
|
|
33923
|
-
|
|
33924
|
-
|
|
33925
|
-
|
|
33926
|
-
|
|
33927
|
-
|
|
33928
|
-
|
|
33929
|
-
|
|
33930
|
-
|
|
33904
|
+
}), /*#__PURE__*/jsx(Tabs3, {
|
|
33905
|
+
value: installMode === "marketplace" ? "marketplace" : viewMode,
|
|
33906
|
+
onValueChange: function onValueChange(val) {
|
|
33907
|
+
if (val === "marketplace") {
|
|
33908
|
+
setInstallMode("marketplace");
|
|
33909
|
+
setSelectedId(null);
|
|
33910
|
+
} else {
|
|
33911
|
+
setInstallMode(null);
|
|
33912
|
+
setViewMode(val);
|
|
33913
|
+
}
|
|
33914
|
+
},
|
|
33915
|
+
backgroundColor: "bg-transparent",
|
|
33916
|
+
spacing: "p-0",
|
|
33917
|
+
children: /*#__PURE__*/jsxs(Tabs3.List, {
|
|
33918
|
+
className: "w-full flex",
|
|
33919
|
+
spacing: "p-0.5",
|
|
33920
|
+
children: [/*#__PURE__*/jsx(Tabs3.Trigger, {
|
|
33921
|
+
value: "grouped",
|
|
33922
|
+
className: "flex-1",
|
|
33923
|
+
children: "Grouped"
|
|
33924
|
+
}), /*#__PURE__*/jsx(Tabs3.Trigger, {
|
|
33925
|
+
value: "alphabetical",
|
|
33926
|
+
className: "flex-1",
|
|
33927
|
+
children: "A-Z"
|
|
33928
|
+
}), /*#__PURE__*/jsx(Tabs3.Trigger, {
|
|
33929
|
+
value: "marketplace",
|
|
33930
|
+
className: "flex-1",
|
|
33931
|
+
children: "Marketplace"
|
|
33932
|
+
})]
|
|
33931
33933
|
})
|
|
33932
33934
|
})]
|
|
33933
33935
|
}), /*#__PURE__*/jsx("div", {
|
|
@@ -39952,26 +39954,27 @@ var WidgetsSection = function WidgetsSection(_ref) {
|
|
|
39952
39954
|
onChange: setSearchQuery,
|
|
39953
39955
|
placeholder: "Search widgets...",
|
|
39954
39956
|
inputClassName: "py-1.5 text-xs"
|
|
39955
|
-
}), /*#__PURE__*/jsx(
|
|
39956
|
-
|
|
39957
|
-
|
|
39958
|
-
|
|
39959
|
-
|
|
39960
|
-
|
|
39961
|
-
|
|
39962
|
-
|
|
39963
|
-
|
|
39964
|
-
|
|
39965
|
-
|
|
39966
|
-
|
|
39967
|
-
|
|
39968
|
-
|
|
39969
|
-
|
|
39970
|
-
|
|
39971
|
-
|
|
39972
|
-
|
|
39973
|
-
|
|
39974
|
-
|
|
39957
|
+
}), /*#__PURE__*/jsx(Tabs3, {
|
|
39958
|
+
value: filterSource,
|
|
39959
|
+
onValueChange: setFilterSource,
|
|
39960
|
+
backgroundColor: "bg-transparent",
|
|
39961
|
+
spacing: "p-0",
|
|
39962
|
+
children: /*#__PURE__*/jsxs(Tabs3.List, {
|
|
39963
|
+
className: "w-full flex",
|
|
39964
|
+
spacing: "p-0.5",
|
|
39965
|
+
children: [/*#__PURE__*/jsx(Tabs3.Trigger, {
|
|
39966
|
+
value: "all",
|
|
39967
|
+
className: "flex-1",
|
|
39968
|
+
children: "All"
|
|
39969
|
+
}), /*#__PURE__*/jsx(Tabs3.Trigger, {
|
|
39970
|
+
value: "builtin",
|
|
39971
|
+
className: "flex-1",
|
|
39972
|
+
children: "Built-in"
|
|
39973
|
+
}), /*#__PURE__*/jsx(Tabs3.Trigger, {
|
|
39974
|
+
value: "installed",
|
|
39975
|
+
className: "flex-1",
|
|
39976
|
+
children: "Installed"
|
|
39977
|
+
})]
|
|
39975
39978
|
})
|
|
39976
39979
|
}), /*#__PURE__*/jsxs("div", {
|
|
39977
39980
|
className: "grid grid-cols-2 gap-1.5",
|