@insforge/react 0.3.4 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +485 -604
- package/dist/atoms.cjs +818 -0
- package/dist/atoms.cjs.map +1 -0
- package/dist/atoms.d.cts +222 -0
- package/dist/atoms.d.ts +72 -237
- package/dist/atoms.js +382 -456
- package/dist/atoms.js.map +1 -1
- package/dist/components.cjs +2254 -0
- package/dist/components.cjs.map +1 -0
- package/dist/{components.d.mts → components.d.cts} +10 -32
- package/dist/components.d.ts +9 -31
- package/dist/components.js +1049 -1183
- package/dist/components.js.map +1 -1
- package/dist/forms.cjs +1287 -0
- package/dist/forms.cjs.map +1 -0
- package/dist/forms.d.cts +138 -0
- package/dist/forms.d.ts +115 -162
- package/dist/forms.js +728 -921
- package/dist/forms.js.map +1 -1
- package/dist/{hooks.mjs → hooks.cjs} +15 -13
- package/dist/hooks.cjs.map +1 -0
- package/dist/{hooks.d.mts → hooks.d.cts} +1 -1
- package/dist/hooks.js +9 -15
- package/dist/hooks.js.map +1 -1
- package/dist/index.cjs +2674 -0
- package/dist/index.cjs.map +1 -0
- package/dist/{index.d.mts → index.d.cts} +10 -10
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1096 -1238
- package/dist/index.js.map +1 -1
- package/dist/{lib.mjs → lib.cjs} +13 -11
- package/dist/lib.cjs.map +1 -0
- package/dist/{lib.d.mts → lib.d.cts} +1 -8
- package/dist/lib.d.ts +1 -8
- package/dist/lib.js +4 -17
- package/dist/lib.js.map +1 -1
- package/dist/{router.mjs → router.cjs} +14 -16
- package/dist/router.cjs.map +1 -0
- package/dist/router.js +10 -16
- package/dist/router.js.map +1 -1
- package/dist/styles.css +655 -2
- package/dist/types.cjs +4 -0
- package/dist/{types.mjs.map → types.cjs.map} +1 -1
- package/dist/{types.d.mts → types.d.cts} +2 -2
- package/dist/types.d.ts +2 -2
- package/dist/types.js +0 -1
- package/package.json +106 -98
- package/dist/atoms.d.mts +0 -387
- package/dist/atoms.mjs +0 -861
- package/dist/atoms.mjs.map +0 -1
- package/dist/components.mjs +0 -2327
- package/dist/components.mjs.map +0 -1
- package/dist/forms.d.mts +0 -185
- package/dist/forms.mjs +0 -1468
- package/dist/forms.mjs.map +0 -1
- package/dist/hooks.mjs.map +0 -1
- package/dist/index.mjs +0 -2724
- package/dist/index.mjs.map +0 -1
- package/dist/lib.mjs.map +0 -1
- package/dist/router.mjs.map +0 -1
- package/dist/types.mjs +0 -3
- package/src/styles.css +0 -15
- /package/dist/{router.d.mts → router.d.cts} +0 -0
package/dist/styles.css
CHANGED
|
@@ -1,2 +1,655 @@
|
|
|
1
|
-
|
|
2
|
-
@import "https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap";@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-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--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-duration:initial;--tw-content:""}}}@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-50:oklch(97.1% .013 17.38);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-green-100:oklch(96.2% .044 156.743);--color-green-400:oklch(79.2% .209 151.711);--color-green-600:oklch(62.7% .194 149.214);--color-green-900:oklch(39.3% .095 152.535);--color-blue-50:oklch(97% .014 254.604);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-900:oklch(37.9% .146 265.522);--color-indigo-50:oklch(96.2% .018 272.314);--color-indigo-600:oklch(51.1% .262 276.966);--color-indigo-700:oklch(45.7% .24 277.023);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-neutral-100:oklch(97% 0 0);--color-neutral-400:oklch(70.8% 0 0);--color-neutral-600:oklch(43.9% 0 0);--color-neutral-800:oklch(26.9% 0 0);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-lg:32rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height:calc(1.5/1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25/1.875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-normal:1.5;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--animate-spin:spin 1s linear infinite;--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);--font-manrope:"Manrope",sans-serif}}@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;-webkit-text-decoration: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;@layer utilities{.absolute{position:absolute}.relative{position:relative}.top-1\/2{top:50%}.top-full{top:100%}.right-0{right:calc(var(--spacing)*0)}.right-2{right:calc(var(--spacing)*2)}.z-50{z-index:50}.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}}.mx-auto{margin-inline:auto}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-16{height:calc(var(--spacing)*16)}.h-\[18px\]{height:18px}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-3{width:calc(var(--spacing)*3)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-16{width:calc(var(--spacing)*16)}.w-\[18px\]{width:18px}.w-full{width:100%}.max-w-\[400px\]{max-width:400px}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.min-w-40{min-width:calc(var(--spacing)*40)}.flex-1{flex:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.-translate-y-1\/2{--tw-translate-y:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-start{justify-content:flex-start}.gap-0{gap:calc(var(--spacing)*0)}.gap-0\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-2\.5{gap:calc(var(--spacing)*2.5)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}.self-stretch{align-self:stretch}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-none{--tw-border-style:none;border-style:none}.border-\[\#D4D4D4\]{border-color:#d4d4d4}.border-\[\#E0E0E0\]{border-color:#e0e0e0}.border-\[\#E4E4E7\]{border-color:#e4e4e7}.border-black{border-color:var(--color-black)}.border-blue-500{border-color:var(--color-blue-500)}.border-blue-600{border-color:var(--color-blue-600)}.border-gray-200{border-color:var(--color-gray-200)}.border-neutral-400{border-color:var(--color-neutral-400)}.border-purple-300{border-color:var(--color-purple-300)}.border-red-600{border-color:var(--color-red-600)}.border-transparent{border-color:#0000}.bg-\[\#059669\]{background-color:#059669}.bg-\[\#FAFAFA\]{background-color:#fafafa}.bg-black{background-color:var(--color-black)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-900{background-color:var(--color-gray-900)}.bg-green-100{background-color:var(--color-green-100)}.bg-indigo-600{background-color:var(--color-indigo-600)}.bg-neutral-100{background-color:var(--color-neutral-100)}.bg-purple-600{background-color:var(--color-purple-600)}.bg-red-50{background-color:var(--color-red-50)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-blue-50{--tw-gradient-from:var(--color-blue-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-indigo-50{--tw-gradient-from:var(--color-indigo-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-white{--tw-gradient-to:var(--color-white);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-6{padding:calc(var(--spacing)*6)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.py-2{padding-block:calc(var(--spacing)*2)}.py-4{padding-block:calc(var(--spacing)*4)}.pt-4{padding-top:calc(var(--spacing)*4)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-8{padding-right:calc(var(--spacing)*8)}.pb-6{padding-bottom:calc(var(--spacing)*6)}.pl-3{padding-left:calc(var(--spacing)*3)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-manrope{font-family:var(--font-manrope)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-4{--tw-leading:calc(var(--spacing)*4);line-height:calc(var(--spacing)*4)}.leading-5{--tw-leading:calc(var(--spacing)*5);line-height:calc(var(--spacing)*5)}.leading-6{--tw-leading:calc(var(--spacing)*6);line-height:calc(var(--spacing)*6)}.leading-8{--tw-leading:calc(var(--spacing)*8);line-height:calc(var(--spacing)*8)}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-\[\#09090B\]{color:#09090b}.text-\[\#525252\]{color:#525252}.text-\[\#737373\]{color:#737373}.text-\[\#828282\]{color:#828282}.text-\[\#A3A3A3\]{color:#a3a3a3}.text-\[\#A6A6A6\]{color:#a6a6a6}.text-black{color:var(--color-black)}.text-blue-500{color:var(--color-blue-500)}.text-blue-900{color:var(--color-blue-900)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-green-600{color:var(--color-green-600)}.text-neutral-600{color:var(--color-neutral-600)}.text-purple-600{color:var(--color-purple-600)}.text-purple-700{color:var(--color-purple-700)}.text-purple-900{color:var(--color-purple-900)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.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)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[0_1px_2px_0_rgba\(0\,0\,0\,0\.10\)\]{--tw-shadow:0 1px 2px 0 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)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px 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)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.outline-none{--tw-outline-style:none;outline-style:none}.placeholder\:font-normal::placeholder{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.placeholder\:text-\[\#A3A3A3\]::placeholder{color:#a3a3a3}.before\:h-px:before{content:var(--tw-content);height:1px}.before\:flex-1:before{content:var(--tw-content);flex:1}.before\:bg-\[\#E5E5E5\]:before{content:var(--tw-content);background-color:#e5e5e5}.before\:content-\[\'\'\]:before{--tw-content:"";content:var(--tw-content)}.after\:h-px:after{content:var(--tw-content);height:1px}.after\:flex-1:after{content:var(--tw-content);flex:1}.after\:bg-\[\#E5E5E5\]:after{content:var(--tw-content);background-color:#e5e5e5}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}@media (hover:hover){.hover\:border-\[\#9ca3af\]:hover{border-color:#9ca3af}.hover\:bg-\[\#f9fafb\]:hover{background-color:#f9fafb}.hover\:bg-black\/5:hover{background-color:#0000000d}@supports (color:color-mix(in lab, red, red)){.hover\:bg-black\/5:hover{background-color:color-mix(in oklab,var(--color-black)5%,transparent)}}.hover\:bg-blue-50:hover{background-color:var(--color-blue-50)}.hover\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\:bg-gray-800:hover{background-color:var(--color-gray-800)}.hover\:bg-indigo-700:hover{background-color:var(--color-indigo-700)}.hover\:bg-purple-700:hover{background-color:var(--color-purple-700)}.hover\:bg-red-50:hover{background-color:var(--color-red-50)}.hover\:bg-white\/10:hover{background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.hover\:bg-white\/10:hover{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.hover\:text-gray-600:hover{color:var(--color-gray-600)}.hover\:text-purple-800:hover{color:var(--color-purple-800)}.hover\:underline:hover{text-decoration-line:underline}}.focus\:border-black:focus{border-color:var(--color-black)}.focus\:border-purple-500:focus{border-color:var(--color-purple-500)}.focus\:shadow-\[0_0_0_2px_rgba\(0\,0\,0\,0\.1\)\]:focus{--tw-shadow:0 0 0 2px 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)}.focus\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:bg-\[\#F5F5F5\]:disabled{background-color:#f5f5f5}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:opacity-60:disabled{opacity:.6}@media (prefers-color-scheme:dark){.dark\:border-white{border-color:var(--color-white)}.dark\:bg-green-900{background-color:var(--color-green-900)}.dark\:bg-neutral-800{background-color:var(--color-neutral-800)}.dark\:text-gray-400{color:var(--color-gray-400)}.dark\:text-green-400{color:var(--color-green-400)}.dark\:text-neutral-400{color:var(--color-neutral-400)}.dark\:text-white{color:var(--color-white)}}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@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-duration{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes spin{to{transform:rotate(360deg)}}
|
|
1
|
+
/**
|
|
2
|
+
* InsForge React Component Library Styles
|
|
3
|
+
* Traditional CSS with scoped class names (no Tailwind)
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/* ============================================
|
|
7
|
+
FONTS
|
|
8
|
+
============================================ */
|
|
9
|
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
|
|
10
|
+
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
|
|
11
|
+
|
|
12
|
+
/* ============================================
|
|
13
|
+
CSS VARIABLES
|
|
14
|
+
============================================ */
|
|
15
|
+
:root {
|
|
16
|
+
/* Colors */
|
|
17
|
+
--if-color-primary: #000000;
|
|
18
|
+
--if-color-primary-hover: #1f1f1f;
|
|
19
|
+
--if-color-text: #000000;
|
|
20
|
+
--if-color-text-secondary: #828282;
|
|
21
|
+
--if-color-text-muted: #a3a3a3;
|
|
22
|
+
--if-color-border: #d4d4d4;
|
|
23
|
+
--if-color-border-focus: #000000;
|
|
24
|
+
--if-color-bg-white: #ffffff;
|
|
25
|
+
--if-color-bg-light: #fafafa;
|
|
26
|
+
--if-color-bg-hover: #f9fafb;
|
|
27
|
+
--if-color-error: #dc2626;
|
|
28
|
+
--if-color-error-bg: #fee2e2;
|
|
29
|
+
--if-color-success: #16a34a;
|
|
30
|
+
|
|
31
|
+
/* Spacing */
|
|
32
|
+
--if-space-1: 0.25rem; /* 4px */
|
|
33
|
+
--if-space-2: 0.5rem; /* 8px */
|
|
34
|
+
--if-space-3: 0.75rem; /* 12px */
|
|
35
|
+
--if-space-4: 1rem; /* 16px */
|
|
36
|
+
--if-space-6: 1.5rem; /* 24px */
|
|
37
|
+
--if-space-8: 2rem; /* 32px */
|
|
38
|
+
|
|
39
|
+
/* Border Radius */
|
|
40
|
+
--if-radius-xs: 0.125rem; /* 2px */
|
|
41
|
+
--if-radius-sm: 0.25rem; /* 4px */
|
|
42
|
+
--if-radius-md: 0.375rem; /* 6px */
|
|
43
|
+
--if-radius-lg: 0.5rem; /* 8px */
|
|
44
|
+
--if-radius-xl: 0.75rem; /* 12px */
|
|
45
|
+
|
|
46
|
+
/* Typography */
|
|
47
|
+
--if-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
|
|
48
|
+
--if-font-family-manrope:
|
|
49
|
+
'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
|
|
50
|
+
--if-font-size-xs: 0.75rem; /* 12px */
|
|
51
|
+
--if-font-size-sm: 0.875rem; /* 14px */
|
|
52
|
+
--if-font-size-base: 1rem; /* 16px */
|
|
53
|
+
--if-font-size-lg: 1.125rem; /* 18px */
|
|
54
|
+
--if-font-size-xl: 1.25rem; /* 20px */
|
|
55
|
+
--if-font-size-2xl: 1.5rem; /* 24px */
|
|
56
|
+
|
|
57
|
+
/* Shadows */
|
|
58
|
+
--if-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
59
|
+
--if-shadow-md: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
|
|
60
|
+
--if-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
|
61
|
+
|
|
62
|
+
/* Transitions */
|
|
63
|
+
--if-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
64
|
+
--if-transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* ============================================
|
|
68
|
+
AUTH CONTAINER
|
|
69
|
+
============================================ */
|
|
70
|
+
.if-authContainer {
|
|
71
|
+
width: 100%;
|
|
72
|
+
max-width: 400px;
|
|
73
|
+
border-radius: var(--if-radius-xl);
|
|
74
|
+
overflow: hidden;
|
|
75
|
+
box-shadow: var(--if-shadow-lg);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.if-authCard {
|
|
79
|
+
background-color: var(--if-color-bg-white);
|
|
80
|
+
padding: var(--if-space-6);
|
|
81
|
+
display: flex;
|
|
82
|
+
flex-direction: column;
|
|
83
|
+
justify-content: center;
|
|
84
|
+
align-items: stretch;
|
|
85
|
+
gap: var(--if-space-6);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* ============================================
|
|
89
|
+
AUTH HEADER
|
|
90
|
+
============================================ */
|
|
91
|
+
.if-authHeader {
|
|
92
|
+
display: flex;
|
|
93
|
+
flex-direction: column;
|
|
94
|
+
justify-content: flex-start;
|
|
95
|
+
align-items: flex-start;
|
|
96
|
+
gap: var(--if-space-2);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.if-authHeader-title {
|
|
100
|
+
font-size: var(--if-font-size-2xl);
|
|
101
|
+
font-weight: 600;
|
|
102
|
+
color: var(--if-color-text);
|
|
103
|
+
line-height: 2rem;
|
|
104
|
+
margin: 0;
|
|
105
|
+
font-family: var(--if-font-family);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.if-authHeader-subtitle {
|
|
109
|
+
font-size: var(--if-font-size-sm);
|
|
110
|
+
font-weight: 400;
|
|
111
|
+
color: var(--if-color-text-secondary);
|
|
112
|
+
line-height: 1.5rem;
|
|
113
|
+
margin: 0;
|
|
114
|
+
font-family: var(--if-font-family);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* ============================================
|
|
118
|
+
FORM FIELD
|
|
119
|
+
============================================ */
|
|
120
|
+
.if-formField {
|
|
121
|
+
display: flex;
|
|
122
|
+
flex-direction: column;
|
|
123
|
+
justify-content: center;
|
|
124
|
+
align-items: stretch;
|
|
125
|
+
gap: var(--if-space-1);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.if-formField-label {
|
|
129
|
+
font-size: var(--if-font-size-sm);
|
|
130
|
+
font-weight: 400;
|
|
131
|
+
color: var(--if-color-text);
|
|
132
|
+
line-height: 1.5rem;
|
|
133
|
+
font-family: var(--if-font-family);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.if-formField-input {
|
|
137
|
+
width: 100%;
|
|
138
|
+
display: flex;
|
|
139
|
+
align-items: center;
|
|
140
|
+
gap: var(--if-space-2);
|
|
141
|
+
align-self: stretch;
|
|
142
|
+
padding: var(--if-space-2) var(--if-space-3);
|
|
143
|
+
border-radius: var(--if-radius-sm);
|
|
144
|
+
border: 1px solid var(--if-color-border);
|
|
145
|
+
background-color: var(--if-color-bg-white);
|
|
146
|
+
font-size: var(--if-font-size-sm);
|
|
147
|
+
font-weight: 400;
|
|
148
|
+
line-height: 1.25rem;
|
|
149
|
+
color: var(--if-color-text);
|
|
150
|
+
font-family: var(--if-font-family);
|
|
151
|
+
transition: border-color var(--if-transition-base);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.if-formField-input::placeholder {
|
|
155
|
+
color: var(--if-color-text-muted);
|
|
156
|
+
font-size: var(--if-font-size-sm);
|
|
157
|
+
font-weight: 400;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.if-formField-input:focus {
|
|
161
|
+
outline: none;
|
|
162
|
+
border-color: var(--if-color-border-focus);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/* ============================================
|
|
166
|
+
PASSWORD FIELD
|
|
167
|
+
============================================ */
|
|
168
|
+
.if-passwordField {
|
|
169
|
+
display: flex;
|
|
170
|
+
flex-direction: column;
|
|
171
|
+
justify-content: center;
|
|
172
|
+
align-items: stretch;
|
|
173
|
+
gap: var(--if-space-1);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.if-passwordField-labelRow {
|
|
177
|
+
display: flex;
|
|
178
|
+
justify-content: space-between;
|
|
179
|
+
align-items: center;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.if-passwordField-label {
|
|
183
|
+
font-size: var(--if-font-size-sm);
|
|
184
|
+
font-weight: 400;
|
|
185
|
+
color: var(--if-color-text);
|
|
186
|
+
line-height: 1.5rem;
|
|
187
|
+
font-family: var(--if-font-family);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.if-passwordField-forgotLink {
|
|
191
|
+
font-size: var(--if-font-size-sm);
|
|
192
|
+
font-weight: 400;
|
|
193
|
+
color: var(--if-color-text-secondary);
|
|
194
|
+
text-decoration: none;
|
|
195
|
+
transition: color var(--if-transition-fast);
|
|
196
|
+
font-family: var(--if-font-family);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.if-passwordField-inputWrapper {
|
|
200
|
+
position: relative;
|
|
201
|
+
width: 100%;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.if-passwordField-input {
|
|
205
|
+
width: 100%;
|
|
206
|
+
display: flex;
|
|
207
|
+
align-items: center;
|
|
208
|
+
align-self: stretch;
|
|
209
|
+
padding: var(--if-space-2) var(--if-space-3);
|
|
210
|
+
padding-right: 2.5rem; /* Space for toggle button */
|
|
211
|
+
border-radius: var(--if-radius-sm);
|
|
212
|
+
border: 1px solid var(--if-color-border);
|
|
213
|
+
background-color: var(--if-color-bg-white);
|
|
214
|
+
font-size: var(--if-font-size-sm);
|
|
215
|
+
font-weight: 400;
|
|
216
|
+
line-height: 1.25rem;
|
|
217
|
+
color: var(--if-color-text);
|
|
218
|
+
font-family: var(--if-font-family);
|
|
219
|
+
transition: border-color var(--if-transition-base);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.if-passwordField-input::placeholder {
|
|
223
|
+
color: var(--if-color-text-muted);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.if-passwordField-input:focus {
|
|
227
|
+
outline: none;
|
|
228
|
+
border-color: var(--if-color-border-focus);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.if-passwordField-toggleButton {
|
|
232
|
+
position: absolute;
|
|
233
|
+
right: var(--if-space-1);
|
|
234
|
+
top: 50%;
|
|
235
|
+
transform: translateY(-50%);
|
|
236
|
+
background: none;
|
|
237
|
+
border: none;
|
|
238
|
+
cursor: pointer;
|
|
239
|
+
padding: var(--if-space-1);
|
|
240
|
+
display: flex;
|
|
241
|
+
align-items: center;
|
|
242
|
+
justify-content: center;
|
|
243
|
+
color: var(--if-color-text-secondary);
|
|
244
|
+
transition: color var(--if-transition-fast);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/* ============================================
|
|
248
|
+
SUBMIT BUTTON
|
|
249
|
+
============================================ */
|
|
250
|
+
.if-submitButton {
|
|
251
|
+
border-radius: var(--if-radius-sm);
|
|
252
|
+
background-color: var(--if-color-primary);
|
|
253
|
+
height: 2.5rem;
|
|
254
|
+
width: 100%;
|
|
255
|
+
display: flex;
|
|
256
|
+
margin-top: var(--if-space-4);
|
|
257
|
+
padding: var(--if-space-2) var(--if-space-4);
|
|
258
|
+
justify-content: center;
|
|
259
|
+
align-items: center;
|
|
260
|
+
gap: 0.625rem;
|
|
261
|
+
align-self: stretch;
|
|
262
|
+
color: var(--if-color-bg-white);
|
|
263
|
+
font-weight: 600;
|
|
264
|
+
font-family: var(--if-font-family-manrope);
|
|
265
|
+
font-size: var(--if-font-size-base);
|
|
266
|
+
line-height: normal;
|
|
267
|
+
border: none;
|
|
268
|
+
cursor: pointer;
|
|
269
|
+
transition: background-color var(--if-transition-base);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.if-submitButton:hover:not(:disabled) {
|
|
273
|
+
background-color: var(--if-color-primary-hover);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.if-submitButton:disabled {
|
|
277
|
+
opacity: 0.5;
|
|
278
|
+
cursor: not-allowed;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.if-submitButton-icon {
|
|
282
|
+
width: 1.25rem;
|
|
283
|
+
height: 1.25rem;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/* Spinner animation */
|
|
287
|
+
@keyframes if-spin {
|
|
288
|
+
from {
|
|
289
|
+
transform: rotate(0deg);
|
|
290
|
+
}
|
|
291
|
+
to {
|
|
292
|
+
transform: rotate(360deg);
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.if-submitButton-spinner {
|
|
297
|
+
animation: if-spin 1s linear infinite;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/* ============================================
|
|
301
|
+
OAUTH BUTTON
|
|
302
|
+
============================================ */
|
|
303
|
+
.if-oauthButton {
|
|
304
|
+
display: flex;
|
|
305
|
+
width: 100%;
|
|
306
|
+
height: 2.25rem;
|
|
307
|
+
padding: var(--if-space-2) var(--if-space-3);
|
|
308
|
+
flex-direction: row;
|
|
309
|
+
justify-content: center;
|
|
310
|
+
align-items: center;
|
|
311
|
+
gap: var(--if-space-3);
|
|
312
|
+
border-radius: var(--if-radius-md);
|
|
313
|
+
border: 1px solid #e4e4e7;
|
|
314
|
+
background-color: var(--if-color-bg-white);
|
|
315
|
+
box-shadow: var(--if-shadow-md);
|
|
316
|
+
color: #09090b;
|
|
317
|
+
text-align: center;
|
|
318
|
+
font-size: var(--if-font-size-sm);
|
|
319
|
+
font-weight: 500;
|
|
320
|
+
line-height: 1.25rem;
|
|
321
|
+
cursor: pointer;
|
|
322
|
+
transition: all var(--if-transition-base);
|
|
323
|
+
font-family: var(--if-font-family);
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.if-oauthButton:hover:not(:disabled) {
|
|
327
|
+
background-color: var(--if-color-bg-hover);
|
|
328
|
+
border-color: #9ca3af;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.if-oauthButton:disabled {
|
|
332
|
+
opacity: 0.6;
|
|
333
|
+
cursor: not-allowed;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.if-oauthButton-icon {
|
|
337
|
+
display: flex;
|
|
338
|
+
align-items: center;
|
|
339
|
+
justify-content: center;
|
|
340
|
+
flex-shrink: 0;
|
|
341
|
+
width: 1.125rem;
|
|
342
|
+
height: 1.125rem;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.if-oauthButton-full {
|
|
346
|
+
justify-content: center;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.if-oauthButton-short {
|
|
350
|
+
justify-content: center;
|
|
351
|
+
padding: var(--if-space-2);
|
|
352
|
+
gap: var(--if-space-2);
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.if-oauthButton-icon-only {
|
|
356
|
+
justify-content: center;
|
|
357
|
+
gap: 0;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/* ============================================
|
|
361
|
+
OAUTH PROVIDERS CONTAINER
|
|
362
|
+
============================================ */
|
|
363
|
+
.if-oauthProviders {
|
|
364
|
+
display: flex;
|
|
365
|
+
flex-direction: column;
|
|
366
|
+
gap: var(--if-space-3);
|
|
367
|
+
width: 100%;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
/* ============================================
|
|
371
|
+
AUTH LINK
|
|
372
|
+
============================================ */
|
|
373
|
+
.if-authLink {
|
|
374
|
+
display: flex;
|
|
375
|
+
justify-content: center;
|
|
376
|
+
align-items: center;
|
|
377
|
+
gap: var(--if-space-1);
|
|
378
|
+
font-size: var(--if-font-size-sm);
|
|
379
|
+
color: var(--if-color-text-secondary);
|
|
380
|
+
font-family: var(--if-font-family);
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.if-authLink-text {
|
|
384
|
+
font-weight: 400;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.if-authLink-link {
|
|
388
|
+
font-weight: 600;
|
|
389
|
+
color: var(--if-color-text);
|
|
390
|
+
text-decoration: none;
|
|
391
|
+
transition: opacity var(--if-transition-fast);
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
/* ============================================
|
|
395
|
+
AUTH DIVIDER
|
|
396
|
+
============================================ */
|
|
397
|
+
.if-authDivider {
|
|
398
|
+
display: flex;
|
|
399
|
+
align-items: center;
|
|
400
|
+
text-align: center;
|
|
401
|
+
width: 100%;
|
|
402
|
+
gap: var(--if-space-3);
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.if-authDivider-line {
|
|
406
|
+
flex: 1;
|
|
407
|
+
border-top: 1px solid var(--if-color-border);
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.if-authDivider-text {
|
|
411
|
+
font-size: var(--if-font-size-sm);
|
|
412
|
+
color: var(--if-color-text-secondary);
|
|
413
|
+
font-weight: 400;
|
|
414
|
+
font-family: var(--if-font-family-manrope);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
/* ============================================
|
|
418
|
+
ERROR BANNER
|
|
419
|
+
============================================ */
|
|
420
|
+
.if-errorBanner {
|
|
421
|
+
padding: var(--if-space-3);
|
|
422
|
+
background-color: var(--if-color-error-bg);
|
|
423
|
+
border-radius: var(--if-radius-md);
|
|
424
|
+
border: 1px solid var(--if-color-error);
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.if-errorBanner-text {
|
|
428
|
+
font-size: var(--if-font-size-sm);
|
|
429
|
+
color: var(--if-color-error);
|
|
430
|
+
font-weight: 400;
|
|
431
|
+
font-family: var(--if-font-family);
|
|
432
|
+
margin: 0;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
/* ============================================
|
|
436
|
+
AUTH BRANDING
|
|
437
|
+
============================================ */
|
|
438
|
+
.if-authBranding {
|
|
439
|
+
background-color: var(--if-color-bg-light);
|
|
440
|
+
padding: var(--if-space-4) var(--if-space-2);
|
|
441
|
+
display: flex;
|
|
442
|
+
flex-direction: row;
|
|
443
|
+
justify-content: center;
|
|
444
|
+
align-items: center;
|
|
445
|
+
gap: var(--if-space-1);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.if-authBranding-text {
|
|
449
|
+
font-size: var(--if-font-size-xs);
|
|
450
|
+
font-weight: 500;
|
|
451
|
+
color: var(--if-color-text);
|
|
452
|
+
font-family: var(--if-font-family-manrope);
|
|
453
|
+
margin: 0;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
/* ============================================
|
|
457
|
+
VERIFICATION CODE INPUT
|
|
458
|
+
============================================ */
|
|
459
|
+
.if-verificationCode {
|
|
460
|
+
display: flex;
|
|
461
|
+
flex-direction: column;
|
|
462
|
+
gap: var(--if-space-4);
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.if-verificationCode-description {
|
|
466
|
+
font-size: var(--if-font-size-sm);
|
|
467
|
+
color: var(--if-color-text-secondary);
|
|
468
|
+
text-align: center;
|
|
469
|
+
font-family: var(--if-font-family);
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.if-verificationCode-email {
|
|
473
|
+
font-weight: 600;
|
|
474
|
+
color: var(--if-color-text);
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
.if-verificationCode-inputContainer {
|
|
478
|
+
display: flex;
|
|
479
|
+
gap: var(--if-space-2);
|
|
480
|
+
justify-content: center;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.if-verificationCode-input {
|
|
484
|
+
width: 3rem;
|
|
485
|
+
height: 3rem;
|
|
486
|
+
text-align: center;
|
|
487
|
+
font-size: var(--if-font-size-xl);
|
|
488
|
+
font-weight: 600;
|
|
489
|
+
border: 2px solid var(--if-color-border);
|
|
490
|
+
border-radius: var(--if-radius-md);
|
|
491
|
+
transition: border-color var(--if-transition-base);
|
|
492
|
+
font-family: var(--if-font-family);
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
.if-verificationCode-input:focus {
|
|
496
|
+
outline: none;
|
|
497
|
+
border-color: var(--if-color-border-focus);
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
/* ============================================
|
|
501
|
+
PASSWORD STRENGTH INDICATOR
|
|
502
|
+
============================================ */
|
|
503
|
+
.if-passwordStrength {
|
|
504
|
+
margin-top: var(--if-space-2);
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.if-passwordStrength-bar {
|
|
508
|
+
height: 4px;
|
|
509
|
+
background-color: #e5e7eb;
|
|
510
|
+
border-radius: 2px;
|
|
511
|
+
overflow: hidden;
|
|
512
|
+
margin-bottom: var(--if-space-2);
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.if-passwordStrength-fill {
|
|
516
|
+
height: 100%;
|
|
517
|
+
transition:
|
|
518
|
+
width var(--if-transition-base),
|
|
519
|
+
background-color var(--if-transition-base);
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.if-passwordStrength-fill.weak {
|
|
523
|
+
background-color: #ef4444;
|
|
524
|
+
width: 33%;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
.if-passwordStrength-fill.medium {
|
|
528
|
+
background-color: #f59e0b;
|
|
529
|
+
width: 66%;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
.if-passwordStrength-fill.strong {
|
|
533
|
+
background-color: var(--if-color-success);
|
|
534
|
+
width: 100%;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
.if-passwordStrength-text {
|
|
538
|
+
font-size: var(--if-font-size-xs);
|
|
539
|
+
color: var(--if-color-text-secondary);
|
|
540
|
+
font-family: var(--if-font-family);
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
.if-passwordStrength-requirements {
|
|
544
|
+
margin-top: var(--if-space-2);
|
|
545
|
+
font-size: var(--if-font-size-xs);
|
|
546
|
+
color: var(--if-color-text-secondary);
|
|
547
|
+
font-family: var(--if-font-family);
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
.if-passwordStrength-requirement {
|
|
551
|
+
display: flex;
|
|
552
|
+
align-items: center;
|
|
553
|
+
gap: var(--if-space-1);
|
|
554
|
+
margin-bottom: var(--if-space-1);
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.if-passwordStrength-requirement.met {
|
|
558
|
+
color: var(--if-color-success);
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
.if-passwordStrength-requirement.unmet {
|
|
562
|
+
color: var(--if-color-text-muted);
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
/* ============================================
|
|
566
|
+
FORM CONTAINER
|
|
567
|
+
============================================ */
|
|
568
|
+
.if-form {
|
|
569
|
+
display: flex;
|
|
570
|
+
flex-direction: column;
|
|
571
|
+
align-items: stretch;
|
|
572
|
+
justify-content: center;
|
|
573
|
+
gap: var(--if-space-6);
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
/* ============================================
|
|
577
|
+
USER BUTTON
|
|
578
|
+
============================================ */
|
|
579
|
+
.if-userButton {
|
|
580
|
+
display: inline-flex;
|
|
581
|
+
align-items: center;
|
|
582
|
+
justify-content: center;
|
|
583
|
+
padding: var(--if-space-2);
|
|
584
|
+
border-radius: 9999px;
|
|
585
|
+
background-color: var(--if-color-bg-white);
|
|
586
|
+
border: 1px solid var(--if-color-border);
|
|
587
|
+
cursor: pointer;
|
|
588
|
+
transition: all var(--if-transition-base);
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.if-userButton:hover {
|
|
592
|
+
background-color: var(--if-color-bg-light);
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
.if-userButton-avatar {
|
|
596
|
+
width: 2rem;
|
|
597
|
+
height: 2rem;
|
|
598
|
+
border-radius: 9999px;
|
|
599
|
+
background-color: var(--if-color-primary);
|
|
600
|
+
color: var(--if-color-bg-white);
|
|
601
|
+
display: flex;
|
|
602
|
+
align-items: center;
|
|
603
|
+
justify-content: center;
|
|
604
|
+
font-weight: 600;
|
|
605
|
+
font-size: var(--if-font-size-sm);
|
|
606
|
+
font-family: var(--if-font-family);
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
.if-userButton-menu {
|
|
610
|
+
position: absolute;
|
|
611
|
+
margin-top: var(--if-space-2);
|
|
612
|
+
background-color: var(--if-color-bg-white);
|
|
613
|
+
border: 1px solid var(--if-color-border);
|
|
614
|
+
border-radius: var(--if-radius-md);
|
|
615
|
+
box-shadow: var(--if-shadow-lg);
|
|
616
|
+
padding: var(--if-space-2);
|
|
617
|
+
min-width: 200px;
|
|
618
|
+
z-index: 50;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
.if-userButton-menuItem {
|
|
622
|
+
display: flex;
|
|
623
|
+
align-items: center;
|
|
624
|
+
gap: var(--if-space-2);
|
|
625
|
+
padding: var(--if-space-2);
|
|
626
|
+
border-radius: var(--if-radius-sm);
|
|
627
|
+
cursor: pointer;
|
|
628
|
+
transition: background-color var(--if-transition-fast);
|
|
629
|
+
font-size: var(--if-font-size-sm);
|
|
630
|
+
color: var(--if-color-text);
|
|
631
|
+
font-family: var(--if-font-family);
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.if-userButton-menuItem:hover {
|
|
635
|
+
background-color: var(--if-color-bg-light);
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
/* ============================================
|
|
639
|
+
UTILITY CLASSES
|
|
640
|
+
============================================ */
|
|
641
|
+
.if-hidden {
|
|
642
|
+
display: none;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.if-visuallyHidden {
|
|
646
|
+
position: absolute;
|
|
647
|
+
width: 1px;
|
|
648
|
+
height: 1px;
|
|
649
|
+
padding: 0;
|
|
650
|
+
margin: -1px;
|
|
651
|
+
overflow: hidden;
|
|
652
|
+
clip: rect(0, 0, 0, 0);
|
|
653
|
+
white-space: nowrap;
|
|
654
|
+
border-width: 0;
|
|
655
|
+
}
|
package/dist/types.cjs
ADDED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.cjs"}
|