@fluidattacks/design 9.5.3 → 9.6.0

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.
@@ -1 +1 @@
1
- /*! tailwindcss v4.3.0 | 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-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--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-outline-style:solid;--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;--btn-padding-x:16px;--btn-padding-y:10px;--btn-spacing:8px;--grid-columns:12;--grid-width:1440px;--angle-grad:45deg;--opacity-grad:0;--tag-padding-x:4px;--tag-padding-y:0}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-gray-200:oklch(92.8% .006 264.531);--color-black:#000;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--radius-xl:.75rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*,:after,:before,::backdrop{border-color:var(--color-gray-200,currentColor)}::file-selector-button{border-color:var(--color-gray-200,currentColor)}}@layer components;@layer utilities{.\@container{container-type:inline-size}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.col-1{grid-column:1}.col-2{grid-column:2}.row-0{grid-row:0}.row-1{grid-row:1}.row-2{grid-row:2}.row-3{grid-row:3}.row-5{grid-row:5}.row-8{grid-row:8}.row-9{grid-row:9}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.h-90{height:calc(var(--spacing) * 90)}.h-150{height:calc(var(--spacing) * 150)}.h-\[500px\]{height:500px}.h-\[600px\]{height:600px}.w-100{width:calc(var(--spacing) * 100)}.w-\[400px\]{width:400px}.w-full{width:100%}.flex-shrink,.shrink{flex-shrink:1}.flex-grow,.grow{flex-grow:1}.grow-2{flex-grow:2}.grow-4{flex-grow:4}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.rounded{border-radius:.25rem}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.bg-black{background-color:var(--color-black)}.p-8{padding:calc(var(--spacing) * 8)}.font-mono{font-family:var(--font-mono)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.tab-1{tab-size:1}.tab-2{tab-size:2}.tab-3{tab-size:3}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.underline{text-decoration-line:underline}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.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)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.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,)}.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,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.select-all{-webkit-user-select:all;user-select:all}}@property --btn-padding-x{syntax:"<length>";inherits:false;initial-value:16px}@property --btn-padding-y{syntax:"<length>";inherits:false;initial-value:10px}@property --btn-spacing{syntax:"<length>";inherits:false;initial-value:8px}@property --grid-columns{syntax:"<number>";inherits:false;initial-value:12}@property --grid-width{syntax:"<length>";inherits:false;initial-value:1440px}@property --angle-grad{syntax:"<angle>";inherits:false;initial-value:45deg}@property --opacity-grad{syntax:"<number>";inherits:false;initial-value:0}@property --tag-padding-x{syntax:"<length>";inherits:false;initial-value:4px}@property --tag-padding-y{syntax:"<length>";inherits:false;initial-value:0}@keyframes spinAnimation{to{--border-angle:360deg}}@keyframes gradientAnimation{0%{--animate-position:45deg}33%{--animate-position:-50deg}66%{--animate-position:-100deg}to{--animate-position:45deg}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@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-outline-style{syntax:"*";inherits:false;initial-value:solid}@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}
1
+ /*! tailwindcss v4.3.0 | 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-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--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-outline-style:solid;--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;--btn-padding-x:16px;--btn-padding-y:10px;--btn-spacing:8px;--grid-columns:12;--grid-width:1440px;--angle-grad:45deg;--opacity-grad:0;--tag-padding-x:4px;--tag-padding-y:0}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-gray-200:oklch(92.8% .006 264.531);--color-black:#000;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--radius-xl:.75rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*,:after,:before,::backdrop{border-color:var(--color-gray-200,currentColor)}::file-selector-button{border-color:var(--color-gray-200,currentColor)}}@layer components;@layer utilities{.\@container{container-type:inline-size}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.col-1{grid-column:1}.col-2{grid-column:2}.row-0{grid-row:0}.row-1{grid-row:1}.row-2{grid-row:2}.row-3{grid-row:3}.row-5{grid-row:5}.row-8{grid-row:8}.row-9{grid-row:9}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.h-90{height:calc(var(--spacing) * 90)}.h-150{height:calc(var(--spacing) * 150)}.h-\[500px\]{height:500px}.h-\[600px\]{height:600px}.w-100{width:calc(var(--spacing) * 100)}.w-\[400px\]{width:400px}.w-full{width:100%}.flex-shrink,.shrink{flex-shrink:1}.flex-grow,.grow{flex-grow:1}.grow-2{flex-grow:2}.grow-4{flex-grow:4}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.rounded{border-radius:.25rem}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.bg-black{background-color:var(--color-black)}.p-8{padding:calc(var(--spacing) * 8)}.font-mono{font-family:var(--font-mono)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.tab-1{tab-size:1}.tab-2{tab-size:2}.tab-3{tab-size:3}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.underline{text-decoration-line:underline}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.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)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.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,)}.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,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.select-all{-webkit-user-select:all;user-select:all}}@property --btn-padding-x{syntax:"<length>";inherits:false;initial-value:16px}@property --btn-padding-y{syntax:"<length>";inherits:false;initial-value:10px}@property --btn-spacing{syntax:"<length>";inherits:false;initial-value:8px}@property --grid-columns{syntax:"<number>";inherits:false;initial-value:12}@property --grid-width{syntax:"<length>";inherits:false;initial-value:1440px}@property --angle-grad{syntax:"<angle>";inherits:false;initial-value:45deg}@property --opacity-grad{syntax:"<number>";inherits:false;initial-value:0}@property --tag-padding-x{syntax:"<length>";inherits:false;initial-value:4px}@property --tag-padding-y{syntax:"<length>";inherits:false;initial-value:0}@keyframes spinAnimation{to{--border-angle:360deg}}@keyframes gradientAnimation{0%{--animate-position:45deg}33%{--animate-position:-50deg}66%{--animate-position:-100deg}to{--animate-position:45deg}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@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-outline-style{syntax:"*";inherits:false;initial-value:solid}@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}
@@ -1,14 +1,15 @@
1
1
  import { jsxs as y, jsx as r } from "react/jsx-runtime";
2
- import { useVirtualizer as H } from "../../../../node_modules/@tanstack/react-virtual/dist/esm/index.js";
2
+ import { useVirtualizer as K } from "../../../../node_modules/@tanstack/react-virtual/dist/esm/index.js";
3
3
  import { useState as u, useRef as k, useMemo as d, useCallback as n } from "react";
4
- import { useTheme as K } from "styled-components";
5
- import { StyledCombobox as V, StyledBar as W, StyledChips as q, StyledInput as G, StyledToggle as Q, StyledDropdown as _, StyledList as A, StyledCode as J } from "./styles.js";
4
+ import { useTheme as L } from "styled-components";
5
+ import { StyledCombobox as Q, StyledBar as V, StyledChips as W, StyledInput as q, StyledToggle as G, StyledDropdown as _, StyledList as A, StyledCode as J } from "./styles.js";
6
6
  import { NoMatches as U } from "../../search/no-matches/index.js";
7
7
  import { StyledItem as X } from "../../styles.js";
8
- import { Checkbox as Y } from "../../../checkbox/index.js";
9
- import { Icon as Z } from "../../../icon/index.js";
10
- import { useClickOutside as ee } from "../../../../hooks/use-click-outside.js";
11
- const te = 36, pe = ({
8
+ import { matchesQuery as Y } from "../../utils.js";
9
+ import { Checkbox as Z } from "../../../checkbox/index.js";
10
+ import { Icon as ee } from "../../../icon/index.js";
11
+ import { useClickOutside as te } from "../../../../hooks/use-click-outside.js";
12
+ const oe = 36, me = ({
12
13
  name: l,
13
14
  items: g,
14
15
  selected: o,
@@ -16,58 +17,58 @@ const te = 36, pe = ({
16
17
  onToggle: v,
17
18
  autoOpen: I = !1
18
19
  }) => {
19
- const z = K(), [a, w] = u(I), [p, C] = u(""), [h, b] = u(
20
+ const z = L(), [a, w] = u(I), [p, C] = u(""), [h, b] = u(
20
21
  () => new Set(o)
21
- ), [T, D] = u(null), x = k(null), c = k(null), $ = d(() => new Set(o), [o]), f = d(
22
+ ), [T, D] = u(null), x = k(null), c = k(null), $ = d(() => new Set(o), [o]), m = d(
22
23
  () => [...g].sort(
23
24
  (e, t) => Number(h.has(t.value)) - Number(h.has(e.value))
24
25
  ),
25
26
  [g, h]
26
- ), m = d(() => {
27
+ ), f = d(() => {
27
28
  const e = p.trim().toLowerCase();
28
- return e === "" ? f : f.filter(
29
- (t) => t.value.toLowerCase().includes(e) || (t.label ?? "").toLowerCase().includes(e)
29
+ return e === "" ? m : m.filter(
30
+ (t) => Y(t, e)
30
31
  );
31
- }, [p, f]), O = n(
32
+ }, [p, m]), O = n(
32
33
  () => x.current,
33
34
  []
34
- ), j = n(() => te, []), S = H({
35
- count: m.length,
35
+ ), j = n(() => oe, []), S = K({
36
+ count: f.length,
36
37
  estimateSize: j,
37
38
  getScrollElement: O,
38
39
  overscan: 6,
39
40
  useFlushSync: !1
40
- }), L = S.getVirtualItems(), i = n(() => {
41
+ }), R = S.getVirtualItems(), i = n(() => {
41
42
  b(new Set(o)), C(""), w(!1);
42
43
  }, [o]), s = n(() => {
43
44
  b(new Set(o)), w(!0);
44
- }, [o]), R = n(
45
+ }, [o]), M = n(
45
46
  (e) => {
46
47
  e.preventDefault(), e.stopPropagation(), a ? i() : (c.current?.focus(), s());
47
48
  },
48
49
  [a, i, s]
49
- ), M = n(() => {
50
+ ), N = n(() => {
50
51
  c.current?.focus(), s();
51
- }, [s]), N = n(
52
+ }, [s]), P = n(
52
53
  (e) => (t) => {
53
54
  t.stopPropagation(), v(e);
54
55
  },
55
56
  [v]
56
- ), P = n(
57
+ ), B = n(
57
58
  (e) => {
58
59
  C(e.target.value);
59
60
  },
60
61
  []
61
- ), B = n(
62
+ ), F = n(
62
63
  (e) => {
63
64
  e.key === "Enter" ? e.preventDefault() : e.key === "Escape" && (i(), c.current?.blur());
64
65
  },
65
66
  [i]
66
- ), F = d(() => o.length === 0 ? "" : o.length <= 2 ? o.join(", ") : `${o.slice(0, 2).join(", ")}, +${o.length - 2} more`, [o]);
67
- return ee(a ? T : null, i), /* @__PURE__ */ y(V, { ref: D, children: [
68
- /* @__PURE__ */ y(W, { onClick: M, children: [
69
- /* @__PURE__ */ r(q, { children: /* @__PURE__ */ r(
70
- G,
67
+ ), H = d(() => o.length === 0 ? "" : o.length <= 2 ? o.join(", ") : `${o.slice(0, 2).join(", ")}, +${o.length - 2} more`, [o]);
68
+ return te(a ? T : null, i), /* @__PURE__ */ y(Q, { ref: D, children: [
69
+ /* @__PURE__ */ y(V, { onClick: N, children: [
70
+ /* @__PURE__ */ r(W, { children: /* @__PURE__ */ r(
71
+ q,
71
72
  {
72
73
  "aria-controls": `${l}-dropdown`,
73
74
  "aria-expanded": a,
@@ -75,25 +76,25 @@ const te = 36, pe = ({
75
76
  autoComplete: "off",
76
77
  id: `${l}-search`,
77
78
  name: `${l}-search`,
78
- onChange: P,
79
+ onChange: B,
79
80
  onFocus: s,
80
- onKeyDown: B,
81
+ onKeyDown: F,
81
82
  placeholder: E,
82
83
  ref: c,
83
84
  type: "search",
84
- value: a ? p : F
85
+ value: a ? p : H
85
86
  }
86
87
  ) }),
87
88
  /* @__PURE__ */ r(
88
- Q,
89
+ G,
89
90
  {
90
91
  "aria-controls": `${l}-dropdown`,
91
92
  "aria-expanded": a,
92
93
  "aria-label": `${l}-toggle`,
93
- onClick: R,
94
+ onClick: M,
94
95
  type: "button",
95
96
  children: /* @__PURE__ */ r(
96
- Z,
97
+ ee,
97
98
  {
98
99
  icon: a ? "chevron-up" : "chevron-down",
99
100
  iconColor: z.palette.gray[700],
@@ -104,7 +105,7 @@ const te = 36, pe = ({
104
105
  }
105
106
  )
106
107
  ] }),
107
- a ? /* @__PURE__ */ r(_, { "data-testid": `${l}-dropdown`, children: /* @__PURE__ */ r(A, { ref: x, role: "listbox", children: m.length > 0 ? /* @__PURE__ */ r(
108
+ a ? /* @__PURE__ */ r(_, { "data-testid": `${l}-dropdown`, children: /* @__PURE__ */ r(A, { ref: x, role: "listbox", children: f.length > 0 ? /* @__PURE__ */ r(
108
109
  "div",
109
110
  {
110
111
  style: {
@@ -112,8 +113,8 @@ const te = 36, pe = ({
112
113
  position: "relative",
113
114
  width: "100%"
114
115
  },
115
- children: L.map((e) => {
116
- const t = m[e.index];
116
+ children: R.map((e) => {
117
+ const t = f[e.index];
117
118
  return /* @__PURE__ */ r(
118
119
  "div",
119
120
  {
@@ -126,7 +127,7 @@ const te = 36, pe = ({
126
127
  width: "100%"
127
128
  },
128
129
  children: /* @__PURE__ */ r(X, { "aria-selected": $.has(t.value), children: /* @__PURE__ */ r(
129
- Y,
130
+ Z,
130
131
  {
131
132
  checked: $.has(t.value),
132
133
  label: /* @__PURE__ */ y("span", { children: [
@@ -134,7 +135,7 @@ const te = 36, pe = ({
134
135
  t.label
135
136
  ] }),
136
137
  name: t.value,
137
- onChange: N(t.value),
138
+ onChange: P(t.value),
138
139
  value: t.value
139
140
  }
140
141
  ) })
@@ -147,5 +148,5 @@ const te = 36, pe = ({
147
148
  ] });
148
149
  };
149
150
  export {
150
- pe as MultiSelectSearch
151
+ me as MultiSelectSearch
151
152
  };
@@ -1,35 +1,36 @@
1
1
  import { jsxs as w, jsx as n } from "react/jsx-runtime";
2
- import { useFloating as U, FloatingPortal as q } from "../../../../node_modules/@floating-ui/react/dist/floating-ui.react.js";
3
- import { useVirtualizer as Q } from "../../../../node_modules/@tanstack/react-virtual/dist/esm/index.js";
2
+ import { useFloating as Q, FloatingPortal as U } from "../../../../node_modules/@floating-ui/react/dist/floating-ui.react.js";
3
+ import { useVirtualizer as q } from "../../../../node_modules/@tanstack/react-virtual/dist/esm/index.js";
4
4
  import { useState as m, useRef as k, useMemo as A, useCallback as i } from "react";
5
5
  import { useTheme as Y } from "styled-components";
6
6
  import { StyledFloatingDropdown as J, StyledOption as X } from "./styles.js";
7
7
  import { NoMatches as Z } from "../../search/no-matches/index.js";
8
- import { StyledCombobox as ee, StyledBar as te, StyledChips as oe, StyledInput as ne, StyledToggle as re, StyledList as ie } from "../include-exclude/styles.js";
8
+ import { matchesQuery as ee } from "../../utils.js";
9
+ import { StyledCombobox as te, StyledBar as oe, StyledChips as ne, StyledInput as re, StyledToggle as ie, StyledList as le } from "../include-exclude/styles.js";
9
10
  import { Icon as N } from "../../../icon/index.js";
10
11
  import "../../../typography/heading/index.js";
11
- import { Span as le } from "../../../typography/span/index.js";
12
+ import { Span as ae } from "../../../typography/span/index.js";
12
13
  import "../../../typography/text/index.js";
13
- import { useClickOutside as ae } from "../../../../hooks/use-click-outside.js";
14
- import { autoUpdate as se } from "../../../../node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
15
- import { offset as ce, flip as de, shift as pe, size as ue } from "../../../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js";
16
- const fe = 36, he = 4, S = 8, g = -1, me = [
14
+ import { useClickOutside as se } from "../../../../hooks/use-click-outside.js";
15
+ import { autoUpdate as ce } from "../../../../node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
16
+ import { offset as de, flip as pe, shift as fe, size as ue } from "../../../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js";
17
+ const he = 36, me = 4, S = 8, g = -1, ge = [
17
18
  "ArrowDown",
18
19
  "ArrowUp",
19
20
  "Home",
20
21
  "End"
21
- ], ge = (o, l, a) => o === "Home" ? 0 : o === "End" ? a : o === "ArrowDown" ? l >= a ? 0 : l + 1 : l <= 0 ? a : l - 1, Ne = ({
22
+ ], ve = (o, l, a) => o === "Home" ? 0 : o === "End" ? a : o === "ArrowDown" ? l >= a ? 0 : l + 1 : l <= 0 ? a : l - 1, Pe = ({
22
23
  name: o,
23
24
  items: l,
24
25
  selected: a,
25
26
  placeholder: z,
26
27
  onSelect: b
27
28
  }) => {
28
- const C = Y(), [r, I] = m(!1), [v, O] = m(""), [d, y] = m(g), [P, R] = m(null), $ = k(null), f = k(null), { floatingStyles: F, refs: x } = U({
29
+ const I = Y(), [r, O] = m(!1), [v, C] = m(""), [d, y] = m(g), [P, R] = m(null), $ = k(null), u = k(null), { floatingStyles: F, refs: x } = Q({
29
30
  middleware: [
30
- ce(he),
31
- de({ padding: S }),
31
+ de(me),
32
32
  pe({ padding: S }),
33
+ fe({ padding: S }),
33
34
  ue({
34
35
  apply: ({ elements: e, rects: t }) => {
35
36
  e.floating.style.width = `${t.reference.width}px`;
@@ -38,45 +39,43 @@ const fe = 36, he = 4, S = 8, g = -1, me = [
38
39
  })
39
40
  ],
40
41
  placement: "bottom-start",
41
- whileElementsMounted: se
42
+ whileElementsMounted: ce
42
43
  }), s = A(() => {
43
44
  const e = v.trim().toLowerCase();
44
- return e === "" ? [...l] : l.filter(
45
- (t) => t.value.toLowerCase().includes(e) || (t.label ?? "").toLowerCase().includes(e)
46
- );
45
+ return e === "" ? [...l] : l.filter((t) => ee(t, e));
47
46
  }, [v, l]), _ = i(
48
47
  () => $.current,
49
48
  []
50
- ), L = i(() => fe, []), u = Q({
49
+ ), V = i(() => he, []), f = q({
51
50
  count: s.length,
52
- estimateSize: L,
51
+ estimateSize: V,
53
52
  getScrollElement: _,
54
53
  overscan: 6,
55
54
  useFlushSync: !1
56
- }), V = u.getVirtualItems(), c = i(() => {
57
- O(""), y(g), I(!1);
55
+ }), G = f.getVirtualItems(), c = i(() => {
56
+ C(""), y(g), O(!1);
58
57
  }, []), p = i(() => {
59
- I(!0);
60
- }, []), G = i(
58
+ O(!0);
59
+ }, []), H = i(
61
60
  (e) => {
62
- e.preventDefault(), e.stopPropagation(), r ? c() : (f.current?.focus(), p());
61
+ e.preventDefault(), e.stopPropagation(), r ? c() : (u.current?.focus(), p());
63
62
  },
64
63
  [r, c, p]
65
- ), H = i(() => {
66
- f.current?.focus(), p();
64
+ ), W = i(() => {
65
+ u.current?.focus(), p();
67
66
  }, [p]), h = i(
68
67
  (e) => {
69
68
  b(e)(), c();
70
69
  },
71
70
  [b, c]
72
- ), W = i(
71
+ ), K = i(
73
72
  (e) => (t) => {
74
73
  t.stopPropagation(), h(e);
75
74
  },
76
75
  [h]
77
- ), K = i(
76
+ ), L = i(
78
77
  (e) => {
79
- O(e.target.value), y(g);
78
+ C(e.target.value), y(g);
80
79
  },
81
80
  []
82
81
  ), E = i(
@@ -86,22 +85,22 @@ const fe = 36, he = 4, S = 8, g = -1, me = [
86
85
  return;
87
86
  }
88
87
  if (s.length === 0) return;
89
- const t = ge(e, d, s.length - 1);
90
- y(t), u.scrollToIndex(t);
88
+ const t = ve(e, d, s.length - 1);
89
+ y(t), f.scrollToIndex(t);
91
90
  },
92
- [d, s.length, p, r, u]
91
+ [d, s.length, p, r, f]
93
92
  ), M = i(
94
93
  (e) => {
95
94
  const { key: t } = e;
96
95
  if (t === "Escape")
97
- c(), f.current?.blur();
96
+ c(), u.current?.blur();
98
97
  else if (t === "Tab")
99
98
  r && c();
100
99
  else if (t === "Enter") {
101
100
  e.preventDefault();
102
101
  const D = r ? s[d] : void 0;
103
102
  D !== void 0 && h(D.value);
104
- } else me.includes(t) && (e.preventDefault(), E(t));
103
+ } else ge.includes(t) && (e.preventDefault(), E(t));
105
104
  },
106
105
  [d, s, c, E, r, h]
107
106
  ), j = A(() => {
@@ -112,10 +111,10 @@ const fe = 36, he = 4, S = 8, g = -1, me = [
112
111
  (e) => `${o}-option-${e}`,
113
112
  [o]
114
113
  ), B = d === g ? void 0 : T(d);
115
- return ae(r ? P : null, c, [x.floating]), /* @__PURE__ */ w(ee, { ref: R, children: [
116
- /* @__PURE__ */ w(te, { onClick: H, ref: x.setReference, children: [
117
- /* @__PURE__ */ n(oe, { children: /* @__PURE__ */ n(
118
- ne,
114
+ return se(r ? P : null, c, [x.floating]), /* @__PURE__ */ w(te, { ref: R, children: [
115
+ /* @__PURE__ */ w(oe, { onClick: W, ref: x.setReference, children: [
116
+ /* @__PURE__ */ n(ne, { children: /* @__PURE__ */ n(
117
+ re,
119
118
  {
120
119
  "aria-activedescendant": B,
121
120
  "aria-autocomplete": "list",
@@ -125,29 +124,29 @@ const fe = 36, he = 4, S = 8, g = -1, me = [
125
124
  autoComplete: "off",
126
125
  id: `${o}-search`,
127
126
  name: `${o}-search`,
128
- onChange: K,
127
+ onChange: L,
129
128
  onFocus: p,
130
129
  onKeyDown: M,
131
130
  placeholder: z,
132
- ref: f,
131
+ ref: u,
133
132
  role: "combobox",
134
133
  type: "search",
135
134
  value: r ? v : j
136
135
  }
137
136
  ) }),
138
137
  /* @__PURE__ */ n(
139
- re,
138
+ ie,
140
139
  {
141
140
  "aria-controls": `popover-${o}`,
142
141
  "aria-expanded": r,
143
142
  "aria-label": `${o}-toggle`,
144
- onClick: G,
143
+ onClick: H,
145
144
  type: "button",
146
145
  children: /* @__PURE__ */ n(
147
146
  N,
148
147
  {
149
148
  icon: r ? "chevron-up" : "chevron-down",
150
- iconColor: C.palette.gray[700],
149
+ iconColor: I.palette.gray[700],
151
150
  iconSize: "sm",
152
151
  iconType: "fa-light"
153
152
  }
@@ -155,29 +154,29 @@ const fe = 36, he = 4, S = 8, g = -1, me = [
155
154
  }
156
155
  )
157
156
  ] }),
158
- r ? /* @__PURE__ */ n(q, { children: /* @__PURE__ */ n(
157
+ r ? /* @__PURE__ */ n(U, { children: /* @__PURE__ */ n(
159
158
  J,
160
159
  {
161
160
  "data-testid": `${o}-dropdown`,
162
161
  id: `popover-${o}`,
163
162
  ref: x.setFloating,
164
163
  style: F,
165
- children: /* @__PURE__ */ n(ie, { ref: $, role: "listbox", children: s.length > 0 ? /* @__PURE__ */ n(
164
+ children: /* @__PURE__ */ n(le, { ref: $, role: "listbox", children: s.length > 0 ? /* @__PURE__ */ n(
166
165
  "div",
167
166
  {
168
167
  role: "presentation",
169
168
  style: {
170
- height: `${u.getTotalSize()}px`,
169
+ height: `${f.getTotalSize()}px`,
171
170
  position: "relative",
172
171
  width: "100%"
173
172
  },
174
- children: V.map((e) => {
173
+ children: G.map((e) => {
175
174
  const t = s[e.index];
176
175
  return /* @__PURE__ */ n(
177
176
  "div",
178
177
  {
179
178
  "data-index": e.index,
180
- ref: u.measureElement,
179
+ ref: f.measureElement,
181
180
  role: "presentation",
182
181
  style: {
183
182
  left: 0,
@@ -192,15 +191,15 @@ const fe = 36, he = 4, S = 8, g = -1, me = [
192
191
  as: "button",
193
192
  "data-active": e.index === d,
194
193
  id: T(e.index),
195
- onClick: W(t.value),
194
+ onClick: K(t.value),
196
195
  role: "option",
197
196
  tabIndex: -1,
198
197
  type: "button",
199
198
  children: [
200
199
  /* @__PURE__ */ n(
201
- le,
200
+ ae,
202
201
  {
203
- color: C.palette.gray[800],
202
+ color: I.palette.gray[800],
204
203
  display: "block",
205
204
  overflow: "hidden",
206
205
  size: "md",
@@ -234,5 +233,5 @@ const fe = 36, he = 4, S = 8, g = -1, me = [
234
233
  ] });
235
234
  };
236
235
  export {
237
- Ne as SingleSelectSearch
236
+ Pe as SingleSelectSearch
238
237
  };
@@ -52,6 +52,8 @@ interface IFilterItem {
52
52
  label?: string;
53
53
  /** How many records match this option. Rendered right-aligned when set. */
54
54
  count?: number;
55
+ /** Extra terms the combobox and includeExclude searches match without rendering them. */
56
+ searchTerms?: readonly string[];
55
57
  }
56
58
  /** Filter option properties. */
57
59
  interface IFilterOptionProps {
@@ -1,4 +1,4 @@
1
- import { IFilterOptionProps, IFiltersOptions } from './types';
1
+ import { IFilterItem, IFilterOptionProps, IFiltersOptions } from './types';
2
2
  declare const MAX_FILTERS_LENGTH = 7;
3
3
  interface IPartitionedFilters {
4
4
  menu: IFiltersOptions[];
@@ -16,4 +16,6 @@ declare const filterMenu: (groupedFilters: Readonly<Record<string, IFiltersOptio
16
16
  group: string;
17
17
  filters: IFiltersOptions[];
18
18
  }[];
19
- export { filterMenu, getGroupedFilters, getSelectedFilter, MAX_FILTERS_LENGTH, partitionFilters, };
19
+ /** Whether the item's value, label or search terms hold the lowercase query. */
20
+ declare const matchesQuery: (item: Readonly<IFilterItem>, normalized: string) => boolean;
21
+ export { filterMenu, getGroupedFilters, getSelectedFilter, matchesQuery, MAX_FILTERS_LENGTH, partitionFilters, };
@@ -1,36 +1,39 @@
1
- const b = 7, f = (r) => r.reduce(
2
- (t, e) => e.type === "toggle" ? { ...t, inline: [...t.inline, e] } : e.type === "select" ? { ...t, pinned: [...t.pinned, e] } : { ...t, menu: [...t.menu, e] },
1
+ const g = 7, m = (n) => n.reduce(
2
+ (e, t) => t.type === "toggle" ? { ...e, inline: [...e.inline, t] } : t.type === "select" ? { ...e, pinned: [...e.pinned, t] } : { ...e, menu: [...e.menu, t] },
3
3
  { menu: [], inline: [], pinned: [] }
4
- ), a = (r) => r.reduce(
5
- (t, e) => (e.group ? (t[e.group] || (t[e.group] = []), t[e.group].push(e)) : t.default = [...t.default || [], e], t),
4
+ ), b = (n) => n.reduce(
5
+ (e, t) => (t.group ? (e[t.group] || (e[t.group] = []), e[t.group].push(t)) : e.default = [...e.default || [], t], e),
6
6
  {}
7
- ), h = (r, t, e) => {
8
- const n = r.find((s) => s.id === t), i = n?.hideMenuTitle ?? !1;
9
- if (!n || !e)
7
+ ), h = (n, e, t) => {
8
+ const s = n.find((r) => r.id === e), u = s?.hideMenuTitle ?? !1;
9
+ if (!s || !t)
10
10
  return {
11
- hideMenuTitle: i,
12
- label: n?.label ?? "",
13
- options: n?.options ?? []
11
+ hideMenuTitle: u,
12
+ label: s?.label ?? "",
13
+ options: s?.options ?? []
14
14
  };
15
- const u = e.split(","), l = n.options?.map((s) => {
16
- if (!s.items) return s;
17
- const d = [...s.items].sort((p, g) => {
18
- const o = u.includes(p.value), m = u.includes(g.value);
19
- return o === m ? 0 : o ? -1 : 1;
15
+ const o = t.split(","), l = s.options?.map((r) => {
16
+ if (!r.items) return r;
17
+ const d = [...r.items].sort((p, a) => {
18
+ const i = o.includes(p.value), c = o.includes(a.value);
19
+ return i === c ? 0 : i ? -1 : 1;
20
20
  });
21
- return { ...s, items: d };
21
+ return { ...r, items: d };
22
22
  });
23
- return { hideMenuTitle: i, label: n.label, options: l };
24
- }, v = (r, t) => Object.entries(r).map(([e, n]) => {
25
- const i = n.filter(
26
- (u) => !u.hide && u.label.toLowerCase().includes(t.toLowerCase())
23
+ return { hideMenuTitle: u, label: s.label, options: l };
24
+ }, L = (n, e) => Object.entries(n).map(([t, s]) => {
25
+ const u = s.filter(
26
+ (o) => !o.hide && o.label.toLowerCase().includes(e.toLowerCase())
27
27
  );
28
- return i.length > 0 ? { group: e, filters: i } : void 0;
29
- }).filter((e) => e !== void 0);
28
+ return u.length > 0 ? { group: t, filters: u } : void 0;
29
+ }).filter((t) => t !== void 0), f = (n, e) => n.value.toLowerCase().includes(e) || (n.label ?? "").toLowerCase().includes(e) || (n.searchTerms ?? []).some(
30
+ (t) => t.toLowerCase().includes(e)
31
+ );
30
32
  export {
31
- b as MAX_FILTERS_LENGTH,
32
- v as filterMenu,
33
- a as getGroupedFilters,
33
+ g as MAX_FILTERS_LENGTH,
34
+ L as filterMenu,
35
+ b as getGroupedFilters,
34
36
  h as getSelectedFilter,
35
- f as partitionFilters
37
+ f as matchesQuery,
38
+ m as partitionFilters
36
39
  };
package/package.json CHANGED
@@ -57,7 +57,7 @@
57
57
  "eslint-plugin-react-hooks": "7.1.1",
58
58
  "eslint-plugin-storybook": "10.6.2",
59
59
  "jsdom": "27.4.0",
60
- "next": "16.3.8",
60
+ "next": "16.4.1",
61
61
  "playwright": "1.60.0",
62
62
  "postcss-styled-syntax": "0.7.1",
63
63
  "prettier": "3.9.6",
@@ -135,5 +135,5 @@
135
135
  "./dist/index.js"
136
136
  ],
137
137
  "typings": "./dist/index.d.ts",
138
- "version": "9.5.3"
138
+ "version": "9.6.0"
139
139
  }