@edu-tosel/design 1.0.8 → 1.0.9

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.
@@ -11,7 +11,7 @@ export default function RowCard({ row, fields, sizes, }) {
11
11
  height: "xs",
12
12
  boundary: "none",
13
13
  rounded: "none",
14
- }, children: _jsxs("div", { className: "flex items-center h-full", children: [entries.map(([type, key, value]) => (_jsx("div", { className: `w-${`${sizes[key]}/100` ?? "auto"}`, children: Array.isArray(type) && type[0] === "select" ? (_jsx(Select, { type: type, entry: [key, value], row: rowState, setRow: setRowState }, key + type + value.toString())) : (_jsx("div", { className: "w-full truncate", children: value ?? "No Data" }, key + value.toString())) }, key))), _jsx("button", { onClick: () => {
14
+ }, children: _jsxs("div", { className: "flex items-center h-full", children: [entries.map(([type, key, value]) => (_jsx("div", { className: `w-${`${sizes[key]}/100` ?? "auto"}`, children: Array.isArray(type) && type[0] === "select" ? (_jsx(Select, { type: type, entry: [key, value], row: rowState, setRow: setRowState }, key + type + value.toString())) : (_jsx("div", { className: "w-full truncate", children: value ?? "No Data" }, key)) }, key))), _jsx("button", { onClick: () => {
15
15
  setTempData(row);
16
16
  setView("sideMenu");
17
17
  }, children: "click" })] }) }));
@@ -1,9 +1,10 @@
1
1
  import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
2
+ import { Fragment } from "react";
2
3
  export default function Exception({ exceptions, children }) {
3
4
  if (!exceptions)
4
5
  return _jsx(_Fragment, { children: children });
5
6
  const trueComponents = exceptions
6
7
  .filter(([exception]) => exception)
7
- .map(([, component]) => component);
8
+ .map(([, Component], index) => (_jsx(Fragment, { children: Component }, index)));
8
9
  return _jsx(_Fragment, { children: trueComponents.length > 0 ? trueComponents : children });
9
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edu-tosel/design",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "UI components for International TOSEL Committee",
5
5
  "keywords": [
6
6
  "jsx",
@@ -416,6 +416,23 @@ export default {
416
416
  "7/10": "70%",
417
417
  "9/10": "90%",
418
418
  },
419
+ zIndex: {
420
+ "50": "50",
421
+ "49": "49",
422
+ "48": "48",
423
+ "47": "47",
424
+ "46": "46",
425
+ "45": "45",
426
+ "44": "44",
427
+ "43": "43",
428
+ "42": "42",
429
+ "41": "41",
430
+ "40": "40",
431
+ "30": "30",
432
+ "20": "20",
433
+ "10": "10",
434
+ "0": "0",
435
+ },
419
436
  },
420
437
  },
421
438
  safelist: [
package/version.txt CHANGED
@@ -1 +1 @@
1
- 1.0.8
1
+ 1.0.9