@inspectr/ui 0.0.7 → 0.0.8

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.
@@ -487,14 +487,7 @@ const Ge = (e) => e >= 200 && e < 300 ? "bg-green-200 text-green-800" : e >= 300
487
487
  e.length,
488
488
  ")"
489
489
  ] }),
490
- /* @__PURE__ */ a.jsx(
491
- "button",
492
- {
493
- className: "px-3 py-1 bg-red-500 text-white rounded text-xs",
494
- onClick: o,
495
- children: "Clear All"
496
- }
497
- )
490
+ /* @__PURE__ */ a.jsx("button", { className: "px-3 py-1 bg-red-500 text-white rounded text-xs", onClick: o, children: "Clear All" })
498
491
  ] }),
499
492
  /* @__PURE__ */ a.jsxs("div", { className: "flex items-center bg-gray-200 p-2 border-b border-gray-300 text-sm font-bold", children: [
500
493
  /* @__PURE__ */ a.jsx("div", { className: "w-16 text-center", children: "Status" }),
@@ -1324,14 +1317,7 @@ const xr = ({ request: e }) => {
1324
1317
  )
1325
1318
  ] })
1326
1319
  ] }),
1327
- /* @__PURE__ */ a.jsx("div", { className: "flex justify-end mt-4", children: /* @__PURE__ */ a.jsx(
1328
- "button",
1329
- {
1330
- onClick: d,
1331
- className: "bg-green-600 text-white px-4 py-2 rounded-md",
1332
- children: "Apply"
1333
- }
1334
- ) })
1320
+ /* @__PURE__ */ a.jsx("div", { className: "flex justify-end mt-4", children: /* @__PURE__ */ a.jsx("button", { onClick: d, className: "bg-green-600 text-white px-4 py-2 rounded-md", children: "Apply" }) })
1335
1321
  ] })
1336
1322
  }
1337
1323
  )
@@ -1363,9 +1349,7 @@ const xr = ({ request: e }) => {
1363
1349
  const P = () => {
1364
1350
  n([]), s(null);
1365
1351
  }, re = (L) => {
1366
- n(
1367
- (B) => B.filter((I, R) => I.id ? I.id !== L : R !== L)
1368
- ), o && (o.id || "") === L && s(null);
1352
+ n((B) => B.filter((I, R) => I.id ? I.id !== L : R !== L)), o && (o.id || "") === L && s(null);
1369
1353
  };
1370
1354
  return /* @__PURE__ */ a.jsxs("div", { className: "flex flex-col h-screen", children: [
1371
1355
  /* @__PURE__ */ a.jsxs("div", { className: "flex flex-grow", children: [
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@inspectr/ui",
3
3
  "description": "React UI components for Inspectr",
4
4
  "type": "module",
5
- "version": "0.0.7",
5
+ "version": "0.0.8",
6
6
  "author": "Tim Haselaars",
7
7
  "homepage": "https://github.com/thim81/inspectr#readme",
8
8
  "bugs": "https://github.com/thim81/inspectr-ui/issues",
@@ -17,7 +17,7 @@
17
17
  "import": "./dist/inspectr-ui.es.js",
18
18
  "require": "./dist/inspectr-ui.umd.js"
19
19
  },
20
- "./ui.css": "./dist/ui.css"
20
+ "./style.css": "./dist/ui.css"
21
21
  },
22
22
  "files": [
23
23
  "dist"
@@ -26,6 +26,7 @@
26
26
  "build": "vite build",
27
27
  "storybook": "storybook dev -p 6006",
28
28
  "build-storybook": "storybook build",
29
+ "format": "npx prettier --write src//**/*.{ts,jsx,css} --config ./.prettierrc",
29
30
  "test": "echo 'test completed'",
30
31
  "release": "npm run build && npx np --branch main"
31
32
  },