@trops/dash-core 0.1.143 → 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 +1 -1
package/dist/index.js
CHANGED
|
@@ -33919,33 +33919,35 @@ var DashboardsSection = function DashboardsSection(_ref) {
|
|
|
33919
33919
|
inputClassName: "py-1.5 text-xs"
|
|
33920
33920
|
})
|
|
33921
33921
|
})
|
|
33922
|
-
}), /*#__PURE__*/jsxRuntime.jsx(
|
|
33923
|
-
|
|
33924
|
-
|
|
33925
|
-
|
|
33926
|
-
|
|
33927
|
-
|
|
33928
|
-
|
|
33929
|
-
|
|
33930
|
-
|
|
33931
|
-
|
|
33932
|
-
|
|
33933
|
-
|
|
33934
|
-
|
|
33935
|
-
|
|
33936
|
-
|
|
33937
|
-
|
|
33938
|
-
|
|
33939
|
-
|
|
33940
|
-
|
|
33941
|
-
|
|
33942
|
-
|
|
33943
|
-
|
|
33944
|
-
|
|
33945
|
-
|
|
33946
|
-
|
|
33947
|
-
|
|
33948
|
-
|
|
33922
|
+
}), /*#__PURE__*/jsxRuntime.jsx(DashReact.Tabs3, {
|
|
33923
|
+
value: installMode === "marketplace" ? "marketplace" : viewMode,
|
|
33924
|
+
onValueChange: function onValueChange(val) {
|
|
33925
|
+
if (val === "marketplace") {
|
|
33926
|
+
setInstallMode("marketplace");
|
|
33927
|
+
setSelectedId(null);
|
|
33928
|
+
} else {
|
|
33929
|
+
setInstallMode(null);
|
|
33930
|
+
setViewMode(val);
|
|
33931
|
+
}
|
|
33932
|
+
},
|
|
33933
|
+
backgroundColor: "bg-transparent",
|
|
33934
|
+
spacing: "p-0",
|
|
33935
|
+
children: /*#__PURE__*/jsxRuntime.jsxs(DashReact.Tabs3.List, {
|
|
33936
|
+
className: "w-full flex",
|
|
33937
|
+
spacing: "p-0.5",
|
|
33938
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(DashReact.Tabs3.Trigger, {
|
|
33939
|
+
value: "grouped",
|
|
33940
|
+
className: "flex-1",
|
|
33941
|
+
children: "Grouped"
|
|
33942
|
+
}), /*#__PURE__*/jsxRuntime.jsx(DashReact.Tabs3.Trigger, {
|
|
33943
|
+
value: "alphabetical",
|
|
33944
|
+
className: "flex-1",
|
|
33945
|
+
children: "A-Z"
|
|
33946
|
+
}), /*#__PURE__*/jsxRuntime.jsx(DashReact.Tabs3.Trigger, {
|
|
33947
|
+
value: "marketplace",
|
|
33948
|
+
className: "flex-1",
|
|
33949
|
+
children: "Marketplace"
|
|
33950
|
+
})]
|
|
33949
33951
|
})
|
|
33950
33952
|
})]
|
|
33951
33953
|
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
@@ -39970,26 +39972,27 @@ var WidgetsSection = function WidgetsSection(_ref) {
|
|
|
39970
39972
|
onChange: setSearchQuery,
|
|
39971
39973
|
placeholder: "Search widgets...",
|
|
39972
39974
|
inputClassName: "py-1.5 text-xs"
|
|
39973
|
-
}), /*#__PURE__*/jsxRuntime.jsx(
|
|
39974
|
-
|
|
39975
|
-
|
|
39976
|
-
|
|
39977
|
-
|
|
39978
|
-
|
|
39979
|
-
|
|
39980
|
-
|
|
39981
|
-
|
|
39982
|
-
|
|
39983
|
-
|
|
39984
|
-
|
|
39985
|
-
|
|
39986
|
-
|
|
39987
|
-
|
|
39988
|
-
|
|
39989
|
-
|
|
39990
|
-
|
|
39991
|
-
|
|
39992
|
-
|
|
39975
|
+
}), /*#__PURE__*/jsxRuntime.jsx(DashReact.Tabs3, {
|
|
39976
|
+
value: filterSource,
|
|
39977
|
+
onValueChange: setFilterSource,
|
|
39978
|
+
backgroundColor: "bg-transparent",
|
|
39979
|
+
spacing: "p-0",
|
|
39980
|
+
children: /*#__PURE__*/jsxRuntime.jsxs(DashReact.Tabs3.List, {
|
|
39981
|
+
className: "w-full flex",
|
|
39982
|
+
spacing: "p-0.5",
|
|
39983
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(DashReact.Tabs3.Trigger, {
|
|
39984
|
+
value: "all",
|
|
39985
|
+
className: "flex-1",
|
|
39986
|
+
children: "All"
|
|
39987
|
+
}), /*#__PURE__*/jsxRuntime.jsx(DashReact.Tabs3.Trigger, {
|
|
39988
|
+
value: "builtin",
|
|
39989
|
+
className: "flex-1",
|
|
39990
|
+
children: "Built-in"
|
|
39991
|
+
}), /*#__PURE__*/jsxRuntime.jsx(DashReact.Tabs3.Trigger, {
|
|
39992
|
+
value: "installed",
|
|
39993
|
+
className: "flex-1",
|
|
39994
|
+
children: "Installed"
|
|
39995
|
+
})]
|
|
39993
39996
|
})
|
|
39994
39997
|
}), /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
39995
39998
|
className: "grid grid-cols-2 gap-1.5",
|