@gardenfi/garden-book 0.2.2-beta.4 → 0.2.2-beta.6

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/ui.es.js CHANGED
@@ -13996,7 +13996,7 @@ const Drawer = {
13996
13996
  "path",
13997
13997
  {
13998
13998
  d: "M10.6 13.4L8.45 11.25C8.26667 11.0667 8.03333 10.975 7.75 10.975C7.46667 10.975 7.23333 11.0667 7.05 11.25C6.86667 11.4333 6.775 11.6667 6.775 11.95C6.775 12.2333 6.86667 12.4667 7.05 12.65L9.9 15.5C10.1 15.7 10.3333 15.8 10.6 15.8C10.8667 15.8 11.1 15.7 11.3 15.5L16.95 9.85C17.1333 9.66667 17.225 9.43333 17.225 9.15C17.225 8.86667 17.1333 8.63333 16.95 8.45C16.7667 8.26667 16.5333 8.175 16.25 8.175C15.9667 8.175 15.7333 8.26667 15.55 8.45L10.6 13.4ZM5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5Z",
13999
- fill: "#E36492"
13999
+ fill: e.color || "#E36492"
14000
14000
  }
14001
14001
  ) })
14002
14002
  ]
@@ -16478,24 +16478,35 @@ const Drawer = {
16478
16478
  )
16479
16479
  ]
16480
16480
  }
