@fluidattacks/design 8.6.0 → 9.0.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}.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}.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,5 +1,4 @@
1
- import { PropsWithChildren } from 'react';
2
- import { OptionContainer } from './option-container';
3
- import { IOAuthSelectorProps } from './types';
4
- declare const OAuthSelector: ({ align, buttonLabel, children, id, manualOption, providers, }: Readonly<PropsWithChildren<IOAuthSelectorProps>>) => JSX.Element;
5
- export { OAuthSelector, OptionContainer };
1
+ import { IOAuthSelectorProps, IOptionRowProps, TOAuthProvider } from './types';
2
+ declare const OAuthSelector: ({ align, buttonLabel, fallbackOptions, header, id, options, }: Readonly<IOAuthSelectorProps>) => JSX.Element;
3
+ export { OAuthSelector };
4
+ export type { IOAuthSelectorProps, IOptionRowProps, TOAuthProvider };
@@ -1,95 +1,101 @@
1
- import { jsxs as r, jsx as l } from "react/jsx-runtime";
2
- import { useState as g, useRef as y, useCallback as n } from "react";
3
- import { useTheme as w } from "styled-components";
4
- import { OptionContainer as a } from "./option-container/index.js";
5
- import { Button as O } from "../button/index.js";
6
- import { Container as c } from "../container/index.js";
7
- import { useClickOutside as I } from "../../hooks/use-click-outside.js";
8
- const B = ({
9
- align: p = "end",
10
- buttonLabel: d = "Add Credential",
11
- children: m,
12
- id: f,
13
- manualOption: t,
14
- providers: i
1
+ import { jsxs as l, jsx as t } from "react/jsx-runtime";
2
+ import { useState as C, useRef as O, useId as I, useCallback as i, createElement as b, Fragment as D } from "react";
3
+ import { useTheme as k } from "styled-components";
4
+ import { OptionRow as R } from "./option-row/index.js";
5
+ import { Button as S } from "../button/index.js";
6
+ import { Container as h } from "../container/index.js";
7
+ import { Divider as z } from "../divider/index.js";
8
+ import "../typography/heading/index.js";
9
+ import "../typography/span/index.js";
10
+ import { Text as T } from "../typography/text/index.js";
11
+ import { useClickOutside as j } from "../../hooks/use-click-outside.js";
12
+ const M = ({
13
+ align: u = "end",
14
+ buttonLabel: a = "Add Credential",
15
+ fallbackOptions: p = [],
16
+ header: n,
17
+ id: x,
18
+ options: g
15
19
  }) => {
16
- const h = w(), [u, o] = g(!1), s = y(null);
17
- I(s, () => {
18
- o(!1);
19
- });
20
- const x = n(
20
+ const o = k(), [d, r] = C(!1), m = O(null), w = I(), c = x ?? w, s = i(() => {
21
+ r(!1);
22
+ }, []);
23
+ j(m, s);
24
+ const y = i(() => {
25
+ r((e) => !e);
26
+ }, []), v = i(
21
27
  (e) => {
22
- t?.onClick(e), o(!1);
28
+ e.key === "Escape" && r(!1);
23
29
  },
24
- [t]
25
- ), C = n(() => {
26
- o((e) => !e);
27
- }, [o]), b = n(
28
- (e) => (k) => {
29
- i[e]?.onClick(k), o(!1);
30
- },
31
- [i]
30
+ []
31
+ ), f = i(
32
+ (e) => /* @__PURE__ */ b(R, { ...e, key: e.id, onChoose: s }),
33
+ [s]
32
34
  );
33
- return /* @__PURE__ */ r(
34
- c,
35
+ return /* @__PURE__ */ l(
36
+ h,
35
37
  {
36
- alignItems: p,
38
+ alignItems: u,
37
39
  display: "flex",
38
40
  flexDirection: "column",
41
+ onKeyDown: v,
39
42
  position: "relative",
40
- ref: s,
43
+ ref: m,
41
44
  width: "max-content",
42
45
  zIndex: 10,
43
46
  children: [
44
- /* @__PURE__ */ l(O, { icon: "plus", onClick: C, variant: "primary", children: d }),
45
- /* @__PURE__ */ r(
46
- c,
47
+ /* @__PURE__ */ t(
48
+ S,
49
+ {
50
+ "aria-controls": c,
51
+ "aria-expanded": d,
52
+ icon: "plus",
53
+ onClick: y,
54
+ variant: "primary",
55
+ children: a
56
+ }
57
+ ),
58
+ d ? /* @__PURE__ */ l(
59
+ h,
47
60
  {
48
- alignItems: "center",
49
- bgColor: "#fff",
50
- border: `1px solid ${h.palette.gray[200]}`,
51
- borderRadius: "4px",
61
+ "aria-label": n ?? a,
62
+ bgColor: o.palette.white,
63
+ border: `1px solid ${o.palette.gray[200]}`,
64
+ borderRadius: o.spacing[0.25],
52
65
  display: "flex",
53
- gap: 0.5,
54
- height: "78px",
55
- id: f,
56
- pb: 0.5,
57
- pl: 0.75,
66
+ flexDirection: "column",
67
+ gap: 0.25,
68
+ id: c,
69
+ minWidth: "380px",
70
+ padding: [0.75, 0.75, 0.75, 0.75],
58
71
  position: "absolute",
59
- pr: 0.75,
60
- pt: 0.5,
61
- shadow: "md",
62
- top: "40px",
63
- visibility: u ? "visible" : "hidden",
72
+ role: "group",
73
+ shadow: "sm",
74
+ top: "44px",
64
75
  zIndex: 10,
65
76
  children: [
66
- Object.keys(i).map(
67
- (e) => /* @__PURE__ */ l(
68
- a,
69
- {
70
- onClick: b(e),
71
- provider: e
72
- },
73
- e
74
- )
75
- ),
76
- t === void 0 ? void 0 : /* @__PURE__ */ l(
77
- a,
77
+ n === void 0 ? void 0 : /* @__PURE__ */ t(
78
+ T,
78
79
  {
79
- icon: "square-plus",
80
- label: t.label ?? "Add manually",
81
- onClick: x
80
+ color: o.palette.gray[400],
81
+ fontWeight: "bold",
82
+ size: "sm",
83
+ textTransform: "uppercase",
84
+ children: n
82
85
  }
83
86
  ),
84
- m
87
+ /* @__PURE__ */ t("span", { children: g.map(f) }),
88
+ p.length === 0 ? void 0 : /* @__PURE__ */ l(D, { children: [
89
+ /* @__PURE__ */ t(z, { mb: 0.25, mt: 0.25 }),
90
+ p.map(f)
91
+ ] })
85
92
  ]
86
93
  }
87
- )
94
+ ) : void 0
88
95
  ]
89
96
  }
90
97
  );
91
98
  };
92
99
  export {
93
- B as OAuthSelector,
94
- a as OptionContainer
100
+ M as OAuthSelector
95
101
  };
@@ -1,6 +1,8 @@
1
1
  import { Meta } from '@storybook/react-vite';
2
2
  import { IOAuthSelectorProps } from './types';
3
3
  declare const config: Meta;
4
- declare const Default: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, IOAuthSelectorProps>;
4
+ declare const Credentials: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, IOAuthSelectorProps>;
5
+ declare const GitRoot: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, IOAuthSelectorProps>;
6
+ declare const Trust: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, IOAuthSelectorProps>;
5
7
  export default config;
6
- export { Default };
8
+ export { Credentials, GitRoot, Trust };
@@ -0,0 +1,3 @@
1
+ import { IOptionRowComponentProps } from '../types';
2
+ declare const OptionRow: ({ description, icon, id, onChoose, onClick, provider, title, trailingIcon, }: Readonly<IOptionRowComponentProps>) => JSX.Element;
3
+ export { OptionRow };
@@ -0,0 +1,65 @@
1
+ import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
+ import { useCallback as u } from "react";
3
+ import { useTheme as b } from "styled-components";
4
+ import { OptionButton as h } from "../styles.js";
5
+ import { CloudImage as z } from "../../cloud-image/index.js";
6
+ import { Icon as s } from "../../icon/index.js";
7
+ import "../../typography/heading/index.js";
8
+ import { Span as y } from "../../typography/span/index.js";
9
+ import { Text as m } from "../../typography/text/index.js";
10
+ const x = {
11
+ Azure: "integrates/integrations/federations/azure",
12
+ Bitbucket: "integrates/integrations/federations/bitbucket",
13
+ GitHub: "integrates/integrations/federations/github",
14
+ GitLab: "integrates/integrations/federations/gitlab"
15
+ }, G = ({
16
+ description: l,
17
+ icon: c,
18
+ id: p,
19
+ onChoose: o,
20
+ onClick: r,
21
+ provider: i,
22
+ title: d,
23
+ trailingIcon: n
24
+ }) => {
25
+ const e = b(), g = u(
26
+ (f) => {
27
+ r(f), o();
28
+ },
29
+ [o, r]
30
+ );
31
+ return /* @__PURE__ */ a(h, { "data-testid": p, onClick: g, type: "button", children: [
32
+ i === void 0 ? /* @__PURE__ */ t(
33
+ s,
34
+ {
35
+ icon: c ?? "circle-plus",
36
+ iconColor: e.palette.gray[800],
37
+ iconSize: "lg"
38
+ }
39
+ ) : /* @__PURE__ */ t(
40
+ z,
41
+ {
42
+ alt: `${i} Logo`,
43
+ height: "20px",
44
+ publicId: x[i],
45
+ width: "20px"
46
+ }
47
+ ),
48
+ /* @__PURE__ */ a(y, { display: "block", size: "md", children: [
49
+ /* @__PURE__ */ t(m, { color: e.palette.gray[800], fontWeight: "bold", size: "md", children: d }),
50
+ /* @__PURE__ */ t(m, { color: e.palette.gray[500], size: "sm", children: l })
51
+ ] }),
52
+ n === void 0 ? void 0 : /* @__PURE__ */ t(
53
+ s,
54
+ {
55
+ icon: n,
56
+ iconColor: e.palette.gray[400],
57
+ iconSize: "sm",
58
+ iconType: "fa-light"
59
+ }
60
+ )
61
+ ] });
62
+ };
63
+ export {
64
+ G as OptionRow
65
+ };
@@ -0,0 +1,2 @@
1
+ declare const OptionButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>>> & string;
2
+ export { OptionButton };
@@ -0,0 +1,21 @@
1
+ import { styled as r } from "styled-components";
2
+ const t = r.button`
3
+ ${({ theme: o }) => `
4
+ align-items: center;
5
+ background: none;
6
+ border: none;
7
+ border-radius: ${o.spacing[0.25]};
8
+ cursor: pointer;
9
+ display: flex;
10
+ gap: 9px;
11
+ padding: ${o.spacing[0.5]};
12
+ text-align: left;
13
+ width: 100%;
14
+
15
+ &:hover { background-color: ${o.palette.gray[100]}; }
16
+ &:focus-visible { outline: 1px solid ${o.palette.primary[400]}; }
17
+ `}
18
+ `;
19
+ export {
20
+ t as OptionButton
21
+ };
@@ -2,44 +2,52 @@ import { Property } from 'csstype';
2
2
  import { MouseEventHandler } from 'react';
3
3
  import { IIconModifiable } from '../@core';
4
4
  type TOAuthProvider = "Azure" | "Bitbucket" | "GitHub" | "GitLab";
5
+ type TOptionIcon = IIconModifiable["icon"];
5
6
  /**
6
- * Shared props for OAuth selector.
7
- * @interface ISharedProps
8
- * @property {string} [label] - Label to display on the button.
9
- * @property {Function} onClick - Function to be called when the button is clicked.
7
+ * Connection option props.
8
+ * @interface IOptionRowProps
9
+ * @property {string} description - Line telling the user what the option does.
10
+ * @property {string} [icon] - Leading icon, used when no provider is named.
11
+ * @property {string} id - Stable key for the option, independent of its title.
12
+ * @property {Function} onClick - Function to be called when the option is chosen.
13
+ * @property {TOAuthProvider} [provider] - Provider whose logo leads the option.
14
+ * @property {string} title - Name of the connection the option offers.
15
+ * @property {string} [trailingIcon] - Icon telling the user where the option leads.
10
16
  */
11
- interface ISharedProps {
12
- label?: string;
13
- onClick: MouseEventHandler<HTMLOrSVGElement>;
17
+ interface IOptionRowProps {
18
+ description: string;
19
+ icon?: TOptionIcon;
20
+ id: string;
21
+ onClick: MouseEventHandler<HTMLButtonElement>;
22
+ provider?: TOAuthProvider;
23
+ title: string;
24
+ trailingIcon?: TOptionIcon;
25
+ }
26
+ /**
27
+ * Option row component props.
28
+ * @interface IOptionRowComponentProps
29
+ * @extends IOptionRowProps
30
+ * @property {Function} onChoose - Function to be called after the option is chosen.
31
+ */
32
+ interface IOptionRowComponentProps extends IOptionRowProps {
33
+ onChoose: VoidFunction;
14
34
  }
15
35
  /**
16
36
  * Oauth selector component props.
17
37
  * @interface IOAuthSelectorProps
18
38
  * @property {string} [align] - Alignment of the button.
19
39
  * @property {string} [buttonLabel] - Label to display on the button.
20
- * @property {string} [id] - Id to be used on the button.
21
- * @property {ISharedProps} [manualOption] - Object with the label and onClick function for the manual option.
22
- * @property {Record} [providers] - Object with the providers and their onClick function.
40
+ * @property {IOptionRowProps[]} [fallbackOptions] - Options shown under a divider.
41
+ * @property {string} [header] - Uppercase header shown above the options.
42
+ * @property {string} [id] - Id to be used on the panel.
43
+ * @property {IOptionRowProps[]} options - Ordered options the menu offers.
23
44
  */
24
45
  interface IOAuthSelectorProps {
25
46
  align?: Property.AlignItems;
26
47
  buttonLabel?: string;
48
+ fallbackOptions?: IOptionRowProps[];
49
+ header?: string;
27
50
  id?: string;
28
- manualOption?: ISharedProps;
29
- providers: Partial<Record<TOAuthProvider, {
30
- onClick: MouseEventHandler<HTMLOrSVGElement>;
31
- }>>;
32
- }
33
- /**
34
- * Option container component props.
35
- * @interface IOptionContainerProps
36
- * @extends IIconModifiable
37
- * @extends ISharedProps
38
- * @property {boolean} [onlyLabel] - Whether to only display the label.
39
- * @property {TOAuthProvider} [provider] - Provider to display.
40
- */
41
- interface IOptionContainerProps extends Partial<Pick<IIconModifiable, "icon">>, ISharedProps {
42
- onlyLabel?: boolean;
43
- provider?: TOAuthProvider;
51
+ options: IOptionRowProps[];
44
52
  }
45
- export type { IOAuthSelectorProps, IOptionContainerProps, TOAuthProvider };
53
+ export type { IOAuthSelectorProps, IOptionRowComponentProps, IOptionRowProps, TOAuthProvider, };
@@ -1,42 +1,25 @@
1
- import { jsxs as t, jsx as r } from "react/jsx-runtime";
2
- import { useTheme as n } from "styled-components";
3
- import { RankPositionIcon as c } from "./icon/index.js";
4
- import { Container as l } from "../container/index.js";
5
- import { Heading as a } from "../typography/heading/index.js";
1
+ import { jsxs as c, jsx as o } from "react/jsx-runtime";
2
+ import { useTheme as r } from "styled-components";
3
+ import { RankPositionIcon as t } from "./icon/index.js";
4
+ import { Container as g } from "../container/index.js";
5
+ import { Heading as l } from "../typography/heading/index.js";
6
6
  import "../typography/span/index.js";
7
7
  import "../typography/text/index.js";
8
- const x = ({ rank: e }) => {
9
- const o = n(), i = {
10
- 1: {
11
- color: o.palette.error[700],
12
- icon: "gauge-max"
13
- },
14
- 2: {
15
- color: o.palette.error[500],
16
- icon: "gauge-high"
17
- },
18
- 3: {
19
- color: o.palette.warning[500],
20
- icon: "gauge"
21
- },
22
- 4: {
23
- color: o.palette.success[500],
24
- icon: "gauge-low"
25
- },
26
- 5: {
27
- color: o.palette.info[700],
28
- icon: "gauge-min"
29
- },
30
- 6: {
31
- color: o.palette.gray[400],
32
- icon: "gauge-min"
33
- }
34
- };
35
- return /* @__PURE__ */ t(l, { alignItems: "center", display: "inline-flex", gap: 0.5, children: [
36
- /* @__PURE__ */ r(c, { color: i[e].color, icon: i[e].icon }),
37
- /* @__PURE__ */ r(a, { fontWeight: "bold", size: "xs", children: e })
8
+ const h = {
9
+ 1: { icon: "gauge-max", scale: "error", shade: "700" },
10
+ 2: { icon: "gauge-high", scale: "error", shade: "500" },
11
+ 3: { icon: "gauge-high", scale: "warning", shade: "600" },
12
+ 4: { icon: "gauge", scale: "warning", shade: "500" },
13
+ 5: { icon: "gauge-low", scale: "success", shade: "500" },
14
+ 6: { icon: "gauge-low", scale: "info", shade: "500" },
15
+ 7: { icon: "gauge-min", scale: "info", shade: "700" }
16
+ }, R = ({ rank: e }) => {
17
+ const i = r(), { icon: n, scale: a, shade: s } = h[e];
18
+ return /* @__PURE__ */ c(g, { alignItems: "center", display: "inline-flex", gap: 0.5, children: [
19
+ /* @__PURE__ */ o(t, { color: i.palette[a][s], icon: n }),
20
+ /* @__PURE__ */ o(l, { fontWeight: "bold", size: "xs", children: e })
38
21
  ] });
39
22
  };
40
23
  export {
41
- x as RankPosition
24
+ R as RankPosition
42
25
  };
@@ -1,6 +1,7 @@
1
- import { Meta } from '@storybook/react-vite';
1
+ import { Meta, StoryFn } from '@storybook/react-vite';
2
2
  import { IRankPositionProps } from './types';
3
3
  declare const config: Meta;
4
4
  declare const Default: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, IRankPositionProps>;
5
- export { Default };
5
+ declare const Scale: StoryFn;
6
+ export { Default, Scale };
6
7
  export default config;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,5 +1,6 @@
1
1
  import { IconName } from '@fortawesome/free-solid-svg-icons';
2
- type TRankPosition = 1 | 2 | 3 | 4 | 5 | 6;
2
+ import { ColorPalette } from '../@core/types';
3
+ type TRankPosition = 1 | 2 | 3 | 4 | 5 | 6 | 7;
3
4
  /**
4
5
  * Rank position icon.
5
6
  * @interface IRankPositionIcon
@@ -10,12 +11,24 @@ interface IRankPositionIcon {
10
11
  color: string;
11
12
  icon: IconName;
12
13
  }
14
+ /**
15
+ * Icon and theme color of one rank, from the most urgent (1) to the least (7).
16
+ * @interface IRankPositionTone
17
+ * @property { IconName } icon - The gauge icon, its needle falling with the rank.
18
+ * @property { string } scale - The theme palette the color comes from.
19
+ * @property { ColorPalette } shade - The shade of that palette.
20
+ */
21
+ interface IRankPositionTone {
22
+ icon: IconName;
23
+ scale: "error" | "info" | "success" | "warning";
24
+ shade: ColorPalette;
25
+ }
13
26
  /**
14
27
  * Rank position component props.
15
28
  * @interface IRankPositionProps
16
- * @property { number } rank - The rank position (1-6).
29
+ * @property { number } rank - The rank position (1-7).
17
30
  */
18
31
  interface IRankPositionProps {
19
32
  rank: TRankPosition;
20
33
  }
21
- export type { IRankPositionProps, IRankPositionIcon, TRankPosition };
34
+ export type { IRankPositionProps, IRankPositionIcon, IRankPositionTone, TRankPosition, };
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import './assets/styles/global.css';/* empty css */
2
2
  import { variantBuilder as t } from "./components/@core/variants/utils.js";
3
- import { hiddenProps as m } from "./components/@core/constants.js";
3
+ import { hiddenProps as p } from "./components/@core/constants.js";
4
4
  import { BaseButtonComponent as x, BaseComponent as a, BaseSpanComponent as n, BaseTextComponent as i } from "./components/@core/styles.js";
5
5
  import { getStyledConfig as l, setBorder as u, setDisplay as d, setInteraction as C, setMargin as g, setPadding as c, setPosition as S, setText as T } from "./components/@core/utils.js";
6
6
  import { Accordion as b } from "./components/accordion/index.js";
@@ -9,7 +9,7 @@ import { AdvisoriesCard as D } from "./components/advisories-card/index.js";
9
9
  import { Alert as v } from "./components/alert/index.js";
10
10
  import { Avatar as L } from "./components/avatar/index.js";
11
11
  import { Button as M } from "./components/button/index.js";
12
- import { CardHeader as k } from "./components/card/card-header/index.js";
12
+ import { CardHeader as w } from "./components/card/card-header/index.js";
13
13
  import { CardWithImage as V } from "./components/card/card-with-image/index.js";
14
14
  import { CardWithInput as R } from "./components/card/card-with-input/index.js";
15
15
  import { CardWithOptions as N } from "./components/card/card-with-options/index.js";
@@ -22,7 +22,7 @@ import { Checkbox as Y } from "./components/checkbox/index.js";
22
22
  import { CircularProgress as $ } from "./components/circular-progress/index.js";
23
23
  import { CloudImage as or } from "./components/cloud-image/index.js";
24
24
  import { CodeSnippet as tr } from "./components/code-snippet/index.js";
25
- import { CollapsibleCard as mr } from "./components/collapsible-card/index.js";
25
+ import { CollapsibleCard as pr } from "./components/collapsible-card/index.js";
26
26
  import { CustomThemeProvider as xr, icons as ar, theme as nr } from "./components/colors/index.js";
27
27
  import { ComparisonTable as sr } from "./components/comparison-table/index.js";
28
28
  import { useConditionsDialog as ur } from "./components/conditions-dialog/index.js";
@@ -35,7 +35,7 @@ import { Dropdown as Dr } from "./components/dropdown/index.js";
35
35
  import { EmptyState as vr } from "./components/empty-state/index.js";
36
36
  import { FATag as Lr } from "./components/fa-tag/index.js";
37
37
  import { FilePreview as Mr } from "./components/file-preview/index.js";
38
- import { Filters as kr } from "./components/filters/index.js";
38
+ import { Filters as wr } from "./components/filters/index.js";
39
39
  import { Form as Vr } from "./components/form/index.js";
40
40
  import { GridContainer as Rr } from "./components/grid-container/index.js";
41
41
  import { GroupSelector as Nr } from "./components/group-selector/index.js";
@@ -48,7 +48,7 @@ import { InputDateRange as Yr } from "./components/inputs/fields/date-range/inde
48
48
  import { InputDateTime as $r } from "./components/inputs/fields/date-time/index.js";
49
49
  import { Editable as oo } from "./components/inputs/fields/editable/index.js";
50
50
  import { InputArray as to } from "./components/inputs/fields/input-array/index.js";
51
- import { InputFile as mo } from "./components/inputs/fields/input-file/index.js";
51
+ import { InputFile as po } from "./components/inputs/fields/input-file/index.js";
52
52
  import { InputSection as xo } from "./components/inputs/fields/input-section/index.js";
53
53
  import { InputTags as no } from "./components/inputs/fields/input-tags/index.js";
54
54
  import { InputNumber as so } from "./components/inputs/fields/number/index.js";
@@ -60,8 +60,8 @@ import { OutlineContainer as Bo } from "./components/inputs/outline-container/in
60
60
  import { ErrorMessage as Fo } from "./components/inputs/styles.js";
61
61
  import { ItemCardDB as Po } from "./components/item-card-db/index.js";
62
62
  import { LanguageSwitcher as yo } from "./components/language-switcher/index.js";
63
- import { ButtonToolbarCenter as Ao, ButtonToolbarRow as Mo, ButtonToolbarStartRow as Oo } from "./components/layout/categories/buttons/index.js";
64
- import { Col as wo } from "./components/layout/categories/column/index.js";
63
+ import { ButtonToolbarCenter as Ao, ButtonToolbarRow as Mo, ButtonToolbarStartRow as ko } from "./components/layout/categories/buttons/index.js";
64
+ import { Col as Oo } from "./components/layout/categories/column/index.js";
65
65
  import { Gap as Eo } from "./components/layout/categories/gap/index.js";
66
66
  import { Row as Wo } from "./components/layout/categories/row/index.js";
67
67
  import { Link as Uo } from "./components/link/index.js";
@@ -73,7 +73,7 @@ import { Lottie as Qo } from "./components/lottie/index.js";
73
73
  import { Menu as Zo } from "./components/menu/index.js";
74
74
  import { MessageBanner as re } from "./components/message-banner/index.js";
75
75
  import { Modal as ee } from "./components/modal/index.js";
76
- import { Notification as pe } from "./components/notification/index.js";
76
+ import { Notification as me } from "./components/notification/index.js";
77
77
  import { NotificationSign as fe } from "./components/notification-sign/index.js";
78
78
  import { OAuthSelector as ae } from "./components/oauth-selector/index.js";
79
79
  import { OptionCard as ie } from "./components/option-card/index.js";
@@ -87,8 +87,8 @@ import { ProgressIndicator as Fe } from "./components/progress-indicator/index.j
87
87
  import { PopUp as Pe } from "./components/pop-up/index.js";
88
88
  import { RadioButton as ye } from "./components/radio-button/index.js";
89
89
  import { RankPosition as Ae } from "./components/rank-position/index.js";
90
- import { RulesCard as Oe } from "./components/rules-card/index.js";
91
- import { ScrollUpButton as we } from "./components/scroll-button/index.js";
90
+ import { RulesCard as ke } from "./components/rules-card/index.js";
91
+ import { ScrollUpButton as Oe } from "./components/scroll-button/index.js";
92
92
  import { Search as Ee } from "./components/search/index.js";
93
93
  import { SearchDropdown as We } from "./components/search-dropdown/index.js";
94
94
  import { SegmentedControl as Ue } from "./components/segmented-control/index.js";
@@ -100,7 +100,7 @@ import { ShowOnHover as Qe } from "./components/show-on-hover/index.js";
100
100
  import { SlideOutMenu as Ze } from "./components/slide-out-menu/index.js";
101
101
  import { Slider as rt } from "./components/slider/index.js";
102
102
  import { StepLapse as et } from "./components/step-lapse/index.js";
103
- import { SummaryCard as pt } from "./components/summary-card/index.js";
103
+ import { SummaryCard as mt } from "./components/summary-card/index.js";
104
104
  import { Table as ft } from "./components/table/index.js";
105
105
  import { TableButton as at } from "./components/table-button/index.js";
106
106
  import { TableContent as it } from "./components/table-content/index.js";
@@ -113,8 +113,8 @@ import { Tooltip as Bt } from "./components/tooltip/index.js";
113
113
  import { Tour as Ft, baseStep as Dt, defaultOptions as Pt } from "./components/tour/index.js";
114
114
  import { Tree as yt } from "./components/tree/index.js";
115
115
  import { TruncatedList as At } from "./components/truncated-list/index.js";
116
- import { Heading as Ot } from "./components/typography/heading/index.js";
117
- import { Span as wt } from "./components/typography/span/index.js";
116
+ import { Heading as kt } from "./components/typography/heading/index.js";
117
+ import { Span as Ot } from "./components/typography/span/index.js";
118
118
  import { Text as Et } from "./components/typography/text/index.js";
119
119
  import { WeaknessesCard as Wt } from "./components/weaknesses-card/index.js";
120
120
  import { DesignsContext as Ut } from "./context/react/index.js";
@@ -124,35 +124,34 @@ import { DesignTokensCss as _t } from "./globals/design-tokens-css/index.js";
124
124
  import { useActiveSection as qt } from "./hooks/use-active-section.js";
125
125
  import { useCarousel as Qt } from "./hooks/use-carousel.js";
126
126
  import { useClickOutside as Zt } from "./hooks/use-click-outside.js";
127
- import { useCloudinaryImage as rp } from "./hooks/use-cloudinary-image.js";
128
- import { useColumnsModal as ep } from "./hooks/use-columns-modal.js";
129
- import { useDebouncedCallback as pp } from "./hooks/use-debounced-callback.js";
130
- import { useFiltersValues as fp } from "./hooks/use-filters.js";
131
- import { useModal as ap } from "./hooks/use-modal.js";
132
- import { useMountEffect as ip } from "./hooks/use-mount-effect.js";
133
- import { useSearch as lp } from "./hooks/use-search.js";
134
- import { formatDate as dp, formatDateTime as Cp, formatDateTimeInInput as gp } from "./utils/date.js";
135
- import { EXCLUDE_TOKEN as Sp, analyzeFilterValue as Tp, formatCheckboxesFilterValue as Ip, formatIncludeExcludeFilterValue as bp, formatTextFilterValue as Bp, getPreservedValues as hp, normalizeCheckboxesFilterValue as Fp, parseCheckboxesFilterValue as Dp, parseIncludeExcludeFilterValue as Pp, parseTextFilterValue as vp } from "./utils/filters.js";
136
- import { normalizeDate as Lp, normalizeNumber as Ap } from "./utils/normalizers.js";
137
- import { openUrl as Op } from "./utils/open-url.js";
138
- import { clearStorage as wp, getPathname as Vp, getStorageItem as Ep } from "./utils/storage.js";
139
- import { safeUrl as Wp } from "./utils/url.js";
140
- import { ActiveFilters as Up } from "./components/filters/active-filters/index.js";
141
- import { ColumnsModal as Gp } from "./components/modal/columns-modal/index.js";
142
- import { Controller as Kp, useController as Xp, useFieldArray as _p, useFormContext as jp, useWatch as qp } from "./node_modules/react-hook-form/dist/index.esm.js";
143
- import { InnerForm as Qp } from "./components/form/inner-form/index.js";
144
- import { ItemContent as Zp } from "./components/table-content/item-content/index.js";
145
- import { ListItemsWrapper as rm } from "./components/list-item/styles.js";
146
- import { ModalConfirm as em } from "./components/modal/modal-confirm/index.js";
147
- import { ModalFooter as pm } from "./components/modal/footer/index.js";
148
- import { OptionContainer as fm } from "./components/oauth-selector/option-container/index.js";
149
- import { ProgressStep as am } from "./components/progress-indicator/step/index.js";
150
- import { TimeLineCard as im } from "./components/timeline/card/index.js";
151
- import { partitionFilters as lm } from "./components/filters/utils.js";
152
- import { useNumberFormatter as dm } from "./node_modules/react-aria/dist/private/i18n/useNumberFormatter.js";
127
+ import { useCloudinaryImage as rm } from "./hooks/use-cloudinary-image.js";
128
+ import { useColumnsModal as em } from "./hooks/use-columns-modal.js";
129
+ import { useDebouncedCallback as mm } from "./hooks/use-debounced-callback.js";
130
+ import { useFiltersValues as fm } from "./hooks/use-filters.js";
131
+ import { useModal as am } from "./hooks/use-modal.js";
132
+ import { useMountEffect as im } from "./hooks/use-mount-effect.js";
133
+ import { useSearch as lm } from "./hooks/use-search.js";
134
+ import { formatDate as dm, formatDateTime as Cm, formatDateTimeInInput as gm } from "./utils/date.js";
135
+ import { EXCLUDE_TOKEN as Sm, analyzeFilterValue as Tm, formatCheckboxesFilterValue as Im, formatIncludeExcludeFilterValue as bm, formatTextFilterValue as Bm, getPreservedValues as hm, normalizeCheckboxesFilterValue as Fm, parseCheckboxesFilterValue as Dm, parseIncludeExcludeFilterValue as Pm, parseTextFilterValue as vm } from "./utils/filters.js";
136
+ import { normalizeDate as Lm, normalizeNumber as Am } from "./utils/normalizers.js";
137
+ import { openUrl as km } from "./utils/open-url.js";
138
+ import { clearStorage as Om, getPathname as Vm, getStorageItem as Em } from "./utils/storage.js";
139
+ import { safeUrl as Wm } from "./utils/url.js";
140
+ import { ActiveFilters as Um } from "./components/filters/active-filters/index.js";
141
+ import { ColumnsModal as Gm } from "./components/modal/columns-modal/index.js";
142
+ import { Controller as Km, useController as Xm, useFieldArray as _m, useFormContext as jm, useWatch as qm } from "./node_modules/react-hook-form/dist/index.esm.js";
143
+ import { InnerForm as Qm } from "./components/form/inner-form/index.js";
144
+ import { ItemContent as Zm } from "./components/table-content/item-content/index.js";
145
+ import { ListItemsWrapper as rp } from "./components/list-item/styles.js";
146
+ import { ModalConfirm as ep } from "./components/modal/modal-confirm/index.js";
147
+ import { ModalFooter as mp } from "./components/modal/footer/index.js";
148
+ import { ProgressStep as fp } from "./components/progress-indicator/step/index.js";
149
+ import { TimeLineCard as ap } from "./components/timeline/card/index.js";
150
+ import { partitionFilters as ip } from "./components/filters/utils.js";
151
+ import { useNumberFormatter as lp } from "./node_modules/react-aria/dist/private/i18n/useNumberFormatter.js";
153
152
  export {
154
153
  b as Accordion,
155
- Up as ActiveFilters,
154
+ Um as ActiveFilters,
156
155
  h as AdvancedBadge,
157
156
  D as AdvisoriesCard,
158
157
  v as Alert,
@@ -164,9 +163,9 @@ export {
164
163
  M as Button,
165
164
  Ao as ButtonToolbarCenter,
166
165
  Mo as ButtonToolbarRow,
167
- Oo as ButtonToolbarStartRow,
166
+ ko as ButtonToolbarStartRow,
168
167
  j as CardContainer,
169
- k as CardHeader,
168
+ w as CardHeader,
170
169
  V as CardWithImage,
171
170
  R as CardWithInput,
172
171
  N as CardWithOptions,
@@ -177,13 +176,13 @@ export {
177
176
  $ as CircularProgress,
178
177
  or as CloudImage,
179
178
  tr as CodeSnippet,
180
- wo as Col,
181
- mr as CollapsibleCard,
182
- Gp as ColumnsModal,
179
+ Oo as Col,
180
+ pr as CollapsibleCard,
181
+ Gm as ColumnsModal,
183
182
  jr as ComboBox,
184
183
  sr as ComparisonTable,
185
184
  cr as Container,
186
- Kp as Controller,
185
+ Km as Controller,
187
186
  Tr as CopyButton,
188
187
  xr as CustomThemeProvider,
189
188
  _t as DesignTokensCss,
@@ -192,39 +191,39 @@ export {
192
191
  br as Divider,
193
192
  hr as Drawer,
194
193
  Dr as Dropdown,
195
- Sp as EXCLUDE_TOKEN,
194
+ Sm as EXCLUDE_TOKEN,
196
195
  oo as Editable,
197
196
  vr as EmptyState,
198
197
  Fo as ErrorMessage,
199
198
  Lr as FATag,
200
199
  Mr as FilePreview,
201
- kr as Filters,
200
+ wr as Filters,
202
201
  Vr as Form,
203
202
  Eo as Gap,
204
203
  Kt as GlobalTypography,
205
204
  Rr as GridContainer,
206
205
  Nr as GroupSelector,
207
- Ot as Heading,
206
+ kt as Heading,
208
207
  zr as Icon,
209
208
  Hr as IconButton,
210
209
  X as IndicatorCard,
211
210
  Xr as IndicatorCardDB,
212
- Qp as InnerForm,
211
+ Qm as InnerForm,
213
212
  to as InputArray,
214
213
  Jr as InputDate,
215
214
  Yr as InputDateRange,
216
215
  $r as InputDateTime,
217
- mo as InputFile,
216
+ po as InputFile,
218
217
  so as InputNumber,
219
218
  uo as InputNumberRange,
220
219
  xo as InputSection,
221
220
  no as InputTags,
222
221
  Po as ItemCardDB,
223
- Zp as ItemContent,
222
+ Zm as ItemContent,
224
223
  yo as LanguageSwitcher,
225
224
  Uo as Link,
226
225
  Go as ListItem,
227
- rm as ListItemsWrapper,
226
+ rp as ListItemsWrapper,
228
227
  Ko as LittleFlag,
229
228
  _o as Loading,
230
229
  qo as Logo,
@@ -232,13 +231,12 @@ export {
232
231
  Zo as Menu,
233
232
  re as MessageBanner,
234
233
  ee as Modal,
235
- em as ModalConfirm,
236
- pm as ModalFooter,
237
- pe as Notification,
234
+ ep as ModalConfirm,
235
+ mp as ModalFooter,
236
+ me as Notification,
238
237
  fe as NotificationSign,
239
238
  ae as OAuthSelector,
240
239
  ie as OptionCard,
241
- fm as OptionContainer,
242
240
  Bo as OutlineContainer,
243
241
  le as PackageCard,
244
242
  de as PaginatorDb,
@@ -249,12 +247,12 @@ export {
249
247
  Ie as PriorityScore,
250
248
  Be as ProgressBar,
251
249
  Fe as ProgressIndicator,
252
- am as ProgressStep,
250
+ fp as ProgressStep,
253
251
  ye as RadioButton,
254
252
  Ae as RankPosition,
255
253
  Wo as Row,
256
- Oe as RulesCard,
257
- we as ScrollUpButton,
254
+ ke as RulesCard,
255
+ Oe as ScrollUpButton,
258
256
  Ee as Search,
259
257
  We as SearchDropdown,
260
258
  Ue as SegmentedControl,
@@ -265,9 +263,9 @@ export {
265
263
  Qe as ShowOnHover,
266
264
  Ze as SlideOutMenu,
267
265
  rt as Slider,
268
- wt as Span,
266
+ Ot as Span,
269
267
  et as StepLapse,
270
- pt as SummaryCard,
268
+ mt as SummaryCard,
271
269
  ft as Table,
272
270
  at as TableButton,
273
271
  it as TableContent,
@@ -278,38 +276,38 @@ export {
278
276
  So as TextArea,
279
277
  Io as TextInput,
280
278
  St as TimeLine,
281
- im as TimeLineCard,
279
+ ap as TimeLineCard,
282
280
  It as Toggle,
283
281
  Bt as Tooltip,
284
282
  Ft as Tour,
285
283
  yt as Tree,
286
284
  At as TruncatedList,
287
285
  Wt as WeaknessesCard,
288
- Tp as analyzeFilterValue,
286
+ Tm as analyzeFilterValue,
289
287
  Dt as baseStep,
290
- wp as clearStorage,
288
+ Om as clearStorage,
291
289
  Pt as defaultOptions,
292
- Ip as formatCheckboxesFilterValue,
293
- dp as formatDate,
294
- Cp as formatDateTime,
295
- gp as formatDateTimeInInput,
296
- bp as formatIncludeExcludeFilterValue,
297
- Bp as formatTextFilterValue,
298
- Vp as getPathname,
299
- hp as getPreservedValues,
300
- Ep as getStorageItem,
290
+ Im as formatCheckboxesFilterValue,
291
+ dm as formatDate,
292
+ Cm as formatDateTime,
293
+ gm as formatDateTimeInInput,
294
+ bm as formatIncludeExcludeFilterValue,
295
+ Bm as formatTextFilterValue,
296
+ Vm as getPathname,
297
+ hm as getPreservedValues,
298
+ Em as getStorageItem,
301
299
  l as getStyledConfig,
302
- m as hiddenProps,
300
+ p as hiddenProps,
303
301
  ar as icons,
304
- Fp as normalizeCheckboxesFilterValue,
305
- Lp as normalizeDate,
306
- Ap as normalizeNumber,
307
- Op as openUrl,
308
- Dp as parseCheckboxesFilterValue,
309
- Pp as parseIncludeExcludeFilterValue,
310
- vp as parseTextFilterValue,
311
- lm as partitionFilters,
312
- Wp as safeUrl,
302
+ Fm as normalizeCheckboxesFilterValue,
303
+ Lm as normalizeDate,
304
+ Am as normalizeNumber,
305
+ km as openUrl,
306
+ Dm as parseCheckboxesFilterValue,
307
+ Pm as parseIncludeExcludeFilterValue,
308
+ vm as parseTextFilterValue,
309
+ ip as partitionFilters,
310
+ Wm as safeUrl,
313
311
  u as setBorder,
314
312
  d as setDisplay,
315
313
  C as setInteraction,
@@ -321,19 +319,19 @@ export {
321
319
  qt as useActiveSection,
322
320
  Qt as useCarousel,
323
321
  Zt as useClickOutside,
324
- rp as useCloudinaryImage,
325
- ep as useColumnsModal,
322
+ rm as useCloudinaryImage,
323
+ em as useColumnsModal,
326
324
  ur as useConditionsDialog,
327
325
  Cr as useConfirmDialog,
328
- Xp as useController,
329
- pp as useDebouncedCallback,
330
- _p as useFieldArray,
331
- fp as useFiltersValues,
332
- jp as useFormContext,
333
- ap as useModal,
334
- ip as useMountEffect,
335
- dm as useNumberFormatter,
336
- lp as useSearch,
337
- qp as useWatch,
326
+ Xm as useController,
327
+ mm as useDebouncedCallback,
328
+ _m as useFieldArray,
329
+ fm as useFiltersValues,
330
+ jm as useFormContext,
331
+ am as useModal,
332
+ im as useMountEffect,
333
+ lp as useNumberFormatter,
334
+ lm as useSearch,
335
+ qm as useWatch,
338
336
  t as variantBuilder
339
337
  };
package/package.json CHANGED
@@ -135,5 +135,5 @@
135
135
  "./dist/index.js"
136
136
  ],
137
137
  "typings": "./dist/index.d.ts",
138
- "version": "8.6.0"
138
+ "version": "9.0.0"
139
139
  }
@@ -1,3 +0,0 @@
1
- import { IOptionContainerProps } from '../types';
2
- declare const OptionContainer: ({ icon, label, onClick, onlyLabel, provider, }: Readonly<IOptionContainerProps>) => JSX.Element;
3
- export { OptionContainer };
@@ -1,76 +0,0 @@
1
- import { jsxs as p, jsx as e } from "react/jsx-runtime";
2
- import { useTheme as m } from "styled-components";
3
- import { CloudImage as s } from "../../cloud-image/index.js";
4
- import { Container as i } from "../../container/index.js";
5
- import { Icon as c } from "../../icon/index.js";
6
- import "../../typography/heading/index.js";
7
- import "../../typography/span/index.js";
8
- import { Text as g } from "../../typography/text/index.js";
9
- const h = {
10
- Azure: "integrates/autoenrollment/azureIcon",
11
- Bitbucket: "integrates/autoenrollment/bitbucketLogo",
12
- GitHub: "integrates/autoenrollment/githubLogo",
13
- GitLab: "integrates/autoenrollment/gitlabIcon"
14
- }, w = ({
15
- icon: o,
16
- label: a,
17
- onClick: l,
18
- onlyLabel: r = !1,
19
- provider: t = "GitLab"
20
- }) => {
21
- const n = m();
22
- return /* @__PURE__ */ p(
23
- i,
24
- {
25
- alignItems: "center",
26
- bgColorHover: n.palette.gray[100],
27
- borderRadius: "4px",
28
- cursor: "pointer",
29
- display: "flex",
30
- flexDirection: "column",
31
- gap: 0.25,
32
- height: "62px",
33
- justify: "center",
34
- minWidth: "64px",
35
- onClick: l,
36
- pb: 0.5,
37
- pl: 0.25,
38
- pr: 0.25,
39
- pt: 0.5,
40
- children: [
41
- r ? !1 : /* @__PURE__ */ e(i, { height: "24px", width: "24px", children: o === void 0 ? /* @__PURE__ */ e(
42
- s,
43
- {
44
- alt: `${t} Logo`,
45
- height: "100%",
46
- publicId: h[t],
47
- width: "100%"
48
- }
49
- ) : /* @__PURE__ */ e(
50
- c,
51
- {
52
- icon: o,
53
- iconColor: "#000",
54
- iconSize: "xl",
55
- iconType: "fa-light"
56
- }
57
- ) }),
58
- /* @__PURE__ */ e(i, { alignItems: "center", display: "flex", minWidth: "24px", children: /* @__PURE__ */ e(
59
- g,
60
- {
61
- color: n.palette.gray[800],
62
- display: "inline",
63
- size: "sm",
64
- textAlign: "center",
65
- whiteSpace: r ? "break-spaces" : "nowrap",
66
- wordWrap: "unset",
67
- children: a ?? t
68
- }
69
- ) })
70
- ]
71
- }
72
- );
73
- };
74
- export {
75
- w as OptionContainer
76
- };