@xy-planning-network/trees 0.6.2-rc-8 → 0.6.3

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/trees.es.js CHANGED
@@ -8340,32 +8340,42 @@ const _hoisted_3$c = { class: "absolute top-0 right-0 -mr-12 pt-2" };
8340
8340
  const _hoisted_4$a = /* @__PURE__ */ createElementVNode("span", { class: "sr-only" }, "Close sidebar", -1);
8341
8341
  const _hoisted_5$9 = { class: "shrink-0 flex justify-center px-4" };
8342
8342
  const _hoisted_6$8 = ["src"];
8343
- const _hoisted_7$7 = { class: "mt-5 flex-1 h-0 overflow-y-auto" };
8344
- const _hoisted_8$5 = { class: "px-2 space-y-1" };
8343
+ const _hoisted_7$7 = { class: "mt-5 flex flex-col flex-1 h-0 overflow-y-auto" };
8344
+ const _hoisted_8$5 = { class: "flex-1 px-2 space-y-1" };
8345
8345
  const _hoisted_9$5 = ["href", "target"];
8346
- const _hoisted_10$5 = /* @__PURE__ */ createElementVNode("div", {
8346
+ const _hoisted_10$5 = {
8347
+ key: 0,
8348
+ class: "mt-auto"
8349
+ };
8350
+ const _hoisted_11$4 = { class: "mt-6 px-2" };
8351
+ const _hoisted_12$3 = /* @__PURE__ */ createElementVNode("div", {
8347
8352
  class: "shrink-0 w-14",
8348
8353
  "aria-hidden": "true"
8349
8354
  }, null, -1);
8350
- const _hoisted_11$4 = { class: "hidden md:flex md:shrink-0" };
8351
- const _hoisted_12$3 = { class: "flex flex-col w-64" };
8352
- const _hoisted_13$3 = { class: "flex flex-col grow border-r border-gray-200 pt-5 pb-4 bg-white overflow-y-auto" };
8353
- const _hoisted_14$3 = { class: "flex items-center shrink-0 px-4" };
8354
- const _hoisted_15$2 = ["src"];
8355
- const _hoisted_16$2 = { class: "mt-5 grow flex flex-col" };
8356
- const _hoisted_17$2 = { class: "flex-1 px-2 bg-white space-y-1" };
8357
- const _hoisted_18$2 = ["href", "target"];
8358
- const _hoisted_19$2 = { class: "flex flex-col w-0 flex-1 overflow-hidden" };
8359
- const _hoisted_20$2 = { class: "relative z-10 shrink-0 flex h-16 bg-xy-blue shadow" };
8360
- const _hoisted_21$2 = /* @__PURE__ */ createElementVNode("span", { class: "sr-only" }, "Open sidebar", -1);
8361
- const _hoisted_22$2 = { class: "flex-1 px-4 flex justify-between" };
8362
- const _hoisted_23$2 = { class: "flex-1 flex" };
8363
- const _hoisted_24$2 = { class: "flex items-center text-2xl text-white" };
8364
- const _hoisted_25$1 = { class: "ml-4 flex items-center md:ml-6" };
8365
- const _hoisted_26 = /* @__PURE__ */ createElementVNode("span", { class: "sr-only" }, "Open user menu", -1);
8366
- const _hoisted_27 = ["href"];
8367
- const _hoisted_28 = { class: "flex-1 relative overflow-y-auto focus:outline-none" };
8368
- const _hoisted_29 = { class: "mx-auto" };
8355
+ const _hoisted_13$3 = { class: "hidden md:flex md:shrink-0" };
8356
+ const _hoisted_14$3 = { class: "flex flex-col w-64" };
8357
+ const _hoisted_15$2 = { class: "flex flex-col grow border-r border-gray-200 pt-5 pb-4 bg-white overflow-y-auto" };
8358
+ const _hoisted_16$2 = { class: "flex items-center shrink-0 px-4" };
8359
+ const _hoisted_17$2 = ["src"];
8360
+ const _hoisted_18$2 = { class: "mt-5 grow flex flex-col" };
8361
+ const _hoisted_19$2 = { class: "flex-1 px-2 bg-white space-y-1" };
8362
+ const _hoisted_20$2 = ["href", "target"];
8363
+ const _hoisted_21$2 = {
8364
+ key: 0,
8365
+ class: "mt-atuo"
8366
+ };
8367
+ const _hoisted_22$2 = { class: "mt-6 px-2" };
8368
+ const _hoisted_23$2 = { class: "flex flex-col w-0 flex-1 overflow-hidden" };
8369
+ const _hoisted_24$2 = { class: "relative z-10 shrink-0 flex h-16 bg-xy-blue shadow" };
8370
+ const _hoisted_25$1 = /* @__PURE__ */ createElementVNode("span", { class: "sr-only" }, "Open sidebar", -1);
8371
+ const _hoisted_26 = { class: "flex-1 px-4 flex justify-between" };
8372
+ const _hoisted_27 = { class: "flex-1 flex" };
8373
+ const _hoisted_28 = { class: "flex items-center text-2xl text-white" };
8374
+ const _hoisted_29 = { class: "ml-4 flex items-center md:ml-6" };
8375
+ const _hoisted_30 = /* @__PURE__ */ createElementVNode("span", { class: "sr-only" }, "Open user menu", -1);
8376
+ const _hoisted_31 = ["href"];
8377
+ const _hoisted_32 = { class: "flex-1 relative overflow-y-auto focus:outline-none" };
8378
+ const _hoisted_33 = { class: "mx-auto" };
8369
8379
  const _sfc_main$h = /* @__PURE__ */ defineComponent({
8370
8380
  props: {
8371
8381
  activeURL: { default: "" },
@@ -8474,31 +8484,36 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
8474
8484
  createTextVNode(" " + toDisplayString(item.name), 1)
8475
8485
  ], 10, _hoisted_9$5);
8476
8486
  }), 128))
