@cfx-dev/ui-components 4.5.12 → 4.5.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/all_css.css +1 -0
- package/dist/assets/css/Checkbox.css +1 -1
- package/dist/assets/css/CheckboxShowcase.css +1 -0
- package/dist/assets/css/Input.css +1 -1
- package/dist/assets/css/StyledInput.css +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +5 -0
- package/dist/components/Checkbox/Checkbox.js +163 -153
- package/dist/components/Checkbox/CheckboxShowcase.d.ts +4 -0
- package/dist/components/Checkbox/CheckboxShowcase.js +33 -0
- package/dist/components/Input/Input.js +91 -94
- package/dist/components/StyledInput/StyledInput.js +20 -20
- package/package.json +1 -1
package/dist/assets/all_css.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.cfxui__Checkbox__rootUnset__cbb57{all:unset}.cfxui__Checkbox__root__865aa{cursor:pointer;display:flex;align-items:center;justify-content:center;box-sizing:border-box;position:relative}.cfxui__Checkbox__root__865aa:focus-visible,.cfxui__Checkbox__root__865aa:focus-visible:hover{outline-offset:var(--checkbox-focus-border-size, initial);outline:var(--checkbox-focus-border-size, initial) solid var(--color-checkbox-focus-border-color)}.cfxui__Checkbox__root__865aa[data-disabled]{opacity:.5;cursor:not-allowed}.cfxui__Checkbox__root__865aa .cfxui__Checkbox__square__029aa{position:relative;top:0;left:0;width:100%;height:100%}.cfxui__Checkbox__root__865aa .cfxui__Checkbox__indicator__2afc0{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center
|
|
1
|
+
.cfxui__Checkbox__rootUnset__cbb57{all:unset}.cfxui__Checkbox__root__865aa{cursor:pointer;display:flex;align-items:center;justify-content:center;box-sizing:border-box;position:relative}.cfxui__Checkbox__root__865aa:focus-visible,.cfxui__Checkbox__root__865aa:focus-visible:hover{outline-offset:var(--checkbox-focus-border-size, initial);outline:var(--checkbox-focus-border-size, initial) solid var(--color-checkbox-focus-border-color)}.cfxui__Checkbox__root__865aa[data-disabled]{opacity:.5;cursor:not-allowed}.cfxui__Checkbox__root__865aa .cfxui__Checkbox__square__029aa{position:relative;top:0;left:0;width:100%;height:100%}.cfxui__Checkbox__root__865aa .cfxui__Checkbox__indicator__2afc0{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:50%;height:50%}.cfxui__Checkbox__root__865aa.cfxui__Checkbox__size-small__02440,.cfxui__Checkbox__root__865aa.cfxui__Checkbox__size-small__02440 .cfxui__Checkbox__indicator__2afc0{width:calc(var(--quant) * 2);height:calc(var(--quant) * 2)}.cfxui__Checkbox__root__865aa.cfxui__Checkbox__size-small__02440 .cfxui__Checkbox__indicator__2afc0 .cfxui__Checkbox__radioIcon__719e7{width:calc(var(--quant) * 2 / 3);height:calc(var(--quant) * 2 / 3)}.cfxui__Checkbox__root__865aa.cfxui__Checkbox__size-small__02440 .cfxui__Checkbox__indicator__2afc0 .cfxui__Checkbox__tickIcon__a7f19{width:calc(var(--quant) * 2 / 2);height:calc(var(--quant) * 2 / 2)}.cfxui__Checkbox__root__865aa.cfxui__Checkbox__size-normal__700f4,.cfxui__Checkbox__root__865aa.cfxui__Checkbox__size-normal__700f4 .cfxui__Checkbox__indicator__2afc0{width:var(--control-height-xsmall);height:var(--control-height-xsmall)}.cfxui__Checkbox__root__865aa.cfxui__Checkbox__size-normal__700f4 .cfxui__Checkbox__indicator__2afc0 .cfxui__Checkbox__radioIcon__719e7{width:calc(var(--control-height-xsmall) / 3);height:calc(var(--control-height-xsmall) / 3)}.cfxui__Checkbox__root__865aa.cfxui__Checkbox__size-normal__700f4 .cfxui__Checkbox__indicator__2afc0 .cfxui__Checkbox__tickIcon__a7f19{width:calc(var(--control-height-xsmall) / 2);height:calc(var(--control-height-xsmall) / 2)}.cfxui__Checkbox__root__865aa.cfxui__Checkbox__size-large__28529,.cfxui__Checkbox__root__865aa.cfxui__Checkbox__size-large__28529 .cfxui__Checkbox__indicator__2afc0{width:var(--control-height-small);height:var(--control-height-small)}.cfxui__Checkbox__root__865aa.cfxui__Checkbox__size-large__28529 .cfxui__Checkbox__indicator__2afc0 .cfxui__Checkbox__radioIcon__719e7{width:calc(var(--control-height-small) / 3);height:calc(var(--control-height-small) / 3)}.cfxui__Checkbox__root__865aa.cfxui__Checkbox__size-large__28529 .cfxui__Checkbox__indicator__2afc0 .cfxui__Checkbox__tickIcon__a7f19{width:calc(var(--control-height-small) / 2);height:calc(var(--control-height-small) / 2)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.cfxui__CheckboxShowcase__root__5c0e0{overflow:hidden}.cfxui__CheckboxShowcase__root__5c0e0:not(.cfxui__CheckboxShowcase__checked__e49f9){color:rgba(var(--color-secondary),.2)}.cfxui__CheckboxShowcase__root__5c0e0:not(.cfxui__CheckboxShowcase__checked__e49f9):hover{color:rgba(var(--color-secondary),.6)}.cfxui__CheckboxShowcase__root__5c0e0.cfxui__CheckboxShowcase__checked__e49f9{color:rgba(var(--color-tertiary),1)}.cfxui__CheckboxShowcase__root__5c0e0.cfxui__CheckboxShowcase__checked__e49f9 .cfxui__CheckboxShowcase__icon__686ec{color:rgba(var(--color-bg),1);background-color:rgba(var(--color-tertiary),1);box-shadow:0 0 0 calc(var(--quant) * .175) rgba(var(--color-tertiary),1)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.cfxui__Input__root__6392b{position:relative;display:inline-flex}.cfxui__Input__root__6392b.cfxui__Input__fullWidth__5a033{width:100%}.cfxui__Input__root__6392b:not(.cfxui__Input__empty__3b36a) .cfxui__Input__placeholderIcon__4d079,.cfxui__Input__root__6392b .cfxui__Input__input__07830:focus+.cfxui__Input__placeholderIcon__4d079,.cfxui__Input__root__6392b .cfxui__Input__input__07830:focus-visible+.cfxui__Input__placeholderIcon__4d079{display:none}.cfxui__Input__root__6392b .cfxui__Input__decorator__3b81f{position:absolute;display:flex;align-items:center;gap:var(--offset-normal);bottom:var(--input-border-size, initial);right:var(--offset-small);height:calc(var(--control-height-normal) - var(--input-border-size, initial) * 2)}.cfxui__Input__root__6392b .cfxui__Input__placeholderIcon__4d079{position:absolute;left:var(--offset-medium);top:50%;transform:translateY(-50%);color:var(--color-input-placeholder);width:var(--font-size-xsmall, initial);height:var(--font-size-xsmall, initial)}.cfxui__Input__root__6392b .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xsmall, initial);height:var(--font-size-xsmall, initial)}.cfxui__Input__root__6392b .cfxui__Input__placeholderIcon__4d079{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__Input__root__6392b.cfxui__Input__small__c1513 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__small__c1513 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__small__c1513 .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}.cfxui__Input__root__6392b.cfxui__Input__large__92d72 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__large__92d72 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__large__92d72 .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830{background-color:var(--color-input-background);box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-border) inset}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830::placeholder{color:var(--color-input-placeholder)}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830::-webkit-input-placeholder{color:var(--color-input-placeholder)}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830::-moz-placeholder{color:var(--color-input-placeholder)}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:-ms-input-placeholder{color:var(--color-input-placeholder)}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:disabled{cursor:not-allowed;opacity:.5;box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-disabled-border) inset}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-hover-border) inset}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):hover::placeholder{color:var(--color-input-placeholder-hover)}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):hover::-webkit-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):hover::-moz-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):hover:-ms-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):focus-visible,.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):focus-visible:hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-focus-border) inset}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):focus-visible::placeholder,.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):focus-visible:hover::placeholder{color:transparent}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):focus-visible::-webkit-input-placeholder,.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):focus-visible:hover::-webkit-input-placeholder{color:transparent}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):focus-visible::-moz-placeholder,.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):focus-visible:hover::-moz-placeholder{color:transparent}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):focus-visible:-ms-input-placeholder,.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):focus-visible:hover:-ms-input-placeholder{color:transparent}.cfxui__Input__root__6392b.cfxui__Input__backdropBlur__fdde1 .cfxui__Input__input__07830{--backdrop-color: var(--color-input-background);--over-backdrop-color: var(--backdrop-color, transparent);--over-backdrop-image-blur: var(--backdrop-image-blur, url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAACQRJREFUWEddl8uLJFkVh7/7ikdmVlZ1jz2igqILcePOreBWFyKIio4vfCwUkfEB7nTv/Afizp0b97oTHJARZFBR8TGjU9NdXVNdVZmRERlx4z7k3KjpGaS4VJIZEfe75/zO75xQLz68yQBaZbQCRUbljIqQI5CQL9FaoZ3CWoU2Cq2U3EbOuSylMkZnKqOoy9JUWqPLNRBSxMdlzTERUiLKfb97/SbLswoAy1KCJACyuSwBNLIUxi7rLQDZQC7K2DcBrKaxGlcAVAEMd5v7EPApElMmFYBzicCysVFpgSjPU2XznOSkGaUXiAJgFEq+ED45Xkoo0gJgFY0zNM7ijCkAKSVm2TjMCMAsAGVXUC++dpMl7JqEIaKzfAYlG2dNFhC5VCKk8xL+twGUFKSIIuJ0praatrbUVYUzFqUUSU4/z3g/FYg5JQQZpVC/f+02C70mYnLEyOesUILxFKCcdQHQGWV0eXC+Cy8plvsLgBMAVwCsdciTQgx475mmiTl4QspkiaDSqD8+vM1FdAUgoLPA3AFgCsQSrFR0ogqEiKLEqeR3AUg4k2mcpq4WAGPtIsAQ8dO0RGAOJW0FQGvUXy528oSSQ10ABEYeLREwslPJtRJ9yJIIyAVSMnKl7JBziZw1UDtFJfl3Dq3N2wB8iYJoIckt8hCJwF8vJQWifIGQXN5VwV0KJAJlq6KBtwCWKpSrRR5SwlIF4KzCWY0VAWpdKkkiMM+Shpk5iABTSZ/cr/786LrIDLVE4SmAfCvhX359CvBmCu6+XbKzqAGjKRBWAMQ3lABkYkzMc1wqIARijEv1iLZfevXy7pOE9v8AklTBnZOU/L8pxMJe/mSDooNiRqlAOKOw4gElTFIFbyvDeSZIGmJYDOzXf3qtAMjDnwLclaF4gISw0KpU1lIJy+ZyghRzqfOUQnEucUMBkBK02pTrUhaAmWke74Q4EcNcylP94rd/WzQgp1NxEVs5tYRP6MVnpG4j4s8lBYsKC1wMmRDkVJ6c5js3NNSuorKupCFlCf/E6HvGqWeaBsLsiTGgfvqrl4oPKBXQssSMSloNOWoxOWJK5BzIhEUrxQMMMYKfI9Pkmf2RnCacyrTO0dYNtasx2hBzYPI9w7gr6zh1JRKiDfXDn//mrgw9Ons0oeizACRLKmkQgBmQlYouYzZMAY5TpB+P+KlHhSOtSZzUNZtmTV21KK1LdIZxz354wq5/g8O0Y4yeIIb3jRd+uQCkEZVHkI2KqNzd0sXrdZ7RzCVS4tI+a4ZZ0U0z++HINHZUaeDMJs7ahk17QuXaYuXjNLLrrrnaPeLycM7lfMVOTMiuUV/+8c+ykr6bRnIaIPk7VQtAhU52MRkCVnu0DmSdF4AA+1EABsLU0aaeszpzb9Wybk9wtiEE6A89T64vubj8F+fXL/MQqE40Z5sPor7ygxdyafxy+nQsAKWkkkMVAIMh43TAWY+xEWUzQWmOIXMYAwcBGA80DJy1irNNy6bd4ExFmBPdbs/V40dcnP+Bx48Gjg2079yyPns/6mvf/klemr9HMT21Yzm5ShadpKcnjIm4KmDrhK4USSt8yPTjzOFwZD4eqJg4Wxvub9ecbFZUtiLOgW7XcfX4IRf/fZmrRwfmSgDey+rsXaivff1HRQNSAUYFLBGrwMrGSZfyl3rTNqLrhG0UptZko5gFYPAc9gNT31Mxc3ZS8cy9DWfbNU1VlVo/dB1PLi95fP4KVxf/wGeo73+A9vQB6itf+n4u45SSbhapZahQ4NCY4j+ZLJOJTagaTKNQlSnNxM+Jvp847HrGbqAicu+04cEzJ9w73dC2damgoe+5vrri8uKcJ4//zThdYVbvoVnfR33pC98rAFYnagGQlqoVlVLYxe8ozmQzVKIeTbK6TDSj5P8wcrgd8P1AozP3ti0PntlydrZh1dSlT4zHgduba67eeMj11X/o+1fIymKrd6Ce+8LzBcBp2TzSlChApWSmMxjxdCcGDzhFNIgdMcrph5muGxm6gTx5Vhbub1vun56wPVnT1FUR9DQdOXQ33Nw+5vbmnK77O96n0pbV57/4fC7DhJ6pZalAVdIgM50rfd3UFlNpsoWgMmOIHMaZ3cHTHSb80WNzYFtpztY12/WKVd3irJVGgvcjx+OeQ3/Fvrtg3/2Xw3DDcQT1mee+m2XQqJSnVmP572TCVQ5nGqqqwTUVtjal/GYig/fshpmbztMNnjRHWpM5bTTb1rGuapx2aDlakFYs01DPcbylP16z6y+5PbzG7pBRn/zsd7L4f60nGiVCmjAy4eQKa1a4akXVVLhGUiHdYL4D8NwcAt0gJpbZOArAptY0MoyIlQcIPhEmj5+PTP7A4MWSb7g+3PBG9wT1sY9/K1slJxhp9UDNiEkymteovMLYtkTAtQpTRZKeGeNcDGg/iA4WH2stbGtY15QXExls06wIY2I6zvhxZBx7+qljP3RcH/Zc3PaoD3/km7kykY0b2diBVo1ScShfk+YWco2uDGaVsasAdSCqWBrRMCqOR9kkY3Ni5SKbJtFUMg9IM9Plt/EQGG5HDo879rsde3bc0PGEEfXs9qt51UTub0ZO24G1nXBRwbEiPGkIOyc+iXpnxD7rcacB3SiSsszecuw1020iHWZq41mfJjZbTdNWGOOIXjHuZ/bnPTdXtzzhilteZ0KaG6j76rm8EgNh5PSkZ7UaqQTgqiLQ4DHMiBl57Gqifl/AnRi0awhzxdQZhtcj837CMrG5l9i+x7E6FQHXZaYoAK923Ny+wTX/ZJCTS1ULwIfU57J0OmkkKzpqemyZ5BoSrfRAmQBAxHnviHs2YNcWdEP0TQEYzyNhFgDP+l2webZmfbLCuQaiwvcTw+Md3fkjev7NtLxuLhH4qPp0VswYDhiusVzfDSVbYFtA9JnC3POYzRFVjeWdIMaG+Vgz9ZYwiKPMuJNIu9Ws1i11tcLqCiWVcJzw3Q3T7X+Yri/xM8QGcgvqE+pTWSYdxR64AP65jOGcYVbvxj44wZ1a3CpgqiNZDWWg9EfL2Df40Za3HBFpvYGmlbeiFqcbdHIyuZD9kThdE/w/CHHAy7sCy/ofpzqrybn1TzgAAAAASUVORK5CYII=));background-color:var(--over-backdrop-color, initial);background-image:linear-gradient(var(--over-backdrop-color, initial),var(--over-backdrop-color, initial)),linear-gradient(var(--color-backdrop-shader),var(--color-backdrop-shader)),var(--over-backdrop-image-blur, initial),var(--over-backdrop-image-blur, initial);background-blend-mode:normal,normal,overlay;background-size:cover,cover,cover,cover;background-attachment:scroll,scroll,fixed,fixed}.cfxui__Input__root__6392b.cfxui__Input__inputSizeinitial-large__12afb .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizeinitial-large__12afb .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizeinitial-large__12afb .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}.cfxui__Input__root__6392b.cfxui__Input__inputSizeinitial-small__33905 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizeinitial-small__33905 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizeinitial-small__33905 .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}@media (min-width: 360px){.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-large__e2689 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-large__e2689 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-large__e2689 .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 360px){.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-small__fc7c7 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-small__fc7c7 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-small__fc7c7 .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}@media (min-width: 640px){.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-medium-large__d13bf .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-medium-large__d13bf .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-medium-large__d13bf .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 640px){.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-medium-small__1213b .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-medium-small__1213b .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-medium-small__1213b .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}@media (min-width: 1024px){.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-large__6a868 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-large__6a868 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-large__6a868 .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 1024px){.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-small__140cd .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-small__140cd .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-small__140cd .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}@media (min-width: 1280px){.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-large-large__9e60d .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-large-large__9e60d .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-large-large__9e60d .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 1280px){.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-large-small__b3a78 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-large-small__b3a78 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-large-small__b3a78 .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}@media (min-width: 1920px){.cfxui__Input__root__6392b.cfxui__Input__inputSizelarge-large__b8fe5 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizelarge-large__b8fe5 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizelarge-large__b8fe5 .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 1920px){.cfxui__Input__root__6392b.cfxui__Input__inputSizelarge-small__40920 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizelarge-small__40920 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizelarge-small__40920 .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}@media (min-width: 2560px){.cfxui__Input__root__6392b.cfxui__Input__inputSizexlarge-large__1ef2c .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizexlarge-large__1ef2c .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizexlarge-large__1ef2c .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 2560px){.cfxui__Input__root__6392b.cfxui__Input__inputSizexlarge-small__7f6ab .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizexlarge-small__7f6ab .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizexlarge-small__7f6ab .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}
|
|
1
|
+
.cfxui__Input__root__6392b{position:relative;display:inline-flex}.cfxui__Input__root__6392b.cfxui__Input__fullWidth__5a033{width:100%}.cfxui__Input__root__6392b:not(.cfxui__Input__empty__3b36a) .cfxui__Input__placeholderIcon__4d079,.cfxui__Input__root__6392b .cfxui__Input__input__07830:focus+.cfxui__Input__placeholderIcon__4d079,.cfxui__Input__root__6392b .cfxui__Input__input__07830:focus-visible+.cfxui__Input__placeholderIcon__4d079{display:none}.cfxui__Input__root__6392b .cfxui__Input__decorator__3b81f{position:absolute;display:flex;align-items:center;gap:var(--offset-normal);bottom:var(--input-border-size, initial);right:var(--offset-small);height:calc(var(--control-height-normal) - var(--input-border-size, initial) * 2)}.cfxui__Input__root__6392b .cfxui__Input__placeholderIcon__4d079{position:absolute;left:var(--offset-medium);top:50%;transform:translateY(-50%);color:var(--color-input-placeholder);width:var(--font-size-xsmall, initial);height:var(--font-size-xsmall, initial)}.cfxui__Input__root__6392b .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xsmall, initial);height:var(--font-size-xsmall, initial)}.cfxui__Input__root__6392b .cfxui__Input__placeholderIcon__4d079{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__Input__root__6392b.cfxui__Input__backdropBlur__fdde1 .cfxui__Input__input__07830{--backdrop-color: var(--color-input-background);--over-backdrop-color: var(--backdrop-color, transparent);--over-backdrop-image-blur: var(--backdrop-image-blur, url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAACQRJREFUWEddl8uLJFkVh7/7ikdmVlZ1jz2igqILcePOreBWFyKIio4vfCwUkfEB7nTv/Afizp0b97oTHJARZFBR8TGjU9NdXVNdVZmRERlx4z7k3KjpGaS4VJIZEfe75/zO75xQLz68yQBaZbQCRUbljIqQI5CQL9FaoZ3CWoU2Cq2U3EbOuSylMkZnKqOoy9JUWqPLNRBSxMdlzTERUiLKfb97/SbLswoAy1KCJACyuSwBNLIUxi7rLQDZQC7K2DcBrKaxGlcAVAEMd5v7EPApElMmFYBzicCysVFpgSjPU2XznOSkGaUXiAJgFEq+ED45Xkoo0gJgFY0zNM7ijCkAKSVm2TjMCMAsAGVXUC++dpMl7JqEIaKzfAYlG2dNFhC5VCKk8xL+twGUFKSIIuJ0praatrbUVYUzFqUUSU4/z3g/FYg5JQQZpVC/f+02C70mYnLEyOesUILxFKCcdQHQGWV0eXC+Cy8plvsLgBMAVwCsdciTQgx475mmiTl4QspkiaDSqD8+vM1FdAUgoLPA3AFgCsQSrFR0ogqEiKLEqeR3AUg4k2mcpq4WAGPtIsAQ8dO0RGAOJW0FQGvUXy528oSSQ10ABEYeLREwslPJtRJ9yJIIyAVSMnKl7JBziZw1UDtFJfl3Dq3N2wB8iYJoIckt8hCJwF8vJQWifIGQXN5VwV0KJAJlq6KBtwCWKpSrRR5SwlIF4KzCWY0VAWpdKkkiMM+Shpk5iABTSZ/cr/786LrIDLVE4SmAfCvhX359CvBmCu6+XbKzqAGjKRBWAMQ3lABkYkzMc1wqIARijEv1iLZfevXy7pOE9v8AklTBnZOU/L8pxMJe/mSDooNiRqlAOKOw4gElTFIFbyvDeSZIGmJYDOzXf3qtAMjDnwLclaF4gISw0KpU1lIJy+ZyghRzqfOUQnEucUMBkBK02pTrUhaAmWke74Q4EcNcylP94rd/WzQgp1NxEVs5tYRP6MVnpG4j4s8lBYsKC1wMmRDkVJ6c5js3NNSuorKupCFlCf/E6HvGqWeaBsLsiTGgfvqrl4oPKBXQssSMSloNOWoxOWJK5BzIhEUrxQMMMYKfI9Pkmf2RnCacyrTO0dYNtasx2hBzYPI9w7gr6zh1JRKiDfXDn//mrgw9Ons0oeizACRLKmkQgBmQlYouYzZMAY5TpB+P+KlHhSOtSZzUNZtmTV21KK1LdIZxz354wq5/g8O0Y4yeIIb3jRd+uQCkEZVHkI2KqNzd0sXrdZ7RzCVS4tI+a4ZZ0U0z++HINHZUaeDMJs7ahk17QuXaYuXjNLLrrrnaPeLycM7lfMVOTMiuUV/+8c+ykr6bRnIaIPk7VQtAhU52MRkCVnu0DmSdF4AA+1EABsLU0aaeszpzb9Wybk9wtiEE6A89T64vubj8F+fXL/MQqE40Z5sPor7ygxdyafxy+nQsAKWkkkMVAIMh43TAWY+xEWUzQWmOIXMYAwcBGA80DJy1irNNy6bd4ExFmBPdbs/V40dcnP+Bx48Gjg2079yyPns/6mvf/klemr9HMT21Yzm5ShadpKcnjIm4KmDrhK4USSt8yPTjzOFwZD4eqJg4Wxvub9ecbFZUtiLOgW7XcfX4IRf/fZmrRwfmSgDey+rsXaivff1HRQNSAUYFLBGrwMrGSZfyl3rTNqLrhG0UptZko5gFYPAc9gNT31Mxc3ZS8cy9DWfbNU1VlVo/dB1PLi95fP4KVxf/wGeo73+A9vQB6itf+n4u45SSbhapZahQ4NCY4j+ZLJOJTagaTKNQlSnNxM+Jvp847HrGbqAicu+04cEzJ9w73dC2damgoe+5vrri8uKcJ4//zThdYVbvoVnfR33pC98rAFYnagGQlqoVlVLYxe8ozmQzVKIeTbK6TDSj5P8wcrgd8P1AozP3ti0PntlydrZh1dSlT4zHgduba67eeMj11X/o+1fIymKrd6Ce+8LzBcBp2TzSlChApWSmMxjxdCcGDzhFNIgdMcrph5muGxm6gTx5Vhbub1vun56wPVnT1FUR9DQdOXQ33Nw+5vbmnK77O96n0pbV57/4fC7DhJ6pZalAVdIgM50rfd3UFlNpsoWgMmOIHMaZ3cHTHSb80WNzYFtpztY12/WKVd3irJVGgvcjx+OeQ3/Fvrtg3/2Xw3DDcQT1mee+m2XQqJSnVmP572TCVQ5nGqqqwTUVtjal/GYig/fshpmbztMNnjRHWpM5bTTb1rGuapx2aDlakFYs01DPcbylP16z6y+5PbzG7pBRn/zsd7L4f60nGiVCmjAy4eQKa1a4akXVVLhGUiHdYL4D8NwcAt0gJpbZOArAptY0MoyIlQcIPhEmj5+PTP7A4MWSb7g+3PBG9wT1sY9/K1slJxhp9UDNiEkymteovMLYtkTAtQpTRZKeGeNcDGg/iA4WH2stbGtY15QXExls06wIY2I6zvhxZBx7+qljP3RcH/Zc3PaoD3/km7kykY0b2diBVo1ScShfk+YWco2uDGaVsasAdSCqWBrRMCqOR9kkY3Ni5SKbJtFUMg9IM9Plt/EQGG5HDo879rsde3bc0PGEEfXs9qt51UTub0ZO24G1nXBRwbEiPGkIOyc+iXpnxD7rcacB3SiSsszecuw1020iHWZq41mfJjZbTdNWGOOIXjHuZ/bnPTdXtzzhilteZ0KaG6j76rm8EgNh5PSkZ7UaqQTgqiLQ4DHMiBl57Gqifl/AnRi0awhzxdQZhtcj837CMrG5l9i+x7E6FQHXZaYoAK923Ny+wTX/ZJCTS1ULwIfU57J0OmkkKzpqemyZ5BoSrfRAmQBAxHnviHs2YNcWdEP0TQEYzyNhFgDP+l2webZmfbLCuQaiwvcTw+Md3fkjev7NtLxuLhH4qPp0VswYDhiusVzfDSVbYFtA9JnC3POYzRFVjeWdIMaG+Vgz9ZYwiKPMuJNIu9Ws1i11tcLqCiWVcJzw3Q3T7X+Yri/xM8QGcgvqE+pTWSYdxR64AP65jOGcYVbvxj44wZ1a3CpgqiNZDWWg9EfL2Df40Za3HBFpvYGmlbeiFqcbdHIyuZD9kThdE/w/CHHAy7sCy/ofpzqrybn1TzgAAAAASUVORK5CYII=));background-color:var(--over-backdrop-color, initial);background-image:linear-gradient(var(--over-backdrop-color, initial),var(--over-backdrop-color, initial)),linear-gradient(var(--color-backdrop-shader),var(--color-backdrop-shader)),var(--over-backdrop-image-blur, initial),var(--over-backdrop-image-blur, initial);background-blend-mode:normal,normal,overlay;background-size:cover,cover,cover,cover;background-attachment:scroll,scroll,fixed,fixed}.cfxui__Input__root__6392b.cfxui__Input__size-initial-large__61eb0 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-initial-large__61eb0 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-initial-large__61eb0 .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}.cfxui__Input__root__6392b.cfxui__Input__size-initial-small__f4fae .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-initial-small__f4fae .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-initial-small__f4fae .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}@media (min-width: 360px){.cfxui__Input__root__6392b.cfxui__Input__size-small-large__6e2dd .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-small-large__6e2dd .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-small-large__6e2dd .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 360px){.cfxui__Input__root__6392b.cfxui__Input__size-small-small__d0b97 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-small-small__d0b97 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-small-small__d0b97 .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}@media (min-width: 640px){.cfxui__Input__root__6392b.cfxui__Input__size-small-medium-large__ea27c .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-small-medium-large__ea27c .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-small-medium-large__ea27c .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 640px){.cfxui__Input__root__6392b.cfxui__Input__size-small-medium-small__1272f .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-small-medium-small__1272f .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-small-medium-small__1272f .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}@media (min-width: 1024px){.cfxui__Input__root__6392b.cfxui__Input__size-medium-large__5a941 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-medium-large__5a941 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-medium-large__5a941 .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 1024px){.cfxui__Input__root__6392b.cfxui__Input__size-medium-small__11d17 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-medium-small__11d17 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-medium-small__11d17 .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}@media (min-width: 1280px){.cfxui__Input__root__6392b.cfxui__Input__size-medium-large-large__47a52 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-medium-large-large__47a52 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-medium-large-large__47a52 .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 1280px){.cfxui__Input__root__6392b.cfxui__Input__size-medium-large-small__13d07 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-medium-large-small__13d07 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-medium-large-small__13d07 .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}@media (min-width: 1920px){.cfxui__Input__root__6392b.cfxui__Input__size-large-large__70f5f .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-large-large__70f5f .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-large-large__70f5f .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 1920px){.cfxui__Input__root__6392b.cfxui__Input__size-large-small__3aa81 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-large-small__3aa81 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-large-small__3aa81 .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}@media (min-width: 2560px){.cfxui__Input__root__6392b.cfxui__Input__size-xlarge-large__2becf .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-xlarge-large__2becf .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-xlarge-large__2becf .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 2560px){.cfxui__Input__root__6392b.cfxui__Input__size-xlarge-small__3bac0 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-xlarge-small__3bac0 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-xlarge-small__3bac0 .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.cfxui__StyledInput__root__37064{width:100%;padding:0 var(--offset-medium);border:none;flex-grow:1;font-size:var(--font-size-xsmall);height:var(--control-height-normal);color:var(--color-input-text);font-weight:var(--font-weight-normal);font-family:var(--font-family-primary);border-radius:var(--border-radius-small);background-color:var(--color-input-background);box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-border) inset}.cfxui__StyledInput__root__37064::placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064::-webkit-input-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064::-moz-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064:-ms-input-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064:disabled{cursor:not-allowed;opacity:.5;box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-disabled-border) inset}.cfxui__StyledInput__root__37064:not(:disabled):hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-hover-border) inset}.cfxui__StyledInput__root__37064:not(:disabled):hover::placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064:not(:disabled):hover::-webkit-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064:not(:disabled):hover::-moz-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064:not(:disabled):hover:-ms-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064:not(:disabled):focus-visible,.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-focus-border) inset}.cfxui__StyledInput__root__37064:not(:disabled):focus-visible::placeholder,.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:hover::placeholder{color:transparent}.cfxui__StyledInput__root__37064:not(:disabled):focus-visible::-webkit-input-placeholder,.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:hover::-webkit-input-placeholder{color:transparent}.cfxui__StyledInput__root__37064:not(:disabled):focus-visible::-moz-placeholder,.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:hover::-moz-placeholder{color:transparent}.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:-ms-input-placeholder,.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:hover:-ms-input-placeholder{color:transparent}.cfxui__StyledInput__root__37064::placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__StyledInput__root__37064::-webkit-input-placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__StyledInput__root__37064::-moz-placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__StyledInput__root__37064:-ms-input-placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__StyledInput__root__37064{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__StyledInput__root__37064[type=search]::-ms-clear,.cfxui__StyledInput__root__37064[type=search]::-ms-reveal{display:none;width:0;height:0}.cfxui__StyledInput__root__37064[type=search]::-webkit-search-decoration,.cfxui__StyledInput__root__37064[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.cfxui__StyledInput__root__37064[type=search]{padding-right:calc(var(--offset-medium) + var(--offset-large));-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;outline-offset:-2px}.cfxui__StyledInput__root__37064.cfxui__StyledInput__small__0f240{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__large__a3ad2{font-size:var(--font-size-small);height:var(--control-height-large)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f{background-color:var(--color-input-background);box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-border) inset}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f::placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f::-webkit-input-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f::-moz-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:-ms-input-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:disabled{cursor:not-allowed;opacity:.5;box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-disabled-border) inset}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-hover-border) inset}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):hover::placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):hover::-webkit-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):hover::-moz-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):hover:-ms-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible,.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-focus-border) inset}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible::placeholder,.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:hover::placeholder{color:transparent}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible::-webkit-input-placeholder,.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:hover::-webkit-input-placeholder{color:transparent}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible::-moz-placeholder,.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:hover::-moz-placeholder{color:transparent}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:-ms-input-placeholder,.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:hover:-ms-input-placeholder{color:transparent}.cfxui__StyledInput__root__37064.
|
|
1
|
+
.cfxui__StyledInput__root__37064{width:100%;padding:0 var(--offset-medium);border:none;flex-grow:1;font-size:var(--font-size-xsmall);height:var(--control-height-normal);color:var(--color-input-text);font-weight:var(--font-weight-normal);font-family:var(--font-family-primary);border-radius:var(--border-radius-small);background-color:var(--color-input-background);box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-border) inset}.cfxui__StyledInput__root__37064::placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064::-webkit-input-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064::-moz-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064:-ms-input-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064:disabled{cursor:not-allowed;opacity:.5;box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-disabled-border) inset}.cfxui__StyledInput__root__37064:not(:disabled):hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-hover-border) inset}.cfxui__StyledInput__root__37064:not(:disabled):hover::placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064:not(:disabled):hover::-webkit-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064:not(:disabled):hover::-moz-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064:not(:disabled):hover:-ms-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064:not(:disabled):focus-visible,.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-focus-border) inset}.cfxui__StyledInput__root__37064:not(:disabled):focus-visible::placeholder,.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:hover::placeholder{color:transparent}.cfxui__StyledInput__root__37064:not(:disabled):focus-visible::-webkit-input-placeholder,.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:hover::-webkit-input-placeholder{color:transparent}.cfxui__StyledInput__root__37064:not(:disabled):focus-visible::-moz-placeholder,.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:hover::-moz-placeholder{color:transparent}.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:-ms-input-placeholder,.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:hover:-ms-input-placeholder{color:transparent}.cfxui__StyledInput__root__37064::placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__StyledInput__root__37064::-webkit-input-placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__StyledInput__root__37064::-moz-placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__StyledInput__root__37064:-ms-input-placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__StyledInput__root__37064{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__StyledInput__root__37064[type=search]::-ms-clear,.cfxui__StyledInput__root__37064[type=search]::-ms-reveal{display:none;width:0;height:0}.cfxui__StyledInput__root__37064[type=search]::-webkit-search-decoration,.cfxui__StyledInput__root__37064[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.cfxui__StyledInput__root__37064[type=search]{padding-right:calc(var(--offset-medium) + var(--offset-large));-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;outline-offset:-2px}.cfxui__StyledInput__root__37064.cfxui__StyledInput__small__0f240{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__large__a3ad2{font-size:var(--font-size-small);height:var(--control-height-large)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f{background-color:var(--color-input-background);box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-border) inset}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f::placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f::-webkit-input-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f::-moz-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:-ms-input-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:disabled{cursor:not-allowed;opacity:.5;box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-disabled-border) inset}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-hover-border) inset}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):hover::placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):hover::-webkit-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):hover::-moz-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):hover:-ms-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible,.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-focus-border) inset}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible::placeholder,.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:hover::placeholder{color:transparent}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible::-webkit-input-placeholder,.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:hover::-webkit-input-placeholder{color:transparent}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible::-moz-placeholder,.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:hover::-moz-placeholder{color:transparent}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:-ms-input-placeholder,.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:hover:-ms-input-placeholder{color:transparent}.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-initial-large__43033{font-size:var(--font-size-small);height:var(--control-height-large)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-initial-small__6e9de{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}@media (min-width: 360px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-small-large__77186{font-size:var(--font-size-small);height:var(--control-height-large)}}@media (min-width: 360px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-small-small__968a4{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}}@media (min-width: 640px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-small-medium-large__96f91{font-size:var(--font-size-small);height:var(--control-height-large)}}@media (min-width: 640px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-small-medium-small__0a42b{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}}@media (min-width: 1024px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-medium-large__e552f{font-size:var(--font-size-small);height:var(--control-height-large)}}@media (min-width: 1024px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-medium-small__28227{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}}@media (min-width: 1280px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-medium-large-large__0c8e8{font-size:var(--font-size-small);height:var(--control-height-large)}}@media (min-width: 1280px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-medium-large-small__35702{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}}@media (min-width: 1920px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-large-large__7dfe8{font-size:var(--font-size-small);height:var(--control-height-large)}}@media (min-width: 1920px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-large-small__69180{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}}@media (min-width: 2560px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-xlarge-large__f4d6e{font-size:var(--font-size-small);height:var(--control-height-large)}}@media (min-width: 2560px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-xlarge-small__b60c7{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}}
|
|
@@ -2,11 +2,16 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { GetColorProps } from '../../utils/color';
|
|
3
3
|
import * as CheckboxUi from '@radix-ui/react-checkbox';
|
|
4
4
|
export type CheckboxSize = 'small' | 'normal' | 'large';
|
|
5
|
+
export type CheckboxCheckedType = CheckboxUi.CheckedState;
|
|
5
6
|
export interface CheckboxProps extends Omit<CheckboxUi.CheckboxProps, 'color'>, GetColorProps {
|
|
6
7
|
id?: string;
|
|
7
8
|
size?: CheckboxSize;
|
|
8
9
|
rootClassName?: string;
|
|
9
10
|
indicatorClassName?: string;
|
|
11
|
+
iconClassName?: string;
|
|
12
|
+
squareClassName?: string;
|
|
13
|
+
checkedClassName?: string;
|
|
14
|
+
iconSquare?: React.ComponentType;
|
|
10
15
|
iconIndicator?: React.ComponentType;
|
|
11
16
|
name?: string;
|
|
12
17
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
1
|
+
import { jsx as s, jsxs as w, Fragment as $ } from "react/jsx-runtime";
|
|
2
|
+
import * as l from "react";
|
|
3
3
|
import G from "react";
|
|
4
|
-
import { c as K, P as
|
|
4
|
+
import { c as K, P as g, d as X, u as B, e as q, f as J } from "../../index-DCuJlMqr.js";
|
|
5
5
|
import { u as Q } from "../../index-BZPx6jYI.js";
|
|
6
6
|
import { P as V } from "../../index-DWzyrn_L.js";
|
|
7
7
|
import "../Icons/cfx-icons/Close.js";
|
|
@@ -55,139 +55,139 @@ import "../Icons/cfx-icons-big/Subscriptions.js";
|
|
|
55
55
|
import "../Icons/cfx-icons-big/Upload.js";
|
|
56
56
|
import "../Icons/cfx-icons-big/Warning.js";
|
|
57
57
|
import "../Icons/cfx-icons-big/Confirm.js";
|
|
58
|
-
import { clsx as
|
|
58
|
+
import { clsx as N } from "../../utils/clsx.js";
|
|
59
59
|
import { getColor as Z } from "../../utils/color.js";
|
|
60
|
-
var
|
|
60
|
+
var R = "Checkbox", [ee, ho] = K(R), [oe, E] = ee(R);
|
|
61
61
|
function te(o) {
|
|
62
62
|
const {
|
|
63
|
-
__scopeCheckbox:
|
|
64
|
-
checked:
|
|
65
|
-
children:
|
|
66
|
-
defaultChecked:
|
|
63
|
+
__scopeCheckbox: a,
|
|
64
|
+
checked: n,
|
|
65
|
+
children: m,
|
|
66
|
+
defaultChecked: r,
|
|
67
67
|
disabled: e,
|
|
68
68
|
form: f,
|
|
69
69
|
name: _,
|
|
70
|
-
onCheckedChange:
|
|
70
|
+
onCheckedChange: d,
|
|
71
71
|
required: h,
|
|
72
|
-
value:
|
|
72
|
+
value: C = "on",
|
|
73
73
|
// @ts-expect-error
|
|
74
|
-
internal_do_not_use_render:
|
|
75
|
-
} = o, [
|
|
76
|
-
prop:
|
|
77
|
-
defaultProp:
|
|
78
|
-
onChange:
|
|
79
|
-
caller:
|
|
80
|
-
}), [
|
|
74
|
+
internal_do_not_use_render: p
|
|
75
|
+
} = o, [i, b] = X({
|
|
76
|
+
prop: n,
|
|
77
|
+
defaultProp: r ?? !1,
|
|
78
|
+
onChange: d,
|
|
79
|
+
caller: R
|
|
80
|
+
}), [u, k] = l.useState(null), [I, t] = l.useState(null), c = l.useRef(!1), y = u ? !!f || !!u.closest("form") : (
|
|
81
81
|
// We set this to true by default so that events bubble to forms without JS (SSR)
|
|
82
82
|
!0
|
|
83
83
|
), P = {
|
|
84
|
-
checked:
|
|
84
|
+
checked: i,
|
|
85
85
|
disabled: e,
|
|
86
|
-
setChecked:
|
|
87
|
-
control:
|
|
88
|
-
setControl:
|
|
86
|
+
setChecked: b,
|
|
87
|
+
control: u,
|
|
88
|
+
setControl: k,
|
|
89
89
|
name: _,
|
|
90
90
|
form: f,
|
|
91
|
-
value:
|
|
92
|
-
hasConsumerStoppedPropagationRef:
|
|
91
|
+
value: C,
|
|
92
|
+
hasConsumerStoppedPropagationRef: c,
|
|
93
93
|
required: h,
|
|
94
|
-
defaultChecked:
|
|
95
|
-
isFormControl:
|
|
94
|
+
defaultChecked: v(r) ? !1 : r,
|
|
95
|
+
isFormControl: y,
|
|
96
96
|
bubbleInput: I,
|
|
97
|
-
setBubbleInput:
|
|
97
|
+
setBubbleInput: t
|
|
98
98
|
};
|
|
99
|
-
return /* @__PURE__ */
|
|
99
|
+
return /* @__PURE__ */ s(
|
|
100
100
|
oe,
|
|
101
101
|
{
|
|
102
|
-
scope:
|
|
102
|
+
scope: a,
|
|
103
103
|
...P,
|
|
104
|
-
children: re(
|
|
104
|
+
children: re(p) ? p(P) : m
|
|
105
105
|
}
|
|
106
106
|
);
|
|
107
107
|
}
|
|
108
|
-
var T = "CheckboxTrigger", M =
|
|
109
|
-
({ __scopeCheckbox: o, onKeyDown:
|
|
108
|
+
var T = "CheckboxTrigger", M = l.forwardRef(
|
|
109
|
+
({ __scopeCheckbox: o, onKeyDown: a, onClick: n, ...m }, r) => {
|
|
110
110
|
const {
|
|
111
111
|
control: e,
|
|
112
112
|
value: f,
|
|
113
113
|
disabled: _,
|
|
114
|
-
checked:
|
|
114
|
+
checked: d,
|
|
115
115
|
required: h,
|
|
116
|
-
setControl:
|
|
117
|
-
setChecked:
|
|
118
|
-
hasConsumerStoppedPropagationRef:
|
|
119
|
-
isFormControl:
|
|
120
|
-
bubbleInput:
|
|
121
|
-
} =
|
|
122
|
-
return
|
|
123
|
-
const
|
|
124
|
-
if (
|
|
125
|
-
const
|
|
126
|
-
return
|
|
116
|
+
setControl: C,
|
|
117
|
+
setChecked: p,
|
|
118
|
+
hasConsumerStoppedPropagationRef: i,
|
|
119
|
+
isFormControl: b,
|
|
120
|
+
bubbleInput: u
|
|
121
|
+
} = E(T, o), k = B(r, C), I = l.useRef(d);
|
|
122
|
+
return l.useEffect(() => {
|
|
123
|
+
const t = e == null ? void 0 : e.form;
|
|
124
|
+
if (t) {
|
|
125
|
+
const c = () => p(I.current);
|
|
126
|
+
return t.addEventListener("reset", c), () => t.removeEventListener("reset", c);
|
|
127
127
|
}
|
|
128
|
-
}, [e,
|
|
129
|
-
|
|
128
|
+
}, [e, p]), /* @__PURE__ */ s(
|
|
129
|
+
g.button,
|
|
130
130
|
{
|
|
131
131
|
type: "button",
|
|
132
132
|
role: "checkbox",
|
|
133
|
-
"aria-checked":
|
|
133
|
+
"aria-checked": v(d) ? "mixed" : d,
|
|
134
134
|
"aria-required": h,
|
|
135
|
-
"data-state": O(
|
|
135
|
+
"data-state": O(d),
|
|
136
136
|
"data-disabled": _ ? "" : void 0,
|
|
137
137
|
disabled: _,
|
|
138
138
|
value: f,
|
|
139
|
-
...
|
|
140
|
-
ref:
|
|
141
|
-
onKeyDown: q(
|
|
142
|
-
|
|
139
|
+
...m,
|
|
140
|
+
ref: k,
|
|
141
|
+
onKeyDown: q(a, (t) => {
|
|
142
|
+
t.key === "Enter" && t.preventDefault();
|
|
143
143
|
}),
|
|
144
|
-
onClick: q(
|
|
145
|
-
|
|
144
|
+
onClick: q(n, (t) => {
|
|
145
|
+
p((c) => v(c) ? !0 : !c), u && b && (i.current = t.isPropagationStopped(), i.current || t.stopPropagation());
|
|
146
146
|
})
|
|
147
147
|
}
|
|
148
148
|
);
|
|
149
149
|
}
|
|
150
150
|
);
|
|
151
151
|
M.displayName = T;
|
|
152
|
-
var U =
|
|
153
|
-
(o,
|
|
152
|
+
var U = l.forwardRef(
|
|
153
|
+
(o, a) => {
|
|
154
154
|
const {
|
|
155
|
-
__scopeCheckbox:
|
|
156
|
-
name:
|
|
157
|
-
checked:
|
|
155
|
+
__scopeCheckbox: n,
|
|
156
|
+
name: m,
|
|
157
|
+
checked: r,
|
|
158
158
|
defaultChecked: e,
|
|
159
159
|
required: f,
|
|
160
160
|
disabled: _,
|
|
161
|
-
value:
|
|
161
|
+
value: d,
|
|
162
162
|
onCheckedChange: h,
|
|
163
|
-
form:
|
|
164
|
-
...
|
|
163
|
+
form: C,
|
|
164
|
+
...p
|
|
165
165
|
} = o;
|
|
166
|
-
return /* @__PURE__ */
|
|
166
|
+
return /* @__PURE__ */ s(
|
|
167
167
|
te,
|
|
168
168
|
{
|
|
169
|
-
__scopeCheckbox:
|
|
170
|
-
checked:
|
|
169
|
+
__scopeCheckbox: n,
|
|
170
|
+
checked: r,
|
|
171
171
|
defaultChecked: e,
|
|
172
172
|
disabled: _,
|
|
173
173
|
required: f,
|
|
174
174
|
onCheckedChange: h,
|
|
175
|
-
name:
|
|
176
|
-
form:
|
|
177
|
-
value:
|
|
178
|
-
internal_do_not_use_render: ({ isFormControl:
|
|
179
|
-
/* @__PURE__ */
|
|
175
|
+
name: m,
|
|
176
|
+
form: C,
|
|
177
|
+
value: d,
|
|
178
|
+
internal_do_not_use_render: ({ isFormControl: i }) => /* @__PURE__ */ w($, { children: [
|
|
179
|
+
/* @__PURE__ */ s(
|
|
180
180
|
M,
|
|
181
181
|
{
|
|
182
|
-
...
|
|
183
|
-
ref:
|
|
184
|
-
__scopeCheckbox:
|
|
182
|
+
...p,
|
|
183
|
+
ref: a,
|
|
184
|
+
__scopeCheckbox: n
|
|
185
185
|
}
|
|
186
186
|
),
|
|
187
|
-
|
|
187
|
+
i && /* @__PURE__ */ s(
|
|
188
188
|
L,
|
|
189
189
|
{
|
|
190
|
-
__scopeCheckbox:
|
|
190
|
+
__scopeCheckbox: n
|
|
191
191
|
}
|
|
192
192
|
)
|
|
193
193
|
] })
|
|
@@ -195,21 +195,21 @@ var U = u.forwardRef(
|
|
|
195
195
|
);
|
|
196
196
|
}
|
|
197
197
|
);
|
|
198
|
-
U.displayName =
|
|
199
|
-
var A = "CheckboxIndicator", D =
|
|
200
|
-
(o,
|
|
201
|
-
const { __scopeCheckbox:
|
|
202
|
-
return /* @__PURE__ */
|
|
198
|
+
U.displayName = R;
|
|
199
|
+
var A = "CheckboxIndicator", D = l.forwardRef(
|
|
200
|
+
(o, a) => {
|
|
201
|
+
const { __scopeCheckbox: n, forceMount: m, ...r } = o, e = E(A, n);
|
|
202
|
+
return /* @__PURE__ */ s(
|
|
203
203
|
V,
|
|
204
204
|
{
|
|
205
|
-
present:
|
|
206
|
-
children: /* @__PURE__ */
|
|
207
|
-
|
|
205
|
+
present: m || v(e.checked) || e.checked === !0,
|
|
206
|
+
children: /* @__PURE__ */ s(
|
|
207
|
+
g.span,
|
|
208
208
|
{
|
|
209
209
|
"data-state": O(e.checked),
|
|
210
210
|
"data-disabled": e.disabled ? "" : void 0,
|
|
211
|
-
...
|
|
212
|
-
ref:
|
|
211
|
+
...r,
|
|
212
|
+
ref: a,
|
|
213
213
|
style: { pointerEvents: "none", ...o.style }
|
|
214
214
|
}
|
|
215
215
|
)
|
|
@@ -218,50 +218,50 @@ var A = "CheckboxIndicator", D = u.forwardRef(
|
|
|
218
218
|
}
|
|
219
219
|
);
|
|
220
220
|
D.displayName = A;
|
|
221
|
-
var F = "CheckboxBubbleInput", L =
|
|
222
|
-
({ __scopeCheckbox: o, ...
|
|
221
|
+
var F = "CheckboxBubbleInput", L = l.forwardRef(
|
|
222
|
+
({ __scopeCheckbox: o, ...a }, n) => {
|
|
223
223
|
const {
|
|
224
|
-
control:
|
|
225
|
-
hasConsumerStoppedPropagationRef:
|
|
224
|
+
control: m,
|
|
225
|
+
hasConsumerStoppedPropagationRef: r,
|
|
226
226
|
checked: e,
|
|
227
227
|
defaultChecked: f,
|
|
228
228
|
required: _,
|
|
229
|
-
disabled:
|
|
229
|
+
disabled: d,
|
|
230
230
|
name: h,
|
|
231
|
-
value:
|
|
232
|
-
form:
|
|
233
|
-
bubbleInput:
|
|
234
|
-
setBubbleInput:
|
|
235
|
-
} =
|
|
236
|
-
|
|
237
|
-
const
|
|
238
|
-
if (!
|
|
239
|
-
const
|
|
240
|
-
|
|
231
|
+
value: C,
|
|
232
|
+
form: p,
|
|
233
|
+
bubbleInput: i,
|
|
234
|
+
setBubbleInput: b
|
|
235
|
+
} = E(F, o), u = B(n, b), k = Q(e), I = J(m);
|
|
236
|
+
l.useEffect(() => {
|
|
237
|
+
const c = i;
|
|
238
|
+
if (!c) return;
|
|
239
|
+
const y = window.HTMLInputElement.prototype, S = Object.getOwnPropertyDescriptor(
|
|
240
|
+
y,
|
|
241
241
|
"checked"
|
|
242
|
-
).set, j = !
|
|
243
|
-
if (
|
|
242
|
+
).set, j = !r.current;
|
|
243
|
+
if (k !== e && S) {
|
|
244
244
|
const H = new Event("click", { bubbles: j });
|
|
245
|
-
|
|
245
|
+
c.indeterminate = v(e), S.call(c, v(e) ? !1 : e), c.dispatchEvent(H);
|
|
246
246
|
}
|
|
247
|
-
}, [
|
|
248
|
-
const
|
|
249
|
-
return /* @__PURE__ */
|
|
250
|
-
|
|
247
|
+
}, [i, k, e, r]);
|
|
248
|
+
const t = l.useRef(v(e) ? !1 : e);
|
|
249
|
+
return /* @__PURE__ */ s(
|
|
250
|
+
g.input,
|
|
251
251
|
{
|
|
252
252
|
type: "checkbox",
|
|
253
253
|
"aria-hidden": !0,
|
|
254
|
-
defaultChecked: f ??
|
|
254
|
+
defaultChecked: f ?? t.current,
|
|
255
255
|
required: _,
|
|
256
|
-
disabled:
|
|
256
|
+
disabled: d,
|
|
257
257
|
name: h,
|
|
258
|
-
value:
|
|
259
|
-
form:
|
|
260
|
-
...
|
|
258
|
+
value: C,
|
|
259
|
+
form: p,
|
|
260
|
+
...a,
|
|
261
261
|
tabIndex: -1,
|
|
262
|
-
ref:
|
|
262
|
+
ref: u,
|
|
263
263
|
style: {
|
|
264
|
-
...
|
|
264
|
+
...a.style,
|
|
265
265
|
...I,
|
|
266
266
|
position: "absolute",
|
|
267
267
|
pointerEvents: "none",
|
|
@@ -280,71 +280,81 @@ L.displayName = F;
|
|
|
280
280
|
function re(o) {
|
|
281
281
|
return typeof o == "function";
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function v(o) {
|
|
284
284
|
return o === "indeterminate";
|
|
285
285
|
}
|
|
286
286
|
function O(o) {
|
|
287
|
-
return
|
|
287
|
+
return v(o) ? "indeterminate" : o ? "checked" : "unchecked";
|
|
288
288
|
}
|
|
289
|
-
const ce = "cfxui__Checkbox__rootUnset__cbb57", ne = "cfxui__Checkbox__root__865aa", ie = "cfxui__Checkbox__square__029aa",
|
|
289
|
+
const ce = "cfxui__Checkbox__rootUnset__cbb57", ne = "cfxui__Checkbox__root__865aa", ie = "cfxui__Checkbox__square__029aa", ae = "cfxui__Checkbox__indicator__2afc0", se = "cfxui__Checkbox__radioIcon__719e7", me = "cfxui__Checkbox__tickIcon__a7f19", x = {
|
|
290
290
|
rootUnset: ce,
|
|
291
291
|
root: ne,
|
|
292
292
|
square: ie,
|
|
293
|
-
indicator:
|
|
294
|
-
checked: ae,
|
|
293
|
+
indicator: ae,
|
|
295
294
|
"size-small": "cfxui__Checkbox__size-small__02440",
|
|
296
|
-
radioIcon:
|
|
295
|
+
radioIcon: se,
|
|
297
296
|
tickIcon: me,
|
|
298
297
|
"size-normal": "cfxui__Checkbox__size-normal__700f4",
|
|
299
298
|
"size-large": "cfxui__Checkbox__size-large__28529"
|
|
300
299
|
};
|
|
301
|
-
function
|
|
300
|
+
function de(o) {
|
|
302
301
|
const {
|
|
303
|
-
id:
|
|
304
|
-
size:
|
|
305
|
-
rootClassName:
|
|
306
|
-
indicatorClassName:
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
302
|
+
id: a,
|
|
303
|
+
size: n = "normal",
|
|
304
|
+
rootClassName: m,
|
|
305
|
+
indicatorClassName: r,
|
|
306
|
+
iconClassName: e,
|
|
307
|
+
checkedClassName: f,
|
|
308
|
+
squareClassName: _,
|
|
309
|
+
colorToken: d,
|
|
310
|
+
color: h,
|
|
311
|
+
opacity: C,
|
|
312
|
+
luminance: p,
|
|
313
|
+
checked: i,
|
|
314
|
+
name: b,
|
|
315
|
+
iconIndicator: u = z,
|
|
316
|
+
iconSquare: k = W,
|
|
317
|
+
...I
|
|
318
|
+
} = o, t = Z(o), c = N(
|
|
319
|
+
x.root,
|
|
320
|
+
x.rootUnset,
|
|
321
|
+
x[`size-${n}`],
|
|
322
|
+
m,
|
|
323
|
+
{
|
|
324
|
+
[f || ""]: i
|
|
325
|
+
}
|
|
326
|
+
), y = N(
|
|
327
|
+
x.checked,
|
|
328
|
+
e,
|
|
329
|
+
{
|
|
330
|
+
[x.tickIcon]: u === Y,
|
|
331
|
+
[x.radioIcon]: u === z
|
|
332
|
+
}
|
|
324
333
|
);
|
|
325
334
|
return /* @__PURE__ */ w(
|
|
326
335
|
U,
|
|
327
336
|
{
|
|
328
|
-
...
|
|
329
|
-
id:
|
|
330
|
-
checked:
|
|
331
|
-
style: { color:
|
|
332
|
-
className:
|
|
337
|
+
...I,
|
|
338
|
+
id: a,
|
|
339
|
+
checked: i,
|
|
340
|
+
style: { color: t },
|
|
341
|
+
className: c,
|
|
333
342
|
children: [
|
|
334
|
-
|
|
343
|
+
b && /* @__PURE__ */ s(
|
|
335
344
|
"input",
|
|
336
345
|
{
|
|
337
346
|
type: "hidden",
|
|
338
|
-
name:
|
|
347
|
+
name: b,
|
|
348
|
+
value: i ? "on" : ""
|
|
339
349
|
}
|
|
340
350
|
),
|
|
341
|
-
/* @__PURE__ */
|
|
342
|
-
/* @__PURE__ */
|
|
351
|
+
/* @__PURE__ */ s(k, { className: N(x.square, _) }),
|
|
352
|
+
/* @__PURE__ */ s(D, { className: N(x.indicator, r), children: /* @__PURE__ */ s(u, { className: y }) })
|
|
343
353
|
]
|
|
344
354
|
}
|
|
345
355
|
);
|
|
346
356
|
}
|
|
347
|
-
const
|
|
357
|
+
const Co = G.memo(de);
|
|
348
358
|
export {
|
|
349
|
-
|
|
359
|
+
Co as default
|
|
350
360
|
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import r from "react";
|
|
3
|
+
import i from "../Box/Box.js";
|
|
4
|
+
import "../../utils/ui/ui.js";
|
|
5
|
+
import h from "./Checkbox.js";
|
|
6
|
+
const n = "cfxui__CheckboxShowcase__root__5c0e0", _ = "cfxui__CheckboxShowcase__checked__e49f9", k = "cfxui__CheckboxShowcase__icon__686ec", e = {
|
|
7
|
+
root: n,
|
|
8
|
+
checked: _,
|
|
9
|
+
icon: k
|
|
10
|
+
};
|
|
11
|
+
function l(s) {
|
|
12
|
+
const [a, c] = r.useState(!1);
|
|
13
|
+
return /* @__PURE__ */ o(i, { p: 2, children: /* @__PURE__ */ o(
|
|
14
|
+
h,
|
|
15
|
+
{
|
|
16
|
+
...s,
|
|
17
|
+
id: "checkbox1",
|
|
18
|
+
name: "checkbox1",
|
|
19
|
+
checked: a,
|
|
20
|
+
onCheckedChange: c,
|
|
21
|
+
onClick: () => c((t) => !t),
|
|
22
|
+
size: "normal",
|
|
23
|
+
rootClassName: e.root,
|
|
24
|
+
indicatorClassName: e.indicator,
|
|
25
|
+
iconClassName: e.icon,
|
|
26
|
+
checkedClassName: e.checked,
|
|
27
|
+
squareClassName: e.square
|
|
28
|
+
}
|
|
29
|
+
) });
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
l as default
|
|
33
|
+
};
|
|
@@ -1,151 +1,148 @@
|
|
|
1
|
-
import { jsxs as q, jsx as
|
|
1
|
+
import { jsxs as q, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { Icon as H } from "../Icon/Icon.js";
|
|
4
4
|
import J from "../IconButton/IconButton.js";
|
|
5
5
|
import { Indicator as L } from "../Indicator/Indicator.js";
|
|
6
6
|
import O from "../StyledInput/StyledInput.js";
|
|
7
|
-
import { clsx as
|
|
7
|
+
import { clsx as R } from "../../utils/clsx.js";
|
|
8
8
|
import { getValue as P } from "../../utils/getValue.js";
|
|
9
9
|
import { ui as Q } from "../../utils/ui/ui.js";
|
|
10
|
-
const U = "cfxui__Input__root__6392b", Y = "cfxui__Input__fullWidth__5a033", Z = "cfxui__Input__empty__3b36a", ee = "cfxui__Input__placeholderIcon__4d079", le = "cfxui__Input__input__07830",
|
|
10
|
+
const U = "cfxui__Input__root__6392b", Y = "cfxui__Input__fullWidth__5a033", Z = "cfxui__Input__empty__3b36a", ee = "cfxui__Input__placeholderIcon__4d079", le = "cfxui__Input__input__07830", ae = "cfxui__Input__decorator__3b81f", te = "cfxui__Input__backdropBlur__fdde1", l = {
|
|
11
11
|
root: U,
|
|
12
12
|
fullWidth: Y,
|
|
13
13
|
empty: Z,
|
|
14
14
|
placeholderIcon: ee,
|
|
15
15
|
input: le,
|
|
16
|
-
decorator:
|
|
17
|
-
|
|
18
|
-
large:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"inputSizelarge-small": "cfxui__Input__inputSizelarge-small__40920",
|
|
33
|
-
"inputSizexlarge-large": "cfxui__Input__inputSizexlarge-large__1ef2c",
|
|
34
|
-
"inputSizexlarge-small": "cfxui__Input__inputSizexlarge-small__7f6ab"
|
|
16
|
+
decorator: ae,
|
|
17
|
+
backdropBlur: te,
|
|
18
|
+
"size-initial-large": "cfxui__Input__size-initial-large__61eb0",
|
|
19
|
+
"size-initial-small": "cfxui__Input__size-initial-small__f4fae",
|
|
20
|
+
"size-small-large": "cfxui__Input__size-small-large__6e2dd",
|
|
21
|
+
"size-small-small": "cfxui__Input__size-small-small__d0b97",
|
|
22
|
+
"size-small-medium-large": "cfxui__Input__size-small-medium-large__ea27c",
|
|
23
|
+
"size-small-medium-small": "cfxui__Input__size-small-medium-small__1272f",
|
|
24
|
+
"size-medium-large": "cfxui__Input__size-medium-large__5a941",
|
|
25
|
+
"size-medium-small": "cfxui__Input__size-medium-small__11d17",
|
|
26
|
+
"size-medium-large-large": "cfxui__Input__size-medium-large-large__47a52",
|
|
27
|
+
"size-medium-large-small": "cfxui__Input__size-medium-large-small__13d07",
|
|
28
|
+
"size-large-large": "cfxui__Input__size-large-large__70f5f",
|
|
29
|
+
"size-large-small": "cfxui__Input__size-large-small__3aa81",
|
|
30
|
+
"size-xlarge-large": "cfxui__Input__size-xlarge-large__2becf",
|
|
31
|
+
"size-xlarge-small": "cfxui__Input__size-xlarge-small__3bac0"
|
|
35
32
|
};
|
|
36
|
-
function
|
|
33
|
+
function ie(_) {
|
|
37
34
|
const {
|
|
38
|
-
decorator:
|
|
35
|
+
decorator: n,
|
|
39
36
|
loading: m,
|
|
40
|
-
type:
|
|
41
|
-
hasValue:
|
|
42
|
-
onCleare:
|
|
43
|
-
} =
|
|
44
|
-
return m ? /* @__PURE__ */
|
|
37
|
+
type: d,
|
|
38
|
+
hasValue: t,
|
|
39
|
+
onCleare: u
|
|
40
|
+
} = _;
|
|
41
|
+
return m ? /* @__PURE__ */ a("div", { className: l.decorator, children: /* @__PURE__ */ a(L, {}) }) : n ? /* @__PURE__ */ a("div", { className: l.decorator, children: P(n) }) : d === "search" && t ? /* @__PURE__ */ a("div", { className: l.decorator, children: /* @__PURE__ */ a(J, { size: "xsmall", areaSize: "large", name: "Close", onClick: u }) }) : null;
|
|
45
42
|
}
|
|
46
|
-
function
|
|
43
|
+
function fe(_) {
|
|
47
44
|
const {
|
|
48
|
-
id:
|
|
45
|
+
id: n,
|
|
49
46
|
name: m,
|
|
50
|
-
fullWidth:
|
|
51
|
-
value:
|
|
52
|
-
defaultValue:
|
|
53
|
-
onChange:
|
|
54
|
-
onSubmit:
|
|
55
|
-
onKeyDown:
|
|
56
|
-
pattern:
|
|
57
|
-
tabIndex:
|
|
58
|
-
loading:
|
|
59
|
-
spellCheck:
|
|
60
|
-
autofocus:
|
|
61
|
-
disabled:
|
|
62
|
-
className:
|
|
47
|
+
fullWidth: d = !1,
|
|
48
|
+
value: t,
|
|
49
|
+
defaultValue: u,
|
|
50
|
+
onChange: f,
|
|
51
|
+
onSubmit: p,
|
|
52
|
+
onKeyDown: I,
|
|
53
|
+
pattern: g,
|
|
54
|
+
tabIndex: w,
|
|
55
|
+
loading: v = !1,
|
|
56
|
+
spellCheck: E = !0,
|
|
57
|
+
autofocus: V = !1,
|
|
58
|
+
disabled: B = !1,
|
|
59
|
+
className: S,
|
|
63
60
|
containerClassName: W,
|
|
64
|
-
placeholder:
|
|
65
|
-
placeholderIcon:
|
|
66
|
-
type:
|
|
67
|
-
size:
|
|
68
|
-
theme:
|
|
61
|
+
placeholder: o = "",
|
|
62
|
+
placeholderIcon: c,
|
|
63
|
+
type: z = "text",
|
|
64
|
+
size: h = "normal",
|
|
65
|
+
theme: b = "default",
|
|
69
66
|
decorator: D,
|
|
70
67
|
backdropBlur: F = !1,
|
|
71
68
|
ref: A
|
|
72
|
-
} =
|
|
73
|
-
let
|
|
74
|
-
if (
|
|
69
|
+
} = _, [x, K] = i.useState(t || u), C = typeof x < "u" && x !== "" && x !== null || typeof t < "u" && t !== "" && t !== null;
|
|
70
|
+
let y, N, k;
|
|
71
|
+
if (_.type === "number") {
|
|
75
72
|
const {
|
|
76
73
|
min: e,
|
|
77
|
-
max:
|
|
74
|
+
max: s,
|
|
78
75
|
step: $
|
|
79
|
-
} =
|
|
80
|
-
|
|
76
|
+
} = _;
|
|
77
|
+
k = $ ?? 1, y = e ?? Number.MIN_SAFE_INTEGER, N = s ?? Number.MAX_SAFE_INTEGER;
|
|
81
78
|
}
|
|
82
|
-
const
|
|
83
|
-
K(e),
|
|
84
|
-
}, [
|
|
79
|
+
const r = i.useCallback((e) => {
|
|
80
|
+
K(e), f && f(e);
|
|
81
|
+
}, [f]), M = i.useCallback(
|
|
85
82
|
(e) => {
|
|
86
83
|
const {
|
|
87
|
-
value:
|
|
84
|
+
value: s
|
|
88
85
|
} = e.target;
|
|
89
|
-
if (
|
|
90
|
-
|
|
86
|
+
if (g) {
|
|
87
|
+
g.test(s) && r(s);
|
|
91
88
|
return;
|
|
92
89
|
}
|
|
93
|
-
|
|
90
|
+
r(s);
|
|
94
91
|
},
|
|
95
|
-
[
|
|
92
|
+
[r, g]
|
|
96
93
|
), j = i.useCallback((e) => {
|
|
97
|
-
|
|
98
|
-
}, [
|
|
99
|
-
|
|
100
|
-
}, [
|
|
94
|
+
I && I(e), p && e.key === "Enter" && p();
|
|
95
|
+
}, [I, p]), G = i.useCallback(() => {
|
|
96
|
+
r("");
|
|
97
|
+
}, [r]), T = R(
|
|
101
98
|
l.root,
|
|
102
|
-
l[
|
|
99
|
+
l[b],
|
|
103
100
|
W,
|
|
104
|
-
Q.getResponsiveFlatClassnames("
|
|
101
|
+
Q.getResponsiveFlatClassnames("size", h).map((e) => l[e]),
|
|
105
102
|
{
|
|
106
|
-
[l.fullWidth]:
|
|
103
|
+
[l.fullWidth]: d,
|
|
107
104
|
[l.backdropBlur]: F,
|
|
108
|
-
[l.empty]: !
|
|
105
|
+
[l.empty]: !C
|
|
109
106
|
}
|
|
110
|
-
), X = i.useMemo(() =>
|
|
107
|
+
), X = i.useMemo(() => o ? c ? ` ${o.trim()}` : o.trim() : "", [o, c]);
|
|
111
108
|
return /* @__PURE__ */ q("div", { className: T, children: [
|
|
112
|
-
/* @__PURE__ */
|
|
109
|
+
/* @__PURE__ */ a(
|
|
113
110
|
O,
|
|
114
111
|
{
|
|
115
|
-
size:
|
|
116
|
-
theme:
|
|
117
|
-
id:
|
|
112
|
+
size: h,
|
|
113
|
+
theme: b,
|
|
114
|
+
id: n,
|
|
118
115
|
name: m,
|
|
119
116
|
ref: A,
|
|
120
|
-
type:
|
|
121
|
-
tabIndex:
|
|
122
|
-
className:
|
|
123
|
-
value:
|
|
117
|
+
type: z,
|
|
118
|
+
tabIndex: w,
|
|
119
|
+
className: R(l.input, S),
|
|
120
|
+
value: t,
|
|
124
121
|
placeholder: X,
|
|
125
|
-
disabled:
|
|
122
|
+
disabled: B,
|
|
126
123
|
onChange: M,
|
|
127
124
|
onKeyDown: j,
|
|
128
|
-
spellCheck:
|
|
129
|
-
min:
|
|
130
|
-
max:
|
|
131
|
-
step:
|
|
132
|
-
defaultValue:
|
|
133
|
-
autoFocus:
|
|
125
|
+
spellCheck: E,
|
|
126
|
+
min: y,
|
|
127
|
+
max: N,
|
|
128
|
+
step: k,
|
|
129
|
+
defaultValue: u,
|
|
130
|
+
autoFocus: V
|
|
134
131
|
}
|
|
135
132
|
),
|
|
136
|
-
|
|
137
|
-
/* @__PURE__ */
|
|
138
|
-
|
|
133
|
+
c && /* @__PURE__ */ a(H, { name: c, className: l.placeholderIcon }),
|
|
134
|
+
/* @__PURE__ */ a(
|
|
135
|
+
ie,
|
|
139
136
|
{
|
|
140
137
|
decorator: D,
|
|
141
|
-
loading:
|
|
142
|
-
type:
|
|
143
|
-
hasValue:
|
|
138
|
+
loading: v,
|
|
139
|
+
type: z,
|
|
140
|
+
hasValue: C,
|
|
144
141
|
onCleare: G
|
|
145
142
|
}
|
|
146
143
|
)
|
|
147
144
|
] });
|
|
148
145
|
}
|
|
149
146
|
export {
|
|
150
|
-
|
|
147
|
+
fe as default
|
|
151
148
|
};
|
|
@@ -6,41 +6,41 @@ const s = "cfxui__StyledInput__root__37064", S = "cfxui__StyledInput__small__0f2
|
|
|
6
6
|
small: S,
|
|
7
7
|
large: r,
|
|
8
8
|
onlight: d,
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
9
|
+
"inputSize-initial-large": "cfxui__StyledInput__inputSize-initial-large__43033",
|
|
10
|
+
"inputSize-initial-small": "cfxui__StyledInput__inputSize-initial-small__6e9de",
|
|
11
|
+
"inputSize-small-large": "cfxui__StyledInput__inputSize-small-large__77186",
|
|
12
|
+
"inputSize-small-small": "cfxui__StyledInput__inputSize-small-small__968a4",
|
|
13
|
+
"inputSize-small-medium-large": "cfxui__StyledInput__inputSize-small-medium-large__96f91",
|
|
14
|
+
"inputSize-small-medium-small": "cfxui__StyledInput__inputSize-small-medium-small__0a42b",
|
|
15
|
+
"inputSize-medium-large": "cfxui__StyledInput__inputSize-medium-large__e552f",
|
|
16
|
+
"inputSize-medium-small": "cfxui__StyledInput__inputSize-medium-small__28227",
|
|
17
|
+
"inputSize-medium-large-large": "cfxui__StyledInput__inputSize-medium-large-large__0c8e8",
|
|
18
|
+
"inputSize-medium-large-small": "cfxui__StyledInput__inputSize-medium-large-small__35702",
|
|
19
|
+
"inputSize-large-large": "cfxui__StyledInput__inputSize-large-large__7dfe8",
|
|
20
|
+
"inputSize-large-small": "cfxui__StyledInput__inputSize-large-small__69180",
|
|
21
|
+
"inputSize-xlarge-large": "cfxui__StyledInput__inputSize-xlarge-large__f4d6e",
|
|
22
|
+
"inputSize-xlarge-small": "cfxui__StyledInput__inputSize-xlarge-small__b60c7"
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function z(i) {
|
|
25
25
|
const {
|
|
26
|
-
className:
|
|
26
|
+
className: e,
|
|
27
27
|
size: _ = "normal",
|
|
28
28
|
theme: t = "default",
|
|
29
29
|
...u
|
|
30
|
-
} =
|
|
30
|
+
} = i;
|
|
31
31
|
return /* @__PURE__ */ n(
|
|
32
32
|
"input",
|
|
33
33
|
{
|
|
34
34
|
className: m(
|
|
35
|
-
|
|
35
|
+
e,
|
|
36
36
|
l.root,
|
|
37
37
|
l[t],
|
|
38
|
-
p.getResponsiveFlatClassnames("
|
|
38
|
+
p.getResponsiveFlatClassnames("inputSize", _).map((a) => l[a])
|
|
39
39
|
),
|
|
40
40
|
...u
|
|
41
41
|
}
|
|
42
42
|
);
|
|
43
43
|
}
|
|
44
44
|
export {
|
|
45
|
-
|
|
45
|
+
z as default
|
|
46
46
|
};
|