tcce-design-system-test 0.3.8 → 0.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tcce-design-system-components.css +1 -1
- package/dist/tcce-design-system-components.d.ts +302 -32
- package/dist/tcce-design-system-components.js +4420 -4177
- package/dist/tcce-design-system-components.umd.cjs +408 -349
- package/package.json +3 -3
- package/dist/assets (2).zip +0 -0
- package/dist/assets.zip +0 -0
|
@@ -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-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;--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}.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-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';
|
|
@@ -166,6 +188,12 @@ export declare const createFieldConfig: {
|
|
|
166
188
|
*/
|
|
167
189
|
export declare const createInputRefs: (length: number) => InputRef[];
|
|
168
190
|
|
|
191
|
+
/**
|
|
192
|
+
* Deletes a cookie by setting its expiration date to the past
|
|
193
|
+
* @param name - The name of the cookie to delete
|
|
194
|
+
*/
|
|
195
|
+
export declare function deleteCookie(name: string): void;
|
|
196
|
+
|
|
169
197
|
export declare const Dialog: React.FC<DialogProps>;
|
|
170
198
|
|
|
171
199
|
export declare const DialogBody: React.FC<DialogBodyProps>;
|
|
@@ -302,6 +330,13 @@ export declare const FullScreenSpinner: default_2.FC<{
|
|
|
302
330
|
variant?: Variant;
|
|
303
331
|
}>;
|
|
304
332
|
|
|
333
|
+
/**
|
|
334
|
+
* Retrieves the value of a cookie by name
|
|
335
|
+
* @param name - The name of the cookie to retrieve
|
|
336
|
+
* @returns The decoded cookie value, or an empty string if not found
|
|
337
|
+
*/
|
|
338
|
+
export declare function getCookie(name: string): string;
|
|
339
|
+
|
|
305
340
|
/**
|
|
306
341
|
* Returns normalized props for different input types based on the type
|
|
307
342
|
* This function replaces the renderInput switch logic from FormField component
|
|
@@ -433,34 +468,24 @@ export declare const Header: default_2.FC<HeaderProps>;
|
|
|
433
468
|
|
|
434
469
|
/**
|
|
435
470
|
* Props for the Header component.
|
|
436
|
-
* @
|
|
437
|
-
* @parram user: User information for profile display.
|
|
471
|
+
* @param user: User information for profile display.
|
|
438
472
|
* @param hasNotifications: Whether there are new notifications.
|
|
439
473
|
* @param notificationCount: Optional count of notifications to display.
|
|
440
474
|
* @param onNotificationClick: Callback when notification button is clicked.
|
|
441
475
|
* @param onUserProfileClick: Callback when user profile is clicked.
|
|
476
|
+
* @param onLogout: Callback when user chooses to logout.
|
|
477
|
+
* @param userMenuItems: Additional menu items for the user dropdown.
|
|
442
478
|
* @param children: Any additional elements to render in the left section.
|
|
443
479
|
*/
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
user?: HeaderUser;
|
|
480
|
+
declare interface HeaderProps {
|
|
481
|
+
user?: User;
|
|
447
482
|
hasNotifications?: boolean;
|
|
448
483
|
notificationCount?: number;
|
|
449
484
|
onNotificationClick?: () => void;
|
|
450
485
|
onUserProfileClick?: () => void;
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
/**
|
|
455
|
-
* User information for the Header component.
|
|
456
|
-
* @param name User's full name.
|
|
457
|
-
* @param role User's role or title.
|
|
458
|
-
* @param avatarUrl Optional URL for user's avatar image.
|
|
459
|
-
*/
|
|
460
|
-
export declare interface HeaderUser {
|
|
461
|
-
name: string;
|
|
462
|
-
role: string;
|
|
463
|
-
avatarUrl?: string;
|
|
486
|
+
onLogout?: () => void;
|
|
487
|
+
userMenuItems?: UserMenuItem[];
|
|
488
|
+
children?: React.ReactNode;
|
|
464
489
|
}
|
|
465
490
|
|
|
466
491
|
export declare const HeadingBold: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {
|
|
@@ -576,17 +601,19 @@ export declare const Layout: default_2.FC<LayoutProps>;
|
|
|
576
601
|
* @activePath - Currently active navigation path.
|
|
577
602
|
* @user - User information for the header profile section.
|
|
578
603
|
* @hasNotifications - Whether to show notification indicator in header.
|
|
579
|
-
* @onNavigate - Callback when a navigation item is clicked.
|
|
580
604
|
* @onNotificationClick - Callback when notification icon is clicked.
|
|
581
605
|
* @onUserProfileClick - Callback when user profile area is clicked.
|
|
582
606
|
* @contentClassName - Optional class name for main content area.
|
|
583
607
|
*/
|
|
584
608
|
export declare interface LayoutProps extends SidebarProps {
|
|
585
609
|
children: default_2.ReactNode;
|
|
586
|
-
user?:
|
|
610
|
+
user?: User;
|
|
587
611
|
hasNotifications?: boolean;
|
|
612
|
+
notificationCount?: number;
|
|
588
613
|
onNotificationClick?: () => void;
|
|
589
614
|
onUserProfileClick?: () => void;
|
|
615
|
+
onLogout?: () => void;
|
|
616
|
+
userMenuItems?: UserMenuItem[];
|
|
590
617
|
contentClassName?: string;
|
|
591
618
|
}
|
|
592
619
|
|
|
@@ -599,6 +626,11 @@ export declare interface LayoutProps extends SidebarProps {
|
|
|
599
626
|
*/
|
|
600
627
|
export declare const Link: default_2.ForwardRefExoticComponent<LinkProps & default_2.RefAttributes<HTMLAnchorElement>>;
|
|
601
628
|
|
|
629
|
+
/**
|
|
630
|
+
* CSS styles applied when the Link is disabled.
|
|
631
|
+
*/
|
|
632
|
+
export declare const LinkDisabledStyles: RuleSet<object>;
|
|
633
|
+
|
|
602
634
|
/**
|
|
603
635
|
* Props for the Link component.
|
|
604
636
|
* Extends standard anchor attributes and WithIconsProps.
|
|
@@ -627,11 +659,41 @@ export declare interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElemen
|
|
|
627
659
|
*/
|
|
628
660
|
export declare type LinkSize = 'sm' | 'md' | 'lg';
|
|
629
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
|
+
|
|
630
671
|
/**
|
|
631
672
|
* Defines the available visual variants for the Link component.
|
|
632
673
|
*/
|
|
633
674
|
export declare type LinkVariant = 'underlined' | 'plain';
|
|
634
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
|
+
|
|
635
697
|
/**
|
|
636
698
|
* Represents a navigation item used in the sidebar navigation component.
|
|
637
699
|
*
|
|
@@ -640,7 +702,8 @@ export declare type LinkVariant = 'underlined' | 'plain';
|
|
|
640
702
|
* @property icon - Optional icon component or React node to display alongside the label.
|
|
641
703
|
* @property iconSize - Optional size for the icon; can be a predefined IconSizes value, string, or number.
|
|
642
704
|
* @property iconColor - Optional color for the icon.
|
|
643
|
-
* @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).
|
|
644
707
|
* @property permissions - List of permissions required to access this navigation item.
|
|
645
708
|
* @property children - Optional array of child navigation items for nested navigation structures.
|
|
646
709
|
*/
|
|
@@ -650,6 +713,7 @@ export declare interface NavigationItem {
|
|
|
650
713
|
icon?: default_2.ReactNode | RemixiconComponentType;
|
|
651
714
|
iconSize?: IconSizes | string | number;
|
|
652
715
|
iconColor?: string;
|
|
716
|
+
href?: string;
|
|
653
717
|
path?: string;
|
|
654
718
|
permissions: Permission[];
|
|
655
719
|
children?: NavigationItem[];
|
|
@@ -672,6 +736,31 @@ export declare const normalizeSelectOptions: (options: Array<{
|
|
|
672
736
|
label: string;
|
|
673
737
|
}> | SelectOption[]) => SelectOption[];
|
|
674
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
|
+
|
|
744
|
+
/**
|
|
745
|
+
* Animation for overlay/backdrop elements.
|
|
746
|
+
* Provides a simple fade animation for modal backdrops.
|
|
747
|
+
*/
|
|
748
|
+
export declare const overlayAnimation: {
|
|
749
|
+
readonly initial: {
|
|
750
|
+
readonly opacity: 0;
|
|
751
|
+
};
|
|
752
|
+
readonly animate: {
|
|
753
|
+
readonly opacity: 1;
|
|
754
|
+
};
|
|
755
|
+
readonly exit: {
|
|
756
|
+
readonly opacity: 0;
|
|
757
|
+
};
|
|
758
|
+
readonly transition: {
|
|
759
|
+
readonly duration: 0.3;
|
|
760
|
+
readonly ease: "easeInOut";
|
|
761
|
+
};
|
|
762
|
+
};
|
|
763
|
+
|
|
675
764
|
export declare const PasswordInput: default_2.FC<PasswordInputProps>;
|
|
676
765
|
|
|
677
766
|
export declare interface PasswordInputProps extends BaseFormFieldProps, Omit<WithIconsProps, 'rightIcon'> {
|
|
@@ -736,7 +825,7 @@ export declare interface RadioSpecificProps {
|
|
|
736
825
|
|
|
737
826
|
export declare const SearchInput: default_2.FC<SearchInputProps>;
|
|
738
827
|
|
|
739
|
-
export declare interface SearchInputProps extends
|
|
828
|
+
export declare interface SearchInputProps extends BaseInputProps {
|
|
740
829
|
size?: FormFieldSize;
|
|
741
830
|
placeholder?: string;
|
|
742
831
|
onSearch?: (value: string) => void;
|
|
@@ -779,17 +868,26 @@ export declare interface SelectSpecificProps {
|
|
|
779
868
|
onOptionSelect?: (option: SelectOption) => void;
|
|
780
869
|
}
|
|
781
870
|
|
|
871
|
+
/**
|
|
872
|
+
* Cookie helper utilities for managing browser cookies
|
|
873
|
+
*/
|
|
874
|
+
/**
|
|
875
|
+
* Sets a cookie with the specified name, value, and expiration days
|
|
876
|
+
* @param name - The name of the cookie
|
|
877
|
+
* @param value - The value to store in the cookie
|
|
878
|
+
* @param days - Number of days until the cookie expires (default: 1)
|
|
879
|
+
*/
|
|
880
|
+
export declare function setCookie(name: string, value: string, days?: number): void;
|
|
881
|
+
|
|
782
882
|
export declare type SetDigits = default_2.Dispatch<default_2.SetStateAction<string[]>>;
|
|
783
883
|
|
|
784
884
|
/**
|
|
785
885
|
* Sidebar component for navigation.
|
|
786
|
-
*
|
|
787
|
-
* @param
|
|
788
|
-
* @param
|
|
789
|
-
* @param
|
|
790
|
-
* @param
|
|
791
|
-
* @param {string} [props.activePath] - Currently active navigation path.
|
|
792
|
-
* @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.
|
|
793
891
|
*/
|
|
794
892
|
export declare const Sidebar: default_2.FC<SidebarProps>;
|
|
795
893
|
|
|
@@ -809,22 +907,31 @@ export declare interface SidebarContextValue {
|
|
|
809
907
|
setIsMobileOpen: (v: boolean) => void;
|
|
810
908
|
}
|
|
811
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
|
+
|
|
812
918
|
/**
|
|
813
919
|
* Props for the Sidebar component.
|
|
814
920
|
*
|
|
815
921
|
* @property navigationConfig - Array of NavigationItem objects defining the sidebar structure.
|
|
816
922
|
* @property userRoles - Optional array of roles assigned to the current user for permission checks.
|
|
817
|
-
* @property currentUser - Optional SidebarUser object containing user information like name and role.
|
|
818
|
-
* @property onNavigate - Optional callback function invoked when a navigation item is clicked, receiving the item's path as an argument.
|
|
819
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.
|
|
820
927
|
*/
|
|
821
928
|
export declare interface SidebarProps {
|
|
822
929
|
navigationConfig: NavigationItem[];
|
|
823
930
|
userRoles?: string[];
|
|
824
|
-
onNavigate?: (path: string) => void;
|
|
825
931
|
activePath?: string;
|
|
826
932
|
logoImgExpanded?: default_2.ReactNode;
|
|
827
933
|
logoImgCollapsed?: default_2.ReactNode;
|
|
934
|
+
onNavigation?: (href?: string) => void;
|
|
828
935
|
}
|
|
829
936
|
|
|
830
937
|
export declare const SidebarProvider: ({ children }: PropsWithChildren) => JSX.Element;
|
|
@@ -837,6 +944,121 @@ export declare const sizeStyles: {
|
|
|
837
944
|
lg: RuleSet<object>;
|
|
838
945
|
};
|
|
839
946
|
|
|
947
|
+
/**
|
|
948
|
+
* Animation for slide-in effects from different directions.
|
|
949
|
+
*/
|
|
950
|
+
export declare const slideAnimation: {
|
|
951
|
+
readonly fromBottom: {
|
|
952
|
+
readonly initial: {
|
|
953
|
+
readonly opacity: 0;
|
|
954
|
+
readonly y: 20;
|
|
955
|
+
};
|
|
956
|
+
readonly animate: {
|
|
957
|
+
readonly opacity: 1;
|
|
958
|
+
readonly y: 0;
|
|
959
|
+
};
|
|
960
|
+
readonly exit: {
|
|
961
|
+
readonly opacity: 0;
|
|
962
|
+
readonly y: 20;
|
|
963
|
+
};
|
|
964
|
+
readonly transition: {
|
|
965
|
+
readonly duration: 0.2;
|
|
966
|
+
readonly ease: "easeInOut";
|
|
967
|
+
};
|
|
968
|
+
};
|
|
969
|
+
readonly fromTop: {
|
|
970
|
+
readonly initial: {
|
|
971
|
+
readonly opacity: 0;
|
|
972
|
+
readonly y: -20;
|
|
973
|
+
};
|
|
974
|
+
readonly animate: {
|
|
975
|
+
readonly opacity: 1;
|
|
976
|
+
readonly y: 0;
|
|
977
|
+
};
|
|
978
|
+
readonly exit: {
|
|
979
|
+
readonly opacity: 0;
|
|
980
|
+
readonly y: -20;
|
|
981
|
+
};
|
|
982
|
+
readonly transition: {
|
|
983
|
+
readonly duration: 0.2;
|
|
984
|
+
readonly ease: "easeInOut";
|
|
985
|
+
};
|
|
986
|
+
};
|
|
987
|
+
readonly fromLeft: {
|
|
988
|
+
readonly initial: {
|
|
989
|
+
readonly opacity: 0;
|
|
990
|
+
readonly x: -20;
|
|
991
|
+
};
|
|
992
|
+
readonly animate: {
|
|
993
|
+
readonly opacity: 1;
|
|
994
|
+
readonly x: 0;
|
|
995
|
+
};
|
|
996
|
+
readonly exit: {
|
|
997
|
+
readonly opacity: 0;
|
|
998
|
+
readonly x: -20;
|
|
999
|
+
};
|
|
1000
|
+
readonly transition: {
|
|
1001
|
+
readonly duration: 0.2;
|
|
1002
|
+
readonly ease: "easeInOut";
|
|
1003
|
+
};
|
|
1004
|
+
};
|
|
1005
|
+
readonly fromRight: {
|
|
1006
|
+
readonly initial: {
|
|
1007
|
+
readonly opacity: 0;
|
|
1008
|
+
readonly x: 20;
|
|
1009
|
+
};
|
|
1010
|
+
readonly animate: {
|
|
1011
|
+
readonly opacity: 1;
|
|
1012
|
+
readonly x: 0;
|
|
1013
|
+
};
|
|
1014
|
+
readonly exit: {
|
|
1015
|
+
readonly opacity: 0;
|
|
1016
|
+
readonly x: 20;
|
|
1017
|
+
};
|
|
1018
|
+
readonly transition: {
|
|
1019
|
+
readonly duration: 0.2;
|
|
1020
|
+
readonly ease: "easeInOut";
|
|
1021
|
+
};
|
|
1022
|
+
};
|
|
1023
|
+
};
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* Smart animation configuration for consistent motion across the design system.
|
|
1027
|
+
* Provides default animation properties for framer-motion components.
|
|
1028
|
+
*
|
|
1029
|
+
* Features:
|
|
1030
|
+
* - Consistent transition timing and easing
|
|
1031
|
+
* - Optimized initial, animate, and exit states
|
|
1032
|
+
* - Smooth fade-in/fade-out with scale animation
|
|
1033
|
+
* - Performance-optimized with layout: false
|
|
1034
|
+
*
|
|
1035
|
+
* Usage:
|
|
1036
|
+
* ```tsx
|
|
1037
|
+
* <motion.div {...smartAnimation}>
|
|
1038
|
+
* Your content
|
|
1039
|
+
* </motion.div>
|
|
1040
|
+
* ```
|
|
1041
|
+
*/
|
|
1042
|
+
export declare const smartAnimation: {
|
|
1043
|
+
readonly initial: {
|
|
1044
|
+
readonly opacity: 0;
|
|
1045
|
+
readonly scale: 0.95;
|
|
1046
|
+
};
|
|
1047
|
+
readonly animate: {
|
|
1048
|
+
readonly opacity: 1;
|
|
1049
|
+
readonly scale: 1;
|
|
1050
|
+
};
|
|
1051
|
+
readonly exit: {
|
|
1052
|
+
readonly opacity: 0;
|
|
1053
|
+
readonly scale: 0.95;
|
|
1054
|
+
};
|
|
1055
|
+
readonly transition: {
|
|
1056
|
+
readonly duration: 0.2;
|
|
1057
|
+
readonly ease: "easeInOut";
|
|
1058
|
+
};
|
|
1059
|
+
readonly layout: false;
|
|
1060
|
+
};
|
|
1061
|
+
|
|
840
1062
|
export declare type SortDirection = 'asc' | 'desc' | 'none';
|
|
841
1063
|
|
|
842
1064
|
export declare interface SortState {
|
|
@@ -855,6 +1077,32 @@ declare interface SpinnerProps {
|
|
|
855
1077
|
variant?: Variant;
|
|
856
1078
|
}
|
|
857
1079
|
|
|
1080
|
+
/**
|
|
1081
|
+
* Submenu expand/collapse animation (top-down).
|
|
1082
|
+
* Smooth height auto + fade + slight upward offset for a natural reveal.
|
|
1083
|
+
*/
|
|
1084
|
+
export declare const submenuAnimationTopDown: {
|
|
1085
|
+
readonly initial: {
|
|
1086
|
+
readonly height: 0;
|
|
1087
|
+
readonly opacity: 0;
|
|
1088
|
+
readonly y: -6;
|
|
1089
|
+
};
|
|
1090
|
+
readonly animate: {
|
|
1091
|
+
readonly height: "auto";
|
|
1092
|
+
readonly opacity: 1;
|
|
1093
|
+
readonly y: 0;
|
|
1094
|
+
};
|
|
1095
|
+
readonly exit: {
|
|
1096
|
+
readonly height: 0;
|
|
1097
|
+
readonly opacity: 0;
|
|
1098
|
+
readonly y: -6;
|
|
1099
|
+
};
|
|
1100
|
+
readonly transition: {
|
|
1101
|
+
readonly duration: 0.2;
|
|
1102
|
+
readonly ease: "easeInOut";
|
|
1103
|
+
};
|
|
1104
|
+
};
|
|
1105
|
+
|
|
858
1106
|
/**
|
|
859
1107
|
* Table component for rendering customizable tables with support for
|
|
860
1108
|
* sticky headers, sorting, and custom cell rendering.
|
|
@@ -1031,6 +1279,28 @@ declare type ToastProviderProps = ToasterProps & {
|
|
|
1031
1279
|
spinnerColor?: ColorKey_2;
|
|
1032
1280
|
};
|
|
1033
1281
|
|
|
1282
|
+
/**
|
|
1283
|
+
* User interface for the UserProfile component
|
|
1284
|
+
*/
|
|
1285
|
+
export declare interface User {
|
|
1286
|
+
name: string;
|
|
1287
|
+
role: string;
|
|
1288
|
+
avatarUrl?: string;
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
/**
|
|
1292
|
+
* User menu item configuration
|
|
1293
|
+
*/
|
|
1294
|
+
declare interface UserMenuItem {
|
|
1295
|
+
id: string;
|
|
1296
|
+
label: string;
|
|
1297
|
+
icon: React.ReactNode | RemixiconComponentType;
|
|
1298
|
+
onClick: () => void;
|
|
1299
|
+
variant?: 'default' | 'danger';
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
export declare const useSidebar: () => SidebarContextValue;
|
|
1303
|
+
|
|
1034
1304
|
/**
|
|
1035
1305
|
* Validates if a complete code meets certain criteria
|
|
1036
1306
|
*
|