@wrdagency/blockout 1.0.27 → 1.0.30
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-M2oB5mLz.js → 2NBKRL7C-DBbnghCe.js} +16 -16
- package/dist/{2RSXSRCN-BtBMZ8Lx.js → 2RSXSRCN-BxQ_v-Je.js} +15 -15
- package/dist/{4CMBR7SL-C-0Aig1V.js → 4CMBR7SL-DezfZPUS.js} +18 -18
- package/dist/{5JTVDSTH-BOGL3M3F.js → 5JTVDSTH-CZ7mfyUK.js} +4 -4
- package/dist/{5VQZOHHZ-DADExXg7.js → 5VQZOHHZ-DLX-ulBK.js} +1 -1
- package/dist/{6VRAQV3D-pTuMqsWW.js → 6VRAQV3D-BYmT0QTl.js} +6 -6
- package/dist/{A3WPL2ZJ-BiXYGxnE.js → A3WPL2ZJ-24tGIJIQ.js} +2 -2
- package/dist/{BM6PGYQY-DL-j4NGc.js → BM6PGYQY-DCbkDr5N.js} +2 -2
- package/dist/{DG5U6ZEL-Bn6QlO7C.js → DG5U6ZEL-DB0iwihy.js} +3 -3
- package/dist/{EM5CXX6A-B4C-NFJy.js → EM5CXX6A-B4ZS4Hs_.js} +2 -2
- package/dist/{F5MUBM3I-D6cacg-c.js → F5MUBM3I-75qY3y0N.js} +9 -9
- package/dist/{G7GW6PWC-C6qSYISF.js → G7GW6PWC-Dk4hVbAk.js} +74 -74
- package/dist/{IWEFDH56-Da7lGcXC.js → IWEFDH56-BACkQ6dc.js} +3 -3
- package/dist/{J2LQO3EC-XUQS0UAH.js → J2LQO3EC-BXJIaM2U.js} +2 -2
- package/dist/JMHAJKUZ-D5KCN1Aj.js +114 -0
- package/dist/{KFH4SEIX-C-0wHvda.js → KFH4SEIX-DaQeP5D_.js} +3 -3
- package/dist/{LMDWO4NN-ZnclRjpA.js → LMDWO4NN-CpSMaD5G.js} +21 -21
- package/dist/MAXQOH4L-BYWBWXpb.js +459 -0
- package/dist/{MR26YJYP-CWddku_H.js → MR26YJYP-CTh6rCwA.js} +39 -39
- package/dist/{MTZPJQMC-CNgogsHX.js → MTZPJQMC-D2i4-LA_.js} +2 -2
- package/dist/{O2PQ2652-DkPiHeUQ.js → O2PQ2652-DIoegIkE.js} +3 -3
- package/dist/{P7GR5CS5-bOyAbBNR.js → P7GR5CS5-3RsPGPTy.js} +1 -1
- package/dist/{PFRGBC2K-BS9YO5-Q.js → PFRGBC2K-BdRJd-gU.js} +16 -16
- package/dist/{RS7LB2H4-BpSl1D2T.js → RS7LB2H4-COOfOq9w.js} +1 -1
- package/dist/{RZ4GPYOB-D4dwmRZg.js → RZ4GPYOB-CovncfhJ.js} +5 -5
- package/dist/{S43UC3DV-BVbmEy3J.js → S43UC3DV-HCi6u_G4.js} +8 -8
- package/dist/{T7VMP3TM-BnzhAoaO.js → T7VMP3TM-C8D6mVva.js} +21 -21
- package/dist/{TIW3GMFC-C4Bh_hzw.js → TIW3GMFC-BF0w2_9R.js} +4 -4
- package/dist/{TP7N7UIH-Bs0NX7lb.js → TP7N7UIH-C4jXJDlO.js} +2 -2
- package/dist/{UQQRIHDV-C_0T8mGy.js → UQQRIHDV-DEGlgATx.js} +8 -8
- package/dist/{UYGDZTLQ-BDhCZlZ2.js → UYGDZTLQ-HiDKLOW5.js} +2 -2
- package/dist/{VIIRIBF3-CQdc2eWO.js → VIIRIBF3-B-djNAU9.js} +3 -3
- package/dist/{WMYDSCNQ-J1-TanSP.js → WMYDSCNQ-pGjWB-Pk.js} +6 -6
- package/dist/{WYCIER3C-CABEZy1i.js → WYCIER3C-CxfgpZG_.js} +2 -2
- package/dist/{YORGHBM4-B1RRY_xR.js → YORGHBM4-D_fOXG5Y.js} +1 -1
- package/dist/{YV4JVR4I-BuKFdNa0.js → YV4JVR4I-CQnJhUSg.js} +38 -38
- package/dist/assets/button.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/static.css +1 -1
- package/dist/assets/style.css +1 -1
- package/dist/assets/style16.css +1 -1
- package/dist/assets/style25.css +1 -1
- package/dist/assets/style6.css +1 -1
- package/dist/{combobox-group-Q7OatWHm.js → combobox-group-hNvv1WJm.js} +3 -3
- package/dist/{combobox-popover-CDfaOt6J.js → combobox-popover-BZ_1wNrj.js} +5 -5
- package/dist/components/avatar/index.d.ts +2 -2
- package/dist/components/avatar/index.js +20 -18
- package/dist/components/breadcrumbs/index.js +5 -5
- package/dist/components/button/row.js +4 -4
- package/dist/components/command-palette/dialog.js +2 -2
- package/dist/components/command-palette/index.js +5 -3
- package/dist/components/command-palette/presets.d.ts +4 -0
- package/dist/components/command-palette/presets.js +10 -0
- package/dist/components/command-palette/static.d.ts +4 -11
- package/dist/components/command-palette/static.js +43 -124
- package/dist/components/controls/base-popover-control/index.js +3 -3
- package/dist/components/controls/date-control/index.js +1 -1
- package/dist/components/controls/date-control/picker.js +5 -5
- package/dist/components/controls/select-control/control.js +23 -23
- package/dist/components/controls/select-control/props.d.ts +2 -2
- package/dist/components/controls/select-control/select.js +79 -67
- package/dist/components/controls/tag-control/ariakit-experimental.js +1102 -1115
- package/dist/components/controls/tag-control/index.js +8 -7
- package/dist/components/dialog/index.js +2 -2
- package/dist/components/filesystem/file.js +1 -1
- package/dist/components/filesystem/folder.js +5 -5
- package/dist/components/filesystem/list.js +1 -1
- package/dist/components/filesystem/root.js +1 -1
- package/dist/components/index.d.ts +1 -1
- 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/shell/index.js +14 -12
- package/dist/components/shell/navigation-separator.d.ts +6 -0
- package/dist/components/shell/navigation-separator.js +14 -0
- package/dist/components/shell/sidebar-item.d.ts +5 -4
- package/dist/components/shell/sidebar-item.js +25 -19
- 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/toolbar/divider.js +1 -1
- package/dist/components/toolbar/index.js +1 -1
- package/dist/components/toolbar/root.js +1 -1
- package/dist/components/window/index.js +1 -1
- package/dist/{composite-provider-VHhinf1k.js → composite-provider-BPIeS4Cg.js} +2 -2
- package/dist/{disclosure-provider-BUQRx-hY.js → disclosure-provider-cEVysvZT.js} +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +76 -55
- package/dist/{item-PTynqLvp.js → item-CmTk8eHD.js} +2 -2
- package/dist/{menu-button-RmWWFvwE.js → menu-button-GQO5dB3U.js} +12 -12
- package/dist/{menu-separator-DgYHkDAA.js → menu-separator-Z6pSHpX5.js} +3 -3
- package/dist/{picker-DioIiYC0.js → picker-DyJogHYh.js} +4 -4
- package/dist/{popover-provider-HlPXIcud.js → popover-provider-BJEfhgr1.js} +2 -2
- package/dist/presets-BDIhXP0C.js +148 -0
- package/dist/primitives/icon-label/index.d.ts +2 -0
- package/dist/primitives/icon-label/index.js +18 -14
- package/dist/primitives/link/index.d.ts +3 -1
- package/dist/primitives/link/index.js +25 -24
- package/dist/primitives/nav-link/index.d.ts +4 -3
- package/dist/primitives/nav-link/index.js +21 -17
- package/dist/primitives/popover/root.d.ts +2 -3
- 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/tooltip/index.d.ts +2 -0
- package/dist/primitives/tooltip/index.js +36 -24
- package/dist/select-popover-CGgkyRb4.js +559 -0
- package/dist/{select-value-3BLrBdZV.js → select-value-B3DYk9eV.js} +2 -2
- package/dist/{tab-CKUPUgQ2.js → tab-DejwS4C8.js} +4 -4
- package/dist/{tab-list-CzsRzSiN.js → tab-list-CndMWcVv.js} +3 -3
- package/dist/{tab-panel-YGzJnU1g.js → tab-panel-DedzuWUA.js} +7 -7
- package/dist/{tab-provider-CV8qTybg.js → tab-provider-B0BoLfST.js} +6 -6
- package/dist/{tag-remove-DmlHu_9b.js → tag-remove-Dz-sGbyZ.js} +24 -24
- package/dist/{toolbar-BlVhTG5v.js → toolbar-PSaF1mdF.js} +5 -5
- package/dist/{toolbar-separator-liolx0p8.js → toolbar-separator-DJHiHbGj.js} +3 -3
- package/dist/{tooltip-arrow-CjZ1x0xv.js → tooltip-arrow-BVwULA6B.js} +17 -17
- package/dist/types/options.d.ts +14 -0
- package/dist/types/options.js +44 -12
- package/dist/utils/index.d.ts +8 -0
- package/dist/utils/index.js +23 -0
- package/package.json +1 -1
- package/dist/MAXQOH4L-lpuvS1NR.js +0 -564
- package/dist/select-popover-P8y2n3bQ.js +0 -542
package/dist/assets/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.primitive-icon-label{--icon-label__gap: .5rem;--icon-label__icon-size: 1.25rem;--icon-label__icon-offset: .125rem;--icon-label__font-size: 1rem;--icon-label__font-weight: 400;--icon-label__icon-colour: var(--blockout__colours__surface--600);--icon-label__text-colour: var(--blockout__colours__surface--950);display:flex;align-items:start;gap:var(--icon-label__gap);font-size:var(--icon-label__font-size);font-weight:var(--icon-label__font-weight);color:var(--icon-label__text-colour)}.primitive-icon-label>svg{width:var(--icon-label__icon-size)!important;height:var(--icon-label__icon-size)!important;fill:var(--icon-label__icon-colour);color:var(--icon-label__icon-colour);flex-shrink:0;position:relative;top:var(--icon-label__icon-offset)}.primitive-icon-label--variant-soft{--icon-label__font-weight:
|
|
1
|
+
.primitive-icon-label{--icon-label__gap: .5rem;--icon-label__icon-size: 1.25rem;--icon-label__icon-offset: .125rem;--icon-label__font-size: 1rem;--icon-label__font-weight: 400;--icon-label__icon-colour: var(--blockout__colours__surface--600);--icon-label__text-colour: var(--blockout__colours__surface--950);display:flex;align-items:start;gap:var(--icon-label__gap);font-size:var(--icon-label__font-size);font-weight:var(--icon-label__font-weight);color:var(--icon-label__text-colour)}.primitive-icon-label>svg{width:var(--icon-label__icon-size)!important;height:var(--icon-label__icon-size)!important;fill:var(--icon-label__icon-colour);color:var(--icon-label__icon-colour);flex-shrink:0;position:relative;top:var(--icon-label__icon-offset)}.primitive-icon-label--flip{flex-direction:row-reverse}.primitive-icon-label--between{justify-content:space-between}.primitive-icon-label--variant-soft{--icon-label__font-weight: 500;--icon-label__icon-colour: var(--blockout__colours__surface--400);--icon-label__text-colour: var(--blockout__colours__surface--600)}.primitive-icon-label--variant-strong{--icon-label__font-weight: 500;--icon-label__icon-colour: var(--blockout__colours__surface--600);--icon-label__text-colour: var(--blockout__colours__surface--950)}.primitive-icon-label--size-small{--icon-label__gap: .375rem;--icon-label__icon-size: 1rem;--icon-label__font-size: .875rem;--icon-label__icon-offset: .15rem}
|
package/dist/assets/style16.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.component-select__input{cursor:pointer;width:100%}.component-select__input:focus{outline:none}.component-select__popover__wrapper{z-index:9999!important}.component-select__popover{background-color:var(--blockout__colours__surface--200);border:1px solid var(--blockout__colours__surface--300);border-radius:var(--blockout__radius--lg)}.component-select__popover:focus{outline:none}.component-select__popover__scroll .primitive-scroll-area__viewport{width:min(calc(var(--popover-anchor-width) + 2px),fit-content);height:100%;max-height:var(--popover-available-height);min-width:12rem;padding:0}.component-select__list{display:flex;flex-direction:column;gap:.325rem;padding:.325rem}.component-select__list:focus{outline:none}.component-select__popover__search-wrapper{display:flex;align-items:center;gap:0;padding-left:1rem}.component-select__popover__search-icon{width:1rem;height:1rem;transform:translateY(.25rem);fill:var(--blockout__colours__surface--500)}.component-select__popover__search{width:100%;padding:.5rem .675rem 0rem;min-height:var(--base-control__min-height)}.component-select__popover__search:focus{outline:none}.component-select__option{display:flex;justify-content:center;align-items:start;flex-direction:column;gap:.25rem;padding:.375rem .5rem .375rem .675rem;min-height:2.25rem;border-radius:var(--blockout__radius--sm);cursor:pointer;transition:background-color .25s ease}.component-select__option:focus{outline:none}.component-select__option:first-child{border-top:none}.component-select__option[aria-disabled=true] .component-select__option__label{color:var(--blockout__colours__surface--400)}.component-select__option[aria-disabled=true] .component-select__option__description{color:var(--blockout__colours__surface--300)}.component-select__option__label{display:flex;align-items:center;gap:.5rem;font-weight:500;color:var(--blockout__colours__surface--900);transition:color .25s ease;white-space:nowrap}.component-select__option__label>svg{width:1.25rem;height:1.25rem;flex-shrink:0;color:var(--blockout__colours__surface--500);fill:var(--blockout__colours__surface--500)}.component-select__option__description{font-weight:400;color:var(--blockout__colours__surface--600);font-size:.875rem;transition:color .25s ease,opacity .25s ease}.component-select__option[data-active-item=true]{background-color:var(--blockout__colours__surface--50)}.component-select__option[data-active-item=true] .component-select__option__label{color:var(--blockout__colours__surface--900)}.component-select__option[data-active-item=true] .component-select__option__description{color:var(--blockout__colours__surface--700)}.component-select-control .component-base-control__control{flex-grow:1!important}.component-select-control .component-select__input{display:flex}.component-select-control__btn{display:flex;flex-direction:row;flex-grow:1;padding:var(--base-control__padding);min-height:var(--base-control__min-height);width:100%;min-width:0;max-width:100%;color:var(--blockout__colours__surface--800);border-top-left-radius:var(--blockout__radius--md);border-bottom-left-radius:var(--blockout__radius--md);font-size:1rem;text-align:left;background-color:transparent;transition:background-color .25s ease}.component-select-control__btn .component-base-control__affix{padding:0;min-height:0}.component-select-control__btn .component-base-control__affix--prefix{padding-right:var(--base-control__padding)}.component-select-control__btn .component-base-control__affix--suffix{padding-left:var(--base-control__padding)}.component-select__input--placeholder--placeholder .component-select-control__btn{color:var(--blockout__colours__surface--400)}.component-select-control__btn__value__label{display:flex;align-items:center;gap:.5rem;font-weight:500}.component-select-control__btn__value__label>svg{width:1.25rem;height:1.25rem;flex-shrink:0;color:var(--blockout__colours__surface--500);fill:var(--blockout__colours__surface--500)}.component-select-control__btn__caret{align-self:center}.component-select__input:disabled{opacity:.25}.component-select-control .component-base-control__box:focus-within{background-color:var(--blockout__colours__surface--50);border-color:var(--blockout__colours__surface--300);outline:1px solid var(--blockout__colours__outline);outline-offset:4px}.component-base-control--normal.component-select-control .component-base-control__box:has(.component-select__input:hover){background-color:var(--blockout__colours__surface--200);border-color:var(--blockout__colours__surface--100)}.component-base-control--normal.component-select-control .component-base-control__box:has(.component-select__input:hover) .component-select-control__btn__caret{background-color:transparent!important}.component-base-control--outline .component-base-control__box:not(.component-base-control--normal *):has(.component-select__input:hover){border-color:var(--blockout__colours__primary--500)}.component-base-control--outline .component-base-control__box:not(.component-base-control--normal *):has(.component-select-control__btn__caret:hover){border-color:transparent}.component-base-control--ghost .component-base-control__box:not(.component-base-control--normal *):has(.component-select__input:hover){border-color:var(--blockout__colours__surface--300)}.component-base-control--ghost .component-base-control__box:not(.component-base-control--normal *):has(.component-select-control__btn__caret:hover){border-color:transparent}
|
|
1
|
+
.component-select__input{cursor:pointer;width:100%}.component-select__input:focus{outline:none}.component-select__popover__wrapper{z-index:9999!important}.component-select__popover{background-color:var(--blockout__colours__surface--200);border:1px solid var(--blockout__colours__surface--300);border-radius:var(--blockout__radius--lg)}.component-select__popover:focus{outline:none}.component-select__popover__scroll .primitive-scroll-area__viewport{width:min(calc(var(--popover-anchor-width) + 2px),fit-content);height:100%;max-height:var(--popover-available-height);min-width:12rem;padding:0}.component-select__list{display:flex;flex-direction:column;gap:.325rem;padding:.325rem}.component-select__list:focus{outline:none}.component-select__list__group:not(:first-child){border-top:1px solid var(--blockout__colours__surface--400);padding-top:.5rem}.component-select__list__group__label{padding:.125rem .675rem;font-size:.875rem;color:var(--blockout__colours__surface--600);font-weight:600}.component-select__popover__search-wrapper{display:flex;align-items:center;gap:0;padding-left:1rem}.component-select__popover__search-icon{width:1rem;height:1rem;transform:translateY(.25rem);fill:var(--blockout__colours__surface--500)}.component-select__popover__search{width:100%;padding:.5rem .675rem 0rem;min-height:var(--base-control__min-height)}.component-select__popover__search:focus{outline:none}.component-select__option{display:flex;justify-content:center;align-items:start;flex-direction:column;gap:.25rem;padding:.375rem .5rem .375rem .675rem;min-height:2.25rem;border-radius:var(--blockout__radius--sm);cursor:pointer;transition:background-color .25s ease}.component-select__option:focus{outline:none}.component-select__option:first-child{border-top:none}.component-select__option[aria-disabled=true] .component-select__option__label{color:var(--blockout__colours__surface--400)}.component-select__option[aria-disabled=true] .component-select__option__description{color:var(--blockout__colours__surface--300)}.component-select__option__label{display:flex;align-items:center;gap:.5rem;font-weight:500;color:var(--blockout__colours__surface--900);transition:color .25s ease;white-space:nowrap}.component-select__option__label>svg{width:1.25rem;height:1.25rem;flex-shrink:0;color:var(--blockout__colours__surface--500);fill:var(--blockout__colours__surface--500)}.component-select__option__description{font-weight:400;color:var(--blockout__colours__surface--600);font-size:.875rem;transition:color .25s ease,opacity .25s ease}.component-select__option[data-active-item=true]{background-color:var(--blockout__colours__surface--50)}.component-select__option[data-active-item=true] .component-select__option__label{color:var(--blockout__colours__surface--900)}.component-select__option[data-active-item=true] .component-select__option__description{color:var(--blockout__colours__surface--700)}.component-select-control .component-base-control__control{flex-grow:1!important}.component-select-control .component-select__input{display:flex}.component-select-control__btn{display:flex;flex-direction:row;flex-grow:1;padding:var(--base-control__padding);min-height:var(--base-control__min-height);width:100%;min-width:0;max-width:100%;color:var(--blockout__colours__surface--800);border-top-left-radius:var(--blockout__radius--md);border-bottom-left-radius:var(--blockout__radius--md);font-size:1rem;text-align:left;background-color:transparent;transition:background-color .25s ease}.component-select-control__btn .component-base-control__affix{padding:0;min-height:0}.component-select-control__btn .component-base-control__affix--prefix{padding-right:var(--base-control__padding)}.component-select-control__btn .component-base-control__affix--suffix{padding-left:var(--base-control__padding)}.component-select__input--placeholder--placeholder .component-select-control__btn{color:var(--blockout__colours__surface--400)}.component-select-control__btn__value__label{display:flex;align-items:center;gap:.5rem;font-weight:500}.component-select-control__btn__value__label>svg{width:1.25rem;height:1.25rem;flex-shrink:0;color:var(--blockout__colours__surface--500);fill:var(--blockout__colours__surface--500)}.component-select-control__btn__caret{align-self:center}.component-select__input:disabled{opacity:.25}.component-select-control .component-base-control__box:focus-within{background-color:var(--blockout__colours__surface--50);border-color:var(--blockout__colours__surface--300);outline:1px solid var(--blockout__colours__outline);outline-offset:4px}.component-base-control--normal.component-select-control .component-base-control__box:has(.component-select__input:hover){background-color:var(--blockout__colours__surface--200);border-color:var(--blockout__colours__surface--100)}.component-base-control--normal.component-select-control .component-base-control__box:has(.component-select__input:hover) .component-select-control__btn__caret{background-color:transparent!important}.component-base-control--outline .component-base-control__box:not(.component-base-control--normal *):has(.component-select__input:hover){border-color:var(--blockout__colours__primary--500)}.component-base-control--outline .component-base-control__box:not(.component-base-control--normal *):has(.component-select-control__btn__caret:hover){border-color:transparent}.component-base-control--ghost .component-base-control__box:not(.component-base-control--normal *):has(.component-select__input:hover){border-color:var(--blockout__colours__surface--300)}.component-base-control--ghost .component-base-control__box:not(.component-base-control--normal *):has(.component-select-control__btn__caret:hover){border-color:transparent}
|
package/dist/assets/style25.css
CHANGED
|
@@ -1 +1 @@
|
|
|
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:
|
|
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:scale-down}.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/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)}.primitive-keyboard{display:inline-flex;gap:.5em;font-family:inherit}.primitive-keyboard .primitive-keyboard__key{display:block;text-align:center;
|
|
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;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,6 +1,6 @@
|
|
|
1
|
-
import { u as c, a as i } from "./YORGHBM4-
|
|
2
|
-
import { f as u, c as n, a as p, _ as C, i as l, S as x, o as s } from "./LMDWO4NN-
|
|
3
|
-
import { a as v } from "./S43UC3DV-
|
|
1
|
+
import { u as c, a as i } from "./YORGHBM4-D_fOXG5Y.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-CpSMaD5G.js";
|
|
3
|
+
import { a as v } from "./S43UC3DV-HCi6u_G4.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-
|
|
2
|
-
import { u as y } from "./MAXQOH4L-
|
|
3
|
-
import { u as C } from "./S43UC3DV-
|
|
4
|
-
import { a as S } from "./YV4JVR4I-
|
|
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-
|
|
1
|
+
import { c as P, u as g } from "./G7GW6PWC-Dk4hVbAk.js";
|
|
2
|
+
import { u as y } from "./MAXQOH4L-BYWBWXpb.js";
|
|
3
|
+
import { u as C } from "./S43UC3DV-HCi6u_G4.js";
|
|
4
|
+
import { a as S } from "./YV4JVR4I-CQnJhUSg.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-CpSMaD5G.js";
|
|
6
6
|
import { useRef as j } from "react";
|
|
7
7
|
var B = "div";
|
|
8
8
|
function N(l, ...u) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Colourway as
|
|
3
|
-
import { cn as
|
|
4
|
-
import { useMemo as
|
|
5
|
-
import { Link as
|
|
1
|
+
import { jsxs as l, jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { Colourway as v } from "../../primitives/colourway/index.js";
|
|
3
|
+
import { cn as d } from "../../utils/css.js";
|
|
4
|
+
import { useMemo as f } from "react";
|
|
5
|
+
import { Link as _ } from "../../primitives/link/index.js";
|
|
6
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/index2.css';/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
8
|
import "../../primitives/popover/index.js";
|
|
@@ -13,36 +13,38 @@ import "../../primitives/symbol/index.js";
|
|
|
13
13
|
/* empty css */
|
|
14
14
|
/* empty css */
|
|
15
15
|
/* empty css */
|
|
16
|
-
import { getRandomTheme as
|
|
17
|
-
const
|
|
16
|
+
import { getRandomTheme as u } from "../../primitives/colourway/util.js";
|
|
17
|
+
const $ = ({
|
|
18
18
|
className: r,
|
|
19
19
|
image: t = "",
|
|
20
20
|
name: o = "",
|
|
21
21
|
size: a = "medium",
|
|
22
22
|
withName: s = !1,
|
|
23
23
|
href: i,
|
|
24
|
-
target: p
|
|
24
|
+
target: p,
|
|
25
|
+
children: n
|
|
25
26
|
}) => {
|
|
26
|
-
const
|
|
27
|
-
return /* @__PURE__ */
|
|
28
|
-
|
|
27
|
+
const e = i ? _ : void 0, c = f(() => h(o, 2), [o]);
|
|
28
|
+
return /* @__PURE__ */ l(
|
|
29
|
+
v,
|
|
29
30
|
{
|
|
30
|
-
className:
|
|
31
|
+
className: d(
|
|
31
32
|
"component-avatar",
|
|
32
33
|
`component-avatar--size-${a}`,
|
|
33
34
|
r
|
|
34
35
|
),
|
|
35
|
-
theme:
|
|
36
|
-
as:
|
|
36
|
+
theme: u(t + o),
|
|
37
|
+
as: e,
|
|
37
38
|
href: i,
|
|
38
39
|
target: p,
|
|
39
40
|
children: [
|
|
40
|
-
t ? /* @__PURE__ */ m("img", { className: "component-avatar__image", src: t, alt: o }) : /* @__PURE__ */ m("div", { className: "component-avatar__fallback", children:
|
|
41
|
-
o && s && /* @__PURE__ */ m("span", { className: "component-avatar__name", children: o })
|
|
41
|
+
t ? /* @__PURE__ */ m("img", { className: "component-avatar__image", src: t, alt: o }) : /* @__PURE__ */ m("div", { className: "component-avatar__fallback", children: c }),
|
|
42
|
+
o && s && /* @__PURE__ */ m("span", { className: "component-avatar__name", children: o }),
|
|
43
|
+
n
|
|
42
44
|
]
|
|
43
45
|
}
|
|
44
46
|
);
|
|
45
|
-
},
|
|
47
|
+
}, h = (r, t) => r.split(" ").slice(0, t).map((o) => o[0]).join("");
|
|
46
48
|
export {
|
|
47
|
-
|
|
49
|
+
$ as Avatar
|
|
48
50
|
};
|
|
@@ -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-BPIeS4Cg.js";
|
|
18
|
+
import { C as l } from "../../5JTVDSTH-CZ7mfyUK.js";
|
|
19
|
+
import { C as d } from "../../J2LQO3EC-BXJIaM2U.js";
|
|
20
|
+
import { C as b } from "../../6VRAQV3D-BYmT0QTl.js";
|
|
21
|
+
import { C as f } from "../../TP7N7UIH-C4jXJDlO.js";
|
|
22
22
|
const D = ({
|
|
23
23
|
crumbs: m,
|
|
24
24
|
separator: e = /* @__PURE__ */ r(n, {}),
|
|
@@ -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-BPIeS4Cg.js";
|
|
5
|
+
import { C as n } from "../../5JTVDSTH-CZ7mfyUK.js";
|
|
6
|
+
import { C as s } from "../../J2LQO3EC-BXJIaM2U.js";
|
|
7
|
+
import { C as a } from "../../6VRAQV3D-BYmT0QTl.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 })
|
|
@@ -4,8 +4,8 @@ import { useHotkey as s } from "../../hooks/keyboard.js";
|
|
|
4
4
|
import { cn as c } from "../../utils/css.js";
|
|
5
5
|
import { noop as l } from "../../utils/noop.js";
|
|
6
6
|
import { CommandPalette as d } from "./static.js";
|
|
7
|
-
import { u } from "../../BM6PGYQY-
|
|
8
|
-
import { D as f } from "../../G7GW6PWC-
|
|
7
|
+
import { u } from "../../BM6PGYQY-DCbkDr5N.js";
|
|
8
|
+
import { D as f } from "../../G7GW6PWC-Dk4hVbAk.js";
|
|
9
9
|
const O = ({
|
|
10
10
|
className: r,
|
|
11
11
|
open: a,
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { DialogCommandPalette as t } from "./dialog.js";
|
|
2
|
+
import { P as m } from "../../presets-BDIhXP0C.js";
|
|
2
3
|
import { CommandPalette as a } from "./static.js";
|
|
3
|
-
const
|
|
4
|
-
Static: a
|
|
4
|
+
const s = Object.assign(t, {
|
|
5
|
+
Static: a,
|
|
6
|
+
...m
|
|
5
7
|
});
|
|
6
8
|
export {
|
|
7
|
-
|
|
9
|
+
s as CommandPalette
|
|
8
10
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "../../utils/css.js";
|
|
3
|
+
import { H as p, L as s } from "../../presets-BDIhXP0C.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "../../combobox-group-hNvv1WJm.js";
|
|
6
|
+
import "../../JMHAJKUZ-D5KCN1Aj.js";
|
|
7
|
+
export {
|
|
8
|
+
p as HorizontalCommandPalettePreset,
|
|
9
|
+
s as ListCommandPalettePreset
|
|
10
|
+
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
2
|
import { Command } from './types';
|
|
3
3
|
import * as Ariakit from "@ariakit/react";
|
|
4
|
-
interface CommandPaletteItemProps {
|
|
4
|
+
export interface CommandPaletteItemProps {
|
|
5
5
|
command: Command;
|
|
6
6
|
className?: string;
|
|
7
7
|
}
|
|
8
|
+
export type CommandPaletteChildren = (props: CommandPaletteItemProps) => ReactNode;
|
|
8
9
|
export interface CommandPaletteProps {
|
|
9
10
|
disclosure?: Ariakit.DialogStore;
|
|
10
11
|
className?: string;
|
|
@@ -13,14 +14,6 @@ export interface CommandPaletteProps {
|
|
|
13
14
|
placeholder?: string;
|
|
14
15
|
commands: Command[];
|
|
15
16
|
suggestions?: Command[];
|
|
16
|
-
|
|
17
|
-
item: FC<CommandPaletteItemProps>;
|
|
18
|
-
group: FC<CommandPaletteItemProps>;
|
|
19
|
-
};
|
|
17
|
+
children?: CommandPaletteChildren;
|
|
20
18
|
}
|
|
21
19
|
export declare const CommandPalette: FC<CommandPaletteProps>;
|
|
22
|
-
export declare const CommandItem: FC<CommandPaletteItemProps & {
|
|
23
|
-
render?: Ariakit.ComboboxItemProps["render"];
|
|
24
|
-
}>;
|
|
25
|
-
export declare const CommandGroup: FC<CommandPaletteItemProps>;
|
|
26
|
-
export {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { cn as
|
|
1
|
+
import { jsx as e, jsxs as s } from "react/jsx-runtime";
|
|
2
|
+
import { cn as f } 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/style10.css';import '../../assets/style7.css';import '../../assets/static.css';/* empty css */
|
|
4
|
-
import { noop as
|
|
5
|
-
import
|
|
6
|
-
import { startTransition as f } from "react";
|
|
4
|
+
import { noop as N } from "../../utils/noop.js";
|
|
5
|
+
import { startTransition as b } from "react";
|
|
7
6
|
/* empty css */
|
|
8
7
|
/* empty css */
|
|
9
8
|
/* empty css */
|
|
@@ -14,144 +13,64 @@ import "../../primitives/symbol/index.js";
|
|
|
14
13
|
/* empty css */
|
|
15
14
|
/* empty css */
|
|
16
15
|
/* empty css */
|
|
17
|
-
import { Keyboard as
|
|
16
|
+
import { Keyboard as x } from "../../primitives/typography/keyboard.js";
|
|
18
17
|
/* empty css */
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { C as
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
[
|
|
29
|
-
|
|
30
|
-
/* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
31
|
-
"path",
|
|
32
|
-
{
|
|
33
|
-
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",
|
|
34
|
-
opacity: "0.2"
|
|
35
|
-
}
|
|
36
|
-
), /* @__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" }))
|
|
37
|
-
],
|
|
38
|
-
[
|
|
39
|
-
"fill",
|
|
40
|
-
/* @__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" }))
|
|
41
|
-
],
|
|
42
|
-
[
|
|
43
|
-
"light",
|
|
44
|
-
/* @__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" }))
|
|
45
|
-
],
|
|
46
|
-
[
|
|
47
|
-
"regular",
|
|
48
|
-
/* @__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" }))
|
|
49
|
-
],
|
|
50
|
-
[
|
|
51
|
-
"thin",
|
|
52
|
-
/* @__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" }))
|
|
53
|
-
]
|
|
54
|
-
]), V = e.forwardRef((t, m) => /* @__PURE__ */ e.createElement(E, { ref: m, ...t, weights: S }));
|
|
55
|
-
V.displayName = "CommandIcon";
|
|
56
|
-
const e0 = ({
|
|
57
|
-
disclosure: t,
|
|
58
|
-
className: m,
|
|
59
|
-
search: n = "",
|
|
60
|
-
onSearchChange: l = M,
|
|
61
|
-
placeholder: Z = "Search...",
|
|
62
|
-
commands: s = [],
|
|
63
|
-
render: d = {
|
|
64
|
-
group: w,
|
|
65
|
-
item: h
|
|
66
|
-
}
|
|
18
|
+
import { s as C } from "../../MagnifyingGlass.es-CLstwG_v.js";
|
|
19
|
+
import { L as S } from "../../presets-BDIhXP0C.js";
|
|
20
|
+
import { C as v, a as y, b as L } from "../../MAXQOH4L-BYWBWXpb.js";
|
|
21
|
+
const I = ({
|
|
22
|
+
disclosure: m,
|
|
23
|
+
className: l,
|
|
24
|
+
search: c = "",
|
|
25
|
+
onSearchChange: p = N,
|
|
26
|
+
placeholder: i = "Search...",
|
|
27
|
+
commands: r = [],
|
|
28
|
+
children: d = S
|
|
67
29
|
}) => {
|
|
68
|
-
const
|
|
69
|
-
|
|
70
|
-
|
|
30
|
+
const _ = (t) => {
|
|
31
|
+
b(() => {
|
|
32
|
+
p(t);
|
|
71
33
|
});
|
|
72
|
-
},
|
|
73
|
-
var
|
|
74
|
-
(
|
|
75
|
-
},
|
|
76
|
-
return /* @__PURE__ */
|
|
77
|
-
|
|
34
|
+
}, h = (t) => {
|
|
35
|
+
var o, n;
|
|
36
|
+
(n = (o = r.flatMap((a) => [a, ...a.children || []]).find((a) => a.id === t)) == null ? void 0 : o.onSelect) == null || n.call(o);
|
|
37
|
+
}, u = r.length > 0;
|
|
38
|
+
return /* @__PURE__ */ e("div", { className: f("component-command-palette__static", l), children: /* @__PURE__ */ s(
|
|
39
|
+
v,
|
|
78
40
|
{
|
|
79
41
|
focusLoop: !1,
|
|
80
42
|
includesBaseElement: !1,
|
|
81
43
|
resetValueOnHide: !0,
|
|
82
|
-
value:
|
|
83
|
-
setValue:
|
|
44
|
+
value: c,
|
|
45
|
+
setValue: _,
|
|
84
46
|
selectedValue: "",
|
|
85
|
-
setSelectedValue:
|
|
86
|
-
disclosure:
|
|
47
|
+
setSelectedValue: h,
|
|
48
|
+
disclosure: m,
|
|
49
|
+
open: m ? void 0 : !0,
|
|
87
50
|
children: [
|
|
88
|
-
/* @__PURE__ */
|
|
89
|
-
/* @__PURE__ */
|
|
90
|
-
/* @__PURE__ */
|
|
91
|
-
|
|
51
|
+
/* @__PURE__ */ s("header", { className: "component-command-palette__header", children: [
|
|
52
|
+
/* @__PURE__ */ e(C, { className: "component-command-palette__header__icon" }),
|
|
53
|
+
/* @__PURE__ */ e(
|
|
54
|
+
y,
|
|
92
55
|
{
|
|
93
56
|
autoSelect: "always",
|
|
94
57
|
className: "component-command-palette__input",
|
|
95
58
|
type: "search",
|
|
96
|
-
placeholder:
|
|
59
|
+
placeholder: i
|
|
97
60
|
}
|
|
98
61
|
),
|
|
99
|
-
/* @__PURE__ */
|
|
62
|
+
m && /* @__PURE__ */ e(x, { className: "component-command-palette__close", children: "Esc" })
|
|
100
63
|
] }),
|
|
101
|
-
|
|
102
|
-
(
|
|
103
|
-
|
|
64
|
+
u ? /* @__PURE__ */ e(L, { className: "component-command-palette__results", children: r.map(
|
|
65
|
+
(t) => d({
|
|
66
|
+
command: t,
|
|
67
|
+
className: "component-command-palette__results__item"
|
|
68
|
+
})
|
|
69
|
+
) }) : /* @__PURE__ */ e("div", { className: "component-command-palette__empty", children: "No results found" })
|
|
104
70
|
]
|
|
105
71
|
}
|
|
106
72
|
) });
|
|
107
|
-
}, h = ({ command: t, className: m, render: n }) => {
|
|
108
|
-
const l = t.icon || V;
|
|
109
|
-
return /* @__PURE__ */ p(
|
|
110
|
-
x,
|
|
111
|
-
{
|
|
112
|
-
className: i("component-command-palette__item", m),
|
|
113
|
-
focusOnHover: !0,
|
|
114
|
-
blurOnHoverEnd: !1,
|
|
115
|
-
value: t.id,
|
|
116
|
-
setValueOnClick: !1,
|
|
117
|
-
render: n,
|
|
118
|
-
children: [
|
|
119
|
-
/* @__PURE__ */ a(l, { className: "component-command-palette__item__icon" }),
|
|
120
|
-
/* @__PURE__ */ a("span", { className: "component-command-palette__item__label", children: t.label })
|
|
121
|
-
]
|
|
122
|
-
}
|
|
123
|
-
);
|
|
124
|
-
}, w = ({
|
|
125
|
-
className: t,
|
|
126
|
-
command: m
|
|
127
|
-
}) => {
|
|
128
|
-
var n;
|
|
129
|
-
return /* @__PURE__ */ p(
|
|
130
|
-
y,
|
|
131
|
-
{
|
|
132
|
-
className: i("component-command-palette__group", t),
|
|
133
|
-
children: [
|
|
134
|
-
/* @__PURE__ */ a(
|
|
135
|
-
h,
|
|
136
|
-
{
|
|
137
|
-
command: m,
|
|
138
|
-
render: /* @__PURE__ */ a(F, { className: "component-command-palette__group__label" })
|
|
139
|
-
}
|
|
140
|
-
),
|
|
141
|
-
(n = m.children) == null ? void 0 : n.map((l) => /* @__PURE__ */ a(
|
|
142
|
-
h,
|
|
143
|
-
{
|
|
144
|
-
className: "component-command-palette__group__item",
|
|
145
|
-
command: l
|
|
146
|
-
},
|
|
147
|
-
l.id
|
|
148
|
-
))
|
|
149
|
-
]
|
|
150
|
-
}
|
|
151
|
-
);
|
|
152
73
|
};
|
|
153
74
|
export {
|
|
154
|
-
|
|
155
|
-
h as CommandItem,
|
|
156
|
-
e0 as CommandPalette
|
|
75
|
+
I as CommandPalette
|
|
157
76
|
};
|
|
@@ -17,9 +17,9 @@ import { e as v } from "../../../CaretDown.es-eyr5AnCc.js";
|
|
|
17
17
|
import { BaseControl as f } from "../base-control/index.js";
|
|
18
18
|
import { useBaseControlProps as P } from "../base-control/props.js";
|
|
19
19
|
/* empty css */
|
|
20
|
-
import { P as u } from "../../../popover-provider-
|
|
21
|
-
import { P as _ } from "../../../WMYDSCNQ-
|
|
22
|
-
import { P as h } from "../../../G7GW6PWC-
|
|
20
|
+
import { P as u } from "../../../popover-provider-BJEfhgr1.js";
|
|
21
|
+
import { P as _ } from "../../../WMYDSCNQ-pGjWB-Pk.js";
|
|
22
|
+
import { P as h } from "../../../G7GW6PWC-Dk4hVbAk.js";
|
|
23
23
|
const H = (t) => {
|
|
24
24
|
const { baseProps: s, controlProps: r } = P(t, {
|
|
25
25
|
className: "component-base-popover-control"
|
|
@@ -21,7 +21,7 @@ import { w as x } from "../../../SSRBase.es-BUXS72ra.js";
|
|
|
21
21
|
import { BaseControl as T } from "../base-control/index.js";
|
|
22
22
|
import { useBaseControlProps as $ } from "../base-control/props.js";
|
|
23
23
|
import { DateComponentInput as z } from "./component.js";
|
|
24
|
-
import { f as A, D as R } from "../../../picker-
|
|
24
|
+
import { f as A, D as R } from "../../../picker-DyJogHYh.js";
|
|
25
25
|
/* empty css */
|
|
26
26
|
import { getDefaultFormat as S } from "./types.js";
|
|
27
27
|
import { p as W } from "../../../parse-CdaSNXK6.js";
|
|
@@ -8,11 +8,11 @@ import "../../../CaretRight.es-vnr78BGI.js";
|
|
|
8
8
|
import "react";
|
|
9
9
|
import '../../../assets/style11.css';/* empty css */
|
|
10
10
|
import "../../../protectedTokens-DdjZoCxO.js";
|
|
11
|
-
import { D as d } from "../../../picker-
|
|
12
|
-
import "../../../composite-provider-
|
|
13
|
-
import "../../../5JTVDSTH-
|
|
14
|
-
import "../../../J2LQO3EC-
|
|
15
|
-
import "../../../6VRAQV3D-
|
|
11
|
+
import { D as d } from "../../../picker-DyJogHYh.js";
|
|
12
|
+
import "../../../composite-provider-BPIeS4Cg.js";
|
|
13
|
+
import "../../../5JTVDSTH-CZ7mfyUK.js";
|
|
14
|
+
import "../../../J2LQO3EC-BXJIaM2U.js";
|
|
15
|
+
import "../../../6VRAQV3D-BYmT0QTl.js";
|
|
16
16
|
export {
|
|
17
17
|
d as DatePicker
|
|
18
18
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { Button as
|
|
3
|
-
import {
|
|
1
|
+
import { jsx as o, jsxs as r, Fragment as S } from "react/jsx-runtime";
|
|
2
|
+
import { Button as v } from "../../button/index.js";
|
|
3
|
+
import { findOption as N } from "../../../types/options.js";
|
|
4
4
|
import * as m from "react";
|
|
5
|
-
import { p as
|
|
6
|
-
import { t as
|
|
7
|
-
import { BaseControl as
|
|
5
|
+
import { p as O } from "../../../IconBase.es-rM5tt24D.js";
|
|
6
|
+
import { t as P } from "../../../CaretDown.es-BKFnosGJ.js";
|
|
7
|
+
import { BaseControl as w } from "../base-control/index.js";
|
|
8
8
|
import { Affix as p } from "../base-control/affix.js";
|
|
9
|
-
import { useBaseControlProps as
|
|
10
|
-
import { Select as
|
|
9
|
+
import { useBaseControlProps as C } from "../base-control/props.js";
|
|
10
|
+
import { Select as I } from "./select.js";
|
|
11
11
|
import '../../../assets/style16.css';/* empty css */
|
|
12
|
-
import { S as
|
|
13
|
-
const f = m.forwardRef((
|
|
12
|
+
import { S as g } from "../../../select-value-B3DYk9eV.js";
|
|
13
|
+
const f = m.forwardRef((e, t) => /* @__PURE__ */ m.createElement(O, { ref: t, ...e, weights: P }));
|
|
14
14
|
f.displayName = "CaretDownIcon";
|
|
15
|
-
function
|
|
16
|
-
const { baseProps: t, controlProps: n } =
|
|
15
|
+
function G(e) {
|
|
16
|
+
const { baseProps: t, controlProps: n } = C(e, {
|
|
17
17
|
className: "component-select-control"
|
|
18
18
|
}), {
|
|
19
19
|
placeholder: l,
|
|
@@ -22,30 +22,30 @@ function H(o) {
|
|
|
22
22
|
withIcon: b = !1,
|
|
23
23
|
before: _,
|
|
24
24
|
after: u
|
|
25
|
-
} = n, { prefix: s, suffix: c, ...x } = t,
|
|
26
|
-
return /* @__PURE__ */
|
|
25
|
+
} = n, { prefix: s, suffix: c, ...x } = t, i = N(d, h), a = !!i ? i : { label: l || "" };
|
|
26
|
+
return /* @__PURE__ */ o(w, { ...x, children: /* @__PURE__ */ r(I, { ...n, prefix: s, suffix: c, children: [
|
|
27
27
|
_,
|
|
28
28
|
/* @__PURE__ */ r("div", { className: "component-select-control__btn", children: [
|
|
29
|
-
/* @__PURE__ */
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
b &&
|
|
32
|
-
|
|
29
|
+
/* @__PURE__ */ o(p, { children: s }),
|
|
30
|
+
/* @__PURE__ */ o(g, { fallback: l, children: () => /* @__PURE__ */ o(S, { children: /* @__PURE__ */ r("span", { className: "component-select-control__btn__value__label", children: [
|
|
31
|
+
b && a.icon,
|
|
32
|
+
a.label
|
|
33
33
|
] }) }) }),
|
|
34
|
-
/* @__PURE__ */
|
|
34
|
+
/* @__PURE__ */ o(p, { suffix: !0, children: c })
|
|
35
35
|
] }),
|
|
36
|
-
/* @__PURE__ */
|
|
37
|
-
|
|
36
|
+
/* @__PURE__ */ o(
|
|
37
|
+
v.Icon,
|
|
38
38
|
{
|
|
39
39
|
className: "component-select-control__btn__caret",
|
|
40
40
|
variant: "ghost",
|
|
41
41
|
size: "small",
|
|
42
42
|
tabIndex: -1,
|
|
43
|
-
children: /* @__PURE__ */
|
|
43
|
+
children: /* @__PURE__ */ o(f, {})
|
|
44
44
|
}
|
|
45
45
|
),
|
|
46
46
|
u
|
|
47
47
|
] }) });
|
|
48
48
|
}
|
|
49
49
|
export {
|
|
50
|
-
|
|
50
|
+
G as SelectControl
|
|
51
51
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Optionable } from '../../../types/options';
|
|
1
|
+
import { Optionable, OptionableGroup } from '../../../types/options';
|
|
2
2
|
import { HTMLInputAutoCompleteAttribute, ReactNode } from 'react';
|
|
3
3
|
export type SelectProps<T extends string = string> = {
|
|
4
4
|
className?: string;
|
|
5
5
|
id?: string;
|
|
6
6
|
value?: T;
|
|
7
7
|
onChangeValue?: (value: T) => void;
|
|
8
|
-
options?: Optionable<T>[];
|
|
8
|
+
options?: (Optionable<T> | OptionableGroup<T>)[];
|
|
9
9
|
searchable?: boolean;
|
|
10
10
|
combobox?: boolean;
|
|
11
11
|
placeholder?: string;
|