@wrdagency/blockout 1.0.23 → 1.0.25
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/{2NBKRL7C-Ds7w7Ay7.js → 2NBKRL7C-Cunv252F.js} +10 -10
- package/dist/{2RSXSRCN-BBEFwUiL.js → 2RSXSRCN-dNqvVCu5.js} +6 -6
- package/dist/{4CMBR7SL-_MPrTek0.js → 4CMBR7SL-Cf8t3EeF.js} +24 -24
- package/dist/{5JTVDSTH-Ci6OX9MK.js → 5JTVDSTH-zDMMKAyC.js} +4 -4
- package/dist/{5VQZOHHZ-DpLj3Rqp.js → 5VQZOHHZ-BbettT93.js} +1 -1
- package/dist/{6VRAQV3D-Cnyfi8tq.js → 6VRAQV3D-pLV6BqmA.js} +6 -6
- package/dist/{A3WPL2ZJ-1yF0wSQn.js → A3WPL2ZJ-DEsxy0M-.js} +2 -2
- package/dist/{BM6PGYQY-B6HfecNi.js → BM6PGYQY-g6WySwtg.js} +2 -2
- package/dist/{DG5U6ZEL-ETCdoLWP.js → DG5U6ZEL-9kCi_mGg.js} +3 -3
- package/dist/{EM5CXX6A-CW08TdIG.js → EM5CXX6A-BAj-o9Ka.js} +2 -2
- package/dist/{F5MUBM3I-CSfmQDAz.js → F5MUBM3I-AbDoeFd8.js} +17 -17
- package/dist/{G7GW6PWC-DtkamyQv.js → G7GW6PWC-DeYlSr7f.js} +56 -56
- package/dist/{IWEFDH56-UEiMfbRm.js → IWEFDH56-DLJvQd6v.js} +3 -3
- package/dist/{J2LQO3EC-TlCRyAh7.js → J2LQO3EC-Cevd6Bvq.js} +2 -2
- package/dist/{KFH4SEIX-D9qCWzyY.js → KFH4SEIX-JLk95eQA.js} +3 -3
- package/dist/{LMDWO4NN-BxsnVArz.js → LMDWO4NN-BfJb6my4.js} +29 -29
- package/dist/MAXQOH4L-DB7jDisS.js +564 -0
- package/dist/{MR26YJYP-BSJHEQsl.js → MR26YJYP-CDaPeerB.js} +33 -33
- package/dist/{MTZPJQMC-CNw1MVtu.js → MTZPJQMC-CraWj4on.js} +4 -4
- package/dist/{O2PQ2652-BxRvOru-.js → O2PQ2652-BCwdW7qA.js} +11 -11
- package/dist/{P7GR5CS5-CZKSJ9w8.js → P7GR5CS5-DbUZzAnv.js} +1 -1
- package/dist/{PFRGBC2K-6AvuBT5M.js → PFRGBC2K-DmHoUTiZ.js} +60 -60
- package/dist/{RS7LB2H4-DJkydTnE.js → RS7LB2H4-D1_VRecC.js} +6 -6
- package/dist/{RZ4GPYOB-DPUx6A2B.js → RZ4GPYOB-rG3RP8Xi.js} +5 -5
- package/dist/{S43UC3DV-D5IqpYPC.js → S43UC3DV-bOoyE-xW.js} +6 -6
- package/dist/{T7VMP3TM-DX7RU0Yc.js → T7VMP3TM-DZitNAMz.js} +17 -17
- package/dist/TIW3GMFC-DPiX149D.js +81 -0
- package/dist/{TP7N7UIH-CFp7Hh_A.js → TP7N7UIH-D_nR5wDv.js} +2 -2
- package/dist/{UQQRIHDV-D5fevAL1.js → UQQRIHDV-ULrGYPSq.js} +8 -8
- package/dist/{UYGDZTLQ-CEz9ajCa.js → UYGDZTLQ-CTQQ8oFQ.js} +2 -2
- package/dist/{VIIRIBF3-Co_vwgwZ.js → VIIRIBF3-C4pOScX8.js} +5 -5
- package/dist/{WMYDSCNQ-BIYNTVEx.js → WMYDSCNQ-qLZnyPON.js} +13 -13
- package/dist/{WYCIER3C-C_60hKUt.js → WYCIER3C-BJwD0YDE.js} +2 -2
- package/dist/YORGHBM4-6CReFG7i.js +54 -0
- package/dist/{YV4JVR4I-BLQoWp1E.js → YV4JVR4I-D8_aZ62q.js} +48 -48
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -0
- package/dist/assets/index22.css +1 -0
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/style10.css +1 -1
- package/dist/assets/style23.css +1 -1
- package/dist/assets/style25.css +1 -1
- package/dist/assets/style26.css +1 -1
- package/dist/assets/style27.css +1 -1
- package/dist/assets/style28.css +1 -0
- package/dist/assets/style6.css +1 -1
- package/dist/assets/style8.css +1 -1
- package/dist/assets/style9.css +1 -1
- package/dist/assets/styles5.css +1 -1
- package/dist/combobox-group-BCdU5rML.js +27 -0
- package/dist/combobox-popover-D5bLZY4d.js +95 -0
- package/dist/components/breadcrumbs/index.js +5 -5
- package/dist/components/button/icon.js +1 -1
- package/dist/components/button/row.js +4 -4
- package/dist/components/command-palette/index.d.ts +24 -0
- package/dist/components/command-palette/index.js +164 -0
- package/dist/components/command-palette/types.d.ts +10 -0
- package/dist/components/command-palette/types.js +1 -0
- package/dist/components/controls/base-popover-control/index.js +4 -4
- package/dist/components/controls/card-number-control/index.js +1 -1
- package/dist/components/controls/checkbox-control/index.js +1 -1
- package/dist/components/controls/choice-control/choice.js +1 -1
- package/dist/components/controls/choice-control/index.js +1 -1
- package/dist/components/controls/date-control/index.js +12 -13
- package/dist/components/controls/date-control/picker.js +5 -5
- package/dist/components/controls/list-control/item.js +1 -1
- package/dist/components/controls/recurrence-control/index.js +2 -2
- package/dist/components/controls/select-control/control.js +1 -1
- package/dist/components/controls/select-control/select.js +12 -11
- package/dist/components/controls/tag-control/ariakit-experimental.js +1081 -1162
- package/dist/components/controls/tag-control/index.js +9 -8
- package/dist/components/controls/tag-control/props.js +1 -1
- package/dist/components/controls/toggle-control/index.js +1 -1
- package/dist/components/controls/toggle-group-control/index.js +1 -1
- package/dist/components/data-form/status.js +1 -1
- package/dist/components/data-form/submit.js +1 -1
- package/dist/components/data-view/data/filter.js +4 -4
- package/dist/components/data-view/data/layout.js +7 -4
- package/dist/components/data-view/data/options.js +142 -102
- package/dist/components/data-view/index.d.ts +3 -2
- package/dist/components/data-view/index.js +1 -1
- package/dist/components/data-view/layouts/grid/group.js +11 -11
- package/dist/components/data-view/layouts/grid/item.js +4 -4
- package/dist/components/data-view/layouts/kanban/group.js +11 -11
- package/dist/components/data-view/layouts/kanban/item.js +4 -4
- package/dist/components/data-view/layouts/kanban/root.js +1 -1
- package/dist/components/data-view/layouts/list/group.js +11 -11
- package/dist/components/data-view/layouts/list/item.js +4 -4
- package/dist/components/data-view/layouts/table/empty.js +4 -4
- package/dist/components/data-view/layouts/table/group.js +28 -21
- package/dist/components/data-view/layouts/table/item.js +5 -5
- package/dist/components/data-view/layouts/table/root.js +4 -4
- package/dist/components/data-view/layouts/tile/empty.d.ts +2 -0
- package/dist/components/data-view/layouts/tile/empty.js +6 -0
- package/dist/components/data-view/layouts/tile/group.d.ts +2 -0
- package/dist/components/data-view/layouts/tile/group.js +58 -0
- package/dist/components/data-view/layouts/tile/index.d.ts +3 -0
- package/dist/components/data-view/layouts/tile/index.js +8 -0
- package/dist/components/data-view/layouts/tile/item.d.ts +2 -0
- package/dist/components/data-view/layouts/tile/item.js +81 -0
- package/dist/components/data-view/layouts/tile/root.d.ts +2 -0
- package/dist/components/data-view/layouts/tile/root.js +6 -0
- package/dist/components/data-view/parts/body/empty.js +1 -1
- package/dist/components/data-view/parts/body/index.js +6 -6
- package/dist/components/data-view/parts/controls/index.js +39 -39
- package/dist/components/data-view/parts/controls/search.js +4 -4
- package/dist/components/data-view/parts/filters/chip.js +1 -1
- package/dist/components/data-view/parts/filters/editor.js +3 -3
- package/dist/components/data-view/parts/filters/index.js +1 -1
- package/dist/components/data-view/parts/footer/actions.js +4 -4
- package/dist/components/data-view/parts/footer/index.js +4 -4
- package/dist/components/data-view/parts/footer/selection.js +4 -4
- package/dist/components/data-view/parts/view-control/index.js +4 -4
- package/dist/components/data-view/root.d.ts +5 -3
- package/dist/components/data-view/root.js +51 -47
- package/dist/components/data-view/slots/group/checkbox.js +5 -5
- package/dist/components/data-view/slots/group/context.js +1 -1
- package/dist/components/data-view/slots/group/header.d.ts +3 -0
- package/dist/components/data-view/slots/group/header.js +12 -0
- package/dist/components/data-view/slots/group/icon.js +1 -1
- package/dist/components/data-view/slots/group/index.js +3 -2
- package/dist/components/data-view/slots/group/label.js +1 -1
- package/dist/components/data-view/slots/index.js +3 -3
- package/dist/components/data-view/slots/item/actions.js +1 -1
- package/dist/components/data-view/slots/item/checkbox.js +4 -4
- package/dist/components/data-view/slots/item/depth.js +3 -3
- package/dist/components/data-view/slots/item/description.js +1 -1
- package/dist/components/data-view/slots/item/index.js +2 -2
- package/dist/components/data-view/slots/item/properties.js +2 -2
- package/dist/components/data-view/slots/item/relations.js +3 -3
- package/dist/components/data-view/slots/item/tags.js +1 -1
- package/dist/components/data-view/slots/item/thumbnail.js +1 -1
- package/dist/components/data-view/slots/item/title.js +1 -1
- package/dist/components/data-view/slots/item/util.js +2 -2
- package/dist/components/data-view/slots/property/field/editable.js +4 -4
- package/dist/components/data-view/slots/property/field/index.js +2 -2
- package/dist/components/data-view/slots/property/field/static.js +1 -1
- package/dist/components/data-view/slots/property/index.js +1 -1
- package/dist/components/data-view/slots/property/label.js +1 -1
- package/dist/components/data-view/slots/root/checkbox.js +4 -4
- package/dist/components/data-view/slots/root/context.d.ts +1 -0
- package/dist/components/data-view/slots/root/index.js +1 -1
- package/dist/components/data-view/types/view.d.ts +1 -1
- package/dist/components/dialog/index.d.ts +14 -0
- package/dist/components/dialog/index.js +72 -0
- package/dist/components/filesystem/file.js +1 -1
- package/dist/components/filesystem/folder.js +7 -6
- package/dist/components/filesystem/index.js +1 -1
- package/dist/components/filesystem/list.js +1 -1
- package/dist/components/filesystem/root.js +1 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.js +67 -63
- package/dist/components/menu/index.js +2 -2
- package/dist/components/menu/item.js +1 -1
- package/dist/components/menu/items/action.js +1 -1
- package/dist/components/menu/items/spacer.js +1 -1
- package/dist/components/menu/items/submenu.js +3 -3
- package/dist/components/menu/items/toggle.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/progress/index.js +1 -1
- package/dist/components/shell/index.js +1 -1
- package/dist/components/shell/pane.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/list.js +1 -1
- package/dist/components/tabs/panel.js +1 -1
- package/dist/components/tabs/root.js +1 -1
- package/dist/components/tabs/tab.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/tag/tag.js +1 -1
- package/dist/components/toolbar/divider.js +1 -1
- package/dist/components/toolbar/index.js +2 -2
- package/dist/components/toolbar/root.js +1 -1
- package/dist/components/window/index.js +2 -2
- package/dist/{composite-provider-K8zU8z0x.js → composite-provider-DFOFHro7.js} +2 -2
- package/dist/disclosure-provider-DIT2ijtk.js +10 -0
- package/dist/{filter-rHYsh8Gq.js → filter-DzrtcAfG.js} +3 -3
- package/dist/{index-Cn5kB2Fd.js → index-B5z_GwnD.js} +5 -5
- package/dist/{index-CXFb4Xny.js → index-Bp_FFk15.js} +16 -14
- package/dist/{index-DRiUXF8g.js → index-C8OctMj0.js} +3 -3
- package/dist/index.js +118 -112
- package/dist/{item-BZJ3JrHw.js → item-CGLYiEST.js} +2 -2
- package/dist/{menu-button-DBjUzoaw.js → menu-button-C-h3k7Gh.js} +26 -26
- package/dist/{menu-separator-H9l1SpSV.js → menu-separator-CuuhJPnR.js} +3 -3
- package/dist/{picker-aBRTIOUU.js → picker-BUCg1BqW.js} +4 -4
- package/dist/{popover-provider-xofWxUiu.js → popover-provider-BoZ9PI_r.js} +4 -4
- package/dist/primitives/index.d.ts +1 -1
- package/dist/primitives/index.js +14 -12
- package/dist/primitives/link/index.js +1 -1
- package/dist/primitives/popover/index.js +1 -1
- package/dist/primitives/popover/root.js +1 -1
- package/dist/primitives/popover/target.js +1 -1
- package/dist/primitives/popover/window.js +3 -3
- package/dist/primitives/scroll-area/index.js +1 -1
- package/dist/primitives/tooltip/index.js +1 -1
- package/dist/primitives/typography/index.d.ts +1 -0
- package/dist/primitives/typography/index.js +9 -7
- package/dist/primitives/typography/keyboard.d.ts +8 -0
- package/dist/primitives/typography/keyboard.js +33 -0
- package/dist/{select-popover-BuB2Ioa9.js → select-popover-DmN0T8PP.js} +46 -46
- package/dist/{select-value-C1gT40_5.js → select-value-DnWKxDD-.js} +2 -2
- package/dist/{style-C7eFpUVU.js → style-CWAa57kN.js} +1 -1
- package/dist/{style-DzV7-wks.js → style-D1AX7G7x.js} +1 -1
- package/dist/{tab-BbgJF9GJ.js → tab-BXGTM7Se.js} +4 -4
- package/dist/{tab-list-BvZvev5m.js → tab-list-BPSxHllS.js} +3 -3
- package/dist/{tab-panel-QxtN3GO3.js → tab-panel-fbUcLE4f.js} +7 -7
- package/dist/{tab-provider-T_g-bJwY.js → tab-provider-x586a8l7.js} +17 -17
- package/dist/{tag-remove-DVXj7CeY.js → tag-remove-BdHvB_5c.js} +37 -37
- package/dist/{toolbar-Bl6JBFO2.js → toolbar-hQ58P-Nk.js} +5 -5
- package/dist/{toolbar-separator-CN-A8iMa.js → toolbar-separator-CN00-jyc.js} +3 -3
- package/dist/{tooltip-arrow-DSk_atex.js → tooltip-arrow-BRJ4m2ZL.js} +36 -36
- package/package.json +1 -1
- package/dist/combobox-popover-DFcT6u90.js +0 -650
- package/dist/disclosure-provider-CX3wr_3W.js +0 -61
package/dist/assets/index16.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.component-filter-list{display:flex;flex-wrap:wrap;gap:1rem}.component-filter-list__add{display:flex;align-items:center;justify-content:center;gap:.5rem;font-size:.875rem;border-radius:var(--blockout__radius--sm);background-color:transparent;transition:background-color .25s ease,outline .25s ease,outline-offset .25s ease,border-color .25s ease,color .25s ease,box-shadow .25s ease;padding:.625rem;cursor:pointer}.component-filter-list__add>svg{width:1rem;height:1rem}.component-filter-list__add:hover{background-color:var(--blockout__colours__surface--300)}.component-filter-list__add:focus{background-color:var(--blockout__colours__surface--300);outline:1px solid var(--blockout__colours__outline);outline-offset:4px}.component-filter-chip{display:flex;align-items:center;border-radius:var(--blockout__radius--sm);background-color:var(--blockout__colours__surface--200);transition:background-color .25s ease,outline .25s ease,outline-offset .25s ease,border-color .25s ease,color .25s ease,box-shadow .25s ease;font-size:.875rem}.component-filter-chip__open{padding:.375rem .375rem .375rem .675rem;cursor:pointer}.component-filter-chip__open:focus{outline:none}.component-filter-chip:has(.component-filter-chip__open:hover){background-color:var(--blockout__colours__surface--300)}.component-filter-chip:has(.component-filter-chip__open:focus){background-color:var(--blockout__colours__surface--300);outline:1px solid var(--blockout__colours__outline);outline-offset:4px}.component-filter-chip__close{padding:.375rem;border-radius:var(--blockout__radius--xs);transition:background-color .25s ease;cursor:pointer;margin:.25rem}.component-filter-chip__close>svg{width:1rem;height:1rem}.component-filter-chip__close:hover{background-color:var(--blockout__colours__surface--300)}.component-filter-chip__close:focus{background-color:var(--blockout__colours__surface--300);outline:none}.component-filter-editor{display:flex;gap:.5rem}.component-filter-editor:has(.component-choice-control){flex-direction:column}.component-filter-editor__operator{width:fit-content}.component-filter-editor__value.component-text-control{width:min(75vw,15rem)}.component-filter-editor__value.component-number-control{width:min(75vw,5rem)}.component-filter-editor__value.component-date-control{width:min(75vw,12rem)}
|
package/dist/assets/index17.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.data-view-part-footer{position:sticky;bottom:0;z-index:10;background-color:var(--blockout__colours__surface--0);border-top:1px solid var(--blockout__colours__surface--300);padding:.75rem 0;display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:1.5rem;min-height:4.5rem}@media (max-width: 768px){.data-view-part-footer__selection{display:none!important}}.data-view-part-footer__selection{display:flex;align-items:center;flex-shrink:0;gap:.75rem}.data-view-part-footer__selection__checkbox{margin-left:.75rem}.data-view-part-footer__selection__count{font-size:.875rem;color:var(--blockout__colours__surface--600)}.data-view-part-footer__actions{display:flex;flex-shrink:0;gap:.75rem;margin-left:auto}.data-view-part-footer:has(.data-view-part-footer__pagination) .data-view-part-footer__actions,.data-view-part-footer:has(.data-view-part-footer__pagination) .data-view-part-footer__selection{flex-basis:33%}
|
package/dist/assets/index18.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.component-pagination{display:flex;align-items:center;gap:.75rem}.component-pagination__text{display:flex;align-items:baseline;gap:1ch;font-size:.875rem;color:var(--blockout__colours__surface--600)}.component-pagination__text__current,.component-pagination__text__total{color:var(--blockout__colours__surface--900)}
|
package/dist/assets/index19.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.component-
|
|
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}
|
package/dist/assets/index20.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.data-view-part-controls__wrapper{display:flex;flex-direction:column;gap:1rem}.data-view-part-controls{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem}.data-view-part-controls__search{width:20rem}.data-view-part-controls__search__clear{align-self:center;margin-right:.5rem}.data-view-part-controls__order,.data-view-part-controls__view{--button__icon: var(--blockout__colours__surface--500);--button__icon--hover: var(--blockout__colours__surface--500)}.data-view-part-controls__view__control{padding:.75rem}.data-view-part-controls__children{margin-left:auto}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.component-view-control{display:flex;flex-direction:column;gap:1.5rem}.component-view-control__row{display:flex;gap:1rem;align-items:end}.component-view-control__row__grow{flex-grow:1}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.primitive-scroll-area,.primitive-scroll-area__viewport{width:100%;height:100%}.primitive-scroll-area__viewport>div{display:block!important;min-width:initial!important}.primitive-scroll-area__bar{display:flex;-webkit-user-select:none;user-select:none;touch-action:none;padding:.25rem;transition:background .16s ease-out;z-index:200}.primitive-scroll-area__bar[data-orientation=vertical]{width:.75rem}.primitive-scroll-area__bar[data-orientation=horizontal]{flex-direction:column;height:.75rem}.primitive-scroll-area__thumb{flex:1;background:var(--blockout__colours__surface--300);border-radius:.75rem;position:relative}.primitive-scroll-area__bar[data-orientation=vertical] .primitive-scroll-area__thumb{width:100%}.primitive-scroll-area__bar[data-orientation=horizontal] .primitive-scroll-area__thumb{height:100%}.primitive-scroll-area__thumb:before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-width:44px;min-height:44px}.primitive-scroll-area__thumb:hover{background:var(--blockout__colours__surface--950)}
|
package/dist/assets/index6.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.component-
|
|
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}
|
package/dist/assets/index7.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.component-
|
|
1
|
+
.component-filesystem__list{display:flex;flex-direction:column;gap:.25rem}.component-filesystem__file,.component-filesystem__folder__line{display:flex;align-items:center;gap:.75rem;padding:.5rem;border-radius:var(--blockout__radius--md);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.component-filesystem__file__icon,.component-filesystem__folder__icon{width:1.25rem;height:1.25rem;fill:var(--blockout__colours__surface--500);flex-shrink:0}.component-filesystem__file{outline:0px solid transparent;outline-offset:0px;transition:background-color .25s ease,outline .25s ease,outline-offset .25s ease,border-color .25s ease,color .25s ease,box-shadow .25s ease}.component-filesystem__file:focus-within,.component-filesystem__file:focus{background-color:var(--blockout__colours__surface--100);outline:1px solid var(--blockout__colours__outline);outline-offset:4px}.component-filesystem__file__base{text-underline-offset:0;transition:color .15s ease,text-underline-offset .15s ease}.component-filesystem__file__name:focus{outline:none}a.component-filesystem__file__name:hover .component-filesystem__file__base,a.component-filesystem__file__name:focus .component-filesystem__file__base{text-decoration:underline;text-decoration-color:var(--blockout__colours__primary--500);text-decoration-thickness:1px;text-underline-offset:.25rem}.component-filesystem__file__extension{color:var(--blockout__colours__surface--400);font-size:.875rem;margin-left:.125rem}.component-filesystem__folder__line{width:100%;cursor:pointer;outline:0px solid transparent;outline-offset:0px;transition:background-color .25s ease,outline .25s ease,outline-offset .25s ease,border-color .25s ease,color .25s ease,box-shadow .25s ease}.component-filesystem__folder__line:hover{background-color:var(--blockout__colours__surface--100)}.component-filesystem__folder__line:focus{background-color:var(--blockout__colours__surface--100);outline:1px solid var(--blockout__colours__outline);outline-offset:4px}.component-filesystem__folder__children{padding-left:2rem;padding-top:.25rem}
|
package/dist/assets/index8.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
.component-progress{--component-progress__steps: 0;--component-progress__value: 0;--component-progress__min: 0;--component-progress__max: 1;--component-progress__step-width: max(.75rem, 3.5%);-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;display:flex;gap:.25rem;height:.25rem}.component-progress__step{position:relative;height:100%;width:2rem;border-radius:.5rem;background-color:var(--blockout__colours__surface--300);transition:background-color .15s ease,width .15s ease}.component-progress__step[data-phase=present]{width:3rem;background-color:var(--blockout__colours__primary--500)}.component-progress__step[data-phase=past]{background-color:var(--blockout__colours__surface--950)}.component-progress--indeterminate .component-progress__step{width:10rem;overflow:clip;background-color:var(--blockout__colours__surface--300)}.component-progress--indeterminate .component-progress__step:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;height:100%;width:100%;border-radius:.5rem;background-color:var(--blockout__colours__primary--500);animation:component-progress__indeterminate infinite 1s ease-in-out alternate-reverse}@keyframes component-progress__indeterminate{0%{left:-100%}to{left:100%}}
|
package/dist/assets/index9.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.component-
|
|
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}
|
package/dist/assets/style10.css
CHANGED
|
@@ -1 +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)}
|
package/dist/assets/style23.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.data-view-layout-list{display:flex;flex-direction:column;gap:.75rem}.data-view-layout-list:has(.data-view-layout-list__thumbnail){gap:1.25rem}.data-view-layout-list__empty{font-size:.875rem;font-weight:400;color:var(--blockout__colours__surface--400)}.data-view-layout-list__group__list{display:flex;flex-direction:column;gap:.5rem;padding:.75rem;padding-bottom:0}.data-view-layout-list__group__list:has(.data-view-layout-list__thumbnail){padding:1.25rem 0;padding-bottom:0;gap:1.25rem}.data-view-layout-list__group__header{display:flex;align-items:center;gap:.75rem;border-top:1px solid var(--blockout__colours__surface--300);border-bottom:1px solid var(--blockout__colours__surface--300);background-color:var(--blockout__colours__surface--100);padding:.75rem}.data-view-layout-list__group__heading{display:flex;align-items:center;gap:.5rem;font-weight:400;color:var(--blockout__colours__surface--700);font-size:.875rem}.data-view-layout-list__group__heading>svg{width:1.25rem;height:1.25rem;fill:var(--blockout__colours__surface--400);color:var(--blockout__colours__surface--400)}.data-view-layout-list__item{display:flex;gap:1rem;flex-wrap:wrap}.data-view-layout-list__thumbnail{background-color:var(--blockout__colours__surface--200);height:8rem;width:8rem;object-fit:cover;object-position:center;border-radius:var(--blockout__radius--lg)}.data-view-layout-list__depth__wrapper{display:flex}.data-view-layout-list__depth{flex-shrink:0;padding-right:.75rem;padding-left:2.25rem}.data-view-layout-list__depth>svg{fill:var(--blockout__colours__surface--400);width:1.25rem;height:1.25rem;transform:translateY(-.125rem)}.data-view-layout-list__content{flex-grow:1;padding:.5rem 0}.data-view-layout-list__item__header{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.data-view-layout-list__item__relations{padding-left:2.25rem;margin-top:1rem}.data-view-layout-list__item__description{
|
|
1
|
+
.data-view-layout-list{display:flex;flex-direction:column;gap:.75rem}.data-view-layout-list:has(.data-view-layout-list__thumbnail){gap:1.25rem}.data-view-layout-list__empty{font-size:.875rem;font-weight:400;color:var(--blockout__colours__surface--400)}.data-view-layout-list__group__list{display:flex;flex-direction:column;gap:.5rem;padding:.75rem;padding-bottom:0}.data-view-layout-list__group__list:has(.data-view-layout-list__thumbnail){padding:1.25rem 0;padding-bottom:0;gap:1.25rem}.data-view-layout-list__group__header{display:flex;align-items:center;gap:.75rem;border-top:1px solid var(--blockout__colours__surface--300);border-bottom:1px solid var(--blockout__colours__surface--300);background-color:var(--blockout__colours__surface--100);padding:.75rem}.data-view-layout-list__group__heading{display:flex;align-items:center;gap:.5rem;font-weight:400;color:var(--blockout__colours__surface--700);font-size:.875rem}.data-view-layout-list__group__heading>svg{width:1.25rem;height:1.25rem;fill:var(--blockout__colours__surface--400);color:var(--blockout__colours__surface--400)}.data-view-layout-list__item{display:flex;gap:1rem;flex-wrap:wrap}.data-view-layout-list__thumbnail{background-color:var(--blockout__colours__surface--200);height:8rem;width:8rem;object-fit:cover;object-position:center;border-radius:var(--blockout__radius--lg)}.data-view-layout-list__depth__wrapper{display:flex}.data-view-layout-list__depth{flex-shrink:0;padding-right:.75rem;padding-left:2.25rem}.data-view-layout-list__depth>svg{fill:var(--blockout__colours__surface--400);width:1.25rem;height:1.25rem;transform:translateY(-.125rem)}.data-view-layout-list__content{flex-grow:1;padding:.5rem 0}.data-view-layout-list__item__header{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.data-view-layout-list__item__relations{padding-left:2.25rem;margin-top:1rem}.data-view-layout-list__item__description{margin-top:.5rem}.data-view-layout-list__item__properties{display:flex;gap:1rem 2rem;flex-wrap:wrap;margin-top:.5rem}.data-view-layout-list__item__properties__item{color:var(--blockout__colours__surface--500)}.data-view-layout-list__group:has(.data-view-layout-list__group__checkbox) .data-view-layout-list__item__properties,.data-view-layout-list__group:has(.data-view-layout-list__group__checkbox) .data-view-layout-list__item__description{padding-left:2.25rem}
|
package/dist/assets/style25.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.data-view-
|
|
1
|
+
.data-view-layout-tile{display:flex;flex-direction:column;gap:1.25rem}.data-view-layout-tile__group{display:flex;flex-direction:column;gap:1rem}.data-view-layout-tile__empty{font-size:.875rem;font-weight:400;color:var(--blockout__colours__surface--400)}.data-view-layout-tile__group__header{display:flex;align-items:center;gap:.75rem;border-top:1px solid var(--blockout__colours__surface--300);border-bottom:1px solid var(--blockout__colours__surface--300);background-color:var(--blockout__colours__surface--100);padding:.75rem}.data-view-layout-tile__group__heading{display:flex;align-items:center;gap:.5rem;font-weight:400;color:var(--blockout__colours__surface--700);font-size:.875rem}.data-view-layout-tile__group__heading>svg{width:1.25rem;height:1.25rem;fill:var(--blockout__colours__surface--400);color:var(--blockout__colours__surface--400)}.data-view-layout-tile__group__items{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(15rem,1fr))}.data-view-layout-item__item{position:relative;border-radius:var(--blockout__radius--md);border:1px solid var(--blockout__colours__surface--200);overflow:clip;width:100%;height:auto;aspect-ratio:1/1}.data-view-layout-item__item .data-view-layout-item__item__media{width:100%;height:100%;background:var(--blockout__colours__surface--100)}.data-view-layout-item__item .data-view-layout-item__item__media .data-view-layout-item__item__thumbnail{width:100%;height:100%;object-fit:contain}.data-view-layout-item__item .data-view-layout-item__item__media .data-view-layout-item__item__checkbox{position:absolute;top:.5rem;left:.5rem;background:var(--blockout__colours__surface--0)}.data-view-layout-item__item .data-view-layout-item__item__media .data-view-layout-item__item__actions{position:absolute;top:.5rem;right:.5rem;background:var(--blockout__colours__surface--0)}.data-view-layout-item__item .data-view-layout-item__item__caption{display:flex;flex-direction:column;gap:.375rem;position:absolute;bottom:0;left:0;right:0;padding:2rem 1.25rem 1rem;background:linear-gradient(to top,var(--blockout__colours__surface--950),transparent);color:var(--blockout__colours__surface--0)}.data-view-layout-item__item .data-view-layout-item__item__caption .data-view-layout-item__item__header{display:flex;align-items:start;gap:.675rem;flex-wrap:wrap-reverse}.data-view-layout-item__item .data-view-layout-item__item__caption .data-view-layout-item__item__header .primitive-tooltip{max-width:100%}.data-view-layout-item__item .data-view-layout-item__item__caption .data-view-layout-item__item__header .data-view-layout-item__item__title{color:var(--blockout__colours__surface--0);font-size:1rem;font-weight:600;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.data-view-layout-item__item .data-view-layout-item__item__caption .data-view-layout-item__item__header .data-view-layout-item__item__tags{display:flex;gap:.5rem;flex-wrap:wrap}.data-view-layout-item__item .data-view-layout-item__item__caption .data-view-layout-item__item__properties{display:flex;align-items:basline;gap:1.5rem .75rem;flex-wrap:wrap}.data-view-layout-item__item .data-view-layout-item__item__caption .data-view-layout-item__item__properties .data-view-layout-item__item__property{color:var(--blockout__colours__surface--300);font-size:.75rem}
|
package/dist/assets/style26.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.data-view-part-field__editable{position:relative;border-radius:var(--blockout__radius--xs);outline:.5rem solid transparent;cursor:pointer;width:fit-content;height:1.5rem;transition:background-color .15s ease,outline .15s ease}.data-view-part-field__editable:hover{background-color:var(--blockout__colours__surface--200);outline:.25rem solid var(--blockout__colours__surface--200)}.data-view-slot__item__parent{display:flex;gap:.675rem;align-items:center}.data-view-slot__item__parent__label{font-weight:400;font-size:.875rem;color:var(--blockout__colours__surface--950);background-color:var(--blockout__colours__surface--200);padding:.125rem .5rem;border-radius:var(--blockout__radius--xs);white-space:nowrap;flex-shrink:0;outline:.125rem solid var(--blockout__colours__surface--0)}.data-view-slot__item__parent__name,.data-view-slot__item__parent__name__link{min-width:0}.data-view-slot__item__children{display:flex;gap:.75rem}.data-view-slot__item__children>svg{fill:var(--blockout__colours__surface--400);width:1.25rem;height:1.25rem}.data-view-slot__item__children__list{display:flex;flex-direction:column;gap:.5rem;padding-top:.25rem}
|
package/dist/assets/style27.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.component-
|
|
1
|
+
.component-card-number-control .component-base-control__control{display:flex;align-items:baseline}.component-card-number-control__card{height:1.5rem;width:auto;align-self:center;margin-right:var(--base-control__padding);border-radius:4px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.component-recurrence-control .component-base-popover-control__popover{min-width:300px}.component-recurrence-control__row{display:flex;align-items:center;gap:1rem;flex-grow:1}.component-recurrence-control__row:not(:first-child){margin-top:1rem}.component-recurrence-control__row .component-base-control{flex-grow:1}.component-recurrence-control__fieldset{display:flex;flex-direction:column;gap:1rem}.component-recurrence-control__frequency_type{display:flex;align-items:center;gap:1ch}.component-recurrence-control__frequency_type:not(:first-child){margin-top:1rem}.component-recurrence-control__frequency_type .component-recurrence-control__row{margin-top:0}.component-recurrence-control__radio{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;cursor:pointer;border-radius:var(--blockout__radius--xs);outline-offset:0px;outline:0px solid transparent;transition:outline .25s ease,outline-offset .25s ease,background-color .25s ease}.component-recurrence-control__radio>svg{width:1rem;height:1rem}.component-recurrence-control__radio:hover{background-color:var(--blockout__colours__surface--300)}.component-recurrence-control__radio:focus{outline:1px solid var(--blockout__colours__outline);outline-offset:4px}
|
package/dist/assets/style6.css
CHANGED
|
@@ -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)}
|
|
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}
|
package/dist/assets/style8.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.primitive-link{width:fit-content}
|
package/dist/assets/style9.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.component-
|
|
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)}
|
package/dist/assets/styles5.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.component-toggle-group-control .component-base-control__box{background:none;border:none}.component-toggle-group-control__options{display:flex;overflow:hidden;border-radius:var(--blockout__radius--md);background-color:var(--blockout__colours__surface--100);padding:.25rem;gap:.25rem}.component-toggle-group-control__option{display:flex;justify-content:center;flex-direction:column;padding:calc(var(--base-control__padding) - .5rem) var(--base-control__padding);min-height:calc(var(--base-control__min-height) - .5rem);min-width:calc(var(--base-control__min-height) - .5rem);width:100%;color:var(--blockout__colours__surface--800);border-radius:calc(var(--blockout__radius--md) - .25rem);font-size:1rem;font-weight:500;flex-basis:50%;cursor:pointer;position:relative;transition:color .25s ease,background-color .25s ease;background-color:transparent;color:var(--blockout__colours__surface--500)}.component-toggle-group-control__option__label{display:flex;align-items:center;justify-content:center;text-align:center;gap:.5rem;font-weight:500}.component-toggle-group-control__option__label>svg{width:1.25rem;height:1.25rem}.component-toggle-group-control__option__description{font-weight:400;color:var(--blockout__colours__surface--500);font-size:.875rem}.component-toggle-group-control__option:has(:checked){background-color:var(--blockout__colours__surface--0);color:var(--blockout__colours__surface--950);z-index:2}.component-toggle-group-control__option:has(:disabled){background-color:var(--blockout__colours__surface--300);color:var(--blockout__colours__surface--500);cursor:default}.component-toggle-group-control__options:not(:has(.component-toggle-group-control__option__input:not(:disabled))){background-color:var(--blockout__colours__surface--300);border-color:var(--blockout__colours__surface--300);color:var(--blockout__colours__surface--500)}
|
|
1
|
+
.component-toggle-group-control .component-base-control__box{background:none;border:none}.component-toggle-group-control__options{display:flex;overflow:hidden;border-radius:var(--blockout__radius--md);background-color:var(--blockout__colours__surface--100);padding:.25rem;gap:.25rem}.component-toggle-group-control__option{display:flex;justify-content:center;flex-direction:column;padding:calc(var(--base-control__padding) - .5rem) var(--base-control__padding);min-height:calc(var(--base-control__min-height) - .5rem);min-width:calc(var(--base-control__min-height) - .5rem);width:100%;color:var(--blockout__colours__surface--800);border-radius:calc(var(--blockout__radius--md) - .25rem);font-size:1rem;font-weight:500;flex-basis:50%;cursor:pointer;position:relative;transition:color .25s ease,background-color .25s ease;background-color:transparent;color:var(--blockout__colours__surface--500)}.component-toggle-group-control__option__label{display:flex;align-items:center;justify-content:center;text-align:center;gap:.5rem;font-weight:500}.component-toggle-group-control__option__label>svg{width:1.25rem;height:1.25rem;flex-shrink:0}.component-toggle-group-control__option__description{font-weight:400;color:var(--blockout__colours__surface--500);font-size:.875rem}.component-toggle-group-control__option:has(:checked){background-color:var(--blockout__colours__surface--0);color:var(--blockout__colours__surface--950);z-index:2}.component-toggle-group-control__option:has(:disabled){background-color:var(--blockout__colours__surface--300);color:var(--blockout__colours__surface--500);cursor:default}.component-toggle-group-control__options:not(:has(.component-toggle-group-control__option__input:not(:disabled))){background-color:var(--blockout__colours__surface--300);border-color:var(--blockout__colours__surface--300);color:var(--blockout__colours__surface--500)}
|
|
@@ -0,0 +1,27 @@
|
|
|
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";
|
|
4
|
+
var f = "div", G = n(function(o) {
|
|
5
|
+
return o = c(o), o;
|
|
6
|
+
}), w = u(function(o) {
|
|
7
|
+
const e = G(o);
|
|
8
|
+
return p(f, e);
|
|
9
|
+
}), d = "div", _ = n(
|
|
10
|
+
function(o) {
|
|
11
|
+
var e = o, { store: r } = e, t = C(e, ["store"]);
|
|
12
|
+
const b = v();
|
|
13
|
+
r = r || b, l(
|
|
14
|
+
r,
|
|
15
|
+
process.env.NODE_ENV !== "production" && "ComboboxRow must be wrapped in a ComboboxList or ComboboxPopover component"
|
|
16
|
+
);
|
|
17
|
+
const m = r.useState("contentElement");
|
|
18
|
+
return x(m) === "grid" && (t = s({ role: "rowgroup" }, t)), t = i(s({ store: r }, t)), t;
|
|
19
|
+
}
|
|
20
|
+
), N = u(function(o) {
|
|
21
|
+
const e = _(o);
|
|
22
|
+
return p(d, e);
|
|
23
|
+
});
|
|
24
|
+
export {
|
|
25
|
+
N as C,
|
|
26
|
+
w as a
|
|
27
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
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";
|
|
6
|
+
import { useRef as j } from "react";
|
|
7
|
+
var B = "div";
|
|
8
|
+
function N(l, ...u) {
|
|
9
|
+
if (!l) return !1;
|
|
10
|
+
if ("id" in l) {
|
|
11
|
+
const n = u.filter(Boolean).map((e) => `[aria-controls~="${e}"]`).join(", ");
|
|
12
|
+
return n ? l.matches(n) : !1;
|
|
13
|
+
}
|
|
14
|
+
return !1;
|
|
15
|
+
}
|
|
16
|
+
var $ = F(
|
|
17
|
+
function(u) {
|
|
18
|
+
var n = u, {
|
|
19
|
+
store: e,
|
|
20
|
+
modal: p,
|
|
21
|
+
tabIndex: A,
|
|
22
|
+
alwaysVisible: b,
|
|
23
|
+
autoFocusOnHide: h = !0,
|
|
24
|
+
hideOnInteractOutside: d = !0
|
|
25
|
+
} = n, s = w(n, [
|
|
26
|
+
"store",
|
|
27
|
+
"modal",
|
|
28
|
+
"tabIndex",
|
|
29
|
+
"alwaysVisible",
|
|
30
|
+
"autoFocusOnHide",
|
|
31
|
+
"hideOnInteractOutside"
|
|
32
|
+
]);
|
|
33
|
+
const x = C();
|
|
34
|
+
e = e || x, D(
|
|
35
|
+
e,
|
|
36
|
+
process.env.NODE_ENV !== "production" && "ComboboxPopover must receive a `store` prop or be wrapped in a ComboboxProvider component."
|
|
37
|
+
);
|
|
38
|
+
const E = e.useState("baseElement"), m = j(!1), O = S(
|
|
39
|
+
e.tag,
|
|
40
|
+
(o) => o == null ? void 0 : o.renderedItems.length
|
|
41
|
+
);
|
|
42
|
+
return s = y(v({ store: e, alwaysVisible: b }, s)), s = g(H(v({
|
|
43
|
+
store: e,
|
|
44
|
+
modal: p,
|
|
45
|
+
alwaysVisible: b,
|
|
46
|
+
backdrop: !1,
|
|
47
|
+
autoFocusOnShow: !1,
|
|
48
|
+
finalFocus: E,
|
|
49
|
+
preserveTabOrderAnchor: null,
|
|
50
|
+
unstable_treeSnapshotKey: O
|
|
51
|
+
}, s), {
|
|
52
|
+
// When the combobox popover is modal, we make sure to include the
|
|
53
|
+
// combobox input and all the combobox controls (cancel, disclosure) in
|
|
54
|
+
// the list of persistent elements so they make part of the modal context,
|
|
55
|
+
// allowing users to tab through them.
|
|
56
|
+
getPersistentElements() {
|
|
57
|
+
var o;
|
|
58
|
+
const r = ((o = s.getPersistentElements) == null ? void 0 : o.call(s)) || [];
|
|
59
|
+
if (!p || !e) return r;
|
|
60
|
+
const { contentElement: a, baseElement: t } = e.getState();
|
|
61
|
+
if (!t) return r;
|
|
62
|
+
const f = V(t), i = [];
|
|
63
|
+
if (a != null && a.id && i.push(`[aria-controls~="${a.id}"]`), t != null && t.id && i.push(`[aria-controls~="${t.id}"]`), !i.length) return [...r, t];
|
|
64
|
+
const c = i.join(","), _ = f.querySelectorAll(c);
|
|
65
|
+
return [...r, ..._];
|
|
66
|
+
},
|
|
67
|
+
// The combobox popover should focus on the combobox input when it hides,
|
|
68
|
+
// unless the event was triggered by a click outside the popover, in which
|
|
69
|
+
// case the input shouldn't be re-focused.
|
|
70
|
+
autoFocusOnHide(o) {
|
|
71
|
+
return R(h, o) ? !1 : m.current ? (m.current = !1, !1) : !0;
|
|
72
|
+
},
|
|
73
|
+
// Make sure we don't hide the popover when the user interacts with the
|
|
74
|
+
// combobox cancel or the combobox disclosure buttons. They will have the
|
|
75
|
+
// aria-controls attribute pointing to either the combobox input or the
|
|
76
|
+
// combobox popover elements.
|
|
77
|
+
hideOnInteractOutside(o) {
|
|
78
|
+
var r, a;
|
|
79
|
+
const t = e == null ? void 0 : e.getState(), f = (r = t == null ? void 0 : t.contentElement) == null ? void 0 : r.id, i = (a = t == null ? void 0 : t.baseElement) == null ? void 0 : a.id;
|
|
80
|
+
if (N(o.target, f, i)) return !1;
|
|
81
|
+
const c = typeof d == "function" ? d(o) : d;
|
|
82
|
+
return c && (m.current = o.type === "click"), c;
|
|
83
|
+
}
|
|
84
|
+
})), s;
|
|
85
|
+
}
|
|
86
|
+
), J = P(
|
|
87
|
+
I(function(u) {
|
|
88
|
+
const n = $(u);
|
|
89
|
+
return k(B, n);
|
|
90
|
+
}),
|
|
91
|
+
C
|
|
92
|
+
);
|
|
93
|
+
export {
|
|
94
|
+
J as C
|
|
95
|
+
};
|
|
@@ -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-
|
|
18
|
-
import { C as l } from "../../5JTVDSTH-
|
|
19
|
-
import { C as d } from "../../J2LQO3EC-
|
|
20
|
-
import { C as b } from "../../6VRAQV3D-
|
|
21
|
-
import { C as f } from "../../TP7N7UIH-
|
|
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";
|
|
22
22
|
const D = ({
|
|
23
23
|
crumbs: m,
|
|
24
24
|
separator: e = /* @__PURE__ */ r(n, {}),
|
|
@@ -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/
|
|
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 */
|
|
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-
|
|
5
|
-
import { C as n } from "../../5JTVDSTH-
|
|
6
|
-
import { C as s } from "../../J2LQO3EC-
|
|
7
|
-
import { C as a } from "../../6VRAQV3D-
|
|
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";
|
|
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,24 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { Command } from './types';
|
|
3
|
+
import * as Ariakit from "@ariakit/react";
|
|
4
|
+
interface CommandPaletteProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
open?: boolean;
|
|
7
|
+
onOpenChange?: (open: boolean) => void;
|
|
8
|
+
search?: string;
|
|
9
|
+
onSearchChange?: (query: string) => void;
|
|
10
|
+
hotkey?: string;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
commands: Command[];
|
|
13
|
+
suggestions?: Command[];
|
|
14
|
+
}
|
|
15
|
+
export declare const CommandPalette: FC<CommandPaletteProps>;
|
|
16
|
+
export declare const CommandItem: FC<{
|
|
17
|
+
command: Command;
|
|
18
|
+
className?: string;
|
|
19
|
+
render?: Ariakit.ComboboxItemProps["render"];
|
|
20
|
+
}>;
|
|
21
|
+
export declare const CommandGroup: FC<{
|
|
22
|
+
command: Command;
|
|
23
|
+
}>;
|
|
24
|
+
export type { Command };
|
|
@@ -0,0 +1,164 @@
|
|
|
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
|
+
};
|
|
160
|
+
export {
|
|
161
|
+
L as CommandGroup,
|
|
162
|
+
p as CommandItem,
|
|
163
|
+
s0 as CommandPalette
|
|
164
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|