16481
- ), GardenIcon = (e) => /* @__PURE__ */ jsx(
16482
- "svg",
16483
- {
16484
- width: "32",
16485
- height: "32",
16486
- viewBox: "0 0 32 32",
16487
- fill: "none",
16488
- xmlns: "http://www.w3.org/2000/svg",
16489
- ...e,
16490
- children: /* @__PURE__ */ jsx(
16491
- "path",
16492
- {
16493
- d: "M16 0C20.3629 1.90708e-07 23.9732 3.21759 24.5898 7.40918C28.782 8.02536 32 11.6367 32 16C32 20.3632 28.7819 23.9736 24.5898 24.5898C23.9736 28.7819 20.3632 32 16 32C11.6367 32 8.02536 28.782 7.40918 24.5898C3.21759 23.9732 2.34439e-07 20.3629 0 16C0 11.6371 3.21753 8.02577 7.40918 7.40918C8.02577 3.21753 11.6371 -1.9071e-07 16 0ZM13.5596 7.79395V9.6084H11.1152V11.7129H12.2012V20.2041H11.1152V22.3086H13.5596V24.25H15.2227V22.3086H16.1602V24.25H17.8389V22.2891C18.0718 22.2782 18.3057 22.2608 18.4941 22.2354C19.5069 22.066 20.3152 21.6551 20.918 21.002C21.5326 20.3368 21.8398 19.5265 21.8398 18.5713C21.8398 17.8214 21.6049 17.1557 21.1348 16.5752C20.6647 15.9948 20.0799 15.6141 19.3809 15.4326C19.8871 15.2391 20.3145 14.8997 20.6641 14.416C21.0136 13.9202 21.1884 13.3822 21.1885 12.8018C21.1885 12.0035 20.9416 11.3314 20.4473 10.7871C19.965 10.2309 19.3138 9.86853 18.4941 9.69922C18.31 9.66671 18.0747 9.64539 17.8389 9.63184V7.79395H16.1602V9.6084H15.2227V7.79395H13.5596ZM17.3008 16.6113C17.9033 16.6114 18.3975 16.7807 18.7832 17.1191C19.1811 17.4457 19.3809 17.8695 19.3809 18.3896C19.3808 18.9218 19.181 19.3577 18.7832 19.6963C18.3975 20.0347 17.9033 20.2041 17.3008 20.2041H14.6602V16.6113H17.3008ZM17.1201 11.7129C17.6141 11.7129 18.0177 11.8519 18.3311 12.1299C18.6565 12.3959 18.8193 12.7408 18.8193 13.1641C18.8193 13.5995 18.6566 13.9562 18.3311 14.2344C18.0177 14.5004 17.6142 14.6337 17.1201 14.6338H14.6602V11.7129H17.1201Z",
16494
- fill: "currentColor"
16495
- }
16496
- )
16497
- }
16498
- ), CheckBox$1 = ({ checked: e, ...t }) => /* @__PURE__ */ jsx("div", { ...t, children: e ? /* @__PURE__ */ jsx(Checked, { className: "gf-cursor-pointer" }) : /* @__PURE__ */ jsx(Unchecked, { className: "gf-cursor-pointer" }) }), Chip = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
16481
+ ), fillColorVariants = {
16482
+ "garden-rose": "#F29FCD",
16483
+ iris: "#473C75",
16484
+ mist: "#E4EBF2",
16485
+ elderberry: "#181325"
16486
+ }, GardenIcon = ({
16487
+ variant: e,
16488
+ ...t
16489
+ }) => {
16490
+ const i = e ? fillColorVariants[e] : "currentColor";
16491
+ return /* @__PURE__ */ jsx(
16492
+ "svg",
16493
+ {
16494
+ width: "32",
16495
+ height: "32",
16496
+ viewBox: "0 0 32 32",
16497
+ fill: "none",
16498
+ xmlns: "http://www.w3.org/2000/svg",
16499
+ ...t,
16500
+ children: /* @__PURE__ */ jsx(
16501
+ "path",
16502
+ {
16503
+ d: "M16 0C20.3629 1.90708e-07 23.9732 3.21759 24.5898 7.40918C28.782 8.02536 32 11.6367 32 16C32 20.3632 28.7819 23.9736 24.5898 24.5898C23.9736 28.7819 20.3632 32 16 32C11.6367 32 8.02536 28.782 7.40918 24.5898C3.21759 23.9732 2.34439e-07 20.3629 0 16C0 11.6371 3.21753 8.02577 7.40918 7.40918C8.02577 3.21753 11.6371 -1.9071e-07 16 0ZM13.5596 7.79395V9.6084H11.1152V11.7129H12.2012V20.2041H11.1152V22.3086H13.5596V24.25H15.2227V22.3086H16.1602V24.25H17.8389V22.2891C18.0718 22.2782 18.3057 22.2608 18.4941 22.2354C19.5069 22.066 20.3152 21.6551 20.918 21.002C21.5326 20.3368 21.8398 19.5265 21.8398 18.5713C21.8398 17.8214 21.6049 17.1557 21.1348 16.5752C20.6647 15.9948 20.0799 15.6141 19.3809 15.4326C19.8871 15.2391 20.3145 14.8997 20.6641 14.416C21.0136 13.9202 21.1884 13.3822 21.1885 12.8018C21.1885 12.0035 20.9416 11.3314 20.4473 10.7871C19.965 10.2309 19.3138 9.86853 18.4941 9.69922C18.31 9.66671 18.0747 9.64539 17.8389 9.63184V7.79395H16.1602V9.6084H15.2227V7.79395H13.5596ZM17.3008 16.6113C17.9033 16.6114 18.3975 16.7807 18.7832 17.1191C19.1811 17.4457 19.3809 17.8695 19.3809 18.3896C19.3808 18.9218 19.181 19.3577 18.7832 19.6963C18.3975 20.0347 17.9033 20.2041 17.3008 20.2041H14.6602V16.6113H17.3008ZM17.1201 11.7129C17.6141 11.7129 18.0177 11.8519 18.3311 12.1299C18.6565 12.3959 18.8193 12.7408 18.8193 13.1641C18.8193 13.5995 18.6566 13.9562 18.3311 14.2344C18.0177 14.5004 17.6142 14.6337 17.1201 14.6338H14.6602V11.7129H17.1201Z",
16504
+ fill: i
16505
+ }
16506
+ )
16507
+ }
16508
+ );
16509
+ }, CheckBox$1 = ({ checked: e, color: t, ...i }) => /* @__PURE__ */ jsx("div", { ...i, children: e ? /* @__PURE__ */ jsx(Checked, { className: "gf-cursor-pointer", color: t }) : /* @__PURE__ */ jsx(Unchecked, { className: "gf-cursor-pointer" }) }), Chip = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
16499
16510
  "div",
16500
16511
  {
16501
16512
  className: cn(