8477
- ])
8487
+ ]),
8488
+ _ctx.$slots["sidebar-bottom"] ? (openBlock(), createElementBlock("div", _hoisted_10$5, [
8489
+ createElementVNode("div", _hoisted_11$4, [
8490
+ renderSlot(_ctx.$slots, "sidebar-bottom")
8491
+ ])
8492
+ ])) : createCommentVNode("", true)
8478
8493
  ])
8479
8494
  ])
8480
8495
  ]),
8481
- _: 1
8496
+ _: 3
8482
8497
  }),
8483
- _hoisted_10$5
8498
+ _hoisted_12$3
8484
8499
  ]),
8485
- _: 1
8500
+ _: 3
8486
8501
  }, 8, ["open"])
8487
8502
  ]),
8488
- _: 1
8503
+ _: 3
8489
8504
  }, 8, ["show"]),
8490
- createElementVNode("div", _hoisted_11$4, [
8491
- createElementVNode("div", _hoisted_12$3, [
8492
- createElementVNode("div", _hoisted_13$3, [
8493
- createElementVNode("div", _hoisted_14$3, [
8505
+ createElementVNode("div", _hoisted_13$3, [
8506
+ createElementVNode("div", _hoisted_14$3, [
8507
+ createElementVNode("div", _hoisted_15$2, [
8508
+ createElementVNode("div", _hoisted_16$2, [
8494
8509
  createElementVNode("img", {
8495
8510
  class: "w-auto h-12",
8496
8511
  src: __props.iconURL,
8497
8512
  alt: "Logo"
8498
- }, null, 8, _hoisted_15$2)
8513
+ }, null, 8, _hoisted_17$2)
8499
8514
  ]),
8500
- createElementVNode("div", _hoisted_16$2, [
8501
- createElementVNode("nav", _hoisted_17$2, [
8515
+ createElementVNode("div", _hoisted_18$2, [
8516
+ createElementVNode("nav", _hoisted_19$2, [
8502
8517
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.navigation, (item) => {
8503
8518
  return openBlock(), createElementBlock("a", {
8504
8519
  key: item.name,
@@ -8517,32 +8532,37 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
8517
8532
  "aria-hidden": "true"
8518
8533
  }, null, 8, ["class"])),
8519
8534
  createTextVNode(" " + toDisplayString(item.name), 1)
8520
- ], 10, _hoisted_18$2);
8535
+ ], 10, _hoisted_20$2);
8521
8536
  }), 128))
8522
- ])
8537
+ ]),
8538
+ _ctx.$slots["sidebar-bottom"] ? (openBlock(), createElementBlock("div", _hoisted_21$2, [
8539
+ createElementVNode("div", _hoisted_22$2, [
8540
+ renderSlot(_ctx.$slots, "sidebar-bottom")
8541
+ ])
8542
+ ])) : createCommentVNode("", true)
8523
8543
  ])
8524
8544
  ])
8525
8545
  ])
8526
8546
  ]),
