@wrdagency/blockout 1.0.25 → 1.0.27

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.
Files changed (194) hide show
  1. package/dist/{2NBKRL7C-Cunv252F.js → 2NBKRL7C-M2oB5mLz.js} +6 -6
  2. package/dist/{2RSXSRCN-dNqvVCu5.js → 2RSXSRCN-BtBMZ8Lx.js} +2 -2
  3. package/dist/{4CMBR7SL-Cf8t3EeF.js → 4CMBR7SL-C-0Aig1V.js} +25 -25
  4. package/dist/{5JTVDSTH-zDMMKAyC.js → 5JTVDSTH-BOGL3M3F.js} +4 -4
  5. package/dist/{5VQZOHHZ-BbettT93.js → 5VQZOHHZ-DADExXg7.js} +1 -1
  6. package/dist/{6VRAQV3D-pLV6BqmA.js → 6VRAQV3D-pTuMqsWW.js} +6 -6
  7. package/dist/{A3WPL2ZJ-DEsxy0M-.js → A3WPL2ZJ-BiXYGxnE.js} +2 -2
  8. package/dist/{BM6PGYQY-g6WySwtg.js → BM6PGYQY-DL-j4NGc.js} +4 -4
  9. package/dist/{DG5U6ZEL-9kCi_mGg.js → DG5U6ZEL-Bn6QlO7C.js} +3 -3
  10. package/dist/{EM5CXX6A-BAj-o9Ka.js → EM5CXX6A-B4C-NFJy.js} +2 -2
  11. package/dist/{F5MUBM3I-AbDoeFd8.js → F5MUBM3I-D6cacg-c.js} +15 -15
  12. package/dist/{G7GW6PWC-DeYlSr7f.js → G7GW6PWC-C6qSYISF.js} +56 -56
  13. package/dist/{IWEFDH56-DLJvQd6v.js → IWEFDH56-Da7lGcXC.js} +3 -3
  14. package/dist/{J2LQO3EC-Cevd6Bvq.js → J2LQO3EC-XUQS0UAH.js} +2 -2
  15. package/dist/{KFH4SEIX-JLk95eQA.js → KFH4SEIX-C-0wHvda.js} +13 -13
  16. package/dist/{LMDWO4NN-BfJb6my4.js → LMDWO4NN-ZnclRjpA.js} +10 -10
  17. package/dist/{MAXQOH4L-DB7jDisS.js → MAXQOH4L-lpuvS1NR.js} +40 -40
  18. package/dist/{MR26YJYP-CDaPeerB.js → MR26YJYP-CWddku_H.js} +43 -43
  19. package/dist/{MTZPJQMC-CraWj4on.js → MTZPJQMC-CNgogsHX.js} +4 -4
  20. package/dist/{O2PQ2652-BCwdW7qA.js → O2PQ2652-DkPiHeUQ.js} +3 -3
  21. package/dist/{P7GR5CS5-DbUZzAnv.js → P7GR5CS5-bOyAbBNR.js} +1 -1
  22. package/dist/{PFRGBC2K-DmHoUTiZ.js → PFRGBC2K-BS9YO5-Q.js} +22 -22
  23. package/dist/{RS7LB2H4-D1_VRecC.js → RS7LB2H4-BpSl1D2T.js} +1 -1
  24. package/dist/{RZ4GPYOB-rG3RP8Xi.js → RZ4GPYOB-D4dwmRZg.js} +2 -2
  25. package/dist/{S43UC3DV-bOoyE-xW.js → S43UC3DV-BVbmEy3J.js} +3 -3
  26. package/dist/{T7VMP3TM-DZitNAMz.js → T7VMP3TM-BnzhAoaO.js} +11 -11
  27. package/dist/{TIW3GMFC-DPiX149D.js → TIW3GMFC-C4Bh_hzw.js} +16 -16
  28. package/dist/{TP7N7UIH-D_nR5wDv.js → TP7N7UIH-Bs0NX7lb.js} +2 -2
  29. package/dist/{UQQRIHDV-ULrGYPSq.js → UQQRIHDV-C_0T8mGy.js} +12 -12
  30. package/dist/{UYGDZTLQ-CTQQ8oFQ.js → UYGDZTLQ-BDhCZlZ2.js} +2 -2
  31. package/dist/{VIIRIBF3-C4pOScX8.js → VIIRIBF3-CQdc2eWO.js} +3 -3
  32. package/dist/{WMYDSCNQ-qLZnyPON.js → WMYDSCNQ-J1-TanSP.js} +10 -10
  33. package/dist/{WYCIER3C-BJwD0YDE.js → WYCIER3C-CABEZy1i.js} +2 -2
  34. package/dist/{YORGHBM4-6CReFG7i.js → YORGHBM4-B1RRY_xR.js} +1 -1
  35. package/dist/{YV4JVR4I-D8_aZ62q.js → YV4JVR4I-BuKFdNa0.js} +28 -28
  36. package/dist/assets/button.css +1 -1
  37. package/dist/assets/index14.css +1 -1
  38. package/dist/assets/index19.css +1 -1
  39. package/dist/assets/index20.css +1 -1
  40. package/dist/assets/index21.css +1 -1
  41. package/dist/assets/index6.css +1 -1
  42. package/dist/assets/index9.css +1 -1
  43. package/dist/assets/static.css +1 -0
  44. package/dist/assets/style10.css +1 -1
  45. package/dist/assets/style20.css +1 -1
  46. package/dist/assets/style4.css +1 -1
  47. package/dist/assets/style6.css +1 -1
  48. package/dist/assets/style8.css +1 -1
  49. package/dist/assets/style9.css +1 -1
  50. package/dist/{combobox-group-BCdU5rML.js → combobox-group-Q7OatWHm.js} +3 -3
  51. package/dist/{combobox-popover-D5bLZY4d.js → combobox-popover-CDfaOt6J.js} +5 -5
  52. package/dist/components/breadcrumbs/index.js +5 -5
  53. package/dist/components/button/button.d.ts +5 -2
  54. package/dist/components/button/button.js +10 -10
  55. package/dist/components/button/icon.js +1 -1
  56. package/dist/components/button/row.js +4 -4
  57. package/dist/components/command-palette/dialog.d.ts +9 -0
  58. package/dist/components/command-palette/dialog.js +34 -0
  59. package/dist/components/command-palette/index.js +6 -162
  60. package/dist/components/command-palette/{index.d.ts → static.d.ts} +13 -11
  61. package/dist/components/command-palette/static.js +157 -0
  62. package/dist/components/controls/base-popover-control/index.js +4 -4
  63. package/dist/components/controls/checkbox-control/index.js +1 -1
  64. package/dist/components/controls/choice-control/choice.js +1 -1
  65. package/dist/components/controls/choice-control/index.js +1 -1
  66. package/dist/components/controls/date-control/index.js +2 -2
  67. package/dist/components/controls/date-control/picker.js +5 -5
  68. package/dist/components/controls/list-control/item.js +1 -1
  69. package/dist/components/controls/recurrence-control/index.js +1 -1
  70. package/dist/components/controls/select-control/control.js +1 -1
  71. package/dist/components/controls/select-control/select.js +4 -4
  72. package/dist/components/controls/tag-control/ariakit-experimental.js +77 -77
  73. package/dist/components/controls/tag-control/index.js +4 -4
  74. package/dist/components/controls/tag-control/props.js +1 -1
  75. package/dist/components/controls/toggle-control/index.js +1 -1
  76. package/dist/components/controls/toggle-group-control/index.js +1 -1
  77. package/dist/components/data-form/status.js +1 -1
  78. package/dist/components/data-form/submit.js +1 -1
  79. package/dist/components/data-view/data/filter.js +2 -2
  80. package/dist/components/data-view/index.js +1 -1
  81. package/dist/components/data-view/layouts/grid/group.js +2 -2
  82. package/dist/components/data-view/layouts/grid/item.js +2 -2
  83. package/dist/components/data-view/layouts/kanban/group.js +2 -2
  84. package/dist/components/data-view/layouts/kanban/item.js +2 -2
  85. package/dist/components/data-view/layouts/kanban/root.js +1 -1
  86. package/dist/components/data-view/layouts/list/group.js +2 -2
  87. package/dist/components/data-view/layouts/list/item.js +2 -2
  88. package/dist/components/data-view/layouts/table/empty.js +2 -2
  89. package/dist/components/data-view/layouts/table/group.js +3 -3
  90. package/dist/components/data-view/layouts/table/item.js +3 -3
  91. package/dist/components/data-view/layouts/table/root.js +2 -2
  92. package/dist/components/data-view/layouts/tile/group.js +2 -2
  93. package/dist/components/data-view/layouts/tile/item.js +2 -2
  94. package/dist/components/data-view/parts/body/empty.js +1 -1
  95. package/dist/components/data-view/parts/body/index.js +4 -4
  96. package/dist/components/data-view/parts/controls/index.js +2 -2
  97. package/dist/components/data-view/parts/controls/search.js +2 -2
  98. package/dist/components/data-view/parts/filters/chip.js +1 -1
  99. package/dist/components/data-view/parts/filters/editor.js +1 -1
  100. package/dist/components/data-view/parts/footer/actions.js +2 -2
  101. package/dist/components/data-view/parts/footer/index.js +2 -2
  102. package/dist/components/data-view/parts/footer/selection.js +2 -2
  103. package/dist/components/data-view/parts/view-control/index.js +2 -2
  104. package/dist/components/data-view/root.js +2 -2
  105. package/dist/components/data-view/slots/group/checkbox.js +3 -3
  106. package/dist/components/data-view/slots/group/context.js +1 -1
  107. package/dist/components/data-view/slots/group/header.js +1 -1
  108. package/dist/components/data-view/slots/group/icon.js +1 -1
  109. package/dist/components/data-view/slots/group/index.js +1 -1
  110. package/dist/components/data-view/slots/group/label.js +1 -1
  111. package/dist/components/data-view/slots/index.js +3 -3
  112. package/dist/components/data-view/slots/item/actions.js +1 -1
  113. package/dist/components/data-view/slots/item/checkbox.js +2 -2
  114. package/dist/components/data-view/slots/item/depth.js +3 -3
  115. package/dist/components/data-view/slots/item/description.js +1 -1
  116. package/dist/components/data-view/slots/item/index.js +1 -1
  117. package/dist/components/data-view/slots/item/properties.js +2 -2
  118. package/dist/components/data-view/slots/item/relations.js +3 -3
  119. package/dist/components/data-view/slots/item/tags.js +1 -1
  120. package/dist/components/data-view/slots/item/thumbnail.js +1 -1
  121. package/dist/components/data-view/slots/item/title.js +1 -1
  122. package/dist/components/data-view/slots/item/util.js +2 -2
  123. package/dist/components/data-view/slots/property/field/editable.js +2 -2
  124. package/dist/components/data-view/slots/property/field/index.js +1 -1
  125. package/dist/components/data-view/slots/property/field/static.js +1 -1
  126. package/dist/components/data-view/slots/property/index.js +1 -1
  127. package/dist/components/data-view/slots/property/label.js +1 -1
  128. package/dist/components/data-view/slots/root/checkbox.js +2 -2
  129. package/dist/components/data-view/slots/root/index.js +1 -1
  130. package/dist/components/dialog/index.js +3 -3
  131. package/dist/components/filesystem/file.js +1 -1
  132. package/dist/components/filesystem/folder.js +5 -5
  133. package/dist/components/filesystem/list.js +1 -1
  134. package/dist/components/filesystem/root.js +1 -1
  135. package/dist/components/index.js +1 -1
  136. package/dist/components/menu/index.js +2 -2
  137. package/dist/components/menu/item.js +1 -1
  138. package/dist/components/menu/items/action.js +1 -1
  139. package/dist/components/menu/items/spacer.js +1 -1
  140. package/dist/components/menu/items/submenu.js +3 -3
  141. package/dist/components/menu/items/toggle.js +1 -1
  142. package/dist/components/progress/index.js +1 -1
  143. package/dist/components/shell/context.d.ts +9 -0
  144. package/dist/components/shell/context.js +25 -0
  145. package/dist/components/shell/index.js +9 -5
  146. package/dist/components/shell/navigation.js +49 -4
  147. package/dist/components/shell/pane.d.ts +0 -2
  148. package/dist/components/shell/pane.js +10 -22
  149. package/dist/components/shell/root.js +18 -17
  150. package/dist/components/shell/sidebar-item.d.ts +8 -0
  151. package/dist/components/shell/sidebar-item.js +46 -0
  152. package/dist/components/shell/sidebar-separator.d.ts +6 -0
  153. package/dist/components/shell/sidebar-separator.js +16 -0
  154. package/dist/components/shell/sidebar.js +3 -3
  155. package/dist/components/tabs/list.js +1 -1
  156. package/dist/components/tabs/panel.js +1 -1
  157. package/dist/components/tabs/root.js +1 -1
  158. package/dist/components/tabs/tab.js +1 -1
  159. package/dist/components/tag/tag.js +1 -1
  160. package/dist/components/toolbar/divider.js +1 -1
  161. package/dist/components/toolbar/index.js +1 -1
  162. package/dist/components/toolbar/root.js +1 -1
  163. package/dist/components/window/index.js +2 -2
  164. package/dist/{composite-provider-DFOFHro7.js → composite-provider-VHhinf1k.js} +2 -2
  165. package/dist/{disclosure-provider-DIT2ijtk.js → disclosure-provider-BUQRx-hY.js} +2 -2
  166. package/dist/{filter-DzrtcAfG.js → filter-DHK0UoZG.js} +1 -1
  167. package/dist/{index-Bp_FFk15.js → index-BLCPauyN.js} +2 -2
  168. package/dist/{index-B5z_GwnD.js → index-BnbjJBS4.js} +3 -3
  169. package/dist/{index-C8OctMj0.js → index-CLl-PPjx.js} +1 -1
  170. package/dist/index.js +1 -1
  171. package/dist/{item-CGLYiEST.js → item-PTynqLvp.js} +2 -2
  172. package/dist/{menu-button-C-h3k7Gh.js → menu-button-RmWWFvwE.js} +33 -33
  173. package/dist/{menu-separator-CuuhJPnR.js → menu-separator-DgYHkDAA.js} +3 -3
  174. package/dist/{picker-BUCg1BqW.js → picker-DioIiYC0.js} +4 -4
  175. package/dist/{popover-provider-BoZ9PI_r.js → popover-provider-HlPXIcud.js} +4 -4
  176. package/dist/primitives/link/index.js +1 -1
  177. package/dist/primitives/popover/root.js +1 -1
  178. package/dist/primitives/popover/target.js +1 -1
  179. package/dist/primitives/popover/window.js +3 -3
  180. package/dist/primitives/scroll-area/index.js +1 -1
  181. package/dist/primitives/tooltip/index.d.ts +2 -0
  182. package/dist/primitives/tooltip/index.js +38 -21
  183. package/dist/{select-popover-DmN0T8PP.js → select-popover-P8y2n3bQ.js} +35 -35
  184. package/dist/{select-value-DnWKxDD-.js → select-value-3BLrBdZV.js} +2 -2
  185. package/dist/{tab-BXGTM7Se.js → tab-CKUPUgQ2.js} +4 -4
  186. package/dist/{tab-list-BPSxHllS.js → tab-list-CzsRzSiN.js} +3 -3
  187. package/dist/{tab-panel-fbUcLE4f.js → tab-panel-YGzJnU1g.js} +7 -7
  188. package/dist/{tab-provider-x586a8l7.js → tab-provider-CV8qTybg.js} +21 -21
  189. package/dist/{tag-remove-BdHvB_5c.js → tag-remove-DmlHu_9b.js} +21 -21
  190. package/dist/{toolbar-hQ58P-Nk.js → toolbar-BlVhTG5v.js} +11 -11
  191. package/dist/{toolbar-separator-CN00-jyc.js → toolbar-separator-liolx0p8.js} +3 -3
  192. package/dist/{tooltip-arrow-BRJ4m2ZL.js → tooltip-arrow-CjZ1x0xv.js} +14 -14
  193. package/package.json +1 -1
  194. package/dist/assets/index22.css +0 -1
