monobill-mintui 0.6.713 → 0.6.714
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/components/search/Search.d.ts +1 -18
- package/dist/components/search/Search.d.ts.map +1 -1
- package/dist/components/search/browser.js +13 -59
- package/dist/components/search/index.cjs +1 -1
- package/dist/components/search/index.js +13 -59
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +13 -59
- package/dist/search.css +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -408,7 +408,7 @@
|
|
|
408
408
|
@layer theme, base, components, utilities;/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}@layer utilities{.static{position:static}.border{border-style:var(--tw-border-style);border-width:1px}}@layer components{mint-scroll-fade{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;min-width:0;min-height:0;display:block;overflow:auto}mint-scroll-fade[data-wraps-scrollport]{overflow:visible}mint-scroll-fade:not([data-wraps-scrollport])[axis=vertical]{overflow:hidden auto}mint-scroll-fade:not([data-wraps-scrollport])[axis=horizontal]{overflow:auto hidden}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}
|
|
409
409
|
|
|
410
410
|
/* mint-ui aggregate component: search */
|
|
411
|
-
@layer theme, base, components, utilities;/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-
|
|
411
|
+
@layer theme, base, components, utilities;/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.static{position:static}.hidden{display:none}.inline{display:inline}.resize{resize:both}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}@layer components{mint-search.mint-search-host{width:100%;max-width:36rem;color:var(--mint-color-text,#28372d);display:block;position:relative}mint-search.is-hidden,.mint-search-panel.is-hidden,.mint-search-panel-searchbar.is-hidden,.mint-search-filters.is-hidden,.mint-search-filter-more.is-hidden,.mint-search-filter-more-trigger.is-hidden,.mint-search-filter-chips.is-hidden,.mint-search-custom-results.is-hidden,.mint-search-state.is-hidden,.mint-search-results.is-hidden,.mint-search-shortcut-hint.is-hidden{display:none!important}.mint-search-shell{z-index:2147483001;width:100%;height:2.5rem;display:flex;position:relative}.mint-search-shell.is-open{border-bottom-color:#0000}.mint-search-input{flex:1;min-width:0;height:100%}.mint-search-shortcut-hint{z-index:1;color:var(--mint-color-text-secondary,#66736a);pointer-events:none;font-size:.75rem;position:absolute;top:50%;right:.75rem;transform:translateY(-50%)}.mint-search-panel{z-index:2147483000;padding:0}.mint-search-panel-anchored{margin-top:0;position:fixed;inset:auto}.mint-search-panel-mobile{padding:.75rem;position:fixed;inset:3rem 0 auto}.mint-search-panel-global{z-index:2147483645}.mint-search-panel-inner{border:1px solid var(--mint-color-border,#dfe6e0);background:var(--mint-color-surface-raised,#fff);width:100%;max-height:min(26rem,100dvh - 4rem);color:var(--mint-color-text,#28372d);border-radius:1rem;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a}.mint-search-panel-anchored .mint-search-panel-inner{border-top:0;border-top-left-radius:0;border-top-right-radius:0}.mint-search-panel.is-open-above .mint-search-panel-inner{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.mint-search-panel-inner.is-overflow-visible{overflow:visible}.mint-search-panel-inner.has-no-filters>.mint-search-state,.mint-search-panel-inner.has-no-filters>.mint-search-results{padding-top:1rem}.mint-search-panel-inner.has-no-filters>.mint-search-custom-results{padding-top:1.25rem}.mint-search-panel-searchbar{border-bottom:1px solid var(--mint-color-border,#dfe6e0);flex:none;align-items:center;gap:.5rem;padding:.75rem;display:flex}.mint-search-panel-searchbar .mint-search-input{height:auto}.mint-search-filters{flex-direction:column;flex:none;gap:.5rem;min-width:0;padding:1.25rem .75rem .75rem;display:flex;position:relative}.mint-search-filter-row{flex-wrap:nowrap;align-items:center;gap:.5rem;width:100%;min-width:0;display:flex}.mint-search-filter-chips{flex-wrap:nowrap;flex:1;align-items:center;gap:.5rem;min-width:0;display:flex;overflow-x:hidden}.mint-search-filter-more{z-index:95;border:1px solid var(--mint-color-border,#dfe6e0);background:var(--mint-color-surface-raised,#fff);border-radius:.5rem;flex-wrap:wrap;gap:.5rem;max-height:40vh;margin-top:.25rem;padding:.5rem;display:flex;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a}.mint-search-filter-more-trigger{flex:none;align-items:center;min-width:0;min-height:0;display:flex;position:relative}.mint-search-filter-more-button{white-space:nowrap;flex:none}mint-chip.mint-search-filter-chip{white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:.25rem;display:inline-flex}mint-chip.mint-search-filter-chip:focus-visible{outline:2px solid var(--mint-color-border-focus,#9ba9a0);outline-offset:1px}mint-chip.mint-search-filter-chip.is-selected,mint-chip.mint-search-selected-filter.is-backspace-armed{box-shadow:inset 0 0 0 2px var(--mint-color-border-focus,#9ba9a0)}mint-chip.mint-search-selected-filter{text-overflow:ellipsis;white-space:nowrap;max-width:min(20rem,85vw);padding:.125rem .375rem;font-size:.75rem;line-height:1;overflow:hidden}.mint-search-filter-chip-close{flex:none;width:1rem;height:1rem;margin-left:.5rem}.mint-search-custom-results,.mint-search-results{flex:1;min-height:0;padding:0 .5rem .5rem;overflow-y:auto}.mint-search-state{color:var(--mint-color-text-secondary,#66736a);padding:0 1rem 1rem;font-size:.875rem}.mint-search-result{cursor:pointer;width:100%;color:var(--mint-color-text,#28372d);text-align:left;background:0 0;border:0;border-radius:.5rem;align-items:flex-start;gap:.75rem;padding:.5rem .75rem;display:flex}.mint-search-result:hover{background:var(--mint-color-surface-muted,#f6f8f4)}.mint-search-result:focus-visible{outline:2px solid var(--mint-color-border-focus,#9ba9a0);outline-offset:-2px}.mint-search-result-icon{width:1rem;height:1rem;color:var(--mint-color-text-secondary,#66736a);flex:none;margin-top:.125rem}.mint-search-result-copy{min-width:0}.mint-search-result-title,.mint-search-result-subtitle{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mint-search-result-title{color:var(--mint-color-text,#28372d);font-size:.875rem;font-weight:600}.mint-search-result-subtitle{color:var(--mint-color-text-secondary,#66736a);font-size:.75rem}@media (width>=1100px){.mint-search-shell.is-collapsed{display:flex}.mint-search-panel-inner{border-top:0;border-top-left-radius:0;border-top-right-radius:0}.mint-search-panel-searchbar.is-collapsed{display:none}}@media (width<=1099.98px){.mint-search-shell.is-collapsed{display:none}.mint-search-panel-searchbar.is-collapsed{display:flex}}mint-input.mint-search-input input,mint-input.mint-search-input textarea,mint-input.mint-search-input select{background-color:var(--mint-color-surface-raised,#fff)!important;color:var(--mint-color-text,#28372d)!important;border-color:var(--mint-color-border,#dfe6e0)!important;border-width:1px!important}mint-input.mint-search-input input{padding-right:3.5rem!important}mint-input.mint-search-input .mint-input-label,mint-input.mint-search-input .mint-input-info,mint-input.mint-search-input label{color:var(--mint-color-text-secondary,#66736a)}}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
|
|
412
412
|
|
|
413
413
|
/* mint-ui aggregate component: select */
|
|
414
414
|
@layer theme, base, components, utilities;/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-ease:initial}}}@layer utilities{.relative{position:relative}.static{position:static}.start{inset-inline-start:var(--spacing,.25rem)}.end{inset-inline-end:var(--spacing,.25rem)}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.hidden{display:none}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.ease-in-out{--tw-ease:var(--ease-in-out,cubic-bezier(.4, 0, .2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4, 0, .2, 1))}}@layer components{mint-native-select{box-sizing:border-box;width:100%;color:var(--mint-color-text,#28372d);vertical-align:baseline;display:inline-block;position:relative}mint-native-select>option,mint-native-select>optgroup{display:none!important}.mint-native-select-label{color:var(--mint-color-text,#28372d);margin:0 0 .25rem;font-size:.875rem;font-weight:500;line-height:1.25rem;display:block}.mint-native-select-control-wrap{width:100%;position:relative}:is(.mint-native-select-control-wrap:has(>.mint-native-select-prepend-slot),.mint-native-select-control-wrap:has(>.mint-native-select-append-slot)){align-items:stretch;display:flex}.mint-native-select-control-main{flex:1;min-width:0;position:relative}.mint-native-select-control{box-sizing:border-box;appearance:none;border:1px solid var(--mint-color-border,#dfe6e0);background:var(--mint-color-surface-raised,#fff);width:100%;min-height:2.5rem;color:var(--mint-color-text,#28372d);font:inherit;cursor:pointer;border-radius:.5rem;outline:none;padding:.375rem 2.5rem .375rem .875rem;font-size:1rem;font-weight:500;line-height:1.4;transition:border-color .14s,box-shadow .14s;display:block}.mint-native-select-control.is-multiple{min-height:5rem;padding:.5rem .875rem}.mint-native-select-control:focus-visible{border-color:var(--mint-color-border-focus,#9ba9a0);box-shadow:0 0 0 1px var(--mint-color-surface-raised,#fff), 0 0 0 3px var(--mint-color-border-focus,#9ba9a0)}.mint-native-select-control:required:invalid{color:var(--mint-color-text-secondary,#66736a)}.mint-native-select-control option{color:var(--mint-color-text,#28372d)}.mint-native-select-control.has-error,.mint-native-select-control.has-error:focus-visible{border-color:var(--mint-color-danger,#c94c4c)}.mint-native-select-control.has-error:focus-visible{box-shadow:0 0 0 3px var(--mint-color-danger,#c94c4c)}@supports (color:color-mix(in lab, red, red)){.mint-native-select-control.has-error:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb, var(--mint-color-danger,#c94c4c) 20%, transparent)}}.mint-native-select-control:disabled{opacity:.55;cursor:not-allowed}.mint-native-select-caret{z-index:1;color:var(--mint-color-text-secondary,#66736a);pointer-events:none;flex-direction:column;align-items:center;gap:0;line-height:0;display:flex;position:absolute;top:50%;right:.8rem;transform:translateY(-50%)}.mint-native-select-caret mint-icon{width:.65rem;height:.65rem;display:block}.mint-native-select-caret-down{margin-top:-.16rem}.mint-native-select-adornment,.mint-select-adornment{box-sizing:border-box;border:1px solid var(--mint-color-border,#dfe6e0);background:var(--mint-color-surface-muted,#f7f8f7);min-height:2.5rem;color:var(--mint-color-text-secondary,#66736a);font:inherit;white-space:nowrap;flex:none;justify-content:center;align-items:center;padding:0 .875rem;font-size:.875rem;font-weight:500;display:flex}.mint-native-select-prepend-slot,.mint-select-prepend-slot{border-right:0;border-radius:.5rem 0 0 .5rem}.mint-native-select-append-slot,.mint-select-append-slot{border-left:0;border-radius:0 .5rem .5rem 0}:is(.mint-native-select-control-wrap:has(>.mint-native-select-prepend-slot) .mint-native-select-control,.mint-select-control-wrap:has(>.mint-select-prepend-slot) .mint-select-trigger){border-top-left-radius:0;border-bottom-left-radius:0}:is(.mint-native-select-control-wrap:has(>.mint-native-select-append-slot) .mint-native-select-control,.mint-select-control-wrap:has(>.mint-select-append-slot) .mint-select-trigger){border-top-right-radius:0;border-bottom-right-radius:0}:is(.mint-native-select-control-wrap:has(>.mint-native-select-prepend-slot) .mint-native-select-control,.mint-native-select-control-wrap:has(>.mint-native-select-append-slot) .mint-native-select-control,.mint-select-control-wrap:has(>.mint-select-prepend-slot) .mint-select-trigger,.mint-select-control-wrap:has(>.mint-select-append-slot) .mint-select-trigger){flex:1;width:auto;min-width:0}:is(.mint-native-select-control-wrap:has(>.mint-native-select-prepend-slot) .mint-native-select-control,.mint-native-select-control-wrap:has(>.mint-native-select-append-slot) .mint-native-select-control){width:100%}.mint-native-select-control-wrap:has(>.mint-native-select-prepend-slot) .mint-native-select-control{padding-left:.875rem}.mint-native-select-control-wrap:has(>.mint-native-select-append-slot) .mint-native-select-control{padding-right:2.5rem}.mint-select-control-wrap:has(>.mint-select-prepend-slot) .mint-select-trigger{border-left:0}.mint-select-control-wrap:has(>.mint-select-append-slot) .mint-select-trigger{border-right:0}:is(.mint-native-select-control-wrap:has(>.mint-native-select-prepend-slot,>.mint-native-select-append-slot):focus-within,.mint-select-control-wrap:has(>.mint-select-prepend-slot,>.mint-select-append-slot):focus-within){z-index:1;box-shadow:0 0 0 1px var(--mint-color-surface-raised,#fff),0 0 0 3px var(--mint-color-border-focus,#9ba9a0);border-radius:.5rem}:is(.mint-native-select-control-wrap:has(>.mint-native-select-prepend-slot,>.mint-native-select-append-slot) .mint-native-select-control:focus-visible,.mint-select-control-wrap:has(>.mint-select-prepend-slot,>.mint-select-append-slot) .mint-select-trigger:focus-visible){border-color:var(--mint-color-border-focus,#9ba9a0);box-shadow:none}.mint-native-select-info,.mint-native-select-error{margin-top:.25rem;font-size:.75rem;line-height:1rem;display:block}.mint-native-select-info{color:var(--mint-color-text-secondary,#66736a)}.mint-native-select-error{color:var(--mint-color-danger,#b23b3b)}.mint-native-select-skeleton-container{z-index:2;pointer-events:none;position:absolute;inset:0}.mint-native-select-skeleton{background:var(--mint-color-surface-muted,#e8eee9);border-radius:.5rem;width:100%;height:2.5rem;animation:1.4s ease-in-out infinite mint-select-pulse}.mint-native-select-skeleton.is-multiple{height:5rem}}@keyframes mint-select-pulse{50%{opacity:.55}}@layer components{@media (width>=1100px){.mint-native-select-control{font-size:.875rem}}@media (hover:none) and (pointer:coarse){.mint-native-select-control{font-size:16px}}@media (prefers-reduced-motion:reduce){.mint-native-select-control{transition:none}.mint-native-select-skeleton{animation:none}}mint-select{box-sizing:border-box;width:100%;color:var(--mint-color-text,#28372d);vertical-align:baseline;display:inline-block;position:relative}:is(mint-select:has(.mint-select-prepend-slot),mint-select:has(.mint-select-append-slot)){display:block}:is(.mint-select-control-wrap:has(>.mint-select-prepend-slot),.mint-select-control-wrap:has(>.mint-select-append-slot)){align-items:stretch;display:flex}mint-select>option,mint-select>optgroup{display:none!important}.mint-select-label{color:var(--mint-color-text,#28372d);margin:0 0 .25rem;font-size:.875rem;font-weight:500;line-height:1.25rem;display:block}.mint-select-trigger{box-sizing:border-box;border:1px solid var(--mint-color-border,#dfe6e0);background:var(--mint-color-surface-raised,#fff);width:100%;min-height:2.5rem;color:var(--mint-color-text,#28372d);font:inherit;text-align:left;cursor:pointer;border-radius:.5rem;outline:none;justify-content:space-between;align-items:center;gap:.75rem;padding:.5rem .875rem;font-size:1rem;font-weight:500;line-height:1.4;transition:border-color .14s,box-shadow .14s;display:flex}.mint-select-trigger:hover:not(:disabled){border-color:var(--mint-color-border-strong,#b9c5bc)}.mint-select-trigger:focus-visible{border-color:var(--mint-color-border-focus,#9ba9a0);box-shadow:0 0 0 1px var(--mint-color-surface-raised,#fff),0 0 0 3px var(--mint-color-border-focus,#9ba9a0)}.mint-select-trigger[aria-invalid=true]{border-color:var(--mint-color-danger,#c94c4c)}.mint-select-trigger:disabled{opacity:.55;cursor:not-allowed}.mint-select-value{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.mint-select-value.is-placeholder{color:var(--mint-color-text-secondary,#66736a)}.mint-select-caret{color:var(--mint-color-text-secondary,#66736a);flex-direction:column;flex:none;align-items:center;gap:0;line-height:0;display:flex}.mint-select-caret mint-icon{width:.65rem;height:.65rem;display:block}.mint-select-caret mint-icon:last-child{margin-top:-.16rem}.mint-select-native-control{clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}mint-popover.mint-select-popover[data-open],mint-popover.mint-select-popover[data-state=closing]{min-width:var(--mint-select-popover-width,0px);border:1px solid var(--mint-color-border,#dfe6e0);background:var(--mint-color-surface-raised,#fff);max-width:min(32rem,100vw - 24px);max-height:none;color:var(--mint-color-text,#28372d);border-radius:.5rem;padding:0;overflow:visible;box-shadow:0 12px 36px #10201521}mint-popover.mint-select-popover .popover-content{box-sizing:border-box;border:1px solid var(--mint-color-border,#dfe6e0);background:var(--mint-color-surface-raised,#fff);min-width:100%;max-height:min(24rem,100dvh - 24px);color:var(--mint-color-text,#28372d);border-radius:.5rem;padding:.375rem;overflow:auto;box-shadow:0 12px 36px #10201521}.mint-select-options{box-sizing:border-box;overscroll-behavior:contain;flex-direction:column;gap:.125rem;width:100%;min-width:100%;max-height:min(24rem,100dvh - 24px);display:flex;position:relative;overflow:auto}.mint-select-group-label{color:var(--mint-color-text-secondary,#66736a);letter-spacing:.045em;text-transform:uppercase;pointer-events:none;padding:.625rem .75rem .25rem;font-size:.75rem;font-weight:650;line-height:1.35;display:block}.mint-select-option{width:100%;min-height:2.5rem;color:var(--mint-color-text,#28372d);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:.5rem;justify-content:space-between;align-items:center;gap:1rem;padding:.5rem .75rem;font-size:1rem;display:flex}.mint-select-option:hover:not(:disabled),.mint-select-option:focus-visible{background:var(--mint-color-surface-muted,#f3f6f2);outline:none}.mint-select-option[aria-selected=true]{font-weight:550}.mint-select-option:disabled{opacity:.5;cursor:not-allowed}.mint-select-option-check{opacity:0;flex:none;width:1rem;height:1rem}.mint-select-option[aria-selected=true] .mint-select-option-check{opacity:1}.mint-select-info,.mint-select-error{margin-top:.25rem;font-size:.75rem;line-height:1rem;display:block}.mint-select-info{color:var(--mint-color-text-secondary,#66736a)}.mint-select-error{color:var(--mint-color-danger,#b23b3b)}@media (hover:none) and (pointer:coarse){.mint-select-trigger{font-size:16px}}@media (prefers-reduced-motion:reduce){.mint-select-trigger{transition:none}}}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
|
package/dist/index.js
CHANGED
|
@@ -12162,7 +12162,7 @@ customElements.get("mint-resource-table-context-menu") || a("mint-resource-table
|
|
|
12162
12162
|
//#region src/components/search/Search.ts
|
|
12163
12163
|
var $n = class e extends HTMLElement {
|
|
12164
12164
|
constructor(...e) {
|
|
12165
|
-
super(...e), this._shell = null, this._desktopInput = null, this._panel = null, this._panelInner = null, this._resultsId = "", this._panelInput = null, this._panelFiltersWrap = null, this._panelFiltersMainRow = null, this._panelFiltersChips = null, this._panelFiltersShowAllWrap = null, this._panelFiltersShowAllBtn = null, this._panelFiltersMorePanel = null, this._filtersMoreOpen = !1, this._filterOverflowObserver = null, this._filterOverflowZeroWidthRetries = 0, this.
|
|
12165
|
+
super(...e), this._shell = null, this._desktopInput = null, this._panel = null, this._panelInner = null, this._resultsId = "", this._panelInput = null, this._panelFiltersWrap = null, this._panelFiltersMainRow = null, this._panelFiltersChips = null, this._panelFiltersShowAllWrap = null, this._panelFiltersShowAllBtn = null, this._panelFiltersMorePanel = null, this._filtersMoreOpen = !1, this._filterOverflowObserver = null, this._filterOverflowZeroWidthRetries = 0, this._resultsWrap = null, this._stateWrap = null, this._customResultsWrap = null, this._query = "", this._searchOpen = !1, this._selectedFilters = [], this._debounceId = null, this._abortController = null, this._docPointerDownHandler = null, this._globalKeydownHandler = null, this._focusOutHandler = null, this._resizeHandler = null, this._scrollHandler = null, this._desktopShortcutHint = null, this._panelSearchBar = null, this._contentObserver = null, this._renderFrame = null;
|
|
12166
12166
|
}
|
|
12167
12167
|
static {
|
|
12168
12168
|
this._filterMorePanelSeq = 0;
|
|
@@ -12231,16 +12231,6 @@ var $n = class e extends HTMLElement {
|
|
|
12231
12231
|
_getFilterParamValue() {
|
|
12232
12232
|
return this._selectedFilters.join(",");
|
|
12233
12233
|
}
|
|
12234
|
-
_getFilterChipLabelText() {
|
|
12235
|
-
return this._selectedFilters.join(", ");
|
|
12236
|
-
}
|
|
12237
|
-
_getCondensedFilterChipLabel(e = 22) {
|
|
12238
|
-
if (!this._hasSelectedFilters()) return "";
|
|
12239
|
-
let [t = ""] = this._selectedFilters, n = this._selectedFilters.length - 1, r = Math.max(8, e - 2), i = t;
|
|
12240
|
-
if (n <= 0) return i.length <= r ? i : `${i.slice(0, Math.max(1, r - 3))}...`;
|
|
12241
|
-
let a = `${t}, and ${n} more`;
|
|
12242
|
-
return a.length <= r ? a : `${a.slice(0, Math.max(1, r - 3))}...`;
|
|
12243
|
-
}
|
|
12244
12234
|
_isMobileViewport() {
|
|
12245
12235
|
return window.matchMedia("(max-width: 1099.98px)").matches;
|
|
12246
12236
|
}
|
|
@@ -12387,12 +12377,11 @@ var $n = class e extends HTMLElement {
|
|
|
12387
12377
|
}
|
|
12388
12378
|
let e = this._shell?.getBoundingClientRect();
|
|
12389
12379
|
if (!e) return;
|
|
12390
|
-
let t = window.innerHeight, n = Math.max(0, Math.min(416, t - 16)), r = Math.max(0, t - e.bottom - 4), i = Math.max(0, e.top - 4), a = r < n && i > r, o = Math.min(n, a ? i : r);
|
|
12391
|
-
this._panel.classList.toggle("is-open-above", a), this._panelInner && (this._panelInner.style.maxHeight = `${o}px`), this._panel.style.left = `${e.left}px`, this._panel.style.width = `${e.width}px`, this._panel.style.right = "auto", a ? (this._panel.style.top = "auto", this._panel.style.bottom = `${Math.max(0, t - e.top
|
|
12380
|
+
let t = window.innerHeight, n = Math.max(0, Math.min(416, t - 16)), r = Math.max(0, t - e.bottom - 8 - 4), i = Math.max(0, e.top - 8 - 4), a = r < n && i > r, o = Math.min(n, a ? i : r);
|
|
12381
|
+
this._panel.classList.toggle("is-open-above", a), this._panelInner && (this._panelInner.style.maxHeight = `${o}px`), this._panel.style.left = `${e.left}px`, this._panel.style.width = `${e.width}px`, this._panel.style.right = "auto", a ? (this._panel.style.top = "auto", this._panel.style.bottom = `${Math.max(0, t - e.top + 4)}px`) : (this._panel.style.top = `${e.bottom + 4}px`, this._panel.style.bottom = "auto");
|
|
12392
12382
|
}
|
|
12393
12383
|
_setQuery(e) {
|
|
12394
|
-
|
|
12395
|
-
this._query = e, e !== t && (this._selectedFilterBackspaceArmed = !1), this._desktopInput && (this._desktopInput.value = e), this._panelInput && (this._panelInput.value = e);
|
|
12384
|
+
this._query = e, this._desktopInput && (this._desktopInput.value = e), this._panelInput && (this._panelInput.value = e);
|
|
12396
12385
|
}
|
|
12397
12386
|
_cancelDebounce() {
|
|
12398
12387
|
this._debounceId !== null && (window.clearTimeout(this._debounceId), this._debounceId = null);
|
|
@@ -12550,11 +12539,8 @@ var $n = class e extends HTMLElement {
|
|
|
12550
12539
|
}
|
|
12551
12540
|
this._cancelDebounce(), this._abortSearch(), this._emitResultsChange([]), this._renderState("Start typing to search");
|
|
12552
12541
|
}
|
|
12553
|
-
_clearAllSelectedFilters() {
|
|
12554
|
-
this._selectedFilters = [], this._selectedFilterBackspaceArmed = !1, this._applyFilterSelectionChange();
|
|
12555
|
-
}
|
|
12556
12542
|
_popLastSelectedFilter() {
|
|
12557
|
-
this._selectedFilters.length !== 0 && (this._selectedFilters.pop(), this.
|
|
12543
|
+
this._selectedFilters.length !== 0 && (this._selectedFilters.pop(), this._applyFilterSelectionChange());
|
|
12558
12544
|
}
|
|
12559
12545
|
_focusActiveInput() {
|
|
12560
12546
|
let e = this._primarySearchInput();
|
|
@@ -12650,32 +12636,6 @@ var $n = class e extends HTMLElement {
|
|
|
12650
12636
|
t ? t.focus() : this._focusActiveInput();
|
|
12651
12637
|
}
|
|
12652
12638
|
}
|
|
12653
|
-
_renderSelectedFilter() {
|
|
12654
|
-
let e = (e) => {
|
|
12655
|
-
if (!e || (e.innerHTML = "", !this._hasSelectedFilters())) return;
|
|
12656
|
-
let t = document.createElement("mint-chip");
|
|
12657
|
-
t.setAttribute("dismissable", ""), t.title = this._getFilterChipLabelText();
|
|
12658
|
-
let n = this._getCondensedFilterChipLabel();
|
|
12659
|
-
t.classList.add("mint-search-selected-filter"), this._selectedFilterBackspaceArmed && t.classList.add("is-backspace-armed"), t.textContent = n, t.addEventListener("dismiss", (e) => {
|
|
12660
|
-
e.stopPropagation(), this._clearAllSelectedFilters();
|
|
12661
|
-
}), e.appendChild(t);
|
|
12662
|
-
};
|
|
12663
|
-
e(this._desktopFilterWrap), e(this._mobileFilterWrap);
|
|
12664
|
-
let t = this._hasSelectedFilters();
|
|
12665
|
-
this._desktopInput?.classList.toggle("has-selected-filter", t), this._panelInput?.classList.toggle("has-selected-filter", t), this._syncSelectedFilterInputOffset(this._desktopInput, this._desktopFilterWrap), this._syncSelectedFilterInputOffset(this._panelInput, this._mobileFilterWrap);
|
|
12666
|
-
}
|
|
12667
|
-
_syncSelectedFilterInputOffset(e, t) {
|
|
12668
|
-
if (!e || !t) return;
|
|
12669
|
-
let n = t.querySelector("mint-chip");
|
|
12670
|
-
if (!n) {
|
|
12671
|
-
e.style.removeProperty("--mint-search-filter-chip-width");
|
|
12672
|
-
return;
|
|
12673
|
-
}
|
|
12674
|
-
let r = () => {
|
|
12675
|
-
n.isConnected && e.style.setProperty("--mint-search-filter-chip-width", `${n.getBoundingClientRect().width}px`);
|
|
12676
|
-
};
|
|
12677
|
-
r(), requestAnimationFrame(r);
|
|
12678
|
-
}
|
|
12679
12639
|
_bindInputHandlers(e) {
|
|
12680
12640
|
let t = () => {
|
|
12681
12641
|
this._scheduleSearch(this._getNativeInputValue(e));
|
|
@@ -12691,13 +12651,7 @@ var $n = class e extends HTMLElement {
|
|
|
12691
12651
|
}
|
|
12692
12652
|
if (t.key !== "Backspace") return;
|
|
12693
12653
|
let n = this._getNativeInputValue(e);
|
|
12694
|
-
|
|
12695
|
-
if (!this._selectedFilterBackspaceArmed) {
|
|
12696
|
-
t.preventDefault(), this._selectedFilterBackspaceArmed = !0, this._renderSelectedFilter();
|
|
12697
|
-
return;
|
|
12698
|
-
}
|
|
12699
|
-
t.preventDefault(), this._popLastSelectedFilter();
|
|
12700
|
-
}
|
|
12654
|
+
n !== this._query && this._setQuery(n), !(n.length > 0) && this._hasSelectedFilters() && (t.preventDefault(), this._popLastSelectedFilter());
|
|
12701
12655
|
});
|
|
12702
12656
|
}
|
|
12703
12657
|
openSearch(e = !0) {
|
|
@@ -12723,19 +12677,19 @@ var $n = class e extends HTMLElement {
|
|
|
12723
12677
|
return;
|
|
12724
12678
|
}
|
|
12725
12679
|
if (!this._shell) {
|
|
12726
|
-
this._shell = document.createElement("div"), this._shell.className = "mint-search-shell", this.
|
|
12680
|
+
this._shell = document.createElement("div"), this._shell.className = "mint-search-shell", this._desktopInput = document.createElement("mint-input"), this._desktopInput.setAttribute("type", "search"), this._desktopInput.setAttribute("icon", "search"), this._desktopInput.setAttribute("aria-label", this.getAttribute("placeholder") || "Search"), this._desktopInput.className = "mint-search-input";
|
|
12727
12681
|
let e = document.createElement("span");
|
|
12728
|
-
e.className = "mint-search-shortcut-hint", e.setAttribute("
|
|
12682
|
+
e.className = "mint-search-shortcut-hint", e.setAttribute("aria-hidden", "true"), this._desktopShortcutHint = e, this._bindInputHandlers(this._desktopInput), this._shell.appendChild(this._desktopInput), this._shell.appendChild(e), this.appendChild(this._shell);
|
|
12729
12683
|
}
|
|
12730
12684
|
if (!this._panel) {
|
|
12731
12685
|
this._panel = document.createElement("div"), this._panel.className = "mint-search-panel is-hidden";
|
|
12732
12686
|
let e = document.createElement("div");
|
|
12733
12687
|
e.className = "mint-search-panel-inner", this._panelInner = e;
|
|
12734
12688
|
let t = document.createElement("div");
|
|
12735
|
-
this._panelSearchBar = t, t.className = "mint-search-panel-searchbar is-hidden", this.
|
|
12689
|
+
this._panelSearchBar = t, t.className = "mint-search-panel-searchbar is-hidden", this._panelInput = document.createElement("mint-input"), this._panelInput.setAttribute("type", "search"), this._panelInput.setAttribute("icon", "search"), this._panelInput.setAttribute("aria-label", this.getAttribute("placeholder") || "Search"), this._panelInput.className = "mint-search-input", this._bindInputHandlers(this._panelInput), t.appendChild(this._panelInput), this._customResultsWrap = document.createElement("div"), this._customResultsWrap.className = "mint-search-custom-results is-hidden", this._stateWrap = document.createElement("div"), this._stateWrap.className = "mint-search-state", this._stateWrap.textContent = "Start typing to search", this._stateWrap.setAttribute("role", "status"), this._stateWrap.setAttribute("aria-live", "polite"), this._resultsWrap = document.createElement("div"), this._resultsWrap.className = "mint-search-results", this._resultsId = `mint-search-results-${Math.random().toString(36).slice(2, 10)}`, this._resultsWrap.id = this._resultsId, this._resultsWrap.setAttribute("role", "listbox"), this._resultsWrap.setAttribute("aria-label", "Search results"), this._customResultsWrap.setAttribute("role", "region"), this._customResultsWrap.setAttribute("aria-label", "Search results"), e.appendChild(t), this._panelFiltersWrap = document.createElement("div"), e.appendChild(this._panelFiltersWrap), this._ensurePanelFiltersShell(), e.appendChild(this._customResultsWrap), e.appendChild(this._stateWrap), e.appendChild(this._resultsWrap), this._panel.appendChild(e);
|
|
12736
12690
|
}
|
|
12737
12691
|
this._panel.parentElement !== document.body && document.body.appendChild(this._panel);
|
|
12738
|
-
let t = this.
|
|
12692
|
+
let t = this._getPlaceholder();
|
|
12739
12693
|
if (this._desktopInput && this._desktopInput.setAttribute("placeholder", t), this._panelInput && this._panelInput.setAttribute("placeholder", t), this._desktopInput && this._desktopInput.setAttribute("aria-label", this.getAttribute("aria-label") || this._getPlaceholder()), this._panelInput && this._panelInput.setAttribute("aria-label", this.getAttribute("aria-label") || this._getPlaceholder()), this._desktopShortcutHint) {
|
|
12740
12694
|
let e = this._getOpenShortcutHintText();
|
|
12741
12695
|
this._desktopShortcutHint.textContent = e, this._desktopShortcutHint.classList.toggle("is-hidden", !e);
|
|
@@ -12762,9 +12716,9 @@ var $n = class e extends HTMLElement {
|
|
|
12762
12716
|
let a = (n) => {
|
|
12763
12717
|
n && n.stopPropagation();
|
|
12764
12718
|
let r = this._filtersMoreOpen, i = this._selectedFilters.indexOf(t);
|
|
12765
|
-
i >= 0 ? this._selectedFilters.splice(i, 1) : this._selectedFilters.push(t)
|
|
12719
|
+
i >= 0 ? this._selectedFilters.splice(i, 1) : this._selectedFilters.push(t);
|
|
12766
12720
|
let a = e.length > 0 && this._selectedFilters.length === e.length, o = this._selectedFilters.length === 0;
|
|
12767
|
-
r && (a || o) && (this._filtersMoreOpen = !1), this._emitFilterChange(), this.
|
|
12721
|
+
r && (a || o) && (this._filtersMoreOpen = !1), this._emitFilterChange(), this.render(), this._query.trim() && this._scheduleSearch(this._query), r ? a || o ? this._focusActiveInput() : requestAnimationFrame(() => {
|
|
12768
12722
|
this._getFilterChipElements().find((e) => e.dataset.mintSearchFilter === t)?.focus();
|
|
12769
12723
|
}) : this._focusActiveInput();
|
|
12770
12724
|
};
|
|
@@ -12803,7 +12757,7 @@ var $n = class e extends HTMLElement {
|
|
|
12803
12757
|
let e = this._customResultsWrap.childElementCount > 0;
|
|
12804
12758
|
this._customResultsWrap.classList.toggle("is-hidden", !e), e ? (this._stateWrap?.classList.add("is-hidden"), this._resultsWrap?.classList.add("is-hidden")) : this._resultsWrap?.classList.remove("is-hidden");
|
|
12805
12759
|
}
|
|
12806
|
-
this.
|
|
12760
|
+
this._syncResponsiveChrome(), this._syncPanelVisibility();
|
|
12807
12761
|
}
|
|
12808
12762
|
_syncResponsiveChrome() {
|
|
12809
12763
|
let e = this._collapseOnMobile();
|
package/dist/search.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* mint-ui component style: search */
|
|
2
|
-
@layer theme, base, components, utilities;/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-
|
|
2
|
+
@layer theme, base, components, utilities;/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.static{position:static}.hidden{display:none}.inline{display:inline}.resize{resize:both}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}@layer components{mint-search.mint-search-host{width:100%;max-width:36rem;color:var(--mint-color-text,#28372d);display:block;position:relative}mint-search.is-hidden,.mint-search-panel.is-hidden,.mint-search-panel-searchbar.is-hidden,.mint-search-filters.is-hidden,.mint-search-filter-more.is-hidden,.mint-search-filter-more-trigger.is-hidden,.mint-search-filter-chips.is-hidden,.mint-search-custom-results.is-hidden,.mint-search-state.is-hidden,.mint-search-results.is-hidden,.mint-search-shortcut-hint.is-hidden{display:none!important}.mint-search-shell{z-index:2147483001;width:100%;height:2.5rem;display:flex;position:relative}.mint-search-shell.is-open{border-bottom-color:#0000}.mint-search-input{flex:1;min-width:0;height:100%}.mint-search-shortcut-hint{z-index:1;color:var(--mint-color-text-secondary,#66736a);pointer-events:none;font-size:.75rem;position:absolute;top:50%;right:.75rem;transform:translateY(-50%)}.mint-search-panel{z-index:2147483000;padding:0}.mint-search-panel-anchored{margin-top:0;position:fixed;inset:auto}.mint-search-panel-mobile{padding:.75rem;position:fixed;inset:3rem 0 auto}.mint-search-panel-global{z-index:2147483645}.mint-search-panel-inner{border:1px solid var(--mint-color-border,#dfe6e0);background:var(--mint-color-surface-raised,#fff);width:100%;max-height:min(26rem,100dvh - 4rem);color:var(--mint-color-text,#28372d);border-radius:1rem;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a}.mint-search-panel-anchored .mint-search-panel-inner{border-top:0;border-top-left-radius:0;border-top-right-radius:0}.mint-search-panel.is-open-above .mint-search-panel-inner{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.mint-search-panel-inner.is-overflow-visible{overflow:visible}.mint-search-panel-inner.has-no-filters>.mint-search-state,.mint-search-panel-inner.has-no-filters>.mint-search-results{padding-top:1rem}.mint-search-panel-inner.has-no-filters>.mint-search-custom-results{padding-top:1.25rem}.mint-search-panel-searchbar{border-bottom:1px solid var(--mint-color-border,#dfe6e0);flex:none;align-items:center;gap:.5rem;padding:.75rem;display:flex}.mint-search-panel-searchbar .mint-search-input{height:auto}.mint-search-filters{flex-direction:column;flex:none;gap:.5rem;min-width:0;padding:1.25rem .75rem .75rem;display:flex;position:relative}.mint-search-filter-row{flex-wrap:nowrap;align-items:center;gap:.5rem;width:100%;min-width:0;display:flex}.mint-search-filter-chips{flex-wrap:nowrap;flex:1;align-items:center;gap:.5rem;min-width:0;display:flex;overflow-x:hidden}.mint-search-filter-more{z-index:95;border:1px solid var(--mint-color-border,#dfe6e0);background:var(--mint-color-surface-raised,#fff);border-radius:.5rem;flex-wrap:wrap;gap:.5rem;max-height:40vh;margin-top:.25rem;padding:.5rem;display:flex;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a}.mint-search-filter-more-trigger{flex:none;align-items:center;min-width:0;min-height:0;display:flex;position:relative}.mint-search-filter-more-button{white-space:nowrap;flex:none}mint-chip.mint-search-filter-chip{white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:.25rem;display:inline-flex}mint-chip.mint-search-filter-chip:focus-visible{outline:2px solid var(--mint-color-border-focus,#9ba9a0);outline-offset:1px}mint-chip.mint-search-filter-chip.is-selected,mint-chip.mint-search-selected-filter.is-backspace-armed{box-shadow:inset 0 0 0 2px var(--mint-color-border-focus,#9ba9a0)}mint-chip.mint-search-selected-filter{text-overflow:ellipsis;white-space:nowrap;max-width:min(20rem,85vw);padding:.125rem .375rem;font-size:.75rem;line-height:1;overflow:hidden}.mint-search-filter-chip-close{flex:none;width:1rem;height:1rem;margin-left:.5rem}.mint-search-custom-results,.mint-search-results{flex:1;min-height:0;padding:0 .5rem .5rem;overflow-y:auto}.mint-search-state{color:var(--mint-color-text-secondary,#66736a);padding:0 1rem 1rem;font-size:.875rem}.mint-search-result{cursor:pointer;width:100%;color:var(--mint-color-text,#28372d);text-align:left;background:0 0;border:0;border-radius:.5rem;align-items:flex-start;gap:.75rem;padding:.5rem .75rem;display:flex}.mint-search-result:hover{background:var(--mint-color-surface-muted,#f6f8f4)}.mint-search-result:focus-visible{outline:2px solid var(--mint-color-border-focus,#9ba9a0);outline-offset:-2px}.mint-search-result-icon{width:1rem;height:1rem;color:var(--mint-color-text-secondary,#66736a);flex:none;margin-top:.125rem}.mint-search-result-copy{min-width:0}.mint-search-result-title,.mint-search-result-subtitle{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mint-search-result-title{color:var(--mint-color-text,#28372d);font-size:.875rem;font-weight:600}.mint-search-result-subtitle{color:var(--mint-color-text-secondary,#66736a);font-size:.75rem}@media (width>=1100px){.mint-search-shell.is-collapsed{display:flex}.mint-search-panel-inner{border-top:0;border-top-left-radius:0;border-top-right-radius:0}.mint-search-panel-searchbar.is-collapsed{display:none}}@media (width<=1099.98px){.mint-search-shell.is-collapsed{display:none}.mint-search-panel-searchbar.is-collapsed{display:flex}}mint-input.mint-search-input input,mint-input.mint-search-input textarea,mint-input.mint-search-input select{background-color:var(--mint-color-surface-raised,#fff)!important;color:var(--mint-color-text,#28372d)!important;border-color:var(--mint-color-border,#dfe6e0)!important;border-width:1px!important}mint-input.mint-search-input input{padding-right:3.5rem!important}mint-input.mint-search-input .mint-input-label,mint-input.mint-search-input .mint-input-info,mint-input.mint-search-input label{color:var(--mint-color-text-secondary,#66736a)}}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
|