8527
- createElementVNode("div", _hoisted_19$2, [
8528
- createElementVNode("div", _hoisted_20$2, [
8547
+ createElementVNode("div", _hoisted_23$2, [
8548
+ createElementVNode("div", _hoisted_24$2, [
8529
8549
  createElementVNode("button", {
8530
8550
  class: "px-4 border-r border-gray-200 text-white focus:outline-none focus:ring-2 focus:ring-inset focus:ring-blue-500 md:hidden",
8531
8551
  onClick: _cache[2] || (_cache[2] = ($event) => sidebarOpen.value = true)
8532
8552
  }, [
8533
- _hoisted_21$2,
8553
+ _hoisted_25$1,
8534
8554
  createVNode(unref(render$3), {
8535
8555
  class: "h-6 w-6",
8536
8556
  "aria-hidden": "true"
8537
8557
  })
8538
8558
  ]),
8539
- createElementVNode("div", _hoisted_22$2, [
8540
- createElementVNode("div", _hoisted_23$2, [
8541
- createElementVNode("h1", _hoisted_24$2, [
8559
+ createElementVNode("div", _hoisted_26, [
8560
+ createElementVNode("div", _hoisted_27, [
8561
+ createElementVNode("h1", _hoisted_28, [
8542
8562
  renderSlot(_ctx.$slots, "header")
8543
8563
  ])
8544
8564
  ]),
8545
- createElementVNode("div", _hoisted_25$1, [
8565
+ createElementVNode("div", _hoisted_29, [
8546
8566
  createVNode(unref(Menu), {
8547
8567
  as: "div",
8548
8568
  class: "ml-3 relative"
@@ -8551,7 +8571,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
8551
8571
  createElementVNode("div", null, [
8552
8572
  createVNode(unref(MenuButton), { class: "max-w-xs flex items-center text-sm text-white rounded-full hover:bg-blue-500 hover:text-gray-200 focus:outline-none focus:ring focus:text-white" }, {
8553
8573
  default: withCtx(() => [
8554
- _hoisted_26,
8574
+ _hoisted_30,
8555
8575
  createVNode(unref(render$7), {
8556
8576
  class: "h-8 w-8",
8557
8577
  fill: "currentColor"
@@ -8582,7 +8602,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
8582
8602
  active ? "bg-gray-100" : "",
8583
8603
  "block px-4 py-2 text-sm text-gray-700 font-semibold"
8584
8604
  ])
8585
- }, toDisplayString(item.name), 11, _hoisted_27)
8605
+ }, toDisplayString(item.name), 11, _hoisted_31)
8586
8606
  ]),
8587
8607
  _: 2
8588
8608
  }, 1024);
@@ -8599,8 +8619,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
8599
8619
  ])
8600
8620
  ])
8601
8621
  ]),
8602
- createElementVNode("main", _hoisted_28, [
8603
- createElementVNode("div", _hoisted_29, [
8622
+ createElementVNode("main", _hoisted_32, [
8623
+ createElementVNode("div", _hoisted_33, [
8604
8624
  renderSlot(_ctx.$slots, "default")
8605
8625
  ])
8606
8626
  ])
@@ -10104,12 +10124,11 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
10104
10124
  }, {
10105
10125
  default: withCtx(({ active, checked: checked2, disabled }) => [
10106
10126
  createElementVNode("div", {
10107
- class: normalizeClass([
10127
+ class: normalizeClass(["relative bg-white border rounded-lg shadow-sm p-4 flex cursor-pointer focus:outline-none", [
10108
10128
  checked2 ? "border-transparent" : "border-gray-300",
10109
10129
  active ? "border-blue-500 ring-2 ring-blue-500" : "",
10110
- "relative bg-white border rounded-lg shadow-sm p-4 flex cursor-pointer focus:outline-none",
10111
- disabled ? "opacity-75" : ""
10112
- ])
10130
+ disabled ? "cursor-not-allowed opacity-75" : ""
10131
+ ]])
10113
10132
  }, [
10114
10133
  createElementVNode("div", _hoisted_2$1, [
10115
10134
  createElementVNode("div", _hoisted_3$1, [