@@ -1 +1 @@
1
- .component-dialog{position:fixed;top:1rem;right:1rem;bottom:1rem;left:1rem;z-index:50;margin:auto;display:flex;height:fit-content;max-height:calc(100dvh - 2rem);max-width:64ch;overflow:auto;border-radius:var(--blockout__radius--lg);background:var(--blockout__colours__surface--0);box-shadow:0 10px 15px -3px #0000000d,0 4px 6px -4px #0000000d;opacity:0;transform:translateY(1rem);transition:opacity .15s ease,transform .15s ease}.component-dialog[data-enter]{opacity:1;transform:translateY(0)}.component-dialog.component-dialog--top{margin-top:5vh}.component-dialog.component-dialog--bottom{margin-bottom:5vh}.component-dialog__backdrop{background-color:#0000001a;opacity:0;transition:opacity ease .15s}.component-dialog__backdrop[data-enter]{opacity:1}.component-dialog__header{display:flex;align-items:start;justify-content:space-between;gap:1rem;width:100%;padding:.5em;padding-left:1.5rem;border-bottom:1px solid var(--blockout__colours__surface--200);margin-bottom:1rem}.component-dialog__title{margin-top:.675rem}
1
+ .component-dialog{position:fixed;top:1rem;right:1rem;bottom:1rem;left:1rem;z-index:50;margin:auto;display:flex;height:fit-content;max-height:calc(100dvh - 2rem);max-width:64ch;overflow:auto;border-radius:var(--blockout__radius--lg);background:var(--blockout__colours__surface--0);box-shadow:0 10px 15px -3px #0000000d,0 4px 6px -4px #0000000d;opacity:0;transform:translateY(1rem);transition:opacity .15s ease,transform .15s ease}.component-dialog[data-enter]{opacity:1;transform:translateY(0)}.component-dialog.component-dialog--top{margin-top:5vh}.component-dialog.component-dialog--bottom{margin-bottom:5vh}.component-dialog__backdrop{background-color:#0000001a;opacity:0;transition:opacity ease .15s}.component-dialog__backdrop[data-enter]{opacity:1}[data-colour-schema=dark] .component-dialog__backdrop{background-color:#00000054}.component-dialog__header{display:flex;align-items:start;justify-content:space-between;gap:1rem;width:100%;padding:.5em;padding-left:1.5rem;border-bottom:1px solid var(--blockout__colours__surface--200);margin-bottom:1rem}.component-dialog__title{margin-top:.675rem}
@@ -1 +1 @@
1
- :root:has(.component-shell),html:has(.component-shell){overflow:hidden}.component-shell{display:grid;grid-template-columns:13rem 1fr;grid-template-rows:3.5rem 1fr;grid-template-areas:"sidebar navigation" "sidebar main";background-color:var(--blockout__colours__surface--100);width:100%;height:100vh;height:100dvh;overflow:hidden}.component-shell__sidebar{grid-area:sidebar;min-width:0;min-height:0}.component-shell__navigation{grid-area:navigation;min-width:0;min-height:0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;padding-right:.5rem}.component-shell__panes{grid-area:main;min-width:0;min-height:0;border-top-left-radius:var(--blockout__radius--2xl);overflow:hidden;display:flex;flex-wrap:wrap;gap:1rem}.component-shell__pane{background-color:var(--blockout__colours__surface--0);border-top-left-radius:var(--blockout__radius--lg);height:100%;min-width:min(var(--pane-min-width),100vw);flex:var(--pane-weight)}.component-shell__pane:not(:last-child){border-top-right-radius:var(--blockout__radius--lg)}.component-shell__pane__scroll-area>.primitive-scroll-area__viewport>div{height:100%}.component-shell__pane__padding{min-height:100%;padding:1.5rem}@media (width >= 40rem){.component-shell__pane__padding{padding:2rem}}@media (width >= 48rem){.component-shell__pane__padding{padding:2.5rem}}@media (width >= 64rem){.component-shell__pane__padding{padding:3rem}}.component-shell__pane__padding.component-shell__pane__padding--edgeless-top{padding-top:0!important}.component-shell__pane__padding.component-shell__pane__padding--edgeless-right{padding-right:0!important}.component-shell__pane__padding.component-shell__pane__padding--edgeless-bottom{padding-bottom:0!important}.component-shell__pane__padding.component-shell__pane__padding--edgeless-left{padding-left:0!important}.component-shell__pane__padding.component-shell__pane__padding--edgeless-x{padding-left:0!important;padding-right:0!important}.component-shell__pane__padding.component-shell__pane__padding--edgeless-y{padding-top:0!important;padding-bottom:0!important}.component-shell__pane__padding.component-shell__pane__padding--edgeless-all{padding:0!important}
1
+ :root:has(.component-shell),html:has(.component-shell){overflow:hidden}@property --component-shell__sidebar-width{initial-value: 0px; syntax: "<length>"; inherits: true;}.component-shell{--component-shell__navigation-height: 3rem;--component-shell__sidebar-width: 2.15rem;--component-shell__sidebar-width--open: 200px;display:grid;grid-template-columns:var(--component-shell__sidebar-width);grid-auto-columns:1fr;grid-auto-flow:column;grid-template-rows:var(--component-shell__navigation-height);gap:0 1rem;background-color:var(--blockout__colours__surface--100);width:100%;height:100vh;height:100dvh;overflow:hidden;transition:--component-shell__sidebar-width .5s ease}.component-shell.component-shell--sidebar-open{--component-shell__sidebar-width: var( --component-shell__sidebar-width--open )}.component-shell__navigation{position:fixed;top:0;left:0;right:0;width:100%;height:var(--component-shell__navigation-height);display:flex;align-items:center;flex-wrap:wrap;gap:1rem}.component-shell__sidebar{min-width:0;min-height:0;grid-row:2;width:var(--component-shell__sidebar-width);border-top-right-radius:var(--blockout__radius--lg);background-color:var(--blockout__colours__surface--0);overflow:clip;padding-top:.5rem;transition:background .5s ease,padding-top .5s ease}.component-shell__sidebar__inner{width:var(--component-shell__sidebar-width--open)}.component-shell__sidebar-item__wrapper{width:var(--component-shell__sidebar-width)}.component-shell__sidebar-item{display:block;width:var(--component-shell__sidebar-width);padding:.675rem .75rem;overflow:clip}.component-shell__sidebar-item .primitive-nav-link__icon-label{--icon-label__icon-size: 1.375rem}.component-shell__sidebar-separator{border-top:1px solid var(--blockout__colours__surface--200);margin:1.375rem .675rem .125rem;padding-top:.675rem;color:var(--blockout__colours__surface--500);font-weight:600;font-size:.675rem;text-transform:uppercase;transition:padding .5s ease,margin .5s ease,border-color .5s ease}.component-shell__sidebar-separator:first-child{margin-top:0;border-top:none}.component-shell__sidebar-separator .component-shell__sidebar-separator__label{interpolate-size:allow-keywords;display:block;height:auto;overflow:clip;transition:height .5s ease,opacity .5s ease}.component-shell:not(.component-shell--sidebar-open) .component-shell__sidebar{background:transparent;padding-top:0}.component-shell:not(.component-shell--sidebar-open) .component-shell__sidebar-separator{border-color:var(--blockout__colours__surface--300);padding-block:0;margin-block:.25rem}.component-shell:not(.component-shell--sidebar-open) .component-shell__sidebar-separator:first-child{margin-block:0}.component-shell:not(.component-shell--sidebar-open) .component-shell__sidebar-separator .component-shell__sidebar-separator__label{height:0;opacity:0}.component-shell__pane{grid-row:2;background-color:var(--blockout__colours__surface--0);border-top-left-radius:var(--blockout__radius--lg);min-height:0}.component-shell__pane:not(:last-child){border-top-right-radius:var(--blockout__radius--lg)}.component-shell__pane__scroll-area>.primitive-scroll-area__viewport>div{height:100%}.component-shell__pane__padding{min-height:100%;padding:1.5rem}@media (width >= 40rem){.component-shell__pane__padding{padding:2rem}}@media (width >= 48rem){.component-shell__pane__padding{padding:2.5rem}}@media (width >= 64rem){.component-shell__pane__padding{padding:3rem}}.component-shell__pane__padding.component-shell__pane__padding--edgeless-top{padding-top:0!important}.component-shell__pane__padding.component-shell__pane__padding--edgeless-right{padding-right:0!important}.component-shell__pane__padding.component-shell__pane__padding--edgeless-bottom{padding-bottom:0!important}.component-shell__pane__padding.component-shell__pane__padding--edgeless-left{padding-left:0!important}.component-shell__pane__padding.component-shell__pane__padding--edgeless-x{padding-left:0!important;padding-right:0!important}.component-shell__pane__padding.component-shell__pane__padding--edgeless-y{padding-top:0!important;padding-bottom:0!important}.component-shell__pane__padding.component-shell__pane__padding--edgeless-all{padding:0!important}
@@ -0,0 +1 @@
1
+ .component-command-palette{flex-direction:column;position:fixed;top:1rem;right:1rem;bottom:1rem;left:1rem;z-index:50;margin:auto;margin-top:5vh;display:flex;height:fit-content;max-height:calc(100dvh - 5vh - 2rem);max-width:64ch;overflow:auto;border-radius:var(--blockout__radius--lg);background:var(--blockout__colours__surface--0);box-shadow:0 10px 15px -3px #0000000d,0 4px 6px -4px #0000000d;opacity:0;transform:translateY(1rem);transition:opacity .15s ease,transform .15s ease}.component-command-palette[data-enter]{opacity:1;transform:translateY(0)}.component-command-palette__backdrop{background-color:#0000001a;opacity:0;transition:opacity ease .15s}.component-command-palette__backdrop[data-enter]{opacity:1}.component-command-palette__header{display:flex;align-items:center;padding-right:.875rem;width:100%;background:var(--blockout__colours__surface--0);position:sticky;top:0;border-bottom:1px solid var(--blockout__colours__surface--200)}.component-command-palette__header__icon{width:1.375rem;height:1.375rem;fill:var(--blockout__colours__surface--500);margin:.875rem}.component-command-palette__input{padding:.5rem 0;flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none}.component-command-palette__input:focus{outline:none}.component-command-palette__input::-webkit-search-decoration,.component-command-palette__input::-webkit-search-cancel-button,.component-command-palette__input::-webkit-search-results-button,.component-command-palette__input::-webkit-search-results-decoration{-webkit-appearance:none}.component-command-palette__results{display:flex;flex-direction:column;gap:.125rem;padding:.375rem}.component-command-palette__empty{font-size:.875rem;color:var(--blockout__colours__surface--500);padding:1.125rem}.component-command-palette__item{display:flex;align-items:center;gap:.675rem;padding:.375rem .675rem;cursor:pointer;border-radius:var(--blockout__radius--md);transition:background .15s ease,color .15s ease}.component-command-palette__item__icon{width:1.25em;height:1.25em;fill:var(--blockout__colours__surface--500);transition:fill .15s ease}.component-command-palette__item[data-active-item=true]{background:var(--blockout__colours__primary--100);color:var(--blockout__colours__primary--950)}.component-command-palette__item[data-active-item=true] .component-command-palette__item__icon{fill:var(--blockout__colours__primary--600)}.component-command-palette__group{padding-left:2rem}.component-command-palette__group__label{margin-left:-2rem}.component-command-palette__group__item{font-size:.875rem;color:var(--blockout__colours__surface--500)}.component-command-palette__group__item .component-command-palette__item__icon{display:none}
@@ -1 +1 @@
1
- .component-choice-control__choices{display:grid;gap:1.5rem}@media (min-width: 768px){.component-choice-control__choices{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 1024px){.component-choice-control__choices{grid-template-columns:repeat(3,minmax(0,1fr))}}.component-choice-control__choice{padding:.325rem;border:1px solid var(--blockout__colours__surface--300);border-radius:var(--blockout__radius--md);background-color:var(--blockout__colours__surface--0);cursor:pointer;transition:outline .25s ease,outline-offset .25s ease}.component-choice-control__choice__body{display:flex;flex-direction:row;align-items:baseline;gap:.75rem;padding:.675rem;height:100%}.component-choice-control__choice:has(input:checked) .component-choice-control__choice__body{background-color:var(--blockout__colours__surface--100)}.component-choice-control__choice:has(input:checked) .component-choice-control__choice__description{color:var(--blockout__colours__surface--700)}.component-choice-control__choice:focus-within{outline:1px solid var(--blockout__colours__outline);outline-offset:4px}.component-choice-control__choice:has(input:disabled){background-color:var(--blockout__colours__surface--200)}.component-choice-control__choice:has(input:disabled) .component-choice-control__choice__label,.component-choice-control__choice:has(input:disabled) .component-choice-control__choice__description{color:var(--blockout__colours__surface--400)}.component-choice-control__choice__icon{fill:var(--blockout__colours__surface--300);width:1.375rem;height:1.375rem;flex-shrink:0;transform:translateY(.25rem);transition:fill .25s ease}.component-choice-control__choice:has(input:checked) .component-choice-control__choice__icon{fill:var(--blockout__colours__primary--500)}.component-choice-control__choice__label{font-weight:500;color:var(--blockout__colours__surface--600);transition:color .25s ease}.component-choice-control__choice__description{font-weight:400;color:var(--blockout__colours__surface--500);font-size:.875rem;transition:color .25s ease,opacity .25s ease}.component-choice-control__choice:has(input:checked) .component-choice-control__choice__label{color:var(--blockout__colours__surface--950)}
1
+ .primitive-link{width:fit-content}
@@ -1 +1 @@
1
- .component-menu__menu-wrapper{z-index:9999!important}.component-menu__window{background-color:var(--blockout__colours__surface--200);border:1px solid var(--blockout__colours__surface--300);border-radius:var(--blockout__radius--lg);box-shadow:0 .175rem .375rem #0000001a;min-width:calc(var(--popover-anchor-width) + 2px);max-height:var(--popover-available-height);overflow-y:auto;padding:.5rem;min-height:40px}.component-menu__item{display:flex;align-items:baseline;gap:.875rem;padding:.375rem .675rem;width:100%;cursor:pointer;transition:background-color .25s ease}.component-menu__item[data-active-item=true]{background-color:var(--blockout__colours__surface--100);border-radius:var(--blockout__radius--md)}.component-menu__item:focus-visible{outline:none}.component-menu__item[data-active-item=true] .component-menu__item__label{color:var(--blockout__colours__surface--950)}.component-menu__item[data-active-item=true] .component-menu__item__description{color:var(--blockout__colours__surface--700)}.component-menu__item[aria-disabled=true] .component-menu__item__label{color:var(--blockout__colours__surface--500)}.component-menu__item[aria-disabled=true] .component-menu__item__description{color:var(--blockout__colours__surface--300)}.component-menu__item__icon{width:1.25rem;height:1.25rem;fill:var(--blockout__colours__surface--400)}.component-menu__window:not(:has(.component-menu__item__icon--pictoral:not(.component-menu__item__icon--empty))) .component-menu__item__icon--pictoral{display:none}.component-menu__item__icon--pictoral{transform:translateY(.25rem)}.component-menu__item__text{flex-grow:1}.component-menu__item__text__header{display:flex;align-items:center;gap:2rem;justify-content:space-between;width:100%}.component-menu__item__text__header+.component-menu__item__description{margin-top:.25rem}.component-menu__item__label{font-weight:500;color:var(--blockout__colours__surface--950);transition:color .25s ease}.component-menu__item__description{font-weight:400;color:var(--blockout__colours__surface--600);font-size:.875rem;padding-right:.375rem;transition:color .25s ease,opacity .25s ease}.component-menu__item--toggle--checked .component-menu__item__icon--checkbox{fill:var(--blockout__colours__surface--950)}.component-menu__separator{margin:.5rem;border-top:1px solid var(--blockout__colours__surface--300);border-bottom:none}
1
+ .component-menu__menu-wrapper{z-index:9999!important}.primitive-popover__target{cursor:pointer}.component-menu__window{background-color:var(--blockout__colours__surface--200);border:1px solid var(--blockout__colours__surface--300);border-radius:var(--blockout__radius--lg);box-shadow:0 .175rem .375rem #0000001a;min-width:calc(var(--popover-anchor-width) + 2px);max-height:var(--popover-available-height);overflow-y:auto;padding:.5rem;min-height:40px}.component-menu__item{display:flex;align-items:baseline;gap:.875rem;padding:.375rem .675rem;width:100%;cursor:pointer;transition:background-color .25s ease}.component-menu__item[data-active-item=true]{background-color:var(--blockout__colours__surface--100);border-radius:var(--blockout__radius--md)}.component-menu__item:focus-visible{outline:none}.component-menu__item[data-active-item=true] .component-menu__item__label{color:var(--blockout__colours__surface--950)}.component-menu__item[data-active-item=true] .component-menu__item__description{color:var(--blockout__colours__surface--700)}.component-menu__item[aria-disabled=true] .component-menu__item__label{color:var(--blockout__colours__surface--500)}.component-menu__item[aria-disabled=true] .component-menu__item__description{color:var(--blockout__colours__surface--300)}.component-menu__item__icon{width:1.25rem;height:1.25rem;fill:var(--blockout__colours__surface--400)}.component-menu__window:not(:has(.component-menu__item__icon--pictoral:not(.component-menu__item__icon--empty))) .component-menu__item__icon--pictoral{display:none}.component-menu__item__icon--pictoral{transform:translateY(.25rem)}.component-menu__item__text{flex-grow:1}.component-menu__item__text__header{display:flex;align-items:center;gap:2rem;justify-content:space-between;width:100%}.component-menu__item__text__header+.component-menu__item__description{margin-top:.25rem}.component-menu__item__label{font-weight:500;color:var(--blockout__colours__surface--950);transition:color .25s ease}.component-menu__item__description{font-weight:400;color:var(--blockout__colours__surface--600);font-size:.875rem;padding-right:.375rem;transition:color .25s ease,opacity .25s ease}.component-menu__item--toggle--checked .component-menu__item__icon--checkbox{fill:var(--blockout__colours__surface--950)}.component-menu__separator{margin:.5rem;border-top:1px solid var(--blockout__colours__surface--300);border-bottom:none}
@@ -1 +1 @@
1
- .primitive-tooltip{width:fit-content}.primitive-tooltip__label{background-color:var(--blockout__colours__surface--950);color:var(--blockout__colours__surface--0);border-radius:var(--blockout__radius--sm);font-size:.875rem;padding:.5rem .875rem;border:1px solid var(--blockout__colours__surface--800);z-index:99999!important}
1
+ .primitive-tooltip{width:fit-content}.primitive-tooltip__label{background-color:var(--blockout__colours__surface--0);color:var(--blockout__colours__surface--950);border-radius:var(--blockout__radius--sm);font-size:.875rem;padding:.5rem .875rem;border:1px solid var(--blockout__colours__surface--100);z-index:99999!important}.primitive-tooltip__label .primitive-keyboard{margin-left:1.5ch}
@@ -1 +1 @@
1
- .primitive-heading{font-size:var(--heading__font-size, 1.5rem);font-weight:var(--heading__font-weight, 700);line-height:var(--heading__line-height, 1.5rem);color:var(--heading__color, var(--blockout__colours__surface--950));text-transform:var(--heading__text-transform, none);letter-spacing:var(--heading__letter-spacing, normal)}.primitive-heading--size-1{--heading__font-size: 2.25rem;--heading__font-weight: 600;--heading__line-height: 1.25}.primitive-heading--size-2{--heading__font-size: 1.875rem;--heading__font-weight: 600;--heading__line-height: 1.375}.primitive-heading--size-3{--heading__font-size: 1.5625rem;--heading__font-weight: 500;--heading__line-height: 1.375}.primitive-heading--size-4{--heading__font-size: 1.375rem;--heading__font-weight: 500;--heading__line-height: 1.375}.primitive-heading--size-5{--heading__font-size: 1.125rem;--heading__font-weight: 500;--heading__line-height: 1.375}.primitive-heading--size-6{--heading__font-size: 1rem;--heading__font-weight: 500;--heading__line-height: 1.5}.primitive-paragraph{font-size:var(--paragraph__font-size, 1rem);font-weight:var(--paragraph__font-weight, 400);line-height:var(--paragraph__line-height, 1.5625);color:var(--paragraph__color, var(--blockout__colours__surface--700))}.primitive-paragraph--size-small{--paragraph__font-size: .875rem;--paragraph__line-height: 1.785;--paragraph__color: var(--blockout__colours__surface--600)}.primitive-paragraph--size-large{--paragraph__font-size: 1.125rem;--paragraph__line-height: 1.666;--paragraph__color: var(--blockout__colours__surface--700)}.primitive-keyboard{display:flex;gap:.5em;font-family:inherit}.primitive-keyboard .primitive-keyboard__key{display:block;text-align:center;box-shadow:inset 0 .3em .3em -.1em #ffffffbf;background:var(--blockout__colours__surface--50);border:1px solid var(--blockout__colours__surface--200);border-radius:var(--blockout__radius--xxs);padding:.25em .5em;font-size:.75em;color:var(--blockout__colours__surface--800);font-weight:600;text-transform:uppercase;outline:0px solid transparent;outline-offset:0px;transition:background-color .8s ease,border-color .8s ease,color .8s ease}.primitive-keyboard .primitive-keyboard__key.primitive-keyboard__key--singular{min-width:2.25em}.primitive-keyboard.primitive-keyboard--active .primitive-keyboard__key{background:var(--blockout__colours__primary--100);border-color:var(--blockout__colours__primary--500);color:var(--blockout__colours__primary--950);transition-duration:.1s}
1
+ .primitive-heading{font-size:var(--heading__font-size, 1.5rem);font-weight:var(--heading__font-weight, 700);line-height:var(--heading__line-height, 1.5rem);color:var(--heading__color, var(--blockout__colours__surface--950));text-transform:var(--heading__text-transform, none);letter-spacing:var(--heading__letter-spacing, normal)}.primitive-heading--size-1{--heading__font-size: 2.25rem;--heading__font-weight: 600;--heading__line-height: 1.25}.primitive-heading--size-2{--heading__font-size: 1.875rem;--heading__font-weight: 600;--heading__line-height: 1.375}.primitive-heading--size-3{--heading__font-size: 1.5625rem;--heading__font-weight: 500;--heading__line-height: 1.375}.primitive-heading--size-4{--heading__font-size: 1.375rem;--heading__font-weight: 500;--heading__line-height: 1.375}.primitive-heading--size-5{--heading__font-size: 1.125rem;--heading__font-weight: 500;--heading__line-height: 1.375}.primitive-heading--size-6{--heading__font-size: 1rem;--heading__font-weight: 500;--heading__line-height: 1.5}.primitive-paragraph{font-size:var(--paragraph__font-size, 1rem);font-weight:var(--paragraph__font-weight, 400);line-height:var(--paragraph__line-height, 1.5625);color:var(--paragraph__color, var(--blockout__colours__surface--700))}.primitive-paragraph--size-small{--paragraph__font-size: .875rem;--paragraph__line-height: 1.785;--paragraph__color: var(--blockout__colours__surface--600)}.primitive-paragraph--size-large{--paragraph__font-size: 1.125rem;--paragraph__line-height: 1.666;--paragraph__color: var(--blockout__colours__surface--700)}.primitive-keyboard{display:inline-flex;gap:.5em;font-family:inherit}.primitive-keyboard .primitive-keyboard__key{display:block;text-align:center;box-shadow:inset 0 .3em .3em -.1em #ffffffbf;background:var(--blockout__colours__surface--50);border:1px solid var(--blockout__colours__surface--200);border-radius:var(--blockout__radius--xxs);padding:.25em .5em;font-size:.75em;color:var(--blockout__colours__surface--800);font-weight:600;text-transform:uppercase;outline:0px solid transparent;outline-offset:0px;transition:background-color .8s ease,border-color .8s ease,color .8s ease}.primitive-keyboard .primitive-keyboard__key.primitive-keyboard__key--singular{min-width:2.25em}.primitive-keyboard .primitive-keyboard__key:is([data-colour-scheme=dark] *){box-shadow:inset 0 .3em .3em -.1em #000000bf}.primitive-keyboard.primitive-keyboard--active .primitive-keyboard__key{background:var(--blockout__colours__primary--100);border-color:var(--blockout__colours__primary--500);color:var(--blockout__colours__primary--950);transition-duration:.1s}
@@ -1 +1 @@
1
- .primitive-link{width:fit-content}
1
+ .component-checkbox-control__label{display:flex;align-items:center;font-weight:400;color:var(--blockout__colours__surface--950);font-size:1rem;cursor:pointer;width:fit-content}.component-checkbox-control__input__wrapper{position:relative;width:1.5rem;height:1.5rem}.component-checkbox-control__input{width:100%;height:100%;opacity:0;position:relative;z-index:1;cursor:pointer}.component-checkbox-control__icon{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;fill:var(--blockout__colours__surface--500)}.component-checkbox-control__text{padding:var(--base-control__padding);min-height:var(--base-control__min-height);min-width:max-content}.component-checkbox-control__help{margin-top:.25rem;max-width:65ch;font-size:.75rem;font-weight:400;color:var(--blockout__colours__surface--600)}.component-checkbox-control--checked .component-checkbox-control__icon{fill:var(--blockout__colours__primary--500)}
@@ -1 +1 @@
1
- .component-checkbox-control__label{display:flex;align-items:center;font-weight:400;color:var(--blockout__colours__surface--950);font-size:1rem;cursor:pointer;width:fit-content}.component-checkbox-control__input__wrapper{position:relative;width:1.5rem;height:1.5rem}.component-checkbox-control__input{width:100%;height:100%;opacity:0;position:relative;z-index:1;cursor:pointer}.component-checkbox-control__icon{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;fill:var(--blockout__colours__surface--500)}.component-checkbox-control__text{padding:var(--base-control__padding);min-height:var(--base-control__min-height);min-width:max-content}.component-checkbox-control__help{margin-top:.25rem;max-width:65ch;font-size:.75rem;font-weight:400;color:var(--blockout__colours__surface--600)}.component-checkbox-control--checked .component-checkbox-control__icon{fill:var(--blockout__colours__primary--500)}
1
+ .component-choice-control__choices{display:grid;gap:1.5rem}@media (min-width: 768px){.component-choice-control__choices{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 1024px){.component-choice-control__choices{grid-template-columns:repeat(3,minmax(0,1fr))}}.component-choice-control__choice{padding:.325rem;border:1px solid var(--blockout__colours__surface--300);border-radius:var(--blockout__radius--md);background-color:var(--blockout__colours__surface--0);cursor:pointer;transition:outline .25s ease,outline-offset .25s ease}.component-choice-control__choice__body{display:flex;flex-direction:row;align-items:baseline;gap:.75rem;padding:.675rem;height:100%}.component-choice-control__choice:has(input:checked) .component-choice-control__choice__body{background-color:var(--blockout__colours__surface--100)}.component-choice-control__choice:has(input:checked) .component-choice-control__choice__description{color:var(--blockout__colours__surface--700)}.component-choice-control__choice:focus-within{outline:1px solid var(--blockout__colours__outline);outline-offset:4px}.component-choice-control__choice:has(input:disabled){background-color:var(--blockout__colours__surface--200)}.component-choice-control__choice:has(input:disabled) .component-choice-control__choice__label,.component-choice-control__choice:has(input:disabled) .component-choice-control__choice__description{color:var(--blockout__colours__surface--400)}.component-choice-control__choice__icon{fill:var(--blockout__colours__surface--300);width:1.375rem;height:1.375rem;flex-shrink:0;transform:translateY(.25rem);transition:fill .25s ease}.component-choice-control__choice:has(input:checked) .component-choice-control__choice__icon{fill:var(--blockout__colours__primary--500)}.component-choice-control__choice__label{font-weight:500;color:var(--blockout__colours__surface--600);transition:color .25s ease}.component-choice-control__choice__description{font-weight:400;color:var(--blockout__colours__surface--500);font-size:.875rem;transition:color .25s ease,opacity .25s ease}.component-choice-control__choice:has(input:checked) .component-choice-control__choice__label{color:var(--blockout__colours__surface--950)}
@@ -1,6 +1,6 @@
1
- import { u as c, a as i } from "./YORGHBM4-6CReFG7i.js";
2
- import { f as u, c as n, a as p, _ as C, i as l, S as x, o as s } from "./LMDWO4NN-BfJb6my4.js";
3
- import { a as v } from "./S43UC3DV-bOoyE-xW.js";
1
+ import { u as c, a as i } from "./YORGHBM4-B1RRY_xR.js";
2
+ import { f as u, c as n, a as p, _ as C, i as l, S as x, o as s } from "./LMDWO4NN-ZnclRjpA.js";
3
+ import { a as v } from "./S43UC3DV-BVbmEy3J.js";
4
4
  var f = "div", G = n(function(o) {
5
5
  return o = c(o), o;
6
6
  }), w = u(function(o) {
@@ -1,8 +1,8 @@
1
- import { c as P, u as g } from "./G7GW6PWC-DeYlSr7f.js";
2
- import { u as y } from "./MAXQOH4L-DB7jDisS.js";
3
- import { u as C } from "./S43UC3DV-bOoyE-xW.js";
4
- import { a as S } from "./YV4JVR4I-D8_aZ62q.js";
5
- import { f as I, c as F, a as k, _ as w, i as D, o as v, m as H, C as R, D as V } from "./LMDWO4NN-BfJb6my4.js";
1
+ import { c as P, u as g } from "./G7GW6PWC-C6qSYISF.js";
2
+ import { u as y } from "./MAXQOH4L-lpuvS1NR.js";
3
+ import { u as C } from "./S43UC3DV-BVbmEy3J.js";
4
+ import { a as S } from "./YV4JVR4I-BuKFdNa0.js";
5
+ import { f as I, c as F, a as k, _ as w, i as D, o as v, m as H, C as R, D as V } from "./LMDWO4NN-ZnclRjpA.js";
6
6
  import { useRef as j } from "react";
7
7
  var B = "div";
8
8
  function N(l, ...u) {
@@ -14,11 +14,11 @@ import "../../primitives/symbol/index.js";
14
14
  /* empty css */
15
15
  /* empty css */
16
16
  import { e as n } from "../../CaretRight.es-vnr78BGI.js";
17
- import { C as c } from "../../composite-provider-DFOFHro7.js";
18
- import { C as l } from "../../5JTVDSTH-zDMMKAyC.js";
19
- import { C as d } from "../../J2LQO3EC-Cevd6Bvq.js";
20
- import { C as b } from "../../6VRAQV3D-pLV6BqmA.js";
21
- import { C as f } from "../../TP7N7UIH-D_nR5wDv.js";
17
+ import { C as c } from "../../composite-provider-VHhinf1k.js";
18
+ import { C as l } from "../../5JTVDSTH-BOGL3M3F.js";
19
+ import { C as d } from "../../J2LQO3EC-XUQS0UAH.js";
20
+ import { C as b } from "../../6VRAQV3D-pTuMqsWW.js";
21
+ import { C as f } from "../../TP7N7UIH-Bs0NX7lb.js";
22
22
  const D = ({
23
23
  crumbs: m,
24
24
  separator: e = /* @__PURE__ */ r(n, {}),
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import { FC, JSX } from 'react';
2
2
  type BaseProps = {
3
3
  variant?: "primary" | "quiet" | "ghost" | "neutral";
4
4
  size?: "small" | "medium" | "large";
@@ -11,6 +11,9 @@ type ButtonButtonProps = BaseProps & Omit<React.ButtonHTMLAttributes<HTMLButtonE
11
11
  type LinkButtonProps = BaseProps & Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, keyof BaseProps> & {
12
12
  as: "link";
13
13
  };
14
- export type ButtonProps = ButtonButtonProps | LinkButtonProps;
14
+ type JSXButtonProps = BaseProps & Omit<React.HTMLAttributes<HTMLElement>, keyof BaseProps> & {
15
+ as: JSX.ElementType;
16
+ };
17
+ export type ButtonProps = ButtonButtonProps | LinkButtonProps | JSXButtonProps;
15
18
  export declare const Button: FC<ButtonProps>;
16
19
  export {};
@@ -1,4 +1,4 @@
1
- import { jsx as m } from "react/jsx-runtime";
1
+ import { jsx as r } from "react/jsx-runtime";
2
2
  import { cn as c } from "../../utils/css.js";
3
3
  import '../../assets/styles.css';import '../../assets/style6.css';import '../../assets/style5.css';import '../../assets/style4.css';import '../../assets/style3.css';import '../../assets/style2.css';import '../../assets/style.css';import '../../assets/style7.css';import '../../assets/button.css';/* empty css */
4
4
  import "react";
@@ -13,22 +13,22 @@ import "../../primitives/symbol/index.js";
13
13
  /* empty css */
14
14
  /* empty css */
15
15
  /* empty css */
16
- const L = (r) => {
16
+ const L = (n) => {
17
17
  const {
18
- className: n,
18
+ className: e,
19
19
  wide: i,
20
20
  size: p,
21
- variant: e,
22
- as: s,
23
- ...t
24
- } = r, o = c(
25
- n,
21
+ variant: s,
22
+ as: t = "button",
23
+ ...o
24
+ } = n, m = c(
25
+ e,
26
26
  "component-button",
27
- `component-button--${e || "primary"}`,
27
+ `component-button--${s || "primary"}`,
28
28
  `component-button--${p || "medium"}`,
29
29
  i && "component-button--wide"
30
30
  );
31
- return s === "link" ? /* @__PURE__ */ m(a, { ...t, className: o }) : /* @__PURE__ */ m("button", { type: "button", ...t, className: o });
31
+ return t === "link" ? /* @__PURE__ */ r(a, { ...o, className: m }) : t === "button" ? /* @__PURE__ */ r("button", { type: "button", ...o, className: m }) : /* @__PURE__ */ r(t, { ...o, className: m });
32
32
  };
33
33
  export {
34
34
  L as Button
@@ -1,6 +1,6 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import { cn as i } from "../../utils/css.js";
3
- import '../../assets/styles.css';import '../../assets/style6.css';import '../../assets/style5.css';import '../../assets/style3.css';import '../../assets/style2.css';import '../../assets/style.css';import '../../assets/style8.css';import '../../assets/style7.css';/* empty css */
3
+ import '../../assets/styles.css';import '../../assets/style6.css';import '../../assets/style5.css';import '../../assets/style3.css';import '../../assets/style2.css';import '../../assets/style.css';import '../../assets/style10.css';import '../../assets/style7.css';/* empty css */
4
4
  import "react";
5
5
  /* empty css */
6
6
  /* empty css */
@@ -1,10 +1,10 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { cn as e } from "../../utils/css.js";
3
3
  import { Children as i } from "react";
4
- import { C as p } from "../../composite-provider-DFOFHro7.js";
5
- import { C as n } from "../../5JTVDSTH-zDMMKAyC.js";
6
- import { C as s } from "../../J2LQO3EC-Cevd6Bvq.js";
7
- import { C as a } from "../../6VRAQV3D-pLV6BqmA.js";
4
+ import { C as p } from "../../composite-provider-VHhinf1k.js";
5
+ import { C as n } from "../../5JTVDSTH-BOGL3M3F.js";
6
+ import { C as s } from "../../J2LQO3EC-XUQS0UAH.js";
7
+ import { C as a } from "../../6VRAQV3D-pTuMqsWW.js";
8
8
  const u = ({ className: m, children: t }) => /* @__PURE__ */ o(p, { children: /* @__PURE__ */ o(n, { className: e("component-button-row", m), children: /* @__PURE__ */ o(s, { className: "component-button-row__row", children: i.map(
9
9
  t,
10
10
  (r) => r && /* @__PURE__ */ o(a, { render: r })
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+ import { CommandPaletteProps } from './static';
3
+ interface DialogCommandPaletteProps extends CommandPaletteProps {
4
+ open?: boolean;
5
+ onOpenChange?: (open: boolean) => void;
6
+ hotkey?: string;
7
+ }
8
+ export declare const DialogCommandPalette: FC<DialogCommandPaletteProps>;
9
+ export {};
@@ -0,0 +1,34 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import "react";
3
+ import { useHotkey as s } from "../../hooks/keyboard.js";
4
+ import { cn as c } from "../../utils/css.js";
5
+ import { noop as l } from "../../utils/noop.js";
6
+ import { CommandPalette as d } from "./static.js";
7
+ import { u } from "../../BM6PGYQY-DL-j4NGc.js";
8
+ import { D as f } from "../../G7GW6PWC-C6qSYISF.js";
9
+ const O = ({
10
+ className: r,
11
+ open: a,
12
+ onOpenChange: t = l,
13
+ hotkey: e,
14
+ ...n
15
+ }) => {
16
+ const m = u({ open: a, setOpen: t }), p = () => {
17
+ t(!0);
18
+ };
19
+ return e && s(e, (i) => {
20
+ i.preventDefault(), p();
21
+ }), /* @__PURE__ */ o(
22
+ f,
23
+ {
24
+ store: m,
25
+ className: c("component-command-palette", r),
26
+ backdrop: /* @__PURE__ */ o("div", { className: "component-command-palette__backdrop" }),
27
+ unmountOnHide: !0,
28
+ children: /* @__PURE__ */ o(d, { disclosure: m, ...n })
29
+ }
30
+ );
31
+ };
32
+ export {
33
+ O as DialogCommandPalette
34
+ };
@@ -1,164 +1,8 @@
1
- import { jsx as a, jsxs as l } from "react/jsx-runtime";
2
- import * as e from "react";
3
- import { startTransition as N } from "react";
4
- import { useHotkey as g } from "../../hooks/keyboard.js";
5
- import { cn as u } from "../../utils/css.js";
6
- import '../../assets/styles.css';import '../../assets/style6.css';import '../../assets/style5.css';import '../../assets/style4.css';import '../../assets/style3.css';import '../../assets/style2.css';import '../../assets/style.css';import '../../assets/style8.css';import '../../assets/style7.css';import '../../assets/index19.css';/* empty css */
7
- import { noop as H } from "../../utils/noop.js";
8
- /* empty css */
9
- /* empty css */
10
- /* empty css */
11
- import "../../primitives/popover/index.js";
12
- /* empty css */
13
- import "../../primitives/scroll-area/index.js";
14
- import "../../primitives/symbol/index.js";
15
- /* empty css */
16
- /* empty css */
17
- /* empty css */
18
- import { Keyboard as A } from "../../primitives/typography/keyboard.js";
19
- /* empty css */
20
- import { w as C } from "../../SSRBase.es-BUXS72ra.js";
21
- import { s as x } from "../../MagnifyingGlass.es-CLstwG_v.js";
22
- import { a as S } from "../../BM6PGYQY-g6WySwtg.js";
23
- import { D as y } from "../../G7GW6PWC-DeYlSr7f.js";
24
- import { C as F, a as O, b as w, c as D } from "../../MAXQOH4L-DB7jDisS.js";
25
- import { C as I, a as k } from "../../combobox-group-BCdU5rML.js";
26
- const G = /* @__PURE__ */ new Map([
27
- [
28
- "bold",
29
- /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M180,140H164V116h16a40,40,0,1,0-40-40V92H116V76a40,40,0,1,0-40,40H92v24H76a40,40,0,1,0,40,40V164h24v16a40,40,0,1,0,40-40ZM164,76a16,16,0,1,1,16,16H164ZM60,76a16,16,0,0,1,32,0V92H76A16,16,0,0,1,60,76ZM92,180a16,16,0,1,1-16-16H92Zm24-64h24v24H116Zm64,80a16,16,0,0,1-16-16V164h16a16,16,0,0,1,0,32Z" }))
30
- ],
31
- [
32
- "duotone",
33
- /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
34
- "path",
35
- {
36
- d: "M208,76h0a28,28,0,0,1-28,28H152V76a28,28,0,0,1,28-28h0A28,28,0,0,1,208,76ZM76,48h0A28,28,0,0,0,48,76h0a28,28,0,0,0,28,28h28V76A28,28,0,0,0,76,48ZM180,152H152v28a28,28,0,0,0,28,28h0a28,28,0,0,0,28-28h0A28,28,0,0,0,180,152ZM48,180h0a28,28,0,0,0,28,28h0a28,28,0,0,0,28-28V152H76A28,28,0,0,0,48,180Z",
37
- opacity: "0.2"
38
- }
39
- ), /* @__PURE__ */ e.createElement("path", { d: "M180,144H160V112h20a36,36,0,1,0-36-36V96H112V76a36,36,0,1,0-36,36H96v32H76a36,36,0,1,0,36,36V160h32v20a36,36,0,1,0,36-36ZM160,76a20,20,0,1,1,20,20H160ZM56,76a20,20,0,0,1,40,0V96H76A20,20,0,0,1,56,76ZM96,180a20,20,0,1,1-20-20H96Zm16-68h32v32H112Zm68,88a20,20,0,0,1-20-20V160h20a20,20,0,0,1,0,40Z" }))
40
- ],
41
- [
42
- "fill",
43
- /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M116,116h24v24H116ZM86,72a14,14,0,0,0,0,28h14V86A14,14,0,0,0,86,72Zm98,14a14,14,0,0,0-28,0v14h14A14,14,0,0,0,184,86ZM72,170a14,14,0,0,0,28,0V156H86A14,14,0,0,0,72,170ZM224,48V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48Zm-68,92V116h14a30,30,0,1,0-30-30v14H116V86a30,30,0,1,0-30,30h14v24H86a30,30,0,1,0,30,30V156h24v14a30,30,0,1,0,30-30Zm0,30a14,14,0,1,0,14-14H156Z" }))
44
- ],
45
- [
46
- "light",
47
- /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M180,146H158V110h22a34,34,0,1,0-34-34V98H110V76a34,34,0,1,0-34,34H98v36H76a34,34,0,1,0,34,34V158h36v22a34,34,0,1,0,34-34ZM158,76a22,22,0,1,1,22,22H158ZM54,76a22,22,0,0,1,44,0V98H76A22,22,0,0,1,54,76ZM98,180a22,22,0,1,1-22-22H98Zm12-70h36v36H110Zm70,92a22,22,0,0,1-22-22V158h22a22,22,0,0,1,0,44Z" }))
48
- ],
49
- [
50
- "regular",
51
- /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M180,144H160V112h20a36,36,0,1,0-36-36V96H112V76a36,36,0,1,0-36,36H96v32H76a36,36,0,1,0,36,36V160h32v20a36,36,0,1,0,36-36ZM160,76a20,20,0,1,1,20,20H160ZM56,76a20,20,0,0,1,40,0V96H76A20,20,0,0,1,56,76ZM96,180a20,20,0,1,1-20-20H96Zm16-68h32v32H112Zm68,88a20,20,0,0,1-20-20V160h20a20,20,0,0,1,0,40Z" }))
52
- ],
53
- [
54
- "thin",
55
- /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M180,148H156V108h24a32,32,0,1,0-32-32v24H108V76a32,32,0,1,0-32,32h24v40H76a32,32,0,1,0,32,32V156h40v24a32,32,0,1,0,32-32ZM156,76a24,24,0,1,1,24,24H156ZM52,76a24,24,0,0,1,48,0v24H76A24,24,0,0,1,52,76Zm48,104a24,24,0,1,1-24-24h24Zm8-72h40v40H108Zm72,96a24,24,0,0,1-24-24V156h24a24,24,0,0,1,0,48Z" }))
56
- ]
57
- ]), V = e.forwardRef((o, m) => /* @__PURE__ */ e.createElement(C, { ref: m, ...o, weights: G }));
58
- V.displayName = "CommandIcon";
59
- const s0 = ({
60
- className: o,
61
- open: m,
62
- onOpenChange: n = H,
63
- search: c = "",
64
- onSearchChange: Z = H,
65
- hotkey: i,
66
- placeholder: _ = "Search...",
67
- commands: s = []
68
- }) => {
69
- const h = S({ open: m, setOpen: n }), v = () => {
70
- n(!0);
71
- }, M = (t) => {
72
- N(() => {
73
- Z(t);
74
- });
75
- }, f = (t) => {
76
- var r, d;
77
- (d = (r = s.find((E) => E.id === t)) == null ? void 0 : r.onSelect) == null || d.call(r);
78
- };
79
- i && g(i, (t) => {
80
- t.preventDefault(), v();
81
- });
82
- const b = s.length > 0;
83
- return /* @__PURE__ */ a(
84
- y,
85
- {
86
- store: h,
87
- className: u("component-command-palette", o),
88
- backdrop: /* @__PURE__ */ a("div", { className: "component-command-palette__backdrop" }),
89
- unmountOnHide: !0,
90
- children: /* @__PURE__ */ l(
91
- F,
92
- {
93
- disclosure: h,
94
- focusLoop: !1,
95
- includesBaseElement: !1,
96
- resetValueOnHide: !0,
97
- value: c,
98
- setValue: M,
99
- selectedValue: "",
100
- setSelectedValue: f,
101
- children: [
102
- /* @__PURE__ */ l("header", { className: "component-command-palette__header", children: [
103
- /* @__PURE__ */ a(x, { className: "component-command-palette__header__icon" }),
104
- /* @__PURE__ */ a(
105
- O,
106
- {
107
- autoSelect: "always",
108
- className: "component-command-palette__input",
109
- type: "search",
110
- placeholder: _
111
- }
112
- ),
113
- /* @__PURE__ */ a(A, { className: "component-command-palette__close", children: "Esc" })
114
- ] }),
115
- b ? /* @__PURE__ */ a(w, { className: "component-command-palette__results", children: s.map(
116
- (t) => t.children ? /* @__PURE__ */ a(L, { command: t }, t.id) : /* @__PURE__ */ a(p, { command: t }, t.id)
117
- ) }) : /* @__PURE__ */ a("div", { className: "component-command-palette__empty", children: "No results found" })
118
- ]
119
- }
120
- )
121
- }
122
- );
123
- }, p = ({ command: o, className: m, render: n }) => {
124
- const c = o.icon || V;
125
- return /* @__PURE__ */ l(
126
- D,
127
- {
128
- className: u("component-command-palette__item", m),
129
- focusOnHover: !0,
130
- blurOnHoverEnd: !1,
131
- value: o.id,
132
- setValueOnClick: !1,
133
- render: n,
134
- children: [
135
- /* @__PURE__ */ a(c, { className: "component-command-palette__item__icon" }),
136
- /* @__PURE__ */ a("span", { className: "component-command-palette__item__label", children: o.label })
137
- ]
138
- }
139
- );
140
- }, L = ({ command: o }) => {
141
- var m;
142
- return /* @__PURE__ */ l(I, { className: "component-command-palette__group", children: [
143
- /* @__PURE__ */ a(
144
- p,
145
- {
146
- command: o,
147
- render: /* @__PURE__ */ a(k, { className: "component-command-palette__group__label" })
148
- }
149
- ),
150
- (m = o.children) == null ? void 0 : m.map((n) => /* @__PURE__ */ a(
151
- p,
152
- {
153
- className: "component-command-palette__group__item",
154
- command: n
155
- },
156
- n.id
157
- ))
158
- ] });
159
- };
1
+ import { DialogCommandPalette as t } from "./dialog.js";
2
+ import { CommandPalette as a } from "./static.js";
3
+ const e = Object.assign(t, {
4
+ Static: a
5
+ });
160
6
  export {
161
- L as CommandGroup,
162
- p as CommandItem,
163
- s0 as CommandPalette
7
+ e as CommandPalette
164
8
  };
@@ -1,24 +1,26 @@
1
1
  import { FC } from 'react';
2
2
  import { Command } from './types';
3
3
  import * as Ariakit from "@ariakit/react";
4
- interface CommandPaletteProps {
4
+ interface CommandPaletteItemProps {
5
+ command: Command;
6
+ className?: string;
7
+ }
8
+ export interface CommandPaletteProps {
9
+ disclosure?: Ariakit.DialogStore;
5
10
  className?: string;
6
- open?: boolean;
7
- onOpenChange?: (open: boolean) => void;
8
11
  search?: string;
9
12
  onSearchChange?: (query: string) => void;
10
- hotkey?: string;
11
13
  placeholder?: string;
12
14
  commands: Command[];
13
15
  suggestions?: Command[];
16
+ render?: {
17
+ item: FC<CommandPaletteItemProps>;
18
+ group: FC<CommandPaletteItemProps>;
19
+ };
14
20
  }
15
21
  export declare const CommandPalette: FC<CommandPaletteProps>;
16
- export declare const CommandItem: FC<{
17
- command: Command;
18
- className?: string;
22
+ export declare const CommandItem: FC<CommandPaletteItemProps & {
19
23
  render?: Ariakit.ComboboxItemProps["render"];
20
24
  }>;
21
- export declare const CommandGroup: FC<{
22
- command: Command;
23
- }>;
24
- export type { Command };
25
+ export declare const CommandGroup: FC<CommandPaletteItemProps>;
26
+ export {};