tcce-design-system 0.1.12 → 0.1.14
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.1.13 | 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-font-weight:initial;--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-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}@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-red-300:#f17c7e;--color-orange-300:#fab592;--color-green-200:#9cffb2;--color-blue-400:#2003d3;--color-purple-400:#8276c9;--color-purple-600:#4d3fa0;--color-white:#fff;--font-weight-semibold:600;--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);--color-main-blue-primary:#22205f;--color-main-orange-primary:#f66a24;--color-main-grey:#605f60;--color-main-alternative:#bf5f60;--color-main-alternative-secondary:#f2f2f2;--color-main-positive-state:#01d42f;--color-main-warning-state:#ea3a3d;--color-main-yellow-primary:#faca4a;--color-main-white:#fff;--color-main-light-borders:#f1f5f7;--color-main-input-borders:#605f60b3;--color-dark-200:#d1d1d1;--color-dark-700:#121315;--color-light-200:#f1f5f7;--color-light-300:#d9e1e7;--border-radius-button:1.875rem;--border-radius-card:1.25rem;--border-radius-article:.875rem;--border-radius-outline:.5rem;--shadow-black-card:0 1.25rem 2.5rem 0 #00000026;--shadow-hover-black-card:0 1.875rem 3.75rem 0 #00000059;--shadow-black-button:0 .625rem 1.25rem 0 #00000026;--shadow-hover-black-button:0 .9375rem 1.875rem 0 #00000040;--shadow-hover-orange-button:0 .9375rem 1.875rem 0 var(--color-orange-300);--border-input:1px solid var(--color-main-input-borders);--border-input-disabled:1px solid var(--color-dark-200);--border-input-error:1px solid var(--color-main-warning-state);--border-input-focus:1px solid var(--color-main-blue-primary)}}@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}}@layer components{*{scrollbar-width:thin;scrollbar-color:var(--color-main-orange-primary)#f1f1f1}::-webkit-scrollbar{width:.5rem}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:.625rem}::-webkit-scrollbar-thumb{background:var(--color-main-orange-primary);border-radius:.625rem}::-webkit-scrollbar-thumb:hover{background:var(--color-main-orange-primary)}}@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.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}.flex{display:flex}.grid{display:grid}.hidden{display:none}.table{display:table}.\!h-fit{height:fit-content!important}.\!max-w-\[60rem\]{max-width:60rem!important}.flex-shrink{flex-shrink:1}.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,)}.cursor-pointer{cursor:pointer}.resize{resize:both}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.border{border-style:var(--tw-border-style);border-width:1px}.\!font-semibold{--tw-font-weight:var(--font-weight-semibold)!important;font-weight:var(--font-weight-semibold)!important}.italic{font-style:italic}.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)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.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,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.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))}}@font-face{font-family:Dax;src:url(/assets/fonts/dax-regular/dax-regular.ttf)format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Dax;src:url(/assets/fonts/Dax-Bold/Dax-Bold.otf)format("opentype");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueUltraLight.otf)format("opentype");font-weight:200;font-style:normal;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueUltraLightItalic.otf)format("opentype");font-weight:200;font-style:italic;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueThin.otf)format("opentype");font-weight:100;font-style:normal;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueThinItalic.otf)format("opentype");font-weight:100;font-style:italic;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueLight.otf)format("opentype");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueLightItalic.otf)format("opentype");font-weight:300;font-style:italic;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueRoman.otf)format("opentype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueItalic.ttf)format("truetype");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueMedium.otf)format("opentype");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueMediumItalic.otf)format("opentype");font-weight:500;font-style:italic;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueBold.otf)format("opentype");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueBoldItalic.otf)format("opentype");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueHeavy.otf)format("opentype");font-weight:800;font-style:normal;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueHeavyItalic.otf)format("opentype");font-weight:800;font-style:italic;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueBlack.otf)format("opentype");font-weight:900;font-style:normal;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueBlackItalic.otf)format("opentype");font-weight:900;font-style:italic;font-display:swap}.my-toast{box-shadow:var(--shadow-black-card);font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:176.782%;border-radius:var(--border-radius-article)!important;border:none!important}[data-sonner-toast][data-type=success]{background:linear-gradient(135deg,var(--color-main-positive-state)0%,var(--color-green-200)100%)!important;color:var(--color-main-white)!important}[data-sonner-toast][data-type=error]{background:linear-gradient(135deg,var(--color-main-warning-state)0%,var(--color-red-300)100%)!important;color:var(--color-main-white)!important}[data-sonner-toaster]{bottom:6rem!important}[data-sonner-toaster][data-position=bottom-center]{transform:translateY(-3rem)!important}@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-font-weight{syntax:"*";inherits:false}@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-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}
|
|
1
|
+
/*! tailwindcss v4.1.13 | 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-font-weight:initial;--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-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}@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-red-300:#f17c7e;--color-orange-300:#fab592;--color-green-200:#9cffb2;--color-blue-400:#2003d3;--color-purple-400:#8276c9;--color-purple-600:#4d3fa0;--color-white:#fff;--font-weight-semibold:600;--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);--color-main-blue-primary:#22205f;--color-main-orange-primary:#f66a24;--color-main-grey:#605f60;--color-main-alternative:#bf5f60;--color-main-alternative-secondary:#f2f2f2;--color-main-positive-state:#01d42f;--color-main-warning-state:#ea3a3d;--color-main-yellow-primary:#faca4a;--color-main-white:#fff;--color-main-light-borders:#f1f5f7;--color-main-input-borders:#605f60b3;--color-dark-200:#d1d1d1;--color-dark-700:#121315;--color-light-200:#f1f5f7;--color-light-300:#d9e1e7;--border-radius-button:1.875rem;--border-radius-card:1.25rem;--border-radius-article:.875rem;--border-radius-outline:.5rem;--shadow-black-card:0 1.25rem 2.5rem 0 #00000026;--shadow-hover-black-card:0 1.875rem 3.75rem 0 #00000059;--shadow-black-button:0 .625rem 1.25rem 0 #00000026;--shadow-hover-black-button:0 .9375rem 1.875rem 0 #00000040;--shadow-hover-orange-button:0 .9375rem 1.875rem 0 var(--color-orange-300);--border-input:1px solid var(--color-main-input-borders);--border-input-disabled:1px solid var(--color-dark-200);--border-input-error:1px solid var(--color-main-warning-state);--border-input-focus:1px solid var(--color-main-blue-primary)}}@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}}@layer components{*{scrollbar-width:thin;scrollbar-color:var(--color-main-orange-primary)#f1f1f1}::-webkit-scrollbar{width:.5rem}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:.625rem}::-webkit-scrollbar-thumb{background:var(--color-main-orange-primary);border-radius:.625rem}::-webkit-scrollbar-thumb:hover{background:var(--color-main-orange-primary)}}@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.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}.flex{display:flex}.grid{display:grid}.hidden{display:none}.table{display:table}.\!h-fit{height:fit-content!important}.\!max-w-\[60rem\]{max-width:60rem!important}.flex-shrink{flex-shrink:1}.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,)}.cursor-pointer{cursor:pointer}.resize{resize:both}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.border{border-style:var(--tw-border-style);border-width:1px}.\!font-semibold{--tw-font-weight:var(--font-weight-semibold)!important;font-weight:var(--font-weight-semibold)!important}.italic{font-style:italic}.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)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.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))}}@font-face{font-family:Dax;src:url(/assets/fonts/dax-regular/dax-regular.ttf)format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Dax;src:url(/assets/fonts/Dax-Bold/Dax-Bold.otf)format("opentype");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueUltraLight.otf)format("opentype");font-weight:200;font-style:normal;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueUltraLightItalic.otf)format("opentype");font-weight:200;font-style:italic;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueThin.otf)format("opentype");font-weight:100;font-style:normal;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueThinItalic.otf)format("opentype");font-weight:100;font-style:italic;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueLight.otf)format("opentype");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueLightItalic.otf)format("opentype");font-weight:300;font-style:italic;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueRoman.otf)format("opentype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueItalic.ttf)format("truetype");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueMedium.otf)format("opentype");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueMediumItalic.otf)format("opentype");font-weight:500;font-style:italic;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueBold.otf)format("opentype");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueBoldItalic.otf)format("opentype");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueHeavy.otf)format("opentype");font-weight:800;font-style:normal;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueHeavyItalic.otf)format("opentype");font-weight:800;font-style:italic;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueBlack.otf)format("opentype");font-weight:900;font-style:normal;font-display:swap}@font-face{font-family:Helvetica Neue;src:url(/assets/fonts/Helvetica-Neue/HelveticaNeueBlackItalic.otf)format("opentype");font-weight:900;font-style:italic;font-display:swap}.my-toast{box-shadow:var(--shadow-black-card);font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:176.782%;border-radius:var(--border-radius-article)!important;border:none!important}[data-sonner-toast][data-type=success]{background:linear-gradient(135deg,var(--color-main-positive-state)0%,var(--color-green-200)100%)!important;color:var(--color-main-white)!important}[data-sonner-toast][data-type=error]{background:linear-gradient(135deg,var(--color-main-warning-state)0%,var(--color-red-300)100%)!important;color:var(--color-main-white)!important}[data-sonner-toaster]{bottom:6rem!important}[data-sonner-toaster][data-position=bottom-center]{transform:translateY(-3rem)!important}@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-font-weight{syntax:"*";inherits:false}@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-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { AnchorHTMLAttributes } from 'react';
|
|
2
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
3
|
+
import { Component } from 'react';
|
|
2
4
|
import { Context } from 'react';
|
|
3
5
|
import { default as default_2 } from 'react';
|
|
4
6
|
import { DetailedHTMLProps } from 'react';
|
|
7
|
+
import { FastOmit } from 'styled-components';
|
|
8
|
+
import { ForwardRefComponent } from 'motion/react';
|
|
5
9
|
import { ForwardRefExoticComponent } from 'react';
|
|
6
10
|
import { HTMLAttributeAnchorTarget } from 'react';
|
|
7
11
|
import { HTMLAttributes } from 'react';
|
|
12
|
+
import { HTMLMotionProps } from 'motion/react';
|
|
8
13
|
import { IStyledComponentBase } from 'styled-components/dist/types';
|
|
9
14
|
import { JSX } from 'react/jsx-runtime';
|
|
10
15
|
import { MouseEventHandler } from 'react';
|
|
@@ -24,6 +29,16 @@ export declare const ALLOWED_INPUT_TYPES: readonly ["text", "email", "password",
|
|
|
24
29
|
|
|
25
30
|
export declare type AllowedInputType = (typeof ALLOWED_INPUT_TYPES)[number];
|
|
26
31
|
|
|
32
|
+
/**
|
|
33
|
+
* Sidebar container.
|
|
34
|
+
* @param $collapsed - Whether the sidebar is collapsed.
|
|
35
|
+
* @param $open - Whether the sidebar is open (mobile).
|
|
36
|
+
*/
|
|
37
|
+
export declare const Aside: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, {
|
|
38
|
+
$collapsed: boolean;
|
|
39
|
+
$open: boolean;
|
|
40
|
+
}>> & string;
|
|
41
|
+
|
|
27
42
|
export declare const baseContentTableStyles: RuleSet<object>;
|
|
28
43
|
|
|
29
44
|
export declare const baseFieldStyles: RuleSet<object>;
|
|
@@ -70,6 +85,8 @@ export declare const bodyTextStyles: {
|
|
|
70
85
|
12: RuleSet<object>;
|
|
71
86
|
};
|
|
72
87
|
|
|
88
|
+
export declare const BrandLogo: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
89
|
+
|
|
73
90
|
export declare const Button: default_2.FC<ButtonProps>;
|
|
74
91
|
|
|
75
92
|
declare interface ButtonProps extends default_2.ButtonHTMLAttributes<HTMLButtonElement>, WithIconsProps {
|
|
@@ -138,6 +155,11 @@ export declare interface CheckboxSpecificProps {
|
|
|
138
155
|
checkboxLabel?: string;
|
|
139
156
|
}
|
|
140
157
|
|
|
158
|
+
/**
|
|
159
|
+
* Button to toggle sidebar collapse/expand.
|
|
160
|
+
*/
|
|
161
|
+
export declare const CloseOpenButton: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
162
|
+
|
|
141
163
|
declare type ColorKey = 'primary' | 'orange' | 'white' | 'gray';
|
|
142
164
|
|
|
143
165
|
declare type ColorKey_2 = 'primary' | 'orange' | 'white' | 'gray';
|
|
@@ -446,7 +468,6 @@ export declare const Header: default_2.FC<HeaderProps>;
|
|
|
446
468
|
|
|
447
469
|
/**
|
|
448
470
|
* Props for the Header component.
|
|
449
|
-
* @param sidebarCollapsed: Whether the sidebar is collapsed.
|
|
450
471
|
* @param user: User information for profile display.
|
|
451
472
|
* @param hasNotifications: Whether there are new notifications.
|
|
452
473
|
* @param notificationCount: Optional count of notifications to display.
|
|
@@ -456,27 +477,15 @@ export declare const Header: default_2.FC<HeaderProps>;
|
|
|
456
477
|
* @param userMenuItems: Additional menu items for the user dropdown.
|
|
457
478
|
* @param children: Any additional elements to render in the left section.
|
|
458
479
|
*/
|
|
459
|
-
|
|
460
|
-
user?:
|
|
480
|
+
declare interface HeaderProps {
|
|
481
|
+
user?: User;
|
|
461
482
|
hasNotifications?: boolean;
|
|
462
483
|
notificationCount?: number;
|
|
463
484
|
onNotificationClick?: () => void;
|
|
464
485
|
onUserProfileClick?: () => void;
|
|
465
486
|
onLogout?: () => void;
|
|
466
487
|
userMenuItems?: UserMenuItem[];
|
|
467
|
-
children?:
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
/**
|
|
471
|
-
* User information for the Header component.
|
|
472
|
-
* @param name User's full name.
|
|
473
|
-
* @param role User's role or title.
|
|
474
|
-
* @param avatarUrl Optional URL for user's avatar image.
|
|
475
|
-
*/
|
|
476
|
-
export declare interface HeaderUser {
|
|
477
|
-
name: string;
|
|
478
|
-
role: string;
|
|
479
|
-
avatarUrl?: string;
|
|
488
|
+
children?: React.ReactNode;
|
|
480
489
|
}
|
|
481
490
|
|
|
482
491
|
export declare const HeadingBold: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {
|
|
@@ -592,14 +601,13 @@ export declare const Layout: default_2.FC<LayoutProps>;
|
|
|
592
601
|
* @activePath - Currently active navigation path.
|
|
593
602
|
* @user - User information for the header profile section.
|
|
594
603
|
* @hasNotifications - Whether to show notification indicator in header.
|
|
595
|
-
* @onNavigate - Callback when a navigation item is clicked.
|
|
596
604
|
* @onNotificationClick - Callback when notification icon is clicked.
|
|
597
605
|
* @onUserProfileClick - Callback when user profile area is clicked.
|
|
598
606
|
* @contentClassName - Optional class name for main content area.
|
|
599
607
|
*/
|
|
600
608
|
export declare interface LayoutProps extends SidebarProps {
|
|
601
609
|
children: default_2.ReactNode;
|
|
602
|
-
user?:
|
|
610
|
+
user?: User;
|
|
603
611
|
hasNotifications?: boolean;
|
|
604
612
|
notificationCount?: number;
|
|
605
613
|
onNotificationClick?: () => void;
|
|
@@ -618,6 +626,11 @@ export declare interface LayoutProps extends SidebarProps {
|
|
|
618
626
|
*/
|
|
619
627
|
export declare const Link: default_2.ForwardRefExoticComponent<LinkProps & default_2.RefAttributes<HTMLAnchorElement>>;
|
|
620
628
|
|
|
629
|
+
/**
|
|
630
|
+
* CSS styles applied when the Link is disabled.
|
|
631
|
+
*/
|
|
632
|
+
export declare const LinkDisabledStyles: RuleSet<object>;
|
|
633
|
+
|
|
621
634
|
/**
|
|
622
635
|
* Props for the Link component.
|
|
623
636
|
* Extends standard anchor attributes and WithIconsProps.
|
|
@@ -646,11 +659,41 @@ export declare interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElemen
|
|
|
646
659
|
*/
|
|
647
660
|
export declare type LinkSize = 'sm' | 'md' | 'lg';
|
|
648
661
|
|
|
662
|
+
/**
|
|
663
|
+
* CSS styles for each Link size.
|
|
664
|
+
*/
|
|
665
|
+
export declare const LinkSizeStyles: {
|
|
666
|
+
sm: RuleSet<object>;
|
|
667
|
+
md: RuleSet<object>;
|
|
668
|
+
lg: RuleSet<object>;
|
|
669
|
+
};
|
|
670
|
+
|
|
649
671
|
/**
|
|
650
672
|
* Defines the available visual variants for the Link component.
|
|
651
673
|
*/
|
|
652
674
|
export declare type LinkVariant = 'underlined' | 'plain';
|
|
653
675
|
|
|
676
|
+
/**
|
|
677
|
+
* CSS styles for each Link variant.
|
|
678
|
+
*/
|
|
679
|
+
export declare const LinkVariantStyles: {
|
|
680
|
+
underlined: RuleSet<object>;
|
|
681
|
+
plain: RuleSet<object>;
|
|
682
|
+
};
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* Button to open sidebar on mobile devices.
|
|
686
|
+
* @param $hidden - Whether the button is hidden.
|
|
687
|
+
*/
|
|
688
|
+
export declare const MobileOpenBtn: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
689
|
+
$hidden: boolean;
|
|
690
|
+
}>> & string;
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* Navigation container for sidebar menu items.
|
|
694
|
+
*/
|
|
695
|
+
export declare const Nav: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
696
|
+
|
|
654
697
|
/**
|
|
655
698
|
* Represents a navigation item used in the sidebar navigation component.
|
|
656
699
|
*
|
|
@@ -659,7 +702,8 @@ export declare type LinkVariant = 'underlined' | 'plain';
|
|
|
659
702
|
* @property icon - Optional icon component or React node to display alongside the label.
|
|
660
703
|
* @property iconSize - Optional size for the icon; can be a predefined IconSizes value, string, or number.
|
|
661
704
|
* @property iconColor - Optional color for the icon.
|
|
662
|
-
* @property
|
|
705
|
+
* @property href - Optional internal navigation path (renders as Link component for SPA routing).
|
|
706
|
+
* @property path - Optional external navigation URL (renders as Button and redirects to external app with encrypted token).
|
|
663
707
|
* @property permissions - List of permissions required to access this navigation item.
|
|
664
708
|
* @property children - Optional array of child navigation items for nested navigation structures.
|
|
665
709
|
*/
|
|
@@ -669,6 +713,7 @@ export declare interface NavigationItem {
|
|
|
669
713
|
icon?: default_2.ReactNode | RemixiconComponentType;
|
|
670
714
|
iconSize?: IconSizes | string | number;
|
|
671
715
|
iconColor?: string;
|
|
716
|
+
href?: string;
|
|
672
717
|
path?: string;
|
|
673
718
|
permissions: Permission[];
|
|
674
719
|
children?: NavigationItem[];
|
|
@@ -691,6 +736,11 @@ export declare const normalizeSelectOptions: (options: Array<{
|
|
|
691
736
|
label: string;
|
|
692
737
|
}> | SelectOption[]) => SelectOption[];
|
|
693
738
|
|
|
739
|
+
/**
|
|
740
|
+
* Overlay component for mobile sidebar.
|
|
741
|
+
*/
|
|
742
|
+
export declare const Overlay: IStyledComponentBase<"web", FastOmit<Omit<HTMLMotionProps<"div">, "ref"> & RefAttributes<HTMLDivElement>, never>> & string & Omit<ForwardRefComponent<HTMLDivElement, HTMLMotionProps<"div">>, keyof Component<any, {}, any>>;
|
|
743
|
+
|
|
694
744
|
/**
|
|
695
745
|
* Animation for overlay/backdrop elements.
|
|
696
746
|
* Provides a simple fade animation for modal backdrops.
|
|
@@ -833,13 +883,11 @@ export declare type SetDigits = default_2.Dispatch<default_2.SetStateAction<stri
|
|
|
833
883
|
|
|
834
884
|
/**
|
|
835
885
|
* Sidebar component for navigation.
|
|
836
|
-
*
|
|
837
|
-
* @param
|
|
838
|
-
* @param
|
|
839
|
-
* @param
|
|
840
|
-
* @param
|
|
841
|
-
* @param {string} [props.activePath] - Currently active navigation path.
|
|
842
|
-
* @returns {JSX.Element} Sidebar navigation component.
|
|
886
|
+
* @param navigationConfig - Navigation items configuration.
|
|
887
|
+
* @param userRoles - User roles for access control.
|
|
888
|
+
* @param activePath - Currently active navigation path.
|
|
889
|
+
* @param logoImgExpanded - Logo when sidebar is expanded.
|
|
890
|
+
* @param logoImgCollapsed - Logo when sidebar is collapsed.
|
|
843
891
|
*/
|
|
844
892
|
export declare const Sidebar: default_2.FC<SidebarProps>;
|
|
845
893
|
|
|
@@ -859,19 +907,27 @@ export declare interface SidebarContextValue {
|
|
|
859
907
|
setIsMobileOpen: (v: boolean) => void;
|
|
860
908
|
}
|
|
861
909
|
|
|
910
|
+
/**
|
|
911
|
+
* Sidebar header container.
|
|
912
|
+
* @param $collapsed - Whether the sidebar is collapsed.
|
|
913
|
+
*/
|
|
914
|
+
export declare const SidebarHeader: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
915
|
+
$collapsed: boolean;
|
|
916
|
+
}>> & string;
|
|
917
|
+
|
|
862
918
|
/**
|
|
863
919
|
* Props for the Sidebar component.
|
|
864
920
|
*
|
|
865
921
|
* @property navigationConfig - Array of NavigationItem objects defining the sidebar structure.
|
|
866
922
|
* @property userRoles - Optional array of roles assigned to the current user for permission checks.
|
|
867
|
-
* @property currentUser - Optional SidebarUser object containing user information like name and role.
|
|
868
|
-
* @property onNavigate - Optional callback function invoked when a navigation item is clicked, receiving the item's path as an argument.
|
|
869
923
|
* @property activePath - Optional string representing the currently active navigation path for highlighting purposes.
|
|
924
|
+
* @property logoImgExpanded - Optional React node for the logo when sidebar is expanded.
|
|
925
|
+
* @property logoImgCollapsed - Optional React node for the logo when sidebar is collapsed.
|
|
926
|
+
* @property LinkComponent - Optional custom Link component (e.g., Next.js Link) for internal navigation. If not provided, uses standard anchor tags.
|
|
870
927
|
*/
|
|
871
928
|
export declare interface SidebarProps {
|
|
872
929
|
navigationConfig: NavigationItem[];
|
|
873
930
|
userRoles?: string[];
|
|
874
|
-
onNavigate?: (path: string) => void;
|
|
875
931
|
activePath?: string;
|
|
876
932
|
logoImgExpanded?: default_2.ReactNode;
|
|
877
933
|
logoImgCollapsed?: default_2.ReactNode;
|
|
@@ -1222,17 +1278,28 @@ declare type ToastProviderProps = ToasterProps & {
|
|
|
1222
1278
|
spinnerColor?: ColorKey_2;
|
|
1223
1279
|
};
|
|
1224
1280
|
|
|
1281
|
+
/**
|
|
1282
|
+
* User interface for the UserProfile component
|
|
1283
|
+
*/
|
|
1284
|
+
export declare interface User {
|
|
1285
|
+
name: string;
|
|
1286
|
+
role: string;
|
|
1287
|
+
avatarUrl?: string;
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1225
1290
|
/**
|
|
1226
1291
|
* User menu item configuration
|
|
1227
1292
|
*/
|
|
1228
1293
|
declare interface UserMenuItem {
|
|
1229
1294
|
id: string;
|
|
1230
1295
|
label: string;
|
|
1231
|
-
icon:
|
|
1296
|
+
icon: React.ReactNode | RemixiconComponentType;
|
|
1232
1297
|
onClick: () => void;
|
|
1233
1298
|
variant?: 'default' | 'danger';
|
|
1234
1299
|
}
|
|
1235
1300
|
|
|
1301
|
+
export declare const useSidebar: () => SidebarContextValue;
|
|
1302
|
+
|
|
1236
1303
|
/**
|
|
1237
1304
|
* Validates if a complete code meets certain criteria
|
|
1238
1305
|
*
|