flowcore-fn 8.0.3 → 8.0.5

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.
@@ -1703,6 +1703,46 @@
1703
1703
  user-select: none;
1704
1704
  }
1705
1705
  }
1706
+ .flowcore *,
1707
+ .flowcore *::before,
1708
+ .flowcore *::after {
1709
+ box-sizing: border-box;
1710
+ border-width: 0;
1711
+ border-style: solid;
1712
+ }
1713
+ .flowcore button,
1714
+ .flowcore [type=button],
1715
+ .flowcore [type=reset],
1716
+ .flowcore [type=submit],
1717
+ .flowcore [role=button] {
1718
+ -webkit-appearance: none;
1719
+ appearance: none;
1720
+ background-color: transparent;
1721
+ background-image: none;
1722
+ border-style: none;
1723
+ border-width: 0;
1724
+ border-color: transparent;
1725
+ color: inherit;
1726
+ font: inherit;
1727
+ line-height: inherit;
1728
+ margin: 0;
1729
+ padding: 0;
1730
+ cursor: pointer;
1731
+ }
1732
+ .flowcore button:focus,
1733
+ .flowcore [type=button]:focus,
1734
+ .flowcore [type=reset]:focus,
1735
+ .flowcore [type=submit]:focus {
1736
+ outline: none;
1737
+ }
1738
+ .flowcore input,
1739
+ .flowcore textarea,
1740
+ .flowcore select {
1741
+ -webkit-appearance: none;
1742
+ appearance: none;
1743
+ font: inherit;
1744
+ color: inherit;
1745
+ }
1706
1746
  @property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
1707
1747
  @property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
1708
1748
  @property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }
package/dist/pkg-index.js CHANGED
@@ -4306,11 +4306,16 @@ function Sidebar({
4306
4306
  // src/components/Layout.jsx
4307
4307
  var import_react38 = require("react");
4308
4308
  var import_jsx_runtime37 = require("react/jsx-runtime");
4309
- var Layout = ({
4310
- children
4311
- }) => {
4309
+ var Layout = ({ children }) => {
4312
4310
  const [isOpen, setIsOpen] = (0, import_react38.useState)(true);
4313
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "fc:flex fc:min-h-screen", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Sidebar, { isOpen, onToggle: () => setIsOpen(!isOpen), childrens: children }) });
4311
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "flowcore fc:flex fc:min-h-screen", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
4312
+ Sidebar,
4313
+ {
4314
+ isOpen,
4315
+ onToggle: () => setIsOpen(!isOpen),
4316
+ childrens: children
4317
+ }
4318
+ ) });
4314
4319
  };
4315
4320
  var Layout_default = Layout;
4316
4321
  // Annotate the CommonJS export names for ESM import in node:
@@ -4272,11 +4272,16 @@ function Sidebar({
4272
4272
  // src/components/Layout.jsx
4273
4273
  import { useState as useState22 } from "react";
4274
4274
  import { jsx as jsx37 } from "react/jsx-runtime";
4275
- var Layout = ({
4276
- children
4277
- }) => {
4275
+ var Layout = ({ children }) => {
4278
4276
  const [isOpen, setIsOpen] = useState22(true);
4279
- return /* @__PURE__ */ jsx37("div", { className: "fc:flex fc:min-h-screen", children: /* @__PURE__ */ jsx37(Sidebar, { isOpen, onToggle: () => setIsOpen(!isOpen), childrens: children }) });
4277
+ return /* @__PURE__ */ jsx37("div", { className: "flowcore fc:flex fc:min-h-screen", children: /* @__PURE__ */ jsx37(
4278
+ Sidebar,
4279
+ {
4280
+ isOpen,
4281
+ onToggle: () => setIsOpen(!isOpen),
4282
+ childrens: children
4283
+ }
4284
+ ) });
4280
4285
  };
4281
4286
  var Layout_default = Layout;
4282
4287
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowcore-fn",
3
- "version": "8.0.3",
3
+ "version": "8.0.5",
4
4
  "main": "dist/pkg-index.js",
5
5
  "module": "dist/pkg-index.mjs",
6
6
  "files": [
@@ -35,6 +35,7 @@
35
35
  "dependencies": {
36
36
  "@remixicon/react": "^4.9.0",
37
37
  "lucide-react": "^1.24.0",
38
+ "react-shadow": "^20.6.0",
38
39
  "remixicon-react": "^1.0.0"
39
40
  }
40
41
  }